Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-26 23:59:03.476438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/57/image_09122025_14_57_15_9691.jpg', 2), ('/home/nano/Desktop/images/09122025/14/56/image_09122025_14_57_05_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_54_9762.jpg', 2), ('/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_45_9673.jpg', 2), ('/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_35_10670.jpg', 2), ('/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_24_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/57/image_09122025_14_57_15_9691.jpg', '/home/nano/Desktop/images/09122025/14/56/image_09122025_14_57_05_10663.jpg', '/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_54_9762.jpg', '/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_45_9673.jpg', '/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_35_10670.jpg', '/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_24_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/57/image_09122025_14_57_15_9691.jpg
/home/nano/Desktop/images/09122025/14/56/image_09122025_14_57_05_10663.jpg
/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_54_9762.jpg
/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_45_9673.jpg
/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_35_10670.jpg
/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_24_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":["1401181639","1401181600","1401181671","1401181587","1401181662","1401181605"],"photo_ids_order":["1401181587","1401181600","1401181605","1401181639","1401181662","1401181671"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cc3f0d33adbcb830ce63c683144060a.jpg","text":"TemporaryFile(/tmp/multipartBody5470006612352771000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790004452,"filename":"image_09122025_14_56_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16d4761e1caf5504cb89fe8b2841115a.jpg","text":"TemporaryFile(/tmp/multipartBody6231165149461987178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790004452,"filename":"image_09122025_14_57_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6034b5e0c6456fb7de84c3d1dd0bb7a.jpg","text":"TemporaryFile(/tmp/multipartBody6086454998146833138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790004452,"filename":"image_09122025_14_56_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/12/27/3596c80156490a3a86b66af83f39b86d.jpg","text":"TemporaryFile(/tmp/multipartBody3146814541520942658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790004452,"filename":"image_09122025_14_57_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df423adebb96ae01e9ba665559aac4f6.jpg","text":"TemporaryFile(/tmp/multipartBody3797240584229638460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790004452,"filename":"image_09122025_14_56_35_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40801bac60e18201e21d04189d95fdcb.jpg","text":"TemporaryFile(/tmp/multipartBody4344244962441610343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790004452,"filename":"image_09122025_14_56_54_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401181605","file1":"1401181600","file0":"1401181587","file4":"1401181662","file5":"1401181671","file3":"1401181639"},"map_files_photo_id_array":[{"photo_id":"1401181671","filename":"file5"},{"photo_id":"1401181605","filename":"file2"},{"photo_id":"1401181662","filename":"file4"},{"photo_id":"1401181600","filename":"file1"},{"photo_id":"1401181587","filename":"file0"},{"photo_id":"1401181639","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401181639":["hashtag1","hashtag2"]},{"1401181600":["hashtag1","hashtag2"]},{"1401181671":["hashtag1","hashtag2"]},{"1401181587":["hashtag1","hashtag2"]},{"1401181662":["hashtag1","hashtag2"]},{"1401181605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401181639, 1401181600, 1401181671, 1401181587, 1401181662, 1401181605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79464101791382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-26 23:59:47.459269
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_15_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/14/55/image_09122025_14_56_05_10723.jpg', 2), ('/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_54_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_44_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_35_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_24_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_15_9654.jpg', '/home/nano/Desktop/images/09122025/14/55/image_09122025_14_56_05_10723.jpg', '/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_54_9652.jpg', '/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_44_9620.jpg', '/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_35_10660.jpg', '/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_24_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/56/image_09122025_14_56_15_9654.jpg
/home/nano/Desktop/images/09122025/14/55/image_09122025_14_56_05_10723.jpg
/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_54_9652.jpg
/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_44_9620.jpg
/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_35_10660.jpg
/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_24_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":["1401181712","1401181715","1401181705","1401181719","1401181710","1401181707"],"photo_ids_order":["1401181705","1401181707","1401181710","1401181712","1401181715","1401181719"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5228a2078b18c236c955f35717e2e6b1.jpg","text":"TemporaryFile(/tmp/multipartBody7442144986128211035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790048267,"filename":"image_09122025_14_55_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/12/27/ffa37afc4d01b43dfdb7b3e53fd71b24.jpg","text":"TemporaryFile(/tmp/multipartBody4917454435074047540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790048267,"filename":"image_09122025_14_55_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7888cb453f0d9d246a988174a5055fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1766602688167682617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790048267,"filename":"image_09122025_14_56_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ce90077fa324b94d9c746352d23122d.jpg","text":"TemporaryFile(/tmp/multipartBody685574942468983788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790048267,"filename":"image_09122025_14_55_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/12/27/9aad1d96358657d866b1eb07deba396a.jpg","text":"TemporaryFile(/tmp/multipartBody4566832434262366465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790048267,"filename":"image_09122025_14_55_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/12/27/5bce3af42444997ec1f1469c7b9ef344.jpg","text":"TemporaryFile(/tmp/multipartBody5326205455239466044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790048267,"filename":"image_09122025_14_56_05_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401181710","file1":"1401181707","file0":"1401181705","file4":"1401181715","file5":"1401181719","file3":"1401181712"},"map_files_photo_id_array":[{"photo_id":"1401181719","filename":"file5"},{"photo_id":"1401181710","filename":"file2"},{"photo_id":"1401181715","filename":"file4"},{"photo_id":"1401181707","filename":"file1"},{"photo_id":"1401181705","filename":"file0"},{"photo_id":"1401181712","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401181712":["hashtag1","hashtag2"]},{"1401181715":["hashtag1","hashtag2"]},{"1401181705":["hashtag1","hashtag2"]},{"1401181719":["hashtag1","hashtag2"]},{"1401181710":["hashtag1","hashtag2"]},{"1401181707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401181712, 1401181715, 1401181705, 1401181719, 1401181710, 1401181707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0414822101593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:00:32.557608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_15_9683.jpg', 2), ('/home/nano/Desktop/images/09122025/14/54/image_09122025_14_55_05_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_54_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_45_9683.jpg', 2), ('/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_35_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_15_9683.jpg', '/home/nano/Desktop/images/09122025/14/54/image_09122025_14_55_05_10662.jpg', '/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_54_9658.jpg', '/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_45_9683.jpg', '/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_35_10653.jpg', '/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_24_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/55/image_09122025_14_55_15_9683.jpg
/home/nano/Desktop/images/09122025/14/54/image_09122025_14_55_05_10662.jpg
/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_54_9658.jpg
/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_45_9683.jpg
/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_35_10653.jpg
/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_24_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":["1401181742","1401181724","1401181727","1401181731","1401181740","1401181743"],"photo_ids_order":["1401181724","1401181727","1401181731","1401181740","1401181742","1401181743"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8986eb09fb9dc45022ee38b9ad7c3e28.jpg","text":"TemporaryFile(/tmp/multipartBody3977376202575049315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790093515,"filename":"image_09122025_14_54_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/310e18ce1d6b42c3729f5bf72f2ef129.jpg","text":"TemporaryFile(/tmp/multipartBody6231744040750512377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790093515,"filename":"image_09122025_14_55_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7894c71cdf78b01aea7a645b8f49f834.jpg","text":"TemporaryFile(/tmp/multipartBody7624729599236085755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790093515,"filename":"image_09122025_14_55_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcae32306737a393e64ac1c0825983c0.jpg","text":"TemporaryFile(/tmp/multipartBody3689150285265796864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790093515,"filename":"image_09122025_14_54_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/12/27/92898cd1d8d3dae19991cf442c3799fe.jpg","text":"TemporaryFile(/tmp/multipartBody2909031140255255774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790093515,"filename":"image_09122025_14_54_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa72f219d267b8bfb68301f2a8e8bcb0.jpg","text":"TemporaryFile(/tmp/multipartBody7016475109101919849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790093515,"filename":"image_09122025_14_54_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401181731","file1":"1401181727","file0":"1401181724","file4":"1401181742","file5":"1401181743","file3":"1401181740"},"map_files_photo_id_array":[{"photo_id":"1401181743","filename":"file5"},{"photo_id":"1401181731","filename":"file2"},{"photo_id":"1401181742","filename":"file4"},{"photo_id":"1401181727","filename":"file1"},{"photo_id":"1401181724","filename":"file0"},{"photo_id":"1401181740","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401181742":["hashtag1","hashtag2"]},{"1401181724":["hashtag1","hashtag2"]},{"1401181727":["hashtag1","hashtag2"]},{"1401181731":["hashtag1","hashtag2"]},{"1401181740":["hashtag1","hashtag2"]},{"1401181743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401181742, 1401181724, 1401181727, 1401181731, 1401181740, 1401181743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.022660970687866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:01:17.701603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_15_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/14/53/image_09122025_14_54_05_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_54_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_45_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_35_10693.jpg', 2), ('/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_24_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_15_9657.jpg', '/home/nano/Desktop/images/09122025/14/53/image_09122025_14_54_05_10636.jpg', '/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_54_9623.jpg', '/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_45_9630.jpg', '/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_35_10693.jpg', '/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_24_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/54/image_09122025_14_54_15_9657.jpg
/home/nano/Desktop/images/09122025/14/53/image_09122025_14_54_05_10636.jpg
/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_54_9623.jpg
/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_45_9630.jpg
/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_35_10693.jpg
/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_24_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":["1401181751","1401181805","1401181756","1401181750","1401181758","1401181754"],"photo_ids_order":["1401181750","1401181751","1401181754","1401181756","1401181758","1401181805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d14cf01bbbea3afc98bbc5d3d1ef187.jpg","text":"TemporaryFile(/tmp/multipartBody3111541645656349876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790138510,"filename":"image_09122025_14_54_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66d85968d52a76e169fda7fca341013b.jpg","text":"TemporaryFile(/tmp/multipartBody6128969192436052810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790138510,"filename":"image_09122025_14_53_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/12/27/70925350b7a73dfa4400e238fd40dee1.jpg","text":"TemporaryFile(/tmp/multipartBody7699660927140933275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790138510,"filename":"image_09122025_14_53_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5b4e65769f5e8393f7079b975ec7a41.jpg","text":"TemporaryFile(/tmp/multipartBody3485921666140859909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790138510,"filename":"image_09122025_14_54_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e60fa3fe6dfd21f38c72f2f434fcce7.jpg","text":"TemporaryFile(/tmp/multipartBody4316062073293254925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790138510,"filename":"image_09122025_14_53_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9b712e09befcdba7cb9832a1f0c0f42.jpg","text":"TemporaryFile(/tmp/multipartBody7765184536600044336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790138510,"filename":"image_09122025_14_53_54_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401181754","file1":"1401181751","file0":"1401181750","file4":"1401181758","file5":"1401181805","file3":"1401181756"},"map_files_photo_id_array":[{"photo_id":"1401181805","filename":"file5"},{"photo_id":"1401181754","filename":"file2"},{"photo_id":"1401181758","filename":"file4"},{"photo_id":"1401181751","filename":"file1"},{"photo_id":"1401181750","filename":"file0"},{"photo_id":"1401181756","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401181751":["hashtag1","hashtag2"]},{"1401181805":["hashtag1","hashtag2"]},{"1401181756":["hashtag1","hashtag2"]},{"1401181750":["hashtag1","hashtag2"]},{"1401181758":["hashtag1","hashtag2"]},{"1401181754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401181751, 1401181805, 1401181756, 1401181750, 1401181758, 1401181754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.811196088790894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:02:02.148040
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_27122025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
4892
4278005
4892
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/00/02/image_27122025_00_02_55_10517.jpg', 2)]
{'portfolio_id': 29734895, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1766790182000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/00/02/image_27122025_00_02_55_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/00/02/image_27122025_00_02_55_10517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401182220"],"photo_id":"1401182220","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4cf09523b0ff2d908fa7e3ee51887fa1.jpg","text":"TemporaryFile(/tmp/multipartBody2535074833838432313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790183270,"filename":"image_27122025_00_02_55_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401182220"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401182220"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.188640356063843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:02:16.779596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_15_9715.jpg', 2), ('/home/nano/Desktop/images/09122025/14/52/image_09122025_14_53_05_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_54_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_45_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_35_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_24_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_15_9715.jpg', '/home/nano/Desktop/images/09122025/14/52/image_09122025_14_53_05_10652.jpg', '/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_54_9616.jpg', '/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_45_9605.jpg', '/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_35_10618.jpg', '/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_24_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/53/image_09122025_14_53_15_9715.jpg
/home/nano/Desktop/images/09122025/14/52/image_09122025_14_53_05_10652.jpg
/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_54_9616.jpg
/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_45_9605.jpg
/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_35_10618.jpg
/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_24_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":["1401182408","1401182473","1401182440","1401182503","1401182373","1401182541"],"photo_ids_order":["1401182373","1401182408","1401182440","1401182473","1401182503","1401182541"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ce5f8c2ffb19e216078a1461380c0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7313390782840948968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790197597,"filename":"image_09122025_14_53_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/579c928a6da6272a65c2d4f873409e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8707667757366140852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790197597,"filename":"image_09122025_14_52_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67e53d0f02c8d647a6c9762ce82ce70a.jpg","text":"TemporaryFile(/tmp/multipartBody1723499908953212995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790197597,"filename":"image_09122025_14_52_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/12/27/dfc54033647415cd42bc85bbdad5e351.jpg","text":"TemporaryFile(/tmp/multipartBody2213678470480875858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790197597,"filename":"image_09122025_14_52_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f23ded73b60ea8c9f8be08e3915d263.jpg","text":"TemporaryFile(/tmp/multipartBody7854215545877839542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790197597,"filename":"image_09122025_14_53_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5c12b190a4b8669dcea4c23704f47c8.jpg","text":"TemporaryFile(/tmp/multipartBody4558704256687646017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790197597,"filename":"image_09122025_14_52_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401182440","file1":"1401182408","file0":"1401182373","file4":"1401182503","file5":"1401182541","file3":"1401182473"},"map_files_photo_id_array":[{"photo_id":"1401182541","filename":"file5"},{"photo_id":"1401182440","filename":"file2"},{"photo_id":"1401182503","filename":"file4"},{"photo_id":"1401182408","filename":"file1"},{"photo_id":"1401182373","filename":"file0"},{"photo_id":"1401182473","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401182408":["hashtag1","hashtag2"]},{"1401182473":["hashtag1","hashtag2"]},{"1401182440":["hashtag1","hashtag2"]},{"1401182503":["hashtag1","hashtag2"]},{"1401182373":["hashtag1","hashtag2"]},{"1401182541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401182408, 1401182473, 1401182440, 1401182503, 1401182373, 1401182541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.878676652908325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:03:02.335613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_15_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/14/51/image_09122025_14_52_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_55_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_45_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_34_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_25_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_15_10656.jpg', '/home/nano/Desktop/images/09122025/14/51/image_09122025_14_52_04_9638.jpg', '/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_55_9623.jpg', '/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_45_10620.jpg', '/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_34_9602.jpg', '/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/52/image_09122025_14_52_15_10656.jpg
/home/nano/Desktop/images/09122025/14/51/image_09122025_14_52_04_9638.jpg
/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_55_9623.jpg
/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_45_10620.jpg
/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_34_9602.jpg
/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_25_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":["1401182923","1401182854","1401182821","1401182784","1401182745","1401182888"],"photo_ids_order":["1401182745","1401182784","1401182821","1401182854","1401182888","1401182923"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28bc51a8355cbb9533f7cd2488d85673.jpg","text":"TemporaryFile(/tmp/multipartBody4116702752809944284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790243135,"filename":"image_09122025_14_51_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e52df206722bfcccf08cb5c1b9f5361.jpg","text":"TemporaryFile(/tmp/multipartBody2767322605453806154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790243135,"filename":"image_09122025_14_51_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/071602cb938b6e713c2cd5d0f1fedff9.jpg","text":"TemporaryFile(/tmp/multipartBody4804155363300453157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790243135,"filename":"image_09122025_14_51_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e35ed8dcadc87ea5b41b11d9e6f9a804.jpg","text":"TemporaryFile(/tmp/multipartBody6661542682599671913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790243135,"filename":"image_09122025_14_52_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/12/27/9c063dd2f046687d0f2cc84fc5b86eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6640972574432324327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790243135,"filename":"image_09122025_14_52_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/855d05f65402f10c4d3d351ac324c569.jpg","text":"TemporaryFile(/tmp/multipartBody3137246151416582809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790243135,"filename":"image_09122025_14_51_34_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401182821","file1":"1401182784","file0":"1401182745","file4":"1401182888","file5":"1401182923","file3":"1401182854"},"map_files_photo_id_array":[{"photo_id":"1401182923","filename":"file5"},{"photo_id":"1401182821","filename":"file2"},{"photo_id":"1401182888","filename":"file4"},{"photo_id":"1401182784","filename":"file1"},{"photo_id":"1401182745","filename":"file0"},{"photo_id":"1401182854","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401182923":["hashtag1","hashtag2"]},{"1401182854":["hashtag1","hashtag2"]},{"1401182821":["hashtag1","hashtag2"]},{"1401182784":["hashtag1","hashtag2"]},{"1401182745":["hashtag1","hashtag2"]},{"1401182888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401182923, 1401182854, 1401182821, 1401182784, 1401182745, 1401182888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43222522735596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:03:46.928881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_14_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/14/50/image_09122025_14_51_04_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_55_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_44_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_35_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_25_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_14_9621.jpg', '/home/nano/Desktop/images/09122025/14/50/image_09122025_14_51_04_9609.jpg', '/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_55_10631.jpg', '/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_44_9604.jpg', '/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_35_9622.jpg', '/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_25_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/51/image_09122025_14_51_14_9621.jpg
/home/nano/Desktop/images/09122025/14/50/image_09122025_14_51_04_9609.jpg
/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_55_10631.jpg
/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_44_9604.jpg
/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_35_9622.jpg
/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_25_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":["1401183055","1401183052","1401183054","1401183057","1401183059","1401183053"],"photo_ids_order":["1401183052","1401183053","1401183054","1401183055","1401183057","1401183059"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfffd412185f90e59300d71ae5d8c1af.jpg","text":"TemporaryFile(/tmp/multipartBody9196265264107876779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790287711,"filename":"image_09122025_14_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/12/27/6d77caf43712c314fb39390bc40b3f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6489286347151844562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790287711,"filename":"image_09122025_14_51_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebd8553602663603c1a7bb240fea902e.jpg","text":"TemporaryFile(/tmp/multipartBody4342106068402462451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790287711,"filename":"image_09122025_14_50_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c56f72218b136855af2170b2b51fea60.jpg","text":"TemporaryFile(/tmp/multipartBody2943637007792001546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790287711,"filename":"image_09122025_14_50_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9638e94f583f920518bd519951462d6.jpg","text":"TemporaryFile(/tmp/multipartBody2804147974380059793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790287711,"filename":"image_09122025_14_50_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba2f109693db6ec0663a9f634f93c8ba.jpg","text":"TemporaryFile(/tmp/multipartBody7189618367322882943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790287711,"filename":"image_09122025_14_51_04_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401183054","file1":"1401183053","file0":"1401183052","file4":"1401183057","file5":"1401183059","file3":"1401183055"},"map_files_photo_id_array":[{"photo_id":"1401183059","filename":"file5"},{"photo_id":"1401183054","filename":"file2"},{"photo_id":"1401183057","filename":"file4"},{"photo_id":"1401183053","filename":"file1"},{"photo_id":"1401183052","filename":"file0"},{"photo_id":"1401183055","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401183055":["hashtag1","hashtag2"]},{"1401183052":["hashtag1","hashtag2"]},{"1401183054":["hashtag1","hashtag2"]},{"1401183057":["hashtag1","hashtag2"]},{"1401183059":["hashtag1","hashtag2"]},{"1401183053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401183055, 1401183052, 1401183054, 1401183057, 1401183059, 1401183053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.634071826934814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:04:32.031538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_14_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/49/image_09122025_14_50_05_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_54_9680.jpg', 2), ('/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_44_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_35_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_24_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_14_9625.jpg', '/home/nano/Desktop/images/09122025/14/49/image_09122025_14_50_05_10640.jpg', '/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_54_9680.jpg', '/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_44_9643.jpg', '/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_35_10636.jpg', '/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_24_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/50/image_09122025_14_50_14_9625.jpg
/home/nano/Desktop/images/09122025/14/49/image_09122025_14_50_05_10640.jpg
/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_54_9680.jpg
/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_44_9643.jpg
/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_35_10636.jpg
/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_24_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":["1401183307","1401183273","1401183470","1401183362","1401183431","1401183506"],"photo_ids_order":["1401183273","1401183307","1401183362","1401183431","1401183470","1401183506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec7ace390a32131f36cd50005a4348e2.jpg","text":"TemporaryFile(/tmp/multipartBody2724531306583448958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790332922,"filename":"image_09122025_14_50_05_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91288613197b71587c1cd17efe80a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5610556634159126927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790332922,"filename":"image_09122025_14_50_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/12/27/41d9b6f7f7f0ba4c66ffd34505a745ae.jpg","text":"TemporaryFile(/tmp/multipartBody8543766800089214197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790332922,"filename":"image_09122025_14_49_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8d863370aca20ea5fbb41398efeda0f.jpg","text":"TemporaryFile(/tmp/multipartBody4336243129245507125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790332922,"filename":"image_09122025_14_49_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/12/27/de608efc2465f272405f67ff9c863c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1235605389314394182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790332922,"filename":"image_09122025_14_49_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/12/27/629586350455a2cfafd7374d6414a87e.jpg","text":"TemporaryFile(/tmp/multipartBody6634290712948001100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790332922,"filename":"image_09122025_14_49_24_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401183362","file1":"1401183307","file0":"1401183273","file4":"1401183470","file5":"1401183506","file3":"1401183431"},"map_files_photo_id_array":[{"photo_id":"1401183506","filename":"file5"},{"photo_id":"1401183362","filename":"file2"},{"photo_id":"1401183470","filename":"file4"},{"photo_id":"1401183307","filename":"file1"},{"photo_id":"1401183273","filename":"file0"},{"photo_id":"1401183431","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401183307":["hashtag1","hashtag2"]},{"1401183273":["hashtag1","hashtag2"]},{"1401183470":["hashtag1","hashtag2"]},{"1401183362":["hashtag1","hashtag2"]},{"1401183431":["hashtag1","hashtag2"]},{"1401183506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401183307, 1401183273, 1401183470, 1401183362, 1401183431, 1401183506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51413655281067 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:05:17.220465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/48/image_09122025_14_48_45_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/14/48/image_09122025_14_48_35_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/14/47/image_09122025_14_47_45_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/14/47/image_09122025_14_47_25_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/46/image_09122025_14_47_04_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_15_9625.jpg', '/home/nano/Desktop/images/09122025/14/48/image_09122025_14_48_45_9613.jpg', '/home/nano/Desktop/images/09122025/14/48/image_09122025_14_48_35_10621.jpg', '/home/nano/Desktop/images/09122025/14/47/image_09122025_14_47_45_10616.jpg', '/home/nano/Desktop/images/09122025/14/47/image_09122025_14_47_25_10620.jpg', '/home/nano/Desktop/images/09122025/14/46/image_09122025_14_47_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/49/image_09122025_14_49_15_9625.jpg
/home/nano/Desktop/images/09122025/14/48/image_09122025_14_48_45_9613.jpg
/home/nano/Desktop/images/09122025/14/48/image_09122025_14_48_35_10621.jpg
/home/nano/Desktop/images/09122025/14/47/image_09122025_14_47_45_10616.jpg
/home/nano/Desktop/images/09122025/14/47/image_09122025_14_47_25_10620.jpg
/home/nano/Desktop/images/09122025/14/46/image_09122025_14_47_04_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":["1401183778","1401183823","1401183709","1401183813","1401183744","1401183821"],"photo_ids_order":["1401183709","1401183744","1401183778","1401183813","1401183821","1401183823"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c615568463b871304144f399a742b989.jpg","text":"TemporaryFile(/tmp/multipartBody4733983682287879882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790378017,"filename":"image_09122025_14_48_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a53e669663aa9302d248e0b6690f3f0.jpg","text":"TemporaryFile(/tmp/multipartBody2779035877609743524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790378017,"filename":"image_09122025_14_47_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/12/27/445443aa0d1c404559b5fea06cc574d0.jpg","text":"TemporaryFile(/tmp/multipartBody7438915012675275627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790378017,"filename":"image_09122025_14_49_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/943a431b7d7972d4352c43984b1b2a59.jpg","text":"TemporaryFile(/tmp/multipartBody4268276895078028253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790378017,"filename":"image_09122025_14_47_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2607b01541360a53db900af20c53f305.jpg","text":"TemporaryFile(/tmp/multipartBody1521575471800963316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790378017,"filename":"image_09122025_14_48_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/453b57d2966bb2d622951c2c8db2b381.jpg","text":"TemporaryFile(/tmp/multipartBody8981945443604853028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790378017,"filename":"image_09122025_14_47_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401183778","file1":"1401183744","file0":"1401183709","file4":"1401183821","file5":"1401183823","file3":"1401183813"},"map_files_photo_id_array":[{"photo_id":"1401183823","filename":"file5"},{"photo_id":"1401183778","filename":"file2"},{"photo_id":"1401183821","filename":"file4"},{"photo_id":"1401183744","filename":"file1"},{"photo_id":"1401183709","filename":"file0"},{"photo_id":"1401183813","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401183778":["hashtag1","hashtag2"]},{"1401183823":["hashtag1","hashtag2"]},{"1401183709":["hashtag1","hashtag2"]},{"1401183813":["hashtag1","hashtag2"]},{"1401183744":["hashtag1","hashtag2"]},{"1401183821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401183778, 1401183823, 1401183709, 1401183813, 1401183744, 1401183821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.791351079940796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:06:02.762017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_55_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_35_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_14_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/14/45/image_09122025_14_46_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_35_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_24_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_55_10636.jpg', '/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_35_9614.jpg', '/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_14_9631.jpg', '/home/nano/Desktop/images/09122025/14/45/image_09122025_14_46_05_10627.jpg', '/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_35_10619.jpg', '/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_24_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_55_10636.jpg
/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_35_9614.jpg
/home/nano/Desktop/images/09122025/14/46/image_09122025_14_46_14_9631.jpg
/home/nano/Desktop/images/09122025/14/45/image_09122025_14_46_05_10627.jpg
/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_35_10619.jpg
/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_24_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":["1401184194","1401184368","1401184256","1401184159","1401184306","1401184042"],"photo_ids_order":["1401184042","1401184159","1401184194","1401184256","1401184306","1401184368"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f27b1d19d7c93a4e3bc9848e28259ad.jpg","text":"TemporaryFile(/tmp/multipartBody421506117480552134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790423566,"filename":"image_09122025_14_46_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/12/27/a2a2b427c625f54accba409406c60610.jpg","text":"TemporaryFile(/tmp/multipartBody3010197389679833349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790423566,"filename":"image_09122025_14_45_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/12/27/303af47bc180d26b7f83c2eaf90dd8fa.jpg","text":"TemporaryFile(/tmp/multipartBody6879291703364910265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790423566,"filename":"image_09122025_14_46_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2bfe21f760e3d0834f2b81835184c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3512000693560363436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790423566,"filename":"image_09122025_14_46_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d31c6f9e810fe58e9c42ad4af1731101.jpg","text":"TemporaryFile(/tmp/multipartBody1572680990055334547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790423566,"filename":"image_09122025_14_45_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67f5773b8b8ffe6138de26fc908fcd10.jpg","text":"TemporaryFile(/tmp/multipartBody1277363146671378515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790423566,"filename":"image_09122025_14_46_55_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401184194","file1":"1401184159","file0":"1401184042","file4":"1401184306","file5":"1401184368","file3":"1401184256"},"map_files_photo_id_array":[{"photo_id":"1401184368","filename":"file5"},{"photo_id":"1401184194","filename":"file2"},{"photo_id":"1401184306","filename":"file4"},{"photo_id":"1401184159","filename":"file1"},{"photo_id":"1401184042","filename":"file0"},{"photo_id":"1401184256","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401184194":["hashtag1","hashtag2"]},{"1401184368":["hashtag1","hashtag2"]},{"1401184256":["hashtag1","hashtag2"]},{"1401184159":["hashtag1","hashtag2"]},{"1401184306":["hashtag1","hashtag2"]},{"1401184042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401184194, 1401184368, 1401184256, 1401184159, 1401184306, 1401184042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.860639333724976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:06:47.320416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_15_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/14/44/image_09122025_14_45_05_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_54_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_45_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_34_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_15_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_15_9638.jpg', '/home/nano/Desktop/images/09122025/14/44/image_09122025_14_45_05_10632.jpg', '/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_54_9610.jpg', '/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_45_10636.jpg', '/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_34_9613.jpg', '/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_15_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/45/image_09122025_14_45_15_9638.jpg
/home/nano/Desktop/images/09122025/14/44/image_09122025_14_45_05_10632.jpg
/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_54_9610.jpg
/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_45_10636.jpg
/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_34_9613.jpg
/home/nano/Desktop/images/09122025/14/44/image_09122025_14_44_15_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":["1401184752","1401184781","1401184664","1401184732","1401184837","1401184702"],"photo_ids_order":["1401184664","1401184702","1401184732","1401184752","1401184781","1401184837"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4134022464850dccee2cb22fb3dfcfbd.jpg","text":"TemporaryFile(/tmp/multipartBody9157403271282189494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790468115,"filename":"image_09122025_14_44_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7319eefdf3dce65744d64b0a96e6eec.jpg","text":"TemporaryFile(/tmp/multipartBody7874550070067860394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790468115,"filename":"image_09122025_14_44_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/12/27/3888d8d2239792e2df8b7658e0c260d9.jpg","text":"TemporaryFile(/tmp/multipartBody622082792079268422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790468115,"filename":"image_09122025_14_45_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7bf9ca3bbe068397d1ab5a587c83f843.jpg","text":"TemporaryFile(/tmp/multipartBody6006113599129484378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790468115,"filename":"image_09122025_14_44_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/12/27/16a292f3322efe95c3ebb0a89317b367.jpg","text":"TemporaryFile(/tmp/multipartBody2840351162349217341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790468115,"filename":"image_09122025_14_44_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44d4e5813599ac4bf4a66a656079c930.jpg","text":"TemporaryFile(/tmp/multipartBody1088823633369852339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790468115,"filename":"image_09122025_14_45_05_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401184732","file1":"1401184702","file0":"1401184664","file4":"1401184781","file5":"1401184837","file3":"1401184752"},"map_files_photo_id_array":[{"photo_id":"1401184837","filename":"file5"},{"photo_id":"1401184732","filename":"file2"},{"photo_id":"1401184781","filename":"file4"},{"photo_id":"1401184702","filename":"file1"},{"photo_id":"1401184664","filename":"file0"},{"photo_id":"1401184752","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401184752":["hashtag1","hashtag2"]},{"1401184781":["hashtag1","hashtag2"]},{"1401184664":["hashtag1","hashtag2"]},{"1401184732":["hashtag1","hashtag2"]},{"1401184837":["hashtag1","hashtag2"]},{"1401184702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401184752, 1401184781, 1401184664, 1401184732, 1401184837, 1401184702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.188098192214966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:07:32.434862
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/43/image_09122025_14_44_04_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_55_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_34_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_25_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_55_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_25_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/43/image_09122025_14_44_04_9631.jpg', '/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_55_9611.jpg', '/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_34_9610.jpg', '/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_25_10618.jpg', '/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_55_10620.jpg', '/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_25_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/43/image_09122025_14_44_04_9631.jpg
/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_55_9611.jpg
/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_34_9610.jpg
/home/nano/Desktop/images/09122025/14/43/image_09122025_14_43_25_10618.jpg
/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_55_10620.jpg
/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_25_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":["1401185220","1401185354","1401185255","1401185321","1401185290","1401185184"],"photo_ids_order":["1401185184","1401185220","1401185255","1401185290","1401185321","1401185354"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae4cf897d82f6c4048e1573a49e58c2e.jpg","text":"TemporaryFile(/tmp/multipartBody4482786272788793611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790513260,"filename":"image_09122025_14_43_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f22e337ab773ee2679cd59646285aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody3409121857769058371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790513260,"filename":"image_09122025_14_42_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf7da939d297105d10aba2d9f784872a.jpg","text":"TemporaryFile(/tmp/multipartBody6432947330407095708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790513260,"filename":"image_09122025_14_43_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/12/27/9ad1cd30676053f9487826a4efa22a32.jpg","text":"TemporaryFile(/tmp/multipartBody2144639521115328741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790513260,"filename":"image_09122025_14_42_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/142abb90b653a4924752a1e61d374d50.jpg","text":"TemporaryFile(/tmp/multipartBody8779199773101408069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790513260,"filename":"image_09122025_14_43_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efc24ec030021688ee6b8f606dccc07c.jpg","text":"TemporaryFile(/tmp/multipartBody6962779687216407411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790513260,"filename":"image_09122025_14_44_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401185255","file1":"1401185220","file0":"1401185184","file4":"1401185321","file5":"1401185354","file3":"1401185290"},"map_files_photo_id_array":[{"photo_id":"1401185354","filename":"file5"},{"photo_id":"1401185255","filename":"file2"},{"photo_id":"1401185321","filename":"file4"},{"photo_id":"1401185220","filename":"file1"},{"photo_id":"1401185184","filename":"file0"},{"photo_id":"1401185290","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401185220":["hashtag1","hashtag2"]},{"1401185354":["hashtag1","hashtag2"]},{"1401185255":["hashtag1","hashtag2"]},{"1401185321":["hashtag1","hashtag2"]},{"1401185290":["hashtag1","hashtag2"]},{"1401185184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401185220, 1401185354, 1401185255, 1401185321, 1401185290, 1401185184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.742042541503906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:08:17.542975
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_14_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/41/image_09122025_14_42_05_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_54_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_45_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_35_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_24_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_14_9625.jpg', '/home/nano/Desktop/images/09122025/14/41/image_09122025_14_42_05_10641.jpg', '/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_54_9610.jpg', '/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_45_9612.jpg', '/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_35_10625.jpg', '/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/42/image_09122025_14_42_14_9625.jpg
/home/nano/Desktop/images/09122025/14/41/image_09122025_14_42_05_10641.jpg
/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_54_9610.jpg
/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_45_9612.jpg
/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_35_10625.jpg
/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_24_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":["1401185643","1401185646","1401185651","1401185636","1401185564","1401185599"],"photo_ids_order":["1401185564","1401185599","1401185636","1401185643","1401185646","1401185651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9637e9fc49578bea7db64c00276c6bef.jpg","text":"TemporaryFile(/tmp/multipartBody1807973225727447137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790558342,"filename":"image_09122025_14_41_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6dc9d7be1b9f823921de0e7e9430b59.jpg","text":"TemporaryFile(/tmp/multipartBody8888488708113766587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790558342,"filename":"image_09122025_14_41_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/817869d309f2c1a81cd8f5cbaa6aad90.jpg","text":"TemporaryFile(/tmp/multipartBody2149244437267554388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790558342,"filename":"image_09122025_14_41_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/12/27/474f32184b0d9b5e0f432578755a6ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2805571680207346910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790558342,"filename":"image_09122025_14_41_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/12/27/8863a38a539b381dd12b7e34af8a6399.jpg","text":"TemporaryFile(/tmp/multipartBody6779232072820176424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790558342,"filename":"image_09122025_14_42_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/12/27/e08ce34b4f8d711327fa8b42e4b36dd1.jpg","text":"TemporaryFile(/tmp/multipartBody7975222563121603807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790558342,"filename":"image_09122025_14_42_05_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401185636","file1":"1401185599","file0":"1401185564","file4":"1401185646","file5":"1401185651","file3":"1401185643"},"map_files_photo_id_array":[{"photo_id":"1401185651","filename":"file5"},{"photo_id":"1401185636","filename":"file2"},{"photo_id":"1401185646","filename":"file4"},{"photo_id":"1401185599","filename":"file1"},{"photo_id":"1401185564","filename":"file0"},{"photo_id":"1401185643","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401185643":["hashtag1","hashtag2"]},{"1401185646":["hashtag1","hashtag2"]},{"1401185651":["hashtag1","hashtag2"]},{"1401185636":["hashtag1","hashtag2"]},{"1401185564":["hashtag1","hashtag2"]},{"1401185599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401185643, 1401185646, 1401185651, 1401185636, 1401185564, 1401185599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.812764406204224 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:09:03.446138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_15_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/14/40/image_09122025_14_41_05_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_54_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_45_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_34_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/14/39/image_09122025_14_40_04_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_15_9638.jpg', '/home/nano/Desktop/images/09122025/14/40/image_09122025_14_41_05_10625.jpg', '/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_54_9611.jpg', '/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_45_10636.jpg', '/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_34_9626.jpg', '/home/nano/Desktop/images/09122025/14/39/image_09122025_14_40_04_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/41/image_09122025_14_41_15_9638.jpg
/home/nano/Desktop/images/09122025/14/40/image_09122025_14_41_05_10625.jpg
/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_54_9611.jpg
/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_45_10636.jpg
/home/nano/Desktop/images/09122025/14/40/image_09122025_14_40_34_9626.jpg
/home/nano/Desktop/images/09122025/14/39/image_09122025_14_40_04_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":["1401185664","1401185658","1401185666","1401185698","1401185734","1401185661"],"photo_ids_order":["1401185658","1401185661","1401185664","1401185666","1401185698","1401185734"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28f540f14e57e60cc5902db314c9ab79.jpg","text":"TemporaryFile(/tmp/multipartBody9104527769153488261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790604422,"filename":"image_09122025_14_40_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/12/27/f6ff09262c75f031e48a2e2266b4aac8.jpg","text":"TemporaryFile(/tmp/multipartBody8573227880251408731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790604422,"filename":"image_09122025_14_41_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50e9f854f1dbb281009e71af9b082670.jpg","text":"TemporaryFile(/tmp/multipartBody4477681311513275166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790604422,"filename":"image_09122025_14_40_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14c99745a1128cea000a291ca59da857.jpg","text":"TemporaryFile(/tmp/multipartBody1911545846700624620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790604422,"filename":"image_09122025_14_40_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/12/27/49c018f4919038715348d75d8c4da83f.jpg","text":"TemporaryFile(/tmp/multipartBody2783606600440891628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790604422,"filename":"image_09122025_14_40_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/12/27/4bbdc4f325e26ec66e8013a880c957dc.jpg","text":"TemporaryFile(/tmp/multipartBody440066902431516141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790604422,"filename":"image_09122025_14_41_05_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401185664","file1":"1401185661","file0":"1401185658","file4":"1401185698","file5":"1401185734","file3":"1401185666"},"map_files_photo_id_array":[{"photo_id":"1401185734","filename":"file5"},{"photo_id":"1401185664","filename":"file2"},{"photo_id":"1401185698","filename":"file4"},{"photo_id":"1401185661","filename":"file1"},{"photo_id":"1401185658","filename":"file0"},{"photo_id":"1401185666","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401185664":["hashtag1","hashtag2"]},{"1401185658":["hashtag1","hashtag2"]},{"1401185666":["hashtag1","hashtag2"]},{"1401185698":["hashtag1","hashtag2"]},{"1401185734":["hashtag1","hashtag2"]},{"1401185661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401185664, 1401185658, 1401185666, 1401185698, 1401185734, 1401185661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01521587371826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:09:47.627908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/38/image_09122025_14_38_55_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/14/38/image_09122025_14_38_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/37/image_09122025_14_37_45_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_34_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_25_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_15_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/38/image_09122025_14_38_55_10621.jpg', '/home/nano/Desktop/images/09122025/14/38/image_09122025_14_38_15_9625.jpg', '/home/nano/Desktop/images/09122025/14/37/image_09122025_14_37_45_9613.jpg', '/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_34_9611.jpg', '/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_25_9628.jpg', '/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_15_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/38/image_09122025_14_38_55_10621.jpg
/home/nano/Desktop/images/09122025/14/38/image_09122025_14_38_15_9625.jpg
/home/nano/Desktop/images/09122025/14/37/image_09122025_14_37_45_9613.jpg
/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_34_9611.jpg
/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_25_9628.jpg
/home/nano/Desktop/images/09122025/14/36/image_09122025_14_36_15_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":["1401186111","1401186218","1401186184","1401186151","1401186282","1401186342"],"photo_ids_order":["1401186111","1401186151","1401186184","1401186218","1401186282","1401186342"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3aea1718c0c02f508501bdb7ae2c806e.jpg","text":"TemporaryFile(/tmp/multipartBody5585518138609231952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790648498,"filename":"image_09122025_14_38_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9687cbb3bc5c05675843486fdee2638c.jpg","text":"TemporaryFile(/tmp/multipartBody7545968223239859936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790648498,"filename":"image_09122025_14_36_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/12/27/1c0a42a8053007ff1846dcef3007babc.jpg","text":"TemporaryFile(/tmp/multipartBody376890680555118233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790648498,"filename":"image_09122025_14_37_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12baa9ce7424f35a30978a1dc476f8e6.jpg","text":"TemporaryFile(/tmp/multipartBody861730468093722914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790648498,"filename":"image_09122025_14_38_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37d73d5993c08755b009f6a11c199b81.jpg","text":"TemporaryFile(/tmp/multipartBody9129179167551295335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790648498,"filename":"image_09122025_14_36_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c17270ccfbbc7fccb9d28c01ae12edfd.jpg","text":"TemporaryFile(/tmp/multipartBody2786289516611687433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790648498,"filename":"image_09122025_14_36_15_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401186184","file1":"1401186151","file0":"1401186111","file4":"1401186282","file5":"1401186342","file3":"1401186218"},"map_files_photo_id_array":[{"photo_id":"1401186342","filename":"file5"},{"photo_id":"1401186184","filename":"file2"},{"photo_id":"1401186282","filename":"file4"},{"photo_id":"1401186151","filename":"file1"},{"photo_id":"1401186111","filename":"file0"},{"photo_id":"1401186218","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401186111":["hashtag1","hashtag2"]},{"1401186218":["hashtag1","hashtag2"]},{"1401186184":["hashtag1","hashtag2"]},{"1401186151":["hashtag1","hashtag2"]},{"1401186282":["hashtag1","hashtag2"]},{"1401186342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401186111, 1401186218, 1401186184, 1401186151, 1401186282, 1401186342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84572649002075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:10:32.740584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/35/image_09122025_14_36_04_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_55_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_44_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_35_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_14_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/14/34/image_09122025_14_34_44_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/35/image_09122025_14_36_04_9622.jpg', '/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_55_10621.jpg', '/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_44_9612.jpg', '/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_35_9612.jpg', '/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_14_9626.jpg', '/home/nano/Desktop/images/09122025/14/34/image_09122025_14_34_44_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/35/image_09122025_14_36_04_9622.jpg
/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_55_10621.jpg
/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_44_9612.jpg
/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_35_9612.jpg
/home/nano/Desktop/images/09122025/14/35/image_09122025_14_35_14_9626.jpg
/home/nano/Desktop/images/09122025/14/34/image_09122025_14_34_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":["1401186694","1401186742","1401186736","1401186654","1401186741","1401186621"],"photo_ids_order":["1401186621","1401186654","1401186694","1401186736","1401186741","1401186742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27ceb5b44168bebca56b1fb951fc3923.jpg","text":"TemporaryFile(/tmp/multipartBody469163018903998962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790693520,"filename":"image_09122025_14_35_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/12/27/bc118d75e40bbf9a9f2c55b21ce17e12.jpg","text":"TemporaryFile(/tmp/multipartBody2995643019776749590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790693520,"filename":"image_09122025_14_34_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/12/27/facd5904d4a78737cc5f3e03a168c0b9.jpg","text":"TemporaryFile(/tmp/multipartBody3397706428088722557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790693520,"filename":"image_09122025_14_35_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b98ce3c54815f14eee15beb9f2bdc488.jpg","text":"TemporaryFile(/tmp/multipartBody2528559712367252687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790693520,"filename":"image_09122025_14_35_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e85f3015e1fdbd1fa47006e5bd5acea.jpg","text":"TemporaryFile(/tmp/multipartBody2262353404091258110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790693520,"filename":"image_09122025_14_35_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/12/27/b6fe51b7f599050f370cf09c07720777.jpg","text":"TemporaryFile(/tmp/multipartBody593817103345020029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790693520,"filename":"image_09122025_14_36_04_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401186694","file1":"1401186654","file0":"1401186621","file4":"1401186741","file5":"1401186742","file3":"1401186736"},"map_files_photo_id_array":[{"photo_id":"1401186742","filename":"file5"},{"photo_id":"1401186694","filename":"file2"},{"photo_id":"1401186741","filename":"file4"},{"photo_id":"1401186654","filename":"file1"},{"photo_id":"1401186621","filename":"file0"},{"photo_id":"1401186736","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401186694":["hashtag1","hashtag2"]},{"1401186742":["hashtag1","hashtag2"]},{"1401186736":["hashtag1","hashtag2"]},{"1401186654":["hashtag1","hashtag2"]},{"1401186741":["hashtag1","hashtag2"]},{"1401186621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401186694, 1401186742, 1401186736, 1401186654, 1401186741, 1401186621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79257869720459 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:11:16.842577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/34/image_09122025_14_34_15_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_45_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_24_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_15_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_45_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_34_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/34/image_09122025_14_34_15_9610.jpg', '/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_45_9614.jpg', '/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_24_9609.jpg', '/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_15_10640.jpg', '/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_45_10619.jpg', '/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_34_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/34/image_09122025_14_34_15_9610.jpg
/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_45_9614.jpg
/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_24_9609.jpg
/home/nano/Desktop/images/09122025/14/33/image_09122025_14_33_15_10640.jpg
/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_45_10619.jpg
/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_34_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":["1401186770","1401186830","1401186766","1401186792","1401186759","1401186762"],"photo_ids_order":["1401186759","1401186762","1401186766","1401186770","1401186792","1401186830"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98b23faf149818a342b19cb99e1f0ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3601348198194813211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790737627,"filename":"image_09122025_14_33_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17ba4c9d5c3021ae3e7f0f6bc2b3e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody9197665898665744773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790737627,"filename":"image_09122025_14_32_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/12/27/5301ad6a522e69989a1752b02979aa45.jpg","text":"TemporaryFile(/tmp/multipartBody6755116795344938088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790737627,"filename":"image_09122025_14_33_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/12/27/6bd56a7f4462dc8dd23ebaff9295a84d.jpg","text":"TemporaryFile(/tmp/multipartBody653733453303063799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790737627,"filename":"image_09122025_14_32_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/272e237dd8ca45b2aeea071263ed3eca.jpg","text":"TemporaryFile(/tmp/multipartBody6726697150963157069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790737627,"filename":"image_09122025_14_34_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c186a1e1d6f347986e6da0deb39d78a.jpg","text":"TemporaryFile(/tmp/multipartBody5572764751995805391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790737627,"filename":"image_09122025_14_33_45_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401186766","file1":"1401186762","file0":"1401186759","file4":"1401186792","file5":"1401186830","file3":"1401186770"},"map_files_photo_id_array":[{"photo_id":"1401186830","filename":"file5"},{"photo_id":"1401186766","filename":"file2"},{"photo_id":"1401186792","filename":"file4"},{"photo_id":"1401186762","filename":"file1"},{"photo_id":"1401186759","filename":"file0"},{"photo_id":"1401186770","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401186770":["hashtag1","hashtag2"]},{"1401186830":["hashtag1","hashtag2"]},{"1401186766":["hashtag1","hashtag2"]},{"1401186792":["hashtag1","hashtag2"]},{"1401186759":["hashtag1","hashtag2"]},{"1401186762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401186770, 1401186830, 1401186766, 1401186792, 1401186759, 1401186762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57678008079529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:12:02.328216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_14_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/31/image_09122025_14_32_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_55_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_25_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_14_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_35_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_14_9625.jpg', '/home/nano/Desktop/images/09122025/14/31/image_09122025_14_32_04_9637.jpg', '/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_55_10622.jpg', '/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_25_10618.jpg', '/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_14_9631.jpg', '/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_35_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/32/image_09122025_14_32_14_9625.jpg
/home/nano/Desktop/images/09122025/14/31/image_09122025_14_32_04_9637.jpg
/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_55_10622.jpg
/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_25_10618.jpg
/home/nano/Desktop/images/09122025/14/31/image_09122025_14_31_14_9631.jpg
/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_35_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":["1401187063","1401187045","1401187060","1401187015","1401187092","1401187012"],"photo_ids_order":["1401187012","1401187015","1401187045","1401187060","1401187063","1401187092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e46756416def65a28e866f7fd87594b2.jpg","text":"TemporaryFile(/tmp/multipartBody3948043234467966913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790783246,"filename":"image_09122025_14_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/12/27/4fa5eb1d32803bd09271d16f7a0b7125.jpg","text":"TemporaryFile(/tmp/multipartBody7469430435405830088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790783246,"filename":"image_09122025_14_31_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/200dacc8e474d3cc4bc6f9c40948c0db.jpg","text":"TemporaryFile(/tmp/multipartBody2626716225158214814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790783246,"filename":"image_09122025_14_31_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0806a490efc5d2eba913c1f9e6971f2c.jpg","text":"TemporaryFile(/tmp/multipartBody8465553026460124511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790783246,"filename":"image_09122025_14_32_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/12/27/96d58827ed9f7f774941e11093d5eaf9.jpg","text":"TemporaryFile(/tmp/multipartBody854919360153899635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790783246,"filename":"image_09122025_14_30_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3dd4c4898507411942dcfacfeba123d2.jpg","text":"TemporaryFile(/tmp/multipartBody6709871642346486044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790783246,"filename":"image_09122025_14_32_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401187045","file1":"1401187015","file0":"1401187012","file4":"1401187063","file5":"1401187092","file3":"1401187060"},"map_files_photo_id_array":[{"photo_id":"1401187092","filename":"file5"},{"photo_id":"1401187045","filename":"file2"},{"photo_id":"1401187063","filename":"file4"},{"photo_id":"1401187015","filename":"file1"},{"photo_id":"1401187012","filename":"file0"},{"photo_id":"1401187060","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401187063":["hashtag1","hashtag2"]},{"1401187045":["hashtag1","hashtag2"]},{"1401187060":["hashtag1","hashtag2"]},{"1401187015":["hashtag1","hashtag2"]},{"1401187092":["hashtag1","hashtag2"]},{"1401187012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401187063, 1401187045, 1401187060, 1401187015, 1401187092, 1401187012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93580198287964 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:12:46.948721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_24_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_15_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_54_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_34_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/28/image_09122025_14_29_04_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_55_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_24_9612.jpg', '/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_15_9626.jpg', '/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_54_9612.jpg', '/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_34_9612.jpg', '/home/nano/Desktop/images/09122025/14/28/image_09122025_14_29_04_9661.jpg', '/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_55_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_24_9612.jpg
/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_15_9626.jpg
/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_54_9612.jpg
/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_34_9612.jpg
/home/nano/Desktop/images/09122025/14/28/image_09122025_14_29_04_9661.jpg
/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_55_9631.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7018740177154541 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:13:02.522561
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_24_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_15_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_54_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_34_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/28/image_09122025_14_29_04_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_55_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_24_9612.jpg', '/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_15_9626.jpg', '/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_54_9612.jpg', '/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_34_9612.jpg', '/home/nano/Desktop/images/09122025/14/28/image_09122025_14_29_04_9661.jpg', '/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_55_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_24_9612.jpg
/home/nano/Desktop/images/09122025/14/30/image_09122025_14_30_15_9626.jpg
/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_54_9612.jpg
/home/nano/Desktop/images/09122025/14/29/image_09122025_14_29_34_9612.jpg
/home/nano/Desktop/images/09122025/14/28/image_09122025_14_29_04_9661.jpg
/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_55_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":["1401187142","1401187135","1401187149","1401187140","1401187137","1401187146"],"photo_ids_order":["1401187135","1401187137","1401187140","1401187142","1401187146","1401187149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/719d381a880b912ee00a7e6a312dd96f.jpg","text":"TemporaryFile(/tmp/multipartBody4013945323637547042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790843811,"filename":"image_09122025_14_29_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/12/27/53349ea9a223a9b49a37b7267b87284b.jpg","text":"TemporaryFile(/tmp/multipartBody4138633513130876888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790843811,"filename":"image_09122025_14_30_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/12/27/8bfdd89f3e17e853c98824ecb0ea764e.jpg","text":"TemporaryFile(/tmp/multipartBody1621468175436344807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790843811,"filename":"image_09122025_14_28_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2660837c1ea5accf8a4d2611b3e2c3fd.jpg","text":"TemporaryFile(/tmp/multipartBody4094989256352478636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790843811,"filename":"image_09122025_14_29_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/12/27/087194fef6625cf0755c0e33c7959d57.jpg","text":"TemporaryFile(/tmp/multipartBody2258062288210209077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790843811,"filename":"image_09122025_14_30_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19804b1a7d5b29aabf3c0eba19418982.jpg","text":"TemporaryFile(/tmp/multipartBody8440094509545499791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790843811,"filename":"image_09122025_14_29_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401187140","file1":"1401187137","file0":"1401187135","file4":"1401187146","file5":"1401187149","file3":"1401187142"},"map_files_photo_id_array":[{"photo_id":"1401187149","filename":"file5"},{"photo_id":"1401187140","filename":"file2"},{"photo_id":"1401187146","filename":"file4"},{"photo_id":"1401187137","filename":"file1"},{"photo_id":"1401187135","filename":"file0"},{"photo_id":"1401187142","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401187142":["hashtag1","hashtag2"]},{"1401187135":["hashtag1","hashtag2"]},{"1401187149":["hashtag1","hashtag2"]},{"1401187140":["hashtag1","hashtag2"]},{"1401187137":["hashtag1","hashtag2"]},{"1401187146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401187142, 1401187135, 1401187149, 1401187140, 1401187137, 1401187146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42219161987305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:13:47.074341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_34_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/14/27/image_09122025_14_27_44_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/14/27/image_09122025_14_27_25_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/26/image_09122025_14_27_05_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/14/26/image_09122025_14_26_54_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/26/image_09122025_14_26_35_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_34_9610.jpg', '/home/nano/Desktop/images/09122025/14/27/image_09122025_14_27_44_9611.jpg', '/home/nano/Desktop/images/09122025/14/27/image_09122025_14_27_25_10623.jpg', '/home/nano/Desktop/images/09122025/14/26/image_09122025_14_27_05_10637.jpg', '/home/nano/Desktop/images/09122025/14/26/image_09122025_14_26_54_9612.jpg', '/home/nano/Desktop/images/09122025/14/26/image_09122025_14_26_35_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/28/image_09122025_14_28_34_9610.jpg
/home/nano/Desktop/images/09122025/14/27/image_09122025_14_27_44_9611.jpg
/home/nano/Desktop/images/09122025/14/27/image_09122025_14_27_25_10623.jpg
/home/nano/Desktop/images/09122025/14/26/image_09122025_14_27_05_10637.jpg
/home/nano/Desktop/images/09122025/14/26/image_09122025_14_26_54_9612.jpg
/home/nano/Desktop/images/09122025/14/26/image_09122025_14_26_35_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":["1401187163","1401187157","1401187159","1401187156","1401187161","1401187158"],"photo_ids_order":["1401187156","1401187157","1401187158","1401187159","1401187161","1401187163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59f6ffb7a28caa929ed46d2cb848716c.jpg","text":"TemporaryFile(/tmp/multipartBody835667398717986490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790887883,"filename":"image_09122025_14_26_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb817a05ebbd48ee0ef0491496bd13d7.jpg","text":"TemporaryFile(/tmp/multipartBody6833506288591184323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790887883,"filename":"image_09122025_14_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/12/27/9a24b1b5d030fd649cbc6c02dc039355.jpg","text":"TemporaryFile(/tmp/multipartBody8584960802515483861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790887883,"filename":"image_09122025_14_27_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b8e4f9e85da204b6dce58583594353a.jpg","text":"TemporaryFile(/tmp/multipartBody1884911528992866492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790887883,"filename":"image_09122025_14_28_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/12/27/0405da2d0c5ffc55f2ff533a2385eb4e.jpg","text":"TemporaryFile(/tmp/multipartBody1270898020749030744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790887883,"filename":"image_09122025_14_26_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/12/27/a65abb6439a21b93b969fb4dcf899cd2.jpg","text":"TemporaryFile(/tmp/multipartBody2834636379326278726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790887883,"filename":"image_09122025_14_27_25_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401187158","file1":"1401187157","file0":"1401187156","file4":"1401187161","file5":"1401187163","file3":"1401187159"},"map_files_photo_id_array":[{"photo_id":"1401187163","filename":"file5"},{"photo_id":"1401187158","filename":"file2"},{"photo_id":"1401187161","filename":"file4"},{"photo_id":"1401187157","filename":"file1"},{"photo_id":"1401187156","filename":"file0"},{"photo_id":"1401187159","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401187163":["hashtag1","hashtag2"]},{"1401187157":["hashtag1","hashtag2"]},{"1401187159":["hashtag1","hashtag2"]},{"1401187156":["hashtag1","hashtag2"]},{"1401187161":["hashtag1","hashtag2"]},{"1401187158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401187163, 1401187157, 1401187159, 1401187156, 1401187161, 1401187158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1103949546814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:14:32.168275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/25/image_09122025_14_26_05_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/25/image_09122025_14_25_25_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/14/25/image_09122025_14_25_15_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/14/24/image_09122025_14_25_04_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/14/24/image_09122025_14_24_34_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/14/23/image_09122025_14_24_05_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/25/image_09122025_14_26_05_10623.jpg', '/home/nano/Desktop/images/09122025/14/25/image_09122025_14_25_25_9613.jpg', '/home/nano/Desktop/images/09122025/14/25/image_09122025_14_25_15_10642.jpg', '/home/nano/Desktop/images/09122025/14/24/image_09122025_14_25_04_9619.jpg', '/home/nano/Desktop/images/09122025/14/24/image_09122025_14_24_34_9613.jpg', '/home/nano/Desktop/images/09122025/14/23/image_09122025_14_24_05_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/25/image_09122025_14_26_05_10623.jpg
/home/nano/Desktop/images/09122025/14/25/image_09122025_14_25_25_9613.jpg
/home/nano/Desktop/images/09122025/14/25/image_09122025_14_25_15_10642.jpg
/home/nano/Desktop/images/09122025/14/24/image_09122025_14_25_04_9619.jpg
/home/nano/Desktop/images/09122025/14/24/image_09122025_14_24_34_9613.jpg
/home/nano/Desktop/images/09122025/14/23/image_09122025_14_24_05_9623.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":["1401187174","1401187191","1401187188","1401187176","1401187184","1401187178"],"photo_ids_order":["1401187174","1401187176","1401187178","1401187184","1401187188","1401187191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/811be938ca4fe9246f854470bb49a0b7.jpg","text":"TemporaryFile(/tmp/multipartBody782501837727337835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790932981,"filename":"image_09122025_14_26_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83072bbf0c6e12e65e6a60be9181398a.jpg","text":"TemporaryFile(/tmp/multipartBody1529623790465837701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790932981,"filename":"image_09122025_14_24_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/704a67d55bf7c981aaf4b8fbc28785c7.jpg","text":"TemporaryFile(/tmp/multipartBody154480200914532271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790932981,"filename":"image_09122025_14_24_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/12/27/766a5e3ac8a3ba8345a319061cf329ff.jpg","text":"TemporaryFile(/tmp/multipartBody8666156512742894041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790932981,"filename":"image_09122025_14_25_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e038db6f9100499919c022d78c36b33.jpg","text":"TemporaryFile(/tmp/multipartBody1625505268164088228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790932981,"filename":"image_09122025_14_25_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/12/27/db5128b41a543526621d39e21181c7b5.jpg","text":"TemporaryFile(/tmp/multipartBody8116179755086974846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790932981,"filename":"image_09122025_14_25_15_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401187178","file1":"1401187176","file0":"1401187174","file4":"1401187188","file5":"1401187191","file3":"1401187184"},"map_files_photo_id_array":[{"photo_id":"1401187191","filename":"file5"},{"photo_id":"1401187178","filename":"file2"},{"photo_id":"1401187188","filename":"file4"},{"photo_id":"1401187176","filename":"file1"},{"photo_id":"1401187174","filename":"file0"},{"photo_id":"1401187184","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401187174":["hashtag1","hashtag2"]},{"1401187191":["hashtag1","hashtag2"]},{"1401187188":["hashtag1","hashtag2"]},{"1401187176":["hashtag1","hashtag2"]},{"1401187184":["hashtag1","hashtag2"]},{"1401187178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401187174, 1401187191, 1401187188, 1401187176, 1401187184, 1401187178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.780564069747925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:15:32.263397
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/23/image_09122025_14_23_55_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/21/image_09122025_14_21_25_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/14/20/image_09122025_14_21_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/14/20/image_09122025_14_20_14_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_55_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_35_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/23/image_09122025_14_23_55_10623.jpg', '/home/nano/Desktop/images/09122025/14/21/image_09122025_14_21_25_9627.jpg', '/home/nano/Desktop/images/09122025/14/20/image_09122025_14_21_04_9638.jpg', '/home/nano/Desktop/images/09122025/14/20/image_09122025_14_20_14_9627.jpg', '/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_55_10621.jpg', '/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_35_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/23/image_09122025_14_23_55_10623.jpg
/home/nano/Desktop/images/09122025/14/21/image_09122025_14_21_25_9627.jpg
/home/nano/Desktop/images/09122025/14/20/image_09122025_14_21_04_9638.jpg
/home/nano/Desktop/images/09122025/14/20/image_09122025_14_20_14_9627.jpg
/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_55_10621.jpg
/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_35_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":["1401187205","1401187208","1401187207","1401187201","1401187203","1401187199"],"photo_ids_order":["1401187199","1401187201","1401187203","1401187205","1401187207","1401187208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c620eb292a8a03c09cf9f2150e0b99cb.jpg","text":"TemporaryFile(/tmp/multipartBody3858066119612694313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790993063,"filename":"image_09122025_14_20_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/12/27/3bb9523e9a49b836773966d5caa681c3.jpg","text":"TemporaryFile(/tmp/multipartBody2158683349217646693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790993063,"filename":"image_09122025_14_19_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f96edda78a720387d466ae5643f1e7d6.jpg","text":"TemporaryFile(/tmp/multipartBody9210561860291250798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790993063,"filename":"image_09122025_14_19_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfe42375e2950dfd00b76f73a3c9234c.jpg","text":"TemporaryFile(/tmp/multipartBody7021780955533900039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790993063,"filename":"image_09122025_14_21_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77d2803e62714cda0bd62cf2f618d4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7171328321498394219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790993063,"filename":"image_09122025_14_21_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/12/27/c37554cc9883db0bb1887cf0e9445575.jpg","text":"TemporaryFile(/tmp/multipartBody3292879832449396452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766790993063,"filename":"image_09122025_14_23_55_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401187203","file1":"1401187201","file0":"1401187199","file4":"1401187207","file5":"1401187208","file3":"1401187205"},"map_files_photo_id_array":[{"photo_id":"1401187208","filename":"file5"},{"photo_id":"1401187203","filename":"file2"},{"photo_id":"1401187207","filename":"file4"},{"photo_id":"1401187201","filename":"file1"},{"photo_id":"1401187199","filename":"file0"},{"photo_id":"1401187205","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401187205":["hashtag1","hashtag2"]},{"1401187208":["hashtag1","hashtag2"]},{"1401187207":["hashtag1","hashtag2"]},{"1401187201":["hashtag1","hashtag2"]},{"1401187203":["hashtag1","hashtag2"]},{"1401187199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401187205, 1401187208, 1401187207, 1401187201, 1401187203, 1401187199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61555314064026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:16:17.420417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_24_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_15_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/14/18/image_09122025_14_19_05_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_54_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_35_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_24_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_24_9613.jpg', '/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_15_9642.jpg', '/home/nano/Desktop/images/09122025/14/18/image_09122025_14_19_05_10625.jpg', '/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_54_9612.jpg', '/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_35_10623.jpg', '/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_24_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_24_9613.jpg
/home/nano/Desktop/images/09122025/14/19/image_09122025_14_19_15_9642.jpg
/home/nano/Desktop/images/09122025/14/18/image_09122025_14_19_05_10625.jpg
/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_54_9612.jpg
/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_35_10623.jpg
/home/nano/Desktop/images/09122025/14/18/image_09122025_14_18_24_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":["1401187232","1401187235","1401187229","1401187213","1401187216","1401187224"],"photo_ids_order":["1401187213","1401187216","1401187224","1401187229","1401187232","1401187235"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5e81cb31bf4b49ab8ef559d913c8ee2.jpg","text":"TemporaryFile(/tmp/multipartBody8279131372887230779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791038226,"filename":"image_09122025_14_18_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d43e814a248529c0a6b0c5aaa005dab9.jpg","text":"TemporaryFile(/tmp/multipartBody3601150421268637658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791038226,"filename":"image_09122025_14_18_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/12/27/0ad66d6b2297ee5b4615a2cf1a568030.jpg","text":"TemporaryFile(/tmp/multipartBody692167509071243236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791038226,"filename":"image_09122025_14_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/12/27/6a462e6ac914eebce0ca47448febf831.jpg","text":"TemporaryFile(/tmp/multipartBody1826027637596830539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791038226,"filename":"image_09122025_14_19_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/12/27/d8f654dcf76bd3aaaa1a9dc559c425f4.jpg","text":"TemporaryFile(/tmp/multipartBody5755109577905580901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791038226,"filename":"image_09122025_14_19_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b61005505b55de6e0ae8b37e1d529bc.jpg","text":"TemporaryFile(/tmp/multipartBody7740007977106370012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791038226,"filename":"image_09122025_14_19_05_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401187224","file1":"1401187216","file0":"1401187213","file4":"1401187232","file5":"1401187235","file3":"1401187229"},"map_files_photo_id_array":[{"photo_id":"1401187235","filename":"file5"},{"photo_id":"1401187224","filename":"file2"},{"photo_id":"1401187232","filename":"file4"},{"photo_id":"1401187216","filename":"file1"},{"photo_id":"1401187213","filename":"file0"},{"photo_id":"1401187229","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401187232":["hashtag1","hashtag2"]},{"1401187235":["hashtag1","hashtag2"]},{"1401187229":["hashtag1","hashtag2"]},{"1401187213":["hashtag1","hashtag2"]},{"1401187216":["hashtag1","hashtag2"]},{"1401187224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401187232, 1401187235, 1401187229, 1401187213, 1401187216, 1401187224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.70763969421387 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:17:17.470777
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/17/image_09122025_14_17_34_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/14/17/image_09122025_14_17_25_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_44_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_25_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_14_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_55_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/17/image_09122025_14_17_34_9616.jpg', '/home/nano/Desktop/images/09122025/14/17/image_09122025_14_17_25_9629.jpg', '/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_44_9620.jpg', '/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_25_10622.jpg', '/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_14_9630.jpg', '/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_55_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/17/image_09122025_14_17_34_9616.jpg
/home/nano/Desktop/images/09122025/14/17/image_09122025_14_17_25_9629.jpg
/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_44_9620.jpg
/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_25_10622.jpg
/home/nano/Desktop/images/09122025/14/16/image_09122025_14_16_14_9630.jpg
/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_55_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":["1401187690","1401187780","1401187872","1401188139","1401188048","1401187964"],"photo_ids_order":["1401187690","1401187780","1401187872","1401187964","1401188048","1401188139"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e51f3bba0489115148c8b7e620a3ef55.jpg","text":"TemporaryFile(/tmp/multipartBody4362298323921472267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791098279,"filename":"image_09122025_14_17_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/12/27/f1777aad337405a7fb2f8f90cc84f87d.jpg","text":"TemporaryFile(/tmp/multipartBody8701860763875910917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791098279,"filename":"image_09122025_14_17_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/853615d5b61108389e002d33b97386a5.jpg","text":"TemporaryFile(/tmp/multipartBody5185138938650877738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791098279,"filename":"image_09122025_14_16_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/12/27/4ce8941b1e02dc548ea29c82fc2888c2.jpg","text":"TemporaryFile(/tmp/multipartBody2695031624649374372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791098279,"filename":"image_09122025_14_15_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24ecf2b3771f6a34cab40a5584ee3f12.jpg","text":"TemporaryFile(/tmp/multipartBody572252186886866772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791098279,"filename":"image_09122025_14_16_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/12/27/e29fb86bcade98ce749b4e9b8cc2a121.jpg","text":"TemporaryFile(/tmp/multipartBody5483036706900600089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791098279,"filename":"image_09122025_14_16_25_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401187872","file1":"1401187780","file0":"1401187690","file4":"1401188048","file5":"1401188139","file3":"1401187964"},"map_files_photo_id_array":[{"photo_id":"1401188139","filename":"file5"},{"photo_id":"1401187872","filename":"file2"},{"photo_id":"1401188048","filename":"file4"},{"photo_id":"1401187780","filename":"file1"},{"photo_id":"1401187690","filename":"file0"},{"photo_id":"1401187964","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401187690":["hashtag1","hashtag2"]},{"1401187780":["hashtag1","hashtag2"]},{"1401187872":["hashtag1","hashtag2"]},{"1401188139":["hashtag1","hashtag2"]},{"1401188048":["hashtag1","hashtag2"]},{"1401187964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401187690, 1401187780, 1401187872, 1401188139, 1401188048, 1401187964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37869191169739 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:18:03.027583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_44_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_24_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_15_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_54_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_35_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_24_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_44_9615.jpg', '/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_24_9613.jpg', '/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_15_9649.jpg', '/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_54_9611.jpg', '/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_35_10623.jpg', '/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_24_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_44_9615.jpg
/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_24_9613.jpg
/home/nano/Desktop/images/09122025/14/15/image_09122025_14_15_15_9649.jpg
/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_54_9611.jpg
/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_35_10623.jpg
/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_24_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":["1401188280","1401188291","1401188294","1401188288","1401188282","1401188285"],"photo_ids_order":["1401188280","1401188282","1401188285","1401188288","1401188291","1401188294"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b8c59487c6f451542c44dc765f4275d.jpg","text":"TemporaryFile(/tmp/multipartBody3265043913968092403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791143877,"filename":"image_09122025_14_15_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/12/27/f8d1ef4985e604a445eb299e873af995.jpg","text":"TemporaryFile(/tmp/multipartBody5348905214401703731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791143877,"filename":"image_09122025_14_14_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/777d79683f358ded5744df5902947b59.jpg","text":"TemporaryFile(/tmp/multipartBody6932011488585028961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791143877,"filename":"image_09122025_14_14_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/12/27/8928de0e0c02ac053a680763481d1d07.jpg","text":"TemporaryFile(/tmp/multipartBody6399755596646798475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791143877,"filename":"image_09122025_14_14_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/12/27/fb52434449a4a92dac71b5810505d134.jpg","text":"TemporaryFile(/tmp/multipartBody3284894750547565532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791143877,"filename":"image_09122025_14_15_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/12/27/029e2ff44f48014a561b0baab5fcacac.jpg","text":"TemporaryFile(/tmp/multipartBody916605477006333492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791143877,"filename":"image_09122025_14_15_15_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401188285","file1":"1401188282","file0":"1401188280","file4":"1401188291","file5":"1401188294","file3":"1401188288"},"map_files_photo_id_array":[{"photo_id":"1401188294","filename":"file5"},{"photo_id":"1401188285","filename":"file2"},{"photo_id":"1401188291","filename":"file4"},{"photo_id":"1401188282","filename":"file1"},{"photo_id":"1401188280","filename":"file0"},{"photo_id":"1401188288","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401188280":["hashtag1","hashtag2"]},{"1401188291":["hashtag1","hashtag2"]},{"1401188294":["hashtag1","hashtag2"]},{"1401188288":["hashtag1","hashtag2"]},{"1401188282":["hashtag1","hashtag2"]},{"1401188285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401188280, 1401188291, 1401188294, 1401188288, 1401188282, 1401188285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.495102643966675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:18:47.684395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_15_10628.jpg', 2), ('/home/nano/Desktop/images/09122025/14/13/image_09122025_14_14_04_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_55_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_45_10670.jpg', 2), ('/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_34_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_25_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_15_10628.jpg', '/home/nano/Desktop/images/09122025/14/13/image_09122025_14_14_04_9630.jpg', '/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_55_9648.jpg', '/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_45_10670.jpg', '/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_34_9657.jpg', '/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_25_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/14/image_09122025_14_14_15_10628.jpg
/home/nano/Desktop/images/09122025/14/13/image_09122025_14_14_04_9630.jpg
/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_55_9648.jpg
/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_45_10670.jpg
/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_34_9657.jpg
/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_25_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":["1401188572","1401188566","1401188535","1401188567","1401188630","1401188618"],"photo_ids_order":["1401188535","1401188566","1401188567","1401188572","1401188618","1401188630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a94736247cf7f96abc4411e8606fdcc.jpg","text":"TemporaryFile(/tmp/multipartBody4433569680098542220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791188506,"filename":"image_09122025_14_13_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a79527f7ad2c1212040d6d30f89f8dd7.jpg","text":"TemporaryFile(/tmp/multipartBody1353061611030383656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791188506,"filename":"image_09122025_14_14_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/12/27/62994edb1861696c625e589cf5bf1f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3257126685565908744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791188506,"filename":"image_09122025_14_14_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8cdb47b41c4c73b8eed5529b363a986.jpg","text":"TemporaryFile(/tmp/multipartBody78862137732667825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791188506,"filename":"image_09122025_14_13_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfc4ab8ebb887fa7dd7f915a64207e80.jpg","text":"TemporaryFile(/tmp/multipartBody1519016410964627326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791188506,"filename":"image_09122025_14_13_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18509d6752ace5933806ac179cd5193f.jpg","text":"TemporaryFile(/tmp/multipartBody3915840199171912963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791188506,"filename":"image_09122025_14_13_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401188567","file1":"1401188566","file0":"1401188535","file4":"1401188618","file5":"1401188630","file3":"1401188572"},"map_files_photo_id_array":[{"photo_id":"1401188630","filename":"file5"},{"photo_id":"1401188567","filename":"file2"},{"photo_id":"1401188618","filename":"file4"},{"photo_id":"1401188566","filename":"file1"},{"photo_id":"1401188535","filename":"file0"},{"photo_id":"1401188572","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401188572":["hashtag1","hashtag2"]},{"1401188566":["hashtag1","hashtag2"]},{"1401188535":["hashtag1","hashtag2"]},{"1401188567":["hashtag1","hashtag2"]},{"1401188630":["hashtag1","hashtag2"]},{"1401188618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401188572, 1401188566, 1401188535, 1401188567, 1401188630, 1401188618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81974959373474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:19:31.788671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_15_10710.jpg', 2), ('/home/nano/Desktop/images/09122025/14/12/image_09122025_14_13_04_9677.jpg', 2), ('/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_54_9665.jpg', 2), ('/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_45_9813.jpg', 2), ('/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_35_10691.jpg', 2), ('/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_24_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_15_10710.jpg', '/home/nano/Desktop/images/09122025/14/12/image_09122025_14_13_04_9677.jpg', '/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_54_9665.jpg', '/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_45_9813.jpg', '/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_35_10691.jpg', '/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_24_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/13/image_09122025_14_13_15_10710.jpg
/home/nano/Desktop/images/09122025/14/12/image_09122025_14_13_04_9677.jpg
/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_54_9665.jpg
/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_45_9813.jpg
/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_35_10691.jpg
/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_24_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":["1401188788","1401188698","1401188641","1401188643","1401188646","1401188645"],"photo_ids_order":["1401188641","1401188643","1401188645","1401188646","1401188698","1401188788"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d863c543d0868a0521e22b2e52d7086.jpg","text":"TemporaryFile(/tmp/multipartBody734885528906795810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791232633,"filename":"image_09122025_14_12_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/12/27/f255b9a3ad67bc707eb7eb3b5249847d.jpg","text":"TemporaryFile(/tmp/multipartBody6726153560659417235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791232633,"filename":"image_09122025_14_12_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36ea5b59cf4fb74f0dcc5b4810f27d8d.jpg","text":"TemporaryFile(/tmp/multipartBody6126173177658766559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791232633,"filename":"image_09122025_14_13_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4076e40b6f17cac48bc7975ba0f5bb3d.jpg","text":"TemporaryFile(/tmp/multipartBody7733075262633298742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791232633,"filename":"image_09122025_14_13_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8f5ddf87adab3f77498ee421b61ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody7330117051070725802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791232633,"filename":"image_09122025_14_12_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48e5fcdf09731b6ee43cf559ff6f50b1.jpg","text":"TemporaryFile(/tmp/multipartBody1347418507422274882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791232633,"filename":"image_09122025_14_12_54_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401188645","file1":"1401188643","file0":"1401188641","file4":"1401188698","file5":"1401188788","file3":"1401188646"},"map_files_photo_id_array":[{"photo_id":"1401188788","filename":"file5"},{"photo_id":"1401188645","filename":"file2"},{"photo_id":"1401188698","filename":"file4"},{"photo_id":"1401188643","filename":"file1"},{"photo_id":"1401188641","filename":"file0"},{"photo_id":"1401188646","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401188788":["hashtag1","hashtag2"]},{"1401188698":["hashtag1","hashtag2"]},{"1401188641":["hashtag1","hashtag2"]},{"1401188643":["hashtag1","hashtag2"]},{"1401188646":["hashtag1","hashtag2"]},{"1401188645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401188788, 1401188698, 1401188641, 1401188643, 1401188646, 1401188645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72608304023743 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:20:16.893430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_15_9694.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_12_05_10710.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_54_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_45_9690.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_35_10686.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_24_9679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_15_9694.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_12_05_10710.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_54_9667.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_45_9690.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_35_10686.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_15_9694.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_12_05_10710.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_54_9667.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_45_9690.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_35_10686.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_24_9679.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7195446491241455 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:20:31.889615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_15_9694.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_12_05_10710.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_54_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_45_9690.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_35_10686.jpg', 2), ('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_24_9679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_15_9694.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_12_05_10710.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_54_9667.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_45_9690.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_35_10686.jpg', '/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/12/image_09122025_14_12_15_9694.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_12_05_10710.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_54_9667.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_45_9690.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_35_10686.jpg
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_24_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":["1401189468","1401189453","1401189450","1401189467","1401189455","1401189460"],"photo_ids_order":["1401189450","1401189453","1401189455","1401189460","1401189467","1401189468"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78c984df3bbc80ee4501bb4d0586fa4b.jpg","text":"TemporaryFile(/tmp/multipartBody4757283603217367147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791292713,"filename":"image_09122025_14_11_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/12/27/658ae16577d8030eb409af28097f4ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2622453122641761246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791292713,"filename":"image_09122025_14_12_05_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e004d27eef69e12991ae791c47c5b2ad.jpg","text":"TemporaryFile(/tmp/multipartBody7858606775561140531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791292713,"filename":"image_09122025_14_12_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7af79fde1015210bc4c71017d0b5844c.jpg","text":"TemporaryFile(/tmp/multipartBody5284657697001777350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791292713,"filename":"image_09122025_14_11_35_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01ba1ddbab1780adb3affddfbec334f2.jpg","text":"TemporaryFile(/tmp/multipartBody6052554559242219774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791292713,"filename":"image_09122025_14_11_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e318a3b5e7f977d035fa240c8e9a430.jpg","text":"TemporaryFile(/tmp/multipartBody8733184906710106413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791292713,"filename":"image_09122025_14_11_45_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401189455","file1":"1401189453","file0":"1401189450","file4":"1401189467","file5":"1401189468","file3":"1401189460"},"map_files_photo_id_array":[{"photo_id":"1401189468","filename":"file5"},{"photo_id":"1401189455","filename":"file2"},{"photo_id":"1401189467","filename":"file4"},{"photo_id":"1401189453","filename":"file1"},{"photo_id":"1401189450","filename":"file0"},{"photo_id":"1401189460","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401189468":["hashtag1","hashtag2"]},{"1401189453":["hashtag1","hashtag2"]},{"1401189450":["hashtag1","hashtag2"]},{"1401189467":["hashtag1","hashtag2"]},{"1401189455":["hashtag1","hashtag2"]},{"1401189460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401189468, 1401189453, 1401189450, 1401189467, 1401189455, 1401189460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70915150642395 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:21:16.971764
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_14_9813.jpg', 2), ('/home/nano/Desktop/images/09122025/14/10/image_09122025_14_11_05_9789.jpg', 2), ('/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_55_10701.jpg', 2), ('/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_44_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_34_9681.jpg', 2), ('/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_25_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_14_9813.jpg', '/home/nano/Desktop/images/09122025/14/10/image_09122025_14_11_05_9789.jpg', '/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_55_10701.jpg', '/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_44_9656.jpg', '/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_34_9681.jpg', '/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_25_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/11/image_09122025_14_11_14_9813.jpg
/home/nano/Desktop/images/09122025/14/10/image_09122025_14_11_05_9789.jpg
/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_55_10701.jpg
/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_44_9656.jpg
/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_34_9681.jpg
/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_25_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":["1401189739","1401189747","1401189674","1401189650","1401189749","1401189679"],"photo_ids_order":["1401189650","1401189674","1401189679","1401189739","1401189747","1401189749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/224b3f68cce02aa4c9b59ee0931c637b.jpg","text":"TemporaryFile(/tmp/multipartBody8838251000900839193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791337896,"filename":"image_09122025_14_10_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a80c21b7e5ea0aeff716572116235765.jpg","text":"TemporaryFile(/tmp/multipartBody7363744353321898020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791337896,"filename":"image_09122025_14_10_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f777e2600eba6ad036462adcbe620469.jpg","text":"TemporaryFile(/tmp/multipartBody7672424430797532369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791337896,"filename":"image_09122025_14_11_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e4db154342a2b2daef7b203be120a34.jpg","text":"TemporaryFile(/tmp/multipartBody4583018148863516073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791337896,"filename":"image_09122025_14_11_14_9813.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/153e2c5e46a80eb7317cde9d699e3ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2351134001971381763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791337896,"filename":"image_09122025_14_10_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61ebdc172f2e57c486de0564680b21d7.jpg","text":"TemporaryFile(/tmp/multipartBody3535383916108495423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791337896,"filename":"image_09122025_14_10_55_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401189679","file1":"1401189674","file0":"1401189650","file4":"1401189747","file5":"1401189749","file3":"1401189739"},"map_files_photo_id_array":[{"photo_id":"1401189749","filename":"file5"},{"photo_id":"1401189679","filename":"file2"},{"photo_id":"1401189747","filename":"file4"},{"photo_id":"1401189674","filename":"file1"},{"photo_id":"1401189650","filename":"file0"},{"photo_id":"1401189739","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401189739":["hashtag1","hashtag2"]},{"1401189747":["hashtag1","hashtag2"]},{"1401189674":["hashtag1","hashtag2"]},{"1401189650":["hashtag1","hashtag2"]},{"1401189749":["hashtag1","hashtag2"]},{"1401189679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401189739, 1401189747, 1401189674, 1401189650, 1401189749, 1401189679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37022852897644 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:22:02.399670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_14_9695.jpg', 2), ('/home/nano/Desktop/images/09122025/14/09/image_09122025_14_10_04_9691.jpg', 2), ('/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_55_9669.jpg', 2), ('/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_45_10690.jpg', 2), ('/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_34_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_25_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_14_9695.jpg', '/home/nano/Desktop/images/09122025/14/09/image_09122025_14_10_04_9691.jpg', '/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_55_9669.jpg', '/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_45_10690.jpg', '/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_34_9667.jpg', '/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_25_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/10/image_09122025_14_10_14_9695.jpg
/home/nano/Desktop/images/09122025/14/09/image_09122025_14_10_04_9691.jpg
/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_55_9669.jpg
/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_45_10690.jpg
/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_34_9667.jpg
/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_25_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":["1401189762","1401189771","1401189765","1401189759","1401189768","1401189756"],"photo_ids_order":["1401189756","1401189759","1401189762","1401189765","1401189768","1401189771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/525440427e8567a8d1b916fccc408ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7451764568815909642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791383436,"filename":"image_09122025_14_09_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b7a2639097166ef3dc95d4c922a51e4.jpg","text":"TemporaryFile(/tmp/multipartBody681501772901431066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791383436,"filename":"image_09122025_14_09_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c981f56d45e64ef53304ceceb8d5b08c.jpg","text":"TemporaryFile(/tmp/multipartBody7209943062934874499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791383436,"filename":"image_09122025_14_09_45_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8619761af19aebad322aa1090b5b00f.jpg","text":"TemporaryFile(/tmp/multipartBody6870135846365928754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791383436,"filename":"image_09122025_14_10_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8b884abf284c44ccb5766900e3c3987.jpg","text":"TemporaryFile(/tmp/multipartBody4173701132695263131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791383436,"filename":"image_09122025_14_09_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/12/27/011ece92767c4c1aaff21b5a8919b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3338098011167522238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791383436,"filename":"image_09122025_14_10_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401189762","file1":"1401189759","file0":"1401189756","file4":"1401189768","file5":"1401189771","file3":"1401189765"},"map_files_photo_id_array":[{"photo_id":"1401189771","filename":"file5"},{"photo_id":"1401189762","filename":"file2"},{"photo_id":"1401189768","filename":"file4"},{"photo_id":"1401189759","filename":"file1"},{"photo_id":"1401189756","filename":"file0"},{"photo_id":"1401189765","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401189762":["hashtag1","hashtag2"]},{"1401189771":["hashtag1","hashtag2"]},{"1401189765":["hashtag1","hashtag2"]},{"1401189759":["hashtag1","hashtag2"]},{"1401189768":["hashtag1","hashtag2"]},{"1401189756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401189762, 1401189771, 1401189765, 1401189759, 1401189768, 1401189756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.724554777145386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:22:47.082917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_15_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_09_04_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_55_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_35_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_25_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_15_10636.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_09_04_9621.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_55_10616.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_44_9633.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_35_9605.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_25_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_15_10636.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_09_04_9621.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_55_10616.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_44_9633.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_35_9605.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_25_10599.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6951634883880615 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:23:02.669100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_15_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_09_04_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_55_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_35_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_25_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_15_10636.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_09_04_9621.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_55_10616.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_44_9633.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_35_9605.jpg', '/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_25_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/09/image_09122025_14_09_15_10636.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_09_04_9621.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_55_10616.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_44_9633.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_35_9605.jpg
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_25_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401190069","1401190135","1401190036","1401190103","1401190004","1401189967"],"photo_ids_order":["1401189967","1401190004","1401190036","1401190069","1401190103","1401190135"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db4fa4af74b292cbdf454a4c26044a69.jpg","text":"TemporaryFile(/tmp/multipartBody7742456637366277857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791443522,"filename":"image_09122025_14_08_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/12/27/63f864a5a804e6c2ce2d533b1af8a69b.jpg","text":"TemporaryFile(/tmp/multipartBody1402577782465860646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791443522,"filename":"image_09122025_14_08_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/069ac83873b27a8a389b0b7b626605c2.jpg","text":"TemporaryFile(/tmp/multipartBody4382807634904294127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791443522,"filename":"image_09122025_14_08_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7f105c562afeec8636ca90044bc00f1.jpg","text":"TemporaryFile(/tmp/multipartBody3027017357616779076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791443522,"filename":"image_09122025_14_08_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f6cf10fc52f90acefb246b0c4638b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4706214817797766631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791443522,"filename":"image_09122025_14_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/12/27/4ab35a7c310e3283d543b3cbff654687.jpg","text":"TemporaryFile(/tmp/multipartBody8208369052020008240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791443522,"filename":"image_09122025_14_09_15_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401190036","file1":"1401190004","file0":"1401189967","file4":"1401190103","file5":"1401190135","file3":"1401190069"},"map_files_photo_id_array":[{"photo_id":"1401190135","filename":"file5"},{"photo_id":"1401190036","filename":"file2"},{"photo_id":"1401190103","filename":"file4"},{"photo_id":"1401190004","filename":"file1"},{"photo_id":"1401189967","filename":"file0"},{"photo_id":"1401190069","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401190069":["hashtag1","hashtag2"]},{"1401190135":["hashtag1","hashtag2"]},{"1401190036":["hashtag1","hashtag2"]},{"1401190103":["hashtag1","hashtag2"]},{"1401190004":["hashtag1","hashtag2"]},{"1401189967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401190069, 1401190135, 1401190036, 1401190103, 1401190004, 1401189967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91781187057495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:23:47.169702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_14_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/14/07/image_09122025_14_08_05_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/14/07/image_09122025_14_07_24_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/07/image_09122025_14_07_15_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_45_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_35_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_14_9638.jpg', '/home/nano/Desktop/images/09122025/14/07/image_09122025_14_08_05_10633.jpg', '/home/nano/Desktop/images/09122025/14/07/image_09122025_14_07_24_9620.jpg', '/home/nano/Desktop/images/09122025/14/07/image_09122025_14_07_15_9641.jpg', '/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_45_9620.jpg', '/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_35_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/08/image_09122025_14_08_14_9638.jpg
/home/nano/Desktop/images/09122025/14/07/image_09122025_14_08_05_10633.jpg
/home/nano/Desktop/images/09122025/14/07/image_09122025_14_07_24_9620.jpg
/home/nano/Desktop/images/09122025/14/07/image_09122025_14_07_15_9641.jpg
/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_45_9620.jpg
/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_35_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":["1401190432","1401190501","1401190326","1401190397","1401190466","1401190361"],"photo_ids_order":["1401190326","1401190361","1401190397","1401190432","1401190466","1401190501"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f3d1837863afcf7a8801c40b2921651.jpg","text":"TemporaryFile(/tmp/multipartBody1203955051653438273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791488144,"filename":"image_09122025_14_07_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7689080710d5949d1e88330a8148b67a.jpg","text":"TemporaryFile(/tmp/multipartBody4052488627085891040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791488144,"filename":"image_09122025_14_06_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed5fd5b3f19f68ce6fef0d780ea14c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1255345908232743112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791488144,"filename":"image_09122025_14_08_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/12/27/946c676b289faf9551acf31ec7259407.jpg","text":"TemporaryFile(/tmp/multipartBody2402417876335215698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791488144,"filename":"image_09122025_14_07_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/12/27/b7dc7cfbc55267e761385b8a664115f2.jpg","text":"TemporaryFile(/tmp/multipartBody1301781467731546713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791488144,"filename":"image_09122025_14_06_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de342d9cf8c00155c668f801b211cb92.jpg","text":"TemporaryFile(/tmp/multipartBody1015074437639052182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791488144,"filename":"image_09122025_14_08_05_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401190397","file1":"1401190361","file0":"1401190326","file4":"1401190466","file5":"1401190501","file3":"1401190432"},"map_files_photo_id_array":[{"photo_id":"1401190501","filename":"file5"},{"photo_id":"1401190397","filename":"file2"},{"photo_id":"1401190466","filename":"file4"},{"photo_id":"1401190361","filename":"file1"},{"photo_id":"1401190326","filename":"file0"},{"photo_id":"1401190432","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401190432":["hashtag1","hashtag2"]},{"1401190501":["hashtag1","hashtag2"]},{"1401190326":["hashtag1","hashtag2"]},{"1401190397":["hashtag1","hashtag2"]},{"1401190466":["hashtag1","hashtag2"]},{"1401190361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401190432, 1401190501, 1401190326, 1401190397, 1401190466, 1401190361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99888467788696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:24:32.272826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_24_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/14/05/image_09122025_14_05_25_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/14/05/image_09122025_14_05_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/14/04/image_09122025_14_04_55_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/14/04/image_09122025_14_04_14_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_55_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_24_9623.jpg', '/home/nano/Desktop/images/09122025/14/05/image_09122025_14_05_25_9624.jpg', '/home/nano/Desktop/images/09122025/14/05/image_09122025_14_05_15_10660.jpg', '/home/nano/Desktop/images/09122025/14/04/image_09122025_14_04_55_9620.jpg', '/home/nano/Desktop/images/09122025/14/04/image_09122025_14_04_14_9635.jpg', '/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/06/image_09122025_14_06_24_9623.jpg
/home/nano/Desktop/images/09122025/14/05/image_09122025_14_05_25_9624.jpg
/home/nano/Desktop/images/09122025/14/05/image_09122025_14_05_15_10660.jpg
/home/nano/Desktop/images/09122025/14/04/image_09122025_14_04_55_9620.jpg
/home/nano/Desktop/images/09122025/14/04/image_09122025_14_04_14_9635.jpg
/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_55_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":["1401190783","1401190759","1401190785","1401190725","1401190694","1401190781"],"photo_ids_order":["1401190694","1401190725","1401190759","1401190781","1401190783","1401190785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff36fe513b268e35376f81890d0c947b.jpg","text":"TemporaryFile(/tmp/multipartBody8442445364311501632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791533124,"filename":"image_09122025_14_04_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/12/27/cffe328ed62cecc4aedaa5898b05e158.jpg","text":"TemporaryFile(/tmp/multipartBody1715615201503843907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791533124,"filename":"image_09122025_14_05_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b82eb7c75b950ce560bb8a428666bef8.jpg","text":"TemporaryFile(/tmp/multipartBody4424590292691343225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791533124,"filename":"image_09122025_14_03_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fcfde6296e9b08ef540d4fd7b05c7e5a.jpg","text":"TemporaryFile(/tmp/multipartBody8212237436837134842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791533124,"filename":"image_09122025_14_05_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbc70e1e5e681a9a3b2c64677d855b87.jpg","text":"TemporaryFile(/tmp/multipartBody8381085011944692352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791533124,"filename":"image_09122025_14_06_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/12/27/cffa9b197dde1b0de43e649322d86d20.jpg","text":"TemporaryFile(/tmp/multipartBody412402693293061512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791533124,"filename":"image_09122025_14_04_55_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401190759","file1":"1401190725","file0":"1401190694","file4":"1401190783","file5":"1401190785","file3":"1401190781"},"map_files_photo_id_array":[{"photo_id":"1401190785","filename":"file5"},{"photo_id":"1401190759","filename":"file2"},{"photo_id":"1401190783","filename":"file4"},{"photo_id":"1401190725","filename":"file1"},{"photo_id":"1401190694","filename":"file0"},{"photo_id":"1401190781","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401190783":["hashtag1","hashtag2"]},{"1401190759":["hashtag1","hashtag2"]},{"1401190785":["hashtag1","hashtag2"]},{"1401190725":["hashtag1","hashtag2"]},{"1401190694":["hashtag1","hashtag2"]},{"1401190781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401190783, 1401190759, 1401190785, 1401190725, 1401190694, 1401190781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26239037513733 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:25:17.361421
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_44_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/14/02/image_09122025_14_03_05_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_35_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_24_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_44_9642.jpg', '/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_25_10635.jpg', '/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_14_9658.jpg', '/home/nano/Desktop/images/09122025/14/02/image_09122025_14_03_05_9658.jpg', '/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_35_10632.jpg', '/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_44_9642.jpg
/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_25_10635.jpg
/home/nano/Desktop/images/09122025/14/03/image_09122025_14_03_14_9658.jpg
/home/nano/Desktop/images/09122025/14/02/image_09122025_14_03_05_9658.jpg
/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_35_10632.jpg
/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_24_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":["1401191082","1401191049","1401190980","1401191127","1401191013","1401190944"],"photo_ids_order":["1401190944","1401190980","1401191013","1401191049","1401191082","1401191127"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/530d267678c5e5874482ee035ee7543e.jpg","text":"TemporaryFile(/tmp/multipartBody4937984042384763151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791578148,"filename":"image_09122025_14_02_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38b65c2b81d8adb1fadcbcc3c16145c1.jpg","text":"TemporaryFile(/tmp/multipartBody7634419421387677517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791578148,"filename":"image_09122025_14_03_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2b814757acb9a438ac71fd0959d52f3.jpg","text":"TemporaryFile(/tmp/multipartBody7348911368409238378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791578148,"filename":"image_09122025_14_03_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bcea3a2677e763523168b7b1317eb93.jpg","text":"TemporaryFile(/tmp/multipartBody4075324362476540716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791578148,"filename":"image_09122025_14_02_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/12/27/bdae03f23819f927f08c231d5e0cff67.jpg","text":"TemporaryFile(/tmp/multipartBody4197879252408893434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791578148,"filename":"image_09122025_14_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/12/27/a7733394bc81a8a349549c3238d0a3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3931674688085708252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791578148,"filename":"image_09122025_14_03_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401191013","file1":"1401190980","file0":"1401190944","file4":"1401191082","file5":"1401191127","file3":"1401191049"},"map_files_photo_id_array":[{"photo_id":"1401191127","filename":"file5"},{"photo_id":"1401191013","filename":"file2"},{"photo_id":"1401191082","filename":"file4"},{"photo_id":"1401190980","filename":"file1"},{"photo_id":"1401190944","filename":"file0"},{"photo_id":"1401191049","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401191082":["hashtag1","hashtag2"]},{"1401191049":["hashtag1","hashtag2"]},{"1401190980":["hashtag1","hashtag2"]},{"1401191127":["hashtag1","hashtag2"]},{"1401191013":["hashtag1","hashtag2"]},{"1401190944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401191082, 1401191049, 1401190980, 1401191127, 1401191013, 1401190944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04849720001221 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:26:02.845262
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_14_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_35_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/14/00/image_09122025_14_01_05_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_14_9655.jpg', '/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_35_10632.jpg', '/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_24_9625.jpg', '/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_15_9625.jpg', '/home/nano/Desktop/images/09122025/14/00/image_09122025_14_01_05_10634.jpg', '/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/02/image_09122025_14_02_14_9655.jpg
/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_35_10632.jpg
/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_24_9625.jpg
/home/nano/Desktop/images/09122025/14/01/image_09122025_14_01_15_9625.jpg
/home/nano/Desktop/images/09122025/14/00/image_09122025_14_01_05_10634.jpg
/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_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":["1401191580","1401191640","1401191742","1401191777","1401191702","1401191519"],"photo_ids_order":["1401191519","1401191580","1401191640","1401191702","1401191742","1401191777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba7513a638a99d9939f557e4195f40f8.jpg","text":"TemporaryFile(/tmp/multipartBody3469336917361996780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791623666,"filename":"image_09122025_14_01_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06d0d97f00002173fa267111bb4c87ad.jpg","text":"TemporaryFile(/tmp/multipartBody5793623752699954383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791623666,"filename":"image_09122025_14_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/12/27/c37afd044515427f2a6834d7c571f246.jpg","text":"TemporaryFile(/tmp/multipartBody2314090926198454163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791623666,"filename":"image_09122025_14_01_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28e8e07a2b8593423293d559d1934945.jpg","text":"TemporaryFile(/tmp/multipartBody63530388878327827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791623666,"filename":"image_09122025_14_00_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/12/27/a66cc6e07c2ac52d25f41d2b81f0a63c.jpg","text":"TemporaryFile(/tmp/multipartBody3277717922923416710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791623666,"filename":"image_09122025_14_01_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4116a9947ea8f4840ef41c060d969be.jpg","text":"TemporaryFile(/tmp/multipartBody8711765657948034932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791623666,"filename":"image_09122025_14_02_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401191640","file1":"1401191580","file0":"1401191519","file4":"1401191742","file5":"1401191777","file3":"1401191702"},"map_files_photo_id_array":[{"photo_id":"1401191777","filename":"file5"},{"photo_id":"1401191640","filename":"file2"},{"photo_id":"1401191742","filename":"file4"},{"photo_id":"1401191580","filename":"file1"},{"photo_id":"1401191519","filename":"file0"},{"photo_id":"1401191702","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401191580":["hashtag1","hashtag2"]},{"1401191640":["hashtag1","hashtag2"]},{"1401191742":["hashtag1","hashtag2"]},{"1401191777":["hashtag1","hashtag2"]},{"1401191702":["hashtag1","hashtag2"]},{"1401191519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401191580, 1401191640, 1401191742, 1401191777, 1401191702, 1401191519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00885272026062 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:26:47.471260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_45_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_34_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_25_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_15_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_45_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_34_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_45_10650.jpg', '/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_34_9622.jpg', '/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_25_9626.jpg', '/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_15_10649.jpg', '/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_45_10637.jpg', '/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_34_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_45_10650.jpg
/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_34_9622.jpg
/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_25_9626.jpg
/home/nano/Desktop/images/09122025/14/00/image_09122025_14_00_15_10649.jpg
/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_45_10637.jpg
/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_34_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":["1401191997","1401192071","1401192053","1401192029","1401191986","1401191989"],"photo_ids_order":["1401191986","1401191989","1401191997","1401192029","1401192053","1401192071"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c814dc2cd06ab0a43c1557a0fddc5cee.jpg","text":"TemporaryFile(/tmp/multipartBody4413826722304917148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791668271,"filename":"image_09122025_14_00_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1daae9c2d6c2cf108abcf73cd89588bd.jpg","text":"TemporaryFile(/tmp/multipartBody3294507301395073081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791668271,"filename":"image_09122025_13_59_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/12/27/76c5ddde3ad5a198eb19993ce5b8babe.jpg","text":"TemporaryFile(/tmp/multipartBody7881102255635075104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791668271,"filename":"image_09122025_13_59_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd91205a9d3d1a8b14534862d0d40537.jpg","text":"TemporaryFile(/tmp/multipartBody7650047247727973618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791668271,"filename":"image_09122025_14_00_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb22179e5a2556277ad034d61ece857e.jpg","text":"TemporaryFile(/tmp/multipartBody6021570281540220043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791668271,"filename":"image_09122025_14_00_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98ce87a026ed3a438a0a11b4fb11f2d2.jpg","text":"TemporaryFile(/tmp/multipartBody8764983415052415016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791668271,"filename":"image_09122025_14_00_34_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401191997","file1":"1401191989","file0":"1401191986","file4":"1401192053","file5":"1401192071","file3":"1401192029"},"map_files_photo_id_array":[{"photo_id":"1401192071","filename":"file5"},{"photo_id":"1401191997","filename":"file2"},{"photo_id":"1401192053","filename":"file4"},{"photo_id":"1401191989","filename":"file1"},{"photo_id":"1401191986","filename":"file0"},{"photo_id":"1401192029","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401191997":["hashtag1","hashtag2"]},{"1401192071":["hashtag1","hashtag2"]},{"1401192053":["hashtag1","hashtag2"]},{"1401192029":["hashtag1","hashtag2"]},{"1401191986":["hashtag1","hashtag2"]},{"1401191989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401191997, 1401192071, 1401192053, 1401192029, 1401191986, 1401191989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61456537246704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:27:32.592655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_25_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_55_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_44_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_35_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_25_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_14_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_25_9619.jpg', '/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_55_10617.jpg', '/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_44_9628.jpg', '/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_35_9648.jpg', '/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_25_10621.jpg', '/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_14_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/59/image_09122025_13_59_25_9619.jpg
/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_55_10617.jpg
/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_44_9628.jpg
/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_35_9648.jpg
/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_25_10621.jpg
/home/nano/Desktop/images/09122025/13/58/image_09122025_13_58_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":["1401192264","1401192603","1401192491","1401192158","1401192122","1401192382"],"photo_ids_order":["1401192122","1401192158","1401192264","1401192382","1401192491","1401192603"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1f2ef565a612dbaa2e179337a51804e.jpg","text":"TemporaryFile(/tmp/multipartBody1655918190206670222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791713404,"filename":"image_09122025_13_58_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/12/27/28d111b2b4f89e08f1c8bb5b2e869b9c.jpg","text":"TemporaryFile(/tmp/multipartBody6485235895301789537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791713404,"filename":"image_09122025_13_58_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/12/27/794d4d125328bf32ef50c51cc6b38431.jpg","text":"TemporaryFile(/tmp/multipartBody2869485392881668786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791713404,"filename":"image_09122025_13_58_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7b037b33c8a609be729224cc8040768.jpg","text":"TemporaryFile(/tmp/multipartBody9132394046316715605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791713404,"filename":"image_09122025_13_58_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/689fdd517c424edcef4966e963b98b45.jpg","text":"TemporaryFile(/tmp/multipartBody1646314469548084073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791713404,"filename":"image_09122025_13_59_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b006b15c7c0b910886f8d48d0be76af.jpg","text":"TemporaryFile(/tmp/multipartBody9174101907326609866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791713404,"filename":"image_09122025_13_58_35_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401192264","file1":"1401192158","file0":"1401192122","file4":"1401192491","file5":"1401192603","file3":"1401192382"},"map_files_photo_id_array":[{"photo_id":"1401192603","filename":"file5"},{"photo_id":"1401192264","filename":"file2"},{"photo_id":"1401192491","filename":"file4"},{"photo_id":"1401192158","filename":"file1"},{"photo_id":"1401192122","filename":"file0"},{"photo_id":"1401192382","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401192264":["hashtag1","hashtag2"]},{"1401192603":["hashtag1","hashtag2"]},{"1401192491":["hashtag1","hashtag2"]},{"1401192158":["hashtag1","hashtag2"]},{"1401192122":["hashtag1","hashtag2"]},{"1401192382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401192264, 1401192603, 1401192491, 1401192158, 1401192122, 1401192382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48218894004822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:28:17.685516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/57/image_09122025_13_58_05_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_55_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_44_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_35_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_24_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_15_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/57/image_09122025_13_58_05_9623.jpg', '/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_55_10615.jpg', '/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_44_9610.jpg', '/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_35_10633.jpg', '/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_24_9603.jpg', '/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_15_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/57/image_09122025_13_58_05_9623.jpg
/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_55_10615.jpg
/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_44_9610.jpg
/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_35_10633.jpg
/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_24_9603.jpg
/home/nano/Desktop/images/09122025/13/57/image_09122025_13_57_15_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":["1401193338","1401193251","1401193433","1401193429","1401193405","1401193392"],"photo_ids_order":["1401193251","1401193338","1401193392","1401193405","1401193429","1401193433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7af7835a01777c9357a8072686f270c1.jpg","text":"TemporaryFile(/tmp/multipartBody146465099896885108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791758496,"filename":"image_09122025_13_57_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b4264f38eb65a92314e8b33f0d71ce5.jpg","text":"TemporaryFile(/tmp/multipartBody5359951704834697613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791758496,"filename":"image_09122025_13_58_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9701e94a3028431fa1c3c6dbe0c85a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2762740719032381879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791758496,"filename":"image_09122025_13_57_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6224bbe48b5220a11a2eeaca1ed98f54.jpg","text":"TemporaryFile(/tmp/multipartBody2786412741113043233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791758496,"filename":"image_09122025_13_57_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/12/27/b0894d5a1fdc2842eb81a27a5d0e0964.jpg","text":"TemporaryFile(/tmp/multipartBody5385440161001066761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791758496,"filename":"image_09122025_13_57_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8d744107d4c73be544cc456b395c291.jpg","text":"TemporaryFile(/tmp/multipartBody6238402061704812355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791758496,"filename":"image_09122025_13_57_44_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401193392","file1":"1401193338","file0":"1401193251","file4":"1401193429","file5":"1401193433","file3":"1401193405"},"map_files_photo_id_array":[{"photo_id":"1401193433","filename":"file5"},{"photo_id":"1401193392","filename":"file2"},{"photo_id":"1401193429","filename":"file4"},{"photo_id":"1401193338","filename":"file1"},{"photo_id":"1401193251","filename":"file0"},{"photo_id":"1401193405","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401193338":["hashtag1","hashtag2"]},{"1401193251":["hashtag1","hashtag2"]},{"1401193433":["hashtag1","hashtag2"]},{"1401193429":["hashtag1","hashtag2"]},{"1401193405":["hashtag1","hashtag2"]},{"1401193392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401193338, 1401193251, 1401193433, 1401193429, 1401193405, 1401193392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.725752115249634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:29:02.613900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/56/image_09122025_13_57_05_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_54_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_45_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_34_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_24_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_15_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/56/image_09122025_13_57_05_10614.jpg', '/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_54_9608.jpg', '/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_45_10615.jpg', '/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_34_9610.jpg', '/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_24_9607.jpg', '/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/56/image_09122025_13_57_05_10614.jpg
/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_54_9608.jpg
/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_45_10615.jpg
/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_34_9610.jpg
/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_24_9607.jpg
/home/nano/Desktop/images/09122025/13/56/image_09122025_13_56_15_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":["1401193668","1401193440","1401193541","1401193451","1401193628","1401193672"],"photo_ids_order":["1401193440","1401193451","1401193541","1401193628","1401193668","1401193672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39371b1e3b2eb39ef93567fc3df6f027.jpg","text":"TemporaryFile(/tmp/multipartBody9158408628972268474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791803457,"filename":"image_09122025_13_56_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/12/27/bada431bbd271372df9be4d6efdf3fdf.jpg","text":"TemporaryFile(/tmp/multipartBody1322336287734423978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791803457,"filename":"image_09122025_13_57_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f258c62ae5f651834761f7f380edb21.jpg","text":"TemporaryFile(/tmp/multipartBody7867708556295258448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791803457,"filename":"image_09122025_13_56_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/506da8420f59f66dfa982c7bef9f878f.jpg","text":"TemporaryFile(/tmp/multipartBody3348269988441536375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791803457,"filename":"image_09122025_13_56_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/12/27/b0a7a5bd58dafe15f1f436e46a473f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2281477283697576775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791803457,"filename":"image_09122025_13_56_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/12/27/fb23eb1fb5ba888fcc81099521af9f50.jpg","text":"TemporaryFile(/tmp/multipartBody8960879481649047130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791803457,"filename":"image_09122025_13_56_15_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401193541","file1":"1401193451","file0":"1401193440","file4":"1401193668","file5":"1401193672","file3":"1401193628"},"map_files_photo_id_array":[{"photo_id":"1401193672","filename":"file5"},{"photo_id":"1401193541","filename":"file2"},{"photo_id":"1401193668","filename":"file4"},{"photo_id":"1401193451","filename":"file1"},{"photo_id":"1401193440","filename":"file0"},{"photo_id":"1401193628","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401193668":["hashtag1","hashtag2"]},{"1401193440":["hashtag1","hashtag2"]},{"1401193541":["hashtag1","hashtag2"]},{"1401193451":["hashtag1","hashtag2"]},{"1401193628":["hashtag1","hashtag2"]},{"1401193672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401193668, 1401193440, 1401193541, 1401193451, 1401193628, 1401193672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.444029808044434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:29:46.782743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/55/image_09122025_13_56_04_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_55_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_45_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_34_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_25_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_14_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/55/image_09122025_13_56_04_9618.jpg', '/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_55_9615.jpg', '/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_45_10616.jpg', '/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_34_9607.jpg', '/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_25_10625.jpg', '/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_14_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/55/image_09122025_13_56_04_9618.jpg
/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_55_9615.jpg
/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_45_10616.jpg
/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_34_9607.jpg
/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_25_10625.jpg
/home/nano/Desktop/images/09122025/13/55/image_09122025_13_55_14_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":["1401193766","1401193763","1401193762","1401193767","1401193761","1401193764"],"photo_ids_order":["1401193761","1401193762","1401193763","1401193764","1401193766","1401193767"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/048d5150212828de0e6f7f12ac789c95.jpg","text":"TemporaryFile(/tmp/multipartBody5294428138668949784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791847590,"filename":"image_09122025_13_55_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64a254190454b3e30f681cc37ed0685e.jpg","text":"TemporaryFile(/tmp/multipartBody8318038852981000962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791847590,"filename":"image_09122025_13_55_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6614ac603c41c14bab1cc64d525ccc7.jpg","text":"TemporaryFile(/tmp/multipartBody570178967572619869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791847590,"filename":"image_09122025_13_55_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c5356bcad5c8cda13d8cf873a865e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4959124000969082458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791847590,"filename":"image_09122025_13_55_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ece8ab94439d0bc47c6ca1a2b2bf6d8a.jpg","text":"TemporaryFile(/tmp/multipartBody8770090106904303037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791847590,"filename":"image_09122025_13_56_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/12/27/13539c5dad66eaf96368591f1cedb253.jpg","text":"TemporaryFile(/tmp/multipartBody5748504072744767782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791847590,"filename":"image_09122025_13_55_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401193763","file1":"1401193762","file0":"1401193761","file4":"1401193766","file5":"1401193767","file3":"1401193764"},"map_files_photo_id_array":[{"photo_id":"1401193767","filename":"file5"},{"photo_id":"1401193763","filename":"file2"},{"photo_id":"1401193766","filename":"file4"},{"photo_id":"1401193762","filename":"file1"},{"photo_id":"1401193761","filename":"file0"},{"photo_id":"1401193764","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401193766":["hashtag1","hashtag2"]},{"1401193763":["hashtag1","hashtag2"]},{"1401193762":["hashtag1","hashtag2"]},{"1401193767":["hashtag1","hashtag2"]},{"1401193761":["hashtag1","hashtag2"]},{"1401193764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401193766, 1401193763, 1401193762, 1401193767, 1401193761, 1401193764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38530421257019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:30:31.977203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/54/image_09122025_13_55_05_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_55_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_44_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_35_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_25_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_14_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/54/image_09122025_13_55_05_9656.jpg', '/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_55_10619.jpg', '/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_44_9604.jpg', '/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_35_9605.jpg', '/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_25_10623.jpg', '/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_14_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/54/image_09122025_13_55_05_9656.jpg
/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_55_10619.jpg
/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_44_9604.jpg
/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_35_9605.jpg
/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_25_10623.jpg
/home/nano/Desktop/images/09122025/13/54/image_09122025_13_54_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":["1401193800","1401193784","1401193868","1401193835","1401193930","1401193900"],"photo_ids_order":["1401193784","1401193800","1401193835","1401193868","1401193900","1401193930"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5e68eadd720b621385ebeafe9ce389c.jpg","text":"TemporaryFile(/tmp/multipartBody7999654269423688509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791892813,"filename":"image_09122025_13_54_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0fba6e301ef590cf4beabe881871888.jpg","text":"TemporaryFile(/tmp/multipartBody7256480722059415244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791892813,"filename":"image_09122025_13_55_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6f1134e4f99e9e45cfe3f9a6266b44e.jpg","text":"TemporaryFile(/tmp/multipartBody7649352303411859643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791892813,"filename":"image_09122025_13_54_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c54479c8826c059577a6b3f7c8f505ac.jpg","text":"TemporaryFile(/tmp/multipartBody4558023483354200599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791892813,"filename":"image_09122025_13_54_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/12/27/70cb0aafebd8c6d51c613db57e29f58f.jpg","text":"TemporaryFile(/tmp/multipartBody3258799414305802752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791892813,"filename":"image_09122025_13_54_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/12/27/b548433e708015f55be3ded3afad5f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6632674167017545587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791892813,"filename":"image_09122025_13_54_25_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401193835","file1":"1401193800","file0":"1401193784","file4":"1401193900","file5":"1401193930","file3":"1401193868"},"map_files_photo_id_array":[{"photo_id":"1401193930","filename":"file5"},{"photo_id":"1401193835","filename":"file2"},{"photo_id":"1401193900","filename":"file4"},{"photo_id":"1401193800","filename":"file1"},{"photo_id":"1401193784","filename":"file0"},{"photo_id":"1401193868","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401193800":["hashtag1","hashtag2"]},{"1401193784":["hashtag1","hashtag2"]},{"1401193868":["hashtag1","hashtag2"]},{"1401193835":["hashtag1","hashtag2"]},{"1401193930":["hashtag1","hashtag2"]},{"1401193900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401193800, 1401193784, 1401193868, 1401193835, 1401193930, 1401193900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02321243286133 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:31:16.977248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/53/image_09122025_13_54_05_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_54_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_45_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_35_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_24_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_15_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/53/image_09122025_13_54_05_10618.jpg', '/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_54_9602.jpg', '/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_45_9604.jpg', '/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_35_10614.jpg', '/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_24_9610.jpg', '/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_15_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/53/image_09122025_13_54_05_10618.jpg
/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_54_9602.jpg
/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_45_9604.jpg
/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_35_10614.jpg
/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_24_9610.jpg
/home/nano/Desktop/images/09122025/13/53/image_09122025_13_53_15_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":["1401194213","1401194293","1401194326","1401194178","1401194253","1401194142"],"photo_ids_order":["1401194142","1401194178","1401194213","1401194253","1401194293","1401194326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1e1154e438f98d194c06416f0081485.jpg","text":"TemporaryFile(/tmp/multipartBody4737473724159974084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791937768,"filename":"image_09122025_13_53_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ffc620f2171a6cb55e4b93433f32153.jpg","text":"TemporaryFile(/tmp/multipartBody8338753566194084201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791937768,"filename":"image_09122025_13_53_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/12/27/94dad6830e8277a195b03a48a60e562c.jpg","text":"TemporaryFile(/tmp/multipartBody9099502363874909979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791937768,"filename":"image_09122025_13_53_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99b1e19808bd4f224f17acaaaa590b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4283219677360914600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791937768,"filename":"image_09122025_13_53_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/12/27/7994eb70393ef09d1431af552d6b2aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8213102484836028645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791937768,"filename":"image_09122025_13_53_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e8c17fb30330094466445a2ba0d4953.jpg","text":"TemporaryFile(/tmp/multipartBody6267491062916372655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791937768,"filename":"image_09122025_13_54_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401194213","file1":"1401194178","file0":"1401194142","file4":"1401194293","file5":"1401194326","file3":"1401194253"},"map_files_photo_id_array":[{"photo_id":"1401194326","filename":"file5"},{"photo_id":"1401194213","filename":"file2"},{"photo_id":"1401194293","filename":"file4"},{"photo_id":"1401194178","filename":"file1"},{"photo_id":"1401194142","filename":"file0"},{"photo_id":"1401194253","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401194213":["hashtag1","hashtag2"]},{"1401194293":["hashtag1","hashtag2"]},{"1401194326":["hashtag1","hashtag2"]},{"1401194178":["hashtag1","hashtag2"]},{"1401194253":["hashtag1","hashtag2"]},{"1401194142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401194213, 1401194293, 1401194326, 1401194178, 1401194253, 1401194142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19672894477844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:32:02.356883
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/52/image_09122025_13_53_05_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_54_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_45_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_34_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_25_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_15_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/52/image_09122025_13_53_05_10618.jpg', '/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_54_9604.jpg', '/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_45_10615.jpg', '/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_34_9621.jpg', '/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_25_9607.jpg', '/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_15_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/52/image_09122025_13_53_05_10618.jpg
/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_54_9604.jpg
/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_45_10615.jpg
/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_34_9621.jpg
/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_25_9607.jpg
/home/nano/Desktop/images/09122025/13/52/image_09122025_13_52_15_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":["1401194471","1401194465","1401194474","1401194468","1401194477","1401194462"],"photo_ids_order":["1401194462","1401194465","1401194468","1401194471","1401194474","1401194477"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8aab1fa56791e05812b9038ac28c2248.jpg","text":"TemporaryFile(/tmp/multipartBody8628028412388855777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791983200,"filename":"image_09122025_13_52_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/12/27/8c80cf3fbe4c6b0af19ca392f6812b92.jpg","text":"TemporaryFile(/tmp/multipartBody1541297025502654192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791983200,"filename":"image_09122025_13_52_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/12/27/d9ba7ed27cbaf38e153e3dd346dc8d12.jpg","text":"TemporaryFile(/tmp/multipartBody1129816971458117099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791983200,"filename":"image_09122025_13_52_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd92bb2c24e47ac0ac8cbddec931225e.jpg","text":"TemporaryFile(/tmp/multipartBody8113181323007635485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791983200,"filename":"image_09122025_13_52_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/428eaef230972ac4297b592a1cd41777.jpg","text":"TemporaryFile(/tmp/multipartBody2015669125173653628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791983200,"filename":"image_09122025_13_52_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96712d347489453cb5dff39d866653fb.jpg","text":"TemporaryFile(/tmp/multipartBody2792032304514732067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766791983200,"filename":"image_09122025_13_53_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401194468","file1":"1401194465","file0":"1401194462","file4":"1401194474","file5":"1401194477","file3":"1401194471"},"map_files_photo_id_array":[{"photo_id":"1401194477","filename":"file5"},{"photo_id":"1401194468","filename":"file2"},{"photo_id":"1401194474","filename":"file4"},{"photo_id":"1401194465","filename":"file1"},{"photo_id":"1401194462","filename":"file0"},{"photo_id":"1401194471","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401194471":["hashtag1","hashtag2"]},{"1401194465":["hashtag1","hashtag2"]},{"1401194474":["hashtag1","hashtag2"]},{"1401194468":["hashtag1","hashtag2"]},{"1401194477":["hashtag1","hashtag2"]},{"1401194462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401194471, 1401194465, 1401194474, 1401194468, 1401194477, 1401194462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64476299285889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:32:47.107544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_52_04_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_44_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_35_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_14_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/51/image_09122025_13_52_04_9602.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_55_10615.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_44_9613.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_35_9642.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_25_10635.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_14_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_52_04_9602.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_55_10615.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_44_9613.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_35_9642.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_25_10635.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_14_9619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6984307765960693 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:33:02.686719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_52_04_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_44_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_35_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_14_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/51/image_09122025_13_52_04_9602.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_55_10615.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_44_9613.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_35_9642.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_25_10635.jpg', '/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_14_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_52_04_9602.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_55_10615.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_44_9613.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_35_9642.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_25_10635.jpg
/home/nano/Desktop/images/09122025/13/51/image_09122025_13_51_14_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":["1401194684","1401194732","1401194720","1401194674","1401194671","1401194727"],"photo_ids_order":["1401194671","1401194674","1401194684","1401194720","1401194727","1401194732"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84eb610fc40386c6fb18dc5f71470b01.jpg","text":"TemporaryFile(/tmp/multipartBody8344170674367747337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792043670,"filename":"image_09122025_13_51_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/12/27/022b7ca16259c2cec4b29abd8621e8f9.jpg","text":"TemporaryFile(/tmp/multipartBody3572319733982244298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792043670,"filename":"image_09122025_13_51_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/12/27/f7a49fd617a51b14915098c8b722c8e4.jpg","text":"TemporaryFile(/tmp/multipartBody5952506857861132022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792043670,"filename":"image_09122025_13_51_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e371f37f9c2a6cadf055aaa8f9c1baf.jpg","text":"TemporaryFile(/tmp/multipartBody2130058848275379942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792043670,"filename":"image_09122025_13_51_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88192ce1500a07bdce8a140fdfc8e144.jpg","text":"TemporaryFile(/tmp/multipartBody6566599565013840141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792043670,"filename":"image_09122025_13_52_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/12/27/f0b7ec55773a2066c411b765da574761.jpg","text":"TemporaryFile(/tmp/multipartBody3585839524629754741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792043670,"filename":"image_09122025_13_51_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401194684","file1":"1401194674","file0":"1401194671","file4":"1401194727","file5":"1401194732","file3":"1401194720"},"map_files_photo_id_array":[{"photo_id":"1401194732","filename":"file5"},{"photo_id":"1401194684","filename":"file2"},{"photo_id":"1401194727","filename":"file4"},{"photo_id":"1401194674","filename":"file1"},{"photo_id":"1401194671","filename":"file0"},{"photo_id":"1401194720","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401194684":["hashtag1","hashtag2"]},{"1401194732":["hashtag1","hashtag2"]},{"1401194720":["hashtag1","hashtag2"]},{"1401194674":["hashtag1","hashtag2"]},{"1401194671":["hashtag1","hashtag2"]},{"1401194727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401194684, 1401194732, 1401194720, 1401194674, 1401194671, 1401194727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94651699066162 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:33:47.206970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/50/image_09122025_13_51_05_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_55_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_35_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_25_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_14_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/50/image_09122025_13_51_05_9631.jpg', '/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_55_10649.jpg', '/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_44_9632.jpg', '/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_35_9643.jpg', '/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_25_10612.jpg', '/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_14_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/50/image_09122025_13_51_05_9631.jpg
/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_55_10649.jpg
/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_44_9632.jpg
/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_35_9643.jpg
/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_25_10612.jpg
/home/nano/Desktop/images/09122025/13/50/image_09122025_13_50_14_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":["1401194966","1401195002","1401195076","1401195042","1401194931","1401195117"],"photo_ids_order":["1401194931","1401194966","1401195002","1401195042","1401195076","1401195117"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb3f6ade8fed1985f44e735b08246524.jpg","text":"TemporaryFile(/tmp/multipartBody190517300216951798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792088029,"filename":"image_09122025_13_50_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cdae6c186fdef3cdddae56967d8adf3.jpg","text":"TemporaryFile(/tmp/multipartBody7068141486830121533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792088029,"filename":"image_09122025_13_50_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/12/27/473a56e3b09e52065247cae3d7995c44.jpg","text":"TemporaryFile(/tmp/multipartBody3242438868544490331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792088029,"filename":"image_09122025_13_50_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36c37f864d080095fc88d3bb51ba3a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7760264671025198470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792088029,"filename":"image_09122025_13_50_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ecfad3b2514772243da19a915f16336.jpg","text":"TemporaryFile(/tmp/multipartBody1118092554760052291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792088029,"filename":"image_09122025_13_51_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47cc0248ed52491fda4cf6ee0f1c5fd2.jpg","text":"TemporaryFile(/tmp/multipartBody8692267129349475119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792088029,"filename":"image_09122025_13_50_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401195002","file1":"1401194966","file0":"1401194931","file4":"1401195076","file5":"1401195117","file3":"1401195042"},"map_files_photo_id_array":[{"photo_id":"1401195117","filename":"file5"},{"photo_id":"1401195002","filename":"file2"},{"photo_id":"1401195076","filename":"file4"},{"photo_id":"1401194966","filename":"file1"},{"photo_id":"1401194931","filename":"file0"},{"photo_id":"1401195042","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401194966":["hashtag1","hashtag2"]},{"1401195002":["hashtag1","hashtag2"]},{"1401195076":["hashtag1","hashtag2"]},{"1401195042":["hashtag1","hashtag2"]},{"1401194931":["hashtag1","hashtag2"]},{"1401195117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401194966, 1401195002, 1401195076, 1401195042, 1401194931, 1401195117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55657410621643 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:34:32.300523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/49/image_09122025_13_50_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_54_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_45_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_35_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_24_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_15_9694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/49/image_09122025_13_50_05_10627.jpg', '/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_54_9607.jpg', '/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_45_9605.jpg', '/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_35_10623.jpg', '/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_24_9658.jpg', '/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_15_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/49/image_09122025_13_50_05_10627.jpg
/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_54_9607.jpg
/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_45_9605.jpg
/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_35_10623.jpg
/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_24_9658.jpg
/home/nano/Desktop/images/09122025/13/49/image_09122025_13_49_15_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401195515","1401195308","1401195340","1401195453","1401195417","1401195374"],"photo_ids_order":["1401195308","1401195340","1401195374","1401195417","1401195453","1401195515"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03b7c9230ad105797303974211ee7317.jpg","text":"TemporaryFile(/tmp/multipartBody4864369288134942295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792133108,"filename":"image_09122025_13_49_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57d601c980fc243aa7600b99f32033b8.jpg","text":"TemporaryFile(/tmp/multipartBody5011218785117481762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792133108,"filename":"image_09122025_13_50_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/824e4cdf30818326c2c43542f2ceb792.jpg","text":"TemporaryFile(/tmp/multipartBody333620120466473549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792133108,"filename":"image_09122025_13_49_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/12/27/0244378483719f9bd997dba5c1212eac.jpg","text":"TemporaryFile(/tmp/multipartBody1743919286433740408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792133108,"filename":"image_09122025_13_49_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/12/27/44ffac7ea57b9d668ae3560fb5aeb883.jpg","text":"TemporaryFile(/tmp/multipartBody7256325852416975872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792133108,"filename":"image_09122025_13_49_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56520b61afcc257e3ba7c53212f38984.jpg","text":"TemporaryFile(/tmp/multipartBody7772011940347246563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792133108,"filename":"image_09122025_13_49_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401195374","file1":"1401195340","file0":"1401195308","file4":"1401195453","file5":"1401195515","file3":"1401195417"},"map_files_photo_id_array":[{"photo_id":"1401195515","filename":"file5"},{"photo_id":"1401195374","filename":"file2"},{"photo_id":"1401195453","filename":"file4"},{"photo_id":"1401195340","filename":"file1"},{"photo_id":"1401195308","filename":"file0"},{"photo_id":"1401195417","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401195515":["hashtag1","hashtag2"]},{"1401195308":["hashtag1","hashtag2"]},{"1401195340":["hashtag1","hashtag2"]},{"1401195453":["hashtag1","hashtag2"]},{"1401195417":["hashtag1","hashtag2"]},{"1401195374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401195515, 1401195308, 1401195340, 1401195453, 1401195417, 1401195374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5603449344635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:35:17.394806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/48/image_09122025_13_49_05_10686.jpg', 2), ('/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_54_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_45_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_35_10692.jpg', 2), ('/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_24_9722.jpg', 2), ('/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_15_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/48/image_09122025_13_49_05_10686.jpg', '/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_54_9655.jpg', '/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_45_9667.jpg', '/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_35_10692.jpg', '/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_24_9722.jpg', '/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_15_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/48/image_09122025_13_49_05_10686.jpg
/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_54_9655.jpg
/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_45_9667.jpg
/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_35_10692.jpg
/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_24_9722.jpg
/home/nano/Desktop/images/09122025/13/48/image_09122025_13_48_15_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":["1401196255","1401196321","1401196398","1401196359","1401196055","1401196142"],"photo_ids_order":["1401196055","1401196142","1401196255","1401196321","1401196359","1401196398"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ec485e75c1361876c571f9cfe6ff8e6.jpg","text":"TemporaryFile(/tmp/multipartBody2849117326906694190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792178224,"filename":"image_09122025_13_48_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/191605d464c0b5905b400d6acc580e22.jpg","text":"TemporaryFile(/tmp/multipartBody5422434228388721528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792178224,"filename":"image_09122025_13_48_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22813f3d2a772fbf0092d7e3fdfcaa39.jpg","text":"TemporaryFile(/tmp/multipartBody5144601561901052197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792178224,"filename":"image_09122025_13_48_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65f09e0df6da00998cf0ab73f0ee1717.jpg","text":"TemporaryFile(/tmp/multipartBody3538737869937264091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792178224,"filename":"image_09122025_13_48_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/12/27/e77e146e61a2fba64af262b79281e2ba.jpg","text":"TemporaryFile(/tmp/multipartBody8200436567045201730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792178224,"filename":"image_09122025_13_49_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97db536d3e8a8475f12a555ea95de041.jpg","text":"TemporaryFile(/tmp/multipartBody1231801882095198921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792178224,"filename":"image_09122025_13_48_54_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401196255","file1":"1401196142","file0":"1401196055","file4":"1401196359","file5":"1401196398","file3":"1401196321"},"map_files_photo_id_array":[{"photo_id":"1401196398","filename":"file5"},{"photo_id":"1401196255","filename":"file2"},{"photo_id":"1401196359","filename":"file4"},{"photo_id":"1401196142","filename":"file1"},{"photo_id":"1401196055","filename":"file0"},{"photo_id":"1401196321","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401196255":["hashtag1","hashtag2"]},{"1401196321":["hashtag1","hashtag2"]},{"1401196398":["hashtag1","hashtag2"]},{"1401196359":["hashtag1","hashtag2"]},{"1401196055":["hashtag1","hashtag2"]},{"1401196142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401196255, 1401196321, 1401196398, 1401196359, 1401196055, 1401196142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.449012756347656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:36:02.891596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_48_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_54_9668.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_45_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_35_10786.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_15_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/47/image_09122025_13_48_05_10627.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_54_9668.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_45_9619.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_35_10786.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_24_9631.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_15_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_48_05_10627.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_54_9668.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_45_9619.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_35_10786.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_24_9631.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_15_9688.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8184218406677246 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:36:17.545449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_48_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_54_9668.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_45_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_35_10786.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_15_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/47/image_09122025_13_48_05_10627.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_54_9668.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_45_9619.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_35_10786.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_24_9631.jpg', '/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_15_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_48_05_10627.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_54_9668.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_45_9619.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_35_10786.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_24_9631.jpg
/home/nano/Desktop/images/09122025/13/47/image_09122025_13_47_15_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":["1401196666","1401196698","1401196722","1401196671","1401196634","1401196718"],"photo_ids_order":["1401196634","1401196666","1401196671","1401196698","1401196718","1401196722"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42d7ec5eb8f34ac2e54ec75a8b3ab8f9.jpg","text":"TemporaryFile(/tmp/multipartBody2966183700494215270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792238463,"filename":"image_09122025_13_47_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/12/27/cc04c9599da752906c9b9948a011adc6.jpg","text":"TemporaryFile(/tmp/multipartBody6935423338141401114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792238463,"filename":"image_09122025_13_47_35_10786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/007c7fb40d020c3be6877d2247cbf1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6478387062463549157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792238463,"filename":"image_09122025_13_47_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04d5fb6f35f0528e00950f06f6ca2945.jpg","text":"TemporaryFile(/tmp/multipartBody9072492361557786986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792238463,"filename":"image_09122025_13_47_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b87594b97f87436dde2b98cba83f6dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4184694183573792459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792238463,"filename":"image_09122025_13_48_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8bdd6d3f3e3f05fa9f92b14c4b64950.jpg","text":"TemporaryFile(/tmp/multipartBody3124586771061217029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792238463,"filename":"image_09122025_13_47_24_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401196671","file1":"1401196666","file0":"1401196634","file4":"1401196718","file5":"1401196722","file3":"1401196698"},"map_files_photo_id_array":[{"photo_id":"1401196722","filename":"file5"},{"photo_id":"1401196671","filename":"file2"},{"photo_id":"1401196718","filename":"file4"},{"photo_id":"1401196666","filename":"file1"},{"photo_id":"1401196634","filename":"file0"},{"photo_id":"1401196698","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401196666":["hashtag1","hashtag2"]},{"1401196698":["hashtag1","hashtag2"]},{"1401196722":["hashtag1","hashtag2"]},{"1401196671":["hashtag1","hashtag2"]},{"1401196634":["hashtag1","hashtag2"]},{"1401196718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401196666, 1401196698, 1401196722, 1401196671, 1401196634, 1401196718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.485626220703125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:37:03.063186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_47_05_10692.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_54_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_45_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_35_10678.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_15_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/46/image_09122025_13_47_05_10692.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_54_9621.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_45_9657.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_35_10678.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_24_9632.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_15_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_47_05_10692.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_54_9621.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_45_9657.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_35_10678.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_24_9632.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_15_9653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7400593757629395 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:37:17.683409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_47_05_10692.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_54_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_45_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_35_10678.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_15_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/46/image_09122025_13_47_05_10692.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_54_9621.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_45_9657.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_35_10678.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_24_9632.jpg', '/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_15_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_47_05_10692.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_54_9621.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_45_9657.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_35_10678.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_24_9632.jpg
/home/nano/Desktop/images/09122025/13/46/image_09122025_13_46_15_9653.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":["1401196762","1401196759","1401196749","1401196764","1401196760","1401196757"],"photo_ids_order":["1401196749","1401196757","1401196759","1401196760","1401196762","1401196764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b10a39069285338b58c93a60c33cb550.jpg","text":"TemporaryFile(/tmp/multipartBody7679310730482757571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792298483,"filename":"image_09122025_13_46_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/12/27/d5115dd8d99ebbc160cebf85bc7b9158.jpg","text":"TemporaryFile(/tmp/multipartBody1286067168078383986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792298483,"filename":"image_09122025_13_46_45_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecf23279baa05cf6753a6d4d60b415e7.jpg","text":"TemporaryFile(/tmp/multipartBody269435047232529373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792298483,"filename":"image_09122025_13_47_05_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b4984794a80be60ce3a7ef26701d1cb.jpg","text":"TemporaryFile(/tmp/multipartBody185787092377682570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792298483,"filename":"image_09122025_13_46_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b576f1cb9a52d12fa8677eb0817c1b48.jpg","text":"TemporaryFile(/tmp/multipartBody4010370882851851141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792298483,"filename":"image_09122025_13_46_35_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b87021e5c2c12f55e4c9ee6c7a34f68.jpg","text":"TemporaryFile(/tmp/multipartBody7536785344491723745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792298483,"filename":"image_09122025_13_46_54_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401196759","file1":"1401196757","file0":"1401196749","file4":"1401196762","file5":"1401196764","file3":"1401196760"},"map_files_photo_id_array":[{"photo_id":"1401196764","filename":"file5"},{"photo_id":"1401196759","filename":"file2"},{"photo_id":"1401196762","filename":"file4"},{"photo_id":"1401196757","filename":"file1"},{"photo_id":"1401196749","filename":"file0"},{"photo_id":"1401196760","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401196762":["hashtag1","hashtag2"]},{"1401196759":["hashtag1","hashtag2"]},{"1401196749":["hashtag1","hashtag2"]},{"1401196764":["hashtag1","hashtag2"]},{"1401196760":["hashtag1","hashtag2"]},{"1401196757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401196762, 1401196759, 1401196749, 1401196764, 1401196760, 1401196757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.48635745048523 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:38:17.702189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/45/image_09122025_13_46_05_10694.jpg', 2), ('/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_54_9666.jpg', 2), ('/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_45_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_35_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_24_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_15_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/45/image_09122025_13_46_05_10694.jpg', '/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_54_9666.jpg', '/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_45_9629.jpg', '/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_35_10662.jpg', '/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_24_9617.jpg', '/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_15_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/45/image_09122025_13_46_05_10694.jpg
/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_54_9666.jpg
/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_45_9629.jpg
/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_35_10662.jpg
/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_24_9617.jpg
/home/nano/Desktop/images/09122025/13/45/image_09122025_13_45_15_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":["1401196783","1401196777","1401196779","1401196781","1401196789","1401196774"],"photo_ids_order":["1401196774","1401196777","1401196779","1401196781","1401196783","1401196789"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b100e5dcb39c28a97abe46bbc2d41fc.jpg","text":"TemporaryFile(/tmp/multipartBody2303042083192619471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792358584,"filename":"image_09122025_13_45_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/12/27/77659dbc9a0c0d74a2c5a33da4120ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1386637853577471026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792358584,"filename":"image_09122025_13_45_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce223e3c4d042091ac2be8f80df686a4.jpg","text":"TemporaryFile(/tmp/multipartBody4203982298308816006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792358584,"filename":"image_09122025_13_45_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fded74c255f3d418d14e5d80e14aac04.jpg","text":"TemporaryFile(/tmp/multipartBody8530624712342805877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792358584,"filename":"image_09122025_13_45_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59fcd0563a78e26bd4e6769dabfd59a2.jpg","text":"TemporaryFile(/tmp/multipartBody2391840610794565848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792358584,"filename":"image_09122025_13_45_15_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f74687a9262b7d04a51f820ff222b132.jpg","text":"TemporaryFile(/tmp/multipartBody5140407799956260250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792358584,"filename":"image_09122025_13_46_05_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401196779","file1":"1401196777","file0":"1401196774","file4":"1401196783","file5":"1401196789","file3":"1401196781"},"map_files_photo_id_array":[{"photo_id":"1401196789","filename":"file5"},{"photo_id":"1401196779","filename":"file2"},{"photo_id":"1401196783","filename":"file4"},{"photo_id":"1401196777","filename":"file1"},{"photo_id":"1401196774","filename":"file0"},{"photo_id":"1401196781","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401196783":["hashtag1","hashtag2"]},{"1401196777":["hashtag1","hashtag2"]},{"1401196779":["hashtag1","hashtag2"]},{"1401196781":["hashtag1","hashtag2"]},{"1401196789":["hashtag1","hashtag2"]},{"1401196774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401196783, 1401196777, 1401196779, 1401196781, 1401196789, 1401196774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34401082992554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:39:02.700327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/44/image_09122025_13_45_05_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_54_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_45_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_34_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_25_9659.jpg', 2), ('/home/nano/Desktop/images/09122025/13/43/image_09122025_13_44_04_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/44/image_09122025_13_45_05_10647.jpg', '/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_54_9612.jpg', '/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_45_10652.jpg', '/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_34_9643.jpg', '/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_25_9659.jpg', '/home/nano/Desktop/images/09122025/13/43/image_09122025_13_44_04_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/44/image_09122025_13_45_05_10647.jpg
/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_54_9612.jpg
/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_45_10652.jpg
/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_34_9643.jpg
/home/nano/Desktop/images/09122025/13/44/image_09122025_13_44_25_9659.jpg
/home/nano/Desktop/images/09122025/13/43/image_09122025_13_44_04_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":["1401196820","1401196814","1401196808","1401196817","1401196811","1401196805"],"photo_ids_order":["1401196805","1401196808","1401196811","1401196814","1401196817","1401196820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f1d8f10b8669f3a7ce6159caf83a32c.jpg","text":"TemporaryFile(/tmp/multipartBody8564295459383229806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792403676,"filename":"image_09122025_13_44_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/12/27/3aa3e5b9b34922d2027ce000a656cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody8581116898989251977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792403676,"filename":"image_09122025_13_44_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/12/27/08863b84a58d84a6c1eb9a380836d051.jpg","text":"TemporaryFile(/tmp/multipartBody8380316865364616493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792403676,"filename":"image_09122025_13_44_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/12/27/31b49b53164c7ed10fc68955108575b8.jpg","text":"TemporaryFile(/tmp/multipartBody8689447676931854405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792403676,"filename":"image_09122025_13_44_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d3b91b0583862a48ffb42f6b7334171.jpg","text":"TemporaryFile(/tmp/multipartBody988367251269431881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792403676,"filename":"image_09122025_13_44_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ea0b639d1ca511d24af09a3f6236ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5347312613493398009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792403676,"filename":"image_09122025_13_45_05_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401196811","file1":"1401196808","file0":"1401196805","file4":"1401196817","file5":"1401196820","file3":"1401196814"},"map_files_photo_id_array":[{"photo_id":"1401196820","filename":"file5"},{"photo_id":"1401196811","filename":"file2"},{"photo_id":"1401196817","filename":"file4"},{"photo_id":"1401196808","filename":"file1"},{"photo_id":"1401196805","filename":"file0"},{"photo_id":"1401196814","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401196820":["hashtag1","hashtag2"]},{"1401196814":["hashtag1","hashtag2"]},{"1401196808":["hashtag1","hashtag2"]},{"1401196817":["hashtag1","hashtag2"]},{"1401196811":["hashtag1","hashtag2"]},{"1401196805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401196820, 1401196814, 1401196808, 1401196817, 1401196811, 1401196805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.830461502075195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:39:46.777050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_55_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_45_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_34_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_25_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_14_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/13/42/image_09122025_13_43_04_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_55_9611.jpg', '/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_45_10621.jpg', '/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_34_9611.jpg', '/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_25_10622.jpg', '/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_14_9627.jpg', '/home/nano/Desktop/images/09122025/13/42/image_09122025_13_43_04_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_55_9611.jpg
/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_45_10621.jpg
/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_34_9611.jpg
/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_25_10622.jpg
/home/nano/Desktop/images/09122025/13/43/image_09122025_13_43_14_9627.jpg
/home/nano/Desktop/images/09122025/13/42/image_09122025_13_43_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":["1401197091","1401196828","1401196827","1401196908","1401197191","1401196999"],"photo_ids_order":["1401196827","1401196828","1401196908","1401196999","1401197091","1401197191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7f3e2527d7ac4a5b2b3b22d7b20f6ca.jpg","text":"TemporaryFile(/tmp/multipartBody1674367782696571300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792447576,"filename":"image_09122025_13_43_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/12/27/70588b50a5eb55bc46a9da34b375ae58.jpg","text":"TemporaryFile(/tmp/multipartBody307057104404449821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792447576,"filename":"image_09122025_13_43_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3515f0bc2d9f53de71a250ab7427770a.jpg","text":"TemporaryFile(/tmp/multipartBody1469185848945299417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792447576,"filename":"image_09122025_13_43_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68cefa700bebb5b5b0bc42cfea76e304.jpg","text":"TemporaryFile(/tmp/multipartBody1931068905173308247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792447576,"filename":"image_09122025_13_43_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/12/27/0823a90c1996f01af3cd5a8acd6f8d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5326538538525691917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792447576,"filename":"image_09122025_13_43_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/12/27/bd4b47ebce8dd04800e64dabf9baff3b.jpg","text":"TemporaryFile(/tmp/multipartBody9040579005342864280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792447576,"filename":"image_09122025_13_43_25_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401196908","file1":"1401196828","file0":"1401196827","file4":"1401197091","file5":"1401197191","file3":"1401196999"},"map_files_photo_id_array":[{"photo_id":"1401197191","filename":"file5"},{"photo_id":"1401196908","filename":"file2"},{"photo_id":"1401197091","filename":"file4"},{"photo_id":"1401196828","filename":"file1"},{"photo_id":"1401196827","filename":"file0"},{"photo_id":"1401196999","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401197091":["hashtag1","hashtag2"]},{"1401196828":["hashtag1","hashtag2"]},{"1401196827":["hashtag1","hashtag2"]},{"1401196908":["hashtag1","hashtag2"]},{"1401197191":["hashtag1","hashtag2"]},{"1401196999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401197091, 1401196828, 1401196827, 1401196908, 1401197191, 1401196999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00976061820984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:40:31.880673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_55_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_44_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_35_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_25_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_14_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/13/41/image_09122025_13_42_05_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_55_10620.jpg', '/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_44_9608.jpg', '/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_35_9614.jpg', '/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_25_10627.jpg', '/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_14_9633.jpg', '/home/nano/Desktop/images/09122025/13/41/image_09122025_13_42_05_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_55_10620.jpg
/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_44_9608.jpg
/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_35_9614.jpg
/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_25_10627.jpg
/home/nano/Desktop/images/09122025/13/42/image_09122025_13_42_14_9633.jpg
/home/nano/Desktop/images/09122025/13/41/image_09122025_13_42_05_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":["1401197640","1401197648","1401197642","1401197621","1401197644","1401197638"],"photo_ids_order":["1401197621","1401197638","1401197640","1401197642","1401197644","1401197648"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9686e6fa6705667b56418f30b913d895.jpg","text":"TemporaryFile(/tmp/multipartBody2967074706496178911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792492670,"filename":"image_09122025_13_42_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e03a468f6b02e8219f9b8748c333a24c.jpg","text":"TemporaryFile(/tmp/multipartBody5393849348876759156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792492670,"filename":"image_09122025_13_42_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a2429ddbeacdca24552650fee2c1b1a.jpg","text":"TemporaryFile(/tmp/multipartBody3003671719097440153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792492670,"filename":"image_09122025_13_42_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fcd2a68df586c6d583b397b704ff5f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3878542318372200819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792492670,"filename":"image_09122025_13_42_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c481a086ce132cab8a22ab2fd8ab1bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7403820016239810316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792492670,"filename":"image_09122025_13_42_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/12/27/65095218cb739c1d84688766a3946028.jpg","text":"TemporaryFile(/tmp/multipartBody6966725048343544472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792492670,"filename":"image_09122025_13_42_44_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401197640","file1":"1401197638","file0":"1401197621","file4":"1401197644","file5":"1401197648","file3":"1401197642"},"map_files_photo_id_array":[{"photo_id":"1401197648","filename":"file5"},{"photo_id":"1401197640","filename":"file2"},{"photo_id":"1401197644","filename":"file4"},{"photo_id":"1401197638","filename":"file1"},{"photo_id":"1401197621","filename":"file0"},{"photo_id":"1401197642","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401197640":["hashtag1","hashtag2"]},{"1401197648":["hashtag1","hashtag2"]},{"1401197642":["hashtag1","hashtag2"]},{"1401197621":["hashtag1","hashtag2"]},{"1401197644":["hashtag1","hashtag2"]},{"1401197638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401197640, 1401197648, 1401197642, 1401197621, 1401197644, 1401197638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86651563644409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:41:16.979240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_54_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_45_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_35_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_24_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_15_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/13/40/image_09122025_13_41_05_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_54_9605.jpg', '/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_45_9638.jpg', '/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_35_10624.jpg', '/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_24_9624.jpg', '/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_15_9618.jpg', '/home/nano/Desktop/images/09122025/13/40/image_09122025_13_41_05_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_54_9605.jpg
/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_45_9638.jpg
/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_35_10624.jpg
/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_24_9624.jpg
/home/nano/Desktop/images/09122025/13/41/image_09122025_13_41_15_9618.jpg
/home/nano/Desktop/images/09122025/13/40/image_09122025_13_41_05_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":["1401197898","1401197888","1401197837","1401197896","1401197834","1401197863"],"photo_ids_order":["1401197834","1401197837","1401197863","1401197888","1401197896","1401197898"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cad9801590a53b8cc70e479446c642d.jpg","text":"TemporaryFile(/tmp/multipartBody6377123849695844669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792537813,"filename":"image_09122025_13_41_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a89a32acebc52456fc4a065e06f4530.jpg","text":"TemporaryFile(/tmp/multipartBody597051951009413188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792537813,"filename":"image_09122025_13_41_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/12/27/ba575dbc4449d46bfc2f15b819299a74.jpg","text":"TemporaryFile(/tmp/multipartBody5050222619112370402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792537813,"filename":"image_09122025_13_41_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d44d42e5877faa3661302088b249c125.jpg","text":"TemporaryFile(/tmp/multipartBody2532245677134543953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792537813,"filename":"image_09122025_13_41_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5e28ccad93f9b517e9941bf2421ec57.jpg","text":"TemporaryFile(/tmp/multipartBody7844202147916980246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792537813,"filename":"image_09122025_13_41_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/12/27/6a6b6491e47debf70e4faabdda798b7a.jpg","text":"TemporaryFile(/tmp/multipartBody2925588670754690467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792537813,"filename":"image_09122025_13_41_35_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401197863","file1":"1401197837","file0":"1401197834","file4":"1401197896","file5":"1401197898","file3":"1401197888"},"map_files_photo_id_array":[{"photo_id":"1401197898","filename":"file5"},{"photo_id":"1401197863","filename":"file2"},{"photo_id":"1401197896","filename":"file4"},{"photo_id":"1401197837","filename":"file1"},{"photo_id":"1401197834","filename":"file0"},{"photo_id":"1401197888","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401197898":["hashtag1","hashtag2"]},{"1401197888":["hashtag1","hashtag2"]},{"1401197837":["hashtag1","hashtag2"]},{"1401197896":["hashtag1","hashtag2"]},{"1401197834":["hashtag1","hashtag2"]},{"1401197863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401197898, 1401197888, 1401197837, 1401197896, 1401197834, 1401197863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.718289613723755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:42:02.330311
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_54_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_45_9705.jpg', 2), ('/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_35_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_24_9677.jpg', 2), ('/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_15_9710.jpg', 2), ('/home/nano/Desktop/images/09122025/13/39/image_09122025_13_40_05_10806.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_54_9636.jpg', '/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_45_9705.jpg', '/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_35_10665.jpg', '/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_24_9677.jpg', '/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_15_9710.jpg', '/home/nano/Desktop/images/09122025/13/39/image_09122025_13_40_05_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_54_9636.jpg
/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_45_9705.jpg
/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_35_10665.jpg
/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_24_9677.jpg
/home/nano/Desktop/images/09122025/13/40/image_09122025_13_40_15_9710.jpg
/home/nano/Desktop/images/09122025/13/39/image_09122025_13_40_05_10806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401197917","1401197907","1401197916","1401197910","1401197904","1401197914"],"photo_ids_order":["1401197904","1401197907","1401197910","1401197914","1401197916","1401197917"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1c41551d861402d6c35965bb10b8262.jpg","text":"TemporaryFile(/tmp/multipartBody6740623738257212999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792583367,"filename":"image_09122025_13_40_05_10806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18c0787614cdae299bad4844a863fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody1239122404728096055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792583367,"filename":"image_09122025_13_40_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/323451bc37b3729717001f45f2225170.jpg","text":"TemporaryFile(/tmp/multipartBody7894343682837733170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792583367,"filename":"image_09122025_13_40_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de0b9ceb41bfaeeeca02f85302dd7ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8586139011391192288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792583367,"filename":"image_09122025_13_40_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a95ffd1b144c6c186f2083a41815f0a.jpg","text":"TemporaryFile(/tmp/multipartBody4611954416458065237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792583367,"filename":"image_09122025_13_40_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/12/27/6b2115a0ccb368bb10d18397fb7e0a77.jpg","text":"TemporaryFile(/tmp/multipartBody559324747428885040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792583367,"filename":"image_09122025_13_40_24_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401197910","file1":"1401197907","file0":"1401197904","file4":"1401197916","file5":"1401197917","file3":"1401197914"},"map_files_photo_id_array":[{"photo_id":"1401197917","filename":"file5"},{"photo_id":"1401197910","filename":"file2"},{"photo_id":"1401197916","filename":"file4"},{"photo_id":"1401197907","filename":"file1"},{"photo_id":"1401197904","filename":"file0"},{"photo_id":"1401197914","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401197917":["hashtag1","hashtag2"]},{"1401197907":["hashtag1","hashtag2"]},{"1401197916":["hashtag1","hashtag2"]},{"1401197910":["hashtag1","hashtag2"]},{"1401197904":["hashtag1","hashtag2"]},{"1401197914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401197917, 1401197907, 1401197916, 1401197910, 1401197904, 1401197914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.283560276031494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:42:47.066574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_54_9775.jpg', 2), ('/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_44_9779.jpg', 2), ('/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_35_9775.jpg', 2), ('/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_25_10676.jpg', 2), ('/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_14_9824.jpg', 2), ('/home/nano/Desktop/images/09122025/13/38/image_09122025_13_39_04_9723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_54_9775.jpg', '/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_44_9779.jpg', '/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_35_9775.jpg', '/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_25_10676.jpg', '/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_14_9824.jpg', '/home/nano/Desktop/images/09122025/13/38/image_09122025_13_39_04_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_54_9775.jpg
/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_44_9779.jpg
/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_35_9775.jpg
/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_25_10676.jpg
/home/nano/Desktop/images/09122025/13/39/image_09122025_13_39_14_9824.jpg
/home/nano/Desktop/images/09122025/13/38/image_09122025_13_39_04_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401198227","1401198149","1401198113","1401198190","1401198070","1401198034"],"photo_ids_order":["1401198034","1401198070","1401198113","1401198149","1401198190","1401198227"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c40939252dc129abdee4c4cad231a17f.jpg","text":"TemporaryFile(/tmp/multipartBody6819261751055518962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792628082,"filename":"image_09122025_13_39_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/12/27/a930cbc276584cf3882edde73cc70d70.jpg","text":"TemporaryFile(/tmp/multipartBody6159648783828188656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792628082,"filename":"image_09122025_13_39_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea172990f513e129367cebcdbdca2f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6328994413043077141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792628082,"filename":"image_09122025_13_39_35_9775.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a75a3bdaf1c5aa3df44dc36cccd33ed.jpg","text":"TemporaryFile(/tmp/multipartBody4277508039879682123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792628082,"filename":"image_09122025_13_39_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d01f494f6ad5d142a4c71260b3ec3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3024698956452622165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792628082,"filename":"image_09122025_13_39_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31377f502fe1e53bc708e702ccff5585.jpg","text":"TemporaryFile(/tmp/multipartBody3037455558936895571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792628082,"filename":"image_09122025_13_39_54_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401198113","file1":"1401198070","file0":"1401198034","file4":"1401198190","file5":"1401198227","file3":"1401198149"},"map_files_photo_id_array":[{"photo_id":"1401198227","filename":"file5"},{"photo_id":"1401198113","filename":"file2"},{"photo_id":"1401198190","filename":"file4"},{"photo_id":"1401198070","filename":"file1"},{"photo_id":"1401198034","filename":"file0"},{"photo_id":"1401198149","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401198227":["hashtag1","hashtag2"]},{"1401198149":["hashtag1","hashtag2"]},{"1401198113":["hashtag1","hashtag2"]},{"1401198190":["hashtag1","hashtag2"]},{"1401198070":["hashtag1","hashtag2"]},{"1401198034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401198227, 1401198149, 1401198113, 1401198190, 1401198070, 1401198034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6172411441803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:43:32.228968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_55_9819.jpg', 2), ('/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_45_9923.jpg', 2), ('/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_35_9914.jpg', 2), ('/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_25_9950.jpg', 2), ('/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_15_10873.jpg', 2), ('/home/nano/Desktop/images/09122025/13/37/image_09122025_13_38_04_9938.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_55_9819.jpg', '/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_45_9923.jpg', '/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_35_9914.jpg', '/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_25_9950.jpg', '/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_15_10873.jpg', '/home/nano/Desktop/images/09122025/13/37/image_09122025_13_38_04_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_55_9819.jpg
/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_45_9923.jpg
/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_35_9914.jpg
/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_25_9950.jpg
/home/nano/Desktop/images/09122025/13/38/image_09122025_13_38_15_10873.jpg
/home/nano/Desktop/images/09122025/13/37/image_09122025_13_38_04_9938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401198438","1401198510","1401198404","1401198475","1401198544","1401198576"],"photo_ids_order":["1401198404","1401198438","1401198475","1401198510","1401198544","1401198576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01f965918be217ab939bd23f5f3852a2.jpg","text":"TemporaryFile(/tmp/multipartBody6621367125975897324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792673160,"filename":"image_09122025_13_38_45_9923.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71cb2844237f03a8124c8c7a13cbbd57.jpg","text":"TemporaryFile(/tmp/multipartBody2830017069460991966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792673160,"filename":"image_09122025_13_38_25_9950.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5bff15018238485a6f86901e23363b10.jpg","text":"TemporaryFile(/tmp/multipartBody6488501428995094487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792673160,"filename":"image_09122025_13_38_55_9819.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a89a2ac04321a2c3dbfa616a919035db.jpg","text":"TemporaryFile(/tmp/multipartBody6152699522892512756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792673160,"filename":"image_09122025_13_38_35_9914.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73deafc08efe239a503f13d258c21ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4922456476624304024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792673160,"filename":"image_09122025_13_38_15_10873.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f968a65c074b6693df0de8239e3de4d7.jpg","text":"TemporaryFile(/tmp/multipartBody123455094993187107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792673160,"filename":"image_09122025_13_38_04_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401198475","file1":"1401198438","file0":"1401198404","file4":"1401198544","file5":"1401198576","file3":"1401198510"},"map_files_photo_id_array":[{"photo_id":"1401198576","filename":"file5"},{"photo_id":"1401198475","filename":"file2"},{"photo_id":"1401198544","filename":"file4"},{"photo_id":"1401198438","filename":"file1"},{"photo_id":"1401198404","filename":"file0"},{"photo_id":"1401198510","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401198438":["hashtag1","hashtag2"]},{"1401198510":["hashtag1","hashtag2"]},{"1401198404":["hashtag1","hashtag2"]},{"1401198475":["hashtag1","hashtag2"]},{"1401198544":["hashtag1","hashtag2"]},{"1401198576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401198438, 1401198510, 1401198404, 1401198475, 1401198544, 1401198576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37713074684143 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:44:17.258320
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_54_9921.jpg', 2), ('/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_44_9917.jpg', 2), ('/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_34_9930.jpg', 2), ('/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_24_9898.jpg', 2), ('/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_15_9922.jpg', 2), ('/home/nano/Desktop/images/09122025/13/36/image_09122025_13_37_05_9905.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_54_9921.jpg', '/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_44_9917.jpg', '/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_34_9930.jpg', '/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_24_9898.jpg', '/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_15_9922.jpg', '/home/nano/Desktop/images/09122025/13/36/image_09122025_13_37_05_9905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_54_9921.jpg
/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_44_9917.jpg
/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_34_9930.jpg
/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_24_9898.jpg
/home/nano/Desktop/images/09122025/13/37/image_09122025_13_37_15_9922.jpg
/home/nano/Desktop/images/09122025/13/36/image_09122025_13_37_05_9905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401198690","1401198678","1401198740","1401198704","1401198685","1401198681"],"photo_ids_order":["1401198678","1401198681","1401198685","1401198690","1401198704","1401198740"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a55a910970bcf31555b6baa5bccfd0b1.jpg","text":"TemporaryFile(/tmp/multipartBody6482967382953811111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792719558,"filename":"image_09122025_13_37_24_9898.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3eddc192234b988e1f92bbc1a67c659.jpg","text":"TemporaryFile(/tmp/multipartBody5424709760815360096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792719558,"filename":"image_09122025_13_37_54_9921.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/782a82f2c8c8b25bd3da7c2ee8e7d011.jpg","text":"TemporaryFile(/tmp/multipartBody1360045893179406930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792719558,"filename":"image_09122025_13_37_05_9905.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/842c83d92d6f7193dfae1d58c81c32fc.jpg","text":"TemporaryFile(/tmp/multipartBody3719584543120713951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792719558,"filename":"image_09122025_13_37_15_9922.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7527bcd5cde0a8242135cae97b7f1449.jpg","text":"TemporaryFile(/tmp/multipartBody1115090652579926254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792719558,"filename":"image_09122025_13_37_34_9930.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31e1e184946a24db74349159490f0d04.jpg","text":"TemporaryFile(/tmp/multipartBody796394308787490773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792719558,"filename":"image_09122025_13_37_44_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401198685","file1":"1401198681","file0":"1401198678","file4":"1401198704","file5":"1401198740","file3":"1401198690"},"map_files_photo_id_array":[{"photo_id":"1401198740","filename":"file5"},{"photo_id":"1401198685","filename":"file2"},{"photo_id":"1401198704","filename":"file4"},{"photo_id":"1401198681","filename":"file1"},{"photo_id":"1401198678","filename":"file0"},{"photo_id":"1401198690","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401198690":["hashtag1","hashtag2"]},{"1401198678":["hashtag1","hashtag2"]},{"1401198740":["hashtag1","hashtag2"]},{"1401198704":["hashtag1","hashtag2"]},{"1401198685":["hashtag1","hashtag2"]},{"1401198681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401198690, 1401198678, 1401198740, 1401198704, 1401198685, 1401198681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71057868003845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:45:02.881262
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_55_9916.jpg', 2), ('/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_45_9794.jpg', 2), ('/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_35_10708.jpg', 2), ('/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_24_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_15_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/35/image_09122025_13_36_05_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_55_9916.jpg', '/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_45_9794.jpg', '/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_35_10708.jpg', '/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_24_9619.jpg', '/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_15_9613.jpg', '/home/nano/Desktop/images/09122025/13/35/image_09122025_13_36_05_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_55_9916.jpg
/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_45_9794.jpg
/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_35_10708.jpg
/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_24_9619.jpg
/home/nano/Desktop/images/09122025/13/36/image_09122025_13_36_15_9613.jpg
/home/nano/Desktop/images/09122025/13/35/image_09122025_13_36_05_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":["1401198882","1401198930","1401198935","1401198907","1401198937","1401198888"],"photo_ids_order":["1401198882","1401198888","1401198907","1401198930","1401198935","1401198937"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec6a7199f351d86adef74c5b90a5f144.jpg","text":"TemporaryFile(/tmp/multipartBody7894125861814548117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792764074,"filename":"image_09122025_13_36_55_9916.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfcc9ba0afbce756cc19aedc50859a8d.jpg","text":"TemporaryFile(/tmp/multipartBody5652647460475396655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792764074,"filename":"image_09122025_13_36_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/12/27/548861f8b1ea7ac80d9390ad40383b71.jpg","text":"TemporaryFile(/tmp/multipartBody873169958141957876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792764074,"filename":"image_09122025_13_36_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e15768c00ba1453e5c84b5fcbef9e3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1969797076588816657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792764074,"filename":"image_09122025_13_36_35_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3fbdd07d1d6f4b182cf14e4843b7a3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1947863909413275970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792764074,"filename":"image_09122025_13_36_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0739499173e359a5586cba81f05fe2cb.jpg","text":"TemporaryFile(/tmp/multipartBody7982170711241187221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792764074,"filename":"image_09122025_13_36_45_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401198907","file1":"1401198888","file0":"1401198882","file4":"1401198935","file5":"1401198937","file3":"1401198930"},"map_files_photo_id_array":[{"photo_id":"1401198937","filename":"file5"},{"photo_id":"1401198907","filename":"file2"},{"photo_id":"1401198935","filename":"file4"},{"photo_id":"1401198888","filename":"file1"},{"photo_id":"1401198882","filename":"file0"},{"photo_id":"1401198930","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401198882":["hashtag1","hashtag2"]},{"1401198930":["hashtag1","hashtag2"]},{"1401198935":["hashtag1","hashtag2"]},{"1401198907":["hashtag1","hashtag2"]},{"1401198937":["hashtag1","hashtag2"]},{"1401198888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401198882, 1401198930, 1401198935, 1401198907, 1401198937, 1401198888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75008726119995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:45:47.379997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_34_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_25_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_15_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_35_04_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_55_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_34_9592.jpg', '/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_25_9594.jpg', '/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_15_10616.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_35_04_9616.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_55_10624.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_44_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_34_9592.jpg
/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_25_9594.jpg
/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_15_10616.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_35_04_9616.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_55_10624.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_44_9636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6761679649353027 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:46:02.876436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_34_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_25_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_15_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_35_04_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_55_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_34_9592.jpg', '/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_25_9594.jpg', '/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_15_10616.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_35_04_9616.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_55_10624.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_44_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_34_9592.jpg
/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_25_9594.jpg
/home/nano/Desktop/images/09122025/13/35/image_09122025_13_35_15_10616.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_35_04_9616.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_55_10624.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_44_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":["1401198965","1401198959","1401198950","1401198953","1401198962","1401198956"],"photo_ids_order":["1401198950","1401198953","1401198956","1401198959","1401198962","1401198965"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86996fa76e5567aa2e503d2baeeb605c.jpg","text":"TemporaryFile(/tmp/multipartBody6636836600506850494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792823764,"filename":"image_09122025_13_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/12/27/833e5a511bb4cc1940e67628a8b85f56.jpg","text":"TemporaryFile(/tmp/multipartBody1067654760457790428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792823764,"filename":"image_09122025_13_35_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/12/27/74495d6a2bbfd020274355524323215f.jpg","text":"TemporaryFile(/tmp/multipartBody539845715797373087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792823764,"filename":"image_09122025_13_35_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7ea86bd405a89860277feb07c80dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody5716650041211629269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792823764,"filename":"image_09122025_13_35_25_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9eaf506c0408f12911353fd6cbc0cc0.jpg","text":"TemporaryFile(/tmp/multipartBody1110907622218255070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792823764,"filename":"image_09122025_13_34_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a83b16dcb2127de570393ab9e35112b.jpg","text":"TemporaryFile(/tmp/multipartBody373496583686188492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792823764,"filename":"image_09122025_13_35_15_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401198956","file1":"1401198953","file0":"1401198950","file4":"1401198962","file5":"1401198965","file3":"1401198959"},"map_files_photo_id_array":[{"photo_id":"1401198965","filename":"file5"},{"photo_id":"1401198956","filename":"file2"},{"photo_id":"1401198962","filename":"file4"},{"photo_id":"1401198953","filename":"file1"},{"photo_id":"1401198950","filename":"file0"},{"photo_id":"1401198959","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401198965":["hashtag1","hashtag2"]},{"1401198959":["hashtag1","hashtag2"]},{"1401198950":["hashtag1","hashtag2"]},{"1401198953":["hashtag1","hashtag2"]},{"1401198962":["hashtag1","hashtag2"]},{"1401198956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401198965, 1401198959, 1401198950, 1401198953, 1401198962, 1401198956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34561467170715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:46:47.487191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_35_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_25_10628.jpg', 2), ('/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_14_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/13/33/image_09122025_13_34_05_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_55_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_44_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_35_9639.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_25_10628.jpg', '/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_14_9636.jpg', '/home/nano/Desktop/images/09122025/13/33/image_09122025_13_34_05_9631.jpg', '/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_55_10632.jpg', '/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_44_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_35_9639.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_25_10628.jpg
/home/nano/Desktop/images/09122025/13/34/image_09122025_13_34_14_9636.jpg
/home/nano/Desktop/images/09122025/13/33/image_09122025_13_34_05_9631.jpg
/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_55_10632.jpg
/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_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":["1401198974","1401198976","1401198970","1401198973","1401198993","1401198972"],"photo_ids_order":["1401198970","1401198972","1401198973","1401198974","1401198976","1401198993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbf4bb7a672ba726c811221631d3a132.jpg","text":"TemporaryFile(/tmp/multipartBody8571293200415667223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792868305,"filename":"image_09122025_13_34_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ab05248979b32d6e19568a4baaa3ed9.jpg","text":"TemporaryFile(/tmp/multipartBody8964582350727626135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792868305,"filename":"image_09122025_13_33_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/135f902a33e596c4fe670d9ea3b0c9ee.jpg","text":"TemporaryFile(/tmp/multipartBody5528950130062714097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792868305,"filename":"image_09122025_13_34_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3880e3cfa6ddc7b0f700f7fa510691e7.jpg","text":"TemporaryFile(/tmp/multipartBody5326340649957386566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792868305,"filename":"image_09122025_13_34_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/12/27/4e0a3f3e7da17aad87c8fb8e9777b440.jpg","text":"TemporaryFile(/tmp/multipartBody3539363379098639515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792868305,"filename":"image_09122025_13_33_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/12/27/43b165bbb3dbb9f12e999154ae0cf929.jpg","text":"TemporaryFile(/tmp/multipartBody2634173199593540728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792868305,"filename":"image_09122025_13_34_25_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401198973","file1":"1401198972","file0":"1401198970","file4":"1401198976","file5":"1401198993","file3":"1401198974"},"map_files_photo_id_array":[{"photo_id":"1401198993","filename":"file5"},{"photo_id":"1401198973","filename":"file2"},{"photo_id":"1401198976","filename":"file4"},{"photo_id":"1401198972","filename":"file1"},{"photo_id":"1401198970","filename":"file0"},{"photo_id":"1401198974","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401198974":["hashtag1","hashtag2"]},{"1401198976":["hashtag1","hashtag2"]},{"1401198970":["hashtag1","hashtag2"]},{"1401198973":["hashtag1","hashtag2"]},{"1401198993":["hashtag1","hashtag2"]},{"1401198972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401198974, 1401198976, 1401198970, 1401198973, 1401198993, 1401198972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.190568923950195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:47:32.567549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_35_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_14_9721.jpg', 2), ('/home/nano/Desktop/images/09122025/13/32/image_09122025_13_33_05_9728.jpg', 2), ('/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_55_10709.jpg', 2), ('/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_44_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_35_10646.jpg', '/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_24_9630.jpg', '/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_14_9721.jpg', '/home/nano/Desktop/images/09122025/13/32/image_09122025_13_33_05_9728.jpg', '/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_55_10709.jpg', '/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_44_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_35_10646.jpg
/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_24_9630.jpg
/home/nano/Desktop/images/09122025/13/33/image_09122025_13_33_14_9721.jpg
/home/nano/Desktop/images/09122025/13/32/image_09122025_13_33_05_9728.jpg
/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_55_10709.jpg
/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_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":["1401199017","1401199020","1401199014","1401199016","1401199019","1401199012"],"photo_ids_order":["1401199012","1401199014","1401199016","1401199017","1401199019","1401199020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea314253727cbbb322186ac53426dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody9089036885809715272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792913381,"filename":"image_09122025_13_33_05_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15bf3958a56dc1bd6dacf03bd80b79b7.jpg","text":"TemporaryFile(/tmp/multipartBody3584967578584663395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792913381,"filename":"image_09122025_13_32_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/12/27/91f7f2cbff74cff321a7f170f4c4d316.jpg","text":"TemporaryFile(/tmp/multipartBody2556485667785710897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792913381,"filename":"image_09122025_13_33_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/12/27/5a40aaca3dde29ca6469c94346e2a58d.jpg","text":"TemporaryFile(/tmp/multipartBody6597130848373440380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792913381,"filename":"image_09122025_13_33_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/12/27/923b08f9f099d5fc0d7ecfcc4b4b3102.jpg","text":"TemporaryFile(/tmp/multipartBody3515604808406172695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792913381,"filename":"image_09122025_13_32_55_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1da09d83868dca3af46b4371e2553f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7062302107763617826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792913381,"filename":"image_09122025_13_33_35_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401199016","file1":"1401199014","file0":"1401199012","file4":"1401199019","file5":"1401199020","file3":"1401199017"},"map_files_photo_id_array":[{"photo_id":"1401199020","filename":"file5"},{"photo_id":"1401199016","filename":"file2"},{"photo_id":"1401199019","filename":"file4"},{"photo_id":"1401199014","filename":"file1"},{"photo_id":"1401199012","filename":"file0"},{"photo_id":"1401199017","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401199017":["hashtag1","hashtag2"]},{"1401199020":["hashtag1","hashtag2"]},{"1401199014":["hashtag1","hashtag2"]},{"1401199016":["hashtag1","hashtag2"]},{"1401199019":["hashtag1","hashtag2"]},{"1401199012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401199017, 1401199020, 1401199014, 1401199016, 1401199019, 1401199012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.101320028305054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:48:17.646054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_35_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_25_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_14_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/13/31/image_09122025_13_32_05_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_54_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_45_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_35_9621.jpg', '/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_25_10625.jpg', '/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_14_9618.jpg', '/home/nano/Desktop/images/09122025/13/31/image_09122025_13_32_05_10614.jpg', '/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_54_9601.jpg', '/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_45_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_35_9621.jpg
/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_25_10625.jpg
/home/nano/Desktop/images/09122025/13/32/image_09122025_13_32_14_9618.jpg
/home/nano/Desktop/images/09122025/13/31/image_09122025_13_32_05_10614.jpg
/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_54_9601.jpg
/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_45_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":["1401199137","1401199031","1401199040","1401199028","1401199033","1401199233"],"photo_ids_order":["1401199028","1401199031","1401199033","1401199040","1401199137","1401199233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0f2b386bdbbaf1178e01127a2e4a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4586209156683814969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792958459,"filename":"image_09122025_13_31_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/12/27/42d7e9215dccd4c651cf6aed1d66eb5e.jpg","text":"TemporaryFile(/tmp/multipartBody7683633882810925784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792958459,"filename":"image_09122025_13_32_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a9e9b5ed65d32344b287ff39751db31.jpg","text":"TemporaryFile(/tmp/multipartBody7234054632333097718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792958459,"filename":"image_09122025_13_32_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4635a675e419c13e7384af0e855e475a.jpg","text":"TemporaryFile(/tmp/multipartBody6763854353023688207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792958459,"filename":"image_09122025_13_32_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9d442099e90fd0ac1a59d7945320d93.jpg","text":"TemporaryFile(/tmp/multipartBody4335981221712531260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792958459,"filename":"image_09122025_13_32_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/12/27/67c94f23bae1824265aa04c7d3bd3d79.jpg","text":"TemporaryFile(/tmp/multipartBody8246204248195885269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766792958459,"filename":"image_09122025_13_31_45_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401199033","file1":"1401199031","file0":"1401199028","file4":"1401199137","file5":"1401199233","file3":"1401199040"},"map_files_photo_id_array":[{"photo_id":"1401199233","filename":"file5"},{"photo_id":"1401199033","filename":"file2"},{"photo_id":"1401199137","filename":"file4"},{"photo_id":"1401199031","filename":"file1"},{"photo_id":"1401199028","filename":"file0"},{"photo_id":"1401199040","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401199137":["hashtag1","hashtag2"]},{"1401199031":["hashtag1","hashtag2"]},{"1401199040":["hashtag1","hashtag2"]},{"1401199028":["hashtag1","hashtag2"]},{"1401199033":["hashtag1","hashtag2"]},{"1401199233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401199137, 1401199031, 1401199040, 1401199028, 1401199033, 1401199233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07672572135925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:49:03.526410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_35_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_24_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_15_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/13/30/image_09122025_13_31_05_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_45_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_35_10631.jpg', '/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_24_9620.jpg', '/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_15_9636.jpg', '/home/nano/Desktop/images/09122025/13/30/image_09122025_13_31_05_10634.jpg', '/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_54_9632.jpg', '/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_45_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_35_10631.jpg
/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_24_9620.jpg
/home/nano/Desktop/images/09122025/13/31/image_09122025_13_31_15_9636.jpg
/home/nano/Desktop/images/09122025/13/30/image_09122025_13_31_05_10634.jpg
/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_54_9632.jpg
/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_45_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":["1401199880","1401200086","1401200074","1401199981","1401200064","1401200067"],"photo_ids_order":["1401199880","1401199981","1401200064","1401200067","1401200074","1401200086"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d46d416989b010abd745244654e9479.jpg","text":"TemporaryFile(/tmp/multipartBody7055522336770643668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793004413,"filename":"image_09122025_13_31_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eedaed34366aecc2965d16416b12c02a.jpg","text":"TemporaryFile(/tmp/multipartBody2259431899825903514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793004413,"filename":"image_09122025_13_30_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29766dc2a9bb069030ef25105c3d7bd1.jpg","text":"TemporaryFile(/tmp/multipartBody9148483906984216151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793004413,"filename":"image_09122025_13_30_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/12/27/9dbb279bbc84fa4dd5ec24602f4b519c.jpg","text":"TemporaryFile(/tmp/multipartBody8835652389113336696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793004413,"filename":"image_09122025_13_31_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/12/27/77c34eec63eeae333ea462667cc8d6c2.jpg","text":"TemporaryFile(/tmp/multipartBody2300967274227110262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793004413,"filename":"image_09122025_13_31_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58b3c7e34b2c73fc8aad9000baca92a7.jpg","text":"TemporaryFile(/tmp/multipartBody4782927820727994079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793004413,"filename":"image_09122025_13_31_05_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200064","file1":"1401199981","file0":"1401199880","file4":"1401200074","file5":"1401200086","file3":"1401200067"},"map_files_photo_id_array":[{"photo_id":"1401200086","filename":"file5"},{"photo_id":"1401200064","filename":"file2"},{"photo_id":"1401200074","filename":"file4"},{"photo_id":"1401199981","filename":"file1"},{"photo_id":"1401199880","filename":"file0"},{"photo_id":"1401200067","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401199880":["hashtag1","hashtag2"]},{"1401200086":["hashtag1","hashtag2"]},{"1401200074":["hashtag1","hashtag2"]},{"1401199981":["hashtag1","hashtag2"]},{"1401200064":["hashtag1","hashtag2"]},{"1401200067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401199880, 1401200086, 1401200074, 1401199981, 1401200064, 1401200067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.963624715805054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:49:47.747017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_34_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_25_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_15_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/13/29/image_09122025_13_30_04_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_55_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_45_10598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_34_9611.jpg', '/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_25_9615.jpg', '/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_15_10646.jpg', '/home/nano/Desktop/images/09122025/13/29/image_09122025_13_30_04_9650.jpg', '/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_55_9601.jpg', '/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_45_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_34_9611.jpg
/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_25_9615.jpg
/home/nano/Desktop/images/09122025/13/30/image_09122025_13_30_15_10646.jpg
/home/nano/Desktop/images/09122025/13/29/image_09122025_13_30_04_9650.jpg
/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_55_9601.jpg
/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_45_10598.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":["1401200447","1401200108","1401200407","1401200403","1401200366","1401200189"],"photo_ids_order":["1401200108","1401200189","1401200366","1401200403","1401200407","1401200447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb47c3718aa6946cd6b80da7aaf5d502.jpg","text":"TemporaryFile(/tmp/multipartBody3445680632099539127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793048538,"filename":"image_09122025_13_29_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/251c532b6d5707a32c5ad6e49fe34ab1.jpg","text":"TemporaryFile(/tmp/multipartBody7149775655647082219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793048538,"filename":"image_09122025_13_30_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/12/27/7dd70efe1a1a1b219a85b784c669971d.jpg","text":"TemporaryFile(/tmp/multipartBody7552113254055179502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793048538,"filename":"image_09122025_13_29_55_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b266050ecdb4dd4d5f0a51fd95ef267.jpg","text":"TemporaryFile(/tmp/multipartBody4124821398115879810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793048538,"filename":"image_09122025_13_30_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/12/27/4fe0d84e529889d6debd96cb5e7d57a1.jpg","text":"TemporaryFile(/tmp/multipartBody3935872240497928088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793048538,"filename":"image_09122025_13_30_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55e7dcbe982ef663cce5df386b1bc774.jpg","text":"TemporaryFile(/tmp/multipartBody7366105531635131717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793048538,"filename":"image_09122025_13_30_25_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200366","file1":"1401200189","file0":"1401200108","file4":"1401200407","file5":"1401200447","file3":"1401200403"},"map_files_photo_id_array":[{"photo_id":"1401200447","filename":"file5"},{"photo_id":"1401200366","filename":"file2"},{"photo_id":"1401200407","filename":"file4"},{"photo_id":"1401200189","filename":"file1"},{"photo_id":"1401200108","filename":"file0"},{"photo_id":"1401200403","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200447":["hashtag1","hashtag2"]},{"1401200108":["hashtag1","hashtag2"]},{"1401200407":["hashtag1","hashtag2"]},{"1401200403":["hashtag1","hashtag2"]},{"1401200366":["hashtag1","hashtag2"]},{"1401200189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200447, 1401200108, 1401200407, 1401200403, 1401200366, 1401200189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.73650503158569 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:50:46.842703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_34_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/28/image_09122025_13_29_05_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_55_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_44_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_24_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_34_9588.jpg', '/home/nano/Desktop/images/09122025/13/28/image_09122025_13_29_05_9596.jpg', '/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_55_10597.jpg', '/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_44_9603.jpg', '/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_35_10596.jpg', '/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_24_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/29/image_09122025_13_29_34_9588.jpg
/home/nano/Desktop/images/09122025/13/28/image_09122025_13_29_05_9596.jpg
/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_55_10597.jpg
/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_44_9603.jpg
/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_35_10596.jpg
/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_24_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":["1401200485","1401200479","1401200494","1401200481","1401200478","1401200480"],"photo_ids_order":["1401200478","1401200479","1401200480","1401200481","1401200485","1401200494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b61fdfc994e7a5e623bba2dcb517d08d.jpg","text":"TemporaryFile(/tmp/multipartBody8121169281486112445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793107624,"filename":"image_09122025_13_28_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f106eef8fa8b5160e71182fb2301dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6660963232452539316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793107624,"filename":"image_09122025_13_29_05_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9052096271c4abbe4ec5babf4eacc79b.jpg","text":"TemporaryFile(/tmp/multipartBody4669008740257851488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793107624,"filename":"image_09122025_13_28_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/12/27/1b138a8ab627879e8a7405f86c5509e8.jpg","text":"TemporaryFile(/tmp/multipartBody2850012106170859057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793107624,"filename":"image_09122025_13_28_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/12/27/288adff0723d4716b9ea8dcdcadf5431.jpg","text":"TemporaryFile(/tmp/multipartBody3947409792730623104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793107624,"filename":"image_09122025_13_29_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/12/27/fb6dbed0c4c96b5c05721094a6c08322.jpg","text":"TemporaryFile(/tmp/multipartBody1474515458827127842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793107624,"filename":"image_09122025_13_28_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200480","file1":"1401200479","file0":"1401200478","file4":"1401200485","file5":"1401200494","file3":"1401200481"},"map_files_photo_id_array":[{"photo_id":"1401200494","filename":"file5"},{"photo_id":"1401200480","filename":"file2"},{"photo_id":"1401200485","filename":"file4"},{"photo_id":"1401200479","filename":"file1"},{"photo_id":"1401200478","filename":"file0"},{"photo_id":"1401200481","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200485":["hashtag1","hashtag2"]},{"1401200479":["hashtag1","hashtag2"]},{"1401200494":["hashtag1","hashtag2"]},{"1401200481":["hashtag1","hashtag2"]},{"1401200478":["hashtag1","hashtag2"]},{"1401200480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200485, 1401200479, 1401200494, 1401200481, 1401200478, 1401200480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.270514249801636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:51:31.941921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/13/27/image_09122025_13_28_05_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_54_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_45_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_34_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_25_9582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_15_9600.jpg', '/home/nano/Desktop/images/09122025/13/27/image_09122025_13_28_05_10613.jpg', '/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_54_9585.jpg', '/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_45_10592.jpg', '/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_34_9590.jpg', '/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_25_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/28/image_09122025_13_28_15_9600.jpg
/home/nano/Desktop/images/09122025/13/27/image_09122025_13_28_05_10613.jpg
/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_54_9585.jpg
/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_45_10592.jpg
/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_34_9590.jpg
/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_25_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200513","1401200507","1401200506","1401200509","1401200514","1401200511"],"photo_ids_order":["1401200506","1401200507","1401200509","1401200511","1401200513","1401200514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd6b8b9b03fcfc819f2e14dfaa30ef64.jpg","text":"TemporaryFile(/tmp/multipartBody4209036400692729609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793152730,"filename":"image_09122025_13_27_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/12/27/2988e5102c810c7b77a281ce289a613b.jpg","text":"TemporaryFile(/tmp/multipartBody3614613804967860157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793152730,"filename":"image_09122025_13_28_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b89ff75f2f1017495e2940d8930a231.jpg","text":"TemporaryFile(/tmp/multipartBody2516790774778385243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793152730,"filename":"image_09122025_13_28_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95b691cb28040621fbdbac4e255c304f.jpg","text":"TemporaryFile(/tmp/multipartBody4653651998815601133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793152730,"filename":"image_09122025_13_27_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7227b0491829a2cd944cb3614a33cd23.jpg","text":"TemporaryFile(/tmp/multipartBody2705869712386211939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793152730,"filename":"image_09122025_13_27_25_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc80b8ad60d6043a44b81b16b189a5f9.jpg","text":"TemporaryFile(/tmp/multipartBody6301747539449931373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793152730,"filename":"image_09122025_13_27_45_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200509","file1":"1401200507","file0":"1401200506","file4":"1401200513","file5":"1401200514","file3":"1401200511"},"map_files_photo_id_array":[{"photo_id":"1401200514","filename":"file5"},{"photo_id":"1401200509","filename":"file2"},{"photo_id":"1401200513","filename":"file4"},{"photo_id":"1401200507","filename":"file1"},{"photo_id":"1401200506","filename":"file0"},{"photo_id":"1401200511","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200513":["hashtag1","hashtag2"]},{"1401200507":["hashtag1","hashtag2"]},{"1401200506":["hashtag1","hashtag2"]},{"1401200509":["hashtag1","hashtag2"]},{"1401200514":["hashtag1","hashtag2"]},{"1401200511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200513, 1401200507, 1401200506, 1401200509, 1401200514, 1401200511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53499913215637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:52:17.040239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/13/26/image_09122025_13_27_04_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_55_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_44_9581.jpg', 2), ('/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_35_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_24_9583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_15_10609.jpg', '/home/nano/Desktop/images/09122025/13/26/image_09122025_13_27_04_9605.jpg', '/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_55_10592.jpg', '/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_44_9581.jpg', '/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_35_10594.jpg', '/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_24_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/27/image_09122025_13_27_15_10609.jpg
/home/nano/Desktop/images/09122025/13/26/image_09122025_13_27_04_9605.jpg
/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_55_10592.jpg
/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_44_9581.jpg
/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_35_10594.jpg
/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_24_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200531","1401200525","1401200534","1401200528","1401200536","1401200543"],"photo_ids_order":["1401200525","1401200528","1401200531","1401200534","1401200536","1401200543"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7673fadb0a84b3d9cd90fd9a2c6c15fe.jpg","text":"TemporaryFile(/tmp/multipartBody2149249999880618777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793197822,"filename":"image_09122025_13_26_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61caa116a495fd53cf9967d4698b046b.jpg","text":"TemporaryFile(/tmp/multipartBody1356854868626568452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793197822,"filename":"image_09122025_13_27_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/444b12256336db7830530f7c8a2c814c.jpg","text":"TemporaryFile(/tmp/multipartBody6607156173772788136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793197822,"filename":"image_09122025_13_26_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/282f3ffd2cdee71b83f76bc1791edcc3.jpg","text":"TemporaryFile(/tmp/multipartBody8328663834987844105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793197822,"filename":"image_09122025_13_27_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/12/27/4cbee7cf5224c0b9b3a3f85933b596e0.jpg","text":"TemporaryFile(/tmp/multipartBody3903062574809794548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793197822,"filename":"image_09122025_13_26_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d7c8098b6b745d7f11c0bc87d42828f.jpg","text":"TemporaryFile(/tmp/multipartBody3457441077314467801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793197822,"filename":"image_09122025_13_26_24_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200531","file1":"1401200528","file0":"1401200525","file4":"1401200536","file5":"1401200543","file3":"1401200534"},"map_files_photo_id_array":[{"photo_id":"1401200543","filename":"file5"},{"photo_id":"1401200531","filename":"file2"},{"photo_id":"1401200536","filename":"file4"},{"photo_id":"1401200528","filename":"file1"},{"photo_id":"1401200525","filename":"file0"},{"photo_id":"1401200534","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200531":["hashtag1","hashtag2"]},{"1401200525":["hashtag1","hashtag2"]},{"1401200534":["hashtag1","hashtag2"]},{"1401200528":["hashtag1","hashtag2"]},{"1401200536":["hashtag1","hashtag2"]},{"1401200543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200531, 1401200525, 1401200534, 1401200528, 1401200536, 1401200543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.42185354232788 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:53:02.639074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/13/25/image_09122025_13_26_05_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_54_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_45_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_34_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_25_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_15_9600.jpg', '/home/nano/Desktop/images/09122025/13/25/image_09122025_13_26_05_10597.jpg', '/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_54_9583.jpg', '/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_45_10594.jpg', '/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_34_9600.jpg', '/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_25_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/26/image_09122025_13_26_15_9600.jpg
/home/nano/Desktop/images/09122025/13/25/image_09122025_13_26_05_10597.jpg
/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_54_9583.jpg
/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_45_10594.jpg
/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_34_9600.jpg
/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_25_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":["1401200567","1401200563","1401200557","1401200565","1401200559","1401200561"],"photo_ids_order":["1401200557","1401200559","1401200561","1401200563","1401200565","1401200567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/660925108b01196912a6ba63e7ad8fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5004076124536234696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793243486,"filename":"image_09122025_13_25_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f26c1ec5233539c7d4223a5fcb18bca.jpg","text":"TemporaryFile(/tmp/multipartBody7633522047327012987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793243486,"filename":"image_09122025_13_25_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8fe541f969906978a9adb9ab1038359.jpg","text":"TemporaryFile(/tmp/multipartBody2606554504383713355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793243486,"filename":"image_09122025_13_26_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30bc7ef280e83843c97ce28262ede12f.jpg","text":"TemporaryFile(/tmp/multipartBody6094597839130668468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793243486,"filename":"image_09122025_13_25_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/12/27/093cd1c2f88643a096196f35a71bd5f8.jpg","text":"TemporaryFile(/tmp/multipartBody420962724290775394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793243486,"filename":"image_09122025_13_26_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93eb784f1a6119fbd8f7470866617ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3343536001624005336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793243486,"filename":"image_09122025_13_25_54_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200561","file1":"1401200559","file0":"1401200557","file4":"1401200565","file5":"1401200567","file3":"1401200563"},"map_files_photo_id_array":[{"photo_id":"1401200567","filename":"file5"},{"photo_id":"1401200561","filename":"file2"},{"photo_id":"1401200565","filename":"file4"},{"photo_id":"1401200559","filename":"file1"},{"photo_id":"1401200557","filename":"file0"},{"photo_id":"1401200563","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200567":["hashtag1","hashtag2"]},{"1401200563":["hashtag1","hashtag2"]},{"1401200557":["hashtag1","hashtag2"]},{"1401200565":["hashtag1","hashtag2"]},{"1401200559":["hashtag1","hashtag2"]},{"1401200561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200567, 1401200563, 1401200557, 1401200565, 1401200559, 1401200561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35785102844238 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:53:47.126332
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_15_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/13/24/image_09122025_13_25_04_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_55_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_44_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_35_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_25_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_15_10611.jpg', '/home/nano/Desktop/images/09122025/13/24/image_09122025_13_25_04_9609.jpg', '/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_55_10597.jpg', '/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_44_9585.jpg', '/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_35_9584.jpg', '/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_25_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/25/image_09122025_13_25_15_10611.jpg
/home/nano/Desktop/images/09122025/13/24/image_09122025_13_25_04_9609.jpg
/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_55_10597.jpg
/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_44_9585.jpg
/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_35_9584.jpg
/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_25_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200578","1401200572","1401200575","1401200574","1401200573","1401200576"],"photo_ids_order":["1401200572","1401200573","1401200574","1401200575","1401200576","1401200578"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96adb99c1c8571d39315c7fac8be04f5.jpg","text":"TemporaryFile(/tmp/multipartBody2115159716210155430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793287941,"filename":"image_09122025_13_24_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aea7362d106ed162df982d564a43c027.jpg","text":"TemporaryFile(/tmp/multipartBody7522310709660815619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793287941,"filename":"image_09122025_13_25_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da7391df30fe8fdddd0c59aa2a08af14.jpg","text":"TemporaryFile(/tmp/multipartBody4356129295674143296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793287941,"filename":"image_09122025_13_24_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/12/27/061bdaeaf8555a1b4cd16b67313c1df2.jpg","text":"TemporaryFile(/tmp/multipartBody2105382998881959829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793287941,"filename":"image_09122025_13_24_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5098fff41d1a9414382199458c921f56.jpg","text":"TemporaryFile(/tmp/multipartBody3391462295339910017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793287941,"filename":"image_09122025_13_25_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/12/27/222d8ded50acee727a891a4b7c863dfd.jpg","text":"TemporaryFile(/tmp/multipartBody4073892024888622419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793287941,"filename":"image_09122025_13_24_35_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200574","file1":"1401200573","file0":"1401200572","file4":"1401200576","file5":"1401200578","file3":"1401200575"},"map_files_photo_id_array":[{"photo_id":"1401200578","filename":"file5"},{"photo_id":"1401200574","filename":"file2"},{"photo_id":"1401200576","filename":"file4"},{"photo_id":"1401200573","filename":"file1"},{"photo_id":"1401200572","filename":"file0"},{"photo_id":"1401200575","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200578":["hashtag1","hashtag2"]},{"1401200572":["hashtag1","hashtag2"]},{"1401200575":["hashtag1","hashtag2"]},{"1401200574":["hashtag1","hashtag2"]},{"1401200573":["hashtag1","hashtag2"]},{"1401200576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200578, 1401200572, 1401200575, 1401200574, 1401200573, 1401200576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84485054016113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:54:32.241217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/13/23/image_09122025_13_24_05_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_54_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_45_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_35_10603.jpg', 2), ('/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_24_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_14_9603.jpg', '/home/nano/Desktop/images/09122025/13/23/image_09122025_13_24_05_10612.jpg', '/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_54_9585.jpg', '/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_45_9583.jpg', '/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_35_10603.jpg', '/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_24_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/24/image_09122025_13_24_14_9603.jpg
/home/nano/Desktop/images/09122025/13/23/image_09122025_13_24_05_10612.jpg
/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_54_9585.jpg
/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_45_9583.jpg
/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_35_10603.jpg
/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_24_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":["1401200599","1401200592","1401200601","1401200591","1401200594","1401200597"],"photo_ids_order":["1401200591","1401200592","1401200594","1401200597","1401200599","1401200601"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4085d3eff0447f55ddd17d2999a6aae.jpg","text":"TemporaryFile(/tmp/multipartBody3720814750571298827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793333053,"filename":"image_09122025_13_23_35_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/660c995ee3f9d62c3fbada83ef37af51.jpg","text":"TemporaryFile(/tmp/multipartBody280988421779355739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793333053,"filename":"image_09122025_13_24_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f8a69ddfe14382556fa27a03034993c.jpg","text":"TemporaryFile(/tmp/multipartBody2696020180973907466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793333053,"filename":"image_09122025_13_23_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/12/27/8fedbf024c4b13470cc69dba3afb8d61.jpg","text":"TemporaryFile(/tmp/multipartBody721869372255204686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793333053,"filename":"image_09122025_13_24_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb8fd623ec16a14554581297e5915526.jpg","text":"TemporaryFile(/tmp/multipartBody2297150034051761201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793333053,"filename":"image_09122025_13_23_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3dd182e5ba6135130af25eb999dea67d.jpg","text":"TemporaryFile(/tmp/multipartBody4233278131054165293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793333053,"filename":"image_09122025_13_23_45_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200594","file1":"1401200592","file0":"1401200591","file4":"1401200599","file5":"1401200601","file3":"1401200597"},"map_files_photo_id_array":[{"photo_id":"1401200601","filename":"file5"},{"photo_id":"1401200594","filename":"file2"},{"photo_id":"1401200599","filename":"file4"},{"photo_id":"1401200592","filename":"file1"},{"photo_id":"1401200591","filename":"file0"},{"photo_id":"1401200597","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200599":["hashtag1","hashtag2"]},{"1401200592":["hashtag1","hashtag2"]},{"1401200601":["hashtag1","hashtag2"]},{"1401200591":["hashtag1","hashtag2"]},{"1401200594":["hashtag1","hashtag2"]},{"1401200597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200599, 1401200592, 1401200601, 1401200591, 1401200594, 1401200597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50197386741638 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:55:17.447643
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_15_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/13/22/image_09122025_13_23_04_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_55_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_45_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_25_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_15_10612.jpg', '/home/nano/Desktop/images/09122025/13/22/image_09122025_13_23_04_9629.jpg', '/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_55_9586.jpg', '/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_45_10596.jpg', '/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_34_9586.jpg', '/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_25_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/23/image_09122025_13_23_15_10612.jpg
/home/nano/Desktop/images/09122025/13/22/image_09122025_13_23_04_9629.jpg
/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_55_9586.jpg
/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_45_10596.jpg
/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_34_9586.jpg
/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_25_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200630","1401200620","1401200623","1401200617","1401200626","1401200628"],"photo_ids_order":["1401200617","1401200620","1401200623","1401200626","1401200628","1401200630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffa1e11e5ea61fecf19a804cddd6627c.jpg","text":"TemporaryFile(/tmp/multipartBody766391558703536580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793378250,"filename":"image_09122025_13_22_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c1fedb713c9fdfa89b6696b0acd6f92.jpg","text":"TemporaryFile(/tmp/multipartBody3426852764667632200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793378250,"filename":"image_09122025_13_23_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/12/27/b3905c50b8b4ebfe1160f913adf62c8f.jpg","text":"TemporaryFile(/tmp/multipartBody910268402109079444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793378250,"filename":"image_09122025_13_22_55_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5452339fb118708329509a16ac1c5057.jpg","text":"TemporaryFile(/tmp/multipartBody7116858368975465603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793378250,"filename":"image_09122025_13_23_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8145cf98668afca729b2f4b81564fc30.jpg","text":"TemporaryFile(/tmp/multipartBody6316485913387409526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793378250,"filename":"image_09122025_13_22_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75c02b8ef51e82f832488501bc300a36.jpg","text":"TemporaryFile(/tmp/multipartBody2642445537369198575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793378250,"filename":"image_09122025_13_22_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200623","file1":"1401200620","file0":"1401200617","file4":"1401200628","file5":"1401200630","file3":"1401200626"},"map_files_photo_id_array":[{"photo_id":"1401200630","filename":"file5"},{"photo_id":"1401200623","filename":"file2"},{"photo_id":"1401200628","filename":"file4"},{"photo_id":"1401200620","filename":"file1"},{"photo_id":"1401200617","filename":"file0"},{"photo_id":"1401200626","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200630":["hashtag1","hashtag2"]},{"1401200620":["hashtag1","hashtag2"]},{"1401200623":["hashtag1","hashtag2"]},{"1401200617":["hashtag1","hashtag2"]},{"1401200626":["hashtag1","hashtag2"]},{"1401200628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200630, 1401200620, 1401200623, 1401200617, 1401200626, 1401200628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.653255224227905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:56:02.842263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_14_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/13/21/image_09122025_13_22_05_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_55_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_44_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_35_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_24_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_14_9600.jpg', '/home/nano/Desktop/images/09122025/13/21/image_09122025_13_22_05_9582.jpg', '/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_55_10593.jpg', '/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_44_9583.jpg', '/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_35_10592.jpg', '/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_24_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/22/image_09122025_13_22_14_9600.jpg
/home/nano/Desktop/images/09122025/13/21/image_09122025_13_22_05_9582.jpg
/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_55_10593.jpg
/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_44_9583.jpg
/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_35_10592.jpg
/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_24_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":["1401200633","1401200647","1401200641","1401200635","1401200644","1401200638"],"photo_ids_order":["1401200633","1401200635","1401200638","1401200641","1401200644","1401200647"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b322ff580f1450204fa443d0840ba8b.jpg","text":"TemporaryFile(/tmp/multipartBody4993508335144258769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793423637,"filename":"image_09122025_13_22_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d9be2b3dd6f60a58b02c16f5894cc36.jpg","text":"TemporaryFile(/tmp/multipartBody3389058254819095916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793423637,"filename":"image_09122025_13_21_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f88d8ce84d925f985933d8ae6c0d3ce.jpg","text":"TemporaryFile(/tmp/multipartBody1109645078284382018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793423637,"filename":"image_09122025_13_21_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/130373e23dfee3d4e97f7f4437148526.jpg","text":"TemporaryFile(/tmp/multipartBody1090241679520751894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793423637,"filename":"image_09122025_13_22_05_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b568baf0c1b6e695cf310456dc2e6c67.jpg","text":"TemporaryFile(/tmp/multipartBody8882000729890688167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793423637,"filename":"image_09122025_13_21_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/083bf7d5e6cf015535144bd0b3d0c653.jpg","text":"TemporaryFile(/tmp/multipartBody2934026235237983239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793423637,"filename":"image_09122025_13_21_55_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200638","file1":"1401200635","file0":"1401200633","file4":"1401200644","file5":"1401200647","file3":"1401200641"},"map_files_photo_id_array":[{"photo_id":"1401200647","filename":"file5"},{"photo_id":"1401200638","filename":"file2"},{"photo_id":"1401200644","filename":"file4"},{"photo_id":"1401200635","filename":"file1"},{"photo_id":"1401200633","filename":"file0"},{"photo_id":"1401200641","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200633":["hashtag1","hashtag2"]},{"1401200647":["hashtag1","hashtag2"]},{"1401200641":["hashtag1","hashtag2"]},{"1401200635":["hashtag1","hashtag2"]},{"1401200644":["hashtag1","hashtag2"]},{"1401200638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200633, 1401200647, 1401200641, 1401200635, 1401200644, 1401200638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.169102907180786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:56:47.515748
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_15_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_21_05_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_54_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_45_10600.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_25_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_15_9585.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_21_05_10604.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_54_9583.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_45_10600.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_34_9587.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_25_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_15_9585.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_21_05_10604.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_54_9583.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_45_10600.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_34_9587.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_25_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! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:59:03.116135
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/00/56/image_27122025_00_57_04_9521.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/00/56/image_27122025_00_57_04_9521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/00/56/image_27122025_00_57_04_9521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200680"],"photo_id":"1401200680","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/777f004c99d01e0edae92c5efe8aa209.jpg","text":"TemporaryFile(/tmp/multipartBody1465234418163513380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793603409,"filename":"image_27122025_00_57_04_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401200680"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401200680"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.124207496643066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 00:59:17.371784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_15_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_21_05_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_54_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_45_10600.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_25_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_15_9585.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_21_05_10604.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_54_9583.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_45_10600.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_34_9587.jpg', '/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_25_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/21/image_09122025_13_21_15_9585.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_21_05_10604.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_54_9583.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_45_10600.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_34_9587.jpg
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_25_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200705","1401200695","1401200704","1401200699","1401200703","1401200693"],"photo_ids_order":["1401200693","1401200695","1401200699","1401200703","1401200704","1401200705"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea0eabe4329576f6143e3f2ffe1dc243.jpg","text":"TemporaryFile(/tmp/multipartBody4185782776857393460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793618157,"filename":"image_09122025_13_20_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d67a196fc232a6daaabbe556454b0057.jpg","text":"TemporaryFile(/tmp/multipartBody3191238922199567675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793618157,"filename":"image_09122025_13_21_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a79ecdb5742fbc48022a80980d421e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3925176183003369347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793618157,"filename":"image_09122025_13_20_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e30ba85b051d92244a7a21c688f9ff18.jpg","text":"TemporaryFile(/tmp/multipartBody2302646269395079876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793618157,"filename":"image_09122025_13_20_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c5d507364f97055854bf1abd1f61892.jpg","text":"TemporaryFile(/tmp/multipartBody2446403121895698560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793618157,"filename":"image_09122025_13_20_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9f515e1b239f6a9dc2c9427c0184b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3294249466364012987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793618157,"filename":"image_09122025_13_21_15_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200699","file1":"1401200695","file0":"1401200693","file4":"1401200704","file5":"1401200705","file3":"1401200703"},"map_files_photo_id_array":[{"photo_id":"1401200705","filename":"file5"},{"photo_id":"1401200699","filename":"file2"},{"photo_id":"1401200704","filename":"file4"},{"photo_id":"1401200695","filename":"file1"},{"photo_id":"1401200693","filename":"file0"},{"photo_id":"1401200703","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200705":["hashtag1","hashtag2"]},{"1401200695":["hashtag1","hashtag2"]},{"1401200704":["hashtag1","hashtag2"]},{"1401200699":["hashtag1","hashtag2"]},{"1401200703":["hashtag1","hashtag2"]},{"1401200693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200705, 1401200695, 1401200704, 1401200699, 1401200703, 1401200693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43704533576965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:00:02.787719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_15_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/13/19/image_09122025_13_20_04_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_55_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_35_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_25_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_15_10611.jpg', '/home/nano/Desktop/images/09122025/13/19/image_09122025_13_20_04_9597.jpg', '/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_55_10595.jpg', '/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_44_9586.jpg', '/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_35_9604.jpg', '/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_25_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/20/image_09122025_13_20_15_10611.jpg
/home/nano/Desktop/images/09122025/13/19/image_09122025_13_20_04_9597.jpg
/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_55_10595.jpg
/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_44_9586.jpg
/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_35_9604.jpg
/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_25_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":["1401200723","1401200717","1401200711","1401200720","1401200714","1401200708"],"photo_ids_order":["1401200708","1401200711","1401200714","1401200717","1401200720","1401200723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/507de123245c4d32df79020edba17bce.jpg","text":"TemporaryFile(/tmp/multipartBody7813019818607452445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793663620,"filename":"image_09122025_13_19_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a2d7dd68c1d804b20ca52144effcaa2.jpg","text":"TemporaryFile(/tmp/multipartBody6634087050712639060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793663620,"filename":"image_09122025_13_19_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/12/27/c1408ddfbd1e4963f300f9d05dbb359e.jpg","text":"TemporaryFile(/tmp/multipartBody4996829351676721299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793663620,"filename":"image_09122025_13_20_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/12/27/be51578e00cfd264c909d4dbce63686f.jpg","text":"TemporaryFile(/tmp/multipartBody4226199347816091969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793663620,"filename":"image_09122025_13_19_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71dacc8df6d5db8d7c764cead1ea2555.jpg","text":"TemporaryFile(/tmp/multipartBody5342990866508804220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793663620,"filename":"image_09122025_13_19_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/778fece45487cc8dac184db5e4b4a253.jpg","text":"TemporaryFile(/tmp/multipartBody741967602665572032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793663620,"filename":"image_09122025_13_20_15_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200714","file1":"1401200711","file0":"1401200708","file4":"1401200720","file5":"1401200723","file3":"1401200717"},"map_files_photo_id_array":[{"photo_id":"1401200723","filename":"file5"},{"photo_id":"1401200714","filename":"file2"},{"photo_id":"1401200720","filename":"file4"},{"photo_id":"1401200711","filename":"file1"},{"photo_id":"1401200708","filename":"file0"},{"photo_id":"1401200717","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200723":["hashtag1","hashtag2"]},{"1401200717":["hashtag1","hashtag2"]},{"1401200711":["hashtag1","hashtag2"]},{"1401200720":["hashtag1","hashtag2"]},{"1401200714":["hashtag1","hashtag2"]},{"1401200708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200723, 1401200717, 1401200711, 1401200720, 1401200714, 1401200708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38764238357544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:00:47.478737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_14_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_19_05_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_54_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_45_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_35_10591.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_24_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_14_9613.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_19_05_10610.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_54_9584.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_45_9587.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_35_10591.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_24_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_14_9613.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_19_05_10610.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_54_9584.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_45_9587.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_35_10591.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_24_9581.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7000901699066162 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:01:02.916361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_14_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_19_05_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_54_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_45_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_35_10591.jpg', 2), ('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_24_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_14_9613.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_19_05_10610.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_54_9584.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_45_9587.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_35_10591.jpg', '/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_24_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/19/image_09122025_13_19_14_9613.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_19_05_10610.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_54_9584.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_45_9587.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_35_10591.jpg
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_24_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200743","1401200745","1401200739","1401200747","1401200741","1401200735"],"photo_ids_order":["1401200735","1401200739","1401200741","1401200743","1401200745","1401200747"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74a53f06cf64604f08c62d13766d6f0f.jpg","text":"TemporaryFile(/tmp/multipartBody8542348918166939653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793723860,"filename":"image_09122025_13_18_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c89f23887169faec0affbd78f33e70d.jpg","text":"TemporaryFile(/tmp/multipartBody8251232628863924710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793723860,"filename":"image_09122025_13_18_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46e34277572b8dff3f4f391436655b70.jpg","text":"TemporaryFile(/tmp/multipartBody2618436754462267531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793723860,"filename":"image_09122025_13_19_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13925a7c4a9c8f413413aa1f01bbf49c.jpg","text":"TemporaryFile(/tmp/multipartBody9146407159042881552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793723860,"filename":"image_09122025_13_18_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d5721102a3122a0d6a580b5ac2e453f.jpg","text":"TemporaryFile(/tmp/multipartBody2784625827075765735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793723860,"filename":"image_09122025_13_18_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb2c25872b1daa3ae605de3bc63a5c7b.jpg","text":"TemporaryFile(/tmp/multipartBody8037504520871263567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793723860,"filename":"image_09122025_13_19_14_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200741","file1":"1401200739","file0":"1401200735","file4":"1401200745","file5":"1401200747","file3":"1401200743"},"map_files_photo_id_array":[{"photo_id":"1401200747","filename":"file5"},{"photo_id":"1401200741","filename":"file2"},{"photo_id":"1401200745","filename":"file4"},{"photo_id":"1401200739","filename":"file1"},{"photo_id":"1401200735","filename":"file0"},{"photo_id":"1401200743","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200743":["hashtag1","hashtag2"]},{"1401200745":["hashtag1","hashtag2"]},{"1401200739":["hashtag1","hashtag2"]},{"1401200747":["hashtag1","hashtag2"]},{"1401200741":["hashtag1","hashtag2"]},{"1401200735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200743, 1401200745, 1401200739, 1401200747, 1401200741, 1401200735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31297469139099 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:01:47.645109
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_15_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/13/17/image_09122025_13_18_04_9580.jpg', 2), ('/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_55_10590.jpg', 2), ('/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_44_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_35_9581.jpg', 2), ('/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_25_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_15_10612.jpg', '/home/nano/Desktop/images/09122025/13/17/image_09122025_13_18_04_9580.jpg', '/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_55_10590.jpg', '/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_44_9584.jpg', '/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_35_9581.jpg', '/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_25_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/18/image_09122025_13_18_15_10612.jpg
/home/nano/Desktop/images/09122025/13/17/image_09122025_13_18_04_9580.jpg
/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_55_10590.jpg
/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_44_9584.jpg
/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_35_9581.jpg
/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_25_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":["1401200759","1401200755","1401200757","1401200765","1401200768","1401200756"],"photo_ids_order":["1401200755","1401200756","1401200757","1401200759","1401200765","1401200768"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b15321ddb4f1543ff61796f07751a9d6.jpg","text":"TemporaryFile(/tmp/multipartBody4000290065672733072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793768460,"filename":"image_09122025_13_17_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0056bb1954e7bb3acafd246cd3b49a20.jpg","text":"TemporaryFile(/tmp/multipartBody1910077524798659030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793768460,"filename":"image_09122025_13_18_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c6788402106c65e9584c8fec99b2fb1.jpg","text":"TemporaryFile(/tmp/multipartBody8909397963665609250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793768460,"filename":"image_09122025_13_17_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43046d782dd296c7e4e9187f513e47aa.jpg","text":"TemporaryFile(/tmp/multipartBody6593816887458551817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793768460,"filename":"image_09122025_13_17_35_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96ccc7638d17c68b85ac39fb35646e74.jpg","text":"TemporaryFile(/tmp/multipartBody3892795541906605105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793768460,"filename":"image_09122025_13_17_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5535941151a3d3113d83715b902967c3.jpg","text":"TemporaryFile(/tmp/multipartBody7944754521694541297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793768460,"filename":"image_09122025_13_18_04_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200757","file1":"1401200756","file0":"1401200755","file4":"1401200765","file5":"1401200768","file3":"1401200759"},"map_files_photo_id_array":[{"photo_id":"1401200768","filename":"file5"},{"photo_id":"1401200757","filename":"file2"},{"photo_id":"1401200765","filename":"file4"},{"photo_id":"1401200756","filename":"file1"},{"photo_id":"1401200755","filename":"file0"},{"photo_id":"1401200759","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200759":["hashtag1","hashtag2"]},{"1401200755":["hashtag1","hashtag2"]},{"1401200757":["hashtag1","hashtag2"]},{"1401200765":["hashtag1","hashtag2"]},{"1401200768":["hashtag1","hashtag2"]},{"1401200756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200759, 1401200755, 1401200757, 1401200765, 1401200768, 1401200756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78551435470581 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:02:32.717228
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_14_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/13/16/image_09122025_13_17_05_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_54_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_45_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_35_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_24_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_14_9619.jpg', '/home/nano/Desktop/images/09122025/13/16/image_09122025_13_17_05_10597.jpg', '/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_54_9583.jpg', '/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_45_9588.jpg', '/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_35_10592.jpg', '/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_24_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/17/image_09122025_13_17_14_9619.jpg
/home/nano/Desktop/images/09122025/13/16/image_09122025_13_17_05_10597.jpg
/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_54_9583.jpg
/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_45_9588.jpg
/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_35_10592.jpg
/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_24_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401200785","1401200779","1401200781","1401200778","1401200783","1401200777"],"photo_ids_order":["1401200777","1401200778","1401200779","1401200781","1401200783","1401200785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dec4f7cfbe395ded691999481aeaa709.jpg","text":"TemporaryFile(/tmp/multipartBody7083408480236926194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793813501,"filename":"image_09122025_13_16_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcbf334f9d853a8c06aca7857a34b185.jpg","text":"TemporaryFile(/tmp/multipartBody2578068434161721030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793813501,"filename":"image_09122025_13_16_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/582c76af9a656062670cb32faaccb11b.jpg","text":"TemporaryFile(/tmp/multipartBody4017013993692663948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793813501,"filename":"image_09122025_13_16_45_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc6ad52ee3de36923726f0f16fdebed0.jpg","text":"TemporaryFile(/tmp/multipartBody4393376865084793078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793813501,"filename":"image_09122025_13_17_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a4d03f3683611804116c748e24059aa.jpg","text":"TemporaryFile(/tmp/multipartBody8267233555357660686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793813501,"filename":"image_09122025_13_16_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93c5f274a11879129b044c8f5071fe0f.jpg","text":"TemporaryFile(/tmp/multipartBody3354069182043386771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793813501,"filename":"image_09122025_13_17_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200779","file1":"1401200778","file0":"1401200777","file4":"1401200783","file5":"1401200785","file3":"1401200781"},"map_files_photo_id_array":[{"photo_id":"1401200785","filename":"file5"},{"photo_id":"1401200779","filename":"file2"},{"photo_id":"1401200783","filename":"file4"},{"photo_id":"1401200778","filename":"file1"},{"photo_id":"1401200777","filename":"file0"},{"photo_id":"1401200781","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200785":["hashtag1","hashtag2"]},{"1401200779":["hashtag1","hashtag2"]},{"1401200781":["hashtag1","hashtag2"]},{"1401200778":["hashtag1","hashtag2"]},{"1401200783":["hashtag1","hashtag2"]},{"1401200777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200785, 1401200779, 1401200781, 1401200778, 1401200783, 1401200777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05122900009155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:03:16.830402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_15_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/13/15/image_09122025_13_16_04_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_55_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_45_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_25_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_15_10619.jpg', '/home/nano/Desktop/images/09122025/13/15/image_09122025_13_16_04_9604.jpg', '/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_55_9584.jpg', '/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_45_10599.jpg', '/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_34_9586.jpg', '/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_25_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/16/image_09122025_13_16_15_10619.jpg
/home/nano/Desktop/images/09122025/13/15/image_09122025_13_16_04_9604.jpg
/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_55_9584.jpg
/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_45_10599.jpg
/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_34_9586.jpg
/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_25_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":["1401200804","1401200811","1401200805","1401200814","1401200808","1401200817"],"photo_ids_order":["1401200804","1401200805","1401200808","1401200811","1401200814","1401200817"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7183057967a85f69888ccd8bcf544d18.jpg","text":"TemporaryFile(/tmp/multipartBody7007657350310283306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793857627,"filename":"image_09122025_13_16_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/885a61b47d83be4940f1c1327e6e15ca.jpg","text":"TemporaryFile(/tmp/multipartBody652929975134602562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793857627,"filename":"image_09122025_13_15_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2892ff76d4868946a8c7bd663f9e45b5.jpg","text":"TemporaryFile(/tmp/multipartBody6558689290201512130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793857627,"filename":"image_09122025_13_16_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/12/27/394a940bdab484808eaa336097c99dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8673528826571192770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793857627,"filename":"image_09122025_13_15_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea9817e19eac781d1fed5e04cf318dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3654308926819381667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793857627,"filename":"image_09122025_13_15_55_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1ee471d73b4c1f84f6c11c8a5c39a71.jpg","text":"TemporaryFile(/tmp/multipartBody7900119722729129895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793857627,"filename":"image_09122025_13_15_25_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200808","file1":"1401200805","file0":"1401200804","file4":"1401200814","file5":"1401200817","file3":"1401200811"},"map_files_photo_id_array":[{"photo_id":"1401200817","filename":"file5"},{"photo_id":"1401200808","filename":"file2"},{"photo_id":"1401200814","filename":"file4"},{"photo_id":"1401200805","filename":"file1"},{"photo_id":"1401200804","filename":"file0"},{"photo_id":"1401200811","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200804":["hashtag1","hashtag2"]},{"1401200811":["hashtag1","hashtag2"]},{"1401200805":["hashtag1","hashtag2"]},{"1401200814":["hashtag1","hashtag2"]},{"1401200808":["hashtag1","hashtag2"]},{"1401200817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200804, 1401200811, 1401200805, 1401200814, 1401200808, 1401200817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22628951072693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:04:02.491851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_14_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/13/14/image_09122025_13_15_05_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_55_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_44_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_24_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_14_9602.jpg', '/home/nano/Desktop/images/09122025/13/14/image_09122025_13_15_05_9601.jpg', '/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_55_10613.jpg', '/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_44_9609.jpg', '/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_35_10595.jpg', '/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_24_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/15/image_09122025_13_15_14_9602.jpg
/home/nano/Desktop/images/09122025/13/14/image_09122025_13_15_05_9601.jpg
/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_55_10613.jpg
/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_44_9609.jpg
/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_35_10595.jpg
/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_24_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":["1401200936","1401200912","1401200896","1401200911","1401200979","1401200943"],"photo_ids_order":["1401200896","1401200911","1401200912","1401200936","1401200943","1401200979"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa473392f9d997d2ae8a7a7b806b5ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6418555865268258620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793903323,"filename":"image_09122025_13_14_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/12/27/da38cbb8e7bc030c88d65209158d584f.jpg","text":"TemporaryFile(/tmp/multipartBody8975202018139322072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793903323,"filename":"image_09122025_13_14_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b56b9b893004e7af0c90e0ede8f0870.jpg","text":"TemporaryFile(/tmp/multipartBody562997066846978543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793903323,"filename":"image_09122025_13_15_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ddb0a069e6a529877e533314874bf4b.jpg","text":"TemporaryFile(/tmp/multipartBody2708681369284418218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793903323,"filename":"image_09122025_13_15_05_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24c03a4af74450141e7b0984227278d5.jpg","text":"TemporaryFile(/tmp/multipartBody4980600503698014011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793903323,"filename":"image_09122025_13_14_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/12/27/f34667e0a273b38bd03aef085a07af29.jpg","text":"TemporaryFile(/tmp/multipartBody1854891312784745978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793903323,"filename":"image_09122025_13_14_35_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401200912","file1":"1401200911","file0":"1401200896","file4":"1401200943","file5":"1401200979","file3":"1401200936"},"map_files_photo_id_array":[{"photo_id":"1401200979","filename":"file5"},{"photo_id":"1401200912","filename":"file2"},{"photo_id":"1401200943","filename":"file4"},{"photo_id":"1401200911","filename":"file1"},{"photo_id":"1401200896","filename":"file0"},{"photo_id":"1401200936","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401200936":["hashtag1","hashtag2"]},{"1401200912":["hashtag1","hashtag2"]},{"1401200896":["hashtag1","hashtag2"]},{"1401200911":["hashtag1","hashtag2"]},{"1401200979":["hashtag1","hashtag2"]},{"1401200943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401200936, 1401200912, 1401200896, 1401200911, 1401200979, 1401200943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58563446998596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:04:46.936315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_15_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/13/13/image_09122025_13_14_05_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_54_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_45_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_34_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_25_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_15_9594.jpg', '/home/nano/Desktop/images/09122025/13/13/image_09122025_13_14_05_10608.jpg', '/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_54_9601.jpg', '/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_45_10599.jpg', '/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_34_9588.jpg', '/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_25_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/14/image_09122025_13_14_15_9594.jpg
/home/nano/Desktop/images/09122025/13/13/image_09122025_13_14_05_10608.jpg
/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_54_9601.jpg
/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_45_10599.jpg
/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_34_9588.jpg
/home/nano/Desktop/images/09122025/13/13/image_09122025_13_13_25_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":["1401201292","1401201193","1401201361","1401201325","1401201258","1401201224"],"photo_ids_order":["1401201193","1401201224","1401201258","1401201292","1401201325","1401201361"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6989a30dcdaf4c712f049d28a680c28.jpg","text":"TemporaryFile(/tmp/multipartBody4676042703077554377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793947726,"filename":"image_09122025_13_13_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af6ae3704364841bb403f6718d788e36.jpg","text":"TemporaryFile(/tmp/multipartBody7140988298201311229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793947726,"filename":"image_09122025_13_14_15_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/540e7f71e95ca82c2a3422f8c8d51010.jpg","text":"TemporaryFile(/tmp/multipartBody369786208985268743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793947726,"filename":"image_09122025_13_13_25_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3b8564b627a1484ead69f9890639c89.jpg","text":"TemporaryFile(/tmp/multipartBody7782130382213030365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793947726,"filename":"image_09122025_13_13_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/12/27/ec2447ac175d77d7b8ed7410752731e7.jpg","text":"TemporaryFile(/tmp/multipartBody5911716006917081112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793947726,"filename":"image_09122025_13_13_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/12/27/cd5eac17747ee2c325f1ef432ee37c84.jpg","text":"TemporaryFile(/tmp/multipartBody8691052872999555763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793947726,"filename":"image_09122025_13_14_05_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401201258","file1":"1401201224","file0":"1401201193","file4":"1401201325","file5":"1401201361","file3":"1401201292"},"map_files_photo_id_array":[{"photo_id":"1401201361","filename":"file5"},{"photo_id":"1401201258","filename":"file2"},{"photo_id":"1401201325","filename":"file4"},{"photo_id":"1401201224","filename":"file1"},{"photo_id":"1401201193","filename":"file0"},{"photo_id":"1401201292","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401201292":["hashtag1","hashtag2"]},{"1401201193":["hashtag1","hashtag2"]},{"1401201361":["hashtag1","hashtag2"]},{"1401201325":["hashtag1","hashtag2"]},{"1401201258":["hashtag1","hashtag2"]},{"1401201224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401201292, 1401201193, 1401201361, 1401201325, 1401201258, 1401201224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15200352668762 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:05:32.080981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_44_9595.jpg', 2), ('/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_35_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_25_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_14_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/11/image_09122025_13_12_05_10606.jpg', 2), ('/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_44_9595.jpg', '/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_35_9588.jpg', '/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_25_10597.jpg', '/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_14_9596.jpg', '/home/nano/Desktop/images/09122025/13/11/image_09122025_13_12_05_10606.jpg', '/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_44_9595.jpg
/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_35_9588.jpg
/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_25_10597.jpg
/home/nano/Desktop/images/09122025/13/12/image_09122025_13_12_14_9596.jpg
/home/nano/Desktop/images/09122025/13/11/image_09122025_13_12_05_10606.jpg
/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_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":["1401201606","1401201680","1401201569","1401201749","1401201641","1401201716"],"photo_ids_order":["1401201569","1401201606","1401201641","1401201680","1401201716","1401201749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6cba4bb7d64ebf1453e27700deaf669.jpg","text":"TemporaryFile(/tmp/multipartBody8711688803223518003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793992862,"filename":"image_09122025_13_12_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e62a0309317e6abdba139f2a72df4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7602143019463790312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793992862,"filename":"image_09122025_13_12_14_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4838dbf608797cac4d992ab089a5356.jpg","text":"TemporaryFile(/tmp/multipartBody7230033828573931531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793992862,"filename":"image_09122025_13_12_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/12/27/e4b991e01679a7448e31d6ebb43edaa2.jpg","text":"TemporaryFile(/tmp/multipartBody9210517992876729777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793992862,"filename":"image_09122025_13_11_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/12/27/945263924706e05e780474f20302aa9f.jpg","text":"TemporaryFile(/tmp/multipartBody2350971070884580544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793992862,"filename":"image_09122025_13_12_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47e12515740a3e17b0a7108a34d20acd.jpg","text":"TemporaryFile(/tmp/multipartBody5412168023628363301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766793992862,"filename":"image_09122025_13_12_05_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401201641","file1":"1401201606","file0":"1401201569","file4":"1401201716","file5":"1401201749","file3":"1401201680"},"map_files_photo_id_array":[{"photo_id":"1401201749","filename":"file5"},{"photo_id":"1401201641","filename":"file2"},{"photo_id":"1401201716","filename":"file4"},{"photo_id":"1401201606","filename":"file1"},{"photo_id":"1401201569","filename":"file0"},{"photo_id":"1401201680","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401201606":["hashtag1","hashtag2"]},{"1401201680":["hashtag1","hashtag2"]},{"1401201569":["hashtag1","hashtag2"]},{"1401201749":["hashtag1","hashtag2"]},{"1401201641":["hashtag1","hashtag2"]},{"1401201716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401201606, 1401201680, 1401201569, 1401201749, 1401201641, 1401201716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42613244056702 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:06:17.148124
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/01/06/image_27122025_01_06_15_10542.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/01/06/image_27122025_01_06_15_10542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/01/06/image_27122025_01_06_15_10542.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401201762"],"photo_id":"1401201762","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/feb2aeff8e28659af0a74d806f1ffd0f.jpg","text":"TemporaryFile(/tmp/multipartBody3914356358908282278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794037393,"filename":"image_27122025_01_06_15_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401201762"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401201762"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.754571437835693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:06:32.154486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_45_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_15_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/13/10/image_09122025_13_11_04_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_55_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_45_9607.jpg', '/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_35_10596.jpg', '/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_24_9587.jpg', '/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_15_10632.jpg', '/home/nano/Desktop/images/09122025/13/10/image_09122025_13_11_04_9589.jpg', '/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_55_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_45_9607.jpg
/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_35_10596.jpg
/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_24_9587.jpg
/home/nano/Desktop/images/09122025/13/11/image_09122025_13_11_15_10632.jpg
/home/nano/Desktop/images/09122025/13/10/image_09122025_13_11_04_9589.jpg
/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_55_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":["1401201769","1401201786","1401201771","1401201768","1401201819","1401201851"],"photo_ids_order":["1401201768","1401201769","1401201771","1401201786","1401201819","1401201851"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a978abc84fcdf097c533af0b9e09a552.jpg","text":"TemporaryFile(/tmp/multipartBody7514125190000164115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794052951,"filename":"image_09122025_13_11_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ccd4330d8b5d1f613b16be3d9be8a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4936263391157331697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794052951,"filename":"image_09122025_13_11_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89f56b4b9cfaeb2c603b137f012f5e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1126226235120656531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794052951,"filename":"image_09122025_13_11_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8278dd4faa8d470deb49bf797ff86635.jpg","text":"TemporaryFile(/tmp/multipartBody7750307071197125445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794052951,"filename":"image_09122025_13_11_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8184892aa6e0282cd7dd50453f7349ee.jpg","text":"TemporaryFile(/tmp/multipartBody1941193341054800219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794052951,"filename":"image_09122025_13_11_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bee45ca1ef90195f668a2283272695ce.jpg","text":"TemporaryFile(/tmp/multipartBody5316343828365344848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794052951,"filename":"image_09122025_13_10_55_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401201771","file1":"1401201769","file0":"1401201768","file4":"1401201819","file5":"1401201851","file3":"1401201786"},"map_files_photo_id_array":[{"photo_id":"1401201851","filename":"file5"},{"photo_id":"1401201771","filename":"file2"},{"photo_id":"1401201819","filename":"file4"},{"photo_id":"1401201769","filename":"file1"},{"photo_id":"1401201768","filename":"file0"},{"photo_id":"1401201786","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401201769":["hashtag1","hashtag2"]},{"1401201786":["hashtag1","hashtag2"]},{"1401201771":["hashtag1","hashtag2"]},{"1401201768":["hashtag1","hashtag2"]},{"1401201819":["hashtag1","hashtag2"]},{"1401201851":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401201769, 1401201786, 1401201771, 1401201768, 1401201819, 1401201851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07957100868225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:07:17.318540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_34_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_25_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/13/09/image_09122025_13_10_05_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_55_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_45_10597.jpg', '/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_34_9585.jpg', '/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_25_10612.jpg', '/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_14_9603.jpg', '/home/nano/Desktop/images/09122025/13/09/image_09122025_13_10_05_9607.jpg', '/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_55_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_45_10597.jpg
/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_34_9585.jpg
/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_25_10612.jpg
/home/nano/Desktop/images/09122025/13/10/image_09122025_13_10_14_9603.jpg
/home/nano/Desktop/images/09122025/13/09/image_09122025_13_10_05_9607.jpg
/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_55_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401202062","1401202044","1401202047","1401202041","1401202038","1401202037"],"photo_ids_order":["1401202037","1401202038","1401202041","1401202044","1401202047","1401202062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c138241003031a8ba9ed781fcbfffb06.jpg","text":"TemporaryFile(/tmp/multipartBody6159534258210210831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794098116,"filename":"image_09122025_13_09_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c09baaeca86e62265d4bc65f119bee6.jpg","text":"TemporaryFile(/tmp/multipartBody810693258267195241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794098116,"filename":"image_09122025_13_10_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0bc15db4a090cfdb08d8ef25835d7fed.jpg","text":"TemporaryFile(/tmp/multipartBody2064649927057754466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794098116,"filename":"image_09122025_13_10_05_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50c3cdb13b7187ec802a08cdd0fee5fd.jpg","text":"TemporaryFile(/tmp/multipartBody9047440952369575004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794098116,"filename":"image_09122025_13_10_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff15f3c74f0eb2bd60d766d3336e5c47.jpg","text":"TemporaryFile(/tmp/multipartBody8952934555087001755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794098116,"filename":"image_09122025_13_10_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/12/27/b90a86f63e6a8781b71282451251f432.jpg","text":"TemporaryFile(/tmp/multipartBody825586054579313877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794098116,"filename":"image_09122025_13_10_45_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401202041","file1":"1401202038","file0":"1401202037","file4":"1401202047","file5":"1401202062","file3":"1401202044"},"map_files_photo_id_array":[{"photo_id":"1401202062","filename":"file5"},{"photo_id":"1401202041","filename":"file2"},{"photo_id":"1401202047","filename":"file4"},{"photo_id":"1401202038","filename":"file1"},{"photo_id":"1401202037","filename":"file0"},{"photo_id":"1401202044","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401202062":["hashtag1","hashtag2"]},{"1401202044":["hashtag1","hashtag2"]},{"1401202047":["hashtag1","hashtag2"]},{"1401202041":["hashtag1","hashtag2"]},{"1401202038":["hashtag1","hashtag2"]},{"1401202037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401202062, 1401202044, 1401202047, 1401202041, 1401202038, 1401202037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.729223012924194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:08:02.727131
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_44_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_35_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_24_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_15_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/13/08/image_09122025_13_09_05_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_54_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_44_9590.jpg', '/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_35_10598.jpg', '/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_24_9601.jpg', '/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_15_9601.jpg', '/home/nano/Desktop/images/09122025/13/08/image_09122025_13_09_05_10624.jpg', '/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_54_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_44_9590.jpg
/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_35_10598.jpg
/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_24_9601.jpg
/home/nano/Desktop/images/09122025/13/09/image_09122025_13_09_15_9601.jpg
/home/nano/Desktop/images/09122025/13/08/image_09122025_13_09_05_10624.jpg
/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_54_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401202234","1401202230","1401202218","1401202196","1401202235","1401202232"],"photo_ids_order":["1401202196","1401202218","1401202230","1401202232","1401202234","1401202235"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8d17445d47a15338d0dd2668a07b96e.jpg","text":"TemporaryFile(/tmp/multipartBody5082238659610349576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794143573,"filename":"image_09122025_13_09_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8214f91b25b99b3bc4f131521e7aa0c.jpg","text":"TemporaryFile(/tmp/multipartBody5921600200179273255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794143573,"filename":"image_09122025_13_09_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/12/27/1a091373b042ec4beb484df12e58a93d.jpg","text":"TemporaryFile(/tmp/multipartBody2219442082249477716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794143573,"filename":"image_09122025_13_09_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb0234ec7c514db13dc67ecccf13f300.jpg","text":"TemporaryFile(/tmp/multipartBody2190066234092635716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794143573,"filename":"image_09122025_13_09_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/12/27/abe9576fe9a7254405fb037c89883220.jpg","text":"TemporaryFile(/tmp/multipartBody3919537713818258091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794143573,"filename":"image_09122025_13_08_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e18482f8cfa9292c4db646bd98f846d2.jpg","text":"TemporaryFile(/tmp/multipartBody877280580780354796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794143573,"filename":"image_09122025_13_09_15_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401202230","file1":"1401202218","file0":"1401202196","file4":"1401202234","file5":"1401202235","file3":"1401202232"},"map_files_photo_id_array":[{"photo_id":"1401202235","filename":"file5"},{"photo_id":"1401202230","filename":"file2"},{"photo_id":"1401202234","filename":"file4"},{"photo_id":"1401202218","filename":"file1"},{"photo_id":"1401202196","filename":"file0"},{"photo_id":"1401202232","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401202234":["hashtag1","hashtag2"]},{"1401202230":["hashtag1","hashtag2"]},{"1401202218":["hashtag1","hashtag2"]},{"1401202196":["hashtag1","hashtag2"]},{"1401202235":["hashtag1","hashtag2"]},{"1401202232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401202234, 1401202230, 1401202218, 1401202196, 1401202235, 1401202232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35009789466858 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:08:47.312489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_45_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_34_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_25_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_15_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/13/07/image_09122025_13_08_04_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_55_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_45_10595.jpg', '/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_34_9609.jpg', '/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_25_9588.jpg', '/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_15_10614.jpg', '/home/nano/Desktop/images/09122025/13/07/image_09122025_13_08_04_9603.jpg', '/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_55_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_45_10595.jpg
/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_34_9609.jpg
/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_25_9588.jpg
/home/nano/Desktop/images/09122025/13/08/image_09122025_13_08_15_10614.jpg
/home/nano/Desktop/images/09122025/13/07/image_09122025_13_08_04_9603.jpg
/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_55_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401202255","1401202263","1401202257","1401202253","1401202250","1401202252"],"photo_ids_order":["1401202250","1401202252","1401202253","1401202255","1401202257","1401202263"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5eaadf178dc581a9c9f7e03f7ff71bd.jpg","text":"TemporaryFile(/tmp/multipartBody7427540412932552913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794188093,"filename":"image_09122025_13_08_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c89cfb01ae37f3d3589f67aba5980f7.jpg","text":"TemporaryFile(/tmp/multipartBody5198575249400200771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794188093,"filename":"image_09122025_13_07_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53263b23090fe52f866b57b5d495916e.jpg","text":"TemporaryFile(/tmp/multipartBody3401866898075301323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794188093,"filename":"image_09122025_13_08_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f472e4abaa5fada15e1e2714c1ba54d7.jpg","text":"TemporaryFile(/tmp/multipartBody8200727431076683580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794188093,"filename":"image_09122025_13_08_25_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51a4118f0ba2bec12c85fa9d1286ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody8299145914158432952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794188093,"filename":"image_09122025_13_08_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a1620718b9b3134e32e393979e71781.jpg","text":"TemporaryFile(/tmp/multipartBody7696550466697666457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794188093,"filename":"image_09122025_13_08_34_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401202253","file1":"1401202252","file0":"1401202250","file4":"1401202257","file5":"1401202263","file3":"1401202255"},"map_files_photo_id_array":[{"photo_id":"1401202263","filename":"file5"},{"photo_id":"1401202253","filename":"file2"},{"photo_id":"1401202257","filename":"file4"},{"photo_id":"1401202252","filename":"file1"},{"photo_id":"1401202250","filename":"file0"},{"photo_id":"1401202255","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401202255":["hashtag1","hashtag2"]},{"1401202263":["hashtag1","hashtag2"]},{"1401202257":["hashtag1","hashtag2"]},{"1401202253":["hashtag1","hashtag2"]},{"1401202250":["hashtag1","hashtag2"]},{"1401202252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401202255, 1401202263, 1401202257, 1401202253, 1401202250, 1401202252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.940181493759155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:09:32.435032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_44_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_35_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_25_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/06/image_09122025_13_07_05_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_54_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_44_9592.jpg', '/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_35_9586.jpg', '/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_25_10594.jpg', '/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_14_9604.jpg', '/home/nano/Desktop/images/09122025/13/06/image_09122025_13_07_05_10605.jpg', '/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_54_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_44_9592.jpg
/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_35_9586.jpg
/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_25_10594.jpg
/home/nano/Desktop/images/09122025/13/07/image_09122025_13_07_14_9604.jpg
/home/nano/Desktop/images/09122025/13/06/image_09122025_13_07_05_10605.jpg
/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_54_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401202473","1401202368","1401202443","1401202506","1401202334","1401202409"],"photo_ids_order":["1401202334","1401202368","1401202409","1401202443","1401202473","1401202506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/082990078560c8e13219bb851f336d4c.jpg","text":"TemporaryFile(/tmp/multipartBody570911868272485319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794233243,"filename":"image_09122025_13_07_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdac9b22ca56892dcaf8a17227fff5ba.jpg","text":"TemporaryFile(/tmp/multipartBody7683714621630049208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794233243,"filename":"image_09122025_13_07_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8f758bd61487e8c2aa8b155fb5afc13.jpg","text":"TemporaryFile(/tmp/multipartBody1972905629019948179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794233243,"filename":"image_09122025_13_07_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a3046096d3d9917e3224a39da3a8538.jpg","text":"TemporaryFile(/tmp/multipartBody8122736828641666781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794233243,"filename":"image_09122025_13_06_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f99029d7db56146a73e9ebb3c7d6df9f.jpg","text":"TemporaryFile(/tmp/multipartBody8701656170910000692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794233243,"filename":"image_09122025_13_07_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/12/27/4ff08e763bb9a37e0336d39831d4da2d.jpg","text":"TemporaryFile(/tmp/multipartBody8325486294868072151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794233243,"filename":"image_09122025_13_07_25_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401202409","file1":"1401202368","file0":"1401202334","file4":"1401202473","file5":"1401202506","file3":"1401202443"},"map_files_photo_id_array":[{"photo_id":"1401202506","filename":"file5"},{"photo_id":"1401202409","filename":"file2"},{"photo_id":"1401202473","filename":"file4"},{"photo_id":"1401202368","filename":"file1"},{"photo_id":"1401202334","filename":"file0"},{"photo_id":"1401202443","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401202473":["hashtag1","hashtag2"]},{"1401202368":["hashtag1","hashtag2"]},{"1401202443":["hashtag1","hashtag2"]},{"1401202506":["hashtag1","hashtag2"]},{"1401202334":["hashtag1","hashtag2"]},{"1401202409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401202473, 1401202368, 1401202443, 1401202506, 1401202334, 1401202409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11880159378052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:10:17.644193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_45_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_24_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_15_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/13/05/image_09122025_13_06_04_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_55_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_45_9587.jpg', '/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_35_10596.jpg', '/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_24_9585.jpg', '/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_15_10620.jpg', '/home/nano/Desktop/images/09122025/13/05/image_09122025_13_06_04_9588.jpg', '/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_55_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_45_9587.jpg
/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_35_10596.jpg
/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_24_9585.jpg
/home/nano/Desktop/images/09122025/13/06/image_09122025_13_06_15_10620.jpg
/home/nano/Desktop/images/09122025/13/05/image_09122025_13_06_04_9588.jpg
/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_55_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":["1401203049","1401202995","1401202899","1401202854","1401202951","1401202789"],"photo_ids_order":["1401202789","1401202854","1401202899","1401202951","1401202995","1401203049"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/718b2b82e945c51925771c533b2222c0.jpg","text":"TemporaryFile(/tmp/multipartBody7620587089159164459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794278429,"filename":"image_09122025_13_05_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4f463836e73a7f0fa77f0a81e208aad.jpg","text":"TemporaryFile(/tmp/multipartBody125673866437912148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794278429,"filename":"image_09122025_13_06_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3056403a3ba45d73eb9a3cee88a7a7a.jpg","text":"TemporaryFile(/tmp/multipartBody3177417922700757733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794278429,"filename":"image_09122025_13_06_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50880fdf5d756ea4ae82af2f5bf694a9.jpg","text":"TemporaryFile(/tmp/multipartBody8333655995266461716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794278429,"filename":"image_09122025_13_06_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b6448fc9f8525151d05eeeebe0030ac.jpg","text":"TemporaryFile(/tmp/multipartBody8709711644548713309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794278429,"filename":"image_09122025_13_06_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b19f683a3b4d78135cf4d5154948ec2.jpg","text":"TemporaryFile(/tmp/multipartBody482968175598017185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794278429,"filename":"image_09122025_13_06_45_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401202899","file1":"1401202854","file0":"1401202789","file4":"1401202995","file5":"1401203049","file3":"1401202951"},"map_files_photo_id_array":[{"photo_id":"1401203049","filename":"file5"},{"photo_id":"1401202899","filename":"file2"},{"photo_id":"1401202995","filename":"file4"},{"photo_id":"1401202854","filename":"file1"},{"photo_id":"1401202789","filename":"file0"},{"photo_id":"1401202951","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203049":["hashtag1","hashtag2"]},{"1401202995":["hashtag1","hashtag2"]},{"1401202899":["hashtag1","hashtag2"]},{"1401202854":["hashtag1","hashtag2"]},{"1401202951":["hashtag1","hashtag2"]},{"1401202789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203049, 1401202995, 1401202899, 1401202854, 1401202951, 1401202789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82239055633545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:11:03.118927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_34_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_25_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_14_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/13/04/image_09122025_13_05_05_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_55_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_45_10597.jpg', '/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_34_9588.jpg', '/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_25_10595.jpg', '/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_14_9599.jpg', '/home/nano/Desktop/images/09122025/13/04/image_09122025_13_05_05_9598.jpg', '/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_55_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_45_10597.jpg
/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_34_9588.jpg
/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_25_10595.jpg
/home/nano/Desktop/images/09122025/13/05/image_09122025_13_05_14_9599.jpg
/home/nano/Desktop/images/09122025/13/04/image_09122025_13_05_05_9598.jpg
/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_55_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203195","1401203192","1401203186","1401203188","1401203185","1401203190"],"photo_ids_order":["1401203185","1401203186","1401203188","1401203190","1401203192","1401203195"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aea7d740cc4c138969b039ed5e478608.jpg","text":"TemporaryFile(/tmp/multipartBody3215460016326136982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794323918,"filename":"image_09122025_13_04_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c9dee7dfbe336fd2deea29e2f27e0e2.jpg","text":"TemporaryFile(/tmp/multipartBody3677738598216638701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794323918,"filename":"image_09122025_13_05_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f9c251a8cdd3fa01419de36ca000046.jpg","text":"TemporaryFile(/tmp/multipartBody940006220034610593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794323918,"filename":"image_09122025_13_05_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/12/27/a2a7465f148438b80ade6aa7a93a120b.jpg","text":"TemporaryFile(/tmp/multipartBody3805044871680862121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794323918,"filename":"image_09122025_13_05_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffe6e89b2d3b3c69e32685a0daf7122f.jpg","text":"TemporaryFile(/tmp/multipartBody6096920356297816874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794323918,"filename":"image_09122025_13_05_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58e8d93443f6508e8752b3e7288afac9.jpg","text":"TemporaryFile(/tmp/multipartBody6550859927617149923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794323918,"filename":"image_09122025_13_05_14_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203188","file1":"1401203186","file0":"1401203185","file4":"1401203192","file5":"1401203195","file3":"1401203190"},"map_files_photo_id_array":[{"photo_id":"1401203195","filename":"file5"},{"photo_id":"1401203188","filename":"file2"},{"photo_id":"1401203192","filename":"file4"},{"photo_id":"1401203186","filename":"file1"},{"photo_id":"1401203185","filename":"file0"},{"photo_id":"1401203190","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203195":["hashtag1","hashtag2"]},{"1401203192":["hashtag1","hashtag2"]},{"1401203186":["hashtag1","hashtag2"]},{"1401203188":["hashtag1","hashtag2"]},{"1401203185":["hashtag1","hashtag2"]},{"1401203190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203195, 1401203192, 1401203186, 1401203188, 1401203185, 1401203190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28643178939819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:11:47.715929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_44_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_35_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_15_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/03/image_09122025_13_04_05_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_54_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_44_9584.jpg', '/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_35_10597.jpg', '/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_24_9588.jpg', '/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_15_9586.jpg', '/home/nano/Desktop/images/09122025/13/03/image_09122025_13_04_05_10611.jpg', '/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_54_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_44_9584.jpg
/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_35_10597.jpg
/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_24_9588.jpg
/home/nano/Desktop/images/09122025/13/04/image_09122025_13_04_15_9586.jpg
/home/nano/Desktop/images/09122025/13/03/image_09122025_13_04_05_10611.jpg
/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_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":["1401203394","1401203289","1401203322","1401203357","1401203429","1401203254"],"photo_ids_order":["1401203254","1401203289","1401203322","1401203357","1401203394","1401203429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f693148856c2149e1e17d9ad51101189.jpg","text":"TemporaryFile(/tmp/multipartBody5672466449378587918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794368517,"filename":"image_09122025_13_04_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2408196fea9cb8bc53fa749384e7399c.jpg","text":"TemporaryFile(/tmp/multipartBody7638588222159507169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794368517,"filename":"image_09122025_13_04_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2053ac291e91862709f498f0f3709aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6681424296440562071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794368517,"filename":"image_09122025_13_04_24_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8b617793e9467525e7abc581baa669c.jpg","text":"TemporaryFile(/tmp/multipartBody3300646678255202703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794368517,"filename":"image_09122025_13_04_15_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef6ec77e80371b0e546a32d66565b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody7655311555228746537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794368517,"filename":"image_09122025_13_03_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/12/27/928286759097bc9beb0e4ba01341e539.jpg","text":"TemporaryFile(/tmp/multipartBody1223844365295640549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794368517,"filename":"image_09122025_13_04_44_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203322","file1":"1401203289","file0":"1401203254","file4":"1401203394","file5":"1401203429","file3":"1401203357"},"map_files_photo_id_array":[{"photo_id":"1401203429","filename":"file5"},{"photo_id":"1401203322","filename":"file2"},{"photo_id":"1401203394","filename":"file4"},{"photo_id":"1401203289","filename":"file1"},{"photo_id":"1401203254","filename":"file0"},{"photo_id":"1401203357","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203394":["hashtag1","hashtag2"]},{"1401203289":["hashtag1","hashtag2"]},{"1401203322":["hashtag1","hashtag2"]},{"1401203357":["hashtag1","hashtag2"]},{"1401203429":["hashtag1","hashtag2"]},{"1401203254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203394, 1401203289, 1401203322, 1401203357, 1401203429, 1401203254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.393166065216064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:12:31.798773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_25_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_14_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/13/02/image_09122025_13_03_04_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_55_10597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_45_10597.jpg', '/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_34_9586.jpg', '/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_25_10595.jpg', '/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_14_9615.jpg', '/home/nano/Desktop/images/09122025/13/02/image_09122025_13_03_04_9604.jpg', '/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_55_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_45_10597.jpg
/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_34_9586.jpg
/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_25_10595.jpg
/home/nano/Desktop/images/09122025/13/03/image_09122025_13_03_14_9615.jpg
/home/nano/Desktop/images/09122025/13/02/image_09122025_13_03_04_9604.jpg
/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_55_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203571","1401203550","1401203538","1401203547","1401203501","1401203467"],"photo_ids_order":["1401203467","1401203501","1401203538","1401203547","1401203550","1401203571"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67eedaa11c3a04d0413b04fa6126e8db.jpg","text":"TemporaryFile(/tmp/multipartBody2577404583047036856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794412588,"filename":"image_09122025_13_02_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6efb0aa4469d570f4ae3562f40377159.jpg","text":"TemporaryFile(/tmp/multipartBody8678221965451504992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794412588,"filename":"image_09122025_13_03_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/12/27/a6e40962dfd72452b48d8bc3880ff9d8.jpg","text":"TemporaryFile(/tmp/multipartBody4988572344793857530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794412588,"filename":"image_09122025_13_03_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42c79c76397fcb80f63098c9279fc1a6.jpg","text":"TemporaryFile(/tmp/multipartBody5965529778589636627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794412588,"filename":"image_09122025_13_03_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/12/27/cc0556e365107b05c9bac14b21371dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4362444854233909025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794412588,"filename":"image_09122025_13_03_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e469e762208924e23597926052cf8b12.jpg","text":"TemporaryFile(/tmp/multipartBody5172737746226867384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794412588,"filename":"image_09122025_13_03_45_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203538","file1":"1401203501","file0":"1401203467","file4":"1401203550","file5":"1401203571","file3":"1401203547"},"map_files_photo_id_array":[{"photo_id":"1401203571","filename":"file5"},{"photo_id":"1401203538","filename":"file2"},{"photo_id":"1401203550","filename":"file4"},{"photo_id":"1401203501","filename":"file1"},{"photo_id":"1401203467","filename":"file0"},{"photo_id":"1401203547","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203571":["hashtag1","hashtag2"]},{"1401203550":["hashtag1","hashtag2"]},{"1401203538":["hashtag1","hashtag2"]},{"1401203547":["hashtag1","hashtag2"]},{"1401203501":["hashtag1","hashtag2"]},{"1401203467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203571, 1401203550, 1401203538, 1401203547, 1401203501, 1401203467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.277570724487305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:13:16.887132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_44_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_24_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_14_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/13/01/image_09122025_13_02_05_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_54_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_44_9587.jpg', '/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_35_10596.jpg', '/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_24_9586.jpg', '/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_14_9621.jpg', '/home/nano/Desktop/images/09122025/13/01/image_09122025_13_02_05_10602.jpg', '/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_54_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_44_9587.jpg
/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_35_10596.jpg
/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_24_9586.jpg
/home/nano/Desktop/images/09122025/13/02/image_09122025_13_02_14_9621.jpg
/home/nano/Desktop/images/09122025/13/01/image_09122025_13_02_05_10602.jpg
/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_54_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":["1401203619","1401203610","1401203621","1401203612","1401203614","1401203617"],"photo_ids_order":["1401203610","1401203612","1401203614","1401203617","1401203619","1401203621"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c0caf8d5186b257ffd7b7dfad2926bc.jpg","text":"TemporaryFile(/tmp/multipartBody1756871602600818359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794457672,"filename":"image_09122025_13_02_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e45e0b0202584894ccdccead94a32c2.jpg","text":"TemporaryFile(/tmp/multipartBody3164649058805904161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794457672,"filename":"image_09122025_13_02_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dc59d9134d369d6617fd268ab984013.jpg","text":"TemporaryFile(/tmp/multipartBody1773462918329291781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794457672,"filename":"image_09122025_13_01_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de0c54eca15489fc8406c8b8272819fa.jpg","text":"TemporaryFile(/tmp/multipartBody2358382450568582756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794457672,"filename":"image_09122025_13_02_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04169bca84fb3a2f49bfeca5f4c9af0e.jpg","text":"TemporaryFile(/tmp/multipartBody2794641197467890621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794457672,"filename":"image_09122025_13_02_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a7395a75bb810d440756f1e03510c57.jpg","text":"TemporaryFile(/tmp/multipartBody3058748634756305797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794457672,"filename":"image_09122025_13_02_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203614","file1":"1401203612","file0":"1401203610","file4":"1401203619","file5":"1401203621","file3":"1401203617"},"map_files_photo_id_array":[{"photo_id":"1401203621","filename":"file5"},{"photo_id":"1401203614","filename":"file2"},{"photo_id":"1401203619","filename":"file4"},{"photo_id":"1401203612","filename":"file1"},{"photo_id":"1401203610","filename":"file0"},{"photo_id":"1401203617","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203619":["hashtag1","hashtag2"]},{"1401203610":["hashtag1","hashtag2"]},{"1401203621":["hashtag1","hashtag2"]},{"1401203612":["hashtag1","hashtag2"]},{"1401203614":["hashtag1","hashtag2"]},{"1401203617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203619, 1401203610, 1401203621, 1401203612, 1401203614, 1401203617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10618185997009 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:14:02.690711
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_45_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_34_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_25_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_15_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/13/00/image_09122025_13_01_04_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_55_10597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_45_10596.jpg', '/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_34_9588.jpg', '/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_25_9586.jpg', '/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_15_10613.jpg', '/home/nano/Desktop/images/09122025/13/00/image_09122025_13_01_04_9596.jpg', '/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_55_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_45_10596.jpg
/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_34_9588.jpg
/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_25_9586.jpg
/home/nano/Desktop/images/09122025/13/01/image_09122025_13_01_15_10613.jpg
/home/nano/Desktop/images/09122025/13/00/image_09122025_13_01_04_9596.jpg
/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_55_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203631","1401203625","1401203628","1401203624","1401203629","1401203626"],"photo_ids_order":["1401203624","1401203625","1401203626","1401203628","1401203629","1401203631"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3cd955e11ee7340cf6d04056b59da2e9.jpg","text":"TemporaryFile(/tmp/multipartBody8410449251007863445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794503550,"filename":"image_09122025_13_00_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abb12a43cfd2e839a3c081b7166e0ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2776344019989695435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794503550,"filename":"image_09122025_13_01_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/12/27/4bc6c10aa1044bb69b08df502c2a0cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8481598706668667158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794503550,"filename":"image_09122025_13_01_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f3e1bc3c59a36fb8b7ce55cead43e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8718218978483280128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794503550,"filename":"image_09122025_13_01_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0361c51256028f2c07ca7ea474c3725.jpg","text":"TemporaryFile(/tmp/multipartBody2448479919171997077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794503550,"filename":"image_09122025_13_01_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c3ab2710d5d6f2a1feecb0d111dfdc2.jpg","text":"TemporaryFile(/tmp/multipartBody5284889712648261206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794503550,"filename":"image_09122025_13_01_25_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203626","file1":"1401203625","file0":"1401203624","file4":"1401203629","file5":"1401203631","file3":"1401203628"},"map_files_photo_id_array":[{"photo_id":"1401203631","filename":"file5"},{"photo_id":"1401203626","filename":"file2"},{"photo_id":"1401203629","filename":"file4"},{"photo_id":"1401203625","filename":"file1"},{"photo_id":"1401203624","filename":"file0"},{"photo_id":"1401203628","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203631":["hashtag1","hashtag2"]},{"1401203625":["hashtag1","hashtag2"]},{"1401203628":["hashtag1","hashtag2"]},{"1401203624":["hashtag1","hashtag2"]},{"1401203629":["hashtag1","hashtag2"]},{"1401203626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203631, 1401203625, 1401203628, 1401203624, 1401203629, 1401203626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71187233924866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:14:46.989715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_44_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_35_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_14_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/12/59/image_09122025_13_00_05_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_54_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_44_9602.jpg', '/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_35_9586.jpg', '/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_25_10595.jpg', '/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_14_9609.jpg', '/home/nano/Desktop/images/09122025/12/59/image_09122025_13_00_05_10602.jpg', '/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_54_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_44_9602.jpg
/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_35_9586.jpg
/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_25_10595.jpg
/home/nano/Desktop/images/09122025/13/00/image_09122025_13_00_14_9609.jpg
/home/nano/Desktop/images/09122025/12/59/image_09122025_13_00_05_10602.jpg
/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_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":["1401203646","1401203649","1401203648","1401203651","1401203650","1401203647"],"photo_ids_order":["1401203646","1401203647","1401203648","1401203649","1401203650","1401203651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca51cc281122ed8ed8c14320e69723e1.jpg","text":"TemporaryFile(/tmp/multipartBody84327422344741804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794547786,"filename":"image_09122025_13_00_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/12/27/533d510c825e404893833afdf6fced23.jpg","text":"TemporaryFile(/tmp/multipartBody1609772261797687512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794547786,"filename":"image_09122025_13_00_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/12/27/c950990c1adb3c2bfeefae988eaf04f3.jpg","text":"TemporaryFile(/tmp/multipartBody4330417686739373761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794547786,"filename":"image_09122025_13_00_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40e9bd5d530b5de4cef479b0434821e0.jpg","text":"TemporaryFile(/tmp/multipartBody3696692722306137383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794547786,"filename":"image_09122025_12_59_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/12/27/afb229047ede20953a0125c7356ef025.jpg","text":"TemporaryFile(/tmp/multipartBody8843898772431456655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794547786,"filename":"image_09122025_13_00_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e827c0c5948ea88c37dfdea7988ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody3740667650509076981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794547786,"filename":"image_09122025_13_00_35_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203648","file1":"1401203647","file0":"1401203646","file4":"1401203650","file5":"1401203651","file3":"1401203649"},"map_files_photo_id_array":[{"photo_id":"1401203651","filename":"file5"},{"photo_id":"1401203648","filename":"file2"},{"photo_id":"1401203650","filename":"file4"},{"photo_id":"1401203647","filename":"file1"},{"photo_id":"1401203646","filename":"file0"},{"photo_id":"1401203649","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203646":["hashtag1","hashtag2"]},{"1401203649":["hashtag1","hashtag2"]},{"1401203648":["hashtag1","hashtag2"]},{"1401203651":["hashtag1","hashtag2"]},{"1401203650":["hashtag1","hashtag2"]},{"1401203647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203646, 1401203649, 1401203648, 1401203651, 1401203650, 1401203647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.372392654418945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:15:32.141497
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/01/15/image_27122025_01_15_24_9506.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/01/15/image_27122025_01_15_24_9506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/01/15/image_27122025_01_15_24_9506.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203655"],"photo_id":"1401203655","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d14a166c2d1914963ae3eb05f30339ca.jpg","text":"TemporaryFile(/tmp/multipartBody5757261245755348151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794592393,"filename":"image_27122025_01_15_24_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401203655"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401203655"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.842483520507812 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:15:47.085170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_45_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_35_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_15_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/12/58/image_09122025_12_59_04_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_55_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_45_9590.jpg', '/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_35_10616.jpg', '/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_24_9587.jpg', '/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_15_10611.jpg', '/home/nano/Desktop/images/09122025/12/58/image_09122025_12_59_04_9605.jpg', '/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_55_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_45_9590.jpg
/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_35_10616.jpg
/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_24_9587.jpg
/home/nano/Desktop/images/09122025/12/59/image_09122025_12_59_15_10611.jpg
/home/nano/Desktop/images/09122025/12/58/image_09122025_12_59_04_9605.jpg
/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_55_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":["1401203670","1401203664","1401203667","1401203666","1401203669","1401203668"],"photo_ids_order":["1401203664","1401203666","1401203667","1401203668","1401203669","1401203670"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6503912d664d947145e7836347c2562d.jpg","text":"TemporaryFile(/tmp/multipartBody850741607705189393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794607877,"filename":"image_09122025_12_58_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c786419dddcca67ca913dd4e4ab746a5.jpg","text":"TemporaryFile(/tmp/multipartBody4559762306507097067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794607877,"filename":"image_09122025_12_59_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8dae695fbaaedc4a316c9ba11a6e4f76.jpg","text":"TemporaryFile(/tmp/multipartBody7817310674417255315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794607877,"filename":"image_09122025_12_59_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b4f865239c29d060760f0a6a9726e83.jpg","text":"TemporaryFile(/tmp/multipartBody1435433250077681614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794607877,"filename":"image_09122025_12_59_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c13c15ea198c3facddd86fc8b2093c6.jpg","text":"TemporaryFile(/tmp/multipartBody4199259815237506402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794607877,"filename":"image_09122025_12_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/12/27/3e7b0193e4a23988b3f295a1411472d9.jpg","text":"TemporaryFile(/tmp/multipartBody4239002456946175421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794607877,"filename":"image_09122025_12_59_15_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203667","file1":"1401203666","file0":"1401203664","file4":"1401203669","file5":"1401203670","file3":"1401203668"},"map_files_photo_id_array":[{"photo_id":"1401203670","filename":"file5"},{"photo_id":"1401203667","filename":"file2"},{"photo_id":"1401203669","filename":"file4"},{"photo_id":"1401203666","filename":"file1"},{"photo_id":"1401203664","filename":"file0"},{"photo_id":"1401203668","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203670":["hashtag1","hashtag2"]},{"1401203664":["hashtag1","hashtag2"]},{"1401203667":["hashtag1","hashtag2"]},{"1401203666":["hashtag1","hashtag2"]},{"1401203669":["hashtag1","hashtag2"]},{"1401203668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203670, 1401203664, 1401203667, 1401203666, 1401203669, 1401203668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63356137275696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:16:32.204911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_45_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_25_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/12/57/image_09122025_12_58_05_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_55_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_45_10595.jpg', '/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_34_9586.jpg', '/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_25_10595.jpg', '/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_14_9603.jpg', '/home/nano/Desktop/images/09122025/12/57/image_09122025_12_58_05_9600.jpg', '/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_55_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_45_10595.jpg
/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_34_9586.jpg
/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_25_10595.jpg
/home/nano/Desktop/images/09122025/12/58/image_09122025_12_58_14_9603.jpg
/home/nano/Desktop/images/09122025/12/57/image_09122025_12_58_05_9600.jpg
/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_55_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203690","1401203684","1401203687","1401203678","1401203689","1401203677"],"photo_ids_order":["1401203677","1401203678","1401203684","1401203687","1401203689","1401203690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/040dc3e950161ccce15bac7fee01feda.jpg","text":"TemporaryFile(/tmp/multipartBody773428088105119453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794653008,"filename":"image_09122025_12_57_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71a517ab6a8829e7c73bb5192b5cfdbf.jpg","text":"TemporaryFile(/tmp/multipartBody2497975080242055538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794653008,"filename":"image_09122025_12_58_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08d8092e7ca6be48a4a6045cf5f00efd.jpg","text":"TemporaryFile(/tmp/multipartBody400532376858416216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794653008,"filename":"image_09122025_12_58_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74cbf15cc16961920cea906491196811.jpg","text":"TemporaryFile(/tmp/multipartBody2171634517573304850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794653008,"filename":"image_09122025_12_58_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12c4cdd30c47fad65a1dfc2399ec9f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1369878915964607801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794653008,"filename":"image_09122025_12_58_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a59feaf4be280ad802420fad86fb8b95.jpg","text":"TemporaryFile(/tmp/multipartBody6331159095249698910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794653008,"filename":"image_09122025_12_58_45_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203684","file1":"1401203678","file0":"1401203677","file4":"1401203689","file5":"1401203690","file3":"1401203687"},"map_files_photo_id_array":[{"photo_id":"1401203690","filename":"file5"},{"photo_id":"1401203684","filename":"file2"},{"photo_id":"1401203689","filename":"file4"},{"photo_id":"1401203678","filename":"file1"},{"photo_id":"1401203677","filename":"file0"},{"photo_id":"1401203687","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203690":["hashtag1","hashtag2"]},{"1401203684":["hashtag1","hashtag2"]},{"1401203687":["hashtag1","hashtag2"]},{"1401203678":["hashtag1","hashtag2"]},{"1401203689":["hashtag1","hashtag2"]},{"1401203677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203690, 1401203684, 1401203687, 1401203678, 1401203689, 1401203677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.017706871032715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:17:17.312562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_44_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_35_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_24_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_15_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_57_05_10606.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_54_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_44_9589.jpg', '/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_35_10594.jpg', '/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_24_9586.jpg', '/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_15_9594.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_57_05_10606.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_54_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_44_9589.jpg
/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_35_10594.jpg
/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_24_9586.jpg
/home/nano/Desktop/images/09122025/12/57/image_09122025_12_57_15_9594.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_57_05_10606.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_54_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":["1401203697","1401203706","1401203699","1401203708","1401203701","1401203704"],"photo_ids_order":["1401203697","1401203699","1401203701","1401203704","1401203706","1401203708"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6e2df0016369ead31407bbe8aaef2dc.jpg","text":"TemporaryFile(/tmp/multipartBody2093009070021250048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794698103,"filename":"image_09122025_12_57_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e273dda536173fd0cec853d1242c1902.jpg","text":"TemporaryFile(/tmp/multipartBody1714247877590497468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794698103,"filename":"image_09122025_12_57_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c2964020a16a65a2687c94d5d62ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody3592075951470202207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794698103,"filename":"image_09122025_12_57_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b79485ddebe2aecaab86920265d3118.jpg","text":"TemporaryFile(/tmp/multipartBody2675277762690370941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794698103,"filename":"image_09122025_12_56_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b999543ae69f837888932e618884e7f.jpg","text":"TemporaryFile(/tmp/multipartBody6139547946118582334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794698103,"filename":"image_09122025_12_57_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7eeb4c857864abc56fc68eec470b8dff.jpg","text":"TemporaryFile(/tmp/multipartBody4377085166097262982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794698103,"filename":"image_09122025_12_57_15_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203701","file1":"1401203699","file0":"1401203697","file4":"1401203706","file5":"1401203708","file3":"1401203704"},"map_files_photo_id_array":[{"photo_id":"1401203708","filename":"file5"},{"photo_id":"1401203701","filename":"file2"},{"photo_id":"1401203706","filename":"file4"},{"photo_id":"1401203699","filename":"file1"},{"photo_id":"1401203697","filename":"file0"},{"photo_id":"1401203704","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203697":["hashtag1","hashtag2"]},{"1401203706":["hashtag1","hashtag2"]},{"1401203699":["hashtag1","hashtag2"]},{"1401203708":["hashtag1","hashtag2"]},{"1401203701":["hashtag1","hashtag2"]},{"1401203704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203697, 1401203706, 1401203699, 1401203708, 1401203701, 1401203704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11683630943298 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:18:02.748121
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_25_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_15_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_56_04_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_55_10597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_45_10597.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_34_9586.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_25_9589.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_15_10611.jpg', '/home/nano/Desktop/images/09122025/12/55/image_09122025_12_56_04_9606.jpg', '/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_55_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_45_10597.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_34_9586.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_25_9589.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_15_10611.jpg
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_56_04_9606.jpg
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_55_10597.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7579731941223145 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:18:17.385562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_25_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_15_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_56_04_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_55_10597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_45_10597.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_34_9586.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_25_9589.jpg', '/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_15_10611.jpg', '/home/nano/Desktop/images/09122025/12/55/image_09122025_12_56_04_9606.jpg', '/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_55_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_45_10597.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_34_9586.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_25_9589.jpg
/home/nano/Desktop/images/09122025/12/56/image_09122025_12_56_15_10611.jpg
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_56_04_9606.jpg
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_55_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203735","1401203729","1401203738","1401203732","1401203726","1401203740"],"photo_ids_order":["1401203726","1401203729","1401203732","1401203735","1401203738","1401203740"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c1f46ebebd9e3fe8079067ef0435f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6462052558656563133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794758164,"filename":"image_09122025_12_56_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35c128409cdbbace62dedac388ca7bc9.jpg","text":"TemporaryFile(/tmp/multipartBody4018960315004407930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794758164,"filename":"image_09122025_12_56_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3f8513dbfcaffeb44410a36720765ea.jpg","text":"TemporaryFile(/tmp/multipartBody8170746355189221647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794758164,"filename":"image_09122025_12_56_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/12/27/5707744a76c32ab50e83cd8885adb32e.jpg","text":"TemporaryFile(/tmp/multipartBody5990381321969872030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794758164,"filename":"image_09122025_12_56_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf230152acf4beb19e837297470ed44e.jpg","text":"TemporaryFile(/tmp/multipartBody754652386829455865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794758164,"filename":"image_09122025_12_56_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21a4ad57ffbdc9a5d2a2dba78e303b52.jpg","text":"TemporaryFile(/tmp/multipartBody4702845669282078010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794758164,"filename":"image_09122025_12_55_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203732","file1":"1401203729","file0":"1401203726","file4":"1401203738","file5":"1401203740","file3":"1401203735"},"map_files_photo_id_array":[{"photo_id":"1401203740","filename":"file5"},{"photo_id":"1401203732","filename":"file2"},{"photo_id":"1401203738","filename":"file4"},{"photo_id":"1401203729","filename":"file1"},{"photo_id":"1401203726","filename":"file0"},{"photo_id":"1401203735","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203735":["hashtag1","hashtag2"]},{"1401203729":["hashtag1","hashtag2"]},{"1401203738":["hashtag1","hashtag2"]},{"1401203732":["hashtag1","hashtag2"]},{"1401203726":["hashtag1","hashtag2"]},{"1401203740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203735, 1401203729, 1401203738, 1401203732, 1401203726, 1401203740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02213668823242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:19:03.227424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_44_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_35_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_25_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/12/54/image_09122025_12_55_05_10601.jpg', 2), ('/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_54_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_44_9604.jpg', '/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_35_9584.jpg', '/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_25_10596.jpg', '/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_14_9603.jpg', '/home/nano/Desktop/images/09122025/12/54/image_09122025_12_55_05_10601.jpg', '/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_54_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_44_9604.jpg
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_35_9584.jpg
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_25_10596.jpg
/home/nano/Desktop/images/09122025/12/55/image_09122025_12_55_14_9603.jpg
/home/nano/Desktop/images/09122025/12/54/image_09122025_12_55_05_10601.jpg
/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_54_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203760","1401203754","1401203757","1401203748","1401203756","1401203752"],"photo_ids_order":["1401203748","1401203752","1401203754","1401203756","1401203757","1401203760"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74d7474461f3335ab85c36f94c418583.jpg","text":"TemporaryFile(/tmp/multipartBody393640590307883132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794804112,"filename":"image_09122025_12_54_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bed6e39c1e0e291dbaaa30d208dfa00c.jpg","text":"TemporaryFile(/tmp/multipartBody6773042067038478684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794804112,"filename":"image_09122025_12_55_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04018070b1d4c1469ecea706cd552747.jpg","text":"TemporaryFile(/tmp/multipartBody1828403213392049577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794804112,"filename":"image_09122025_12_55_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b35f11fbc67aacc96233ba39144c6b70.jpg","text":"TemporaryFile(/tmp/multipartBody7569872611057837444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794804112,"filename":"image_09122025_12_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/12/27/15a11057378838563adb5694e2a9034e.jpg","text":"TemporaryFile(/tmp/multipartBody4043266291704993480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794804112,"filename":"image_09122025_12_55_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98fbdd9c23d0ebab3b785234a6af572f.jpg","text":"TemporaryFile(/tmp/multipartBody408594318128788779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794804112,"filename":"image_09122025_12_55_35_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203754","file1":"1401203752","file0":"1401203748","file4":"1401203757","file5":"1401203760","file3":"1401203756"},"map_files_photo_id_array":[{"photo_id":"1401203760","filename":"file5"},{"photo_id":"1401203754","filename":"file2"},{"photo_id":"1401203757","filename":"file4"},{"photo_id":"1401203752","filename":"file1"},{"photo_id":"1401203748","filename":"file0"},{"photo_id":"1401203756","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203760":["hashtag1","hashtag2"]},{"1401203754":["hashtag1","hashtag2"]},{"1401203757":["hashtag1","hashtag2"]},{"1401203748":["hashtag1","hashtag2"]},{"1401203756":["hashtag1","hashtag2"]},{"1401203752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203760, 1401203754, 1401203757, 1401203748, 1401203756, 1401203752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40657925605774 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:19:47.506781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_45_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_35_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_15_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/12/53/image_09122025_12_54_04_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_55_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_45_9585.jpg', '/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_35_10594.jpg', '/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_24_9588.jpg', '/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_15_10614.jpg', '/home/nano/Desktop/images/09122025/12/53/image_09122025_12_54_04_9606.jpg', '/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_45_9585.jpg
/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_35_10594.jpg
/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_24_9588.jpg
/home/nano/Desktop/images/09122025/12/54/image_09122025_12_54_15_10614.jpg
/home/nano/Desktop/images/09122025/12/53/image_09122025_12_54_04_9606.jpg
/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_55_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":["1401203769","1401203771","1401203774","1401203768","1401203770","1401203773"],"photo_ids_order":["1401203768","1401203769","1401203770","1401203771","1401203773","1401203774"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c071e4ede62acf5ac255cd573151be27.jpg","text":"TemporaryFile(/tmp/multipartBody7134794492047845247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794848298,"filename":"image_09122025_12_54_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02bbd6f20bea404134618b7891b7f763.jpg","text":"TemporaryFile(/tmp/multipartBody905836907202095995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794848298,"filename":"image_09122025_12_54_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c90ad7608e62aeae7068f63242f8af83.jpg","text":"TemporaryFile(/tmp/multipartBody8580734873097694920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794848298,"filename":"image_09122025_12_53_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6739ef4896b8e7ef3777b95a5684dc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8559951147654640974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794848298,"filename":"image_09122025_12_54_45_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef236c06033f9358283d77b40f478d2d.jpg","text":"TemporaryFile(/tmp/multipartBody9009788301478843353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794848298,"filename":"image_09122025_12_54_24_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf0289e698853d285e7afb5f21184115.jpg","text":"TemporaryFile(/tmp/multipartBody6288904313752270112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794848298,"filename":"image_09122025_12_54_04_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203770","file1":"1401203769","file0":"1401203768","file4":"1401203773","file5":"1401203774","file3":"1401203771"},"map_files_photo_id_array":[{"photo_id":"1401203774","filename":"file5"},{"photo_id":"1401203770","filename":"file2"},{"photo_id":"1401203773","filename":"file4"},{"photo_id":"1401203769","filename":"file1"},{"photo_id":"1401203768","filename":"file0"},{"photo_id":"1401203771","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203769":["hashtag1","hashtag2"]},{"1401203771":["hashtag1","hashtag2"]},{"1401203774":["hashtag1","hashtag2"]},{"1401203768":["hashtag1","hashtag2"]},{"1401203770":["hashtag1","hashtag2"]},{"1401203773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203769, 1401203771, 1401203774, 1401203768, 1401203770, 1401203773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59763503074646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:20:32.608511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_45_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_25_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_14_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/12/52/image_09122025_12_53_05_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_55_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_45_10602.jpg', '/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_34_9586.jpg', '/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_25_10596.jpg', '/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_14_9610.jpg', '/home/nano/Desktop/images/09122025/12/52/image_09122025_12_53_05_9627.jpg', '/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_45_10602.jpg
/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_34_9586.jpg
/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_25_10596.jpg
/home/nano/Desktop/images/09122025/12/53/image_09122025_12_53_14_9610.jpg
/home/nano/Desktop/images/09122025/12/52/image_09122025_12_53_05_9627.jpg
/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_55_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":["1401203808","1401203783","1401203807","1401203791","1401203785","1401203799"],"photo_ids_order":["1401203783","1401203785","1401203791","1401203799","1401203807","1401203808"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc01a2338acba6d2efa21c440c5c8e85.jpg","text":"TemporaryFile(/tmp/multipartBody230591506014122883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794893396,"filename":"image_09122025_12_52_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/423466a0ec7a1083fb9776f4ba046fac.jpg","text":"TemporaryFile(/tmp/multipartBody8851352525228252706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794893396,"filename":"image_09122025_12_53_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11d878409d077f3a2e9b984f72fcf362.jpg","text":"TemporaryFile(/tmp/multipartBody1665018498792141563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794893396,"filename":"image_09122025_12_53_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22ef2b5250cb02b42882b7bca93c5f57.jpg","text":"TemporaryFile(/tmp/multipartBody1785336411342436859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794893396,"filename":"image_09122025_12_53_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50b1423e79952e55b46e35ffdea54593.jpg","text":"TemporaryFile(/tmp/multipartBody4307830894023862517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794893396,"filename":"image_09122025_12_53_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fff2a086f198d162937963e34f040542.jpg","text":"TemporaryFile(/tmp/multipartBody8439180414935746269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794893396,"filename":"image_09122025_12_53_14_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203791","file1":"1401203785","file0":"1401203783","file4":"1401203807","file5":"1401203808","file3":"1401203799"},"map_files_photo_id_array":[{"photo_id":"1401203808","filename":"file5"},{"photo_id":"1401203791","filename":"file2"},{"photo_id":"1401203807","filename":"file4"},{"photo_id":"1401203785","filename":"file1"},{"photo_id":"1401203783","filename":"file0"},{"photo_id":"1401203799","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203808":["hashtag1","hashtag2"]},{"1401203783":["hashtag1","hashtag2"]},{"1401203807":["hashtag1","hashtag2"]},{"1401203791":["hashtag1","hashtag2"]},{"1401203785":["hashtag1","hashtag2"]},{"1401203799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203808, 1401203783, 1401203807, 1401203791, 1401203785, 1401203799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.88115096092224 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:21:17.735094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_24_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_15_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/12/51/image_09122025_12_52_05_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_54_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_44_9586.jpg', '/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_35_10596.jpg', '/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_24_9590.jpg', '/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_15_9603.jpg', '/home/nano/Desktop/images/09122025/12/51/image_09122025_12_52_05_10632.jpg', '/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_54_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_44_9586.jpg
/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_35_10596.jpg
/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_24_9590.jpg
/home/nano/Desktop/images/09122025/12/52/image_09122025_12_52_15_9603.jpg
/home/nano/Desktop/images/09122025/12/51/image_09122025_12_52_05_10632.jpg
/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_54_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203823","1401203832","1401203826","1401203828","1401203830","1401203821"],"photo_ids_order":["1401203821","1401203823","1401203826","1401203828","1401203830","1401203832"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a9ab893af5126399d5894cd9326b7df.jpg","text":"TemporaryFile(/tmp/multipartBody1090328415343461715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794938530,"filename":"image_09122025_12_52_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1de893922fd29f1ef1ae8de06d901bfe.jpg","text":"TemporaryFile(/tmp/multipartBody234043731366668626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794938530,"filename":"image_09122025_12_51_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a08e3af7d7ae1d829d94044ef9a9002.jpg","text":"TemporaryFile(/tmp/multipartBody5483829191342807016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794938530,"filename":"image_09122025_12_52_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a50421b04d43b15b8d8c76ddb329d77b.jpg","text":"TemporaryFile(/tmp/multipartBody3993889043487441521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794938530,"filename":"image_09122025_12_52_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27cf0da105bed1264fe324d57930d45c.jpg","text":"TemporaryFile(/tmp/multipartBody4723559178550890475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794938530,"filename":"image_09122025_12_52_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1e59d50ca9b6066df6ad54110f06d54.jpg","text":"TemporaryFile(/tmp/multipartBody977841115507726118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794938530,"filename":"image_09122025_12_52_44_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203826","file1":"1401203823","file0":"1401203821","file4":"1401203830","file5":"1401203832","file3":"1401203828"},"map_files_photo_id_array":[{"photo_id":"1401203832","filename":"file5"},{"photo_id":"1401203826","filename":"file2"},{"photo_id":"1401203830","filename":"file4"},{"photo_id":"1401203823","filename":"file1"},{"photo_id":"1401203821","filename":"file0"},{"photo_id":"1401203828","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203823":["hashtag1","hashtag2"]},{"1401203832":["hashtag1","hashtag2"]},{"1401203826":["hashtag1","hashtag2"]},{"1401203828":["hashtag1","hashtag2"]},{"1401203830":["hashtag1","hashtag2"]},{"1401203821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203823, 1401203832, 1401203826, 1401203828, 1401203830, 1401203821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14970278739929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:22:02.054534
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_45_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_34_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_25_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_15_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/12/50/image_09122025_12_51_04_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_45_10596.jpg', '/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_34_9584.jpg', '/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_25_9586.jpg', '/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_15_10613.jpg', '/home/nano/Desktop/images/09122025/12/50/image_09122025_12_51_04_9607.jpg', '/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_45_10596.jpg
/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_34_9584.jpg
/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_25_9586.jpg
/home/nano/Desktop/images/09122025/12/51/image_09122025_12_51_15_10613.jpg
/home/nano/Desktop/images/09122025/12/50/image_09122025_12_51_04_9607.jpg
/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_55_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":["1401203835","1401203838","1401203840","1401203837","1401203839","1401203836"],"photo_ids_order":["1401203835","1401203836","1401203837","1401203838","1401203839","1401203840"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1be1a8cae9af214ab952c98d5fbebd9e.jpg","text":"TemporaryFile(/tmp/multipartBody6145558770327148498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794982880,"filename":"image_09122025_12_51_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4220a7529a0ed56b10410c7e0eae819e.jpg","text":"TemporaryFile(/tmp/multipartBody2810410715185406979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794982880,"filename":"image_09122025_12_51_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7bc4013d088dfd41ecab8388e490b828.jpg","text":"TemporaryFile(/tmp/multipartBody4984277796777785439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794982880,"filename":"image_09122025_12_50_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/096eabb437db2478e8604a66ffd52eec.jpg","text":"TemporaryFile(/tmp/multipartBody4109036461863015892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794982880,"filename":"image_09122025_12_51_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4770754eb3da1d0f8ef5b3612803fe73.jpg","text":"TemporaryFile(/tmp/multipartBody7411006215606421568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794982880,"filename":"image_09122025_12_51_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/12/27/c1c9f9a9542205936c0d528ee778c2ce.jpg","text":"TemporaryFile(/tmp/multipartBody1270934637191170525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766794982880,"filename":"image_09122025_12_51_34_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203837","file1":"1401203836","file0":"1401203835","file4":"1401203839","file5":"1401203840","file3":"1401203838"},"map_files_photo_id_array":[{"photo_id":"1401203840","filename":"file5"},{"photo_id":"1401203837","filename":"file2"},{"photo_id":"1401203839","filename":"file4"},{"photo_id":"1401203836","filename":"file1"},{"photo_id":"1401203835","filename":"file0"},{"photo_id":"1401203838","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203835":["hashtag1","hashtag2"]},{"1401203838":["hashtag1","hashtag2"]},{"1401203840":["hashtag1","hashtag2"]},{"1401203837":["hashtag1","hashtag2"]},{"1401203839":["hashtag1","hashtag2"]},{"1401203836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203835, 1401203838, 1401203840, 1401203837, 1401203839, 1401203836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97956895828247 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:22:46.845011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_35_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_25_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_14_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/12/49/image_09122025_12_50_05_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_54_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_44_9586.jpg', '/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_35_9603.jpg', '/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_25_10598.jpg', '/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_14_9613.jpg', '/home/nano/Desktop/images/09122025/12/49/image_09122025_12_50_05_10608.jpg', '/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_54_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_44_9586.jpg
/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_35_9603.jpg
/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_25_10598.jpg
/home/nano/Desktop/images/09122025/12/50/image_09122025_12_50_14_9613.jpg
/home/nano/Desktop/images/09122025/12/49/image_09122025_12_50_05_10608.jpg
/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_54_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203868","1401203870","1401203864","1401203867","1401203869","1401203872"],"photo_ids_order":["1401203864","1401203867","1401203868","1401203869","1401203870","1401203872"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d157355b290be7b2cbf16e225719fa01.jpg","text":"TemporaryFile(/tmp/multipartBody5692402718909027941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795027635,"filename":"image_09122025_12_50_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24860a53d6380399ccabc26dedfc7422.jpg","text":"TemporaryFile(/tmp/multipartBody2865908589863371637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795027635,"filename":"image_09122025_12_50_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acc4c15c11d7fcee79bc70b76ddf3afe.jpg","text":"TemporaryFile(/tmp/multipartBody7164953641626912610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795027635,"filename":"image_09122025_12_50_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/12/27/52f035a655f2df1349f7aa6785a94df4.jpg","text":"TemporaryFile(/tmp/multipartBody3793104011504189908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795027635,"filename":"image_09122025_12_50_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3d8d65b96855a9fe47877e527b9ba2a.jpg","text":"TemporaryFile(/tmp/multipartBody4385542477849595076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795027635,"filename":"image_09122025_12_50_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/12/27/fd168080cf297b303f58bd4f46264d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4485289452313158319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795027635,"filename":"image_09122025_12_49_54_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203868","file1":"1401203867","file0":"1401203864","file4":"1401203870","file5":"1401203872","file3":"1401203869"},"map_files_photo_id_array":[{"photo_id":"1401203872","filename":"file5"},{"photo_id":"1401203868","filename":"file2"},{"photo_id":"1401203870","filename":"file4"},{"photo_id":"1401203867","filename":"file1"},{"photo_id":"1401203864","filename":"file0"},{"photo_id":"1401203869","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203868":["hashtag1","hashtag2"]},{"1401203870":["hashtag1","hashtag2"]},{"1401203864":["hashtag1","hashtag2"]},{"1401203867":["hashtag1","hashtag2"]},{"1401203869":["hashtag1","hashtag2"]},{"1401203872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203868, 1401203870, 1401203864, 1401203867, 1401203869, 1401203872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09341096878052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:23:31.941254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_45_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_15_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/12/48/image_09122025_12_49_04_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_55_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_45_9588.jpg', '/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_35_10595.jpg', '/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_24_9588.jpg', '/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_15_10634.jpg', '/home/nano/Desktop/images/09122025/12/48/image_09122025_12_49_04_9592.jpg', '/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_55_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_45_9588.jpg
/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_35_10595.jpg
/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_24_9588.jpg
/home/nano/Desktop/images/09122025/12/49/image_09122025_12_49_15_10634.jpg
/home/nano/Desktop/images/09122025/12/48/image_09122025_12_49_04_9592.jpg
/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_55_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":["1401203880","1401203882","1401203893","1401203890","1401203884","1401203892"],"photo_ids_order":["1401203880","1401203882","1401203884","1401203890","1401203892","1401203893"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b8851b678cfd36f350e488c95715fa4.jpg","text":"TemporaryFile(/tmp/multipartBody661180331205719104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795072720,"filename":"image_09122025_12_49_45_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/236c3113fe119af89493cd733c54e660.jpg","text":"TemporaryFile(/tmp/multipartBody712369752340626508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795072720,"filename":"image_09122025_12_49_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/530fa237120726cc443c347706122a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2787465068901676654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795072720,"filename":"image_09122025_12_48_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ade80445153d190fa7346ec2acd374e.jpg","text":"TemporaryFile(/tmp/multipartBody7518827836137682597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795072720,"filename":"image_09122025_12_49_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a38037ca7758dc5fd3636e7bb9116f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4217938395346136731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795072720,"filename":"image_09122025_12_49_24_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8ef724ac79314ee15ba0aaf95158dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1967126625319896175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795072720,"filename":"image_09122025_12_49_04_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203884","file1":"1401203882","file0":"1401203880","file4":"1401203892","file5":"1401203893","file3":"1401203890"},"map_files_photo_id_array":[{"photo_id":"1401203893","filename":"file5"},{"photo_id":"1401203884","filename":"file2"},{"photo_id":"1401203892","filename":"file4"},{"photo_id":"1401203882","filename":"file1"},{"photo_id":"1401203880","filename":"file0"},{"photo_id":"1401203890","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203880":["hashtag1","hashtag2"]},{"1401203882":["hashtag1","hashtag2"]},{"1401203893":["hashtag1","hashtag2"]},{"1401203890":["hashtag1","hashtag2"]},{"1401203884":["hashtag1","hashtag2"]},{"1401203892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203880, 1401203882, 1401203893, 1401203890, 1401203884, 1401203892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14349126815796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:24:17.078269
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/01/24/image_27122025_01_24_35_10522.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/01/24/image_27122025_01_24_35_10522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/01/24/image_27122025_01_24_35_10522.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203896"],"photo_id":"1401203896","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9df40aa8549dead48cfac3cf8d6de62d.jpg","text":"TemporaryFile(/tmp/multipartBody7962171389876369804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795117376,"filename":"image_27122025_01_24_35_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401203896"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401203896"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.17885136604309 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:24:32.099813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_34_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_25_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_14_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/12/47/image_09122025_12_48_05_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_55_10595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_45_10598.jpg', '/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_34_9584.jpg', '/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_25_10594.jpg', '/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_14_9600.jpg', '/home/nano/Desktop/images/09122025/12/47/image_09122025_12_48_05_9591.jpg', '/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_55_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_45_10598.jpg
/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_34_9584.jpg
/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_25_10594.jpg
/home/nano/Desktop/images/09122025/12/48/image_09122025_12_48_14_9600.jpg
/home/nano/Desktop/images/09122025/12/47/image_09122025_12_48_05_9591.jpg
/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_55_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203907","1401203909","1401203903","1401203912","1401203911","1401203905"],"photo_ids_order":["1401203903","1401203905","1401203907","1401203909","1401203911","1401203912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a89581686ecf81bad7b29a7db1631bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4152294293921670773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795132879,"filename":"image_09122025_12_48_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f82249c327c8fa48b3b571ed359231a0.jpg","text":"TemporaryFile(/tmp/multipartBody5554154122612718558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795132879,"filename":"image_09122025_12_48_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/848b3880925eeb516d9dd275f97b6574.jpg","text":"TemporaryFile(/tmp/multipartBody933807810437430246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795132879,"filename":"image_09122025_12_48_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba60a8cd8580818ee5f5b11d7f67535e.jpg","text":"TemporaryFile(/tmp/multipartBody3648543990090631330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795132879,"filename":"image_09122025_12_47_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12bd6da06e44b7ef4f278c3dd3b34e25.jpg","text":"TemporaryFile(/tmp/multipartBody4560425249899978256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795132879,"filename":"image_09122025_12_48_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4f7da6aa280c819f9342d3b074d8d60.jpg","text":"TemporaryFile(/tmp/multipartBody8310426000189622022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795132879,"filename":"image_09122025_12_48_34_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203907","file1":"1401203905","file0":"1401203903","file4":"1401203911","file5":"1401203912","file3":"1401203909"},"map_files_photo_id_array":[{"photo_id":"1401203912","filename":"file5"},{"photo_id":"1401203907","filename":"file2"},{"photo_id":"1401203911","filename":"file4"},{"photo_id":"1401203905","filename":"file1"},{"photo_id":"1401203903","filename":"file0"},{"photo_id":"1401203909","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203907":["hashtag1","hashtag2"]},{"1401203909":["hashtag1","hashtag2"]},{"1401203903":["hashtag1","hashtag2"]},{"1401203912":["hashtag1","hashtag2"]},{"1401203911":["hashtag1","hashtag2"]},{"1401203905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203907, 1401203909, 1401203903, 1401203912, 1401203911, 1401203905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.403093099594116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:25:17.252583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_24_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_15_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/46/image_09122025_12_47_05_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_54_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_44_9586.jpg', '/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_35_10593.jpg', '/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_24_9582.jpg', '/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_15_9587.jpg', '/home/nano/Desktop/images/09122025/12/46/image_09122025_12_47_05_10610.jpg', '/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_54_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_44_9586.jpg
/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_35_10593.jpg
/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_24_9582.jpg
/home/nano/Desktop/images/09122025/12/47/image_09122025_12_47_15_9587.jpg
/home/nano/Desktop/images/09122025/12/46/image_09122025_12_47_05_10610.jpg
/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_54_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203919","1401203928","1401203921","1401203924","1401203926","1401203917"],"photo_ids_order":["1401203917","1401203919","1401203921","1401203924","1401203926","1401203928"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43f746c0ccdbaffeb938bed814fbcafc.jpg","text":"TemporaryFile(/tmp/multipartBody5356593054026801653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795178049,"filename":"image_09122025_12_47_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3a5b1ad980437ef5547875908cc95af.jpg","text":"TemporaryFile(/tmp/multipartBody6558021972991938620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795178049,"filename":"image_09122025_12_46_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62712ab658596e9423eccfdea38b1d95.jpg","text":"TemporaryFile(/tmp/multipartBody8425513064135993431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795178049,"filename":"image_09122025_12_47_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3836958366ec5295da39aaa88cd4e88.jpg","text":"TemporaryFile(/tmp/multipartBody5558721373599387494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795178049,"filename":"image_09122025_12_47_15_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75f39979f4540a40ea7daf37068687f8.jpg","text":"TemporaryFile(/tmp/multipartBody486020959042034930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795178049,"filename":"image_09122025_12_47_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9ce3eb3f79ec62d99f723e34fd4e4cf.jpg","text":"TemporaryFile(/tmp/multipartBody853987836210758718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795178049,"filename":"image_09122025_12_47_44_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203921","file1":"1401203919","file0":"1401203917","file4":"1401203926","file5":"1401203928","file3":"1401203924"},"map_files_photo_id_array":[{"photo_id":"1401203928","filename":"file5"},{"photo_id":"1401203921","filename":"file2"},{"photo_id":"1401203926","filename":"file4"},{"photo_id":"1401203919","filename":"file1"},{"photo_id":"1401203917","filename":"file0"},{"photo_id":"1401203924","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203919":["hashtag1","hashtag2"]},{"1401203928":["hashtag1","hashtag2"]},{"1401203921":["hashtag1","hashtag2"]},{"1401203924":["hashtag1","hashtag2"]},{"1401203926":["hashtag1","hashtag2"]},{"1401203917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203919, 1401203928, 1401203921, 1401203924, 1401203926, 1401203917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43487524986267 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:26:02.661515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_45_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_34_9581.jpg', 2), ('/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_25_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_14_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/12/45/image_09122025_12_46_05_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_55_10592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_45_10592.jpg', '/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_34_9581.jpg', '/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_25_10593.jpg', '/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_14_9612.jpg', '/home/nano/Desktop/images/09122025/12/45/image_09122025_12_46_05_9606.jpg', '/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_55_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_45_10592.jpg
/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_34_9581.jpg
/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_25_10593.jpg
/home/nano/Desktop/images/09122025/12/46/image_09122025_12_46_14_9612.jpg
/home/nano/Desktop/images/09122025/12/45/image_09122025_12_46_05_9606.jpg
/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_55_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203937","1401203939","1401203933","1401203942","1401203932","1401203935"],"photo_ids_order":["1401203932","1401203933","1401203935","1401203937","1401203939","1401203942"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36b036c7ebf87e0bb0afcee0e6687bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7424574564725798739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795223541,"filename":"image_09122025_12_46_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/12/27/cdd518597eee1ed08d7d9e74a1046c6f.jpg","text":"TemporaryFile(/tmp/multipartBody910061451490278852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795223541,"filename":"image_09122025_12_46_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/577a9d00012dfd167496de6be1daab3f.jpg","text":"TemporaryFile(/tmp/multipartBody5934909845218772476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795223541,"filename":"image_09122025_12_46_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dba1810c32398f58e47d7ad322f45ad.jpg","text":"TemporaryFile(/tmp/multipartBody6191853798135097442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795223541,"filename":"image_09122025_12_45_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6354fc4c56ed9dfdf8586296b1396b4.jpg","text":"TemporaryFile(/tmp/multipartBody3351525839121725619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795223541,"filename":"image_09122025_12_46_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f12d7862c670a2139a8346666e59ad5.jpg","text":"TemporaryFile(/tmp/multipartBody5919321240273858443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795223541,"filename":"image_09122025_12_46_25_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203935","file1":"1401203933","file0":"1401203932","file4":"1401203939","file5":"1401203942","file3":"1401203937"},"map_files_photo_id_array":[{"photo_id":"1401203942","filename":"file5"},{"photo_id":"1401203935","filename":"file2"},{"photo_id":"1401203939","filename":"file4"},{"photo_id":"1401203933","filename":"file1"},{"photo_id":"1401203932","filename":"file0"},{"photo_id":"1401203937","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203937":["hashtag1","hashtag2"]},{"1401203939":["hashtag1","hashtag2"]},{"1401203933":["hashtag1","hashtag2"]},{"1401203942":["hashtag1","hashtag2"]},{"1401203932":["hashtag1","hashtag2"]},{"1401203935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203937, 1401203939, 1401203933, 1401203942, 1401203932, 1401203935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.483505964279175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:26:47.253713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_44_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_35_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_24_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_15_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/44/image_09122025_12_45_05_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_54_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_44_9584.jpg', '/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_35_10594.jpg', '/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_24_9584.jpg', '/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_15_9591.jpg', '/home/nano/Desktop/images/09122025/12/44/image_09122025_12_45_05_10619.jpg', '/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_54_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_44_9584.jpg
/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_35_10594.jpg
/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_24_9584.jpg
/home/nano/Desktop/images/09122025/12/45/image_09122025_12_45_15_9591.jpg
/home/nano/Desktop/images/09122025/12/44/image_09122025_12_45_05_10619.jpg
/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_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":["1401203964","1401203963","1401203960","1401203954","1401203956","1401203959"],"photo_ids_order":["1401203954","1401203956","1401203959","1401203960","1401203963","1401203964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c68e1e41afded1ac3527a91fb9d6ebf2.jpg","text":"TemporaryFile(/tmp/multipartBody6084308620821263799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795268195,"filename":"image_09122025_12_44_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/12/27/e924ea8574166ba1b3ec267abed3690a.jpg","text":"TemporaryFile(/tmp/multipartBody3099543121228674258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795268195,"filename":"image_09122025_12_45_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d0bb01f0a5b6383505da73faca5cb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1208057160436792889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795268195,"filename":"image_09122025_12_45_15_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f1163293af6bb5ce7f822a06d8b2a77.jpg","text":"TemporaryFile(/tmp/multipartBody4337062816970756065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795268195,"filename":"image_09122025_12_45_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d965ef2374307dc6c8da024c4d572405.jpg","text":"TemporaryFile(/tmp/multipartBody2713542462106604032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795268195,"filename":"image_09122025_12_45_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/733e63e984ac83319fff61d8e3c26cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8532175037915032301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795268195,"filename":"image_09122025_12_45_24_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203959","file1":"1401203956","file0":"1401203954","file4":"1401203963","file5":"1401203964","file3":"1401203960"},"map_files_photo_id_array":[{"photo_id":"1401203964","filename":"file5"},{"photo_id":"1401203959","filename":"file2"},{"photo_id":"1401203963","filename":"file4"},{"photo_id":"1401203956","filename":"file1"},{"photo_id":"1401203954","filename":"file0"},{"photo_id":"1401203960","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203964":["hashtag1","hashtag2"]},{"1401203963":["hashtag1","hashtag2"]},{"1401203960":["hashtag1","hashtag2"]},{"1401203954":["hashtag1","hashtag2"]},{"1401203956":["hashtag1","hashtag2"]},{"1401203959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203964, 1401203963, 1401203960, 1401203954, 1401203956, 1401203959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87994170188904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:27:32.339392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_45_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_25_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_15_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/12/43/image_09122025_12_44_04_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_55_10593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_45_10596.jpg', '/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_34_9586.jpg', '/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_25_9599.jpg', '/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_15_10612.jpg', '/home/nano/Desktop/images/09122025/12/43/image_09122025_12_44_04_9588.jpg', '/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_55_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_45_10596.jpg
/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_34_9586.jpg
/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_25_9599.jpg
/home/nano/Desktop/images/09122025/12/44/image_09122025_12_44_15_10612.jpg
/home/nano/Desktop/images/09122025/12/43/image_09122025_12_44_04_9588.jpg
/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_55_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":["1401203973","1401203981","1401203975","1401203978","1401203980","1401203977"],"photo_ids_order":["1401203973","1401203975","1401203977","1401203978","1401203980","1401203981"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfa3257102500e12c5cb0f93a4da7b48.jpg","text":"TemporaryFile(/tmp/multipartBody4460257507131629073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795313119,"filename":"image_09122025_12_44_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0c94bd7a9379190e0ee7c4c0b882a34.jpg","text":"TemporaryFile(/tmp/multipartBody7907650817328624450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795313119,"filename":"image_09122025_12_43_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0e52b8a52862387e41a18b47eb76ff5.jpg","text":"TemporaryFile(/tmp/multipartBody7016989887074310739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795313119,"filename":"image_09122025_12_44_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2de129958d53e5b5e877d9c731a7886f.jpg","text":"TemporaryFile(/tmp/multipartBody3827724611885324532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795313119,"filename":"image_09122025_12_44_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58868179a5abd0bb630e174b32c2c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody626322053891932725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795313119,"filename":"image_09122025_12_44_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b61950774090a5f40eb91d9b2aeea69e.jpg","text":"TemporaryFile(/tmp/multipartBody8506621095335697788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795313119,"filename":"image_09122025_12_44_25_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203977","file1":"1401203975","file0":"1401203973","file4":"1401203980","file5":"1401203981","file3":"1401203978"},"map_files_photo_id_array":[{"photo_id":"1401203981","filename":"file5"},{"photo_id":"1401203977","filename":"file2"},{"photo_id":"1401203980","filename":"file4"},{"photo_id":"1401203975","filename":"file1"},{"photo_id":"1401203973","filename":"file0"},{"photo_id":"1401203978","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203973":["hashtag1","hashtag2"]},{"1401203981":["hashtag1","hashtag2"]},{"1401203975":["hashtag1","hashtag2"]},{"1401203978":["hashtag1","hashtag2"]},{"1401203980":["hashtag1","hashtag2"]},{"1401203977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203973, 1401203981, 1401203975, 1401203978, 1401203980, 1401203977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.686970472335815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:28:17.454757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_44_9580.jpg', 2), ('/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_35_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_25_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_14_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/12/42/image_09122025_12_43_05_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_54_9583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_44_9580.jpg', '/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_35_9584.jpg', '/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_25_10593.jpg', '/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_14_9619.jpg', '/home/nano/Desktop/images/09122025/12/42/image_09122025_12_43_05_10604.jpg', '/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_54_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_44_9580.jpg
/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_35_9584.jpg
/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_25_10593.jpg
/home/nano/Desktop/images/09122025/12/43/image_09122025_12_43_14_9619.jpg
/home/nano/Desktop/images/09122025/12/42/image_09122025_12_43_05_10604.jpg
/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_54_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401203988","1401203993","1401203996","1401203990","1401203986","1401204001"],"photo_ids_order":["1401203986","1401203988","1401203990","1401203993","1401203996","1401204001"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c58beaccd648a0f20f04a62df6597a63.jpg","text":"TemporaryFile(/tmp/multipartBody5400083741598291099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795358256,"filename":"image_09122025_12_43_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff67707b7a0d548801cb20782a8b8fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7607055823322030649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795358256,"filename":"image_09122025_12_43_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/12/27/0a6e2ed58888fc3e4c3174cf6b4ad5a5.jpg","text":"TemporaryFile(/tmp/multipartBody5666201364814312918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795358256,"filename":"image_09122025_12_43_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ae37b50144bd951cfd8c56a9cd10727.jpg","text":"TemporaryFile(/tmp/multipartBody2179884799551220726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795358256,"filename":"image_09122025_12_43_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57aaec036f7d20676e1701fe2d4adbdd.jpg","text":"TemporaryFile(/tmp/multipartBody625989952701608450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795358256,"filename":"image_09122025_12_43_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d63f7ec3c2cc569a7188a223457e876f.jpg","text":"TemporaryFile(/tmp/multipartBody5829598030731811013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795358256,"filename":"image_09122025_12_42_54_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401203990","file1":"1401203988","file0":"1401203986","file4":"1401203996","file5":"1401204001","file3":"1401203993"},"map_files_photo_id_array":[{"photo_id":"1401204001","filename":"file5"},{"photo_id":"1401203990","filename":"file2"},{"photo_id":"1401203996","filename":"file4"},{"photo_id":"1401203988","filename":"file1"},{"photo_id":"1401203986","filename":"file0"},{"photo_id":"1401203993","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401203988":["hashtag1","hashtag2"]},{"1401203993":["hashtag1","hashtag2"]},{"1401203996":["hashtag1","hashtag2"]},{"1401203990":["hashtag1","hashtag2"]},{"1401203986":["hashtag1","hashtag2"]},{"1401204001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401203988, 1401203993, 1401203996, 1401203990, 1401203986, 1401204001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3785662651062 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:29:03.355134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_45_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_24_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_15_10626.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_42_04_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_55_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_45_9586.jpg', '/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_35_10593.jpg', '/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_24_9582.jpg', '/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_15_10626.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_42_04_9598.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_55_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_45_9586.jpg
/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_35_10593.jpg
/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_24_9582.jpg
/home/nano/Desktop/images/09122025/12/42/image_09122025_12_42_15_10626.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_42_04_9598.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_55_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204015","1401204012","1401204006","1401204008","1401204010","1401204004"],"photo_ids_order":["1401204004","1401204006","1401204008","1401204010","1401204012","1401204015"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14feab02dee081cc418376941dd94891.jpg","text":"TemporaryFile(/tmp/multipartBody239965049146138613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795404298,"filename":"image_09122025_12_41_55_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a12be2df768f37676a4ce00c8a9f531.jpg","text":"TemporaryFile(/tmp/multipartBody6879076934647345126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795404298,"filename":"image_09122025_12_42_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebc4d9195cc5f42e6f37f1cc1423f7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8304959635799904392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795404298,"filename":"image_09122025_12_42_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23dc0992b5e7dd2d970a22817d6c3217.jpg","text":"TemporaryFile(/tmp/multipartBody7309545413694404405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795404298,"filename":"image_09122025_12_42_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c28a85582fc4f6e429a34ebfc1a2786.jpg","text":"TemporaryFile(/tmp/multipartBody2335408090872482725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795404298,"filename":"image_09122025_12_42_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4bc4423d5d9844bbf390dcf87d5fc8a.jpg","text":"TemporaryFile(/tmp/multipartBody3241401950361119907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795404298,"filename":"image_09122025_12_42_45_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204008","file1":"1401204006","file0":"1401204004","file4":"1401204012","file5":"1401204015","file3":"1401204010"},"map_files_photo_id_array":[{"photo_id":"1401204015","filename":"file5"},{"photo_id":"1401204008","filename":"file2"},{"photo_id":"1401204012","filename":"file4"},{"photo_id":"1401204006","filename":"file1"},{"photo_id":"1401204004","filename":"file0"},{"photo_id":"1401204010","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204015":["hashtag1","hashtag2"]},{"1401204012":["hashtag1","hashtag2"]},{"1401204006":["hashtag1","hashtag2"]},{"1401204008":["hashtag1","hashtag2"]},{"1401204010":["hashtag1","hashtag2"]},{"1401204004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204015, 1401204012, 1401204006, 1401204008, 1401204010, 1401204004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43301033973694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:29:47.550585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_45_10590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_34_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_25_10591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_41_05_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_55_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_45_10590.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_34_9583.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_25_10591.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_14_9603.jpg', '/home/nano/Desktop/images/09122025/12/40/image_09122025_12_41_05_9599.jpg', '/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_55_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_45_10590.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_34_9583.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_25_10591.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_14_9603.jpg
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_41_05_9599.jpg
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_55_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 38.808645725250244 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8bp8o86bh</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8bp8o86bh</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:30:32.627038
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_45_10590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_34_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_25_10591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_41_05_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_55_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_45_10590.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_34_9583.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_25_10591.jpg', '/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_14_9603.jpg', '/home/nano/Desktop/images/09122025/12/40/image_09122025_12_41_05_9599.jpg', '/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_55_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_45_10590.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_34_9583.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_25_10591.jpg
/home/nano/Desktop/images/09122025/12/41/image_09122025_12_41_14_9603.jpg
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_41_05_9599.jpg
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_55_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204053","1401204041","1401204049","1401204046","1401204051","1401204048"],"photo_ids_order":["1401204041","1401204046","1401204048","1401204049","1401204051","1401204053"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb8440818c87956838c71fc73b9b8a95.jpg","text":"TemporaryFile(/tmp/multipartBody2196865363988086029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795493395,"filename":"image_09122025_12_40_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/271282a03d27ddbf696d162ab3d40598.jpg","text":"TemporaryFile(/tmp/multipartBody791847104692560224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795493395,"filename":"image_09122025_12_41_45_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2bf1473804e033bb95cb94370cbfb5be.jpg","text":"TemporaryFile(/tmp/multipartBody3730442217100238597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795493395,"filename":"image_09122025_12_41_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1a5eec122e7b51bbdb445881ea057b6.jpg","text":"TemporaryFile(/tmp/multipartBody6329554014401283742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795493395,"filename":"image_09122025_12_41_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbc73b115290978901f5c817866bba46.jpg","text":"TemporaryFile(/tmp/multipartBody3153090307123519978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795493395,"filename":"image_09122025_12_41_05_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4875458c257bb6c1498b37d6b22d0dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8195305810366845395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795493395,"filename":"image_09122025_12_41_25_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204048","file1":"1401204046","file0":"1401204041","file4":"1401204051","file5":"1401204053","file3":"1401204049"},"map_files_photo_id_array":[{"photo_id":"1401204053","filename":"file5"},{"photo_id":"1401204048","filename":"file2"},{"photo_id":"1401204051","filename":"file4"},{"photo_id":"1401204046","filename":"file1"},{"photo_id":"1401204041","filename":"file0"},{"photo_id":"1401204049","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204053":["hashtag1","hashtag2"]},{"1401204041":["hashtag1","hashtag2"]},{"1401204049":["hashtag1","hashtag2"]},{"1401204046":["hashtag1","hashtag2"]},{"1401204051":["hashtag1","hashtag2"]},{"1401204048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204053, 1401204041, 1401204049, 1401204046, 1401204051, 1401204048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48972988128662 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:31:17.724706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_44_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_24_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_40_04_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_54_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_44_9584.jpg', '/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_35_10593.jpg', '/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_24_9586.jpg', '/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_15_10609.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_40_04_9599.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_54_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_44_9584.jpg
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_35_10593.jpg
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_24_9586.jpg
/home/nano/Desktop/images/09122025/12/40/image_09122025_12_40_15_10609.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_40_04_9599.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_54_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204062","1401204071","1401204073","1401204064","1401204066","1401204069"],"photo_ids_order":["1401204062","1401204064","1401204066","1401204069","1401204071","1401204073"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d23b8c9bf7a15447635b108aba00065.jpg","text":"TemporaryFile(/tmp/multipartBody8143229369110140998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795538523,"filename":"image_09122025_12_40_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3100220a8790cfca7c9c6b5be1d8295.jpg","text":"TemporaryFile(/tmp/multipartBody1245108972976418113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795538523,"filename":"image_09122025_12_40_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/12/27/ec3fd09f66ea671ea8d9a5e337410dd2.jpg","text":"TemporaryFile(/tmp/multipartBody2997257452315826346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795538523,"filename":"image_09122025_12_39_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00891ba9bf48dd297c7af5f975ae6a63.jpg","text":"TemporaryFile(/tmp/multipartBody7087900171483983594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795538523,"filename":"image_09122025_12_40_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/246bf5bcd655ca72fd7e6fa26e03bb19.jpg","text":"TemporaryFile(/tmp/multipartBody1606257002917337784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795538523,"filename":"image_09122025_12_40_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d097cca23c7a13bba44301bee8231806.jpg","text":"TemporaryFile(/tmp/multipartBody187077986497774974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795538523,"filename":"image_09122025_12_40_15_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204066","file1":"1401204064","file0":"1401204062","file4":"1401204071","file5":"1401204073","file3":"1401204069"},"map_files_photo_id_array":[{"photo_id":"1401204073","filename":"file5"},{"photo_id":"1401204066","filename":"file2"},{"photo_id":"1401204071","filename":"file4"},{"photo_id":"1401204064","filename":"file1"},{"photo_id":"1401204062","filename":"file0"},{"photo_id":"1401204069","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204062":["hashtag1","hashtag2"]},{"1401204071":["hashtag1","hashtag2"]},{"1401204073":["hashtag1","hashtag2"]},{"1401204064":["hashtag1","hashtag2"]},{"1401204066":["hashtag1","hashtag2"]},{"1401204069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204062, 1401204071, 1401204073, 1401204064, 1401204066, 1401204069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57114338874817 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:32:02.122521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_34_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_25_10590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_14_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_39_05_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_55_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_45_10613.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_34_9598.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_25_10590.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_14_9596.jpg', '/home/nano/Desktop/images/09122025/12/38/image_09122025_12_39_05_9591.jpg', '/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_55_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_45_10613.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_34_9598.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_25_10590.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_14_9596.jpg
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_39_05_9591.jpg
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_55_10606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6894955635070801 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:32:16.850203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_34_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_25_10590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_14_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_39_05_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_55_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_45_10613.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_34_9598.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_25_10590.jpg', '/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_14_9596.jpg', '/home/nano/Desktop/images/09122025/12/38/image_09122025_12_39_05_9591.jpg', '/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_55_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_45_10613.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_34_9598.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_25_10590.jpg
/home/nano/Desktop/images/09122025/12/39/image_09122025_12_39_14_9596.jpg
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_39_05_9591.jpg
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_55_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":["1401204089","1401204098","1401204091","1401204094","1401204096","1401204087"],"photo_ids_order":["1401204087","1401204089","1401204091","1401204094","1401204096","1401204098"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f9c2049eca75adf0de669bdea8c59b4.jpg","text":"TemporaryFile(/tmp/multipartBody2259760194815366838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795597628,"filename":"image_09122025_12_39_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/12/27/ea88c94919634c1564580702da4ddcc9.jpg","text":"TemporaryFile(/tmp/multipartBody2712634585665133961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795597628,"filename":"image_09122025_12_38_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e3165ba48dfc91ba3a1ef0ddb916a9f.jpg","text":"TemporaryFile(/tmp/multipartBody1928727767471030797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795597628,"filename":"image_09122025_12_39_25_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efe1d41d069d0f80734de9a75aef8402.jpg","text":"TemporaryFile(/tmp/multipartBody796969479024393900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795597628,"filename":"image_09122025_12_39_14_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eef5daa72e92dece94925c9c50a71db7.jpg","text":"TemporaryFile(/tmp/multipartBody4015430069960997551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795597628,"filename":"image_09122025_12_39_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79b38cb22a961a53a372498e0f4e9c51.jpg","text":"TemporaryFile(/tmp/multipartBody3972114753775582031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795597628,"filename":"image_09122025_12_39_45_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204091","file1":"1401204089","file0":"1401204087","file4":"1401204096","file5":"1401204098","file3":"1401204094"},"map_files_photo_id_array":[{"photo_id":"1401204098","filename":"file5"},{"photo_id":"1401204091","filename":"file2"},{"photo_id":"1401204096","filename":"file4"},{"photo_id":"1401204089","filename":"file1"},{"photo_id":"1401204087","filename":"file0"},{"photo_id":"1401204094","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204089":["hashtag1","hashtag2"]},{"1401204098":["hashtag1","hashtag2"]},{"1401204091":["hashtag1","hashtag2"]},{"1401204094":["hashtag1","hashtag2"]},{"1401204096":["hashtag1","hashtag2"]},{"1401204087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204089, 1401204098, 1401204091, 1401204094, 1401204096, 1401204087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.624072790145874 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:33:02.393635
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/01/33/image_27122025_01_33_44_9506.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/01/33/image_27122025_01_33_44_9506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/01/33/image_27122025_01_33_44_9506.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204101"],"photo_id":"1401204101","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ef579173f000343b778964089ac14d9.jpg","text":"TemporaryFile(/tmp/multipartBody5140518126744856449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795642655,"filename":"image_27122025_01_33_44_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401204101"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401204101"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.83837604522705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:33:16.969116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_44_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_35_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_24_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_15_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/37/image_09122025_12_38_05_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_54_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_44_9585.jpg', '/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_35_10594.jpg', '/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_24_9584.jpg', '/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_15_9590.jpg', '/home/nano/Desktop/images/09122025/12/37/image_09122025_12_38_05_10604.jpg', '/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_54_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_44_9585.jpg
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_35_10594.jpg
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_24_9584.jpg
/home/nano/Desktop/images/09122025/12/38/image_09122025_12_38_15_9590.jpg
/home/nano/Desktop/images/09122025/12/37/image_09122025_12_38_05_10604.jpg
/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_54_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204120","1401204111","1401204122","1401204118","1401204115","1401204109"],"photo_ids_order":["1401204109","1401204111","1401204115","1401204118","1401204120","1401204122"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12a930fb6333f1268a78c04993e7d4a9.jpg","text":"TemporaryFile(/tmp/multipartBody7609460126346249734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795657757,"filename":"image_09122025_12_38_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06380eee165180dd0e7bf2d2c4fffb94.jpg","text":"TemporaryFile(/tmp/multipartBody311704674198663694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795657757,"filename":"image_09122025_12_38_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbea22afb8d60439ece161d7584f9dfa.jpg","text":"TemporaryFile(/tmp/multipartBody5797450091955543933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795657757,"filename":"image_09122025_12_37_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c739c8bfa1d8ba388a3990e0f75c8e8.jpg","text":"TemporaryFile(/tmp/multipartBody4955012058457886025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795657757,"filename":"image_09122025_12_38_15_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5268f84579cb83274e573893422ae4f.jpg","text":"TemporaryFile(/tmp/multipartBody8363213358326574806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795657757,"filename":"image_09122025_12_38_24_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f60314d682acf327ddd2f0f12eeaab0.jpg","text":"TemporaryFile(/tmp/multipartBody1911581303612323334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795657757,"filename":"image_09122025_12_38_44_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204115","file1":"1401204111","file0":"1401204109","file4":"1401204120","file5":"1401204122","file3":"1401204118"},"map_files_photo_id_array":[{"photo_id":"1401204122","filename":"file5"},{"photo_id":"1401204115","filename":"file2"},{"photo_id":"1401204120","filename":"file4"},{"photo_id":"1401204111","filename":"file1"},{"photo_id":"1401204109","filename":"file0"},{"photo_id":"1401204118","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204120":["hashtag1","hashtag2"]},{"1401204111":["hashtag1","hashtag2"]},{"1401204122":["hashtag1","hashtag2"]},{"1401204118":["hashtag1","hashtag2"]},{"1401204115":["hashtag1","hashtag2"]},{"1401204109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204120, 1401204111, 1401204122, 1401204118, 1401204115, 1401204109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7243549823761 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:34:02.733417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_45_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_34_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_25_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_15_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/12/36/image_09122025_12_37_04_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_55_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_45_10596.jpg', '/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_34_9585.jpg', '/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_25_9584.jpg', '/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_15_10608.jpg', '/home/nano/Desktop/images/09122025/12/36/image_09122025_12_37_04_9594.jpg', '/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_55_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_45_10596.jpg
/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_34_9585.jpg
/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_25_9584.jpg
/home/nano/Desktop/images/09122025/12/37/image_09122025_12_37_15_10608.jpg
/home/nano/Desktop/images/09122025/12/36/image_09122025_12_37_04_9594.jpg
/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_55_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":["1401204138","1401204126","1401204128","1401204136","1401204130","1401204133"],"photo_ids_order":["1401204126","1401204128","1401204130","1401204133","1401204136","1401204138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ded29a523c0cdc5092c1ab56be1151d.jpg","text":"TemporaryFile(/tmp/multipartBody5821874135049246827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795703760,"filename":"image_09122025_12_36_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c72aac55bf30845056d8fd04c878f24d.jpg","text":"TemporaryFile(/tmp/multipartBody1937289544767769299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795703760,"filename":"image_09122025_12_37_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11981d1e3436447295b7bb9873aa9eee.jpg","text":"TemporaryFile(/tmp/multipartBody4718557908102624225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795703760,"filename":"image_09122025_12_37_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/12/27/c2d13ad6067aed11d51de1094e80346a.jpg","text":"TemporaryFile(/tmp/multipartBody3827342640390378127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795703760,"filename":"image_09122025_12_37_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/12/27/1c8b26098727b91836bc3a00a99ff18d.jpg","text":"TemporaryFile(/tmp/multipartBody1092837379996608513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795703760,"filename":"image_09122025_12_37_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/433285c3944a659a6eee787265fc2e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4859639144553785044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795703760,"filename":"image_09122025_12_37_15_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204130","file1":"1401204128","file0":"1401204126","file4":"1401204136","file5":"1401204138","file3":"1401204133"},"map_files_photo_id_array":[{"photo_id":"1401204138","filename":"file5"},{"photo_id":"1401204130","filename":"file2"},{"photo_id":"1401204136","filename":"file4"},{"photo_id":"1401204128","filename":"file1"},{"photo_id":"1401204126","filename":"file0"},{"photo_id":"1401204133","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204138":["hashtag1","hashtag2"]},{"1401204126":["hashtag1","hashtag2"]},{"1401204128":["hashtag1","hashtag2"]},{"1401204136":["hashtag1","hashtag2"]},{"1401204130":["hashtag1","hashtag2"]},{"1401204133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204138, 1401204126, 1401204128, 1401204136, 1401204130, 1401204133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.657938957214355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:34:47.054343
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_44_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_35_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_25_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_14_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/35/image_09122025_12_36_05_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_54_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_44_9590.jpg', '/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_35_9584.jpg', '/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_25_10592.jpg', '/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_14_9587.jpg', '/home/nano/Desktop/images/09122025/12/35/image_09122025_12_36_05_10612.jpg', '/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_54_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_44_9590.jpg
/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_35_9584.jpg
/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_25_10592.jpg
/home/nano/Desktop/images/09122025/12/36/image_09122025_12_36_14_9587.jpg
/home/nano/Desktop/images/09122025/12/35/image_09122025_12_36_05_10612.jpg
/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_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":["1401204144","1401204146","1401204149","1401204145","1401204150","1401204147"],"photo_ids_order":["1401204144","1401204145","1401204146","1401204147","1401204149","1401204150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/935755d78482ea719622659997fb0480.jpg","text":"TemporaryFile(/tmp/multipartBody1440499341514707997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795747837,"filename":"image_09122025_12_36_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/12/27/bae0706ec97ef1cf4907277b09e459b5.jpg","text":"TemporaryFile(/tmp/multipartBody2128390446513134974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795747837,"filename":"image_09122025_12_36_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56b275973532de1372d77323836970b1.jpg","text":"TemporaryFile(/tmp/multipartBody1530628157914806600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795747837,"filename":"image_09122025_12_36_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61bac61124203c176094ff58fa671196.jpg","text":"TemporaryFile(/tmp/multipartBody1445832740317935208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795747837,"filename":"image_09122025_12_36_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e2fd54b21d4216d281b8251122cf028.jpg","text":"TemporaryFile(/tmp/multipartBody1541958604637243295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795747837,"filename":"image_09122025_12_35_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/12/27/c3afa979d3c9d316cd944d6f8b6c4185.jpg","text":"TemporaryFile(/tmp/multipartBody4741678137763222903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795747837,"filename":"image_09122025_12_36_14_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204146","file1":"1401204145","file0":"1401204144","file4":"1401204149","file5":"1401204150","file3":"1401204147"},"map_files_photo_id_array":[{"photo_id":"1401204150","filename":"file5"},{"photo_id":"1401204146","filename":"file2"},{"photo_id":"1401204149","filename":"file4"},{"photo_id":"1401204145","filename":"file1"},{"photo_id":"1401204144","filename":"file0"},{"photo_id":"1401204147","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204144":["hashtag1","hashtag2"]},{"1401204146":["hashtag1","hashtag2"]},{"1401204149":["hashtag1","hashtag2"]},{"1401204145":["hashtag1","hashtag2"]},{"1401204150":["hashtag1","hashtag2"]},{"1401204147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204144, 1401204146, 1401204149, 1401204145, 1401204150, 1401204147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51486539840698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:35:32.178621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_45_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_24_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/12/34/image_09122025_12_35_04_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_55_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_45_9583.jpg', '/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_35_10593.jpg', '/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_24_9584.jpg', '/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_15_10609.jpg', '/home/nano/Desktop/images/09122025/12/34/image_09122025_12_35_04_9596.jpg', '/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_55_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_45_9583.jpg
/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_35_10593.jpg
/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_24_9584.jpg
/home/nano/Desktop/images/09122025/12/35/image_09122025_12_35_15_10609.jpg
/home/nano/Desktop/images/09122025/12/34/image_09122025_12_35_04_9596.jpg
/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_55_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204162","1401204170","1401204164","1401204167","1401204169","1401204165"],"photo_ids_order":["1401204162","1401204164","1401204165","1401204167","1401204169","1401204170"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8aee18daa4cb1270a8a115ca8a7a19d5.jpg","text":"TemporaryFile(/tmp/multipartBody3014680625821772720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795792975,"filename":"image_09122025_12_35_45_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7acf41934d4e9cd90b1a0beade9b69f7.jpg","text":"TemporaryFile(/tmp/multipartBody796703045765744112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795792975,"filename":"image_09122025_12_34_55_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0faea677d5b5b3eb0d6947ca77ca5fdb.jpg","text":"TemporaryFile(/tmp/multipartBody860517220088915071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795792975,"filename":"image_09122025_12_35_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cce1f42d840fb592cf74a0ff6b0b2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5114878959292059952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795792975,"filename":"image_09122025_12_35_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ff84c369bfc22bf088206bcd0422ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2973364298809192968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795792975,"filename":"image_09122025_12_35_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c93b85e7142a01ab7f2d729b423cb72c.jpg","text":"TemporaryFile(/tmp/multipartBody4916952268357939040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795792975,"filename":"image_09122025_12_35_24_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204165","file1":"1401204164","file0":"1401204162","file4":"1401204169","file5":"1401204170","file3":"1401204167"},"map_files_photo_id_array":[{"photo_id":"1401204170","filename":"file5"},{"photo_id":"1401204165","filename":"file2"},{"photo_id":"1401204169","filename":"file4"},{"photo_id":"1401204164","filename":"file1"},{"photo_id":"1401204162","filename":"file0"},{"photo_id":"1401204167","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204162":["hashtag1","hashtag2"]},{"1401204170":["hashtag1","hashtag2"]},{"1401204164":["hashtag1","hashtag2"]},{"1401204167":["hashtag1","hashtag2"]},{"1401204169":["hashtag1","hashtag2"]},{"1401204165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204162, 1401204170, 1401204164, 1401204167, 1401204169, 1401204165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.388206243515015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:36:17.254008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_45_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_34_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_25_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_14_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/12/33/image_09122025_12_34_05_10607.jpg', 2), ('/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_54_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_45_10592.jpg', '/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_34_9582.jpg', '/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_25_10592.jpg', '/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_14_9605.jpg', '/home/nano/Desktop/images/09122025/12/33/image_09122025_12_34_05_10607.jpg', '/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_54_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_45_10592.jpg
/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_34_9582.jpg
/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_25_10592.jpg
/home/nano/Desktop/images/09122025/12/34/image_09122025_12_34_14_9605.jpg
/home/nano/Desktop/images/09122025/12/33/image_09122025_12_34_05_10607.jpg
/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_54_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204188","1401204190","1401204184","1401204181","1401204178","1401204186"],"photo_ids_order":["1401204178","1401204181","1401204184","1401204186","1401204188","1401204190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68f5943caa8c5a46f1fe9786257e0467.jpg","text":"TemporaryFile(/tmp/multipartBody2418072675745557658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795838036,"filename":"image_09122025_12_34_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73aa60e9779809d7764e4dd00d5aed47.jpg","text":"TemporaryFile(/tmp/multipartBody8175906862675994286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795838036,"filename":"image_09122025_12_33_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b9dcb8411be7c105bc40c3c4310382d.jpg","text":"TemporaryFile(/tmp/multipartBody6532146822422029121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795838036,"filename":"image_09122025_12_34_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9d7c3b28edcdb7a80765fc51683f749.jpg","text":"TemporaryFile(/tmp/multipartBody7765256753129101718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795838036,"filename":"image_09122025_12_34_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ece824d5c4d6ffbc41805888f921edc5.jpg","text":"TemporaryFile(/tmp/multipartBody2394578900300345797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795838036,"filename":"image_09122025_12_34_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e66795fe9fa70bd2d4bc4a1dccde774.jpg","text":"TemporaryFile(/tmp/multipartBody3465527331134610116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795838036,"filename":"image_09122025_12_34_14_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204184","file1":"1401204181","file0":"1401204178","file4":"1401204188","file5":"1401204190","file3":"1401204186"},"map_files_photo_id_array":[{"photo_id":"1401204190","filename":"file5"},{"photo_id":"1401204184","filename":"file2"},{"photo_id":"1401204188","filename":"file4"},{"photo_id":"1401204181","filename":"file1"},{"photo_id":"1401204178","filename":"file0"},{"photo_id":"1401204186","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204188":["hashtag1","hashtag2"]},{"1401204190":["hashtag1","hashtag2"]},{"1401204184":["hashtag1","hashtag2"]},{"1401204181":["hashtag1","hashtag2"]},{"1401204178":["hashtag1","hashtag2"]},{"1401204186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204188, 1401204190, 1401204184, 1401204181, 1401204178, 1401204186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.474918365478516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:37:02.909920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_45_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_24_9581.jpg', 2), ('/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/12/32/image_09122025_12_33_04_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_55_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_45_9583.jpg', '/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_35_10593.jpg', '/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_24_9581.jpg', '/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_15_10609.jpg', '/home/nano/Desktop/images/09122025/12/32/image_09122025_12_33_04_9594.jpg', '/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_55_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_45_9583.jpg
/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_35_10593.jpg
/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_24_9581.jpg
/home/nano/Desktop/images/09122025/12/33/image_09122025_12_33_15_10609.jpg
/home/nano/Desktop/images/09122025/12/32/image_09122025_12_33_04_9594.jpg
/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_55_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204201","1401204203","1401204205","1401204195","1401204208","1401204198"],"photo_ids_order":["1401204195","1401204198","1401204201","1401204203","1401204205","1401204208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbb125a0a62dd7413b52034b4feea24c.jpg","text":"TemporaryFile(/tmp/multipartBody7496555169339620218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795883767,"filename":"image_09122025_12_33_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4d6412fea4900495f02512518019f8e.jpg","text":"TemporaryFile(/tmp/multipartBody9050924594785910824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795883767,"filename":"image_09122025_12_33_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eecfde1054dc690b04f204d5906f47f6.jpg","text":"TemporaryFile(/tmp/multipartBody1739986674556766598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795883767,"filename":"image_09122025_12_33_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/12/27/e4cf3216222641b499ce2d8243bdca4b.jpg","text":"TemporaryFile(/tmp/multipartBody8613014414649411204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795883767,"filename":"image_09122025_12_33_45_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a44343147a6145b75e5741416019de9.jpg","text":"TemporaryFile(/tmp/multipartBody3104179500556596146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795883767,"filename":"image_09122025_12_32_55_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/478faab5bea84df665e959fa47ebc139.jpg","text":"TemporaryFile(/tmp/multipartBody2651641343728269291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795883767,"filename":"image_09122025_12_33_35_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204201","file1":"1401204198","file0":"1401204195","file4":"1401204205","file5":"1401204208","file3":"1401204203"},"map_files_photo_id_array":[{"photo_id":"1401204208","filename":"file5"},{"photo_id":"1401204201","filename":"file2"},{"photo_id":"1401204205","filename":"file4"},{"photo_id":"1401204198","filename":"file1"},{"photo_id":"1401204195","filename":"file0"},{"photo_id":"1401204203","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204201":["hashtag1","hashtag2"]},{"1401204203":["hashtag1","hashtag2"]},{"1401204205":["hashtag1","hashtag2"]},{"1401204195":["hashtag1","hashtag2"]},{"1401204208":["hashtag1","hashtag2"]},{"1401204198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204201, 1401204203, 1401204205, 1401204195, 1401204208, 1401204198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89332723617554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:37:47.376245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_45_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_34_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_25_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/31/image_09122025_12_31_24_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/31/image_09122025_12_31_15_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_45_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_45_10592.jpg', '/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_34_9585.jpg', '/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_25_10595.jpg', '/home/nano/Desktop/images/09122025/12/31/image_09122025_12_31_24_9584.jpg', '/home/nano/Desktop/images/09122025/12/31/image_09122025_12_31_15_9591.jpg', '/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_45_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_45_10592.jpg
/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_34_9585.jpg
/home/nano/Desktop/images/09122025/12/32/image_09122025_12_32_25_10595.jpg
/home/nano/Desktop/images/09122025/12/31/image_09122025_12_31_24_9584.jpg
/home/nano/Desktop/images/09122025/12/31/image_09122025_12_31_15_9591.jpg
/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_45_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204222","1401204216","1401204218","1401204215","1401204220","1401204217"],"photo_ids_order":["1401204215","1401204216","1401204217","1401204218","1401204220","1401204222"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76c47cad929b434b8b910f7042006bef.jpg","text":"TemporaryFile(/tmp/multipartBody382943989801871167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795928174,"filename":"image_09122025_12_30_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24767025f08a235980760691d1594810.jpg","text":"TemporaryFile(/tmp/multipartBody2969667829537448260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795928174,"filename":"image_09122025_12_32_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/12/27/4163af9728dca6af4cd3b995bf25d76f.jpg","text":"TemporaryFile(/tmp/multipartBody5748658822423051944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795928174,"filename":"image_09122025_12_31_24_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a031d3bb6d8cbdfd61dba580638b928.jpg","text":"TemporaryFile(/tmp/multipartBody8330963873728090573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795928174,"filename":"image_09122025_12_32_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba04c0e8684100d4b349aac3d2f74a48.jpg","text":"TemporaryFile(/tmp/multipartBody6774059396931604964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795928174,"filename":"image_09122025_12_31_15_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c41cd9f9a206a170f7151387bb9bc944.jpg","text":"TemporaryFile(/tmp/multipartBody2439879071878398079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795928174,"filename":"image_09122025_12_32_25_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204217","file1":"1401204216","file0":"1401204215","file4":"1401204220","file5":"1401204222","file3":"1401204218"},"map_files_photo_id_array":[{"photo_id":"1401204222","filename":"file5"},{"photo_id":"1401204217","filename":"file2"},{"photo_id":"1401204220","filename":"file4"},{"photo_id":"1401204216","filename":"file1"},{"photo_id":"1401204215","filename":"file0"},{"photo_id":"1401204218","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204222":["hashtag1","hashtag2"]},{"1401204216":["hashtag1","hashtag2"]},{"1401204218":["hashtag1","hashtag2"]},{"1401204215":["hashtag1","hashtag2"]},{"1401204220":["hashtag1","hashtag2"]},{"1401204217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204222, 1401204216, 1401204218, 1401204215, 1401204220, 1401204217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6232476234436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:38:32.469024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_25_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_15_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/12/29/image_09122025_12_30_04_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/12/29/image_09122025_12_29_44_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/12/29/image_09122025_12_29_35_9583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_34_9586.jpg', '/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_25_9599.jpg', '/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_15_10621.jpg', '/home/nano/Desktop/images/09122025/12/29/image_09122025_12_30_04_9597.jpg', '/home/nano/Desktop/images/09122025/12/29/image_09122025_12_29_44_9588.jpg', '/home/nano/Desktop/images/09122025/12/29/image_09122025_12_29_35_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_34_9586.jpg
/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_25_9599.jpg
/home/nano/Desktop/images/09122025/12/30/image_09122025_12_30_15_10621.jpg
/home/nano/Desktop/images/09122025/12/29/image_09122025_12_30_04_9597.jpg
/home/nano/Desktop/images/09122025/12/29/image_09122025_12_29_44_9588.jpg
/home/nano/Desktop/images/09122025/12/29/image_09122025_12_29_35_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204237","1401204245","1401204247","1401204241","1401204243","1401204246"],"photo_ids_order":["1401204237","1401204241","1401204243","1401204245","1401204246","1401204247"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b25de57f4f3d73a011e7aa707706ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody4547239025285998736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795973262,"filename":"image_09122025_12_30_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eaf928bfae29221f5ba0657740a600cb.jpg","text":"TemporaryFile(/tmp/multipartBody6852655430186994784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795973262,"filename":"image_09122025_12_30_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/12/27/5f40e4dc7dd179cae0de94b2332f00ca.jpg","text":"TemporaryFile(/tmp/multipartBody5278882667398130858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795973262,"filename":"image_09122025_12_29_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a44306e96a857c11022c67ef5586961.jpg","text":"TemporaryFile(/tmp/multipartBody1831498821589140121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795973262,"filename":"image_09122025_12_30_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cff033bf50e47e09295bcdd698fc87d8.jpg","text":"TemporaryFile(/tmp/multipartBody3113793852160731992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795973262,"filename":"image_09122025_12_30_15_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/527fabe36c62edeaf30a5d71af80733c.jpg","text":"TemporaryFile(/tmp/multipartBody9148590777068532874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766795973262,"filename":"image_09122025_12_29_44_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204243","file1":"1401204241","file0":"1401204237","file4":"1401204246","file5":"1401204247","file3":"1401204245"},"map_files_photo_id_array":[{"photo_id":"1401204247","filename":"file5"},{"photo_id":"1401204243","filename":"file2"},{"photo_id":"1401204246","filename":"file4"},{"photo_id":"1401204241","filename":"file1"},{"photo_id":"1401204237","filename":"file0"},{"photo_id":"1401204245","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204237":["hashtag1","hashtag2"]},{"1401204245":["hashtag1","hashtag2"]},{"1401204247":["hashtag1","hashtag2"]},{"1401204241":["hashtag1","hashtag2"]},{"1401204243":["hashtag1","hashtag2"]},{"1401204246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204237, 1401204245, 1401204247, 1401204241, 1401204243, 1401204246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97500395774841 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:39:17.702090
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_45_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_34_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_15_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/12/27/image_09122025_12_28_04_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/27/image_09122025_12_27_14_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/12/26/image_09122025_12_27_05_10603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_45_10609.jpg', '/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_34_9599.jpg', '/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_15_10608.jpg', '/home/nano/Desktop/images/09122025/12/27/image_09122025_12_28_04_9596.jpg', '/home/nano/Desktop/images/09122025/12/27/image_09122025_12_27_14_9588.jpg', '/home/nano/Desktop/images/09122025/12/26/image_09122025_12_27_05_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_45_10609.jpg
/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_34_9599.jpg
/home/nano/Desktop/images/09122025/12/28/image_09122025_12_28_15_10608.jpg
/home/nano/Desktop/images/09122025/12/27/image_09122025_12_28_04_9596.jpg
/home/nano/Desktop/images/09122025/12/27/image_09122025_12_27_14_9588.jpg
/home/nano/Desktop/images/09122025/12/26/image_09122025_12_27_05_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204272","1401204274","1401204262","1401204270","1401204264","1401204267"],"photo_ids_order":["1401204262","1401204264","1401204267","1401204270","1401204272","1401204274"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6da89ea6b4c43842489bb97bd9bd50b0.jpg","text":"TemporaryFile(/tmp/multipartBody737033940806518113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796018503,"filename":"image_09122025_12_27_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/848939eb0c218e44624cc64bd9738023.jpg","text":"TemporaryFile(/tmp/multipartBody539040050744976120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796018503,"filename":"image_09122025_12_27_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da1e3c23916a1b84ecceeb7e97abcbaf.jpg","text":"TemporaryFile(/tmp/multipartBody2333038794039773773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796018503,"filename":"image_09122025_12_28_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fb637802fea36980e8cdbe42b291249.jpg","text":"TemporaryFile(/tmp/multipartBody5169768506136592724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796018503,"filename":"image_09122025_12_28_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c1d50bf7cf12eacde65262633ec2312.jpg","text":"TemporaryFile(/tmp/multipartBody4177263240638948945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796018503,"filename":"image_09122025_12_28_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/12/27/37364e9f7937165d4e34e798e9c1ab08.jpg","text":"TemporaryFile(/tmp/multipartBody1224462759437165736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796018503,"filename":"image_09122025_12_28_15_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204267","file1":"1401204264","file0":"1401204262","file4":"1401204272","file5":"1401204274","file3":"1401204270"},"map_files_photo_id_array":[{"photo_id":"1401204274","filename":"file5"},{"photo_id":"1401204267","filename":"file2"},{"photo_id":"1401204272","filename":"file4"},{"photo_id":"1401204264","filename":"file1"},{"photo_id":"1401204262","filename":"file0"},{"photo_id":"1401204270","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204272":["hashtag1","hashtag2"]},{"1401204274":["hashtag1","hashtag2"]},{"1401204262":["hashtag1","hashtag2"]},{"1401204270":["hashtag1","hashtag2"]},{"1401204264":["hashtag1","hashtag2"]},{"1401204267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204272, 1401204274, 1401204262, 1401204270, 1401204264, 1401204267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95927309989929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:40:02.072117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/26/image_09122025_12_26_54_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/12/26/image_09122025_12_26_45_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/25/image_09122025_12_26_04_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/25/image_09122025_12_25_55_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/25/image_09122025_12_25_14_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/12/24/image_09122025_12_25_05_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/26/image_09122025_12_26_54_9583.jpg', '/home/nano/Desktop/images/09122025/12/26/image_09122025_12_26_45_9584.jpg', '/home/nano/Desktop/images/09122025/12/25/image_09122025_12_26_04_9582.jpg', '/home/nano/Desktop/images/09122025/12/25/image_09122025_12_25_55_9582.jpg', '/home/nano/Desktop/images/09122025/12/25/image_09122025_12_25_14_9602.jpg', '/home/nano/Desktop/images/09122025/12/24/image_09122025_12_25_05_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/26/image_09122025_12_26_54_9583.jpg
/home/nano/Desktop/images/09122025/12/26/image_09122025_12_26_45_9584.jpg
/home/nano/Desktop/images/09122025/12/25/image_09122025_12_26_04_9582.jpg
/home/nano/Desktop/images/09122025/12/25/image_09122025_12_25_55_9582.jpg
/home/nano/Desktop/images/09122025/12/25/image_09122025_12_25_14_9602.jpg
/home/nano/Desktop/images/09122025/12/24/image_09122025_12_25_05_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":["1401204277","1401204288","1401204282","1401204291","1401204285","1401204279"],"photo_ids_order":["1401204277","1401204279","1401204282","1401204285","1401204288","1401204291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/810e2f27dde11fa7017423e949b46d5e.jpg","text":"TemporaryFile(/tmp/multipartBody4835258087384879120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796062865,"filename":"image_09122025_12_26_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18c9d4c4a08945da7f1d445f82be1883.jpg","text":"TemporaryFile(/tmp/multipartBody3343979357986392494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796062865,"filename":"image_09122025_12_25_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41345c1d02eb6b31ce5d7db8b2c8699f.jpg","text":"TemporaryFile(/tmp/multipartBody1623918581677873003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796062865,"filename":"image_09122025_12_26_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10c7fb4f0a751fa1a1c2c3d509e57351.jpg","text":"TemporaryFile(/tmp/multipartBody5655603600504420022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796062865,"filename":"image_09122025_12_25_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b01930db1608f81cfffa5956316a5202.jpg","text":"TemporaryFile(/tmp/multipartBody613996488997831755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796062865,"filename":"image_09122025_12_25_55_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/128bbbc749597ed1d9a0f8d78eabfa73.jpg","text":"TemporaryFile(/tmp/multipartBody3780110964958966846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796062865,"filename":"image_09122025_12_26_45_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204282","file1":"1401204279","file0":"1401204277","file4":"1401204288","file5":"1401204291","file3":"1401204285"},"map_files_photo_id_array":[{"photo_id":"1401204291","filename":"file5"},{"photo_id":"1401204282","filename":"file2"},{"photo_id":"1401204288","filename":"file4"},{"photo_id":"1401204279","filename":"file1"},{"photo_id":"1401204277","filename":"file0"},{"photo_id":"1401204285","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204277":["hashtag1","hashtag2"]},{"1401204288":["hashtag1","hashtag2"]},{"1401204282":["hashtag1","hashtag2"]},{"1401204291":["hashtag1","hashtag2"]},{"1401204285":["hashtag1","hashtag2"]},{"1401204279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204277, 1401204288, 1401204282, 1401204291, 1401204285, 1401204279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64474177360535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:40:46.753876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_24_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/12/23/image_09122025_12_24_05_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_34_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_25_9583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_44_9586.jpg', '/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_24_9599.jpg', '/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_15_9600.jpg', '/home/nano/Desktop/images/09122025/12/23/image_09122025_12_24_05_10610.jpg', '/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_34_9584.jpg', '/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_25_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_44_9586.jpg
/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_24_9599.jpg
/home/nano/Desktop/images/09122025/12/24/image_09122025_12_24_15_9600.jpg
/home/nano/Desktop/images/09122025/12/23/image_09122025_12_24_05_10610.jpg
/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_34_9584.jpg
/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_25_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204312","1401204309","1401204303","1401204314","1401204301","1401204307"],"photo_ids_order":["1401204301","1401204303","1401204307","1401204309","1401204312","1401204314"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf2953e6596541c593bfb1480754549e.jpg","text":"TemporaryFile(/tmp/multipartBody1667373767833842004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796107531,"filename":"image_09122025_12_23_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5bb2c07317703d22fe20de3e6eeea0c3.jpg","text":"TemporaryFile(/tmp/multipartBody4907262916487712260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796107531,"filename":"image_09122025_12_24_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b6904dff034b754d81051c3114e13d0.jpg","text":"TemporaryFile(/tmp/multipartBody4649757455379993127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796107531,"filename":"image_09122025_12_24_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/12/27/13b849d1ff157b7fd701bfb10a26b8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8354593310271731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796107531,"filename":"image_09122025_12_23_25_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/478f0ee19d7729c76b04873b65c17e00.jpg","text":"TemporaryFile(/tmp/multipartBody359566642656469515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796107531,"filename":"image_09122025_12_24_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/12/27/d28cf2e65d3178e80dad552efb7d487a.jpg","text":"TemporaryFile(/tmp/multipartBody7851442592329051409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796107531,"filename":"image_09122025_12_24_15_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204307","file1":"1401204303","file0":"1401204301","file4":"1401204312","file5":"1401204314","file3":"1401204309"},"map_files_photo_id_array":[{"photo_id":"1401204314","filename":"file5"},{"photo_id":"1401204307","filename":"file2"},{"photo_id":"1401204312","filename":"file4"},{"photo_id":"1401204303","filename":"file1"},{"photo_id":"1401204301","filename":"file0"},{"photo_id":"1401204309","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204312":["hashtag1","hashtag2"]},{"1401204309":["hashtag1","hashtag2"]},{"1401204303":["hashtag1","hashtag2"]},{"1401204314":["hashtag1","hashtag2"]},{"1401204301":["hashtag1","hashtag2"]},{"1401204307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204312, 1401204309, 1401204303, 1401204314, 1401204301, 1401204307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.845908403396606 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:41:31.879900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_23_04_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_44_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_35_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_14_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/21/image_09122025_12_22_05_10593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_15_10609.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_23_04_9623.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_44_9582.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_35_9584.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_14_9590.jpg', '/home/nano/Desktop/images/09122025/12/21/image_09122025_12_22_05_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_15_10609.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_23_04_9623.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_44_9582.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_35_9584.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_14_9590.jpg
/home/nano/Desktop/images/09122025/12/21/image_09122025_12_22_05_10593.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.730961799621582 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:41:46.899058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_23_04_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_44_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_35_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_14_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/21/image_09122025_12_22_05_10593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_15_10609.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_23_04_9623.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_44_9582.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_35_9584.jpg', '/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_14_9590.jpg', '/home/nano/Desktop/images/09122025/12/21/image_09122025_12_22_05_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/23/image_09122025_12_23_15_10609.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_23_04_9623.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_44_9582.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_35_9584.jpg
/home/nano/Desktop/images/09122025/12/22/image_09122025_12_22_14_9590.jpg
/home/nano/Desktop/images/09122025/12/21/image_09122025_12_22_05_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":["1401204341","1401204344","1401204338","1401204347","1401204346","1401204343"],"photo_ids_order":["1401204338","1401204341","1401204343","1401204344","1401204346","1401204347"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08140f3c15c5f7a732c8741db11470ca.jpg","text":"TemporaryFile(/tmp/multipartBody6242150420668633302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796167705,"filename":"image_09122025_12_23_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/12/27/5f0b95bb34a91b0af2ac4d5431aa0431.jpg","text":"TemporaryFile(/tmp/multipartBody2774277810288002516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796167705,"filename":"image_09122025_12_22_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2817edfb9b966bbaaf3fdbae3f5affd9.jpg","text":"TemporaryFile(/tmp/multipartBody5914391412449299467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796167705,"filename":"image_09122025_12_23_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e978c212f21e3fd66701becb70df28cb.jpg","text":"TemporaryFile(/tmp/multipartBody1921300624470865953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796167705,"filename":"image_09122025_12_22_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/463420b00385344c200debdb13ad028e.jpg","text":"TemporaryFile(/tmp/multipartBody3173387445176849442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796167705,"filename":"image_09122025_12_22_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23f4b7d8b6b3d576574721ff01287160.jpg","text":"TemporaryFile(/tmp/multipartBody4366825769224666031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796167705,"filename":"image_09122025_12_22_44_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204343","file1":"1401204341","file0":"1401204338","file4":"1401204346","file5":"1401204347","file3":"1401204344"},"map_files_photo_id_array":[{"photo_id":"1401204347","filename":"file5"},{"photo_id":"1401204343","filename":"file2"},{"photo_id":"1401204346","filename":"file4"},{"photo_id":"1401204341","filename":"file1"},{"photo_id":"1401204338","filename":"file0"},{"photo_id":"1401204344","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204341":["hashtag1","hashtag2"]},{"1401204344":["hashtag1","hashtag2"]},{"1401204338":["hashtag1","hashtag2"]},{"1401204347":["hashtag1","hashtag2"]},{"1401204346":["hashtag1","hashtag2"]},{"1401204343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204341, 1401204344, 1401204338, 1401204347, 1401204346, 1401204343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54536747932434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:42:32.015146
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/01/42/image_27122025_01_42_55_10517.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/01/42/image_27122025_01_42_55_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/01/42/image_27122025_01_42_55_10517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204361"],"photo_id":"1401204361","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3629a2c276c5fe18f2029334f7146a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4405550314733662739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796212258,"filename":"image_27122025_01_42_55_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401204361"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401204361"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.29643177986145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:42:46.998045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/21/image_09122025_12_21_54_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/21/image_09122025_12_21_45_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/20/image_09122025_12_21_04_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/12/20/image_09122025_12_20_14_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/12/19/image_09122025_12_20_05_10601.jpg', 2), ('/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_55_9582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/21/image_09122025_12_21_54_9584.jpg', '/home/nano/Desktop/images/09122025/12/21/image_09122025_12_21_45_10592.jpg', '/home/nano/Desktop/images/09122025/12/20/image_09122025_12_21_04_9606.jpg', '/home/nano/Desktop/images/09122025/12/20/image_09122025_12_20_14_9597.jpg', '/home/nano/Desktop/images/09122025/12/19/image_09122025_12_20_05_10601.jpg', '/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_55_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/21/image_09122025_12_21_54_9584.jpg
/home/nano/Desktop/images/09122025/12/21/image_09122025_12_21_45_10592.jpg
/home/nano/Desktop/images/09122025/12/20/image_09122025_12_21_04_9606.jpg
/home/nano/Desktop/images/09122025/12/20/image_09122025_12_20_14_9597.jpg
/home/nano/Desktop/images/09122025/12/19/image_09122025_12_20_05_10601.jpg
/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_55_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204389","1401204376","1401204385","1401204381","1401204375","1401204384"],"photo_ids_order":["1401204375","1401204376","1401204381","1401204384","1401204385","1401204389"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8a69938b68c93dd7b63d94ba4258188.jpg","text":"TemporaryFile(/tmp/multipartBody6467991758570319047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796227781,"filename":"image_09122025_12_18_55_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0d505b3f32955735be6fad450c18117.jpg","text":"TemporaryFile(/tmp/multipartBody8868629765745904077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796227781,"filename":"image_09122025_12_21_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29463de3b3461362526b20e8a10d869e.jpg","text":"TemporaryFile(/tmp/multipartBody1634378059598506888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796227781,"filename":"image_09122025_12_20_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcdc5c0246bea26541bfd666b6a22f85.jpg","text":"TemporaryFile(/tmp/multipartBody6754185545814393005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796227781,"filename":"image_09122025_12_21_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/12/27/a6260e83229f798144af713ca13f5b2b.jpg","text":"TemporaryFile(/tmp/multipartBody3125843030449817882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796227781,"filename":"image_09122025_12_21_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b86aeaf3215dff7f0c4d79fc90e9191.jpg","text":"TemporaryFile(/tmp/multipartBody3571047815378469371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796227781,"filename":"image_09122025_12_20_14_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204381","file1":"1401204376","file0":"1401204375","file4":"1401204385","file5":"1401204389","file3":"1401204384"},"map_files_photo_id_array":[{"photo_id":"1401204389","filename":"file5"},{"photo_id":"1401204381","filename":"file2"},{"photo_id":"1401204385","filename":"file4"},{"photo_id":"1401204376","filename":"file1"},{"photo_id":"1401204375","filename":"file0"},{"photo_id":"1401204384","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204389":["hashtag1","hashtag2"]},{"1401204376":["hashtag1","hashtag2"]},{"1401204385":["hashtag1","hashtag2"]},{"1401204381":["hashtag1","hashtag2"]},{"1401204375":["hashtag1","hashtag2"]},{"1401204384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204389, 1401204376, 1401204385, 1401204381, 1401204375, 1401204384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.928943157196045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:43:32.111644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_45_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_34_9580.jpg', 2), ('/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_25_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_14_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_55_10591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_44_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_45_10595.jpg', '/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_34_9580.jpg', '/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_25_10593.jpg', '/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_14_9592.jpg', '/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_55_10591.jpg', '/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_44_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_45_10595.jpg
/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_34_9580.jpg
/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_25_10593.jpg
/home/nano/Desktop/images/09122025/12/18/image_09122025_12_18_14_9592.jpg
/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_55_10591.jpg
/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_44_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204408","1401204404","1401204401","1401204409","1401204403","1401204406"],"photo_ids_order":["1401204401","1401204403","1401204404","1401204406","1401204408","1401204409"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb7766cf643038bc0ff4db67aaf6b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody6791822732038342706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796272924,"filename":"image_09122025_12_17_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ccadbeb6e8da621e93da56b1c73b96c.jpg","text":"TemporaryFile(/tmp/multipartBody209210625596912625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796272924,"filename":"image_09122025_12_18_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ead74ed9c08a04bf38c5a5f3d2460a6f.jpg","text":"TemporaryFile(/tmp/multipartBody138981509048730190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796272924,"filename":"image_09122025_12_18_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4da14696aff54b63a9bef3ba7ebfe7f4.jpg","text":"TemporaryFile(/tmp/multipartBody7821690439239001227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796272924,"filename":"image_09122025_12_17_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/007775c3a7ece861b6e2f06bdf2cfd1c.jpg","text":"TemporaryFile(/tmp/multipartBody8758657168069083784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796272924,"filename":"image_09122025_12_18_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b8ce3ab13686b87f25617d8e51c1733.jpg","text":"TemporaryFile(/tmp/multipartBody8750157099131937574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796272924,"filename":"image_09122025_12_18_14_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204404","file1":"1401204403","file0":"1401204401","file4":"1401204408","file5":"1401204409","file3":"1401204406"},"map_files_photo_id_array":[{"photo_id":"1401204409","filename":"file5"},{"photo_id":"1401204404","filename":"file2"},{"photo_id":"1401204408","filename":"file4"},{"photo_id":"1401204403","filename":"file1"},{"photo_id":"1401204401","filename":"file0"},{"photo_id":"1401204406","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204408":["hashtag1","hashtag2"]},{"1401204404":["hashtag1","hashtag2"]},{"1401204401":["hashtag1","hashtag2"]},{"1401204409":["hashtag1","hashtag2"]},{"1401204403":["hashtag1","hashtag2"]},{"1401204406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204408, 1401204404, 1401204401, 1401204409, 1401204403, 1401204406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73188233375549 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:44:17.220615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_35_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/16/image_09122025_12_17_05_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/12/16/image_09122025_12_16_54_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/15/image_09122025_12_16_04_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_55_10607.jpg', 2), ('/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_44_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_35_10594.jpg', '/home/nano/Desktop/images/09122025/12/16/image_09122025_12_17_05_10605.jpg', '/home/nano/Desktop/images/09122025/12/16/image_09122025_12_16_54_9585.jpg', '/home/nano/Desktop/images/09122025/12/15/image_09122025_12_16_04_9584.jpg', '/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_55_10607.jpg', '/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_44_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/17/image_09122025_12_17_35_10594.jpg
/home/nano/Desktop/images/09122025/12/16/image_09122025_12_17_05_10605.jpg
/home/nano/Desktop/images/09122025/12/16/image_09122025_12_16_54_9585.jpg
/home/nano/Desktop/images/09122025/12/15/image_09122025_12_16_04_9584.jpg
/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_55_10607.jpg
/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_44_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204432","1401204420","1401204428","1401204430","1401204424","1401204418"],"photo_ids_order":["1401204418","1401204420","1401204424","1401204428","1401204430","1401204432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2125dae18ea81484b801780d1ccb1407.jpg","text":"TemporaryFile(/tmp/multipartBody870878777979726320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796318003,"filename":"image_09122025_12_15_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/12/27/22dda567a98719c90fbf9fc2a3abb72c.jpg","text":"TemporaryFile(/tmp/multipartBody8173875687463316090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796318003,"filename":"image_09122025_12_17_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4469a8c8acefa38c7efa196a77e36662.jpg","text":"TemporaryFile(/tmp/multipartBody3787558188256638429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796318003,"filename":"image_09122025_12_16_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7724ebe5cc2ef142b59881a5cc202bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8111104605887142255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796318003,"filename":"image_09122025_12_15_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77b1c862df06579413ef27929e410787.jpg","text":"TemporaryFile(/tmp/multipartBody5885549518626915922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796318003,"filename":"image_09122025_12_16_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f474ff208237246c5e5f0e575b0e22d.jpg","text":"TemporaryFile(/tmp/multipartBody1725908136770556744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796318003,"filename":"image_09122025_12_17_35_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204424","file1":"1401204420","file0":"1401204418","file4":"1401204430","file5":"1401204432","file3":"1401204428"},"map_files_photo_id_array":[{"photo_id":"1401204432","filename":"file5"},{"photo_id":"1401204424","filename":"file2"},{"photo_id":"1401204430","filename":"file4"},{"photo_id":"1401204420","filename":"file1"},{"photo_id":"1401204418","filename":"file0"},{"photo_id":"1401204428","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204432":["hashtag1","hashtag2"]},{"1401204420":["hashtag1","hashtag2"]},{"1401204428":["hashtag1","hashtag2"]},{"1401204430":["hashtag1","hashtag2"]},{"1401204424":["hashtag1","hashtag2"]},{"1401204418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204432, 1401204420, 1401204428, 1401204430, 1401204424, 1401204418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27530026435852 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:45:02.753011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_15_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_45_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_25_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_15_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/12/13/image_09122025_12_14_04_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_15_9604.jpg', '/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_45_10593.jpg', '/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_34_9587.jpg', '/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_25_9582.jpg', '/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_15_10617.jpg', '/home/nano/Desktop/images/09122025/12/13/image_09122025_12_14_04_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/15/image_09122025_12_15_15_9604.jpg
/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_45_10593.jpg
/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_34_9587.jpg
/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_25_9582.jpg
/home/nano/Desktop/images/09122025/12/14/image_09122025_12_14_15_10617.jpg
/home/nano/Desktop/images/09122025/12/13/image_09122025_12_14_04_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":["1401204435","1401204449","1401204440","1401204443","1401204437","1401204446"],"photo_ids_order":["1401204435","1401204437","1401204440","1401204443","1401204446","1401204449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f737cd54768253db32da936d07e55568.jpg","text":"TemporaryFile(/tmp/multipartBody8140105736552908767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796363598,"filename":"image_09122025_12_15_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a2a5aa406d05de9ab3ffa36963fc57e.jpg","text":"TemporaryFile(/tmp/multipartBody4129207887499921492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796363598,"filename":"image_09122025_12_14_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/12/27/795b62ab4047ca6efbd2027cd757ac89.jpg","text":"TemporaryFile(/tmp/multipartBody7775098748166115053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796363598,"filename":"image_09122025_12_14_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38322ae202a0051efa9f37b861c6da3c.jpg","text":"TemporaryFile(/tmp/multipartBody6143992355531223246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796363598,"filename":"image_09122025_12_14_25_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3810ce05f09d3cb80d8feafbf843d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody2149690734363742008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796363598,"filename":"image_09122025_12_14_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a917c675da5734e7408ee6d16c099acc.jpg","text":"TemporaryFile(/tmp/multipartBody5196160198102850534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796363598,"filename":"image_09122025_12_14_15_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204440","file1":"1401204437","file0":"1401204435","file4":"1401204446","file5":"1401204449","file3":"1401204443"},"map_files_photo_id_array":[{"photo_id":"1401204449","filename":"file5"},{"photo_id":"1401204440","filename":"file2"},{"photo_id":"1401204446","filename":"file4"},{"photo_id":"1401204437","filename":"file1"},{"photo_id":"1401204435","filename":"file0"},{"photo_id":"1401204443","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204435":["hashtag1","hashtag2"]},{"1401204449":["hashtag1","hashtag2"]},{"1401204440":["hashtag1","hashtag2"]},{"1401204443":["hashtag1","hashtag2"]},{"1401204437":["hashtag1","hashtag2"]},{"1401204446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204435, 1401204449, 1401204440, 1401204443, 1401204437, 1401204446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85831332206726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:45:47.312662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_55_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_35_9581.jpg', 2), ('/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_25_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_14_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/12/image_09122025_12_13_05_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_55_10594.jpg', '/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_44_9586.jpg', '/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_35_9581.jpg', '/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_25_10592.jpg', '/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_14_9598.jpg', '/home/nano/Desktop/images/09122025/12/12/image_09122025_12_13_05_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_55_10594.jpg
/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_44_9586.jpg
/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_35_9581.jpg
/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_25_10592.jpg
/home/nano/Desktop/images/09122025/12/13/image_09122025_12_13_14_9598.jpg
/home/nano/Desktop/images/09122025/12/12/image_09122025_12_13_05_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204464","1401204458","1401204457","1401204460","1401204462","1401204459"],"photo_ids_order":["1401204457","1401204458","1401204459","1401204460","1401204462","1401204464"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/168c73503fd3245ab8cd76eac70f6a89.jpg","text":"TemporaryFile(/tmp/multipartBody4142263798297479262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796408099,"filename":"image_09122025_12_13_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22464b6aaf19eca113f39138a17e3c32.jpg","text":"TemporaryFile(/tmp/multipartBody7088138105757930231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796408099,"filename":"image_09122025_12_13_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/12/27/4ddcfbe7e7e86821d0ec54409cc6cc63.jpg","text":"TemporaryFile(/tmp/multipartBody944778380615326167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796408099,"filename":"image_09122025_12_13_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a3f87b4b389fa4d9c93bfa7294aed47.jpg","text":"TemporaryFile(/tmp/multipartBody5294660625724678683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796408099,"filename":"image_09122025_12_13_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0542e72f3265f54008edd807c5b08791.jpg","text":"TemporaryFile(/tmp/multipartBody1148772092911361235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796408099,"filename":"image_09122025_12_13_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3619b99bd430311cfbc90ef25cbd24c9.jpg","text":"TemporaryFile(/tmp/multipartBody8964638407758551627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796408099,"filename":"image_09122025_12_13_35_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204459","file1":"1401204458","file0":"1401204457","file4":"1401204462","file5":"1401204464","file3":"1401204460"},"map_files_photo_id_array":[{"photo_id":"1401204464","filename":"file5"},{"photo_id":"1401204459","filename":"file2"},{"photo_id":"1401204462","filename":"file4"},{"photo_id":"1401204458","filename":"file1"},{"photo_id":"1401204457","filename":"file0"},{"photo_id":"1401204460","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204464":["hashtag1","hashtag2"]},{"1401204458":["hashtag1","hashtag2"]},{"1401204457":["hashtag1","hashtag2"]},{"1401204460":["hashtag1","hashtag2"]},{"1401204462":["hashtag1","hashtag2"]},{"1401204459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204464, 1401204458, 1401204457, 1401204460, 1401204462, 1401204459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64852714538574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:46:32.409036
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_54_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_45_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_35_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_24_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_15_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/12/11/image_09122025_12_12_04_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_54_9582.jpg', '/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_45_9583.jpg', '/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_35_10592.jpg', '/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_24_9582.jpg', '/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_15_10634.jpg', '/home/nano/Desktop/images/09122025/12/11/image_09122025_12_12_04_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_54_9582.jpg
/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_45_9583.jpg
/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_35_10592.jpg
/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_24_9582.jpg
/home/nano/Desktop/images/09122025/12/12/image_09122025_12_12_15_10634.jpg
/home/nano/Desktop/images/09122025/12/11/image_09122025_12_12_04_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":["1401204485","1401204482","1401204476","1401204486","1401204480","1401204483"],"photo_ids_order":["1401204476","1401204480","1401204482","1401204483","1401204485","1401204486"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4200b8e96dac75d2a676fadc44bc1e6.jpg","text":"TemporaryFile(/tmp/multipartBody1251286489977011774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796453206,"filename":"image_09122025_12_12_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45bdb13ea449616096af70a4159a2a39.jpg","text":"TemporaryFile(/tmp/multipartBody1072698052573033204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796453206,"filename":"image_09122025_12_12_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56608655f5f56355774a6f0eea5dd4ae.jpg","text":"TemporaryFile(/tmp/multipartBody3072607190521855526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796453206,"filename":"image_09122025_12_12_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efce438c71fd552d01ffbcb856976642.jpg","text":"TemporaryFile(/tmp/multipartBody1259229702736221921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796453206,"filename":"image_09122025_12_12_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/12/27/7705973620f95387ee0ca15af73f9138.jpg","text":"TemporaryFile(/tmp/multipartBody7759005735793654932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796453206,"filename":"image_09122025_12_12_45_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7d3709e0c923ec0b074fbfb2ae93e04.jpg","text":"TemporaryFile(/tmp/multipartBody9017847949242510320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796453206,"filename":"image_09122025_12_12_24_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204482","file1":"1401204480","file0":"1401204476","file4":"1401204485","file5":"1401204486","file3":"1401204483"},"map_files_photo_id_array":[{"photo_id":"1401204486","filename":"file5"},{"photo_id":"1401204482","filename":"file2"},{"photo_id":"1401204485","filename":"file4"},{"photo_id":"1401204480","filename":"file1"},{"photo_id":"1401204476","filename":"file0"},{"photo_id":"1401204483","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204485":["hashtag1","hashtag2"]},{"1401204482":["hashtag1","hashtag2"]},{"1401204476":["hashtag1","hashtag2"]},{"1401204486":["hashtag1","hashtag2"]},{"1401204480":["hashtag1","hashtag2"]},{"1401204483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204485, 1401204482, 1401204476, 1401204486, 1401204480, 1401204483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8329758644104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:47:17.556543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_55_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_34_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_25_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_14_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/12/10/image_09122025_12_11_05_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_55_9598.jpg', '/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_45_10598.jpg', '/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_34_9582.jpg', '/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_25_10592.jpg', '/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_14_9600.jpg', '/home/nano/Desktop/images/09122025/12/10/image_09122025_12_11_05_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_55_9598.jpg
/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_45_10598.jpg
/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_34_9582.jpg
/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_25_10592.jpg
/home/nano/Desktop/images/09122025/12/11/image_09122025_12_11_14_9600.jpg
/home/nano/Desktop/images/09122025/12/10/image_09122025_12_11_05_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":["1401204513","1401204515","1401204511","1401204508","1401204502","1401204505"],"photo_ids_order":["1401204502","1401204505","1401204508","1401204511","1401204513","1401204515"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/459c091f8e6bdf4f0f5eda6c11315080.jpg","text":"TemporaryFile(/tmp/multipartBody2988217589149813480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796498341,"filename":"image_09122025_12_11_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/048da1b60bffb4793e4915761d638dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7826834809081727958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796498341,"filename":"image_09122025_12_11_05_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/815e1fe463e42dc4b5e8c2bf559849c2.jpg","text":"TemporaryFile(/tmp/multipartBody5647370925623844262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796498341,"filename":"image_09122025_12_11_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6502dce473798bcac9c1dbd2ad22434b.jpg","text":"TemporaryFile(/tmp/multipartBody36149890616043535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796498341,"filename":"image_09122025_12_11_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d07c90ea4ac3133bdf290ac5f9b67883.jpg","text":"TemporaryFile(/tmp/multipartBody4349779377783696569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796498341,"filename":"image_09122025_12_11_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84ac38903ba05fdfda1501eaf377ee2b.jpg","text":"TemporaryFile(/tmp/multipartBody5484910871881165330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796498341,"filename":"image_09122025_12_11_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204508","file1":"1401204505","file0":"1401204502","file4":"1401204513","file5":"1401204515","file3":"1401204511"},"map_files_photo_id_array":[{"photo_id":"1401204515","filename":"file5"},{"photo_id":"1401204508","filename":"file2"},{"photo_id":"1401204513","filename":"file4"},{"photo_id":"1401204505","filename":"file1"},{"photo_id":"1401204502","filename":"file0"},{"photo_id":"1401204511","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204513":["hashtag1","hashtag2"]},{"1401204515":["hashtag1","hashtag2"]},{"1401204511":["hashtag1","hashtag2"]},{"1401204508":["hashtag1","hashtag2"]},{"1401204502":["hashtag1","hashtag2"]},{"1401204505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204513, 1401204515, 1401204511, 1401204508, 1401204502, 1401204505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.325275897979736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:48:03.077399
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_55_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_44_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_24_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_15_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/12/09/image_09122025_12_10_04_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_55_10592.jpg', '/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_44_9584.jpg', '/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_35_10596.jpg', '/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_24_9582.jpg', '/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_15_10608.jpg', '/home/nano/Desktop/images/09122025/12/09/image_09122025_12_10_04_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_55_10592.jpg
/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_44_9584.jpg
/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_35_10596.jpg
/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_24_9582.jpg
/home/nano/Desktop/images/09122025/12/10/image_09122025_12_10_15_10608.jpg
/home/nano/Desktop/images/09122025/12/09/image_09122025_12_10_04_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":["1401204525","1401204519","1401204528","1401204518","1401204532","1401204522"],"photo_ids_order":["1401204518","1401204519","1401204522","1401204525","1401204528","1401204532"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9b7b132a169a62096031c6b169cca29.jpg","text":"TemporaryFile(/tmp/multipartBody6387868619221760875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796543943,"filename":"image_09122025_12_10_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e65e3245df8891ca2d4c9c1651ac9c1f.jpg","text":"TemporaryFile(/tmp/multipartBody3354822370441703555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796543943,"filename":"image_09122025_12_10_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c225d091794b60bf9a4740c4094cabf.jpg","text":"TemporaryFile(/tmp/multipartBody5336488671425390191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796543943,"filename":"image_09122025_12_10_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/611b59ebb33308aae834b2a5273c59fd.jpg","text":"TemporaryFile(/tmp/multipartBody1270791131465387198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796543943,"filename":"image_09122025_12_10_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/103107037599263c7bddf56dc453a94a.jpg","text":"TemporaryFile(/tmp/multipartBody4429415291755743676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796543943,"filename":"image_09122025_12_10_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4b41187892b59322e2a8a907eacc1c1.jpg","text":"TemporaryFile(/tmp/multipartBody3262714976258237094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796543943,"filename":"image_09122025_12_10_35_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204522","file1":"1401204519","file0":"1401204518","file4":"1401204528","file5":"1401204532","file3":"1401204525"},"map_files_photo_id_array":[{"photo_id":"1401204532","filename":"file5"},{"photo_id":"1401204522","filename":"file2"},{"photo_id":"1401204528","filename":"file4"},{"photo_id":"1401204519","filename":"file1"},{"photo_id":"1401204518","filename":"file0"},{"photo_id":"1401204525","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204525":["hashtag1","hashtag2"]},{"1401204519":["hashtag1","hashtag2"]},{"1401204528":["hashtag1","hashtag2"]},{"1401204518":["hashtag1","hashtag2"]},{"1401204532":["hashtag1","hashtag2"]},{"1401204522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204525, 1401204519, 1401204528, 1401204518, 1401204532, 1401204522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.036076068878174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:48:47.672879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_54_9581.jpg', 2), ('/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_45_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_34_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_25_10606.jpg', 2), ('/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_14_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/08/image_09122025_12_09_05_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_54_9581.jpg', '/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_45_10595.jpg', '/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_34_9584.jpg', '/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_25_10606.jpg', '/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_14_9590.jpg', '/home/nano/Desktop/images/09122025/12/08/image_09122025_12_09_05_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_54_9581.jpg
/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_45_10595.jpg
/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_34_9584.jpg
/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_25_10606.jpg
/home/nano/Desktop/images/09122025/12/09/image_09122025_12_09_14_9590.jpg
/home/nano/Desktop/images/09122025/12/08/image_09122025_12_09_05_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":["1401204548","1401204542","1401204545","1401204541","1401204540","1401204543"],"photo_ids_order":["1401204540","1401204541","1401204542","1401204543","1401204545","1401204548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d49c7c40554b4ac94000b780088d8c3.jpg","text":"TemporaryFile(/tmp/multipartBody8589750906995534685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796588478,"filename":"image_09122025_12_09_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd3916746a65c0605eb90c93672053eb.jpg","text":"TemporaryFile(/tmp/multipartBody4371091525266716611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796588478,"filename":"image_09122025_12_09_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/faa7b05686e09e564a154cc6e858bf28.jpg","text":"TemporaryFile(/tmp/multipartBody7015718834772346805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796588478,"filename":"image_09122025_12_09_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4418179756c93b8ef9e48b03a36ac8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2850929237429538559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796588478,"filename":"image_09122025_12_09_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/552b7cb7cd41327da87520959ef8b2c3.jpg","text":"TemporaryFile(/tmp/multipartBody1165581358011201822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796588478,"filename":"image_09122025_12_09_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74383c17951e3fa75c2db760c1c01535.jpg","text":"TemporaryFile(/tmp/multipartBody5421901955541108700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796588478,"filename":"image_09122025_12_09_25_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204542","file1":"1401204541","file0":"1401204540","file4":"1401204545","file5":"1401204548","file3":"1401204543"},"map_files_photo_id_array":[{"photo_id":"1401204548","filename":"file5"},{"photo_id":"1401204542","filename":"file2"},{"photo_id":"1401204545","filename":"file4"},{"photo_id":"1401204541","filename":"file1"},{"photo_id":"1401204540","filename":"file0"},{"photo_id":"1401204543","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204548":["hashtag1","hashtag2"]},{"1401204542":["hashtag1","hashtag2"]},{"1401204545":["hashtag1","hashtag2"]},{"1401204541":["hashtag1","hashtag2"]},{"1401204540":["hashtag1","hashtag2"]},{"1401204543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204548, 1401204542, 1401204545, 1401204541, 1401204540, 1401204543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.020259618759155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:49:31.784138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_55_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_44_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_35_10592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_24_9580.jpg', 2), ('/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_15_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/12/07/image_09122025_12_08_05_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_55_10613.jpg', '/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_44_9585.jpg', '/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_35_10592.jpg', '/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_24_9580.jpg', '/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_15_9592.jpg', '/home/nano/Desktop/images/09122025/12/07/image_09122025_12_08_05_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_55_10613.jpg
/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_44_9585.jpg
/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_35_10592.jpg
/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_24_9580.jpg
/home/nano/Desktop/images/09122025/12/08/image_09122025_12_08_15_9592.jpg
/home/nano/Desktop/images/09122025/12/07/image_09122025_12_08_05_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":["1401204566","1401204569","1401204560","1401204562","1401204568","1401204564"],"photo_ids_order":["1401204560","1401204562","1401204564","1401204566","1401204568","1401204569"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f22dc6af0f92833fddd36d3238bdfc17.jpg","text":"TemporaryFile(/tmp/multipartBody494973456620891459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796632574,"filename":"image_09122025_12_08_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dc3ecce5b102685ca4e42053b6a6d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3513182883555680409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796632574,"filename":"image_09122025_12_08_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a69521c928fe1389fe9b6f3f523cdf9c.jpg","text":"TemporaryFile(/tmp/multipartBody2782309428159537710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796632574,"filename":"image_09122025_12_08_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9f751718a5a0c89c4102fcb348b2cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1513780151087089372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796632574,"filename":"image_09122025_12_08_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/12/27/021ecd7b1ea3c896780731b9e4e5abeb.jpg","text":"TemporaryFile(/tmp/multipartBody8150541633260238341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796632574,"filename":"image_09122025_12_08_15_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62c086974620d7c21bff4fcf90ed5baf.jpg","text":"TemporaryFile(/tmp/multipartBody6999594168943054587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796632574,"filename":"image_09122025_12_08_35_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204564","file1":"1401204562","file0":"1401204560","file4":"1401204568","file5":"1401204569","file3":"1401204566"},"map_files_photo_id_array":[{"photo_id":"1401204569","filename":"file5"},{"photo_id":"1401204564","filename":"file2"},{"photo_id":"1401204568","filename":"file4"},{"photo_id":"1401204562","filename":"file1"},{"photo_id":"1401204560","filename":"file0"},{"photo_id":"1401204566","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204566":["hashtag1","hashtag2"]},{"1401204569":["hashtag1","hashtag2"]},{"1401204560":["hashtag1","hashtag2"]},{"1401204562":["hashtag1","hashtag2"]},{"1401204568":["hashtag1","hashtag2"]},{"1401204564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204566, 1401204569, 1401204560, 1401204562, 1401204568, 1401204564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.381924867630005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:50:16.860583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_54_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_45_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_34_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_25_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_15_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/12/06/image_09122025_12_07_04_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_54_9584.jpg', '/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_45_10594.jpg', '/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_34_9585.jpg', '/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_25_9584.jpg', '/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_15_10608.jpg', '/home/nano/Desktop/images/09122025/12/06/image_09122025_12_07_04_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_54_9584.jpg
/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_45_10594.jpg
/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_34_9585.jpg
/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_25_9584.jpg
/home/nano/Desktop/images/09122025/12/07/image_09122025_12_07_15_10608.jpg
/home/nano/Desktop/images/09122025/12/06/image_09122025_12_07_04_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":["1401204590","1401204578","1401204593","1401204595","1401204586","1401204582"],"photo_ids_order":["1401204578","1401204582","1401204586","1401204590","1401204593","1401204595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf96c35729c59571c0406c21ea37022b.jpg","text":"TemporaryFile(/tmp/multipartBody3615753613419359199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796677658,"filename":"image_09122025_12_07_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0ccce297cbcd8ed0e241e3ee404994a.jpg","text":"TemporaryFile(/tmp/multipartBody6586176402700357801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796677658,"filename":"image_09122025_12_07_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0eb3dff45a98014ea294b8968e7f67bb.jpg","text":"TemporaryFile(/tmp/multipartBody3000536129680354115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796677658,"filename":"image_09122025_12_07_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91d90e97e6626aae8624ef76bb7f24c8.jpg","text":"TemporaryFile(/tmp/multipartBody3252604360127224867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796677658,"filename":"image_09122025_12_07_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/12/27/9db40db06f6e869d74a8675919043417.jpg","text":"TemporaryFile(/tmp/multipartBody7433282263281665666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796677658,"filename":"image_09122025_12_07_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/12/27/5a8b2f8b225e433e6bb4617240e4f2f5.jpg","text":"TemporaryFile(/tmp/multipartBody7224847890470740041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796677658,"filename":"image_09122025_12_07_45_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204586","file1":"1401204582","file0":"1401204578","file4":"1401204593","file5":"1401204595","file3":"1401204590"},"map_files_photo_id_array":[{"photo_id":"1401204595","filename":"file5"},{"photo_id":"1401204586","filename":"file2"},{"photo_id":"1401204593","filename":"file4"},{"photo_id":"1401204582","filename":"file1"},{"photo_id":"1401204578","filename":"file0"},{"photo_id":"1401204590","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204590":["hashtag1","hashtag2"]},{"1401204578":["hashtag1","hashtag2"]},{"1401204593":["hashtag1","hashtag2"]},{"1401204595":["hashtag1","hashtag2"]},{"1401204586":["hashtag1","hashtag2"]},{"1401204582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204590, 1401204578, 1401204593, 1401204595, 1401204586, 1401204582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.291873931884766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:51:02.375405
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_55_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_35_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_25_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_14_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/12/05/image_09122025_12_06_05_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_55_10612.jpg', '/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_44_9586.jpg', '/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_35_9587.jpg', '/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_25_10594.jpg', '/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_14_9621.jpg', '/home/nano/Desktop/images/09122025/12/05/image_09122025_12_06_05_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_55_10612.jpg
/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_44_9586.jpg
/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_35_9587.jpg
/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_25_10594.jpg
/home/nano/Desktop/images/09122025/12/06/image_09122025_12_06_14_9621.jpg
/home/nano/Desktop/images/09122025/12/05/image_09122025_12_06_05_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":["1401204600","1401204602","1401204611","1401204598","1401204607","1401204604"],"photo_ids_order":["1401204598","1401204600","1401204602","1401204604","1401204607","1401204611"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49aa92663b840a6cb38e0aeb9ea92095.jpg","text":"TemporaryFile(/tmp/multipartBody4637110001320495900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796723282,"filename":"image_09122025_12_06_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/12/27/006866c4e8e7162f5e55635e976c0134.jpg","text":"TemporaryFile(/tmp/multipartBody1743409736398072348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796723282,"filename":"image_09122025_12_06_35_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fd3bd50ccbe8546c48a4d446f272ed8.jpg","text":"TemporaryFile(/tmp/multipartBody5466286754738306286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796723282,"filename":"image_09122025_12_06_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4333c1536bb535a85b6ef59375a051d4.jpg","text":"TemporaryFile(/tmp/multipartBody2826209869408601519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796723282,"filename":"image_09122025_12_06_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e11c4e7495d2502a338381b6f6e3db2.jpg","text":"TemporaryFile(/tmp/multipartBody6318436207892608245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796723282,"filename":"image_09122025_12_06_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f906682cdecd0461896d69ed2f0d98d4.jpg","text":"TemporaryFile(/tmp/multipartBody9141048351888808769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796723282,"filename":"image_09122025_12_06_25_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204602","file1":"1401204600","file0":"1401204598","file4":"1401204607","file5":"1401204611","file3":"1401204604"},"map_files_photo_id_array":[{"photo_id":"1401204611","filename":"file5"},{"photo_id":"1401204602","filename":"file2"},{"photo_id":"1401204607","filename":"file4"},{"photo_id":"1401204600","filename":"file1"},{"photo_id":"1401204598","filename":"file0"},{"photo_id":"1401204604","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204600":["hashtag1","hashtag2"]},{"1401204602":["hashtag1","hashtag2"]},{"1401204611":["hashtag1","hashtag2"]},{"1401204598":["hashtag1","hashtag2"]},{"1401204607":["hashtag1","hashtag2"]},{"1401204604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204600, 1401204602, 1401204611, 1401204598, 1401204607, 1401204604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78730344772339 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:51:47.013522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_54_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_45_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_15_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/12/04/image_09122025_12_05_04_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_54_9585.jpg', '/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_45_9585.jpg', '/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_35_10595.jpg', '/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_24_9587.jpg', '/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_15_10614.jpg', '/home/nano/Desktop/images/09122025/12/04/image_09122025_12_05_04_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_54_9585.jpg
/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_45_9585.jpg
/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_35_10595.jpg
/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_24_9587.jpg
/home/nano/Desktop/images/09122025/12/05/image_09122025_12_05_15_10614.jpg
/home/nano/Desktop/images/09122025/12/04/image_09122025_12_05_04_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":["1401204630","1401204627","1401204623","1401204631","1401204625","1401204622"],"photo_ids_order":["1401204622","1401204623","1401204625","1401204627","1401204630","1401204631"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a63475c9aa34cdaab9239beb0ff6dc99.jpg","text":"TemporaryFile(/tmp/multipartBody6771867108441542439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796767814,"filename":"image_09122025_12_05_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac1f90772774858d83a038f6596ffe75.jpg","text":"TemporaryFile(/tmp/multipartBody3898280217825076068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796767814,"filename":"image_09122025_12_05_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42c212ae21499579f3f1fec07ac139d8.jpg","text":"TemporaryFile(/tmp/multipartBody3340025100735453582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796767814,"filename":"image_09122025_12_05_45_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/168a27ff5d014bb96f9208af10e4a5ea.jpg","text":"TemporaryFile(/tmp/multipartBody7768125877662876088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796767814,"filename":"image_09122025_12_05_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/12/27/482d686dacdb2e41634f16370a9dda00.jpg","text":"TemporaryFile(/tmp/multipartBody8428383319241614806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796767814,"filename":"image_09122025_12_05_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65423ef1ffe513c011a846c5de258857.jpg","text":"TemporaryFile(/tmp/multipartBody7963709356550970337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796767814,"filename":"image_09122025_12_05_54_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204625","file1":"1401204623","file0":"1401204622","file4":"1401204630","file5":"1401204631","file3":"1401204627"},"map_files_photo_id_array":[{"photo_id":"1401204631","filename":"file5"},{"photo_id":"1401204625","filename":"file2"},{"photo_id":"1401204630","filename":"file4"},{"photo_id":"1401204623","filename":"file1"},{"photo_id":"1401204622","filename":"file0"},{"photo_id":"1401204627","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204630":["hashtag1","hashtag2"]},{"1401204627":["hashtag1","hashtag2"]},{"1401204623":["hashtag1","hashtag2"]},{"1401204631":["hashtag1","hashtag2"]},{"1401204625":["hashtag1","hashtag2"]},{"1401204622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204630, 1401204627, 1401204623, 1401204631, 1401204625, 1401204622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53942561149597 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:52:32.087946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_55_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_25_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_14_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/12/03/image_09122025_12_04_05_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_55_9587.jpg', '/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_45_10597.jpg', '/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_34_9587.jpg', '/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_25_10599.jpg', '/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_14_9605.jpg', '/home/nano/Desktop/images/09122025/12/03/image_09122025_12_04_05_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_55_9587.jpg
/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_45_10597.jpg
/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_34_9587.jpg
/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_25_10599.jpg
/home/nano/Desktop/images/09122025/12/04/image_09122025_12_04_14_9605.jpg
/home/nano/Desktop/images/09122025/12/03/image_09122025_12_04_05_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":["1401204645","1401204650","1401204653","1401204652","1401204646","1401204648"],"photo_ids_order":["1401204645","1401204646","1401204648","1401204650","1401204652","1401204653"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ab4152079d36ab603ec48e4de7d7012.jpg","text":"TemporaryFile(/tmp/multipartBody8117041285206442309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796812866,"filename":"image_09122025_12_04_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/531cf57b7528fd2c4b3c44632e728101.jpg","text":"TemporaryFile(/tmp/multipartBody5231362500419225539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796812866,"filename":"image_09122025_12_04_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d8a4199ee055c81b0555c367c87b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody9092906582594147176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796812866,"filename":"image_09122025_12_04_05_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/055db5161a65e032d93897d1cc9c53f9.jpg","text":"TemporaryFile(/tmp/multipartBody5775094691434272367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796812866,"filename":"image_09122025_12_04_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/12/27/120f1a4d98026a386bc2a2ee3361cfd4.jpg","text":"TemporaryFile(/tmp/multipartBody7625565667568245116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796812866,"filename":"image_09122025_12_04_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7ad7c62a5f0625b83191b5fddade39c.jpg","text":"TemporaryFile(/tmp/multipartBody3175237784469314471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796812866,"filename":"image_09122025_12_04_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204648","file1":"1401204646","file0":"1401204645","file4":"1401204652","file5":"1401204653","file3":"1401204650"},"map_files_photo_id_array":[{"photo_id":"1401204653","filename":"file5"},{"photo_id":"1401204648","filename":"file2"},{"photo_id":"1401204652","filename":"file4"},{"photo_id":"1401204646","filename":"file1"},{"photo_id":"1401204645","filename":"file0"},{"photo_id":"1401204650","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204645":["hashtag1","hashtag2"]},{"1401204650":["hashtag1","hashtag2"]},{"1401204653":["hashtag1","hashtag2"]},{"1401204652":["hashtag1","hashtag2"]},{"1401204646":["hashtag1","hashtag2"]},{"1401204648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204645, 1401204650, 1401204653, 1401204652, 1401204646, 1401204648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02444863319397 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:53:17.159151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_55_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_44_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_24_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_15_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/02/image_09122025_12_03_05_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_55_10595.jpg', '/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_44_9588.jpg', '/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_35_10595.jpg', '/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_24_9585.jpg', '/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_15_9594.jpg', '/home/nano/Desktop/images/09122025/12/02/image_09122025_12_03_05_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_55_10595.jpg
/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_44_9588.jpg
/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_35_10595.jpg
/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_24_9585.jpg
/home/nano/Desktop/images/09122025/12/03/image_09122025_12_03_15_9594.jpg
/home/nano/Desktop/images/09122025/12/02/image_09122025_12_03_05_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":["1401204686","1401204674","1401204682","1401204676","1401204679","1401204684"],"photo_ids_order":["1401204674","1401204676","1401204679","1401204682","1401204684","1401204686"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c897ed71de619062b5a21a3d6a69dc95.jpg","text":"TemporaryFile(/tmp/multipartBody7062520220568825519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796857941,"filename":"image_09122025_12_03_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef01c4cbc6c76ef09007c11ddfe5c2f8.jpg","text":"TemporaryFile(/tmp/multipartBody5932271215483756918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796857941,"filename":"image_09122025_12_03_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67a4fa05bb1c26c0ce231cd07b9ca9b1.jpg","text":"TemporaryFile(/tmp/multipartBody3949353487239796018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796857941,"filename":"image_09122025_12_03_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a209991c9ebef1ca802a5702280be246.jpg","text":"TemporaryFile(/tmp/multipartBody5065011697550034909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796857941,"filename":"image_09122025_12_03_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/12/27/10c07dda218f9f2ccc423eae1214c648.jpg","text":"TemporaryFile(/tmp/multipartBody7199232615291330865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796857941,"filename":"image_09122025_12_03_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cbfe23e76e61f5b2ae0f8b772cabb4c.jpg","text":"TemporaryFile(/tmp/multipartBody6429753545185694198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796857941,"filename":"image_09122025_12_03_15_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204679","file1":"1401204676","file0":"1401204674","file4":"1401204684","file5":"1401204686","file3":"1401204682"},"map_files_photo_id_array":[{"photo_id":"1401204686","filename":"file5"},{"photo_id":"1401204679","filename":"file2"},{"photo_id":"1401204684","filename":"file4"},{"photo_id":"1401204676","filename":"file1"},{"photo_id":"1401204674","filename":"file0"},{"photo_id":"1401204682","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204686":["hashtag1","hashtag2"]},{"1401204674":["hashtag1","hashtag2"]},{"1401204682":["hashtag1","hashtag2"]},{"1401204676":["hashtag1","hashtag2"]},{"1401204679":["hashtag1","hashtag2"]},{"1401204684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204686, 1401204674, 1401204682, 1401204676, 1401204679, 1401204684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.642252683639526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:54:02.868490
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_54_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_25_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/12/01/image_09122025_12_02_04_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_54_9589.jpg', '/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_45_10597.jpg', '/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_34_9586.jpg', '/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_25_10594.jpg', '/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_14_9603.jpg', '/home/nano/Desktop/images/09122025/12/01/image_09122025_12_02_04_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_54_9589.jpg
/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_45_10597.jpg
/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_34_9586.jpg
/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_25_10594.jpg
/home/nano/Desktop/images/09122025/12/02/image_09122025_12_02_14_9603.jpg
/home/nano/Desktop/images/09122025/12/01/image_09122025_12_02_04_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":["1401204702","1401204695","1401204698","1401204692","1401204690","1401204693"],"photo_ids_order":["1401204690","1401204692","1401204693","1401204695","1401204698","1401204702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87061ae9e555c8e0c53a0f44f579d0f7.jpg","text":"TemporaryFile(/tmp/multipartBody2726779380304998350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796903791,"filename":"image_09122025_12_02_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f314df764d43be683f2b1ef337d760f3.jpg","text":"TemporaryFile(/tmp/multipartBody323934390903355480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796903791,"filename":"image_09122025_12_02_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c26b8d6bb3ec4d7e3e88ddd35cf34165.jpg","text":"TemporaryFile(/tmp/multipartBody3967932641274242073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796903791,"filename":"image_09122025_12_02_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/deb24e3340ddefdee594e4ea89ffa055.jpg","text":"TemporaryFile(/tmp/multipartBody335231046818304421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796903791,"filename":"image_09122025_12_02_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f64cbda3bee598f2fe669a0af110025c.jpg","text":"TemporaryFile(/tmp/multipartBody2593898741295514897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796903791,"filename":"image_09122025_12_02_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/12/27/9e4263bf6a99b2f3413c89b6f5b5733d.jpg","text":"TemporaryFile(/tmp/multipartBody813818097361687105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796903791,"filename":"image_09122025_12_02_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204693","file1":"1401204692","file0":"1401204690","file4":"1401204698","file5":"1401204702","file3":"1401204695"},"map_files_photo_id_array":[{"photo_id":"1401204702","filename":"file5"},{"photo_id":"1401204693","filename":"file2"},{"photo_id":"1401204698","filename":"file4"},{"photo_id":"1401204692","filename":"file1"},{"photo_id":"1401204690","filename":"file0"},{"photo_id":"1401204695","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204702":["hashtag1","hashtag2"]},{"1401204695":["hashtag1","hashtag2"]},{"1401204698":["hashtag1","hashtag2"]},{"1401204692":["hashtag1","hashtag2"]},{"1401204690":["hashtag1","hashtag2"]},{"1401204693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204702, 1401204695, 1401204698, 1401204692, 1401204690, 1401204693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18745017051697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:54:47.261866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_55_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_44_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_35_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_24_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_15_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/12/00/image_09122025_12_01_05_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_55_10596.jpg', '/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_44_9587.jpg', '/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_35_10598.jpg', '/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_24_9586.jpg', '/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_15_9591.jpg', '/home/nano/Desktop/images/09122025/12/00/image_09122025_12_01_05_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_55_10596.jpg
/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_44_9587.jpg
/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_35_10598.jpg
/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_24_9586.jpg
/home/nano/Desktop/images/09122025/12/01/image_09122025_12_01_15_9591.jpg
/home/nano/Desktop/images/09122025/12/00/image_09122025_12_01_05_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":["1401204726","1401204714","1401204713","1401204719","1401204712","1401204715"],"photo_ids_order":["1401204712","1401204713","1401204714","1401204715","1401204719","1401204726"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94c722fc82bcb1210ff687040f79872f.jpg","text":"TemporaryFile(/tmp/multipartBody5938968253441802658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796948053,"filename":"image_09122025_12_01_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ae28b18cad2db2c86331cc68331197e.jpg","text":"TemporaryFile(/tmp/multipartBody5054094250264978144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796948053,"filename":"image_09122025_12_01_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67f8a92759c1ecc2d6afca0d99424c53.jpg","text":"TemporaryFile(/tmp/multipartBody3775921515017161361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796948053,"filename":"image_09122025_12_01_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3829b3e175575e05aa2caa5242c03f6.jpg","text":"TemporaryFile(/tmp/multipartBody3235391255809892120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796948053,"filename":"image_09122025_12_01_15_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/838550e504b6652319e01caeee505a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7905155115610355980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796948053,"filename":"image_09122025_12_01_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/098224581d2be0fd9e4174dfaea13468.jpg","text":"TemporaryFile(/tmp/multipartBody3419543242774496113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796948053,"filename":"image_09122025_12_01_24_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204714","file1":"1401204713","file0":"1401204712","file4":"1401204719","file5":"1401204726","file3":"1401204715"},"map_files_photo_id_array":[{"photo_id":"1401204726","filename":"file5"},{"photo_id":"1401204714","filename":"file2"},{"photo_id":"1401204719","filename":"file4"},{"photo_id":"1401204713","filename":"file1"},{"photo_id":"1401204712","filename":"file0"},{"photo_id":"1401204715","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204726":["hashtag1","hashtag2"]},{"1401204714":["hashtag1","hashtag2"]},{"1401204713":["hashtag1","hashtag2"]},{"1401204719":["hashtag1","hashtag2"]},{"1401204712":["hashtag1","hashtag2"]},{"1401204715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204726, 1401204714, 1401204713, 1401204719, 1401204712, 1401204715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02189493179321 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:55:32.394363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_54_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_45_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_34_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_25_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_15_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/11/59/image_09122025_12_00_04_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_54_9589.jpg', '/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_45_10596.jpg', '/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_34_9590.jpg', '/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_25_9601.jpg', '/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_15_10617.jpg', '/home/nano/Desktop/images/09122025/11/59/image_09122025_12_00_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_54_9589.jpg
/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_45_10596.jpg
/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_34_9590.jpg
/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_25_9601.jpg
/home/nano/Desktop/images/09122025/12/00/image_09122025_12_00_15_10617.jpg
/home/nano/Desktop/images/09122025/11/59/image_09122025_12_00_04_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":["1401204744","1401204738","1401204732","1401204740","1401204742","1401204735"],"photo_ids_order":["1401204732","1401204735","1401204738","1401204740","1401204742","1401204744"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/532d80bdbfafca61a097451390178c40.jpg","text":"TemporaryFile(/tmp/multipartBody3825742360624408196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796993206,"filename":"image_09122025_12_00_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/12/27/bc62c2a620100ebffb12bdcfeb41e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody1576793116792841846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796993206,"filename":"image_09122025_12_00_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/12/27/7eacb8730ab263055e6cf0be83a87ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8116418261237920399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796993206,"filename":"image_09122025_12_00_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/12/27/c617b81ac6579bd40a61cf73b1e107f6.jpg","text":"TemporaryFile(/tmp/multipartBody2263437696330836209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796993206,"filename":"image_09122025_12_00_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66e536ad62bcbc02ad3bcb51385c7275.jpg","text":"TemporaryFile(/tmp/multipartBody410281866972558986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796993206,"filename":"image_09122025_12_00_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8afd0591db49242d3dacffc72b34f893.jpg","text":"TemporaryFile(/tmp/multipartBody5712880793037102188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766796993206,"filename":"image_09122025_12_00_45_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204738","file1":"1401204735","file0":"1401204732","file4":"1401204742","file5":"1401204744","file3":"1401204740"},"map_files_photo_id_array":[{"photo_id":"1401204744","filename":"file5"},{"photo_id":"1401204738","filename":"file2"},{"photo_id":"1401204742","filename":"file4"},{"photo_id":"1401204735","filename":"file1"},{"photo_id":"1401204732","filename":"file0"},{"photo_id":"1401204740","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204744":["hashtag1","hashtag2"]},{"1401204738":["hashtag1","hashtag2"]},{"1401204732":["hashtag1","hashtag2"]},{"1401204740":["hashtag1","hashtag2"]},{"1401204742":["hashtag1","hashtag2"]},{"1401204735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204744, 1401204738, 1401204732, 1401204740, 1401204742, 1401204735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30350303649902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:56:17.502783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_55_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_44_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_35_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_25_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_14_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/11/58/image_09122025_11_59_05_10602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_55_10598.jpg', '/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_44_9583.jpg', '/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_35_9587.jpg', '/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_25_10610.jpg', '/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_14_9620.jpg', '/home/nano/Desktop/images/09122025/11/58/image_09122025_11_59_05_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_55_10598.jpg
/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_44_9583.jpg
/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_35_9587.jpg
/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_25_10610.jpg
/home/nano/Desktop/images/09122025/11/59/image_09122025_11_59_14_9620.jpg
/home/nano/Desktop/images/09122025/11/58/image_09122025_11_59_05_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":["1401204761","1401204771","1401204765","1401204780","1401204768","1401204762"],"photo_ids_order":["1401204761","1401204762","1401204765","1401204768","1401204771","1401204780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a46d0a3f0cf520b26429b1ad371d548b.jpg","text":"TemporaryFile(/tmp/multipartBody4572700277745799266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797038355,"filename":"image_09122025_11_59_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4ee597363dfe551f24ac5f6f153292b.jpg","text":"TemporaryFile(/tmp/multipartBody7057133852069356890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797038355,"filename":"image_09122025_11_59_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/12/27/18c04a9284a8727a8bd8c763302559c1.jpg","text":"TemporaryFile(/tmp/multipartBody4575473681770752027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797038355,"filename":"image_09122025_11_59_35_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e548c027e711120405faf4bd738bedee.jpg","text":"TemporaryFile(/tmp/multipartBody6867171803486053142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797038355,"filename":"image_09122025_11_59_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c082c7a8e3c25b2625ce5864c6659bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1297817547852159442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797038355,"filename":"image_09122025_11_59_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a82dfdd57148cc0a7546aab76079ecab.jpg","text":"TemporaryFile(/tmp/multipartBody2733463119111444064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797038355,"filename":"image_09122025_11_59_44_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204765","file1":"1401204762","file0":"1401204761","file4":"1401204771","file5":"1401204780","file3":"1401204768"},"map_files_photo_id_array":[{"photo_id":"1401204780","filename":"file5"},{"photo_id":"1401204765","filename":"file2"},{"photo_id":"1401204771","filename":"file4"},{"photo_id":"1401204762","filename":"file1"},{"photo_id":"1401204761","filename":"file0"},{"photo_id":"1401204768","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204761":["hashtag1","hashtag2"]},{"1401204771":["hashtag1","hashtag2"]},{"1401204765":["hashtag1","hashtag2"]},{"1401204780":["hashtag1","hashtag2"]},{"1401204768":["hashtag1","hashtag2"]},{"1401204762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204761, 1401204771, 1401204765, 1401204780, 1401204768, 1401204762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.722846031188965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:57:03.128588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_45_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_35_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_15_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_58_04_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_54_9588.jpg', '/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_45_9589.jpg', '/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_35_10598.jpg', '/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_24_9587.jpg', '/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_15_10613.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_58_04_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_54_9588.jpg
/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_45_9589.jpg
/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_35_10598.jpg
/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_24_9587.jpg
/home/nano/Desktop/images/09122025/11/58/image_09122025_11_58_15_10613.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_58_04_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":["1401204801","1401204804","1401204791","1401204793","1401204796","1401204798"],"photo_ids_order":["1401204791","1401204793","1401204796","1401204798","1401204801","1401204804"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8daeac995582f3b8cf779bd334fb6c2e.jpg","text":"TemporaryFile(/tmp/multipartBody932606827150847476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797083945,"filename":"image_09122025_11_58_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a922c55865727875852513413325f645.jpg","text":"TemporaryFile(/tmp/multipartBody393664211864033776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797083945,"filename":"image_09122025_11_58_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/12/27/d995a87d5b1ed48af38ba07bb50da1eb.jpg","text":"TemporaryFile(/tmp/multipartBody7691213495336819873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797083945,"filename":"image_09122025_11_58_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/12/27/a9935255c59225ab3df0daeb878e1df6.jpg","text":"TemporaryFile(/tmp/multipartBody2930938661764058119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797083945,"filename":"image_09122025_11_58_45_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/809779b8abe6ea9e565888f3fc2296e7.jpg","text":"TemporaryFile(/tmp/multipartBody4661825289327051757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797083945,"filename":"image_09122025_11_58_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf8d9b86ea062904766f543b146304b4.jpg","text":"TemporaryFile(/tmp/multipartBody6935973141838541722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797083945,"filename":"image_09122025_11_58_24_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204796","file1":"1401204793","file0":"1401204791","file4":"1401204801","file5":"1401204804","file3":"1401204798"},"map_files_photo_id_array":[{"photo_id":"1401204804","filename":"file5"},{"photo_id":"1401204796","filename":"file2"},{"photo_id":"1401204801","filename":"file4"},{"photo_id":"1401204793","filename":"file1"},{"photo_id":"1401204791","filename":"file0"},{"photo_id":"1401204798","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204801":["hashtag1","hashtag2"]},{"1401204804":["hashtag1","hashtag2"]},{"1401204791":["hashtag1","hashtag2"]},{"1401204793":["hashtag1","hashtag2"]},{"1401204796":["hashtag1","hashtag2"]},{"1401204798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204801, 1401204804, 1401204791, 1401204793, 1401204796, 1401204798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05884075164795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:57:47.662764
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_55_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_25_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/11/56/image_09122025_11_57_05_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_55_9589.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_45_10598.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_34_9586.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_25_10616.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_14_9603.jpg', '/home/nano/Desktop/images/09122025/11/56/image_09122025_11_57_05_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_55_9589.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_45_10598.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_34_9586.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_25_10616.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_14_9603.jpg
/home/nano/Desktop/images/09122025/11/56/image_09122025_11_57_05_9590.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:58:02.184204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_55_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_25_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_14_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/11/56/image_09122025_11_57_05_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_55_9589.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_45_10598.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_34_9586.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_25_10616.jpg', '/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_14_9603.jpg', '/home/nano/Desktop/images/09122025/11/56/image_09122025_11_57_05_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_55_9589.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_45_10598.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_34_9586.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_25_10616.jpg
/home/nano/Desktop/images/09122025/11/57/image_09122025_11_57_14_9603.jpg
/home/nano/Desktop/images/09122025/11/56/image_09122025_11_57_05_9590.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401204819","1401204813","1401204815","1401204818","1401204817","1401204820"],"photo_ids_order":["1401204813","1401204815","1401204817","1401204818","1401204819","1401204820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55781ca114dd0d3d2042b52efea7c83d.jpg","text":"TemporaryFile(/tmp/multipartBody4793636495121081023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797143042,"filename":"image_09122025_11_57_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fce2564cb603eb151783cf4af529ff19.jpg","text":"TemporaryFile(/tmp/multipartBody1242839306218740496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797143042,"filename":"image_09122025_11_57_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6a1b2cf76659d1ef8da159a337ad393.jpg","text":"TemporaryFile(/tmp/multipartBody3981241998038781438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797143042,"filename":"image_09122025_11_57_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/384c0a3fc374488de0306ee2fbfba6ec.jpg","text":"TemporaryFile(/tmp/multipartBody5598417881056277385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797143042,"filename":"image_09122025_11_57_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/974d0827aaad743fe71b564d2fa9b36f.jpg","text":"TemporaryFile(/tmp/multipartBody1628623838566795008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797143042,"filename":"image_09122025_11_57_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60d073b1fdc0e873816229b26aad55d3.jpg","text":"TemporaryFile(/tmp/multipartBody3861743758816142981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797143042,"filename":"image_09122025_11_57_05_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204817","file1":"1401204815","file0":"1401204813","file4":"1401204819","file5":"1401204820","file3":"1401204818"},"map_files_photo_id_array":[{"photo_id":"1401204820","filename":"file5"},{"photo_id":"1401204817","filename":"file2"},{"photo_id":"1401204819","filename":"file4"},{"photo_id":"1401204815","filename":"file1"},{"photo_id":"1401204813","filename":"file0"},{"photo_id":"1401204818","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204819":["hashtag1","hashtag2"]},{"1401204813":["hashtag1","hashtag2"]},{"1401204815":["hashtag1","hashtag2"]},{"1401204818":["hashtag1","hashtag2"]},{"1401204817":["hashtag1","hashtag2"]},{"1401204820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204819, 1401204813, 1401204815, 1401204818, 1401204817, 1401204820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10193729400635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:59:03.345783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_55_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_44_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/11/55/image_09122025_11_56_05_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_55_10595.jpg', '/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_44_9587.jpg', '/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_35_10595.jpg', '/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_24_9587.jpg', '/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_15_9625.jpg', '/home/nano/Desktop/images/09122025/11/55/image_09122025_11_56_05_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_55_10595.jpg
/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_44_9587.jpg
/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_35_10595.jpg
/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_24_9587.jpg
/home/nano/Desktop/images/09122025/11/56/image_09122025_11_56_15_9625.jpg
/home/nano/Desktop/images/09122025/11/55/image_09122025_11_56_05_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":["1401204854","1401204961","1401204835","1401204888","1401204927","1401204834"],"photo_ids_order":["1401204834","1401204835","1401204854","1401204888","1401204927","1401204961"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d7c456104cd55507a2797e4e1f6fabf.jpg","text":"TemporaryFile(/tmp/multipartBody7193557361560711188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797204145,"filename":"image_09122025_11_56_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55e1ba6ceea608bc2183f824423ae8f8.jpg","text":"TemporaryFile(/tmp/multipartBody8487901078171559632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797204145,"filename":"image_09122025_11_56_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34af1ee33756a38fb83e757dbcdc167d.jpg","text":"TemporaryFile(/tmp/multipartBody2398497023561548338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797204145,"filename":"image_09122025_11_56_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8960a322df2933c99b69ec52f581052e.jpg","text":"TemporaryFile(/tmp/multipartBody2558294395770697738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797204145,"filename":"image_09122025_11_56_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ec45c1083f79fd4a9003d5e8d01136b.jpg","text":"TemporaryFile(/tmp/multipartBody2855525054083208269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797204145,"filename":"image_09122025_11_56_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1917d97376a71ec746aa3145df20ed15.jpg","text":"TemporaryFile(/tmp/multipartBody111591364369834833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797204145,"filename":"image_09122025_11_56_55_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401204854","file1":"1401204835","file0":"1401204834","file4":"1401204927","file5":"1401204961","file3":"1401204888"},"map_files_photo_id_array":[{"photo_id":"1401204961","filename":"file5"},{"photo_id":"1401204854","filename":"file2"},{"photo_id":"1401204927","filename":"file4"},{"photo_id":"1401204835","filename":"file1"},{"photo_id":"1401204834","filename":"file0"},{"photo_id":"1401204888","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401204854":["hashtag1","hashtag2"]},{"1401204961":["hashtag1","hashtag2"]},{"1401204835":["hashtag1","hashtag2"]},{"1401204888":["hashtag1","hashtag2"]},{"1401204927":["hashtag1","hashtag2"]},{"1401204834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401204854, 1401204961, 1401204835, 1401204888, 1401204927, 1401204834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39060616493225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 01:59:47.538390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_54_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_45_10601.jpg', 2), ('/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_34_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_25_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_15_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/11/54/image_09122025_11_55_04_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_54_9592.jpg', '/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_45_10601.jpg', '/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_34_9589.jpg', '/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_25_9588.jpg', '/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_15_10612.jpg', '/home/nano/Desktop/images/09122025/11/54/image_09122025_11_55_04_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_54_9592.jpg
/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_45_10601.jpg
/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_34_9589.jpg
/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_25_9588.jpg
/home/nano/Desktop/images/09122025/11/55/image_09122025_11_55_15_10612.jpg
/home/nano/Desktop/images/09122025/11/54/image_09122025_11_55_04_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":["1401205186","1401205188","1401205155","1401205200","1401205190","1401205184"],"photo_ids_order":["1401205155","1401205184","1401205186","1401205188","1401205190","1401205200"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd309ad80b8742aa1bf2426c8f042ee1.jpg","text":"TemporaryFile(/tmp/multipartBody8043036884401397519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797248343,"filename":"image_09122025_11_55_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8eaf3cc5810e2a06b1cc21fa5a4abed1.jpg","text":"TemporaryFile(/tmp/multipartBody4342588876781970113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797248343,"filename":"image_09122025_11_55_25_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc9dc7ca39cf0325c2e5cce710d4bb09.jpg","text":"TemporaryFile(/tmp/multipartBody8369988420839843644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797248343,"filename":"image_09122025_11_55_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/12/27/6df8642248ed385520a5b3d889daea0f.jpg","text":"TemporaryFile(/tmp/multipartBody20842244179994716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797248343,"filename":"image_09122025_11_55_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c25496197f944405e078adb37ba7023.jpg","text":"TemporaryFile(/tmp/multipartBody8585040841414391126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797248343,"filename":"image_09122025_11_55_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6aa883e79ee41aa16557fb997845d40.jpg","text":"TemporaryFile(/tmp/multipartBody5615081198152106792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797248343,"filename":"image_09122025_11_55_45_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205186","file1":"1401205184","file0":"1401205155","file4":"1401205190","file5":"1401205200","file3":"1401205188"},"map_files_photo_id_array":[{"photo_id":"1401205200","filename":"file5"},{"photo_id":"1401205186","filename":"file2"},{"photo_id":"1401205190","filename":"file4"},{"photo_id":"1401205184","filename":"file1"},{"photo_id":"1401205155","filename":"file0"},{"photo_id":"1401205188","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205186":["hashtag1","hashtag2"]},{"1401205188":["hashtag1","hashtag2"]},{"1401205155":["hashtag1","hashtag2"]},{"1401205200":["hashtag1","hashtag2"]},{"1401205190":["hashtag1","hashtag2"]},{"1401205184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205186, 1401205188, 1401205155, 1401205200, 1401205190, 1401205184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89788222312927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:00:32.597647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_55_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_44_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_35_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_25_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/53/image_09122025_11_54_05_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_55_10597.jpg', '/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_44_9587.jpg', '/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_35_9586.jpg', '/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_25_10597.jpg', '/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_14_9604.jpg', '/home/nano/Desktop/images/09122025/11/53/image_09122025_11_54_05_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_55_10597.jpg
/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_44_9587.jpg
/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_35_9586.jpg
/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_25_10597.jpg
/home/nano/Desktop/images/09122025/11/54/image_09122025_11_54_14_9604.jpg
/home/nano/Desktop/images/09122025/11/53/image_09122025_11_54_05_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":["1401205379","1401205367","1401205291","1401205324","1401205267","1401205356"],"photo_ids_order":["1401205267","1401205291","1401205324","1401205356","1401205367","1401205379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/544461f1747404839ac0b224d43f67ba.jpg","text":"TemporaryFile(/tmp/multipartBody8920373404404204206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797293383,"filename":"image_09122025_11_54_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d70da7bc38d2ea8c802e4ee0438da1f7.jpg","text":"TemporaryFile(/tmp/multipartBody3759349451544630765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797293383,"filename":"image_09122025_11_54_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f91d6c2d16ef41f615b1d2886187e40.jpg","text":"TemporaryFile(/tmp/multipartBody3451362458643906810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797293383,"filename":"image_09122025_11_54_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54ea0760c28b3370cf7b5f896338886d.jpg","text":"TemporaryFile(/tmp/multipartBody4392148886494872275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797293383,"filename":"image_09122025_11_54_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04a8ff6a800609382d46e25a3db965f4.jpg","text":"TemporaryFile(/tmp/multipartBody6880952058162255623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797293383,"filename":"image_09122025_11_54_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38d7b842b5e2eca71de8b3a4719cce96.jpg","text":"TemporaryFile(/tmp/multipartBody1024736498410008953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797293383,"filename":"image_09122025_11_54_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205324","file1":"1401205291","file0":"1401205267","file4":"1401205367","file5":"1401205379","file3":"1401205356"},"map_files_photo_id_array":[{"photo_id":"1401205379","filename":"file5"},{"photo_id":"1401205324","filename":"file2"},{"photo_id":"1401205367","filename":"file4"},{"photo_id":"1401205291","filename":"file1"},{"photo_id":"1401205267","filename":"file0"},{"photo_id":"1401205356","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205379":["hashtag1","hashtag2"]},{"1401205367":["hashtag1","hashtag2"]},{"1401205291":["hashtag1","hashtag2"]},{"1401205324":["hashtag1","hashtag2"]},{"1401205267":["hashtag1","hashtag2"]},{"1401205356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205379, 1401205367, 1401205291, 1401205324, 1401205267, 1401205356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36760091781616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:01:17.701339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_54_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_45_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_15_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/11/52/image_09122025_11_53_04_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_54_9589.jpg', '/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_45_9586.jpg', '/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_35_10595.jpg', '/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_24_9588.jpg', '/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_15_10612.jpg', '/home/nano/Desktop/images/09122025/11/52/image_09122025_11_53_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_54_9589.jpg
/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_45_9586.jpg
/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_35_10595.jpg
/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_24_9588.jpg
/home/nano/Desktop/images/09122025/11/53/image_09122025_11_53_15_10612.jpg
/home/nano/Desktop/images/09122025/11/52/image_09122025_11_53_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":["1401205401","1401205391","1401205403","1401205393","1401205396","1401205399"],"photo_ids_order":["1401205391","1401205393","1401205396","1401205399","1401205401","1401205403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dce03472d2460c2ce952645a1fdc875b.jpg","text":"TemporaryFile(/tmp/multipartBody8325389648664284376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797338496,"filename":"image_09122025_11_53_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cde50085629e20d93c6a9c0ec7780d8e.jpg","text":"TemporaryFile(/tmp/multipartBody9204806791333077439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797338496,"filename":"image_09122025_11_53_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/12/27/61188f7a0fb0fac5e63173cced2987de.jpg","text":"TemporaryFile(/tmp/multipartBody6834327705592452434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797338496,"filename":"image_09122025_11_53_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/12/27/70205171cd672fe682da6a40928f0aac.jpg","text":"TemporaryFile(/tmp/multipartBody1045655740737960154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797338496,"filename":"image_09122025_11_53_45_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7aec193d1efafbfff0d5f9e3cd75b32.jpg","text":"TemporaryFile(/tmp/multipartBody675819204176897800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797338496,"filename":"image_09122025_11_53_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/576ab9468780615f2a5de42424bc8b72.jpg","text":"TemporaryFile(/tmp/multipartBody956472247493933433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797338496,"filename":"image_09122025_11_53_24_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205396","file1":"1401205393","file0":"1401205391","file4":"1401205401","file5":"1401205403","file3":"1401205399"},"map_files_photo_id_array":[{"photo_id":"1401205403","filename":"file5"},{"photo_id":"1401205396","filename":"file2"},{"photo_id":"1401205401","filename":"file4"},{"photo_id":"1401205393","filename":"file1"},{"photo_id":"1401205391","filename":"file0"},{"photo_id":"1401205399","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205401":["hashtag1","hashtag2"]},{"1401205391":["hashtag1","hashtag2"]},{"1401205403":["hashtag1","hashtag2"]},{"1401205393":["hashtag1","hashtag2"]},{"1401205396":["hashtag1","hashtag2"]},{"1401205399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205401, 1401205391, 1401205403, 1401205393, 1401205396, 1401205399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.514920234680176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:02:02.135235
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_55_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_25_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/51/image_09122025_11_52_05_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_55_9586.jpg', '/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_45_10598.jpg', '/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_34_9587.jpg', '/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_25_10616.jpg', '/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_14_9604.jpg', '/home/nano/Desktop/images/09122025/11/51/image_09122025_11_52_05_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_55_9586.jpg
/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_45_10598.jpg
/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_34_9587.jpg
/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_25_10616.jpg
/home/nano/Desktop/images/09122025/11/52/image_09122025_11_52_14_9604.jpg
/home/nano/Desktop/images/09122025/11/51/image_09122025_11_52_05_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":["1401205406","1401205411","1401205420","1401205414","1401205408","1401205417"],"photo_ids_order":["1401205406","1401205408","1401205411","1401205414","1401205417","1401205420"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/398d3faa2e89f3cebab554536059f5b1.jpg","text":"TemporaryFile(/tmp/multipartBody5697454691051797450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797382997,"filename":"image_09122025_11_52_55_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac75feea6a64b708d8835ef93176aedb.jpg","text":"TemporaryFile(/tmp/multipartBody2252278038778269472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797382997,"filename":"image_09122025_11_52_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f5a72ae8c01884a5f06c2f6d6241cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8909638607961103226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797382997,"filename":"image_09122025_11_52_05_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b75db07160fcb69923b26acc4bba2804.jpg","text":"TemporaryFile(/tmp/multipartBody9141978269120199870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797382997,"filename":"image_09122025_11_52_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d595d520c29baeefd0d073c89bab44b.jpg","text":"TemporaryFile(/tmp/multipartBody8933408356963711231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797382997,"filename":"image_09122025_11_52_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5aa34f602aaf710ec12379528c55729.jpg","text":"TemporaryFile(/tmp/multipartBody9194032884334740524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797382997,"filename":"image_09122025_11_52_14_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205411","file1":"1401205408","file0":"1401205406","file4":"1401205417","file5":"1401205420","file3":"1401205414"},"map_files_photo_id_array":[{"photo_id":"1401205420","filename":"file5"},{"photo_id":"1401205411","filename":"file2"},{"photo_id":"1401205417","filename":"file4"},{"photo_id":"1401205408","filename":"file1"},{"photo_id":"1401205406","filename":"file0"},{"photo_id":"1401205414","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205406":["hashtag1","hashtag2"]},{"1401205411":["hashtag1","hashtag2"]},{"1401205420":["hashtag1","hashtag2"]},{"1401205414":["hashtag1","hashtag2"]},{"1401205408":["hashtag1","hashtag2"]},{"1401205417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205406, 1401205411, 1401205420, 1401205414, 1401205408, 1401205417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.824259996414185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:02:46.812533
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_55_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_44_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_35_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_24_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_15_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/11/50/image_09122025_11_51_05_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_55_10595.jpg', '/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_44_9586.jpg', '/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_35_10618.jpg', '/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_24_9589.jpg', '/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_15_9592.jpg', '/home/nano/Desktop/images/09122025/11/50/image_09122025_11_51_05_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_55_10595.jpg
/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_44_9586.jpg
/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_35_10618.jpg
/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_24_9589.jpg
/home/nano/Desktop/images/09122025/11/51/image_09122025_11_51_15_9592.jpg
/home/nano/Desktop/images/09122025/11/50/image_09122025_11_51_05_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":["1401205439","1401205442","1401205436","1401205438","1401205440","1401205437"],"photo_ids_order":["1401205436","1401205437","1401205438","1401205439","1401205440","1401205442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee23acc6986da7e447e09d127c282964.jpg","text":"TemporaryFile(/tmp/multipartBody8524019910806961359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797427605,"filename":"image_09122025_11_51_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/12/27/0b09cd1fbdc12722a6a799f87179e71e.jpg","text":"TemporaryFile(/tmp/multipartBody8152068818958822869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797427605,"filename":"image_09122025_11_51_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d7c49bfc79242727b4bf65c8cdf25c8.jpg","text":"TemporaryFile(/tmp/multipartBody5819206724925399265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797427605,"filename":"image_09122025_11_51_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6571d41aa4d7ba56611b60c79445bb69.jpg","text":"TemporaryFile(/tmp/multipartBody796770959791746901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797427605,"filename":"image_09122025_11_51_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4218dc45dc3b7f0efc02355a2adc4d1b.jpg","text":"TemporaryFile(/tmp/multipartBody7355407994264051823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797427605,"filename":"image_09122025_11_51_15_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac1ac12bf1eb1524e4664d330c180f1f.jpg","text":"TemporaryFile(/tmp/multipartBody882955704546816026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797427605,"filename":"image_09122025_11_51_44_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205438","file1":"1401205437","file0":"1401205436","file4":"1401205440","file5":"1401205442","file3":"1401205439"},"map_files_photo_id_array":[{"photo_id":"1401205442","filename":"file5"},{"photo_id":"1401205438","filename":"file2"},{"photo_id":"1401205440","filename":"file4"},{"photo_id":"1401205437","filename":"file1"},{"photo_id":"1401205436","filename":"file0"},{"photo_id":"1401205439","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205439":["hashtag1","hashtag2"]},{"1401205442":["hashtag1","hashtag2"]},{"1401205436":["hashtag1","hashtag2"]},{"1401205438":["hashtag1","hashtag2"]},{"1401205440":["hashtag1","hashtag2"]},{"1401205437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205439, 1401205442, 1401205436, 1401205438, 1401205440, 1401205437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.157580614089966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:03:31.888184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_54_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_45_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_34_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_25_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_15_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/11/49/image_09122025_11_50_04_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_54_9592.jpg', '/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_45_10615.jpg', '/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_34_9612.jpg', '/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_25_9589.jpg', '/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_15_10633.jpg', '/home/nano/Desktop/images/09122025/11/49/image_09122025_11_50_04_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_54_9592.jpg
/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_45_10615.jpg
/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_34_9612.jpg
/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_25_9589.jpg
/home/nano/Desktop/images/09122025/11/50/image_09122025_11_50_15_10633.jpg
/home/nano/Desktop/images/09122025/11/49/image_09122025_11_50_04_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":["1401205460","1401205468","1401205462","1401205465","1401205455","1401205458"],"photo_ids_order":["1401205455","1401205458","1401205460","1401205462","1401205465","1401205468"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/738d9e10354a0b60764ed83f029d0278.jpg","text":"TemporaryFile(/tmp/multipartBody8705641186944866037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797472672,"filename":"image_09122025_11_50_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/12/27/5329816dd2c332b150778508b71b6d61.jpg","text":"TemporaryFile(/tmp/multipartBody8462791070152490860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797472672,"filename":"image_09122025_11_50_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae927c92e9ec45d0f0d7b52a7a97549c.jpg","text":"TemporaryFile(/tmp/multipartBody6680186894040776435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797472672,"filename":"image_09122025_11_50_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1818b1c1907ab456c25cbd7e591a7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5444584358794078812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797472672,"filename":"image_09122025_11_50_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04e9bc60d14491ad696624fce6ac9c99.jpg","text":"TemporaryFile(/tmp/multipartBody24666427387966872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797472672,"filename":"image_09122025_11_50_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/12/27/2d4d70398b8299dd087a5f62a52b047a.jpg","text":"TemporaryFile(/tmp/multipartBody6750130396434421829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797472672,"filename":"image_09122025_11_50_45_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205460","file1":"1401205458","file0":"1401205455","file4":"1401205465","file5":"1401205468","file3":"1401205462"},"map_files_photo_id_array":[{"photo_id":"1401205468","filename":"file5"},{"photo_id":"1401205460","filename":"file2"},{"photo_id":"1401205465","filename":"file4"},{"photo_id":"1401205458","filename":"file1"},{"photo_id":"1401205455","filename":"file0"},{"photo_id":"1401205462","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205460":["hashtag1","hashtag2"]},{"1401205468":["hashtag1","hashtag2"]},{"1401205462":["hashtag1","hashtag2"]},{"1401205465":["hashtag1","hashtag2"]},{"1401205455":["hashtag1","hashtag2"]},{"1401205458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205460, 1401205468, 1401205462, 1401205465, 1401205455, 1401205458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58424711227417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:04:17.040431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_55_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_44_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_35_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_25_10600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_14_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/11/48/image_09122025_11_49_05_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_55_10596.jpg', '/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_44_9587.jpg', '/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_35_9608.jpg', '/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_25_10600.jpg', '/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_14_9601.jpg', '/home/nano/Desktop/images/09122025/11/48/image_09122025_11_49_05_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_55_10596.jpg
/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_44_9587.jpg
/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_35_9608.jpg
/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_25_10600.jpg
/home/nano/Desktop/images/09122025/11/49/image_09122025_11_49_14_9601.jpg
/home/nano/Desktop/images/09122025/11/48/image_09122025_11_49_05_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":["1401205490","1401205492","1401205485","1401205479","1401205488","1401205481"],"photo_ids_order":["1401205479","1401205481","1401205485","1401205488","1401205490","1401205492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce68b7984b7affbc1ac8e4f7971bbb9e.jpg","text":"TemporaryFile(/tmp/multipartBody7983387427025005840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797517860,"filename":"image_09122025_11_49_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd7a8583771c2b79768dce0adbc24323.jpg","text":"TemporaryFile(/tmp/multipartBody2257039927809010999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797517860,"filename":"image_09122025_11_49_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d586e61124affc8a15adf11bf1aa54e.jpg","text":"TemporaryFile(/tmp/multipartBody2044012122762269610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797517860,"filename":"image_09122025_11_49_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2add27ba50323a374c462baea430d797.jpg","text":"TemporaryFile(/tmp/multipartBody972277163851392738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797517860,"filename":"image_09122025_11_49_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efd5ab97ebf4034fe948ee77bcd1d51e.jpg","text":"TemporaryFile(/tmp/multipartBody4296290292750412603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797517860,"filename":"image_09122025_11_49_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97cf5fe426bdb802aea2dada6328d782.jpg","text":"TemporaryFile(/tmp/multipartBody8918791137099250153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797517860,"filename":"image_09122025_11_49_44_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205485","file1":"1401205481","file0":"1401205479","file4":"1401205490","file5":"1401205492","file3":"1401205488"},"map_files_photo_id_array":[{"photo_id":"1401205492","filename":"file5"},{"photo_id":"1401205485","filename":"file2"},{"photo_id":"1401205490","filename":"file4"},{"photo_id":"1401205481","filename":"file1"},{"photo_id":"1401205479","filename":"file0"},{"photo_id":"1401205488","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205490":["hashtag1","hashtag2"]},{"1401205492":["hashtag1","hashtag2"]},{"1401205485":["hashtag1","hashtag2"]},{"1401205479":["hashtag1","hashtag2"]},{"1401205488":["hashtag1","hashtag2"]},{"1401205481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205490, 1401205492, 1401205485, 1401205479, 1401205488, 1401205481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.976964235305786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:05:02.604920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_54_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_45_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_35_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_24_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_15_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/11/47/image_09122025_11_48_04_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_54_9602.jpg', '/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_45_9604.jpg', '/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_35_10597.jpg', '/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_24_9589.jpg', '/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_15_10613.jpg', '/home/nano/Desktop/images/09122025/11/47/image_09122025_11_48_04_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_54_9602.jpg
/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_45_9604.jpg
/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_35_10597.jpg
/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_24_9589.jpg
/home/nano/Desktop/images/09122025/11/48/image_09122025_11_48_15_10613.jpg
/home/nano/Desktop/images/09122025/11/47/image_09122025_11_48_04_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":["1401205526","1401205529","1401205519","1401205497","1401205533","1401205496"],"photo_ids_order":["1401205496","1401205497","1401205519","1401205526","1401205529","1401205533"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9521f34228f78e38f25c7e4771a3a18f.jpg","text":"TemporaryFile(/tmp/multipartBody6800478500740217311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797563405,"filename":"image_09122025_11_48_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/12/27/cf17e84b6165248ca0be08b20e384101.jpg","text":"TemporaryFile(/tmp/multipartBody6377014081325223082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797563405,"filename":"image_09122025_11_48_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/799d8f237941299c389e12bd3a15d655.jpg","text":"TemporaryFile(/tmp/multipartBody8059776927786969625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797563405,"filename":"image_09122025_11_48_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04a60486b51c71789802423ec4ad4a35.jpg","text":"TemporaryFile(/tmp/multipartBody4898261444720775292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797563405,"filename":"image_09122025_11_48_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb16f4a62fec723c29426d762290224a.jpg","text":"TemporaryFile(/tmp/multipartBody1405795169148910751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797563405,"filename":"image_09122025_11_48_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2de610cec4ad504f56942fbb5b780258.jpg","text":"TemporaryFile(/tmp/multipartBody6277264816415734447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797563405,"filename":"image_09122025_11_48_54_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205519","file1":"1401205497","file0":"1401205496","file4":"1401205529","file5":"1401205533","file3":"1401205526"},"map_files_photo_id_array":[{"photo_id":"1401205533","filename":"file5"},{"photo_id":"1401205519","filename":"file2"},{"photo_id":"1401205529","filename":"file4"},{"photo_id":"1401205497","filename":"file1"},{"photo_id":"1401205496","filename":"file0"},{"photo_id":"1401205526","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205526":["hashtag1","hashtag2"]},{"1401205529":["hashtag1","hashtag2"]},{"1401205519":["hashtag1","hashtag2"]},{"1401205497":["hashtag1","hashtag2"]},{"1401205533":["hashtag1","hashtag2"]},{"1401205496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205526, 1401205529, 1401205519, 1401205497, 1401205533, 1401205496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58961606025696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:05:47.156674
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_55_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_34_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_25_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_14_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/11/46/image_09122025_11_47_05_9592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_55_9590.jpg', '/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_45_10597.jpg', '/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_34_9585.jpg', '/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_25_10597.jpg', '/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_14_9605.jpg', '/home/nano/Desktop/images/09122025/11/46/image_09122025_11_47_05_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_55_9590.jpg
/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_45_10597.jpg
/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_34_9585.jpg
/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_25_10597.jpg
/home/nano/Desktop/images/09122025/11/47/image_09122025_11_47_14_9605.jpg
/home/nano/Desktop/images/09122025/11/46/image_09122025_11_47_05_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":["1401205753","1401205816","1401205689","1401205785","1401205659","1401205719"],"photo_ids_order":["1401205659","1401205689","1401205719","1401205753","1401205785","1401205816"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55d199fe7a617cee3cc9c273a10618c7.jpg","text":"TemporaryFile(/tmp/multipartBody7004122342040124502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797607963,"filename":"image_09122025_11_47_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/edbfa216909ee32fca5c13d8496a8997.jpg","text":"TemporaryFile(/tmp/multipartBody3842924226802810411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797607963,"filename":"image_09122025_11_47_05_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/498dd46537ab5246789cc29701775ed6.jpg","text":"TemporaryFile(/tmp/multipartBody494319800899322987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797607963,"filename":"image_09122025_11_47_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c10f88bf5967789cb526be753ee4d91a.jpg","text":"TemporaryFile(/tmp/multipartBody8288221234668583758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797607963,"filename":"image_09122025_11_47_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/12/27/3c5cf7974136ae905d4b240a84198f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8733732212289839254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797607963,"filename":"image_09122025_11_47_55_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36ce2b0ce3db4d265f6c6e78695d8acb.jpg","text":"TemporaryFile(/tmp/multipartBody8081682479799521402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797607963,"filename":"image_09122025_11_47_34_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401205719","file1":"1401205689","file0":"1401205659","file4":"1401205785","file5":"1401205816","file3":"1401205753"},"map_files_photo_id_array":[{"photo_id":"1401205816","filename":"file5"},{"photo_id":"1401205719","filename":"file2"},{"photo_id":"1401205785","filename":"file4"},{"photo_id":"1401205689","filename":"file1"},{"photo_id":"1401205659","filename":"file0"},{"photo_id":"1401205753","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401205753":["hashtag1","hashtag2"]},{"1401205816":["hashtag1","hashtag2"]},{"1401205689":["hashtag1","hashtag2"]},{"1401205785":["hashtag1","hashtag2"]},{"1401205659":["hashtag1","hashtag2"]},{"1401205719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401205753, 1401205816, 1401205689, 1401205785, 1401205659, 1401205719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14971876144409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:06:32.242422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_55_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_44_9595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_35_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_24_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_15_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/11/45/image_09122025_11_46_05_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_55_10612.jpg', '/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_44_9595.jpg', '/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_35_10597.jpg', '/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_24_9585.jpg', '/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_15_9623.jpg', '/home/nano/Desktop/images/09122025/11/45/image_09122025_11_46_05_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_55_10612.jpg
/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_44_9595.jpg
/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_35_10597.jpg
/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_24_9585.jpg
/home/nano/Desktop/images/09122025/11/46/image_09122025_11_46_15_9623.jpg
/home/nano/Desktop/images/09122025/11/45/image_09122025_11_46_05_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401206053","1401206047","1401206026","1401206049","1401206051","1401206054"],"photo_ids_order":["1401206026","1401206047","1401206049","1401206051","1401206053","1401206054"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/768c56f98910e47d1325658622953f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5344549886218147326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797653038,"filename":"image_09122025_11_46_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1302f1a8c2e6dc06710391315999822e.jpg","text":"TemporaryFile(/tmp/multipartBody6926669899400259986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797653038,"filename":"image_09122025_11_46_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/12/27/5ee9e0c121808d47cd4ca64065293b44.jpg","text":"TemporaryFile(/tmp/multipartBody7100994195009122667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797653038,"filename":"image_09122025_11_46_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/080820dcb801bc5ca6b059741b7521c1.jpg","text":"TemporaryFile(/tmp/multipartBody1433473600937167565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797653038,"filename":"image_09122025_11_46_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71130709aa38f231f596cd8228514e98.jpg","text":"TemporaryFile(/tmp/multipartBody3367657881723915575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797653038,"filename":"image_09122025_11_46_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b56d702f989de38e55b91cf78c2e6ab5.jpg","text":"TemporaryFile(/tmp/multipartBody9118761408956988047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797653038,"filename":"image_09122025_11_46_05_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401206049","file1":"1401206047","file0":"1401206026","file4":"1401206053","file5":"1401206054","file3":"1401206051"},"map_files_photo_id_array":[{"photo_id":"1401206054","filename":"file5"},{"photo_id":"1401206049","filename":"file2"},{"photo_id":"1401206053","filename":"file4"},{"photo_id":"1401206047","filename":"file1"},{"photo_id":"1401206026","filename":"file0"},{"photo_id":"1401206051","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401206053":["hashtag1","hashtag2"]},{"1401206047":["hashtag1","hashtag2"]},{"1401206026":["hashtag1","hashtag2"]},{"1401206049":["hashtag1","hashtag2"]},{"1401206051":["hashtag1","hashtag2"]},{"1401206054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401206053, 1401206047, 1401206026, 1401206049, 1401206051, 1401206054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67951726913452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:07:17.315198
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_54_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_45_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_34_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_25_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_15_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_45_04_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_54_9584.jpg', '/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_45_10594.jpg', '/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_34_9584.jpg', '/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_25_9586.jpg', '/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_15_10611.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_45_04_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_54_9584.jpg
/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_45_10594.jpg
/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_34_9584.jpg
/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_25_9586.jpg
/home/nano/Desktop/images/09122025/11/45/image_09122025_11_45_15_10611.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_45_04_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":["1401206213","1401206156","1401206219","1401206177","1401206243","1401206252"],"photo_ids_order":["1401206156","1401206177","1401206213","1401206219","1401206243","1401206252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aafbd1efe433fbba430c10b1a7c03aa4.jpg","text":"TemporaryFile(/tmp/multipartBody25168092915830400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797698099,"filename":"image_09122025_11_45_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f5c7e1a39d67fbede9469fca172369c.jpg","text":"TemporaryFile(/tmp/multipartBody6176988373552447581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797698099,"filename":"image_09122025_11_45_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fad08c8ce6a2c001ab1e869d124babde.jpg","text":"TemporaryFile(/tmp/multipartBody5971681068904645503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797698099,"filename":"image_09122025_11_45_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a8ee00f0bcd7df8ca0c7367147a18e9.jpg","text":"TemporaryFile(/tmp/multipartBody7495692601441034738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797698099,"filename":"image_09122025_11_45_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0319445354b159a614853243bd30aa0d.jpg","text":"TemporaryFile(/tmp/multipartBody4543424536368328644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797698099,"filename":"image_09122025_11_45_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adc15155219dfa0de661f39038331485.jpg","text":"TemporaryFile(/tmp/multipartBody931258415577353976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797698099,"filename":"image_09122025_11_45_04_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401206213","file1":"1401206177","file0":"1401206156","file4":"1401206243","file5":"1401206252","file3":"1401206219"},"map_files_photo_id_array":[{"photo_id":"1401206252","filename":"file5"},{"photo_id":"1401206213","filename":"file2"},{"photo_id":"1401206243","filename":"file4"},{"photo_id":"1401206177","filename":"file1"},{"photo_id":"1401206156","filename":"file0"},{"photo_id":"1401206219","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401206213":["hashtag1","hashtag2"]},{"1401206156":["hashtag1","hashtag2"]},{"1401206219":["hashtag1","hashtag2"]},{"1401206177":["hashtag1","hashtag2"]},{"1401206243":["hashtag1","hashtag2"]},{"1401206252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401206213, 1401206156, 1401206219, 1401206177, 1401206243, 1401206252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.183433532714844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:08:02.799396
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_55_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_44_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_35_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_25_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_14_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/43/image_09122025_11_44_05_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_55_10599.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_44_9591.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_35_9603.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_25_10598.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_14_9600.jpg', '/home/nano/Desktop/images/09122025/11/43/image_09122025_11_44_05_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_55_10599.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_44_9591.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_35_9603.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_25_10598.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_14_9600.jpg
/home/nano/Desktop/images/09122025/11/43/image_09122025_11_44_05_10605.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7953531742095947 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:08:17.450690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_55_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_44_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_35_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_25_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_14_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/43/image_09122025_11_44_05_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_55_10599.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_44_9591.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_35_9603.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_25_10598.jpg', '/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_14_9600.jpg', '/home/nano/Desktop/images/09122025/11/43/image_09122025_11_44_05_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_55_10599.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_44_9591.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_35_9603.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_25_10598.jpg
/home/nano/Desktop/images/09122025/11/44/image_09122025_11_44_14_9600.jpg
/home/nano/Desktop/images/09122025/11/43/image_09122025_11_44_05_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":["1401206287","1401206283","1401206289","1401206280","1401206276","1401206285"],"photo_ids_order":["1401206276","1401206280","1401206283","1401206285","1401206287","1401206289"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3ebe277545f70f8d4049ac4c1508eac.jpg","text":"TemporaryFile(/tmp/multipartBody2516325496955880599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797758248,"filename":"image_09122025_11_44_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25facea237cc7b597ca912fbd878932f.jpg","text":"TemporaryFile(/tmp/multipartBody6788148744983059308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797758248,"filename":"image_09122025_11_44_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab64b2747fd7e80fdd14a9e456819068.jpg","text":"TemporaryFile(/tmp/multipartBody1511578800606579249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797758248,"filename":"image_09122025_11_44_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7caaa4cb7827eb70928c0f9813342c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5309248435215107436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797758248,"filename":"image_09122025_11_44_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b7368621560592ee2b6d322784c3018.jpg","text":"TemporaryFile(/tmp/multipartBody8540711249920729266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797758248,"filename":"image_09122025_11_44_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8253ed9e5e3c4b6f97b45dcb05274889.jpg","text":"TemporaryFile(/tmp/multipartBody8525630650714843150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797758248,"filename":"image_09122025_11_44_25_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401206283","file1":"1401206280","file0":"1401206276","file4":"1401206287","file5":"1401206289","file3":"1401206285"},"map_files_photo_id_array":[{"photo_id":"1401206289","filename":"file5"},{"photo_id":"1401206283","filename":"file2"},{"photo_id":"1401206287","filename":"file4"},{"photo_id":"1401206280","filename":"file1"},{"photo_id":"1401206276","filename":"file0"},{"photo_id":"1401206285","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401206287":["hashtag1","hashtag2"]},{"1401206283":["hashtag1","hashtag2"]},{"1401206289":["hashtag1","hashtag2"]},{"1401206280":["hashtag1","hashtag2"]},{"1401206276":["hashtag1","hashtag2"]},{"1401206285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401206287, 1401206283, 1401206289, 1401206280, 1401206276, 1401206285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.036659240722656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:09:03.349621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_54_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_45_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_15_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/11/42/image_09122025_11_43_04_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_54_9585.jpg', '/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_45_9585.jpg', '/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_35_10593.jpg', '/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_24_9588.jpg', '/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_15_10613.jpg', '/home/nano/Desktop/images/09122025/11/42/image_09122025_11_43_04_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_54_9585.jpg
/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_45_9585.jpg
/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_35_10593.jpg
/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_24_9588.jpg
/home/nano/Desktop/images/09122025/11/43/image_09122025_11_43_15_10613.jpg
/home/nano/Desktop/images/09122025/11/42/image_09122025_11_43_04_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":["1401206612","1401206507","1401206473","1401206542","1401206439","1401206576"],"photo_ids_order":["1401206439","1401206473","1401206507","1401206542","1401206576","1401206612"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/605e4a7fd04d8b1aee8083fbb261453c.jpg","text":"TemporaryFile(/tmp/multipartBody3187187508887691229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797804231,"filename":"image_09122025_11_43_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/12/27/88d420384c0a4cc526753ac6260893db.jpg","text":"TemporaryFile(/tmp/multipartBody6314019124009020644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797804231,"filename":"image_09122025_11_43_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee325bc922fb32e4ce724e018f27f786.jpg","text":"TemporaryFile(/tmp/multipartBody656487305561439215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797804231,"filename":"image_09122025_11_43_45_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ce555b5f0d6e8116cb8d8a3838d78c7.jpg","text":"TemporaryFile(/tmp/multipartBody7191200458439276464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797804231,"filename":"image_09122025_11_43_24_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2aa10b9a8ce0aaf6249b85afae7e26cf.jpg","text":"TemporaryFile(/tmp/multipartBody6043891301785872621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797804231,"filename":"image_09122025_11_43_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec5b9bd36bca7dd337e1d7fc4e94a66e.jpg","text":"TemporaryFile(/tmp/multipartBody1464958999929242556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797804231,"filename":"image_09122025_11_43_15_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401206507","file1":"1401206473","file0":"1401206439","file4":"1401206576","file5":"1401206612","file3":"1401206542"},"map_files_photo_id_array":[{"photo_id":"1401206612","filename":"file5"},{"photo_id":"1401206507","filename":"file2"},{"photo_id":"1401206576","filename":"file4"},{"photo_id":"1401206473","filename":"file1"},{"photo_id":"1401206439","filename":"file0"},{"photo_id":"1401206542","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401206612":["hashtag1","hashtag2"]},{"1401206507":["hashtag1","hashtag2"]},{"1401206473":["hashtag1","hashtag2"]},{"1401206542":["hashtag1","hashtag2"]},{"1401206439":["hashtag1","hashtag2"]},{"1401206576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401206612, 1401206507, 1401206473, 1401206542, 1401206439, 1401206576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32229161262512 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:09:47.520942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_55_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_44_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_35_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_25_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_14_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/11/41/image_09122025_11_42_05_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_55_10595.jpg', '/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_44_9591.jpg', '/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_35_9588.jpg', '/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_25_10597.jpg', '/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_14_9602.jpg', '/home/nano/Desktop/images/09122025/11/41/image_09122025_11_42_05_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_55_10595.jpg
/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_44_9591.jpg
/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_35_9588.jpg
/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_25_10597.jpg
/home/nano/Desktop/images/09122025/11/42/image_09122025_11_42_14_9602.jpg
/home/nano/Desktop/images/09122025/11/41/image_09122025_11_42_05_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":["1401206842","1401206841","1401206844","1401206838","1401206808","1401206846"],"photo_ids_order":["1401206808","1401206838","1401206841","1401206842","1401206844","1401206846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/452e34c36a7431d29b886b66c097e168.jpg","text":"TemporaryFile(/tmp/multipartBody8343670107269206769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797848313,"filename":"image_09122025_11_42_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/736291db3fb71034448ee7332c3b98b1.jpg","text":"TemporaryFile(/tmp/multipartBody1630571346236057054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797848313,"filename":"image_09122025_11_42_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a2276c4a7830cc6af4dce11de2c9ba8.jpg","text":"TemporaryFile(/tmp/multipartBody8449252411299671619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797848313,"filename":"image_09122025_11_42_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88684834d10ffb9ad4d90090b822e586.jpg","text":"TemporaryFile(/tmp/multipartBody1260680389185285286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797848313,"filename":"image_09122025_11_42_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9133c89d18b8ff485b0207d6b6d5b918.jpg","text":"TemporaryFile(/tmp/multipartBody4633476763507843458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797848313,"filename":"image_09122025_11_42_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5f2f11b3de683866fe1781be84ff2d8.jpg","text":"TemporaryFile(/tmp/multipartBody2219749900779755122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797848313,"filename":"image_09122025_11_42_05_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401206841","file1":"1401206838","file0":"1401206808","file4":"1401206844","file5":"1401206846","file3":"1401206842"},"map_files_photo_id_array":[{"photo_id":"1401206846","filename":"file5"},{"photo_id":"1401206841","filename":"file2"},{"photo_id":"1401206844","filename":"file4"},{"photo_id":"1401206838","filename":"file1"},{"photo_id":"1401206808","filename":"file0"},{"photo_id":"1401206842","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401206842":["hashtag1","hashtag2"]},{"1401206841":["hashtag1","hashtag2"]},{"1401206844":["hashtag1","hashtag2"]},{"1401206838":["hashtag1","hashtag2"]},{"1401206808":["hashtag1","hashtag2"]},{"1401206846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401206842, 1401206841, 1401206844, 1401206838, 1401206808, 1401206846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63032913208008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:10:32.600447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_54_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_45_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_24_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_15_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/11/40/image_09122025_11_41_04_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_54_9586.jpg', '/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_45_9587.jpg', '/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_35_10595.jpg', '/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_24_9585.jpg', '/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_15_10616.jpg', '/home/nano/Desktop/images/09122025/11/40/image_09122025_11_41_04_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_54_9586.jpg
/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_45_9587.jpg
/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_35_10595.jpg
/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_24_9585.jpg
/home/nano/Desktop/images/09122025/11/41/image_09122025_11_41_15_10616.jpg
/home/nano/Desktop/images/09122025/11/40/image_09122025_11_41_04_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":["1401207004","1401206983","1401207013","1401207032","1401207035","1401206966"],"photo_ids_order":["1401206966","1401206983","1401207004","1401207013","1401207032","1401207035"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14cfde2fc0478fbc4b1fe273f35a561a.jpg","text":"TemporaryFile(/tmp/multipartBody688527414551312238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797893383,"filename":"image_09122025_11_41_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b3403fb0f93e5d02f58e68387dd63e7.jpg","text":"TemporaryFile(/tmp/multipartBody864330666471594659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797893383,"filename":"image_09122025_11_41_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34af10d6366afe7d13233a2bed902109.jpg","text":"TemporaryFile(/tmp/multipartBody5373243898167389593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797893383,"filename":"image_09122025_11_41_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1179357776d4862abfb09f7dd889574.jpg","text":"TemporaryFile(/tmp/multipartBody1187319250127678418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797893383,"filename":"image_09122025_11_41_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a99e8005736470aec3f5a3cb1abe0cba.jpg","text":"TemporaryFile(/tmp/multipartBody6942301450348701018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797893383,"filename":"image_09122025_11_41_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/12/27/92ba5f0ec2afa21588edc9f51b9caf78.jpg","text":"TemporaryFile(/tmp/multipartBody2282283788108231717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797893383,"filename":"image_09122025_11_41_54_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207004","file1":"1401206983","file0":"1401206966","file4":"1401207032","file5":"1401207035","file3":"1401207013"},"map_files_photo_id_array":[{"photo_id":"1401207035","filename":"file5"},{"photo_id":"1401207004","filename":"file2"},{"photo_id":"1401207032","filename":"file4"},{"photo_id":"1401206983","filename":"file1"},{"photo_id":"1401206966","filename":"file0"},{"photo_id":"1401207013","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207004":["hashtag1","hashtag2"]},{"1401206983":["hashtag1","hashtag2"]},{"1401207013":["hashtag1","hashtag2"]},{"1401207032":["hashtag1","hashtag2"]},{"1401207035":["hashtag1","hashtag2"]},{"1401206966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207004, 1401206983, 1401207013, 1401207032, 1401207035, 1401206966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67336630821228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:11:17.753485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_55_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_34_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_25_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/39/image_09122025_11_40_05_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_55_9587.jpg', '/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_45_10597.jpg', '/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_34_9591.jpg', '/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_25_10597.jpg', '/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_14_9604.jpg', '/home/nano/Desktop/images/09122025/11/39/image_09122025_11_40_05_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_55_9587.jpg
/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_45_10597.jpg
/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_34_9591.jpg
/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_25_10597.jpg
/home/nano/Desktop/images/09122025/11/40/image_09122025_11_40_14_9604.jpg
/home/nano/Desktop/images/09122025/11/39/image_09122025_11_40_05_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":["1401207052","1401207049","1401207043","1401207046","1401207054","1401207056"],"photo_ids_order":["1401207043","1401207046","1401207049","1401207052","1401207054","1401207056"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/725c8e7f42dc891affc1c7e12cf84c00.jpg","text":"TemporaryFile(/tmp/multipartBody4638481794507809767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797938566,"filename":"image_09122025_11_40_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7157984a252862c888f47996c0fe31c.jpg","text":"TemporaryFile(/tmp/multipartBody4863572419698869723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797938566,"filename":"image_09122025_11_40_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73a69c880df903321ecb93d3427e8be9.jpg","text":"TemporaryFile(/tmp/multipartBody1364221820524256864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797938566,"filename":"image_09122025_11_40_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74645f22bb2a678269f195fddb2f19f8.jpg","text":"TemporaryFile(/tmp/multipartBody64505939345578797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797938566,"filename":"image_09122025_11_40_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/066fbad553843402cbf528598ed648cc.jpg","text":"TemporaryFile(/tmp/multipartBody8432164757746160678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797938566,"filename":"image_09122025_11_40_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb7477829f7acb2fc7c36ec160c1e14d.jpg","text":"TemporaryFile(/tmp/multipartBody4137364029040603805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797938566,"filename":"image_09122025_11_40_05_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207049","file1":"1401207046","file0":"1401207043","file4":"1401207054","file5":"1401207056","file3":"1401207052"},"map_files_photo_id_array":[{"photo_id":"1401207056","filename":"file5"},{"photo_id":"1401207049","filename":"file2"},{"photo_id":"1401207054","filename":"file4"},{"photo_id":"1401207046","filename":"file1"},{"photo_id":"1401207043","filename":"file0"},{"photo_id":"1401207052","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207052":["hashtag1","hashtag2"]},{"1401207049":["hashtag1","hashtag2"]},{"1401207043":["hashtag1","hashtag2"]},{"1401207046":["hashtag1","hashtag2"]},{"1401207054":["hashtag1","hashtag2"]},{"1401207056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207052, 1401207049, 1401207043, 1401207046, 1401207054, 1401207056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.174296140670776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:12:02.087789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_55_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_44_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/38/image_09122025_11_39_05_10595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_55_10596.jpg', '/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_44_9587.jpg', '/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_35_10595.jpg', '/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_24_9588.jpg', '/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_15_9600.jpg', '/home/nano/Desktop/images/09122025/11/38/image_09122025_11_39_05_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_55_10596.jpg
/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_44_9587.jpg
/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_35_10595.jpg
/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_24_9588.jpg
/home/nano/Desktop/images/09122025/11/39/image_09122025_11_39_15_9600.jpg
/home/nano/Desktop/images/09122025/11/38/image_09122025_11_39_05_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207076","1401207064","1401207072","1401207060","1401207062","1401207068"],"photo_ids_order":["1401207060","1401207062","1401207064","1401207068","1401207072","1401207076"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdc0316b5f00b6b3a3b616007f8a885b.jpg","text":"TemporaryFile(/tmp/multipartBody8365728792836308687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797982892,"filename":"image_09122025_11_39_05_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8634d29b8c0503827498c68daf420fd0.jpg","text":"TemporaryFile(/tmp/multipartBody3949275161928233270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797982892,"filename":"image_09122025_11_39_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3159fa209f0e5a954f2987102e200ade.jpg","text":"TemporaryFile(/tmp/multipartBody3001683431599999067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797982892,"filename":"image_09122025_11_39_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba52a2230c040dab70c2e690ac628b06.jpg","text":"TemporaryFile(/tmp/multipartBody5067917067656153768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797982892,"filename":"image_09122025_11_39_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8264b4fa3087df9be46b9e4e80217c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7709198099958056566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797982892,"filename":"image_09122025_11_39_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/675fde2fca61643de6774c2e7d9c3001.jpg","text":"TemporaryFile(/tmp/multipartBody7532998065677256094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766797982892,"filename":"image_09122025_11_39_24_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207064","file1":"1401207062","file0":"1401207060","file4":"1401207072","file5":"1401207076","file3":"1401207068"},"map_files_photo_id_array":[{"photo_id":"1401207076","filename":"file5"},{"photo_id":"1401207064","filename":"file2"},{"photo_id":"1401207072","filename":"file4"},{"photo_id":"1401207062","filename":"file1"},{"photo_id":"1401207060","filename":"file0"},{"photo_id":"1401207068","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207076":["hashtag1","hashtag2"]},{"1401207064":["hashtag1","hashtag2"]},{"1401207072":["hashtag1","hashtag2"]},{"1401207060":["hashtag1","hashtag2"]},{"1401207062":["hashtag1","hashtag2"]},{"1401207068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207076, 1401207064, 1401207072, 1401207060, 1401207062, 1401207068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80849647521973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:12:46.792875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_54_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_45_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_34_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_25_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_15_10629.jpg', 2), ('/home/nano/Desktop/images/09122025/11/37/image_09122025_11_38_04_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_54_9589.jpg', '/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_45_10612.jpg', '/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_34_9586.jpg', '/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_25_9603.jpg', '/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_15_10629.jpg', '/home/nano/Desktop/images/09122025/11/37/image_09122025_11_38_04_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_54_9589.jpg
/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_45_10612.jpg
/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_34_9586.jpg
/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_25_9603.jpg
/home/nano/Desktop/images/09122025/11/38/image_09122025_11_38_15_10629.jpg
/home/nano/Desktop/images/09122025/11/37/image_09122025_11_38_04_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":["1401207094","1401207109","1401207100","1401207093","1401207092","1401207095"],"photo_ids_order":["1401207092","1401207093","1401207094","1401207095","1401207100","1401207109"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/105df996fffe7ab4082b4666a9bf6a50.jpg","text":"TemporaryFile(/tmp/multipartBody2568630830147280362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798027578,"filename":"image_09122025_11_38_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eef353c77661eddc98e28fba067c359b.jpg","text":"TemporaryFile(/tmp/multipartBody8182019838612564172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798027578,"filename":"image_09122025_11_38_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/12/27/84904564e77cec439f428f9f49860885.jpg","text":"TemporaryFile(/tmp/multipartBody3235614682842584231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798027578,"filename":"image_09122025_11_38_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e81b5a65efce727cd35056671c6cda9e.jpg","text":"TemporaryFile(/tmp/multipartBody5798468086653249167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798027578,"filename":"image_09122025_11_38_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61cbb8386b2076ab293ae71a173b129a.jpg","text":"TemporaryFile(/tmp/multipartBody3627373785485776525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798027578,"filename":"image_09122025_11_38_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/12/27/4d7a23cccd50072fcbb6ec1da55e0066.jpg","text":"TemporaryFile(/tmp/multipartBody8264330000720509489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798027578,"filename":"image_09122025_11_38_25_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207094","file1":"1401207093","file0":"1401207092","file4":"1401207100","file5":"1401207109","file3":"1401207095"},"map_files_photo_id_array":[{"photo_id":"1401207109","filename":"file5"},{"photo_id":"1401207094","filename":"file2"},{"photo_id":"1401207100","filename":"file4"},{"photo_id":"1401207093","filename":"file1"},{"photo_id":"1401207092","filename":"file0"},{"photo_id":"1401207095","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207094":["hashtag1","hashtag2"]},{"1401207109":["hashtag1","hashtag2"]},{"1401207100":["hashtag1","hashtag2"]},{"1401207093":["hashtag1","hashtag2"]},{"1401207092":["hashtag1","hashtag2"]},{"1401207095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207094, 1401207109, 1401207100, 1401207093, 1401207092, 1401207095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.185784101486206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:13:31.913751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_55_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_44_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_35_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_25_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/36/image_09122025_11_37_05_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_55_10596.jpg', '/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_44_9588.jpg', '/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_35_9583.jpg', '/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_25_10593.jpg', '/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_14_9604.jpg', '/home/nano/Desktop/images/09122025/11/36/image_09122025_11_37_05_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_55_10596.jpg
/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_44_9588.jpg
/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_35_9583.jpg
/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_25_10593.jpg
/home/nano/Desktop/images/09122025/11/37/image_09122025_11_37_14_9604.jpg
/home/nano/Desktop/images/09122025/11/36/image_09122025_11_37_05_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207133","1401207136","1401207126","1401207135","1401207131","1401207128"],"photo_ids_order":["1401207126","1401207128","1401207131","1401207133","1401207135","1401207136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/332644d82a20f16d340ef369a910c139.jpg","text":"TemporaryFile(/tmp/multipartBody4939826588678568100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798072714,"filename":"image_09122025_11_37_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee3195fcdd28f9eaafc0b12ff2fc3767.jpg","text":"TemporaryFile(/tmp/multipartBody2854029588505722153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798072714,"filename":"image_09122025_11_37_05_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a3c7eb244cee29d9bbe7353f83e838e.jpg","text":"TemporaryFile(/tmp/multipartBody5351084710221248230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798072714,"filename":"image_09122025_11_37_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aef28f6004d9e6becabe9a7458483c02.jpg","text":"TemporaryFile(/tmp/multipartBody6100785714302387110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798072714,"filename":"image_09122025_11_37_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6e26cf7145c3cca44494513b1064851.jpg","text":"TemporaryFile(/tmp/multipartBody9146872823305860084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798072714,"filename":"image_09122025_11_37_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8d5eeac2f0d568f937b9142442e2801.jpg","text":"TemporaryFile(/tmp/multipartBody1996765761684917780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798072714,"filename":"image_09122025_11_37_44_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207131","file1":"1401207128","file0":"1401207126","file4":"1401207135","file5":"1401207136","file3":"1401207133"},"map_files_photo_id_array":[{"photo_id":"1401207136","filename":"file5"},{"photo_id":"1401207131","filename":"file2"},{"photo_id":"1401207135","filename":"file4"},{"photo_id":"1401207128","filename":"file1"},{"photo_id":"1401207126","filename":"file0"},{"photo_id":"1401207133","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207133":["hashtag1","hashtag2"]},{"1401207136":["hashtag1","hashtag2"]},{"1401207126":["hashtag1","hashtag2"]},{"1401207135":["hashtag1","hashtag2"]},{"1401207131":["hashtag1","hashtag2"]},{"1401207128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207133, 1401207136, 1401207126, 1401207135, 1401207131, 1401207128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.742711544036865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:14:16.995066
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_54_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_45_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_35_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_15_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/11/35/image_09122025_11_36_04_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_54_9602.jpg', '/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_45_9590.jpg', '/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_35_10597.jpg', '/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_24_9587.jpg', '/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_15_10613.jpg', '/home/nano/Desktop/images/09122025/11/35/image_09122025_11_36_04_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_54_9602.jpg
/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_45_9590.jpg
/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_35_10597.jpg
/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_24_9587.jpg
/home/nano/Desktop/images/09122025/11/36/image_09122025_11_36_15_10613.jpg
/home/nano/Desktop/images/09122025/11/35/image_09122025_11_36_04_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":["1401207160","1401207148","1401207145","1401207162","1401207153","1401207164"],"photo_ids_order":["1401207145","1401207148","1401207153","1401207160","1401207162","1401207164"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3a80e8e5e584e31c8f0388ab039ce71.jpg","text":"TemporaryFile(/tmp/multipartBody9083851934981173955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798117791,"filename":"image_09122025_11_36_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79b2ddb0aca63c7df288785e897f6edb.jpg","text":"TemporaryFile(/tmp/multipartBody6613102520505594823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798117791,"filename":"image_09122025_11_36_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d38fa340abf922bec3ed5e553b81628f.jpg","text":"TemporaryFile(/tmp/multipartBody3261519926607434121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798117791,"filename":"image_09122025_11_36_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/12/27/f51b17c2026437bb902a0c343ff4c153.jpg","text":"TemporaryFile(/tmp/multipartBody6341680954007839461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798117791,"filename":"image_09122025_11_36_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc1ce3f026239a42524ed0dd5a66b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody8444211846431365566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798117791,"filename":"image_09122025_11_36_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8cbd9639427c845e3799e2b406bbdae.jpg","text":"TemporaryFile(/tmp/multipartBody8903060861581674906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798117791,"filename":"image_09122025_11_36_04_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207153","file1":"1401207148","file0":"1401207145","file4":"1401207162","file5":"1401207164","file3":"1401207160"},"map_files_photo_id_array":[{"photo_id":"1401207164","filename":"file5"},{"photo_id":"1401207153","filename":"file2"},{"photo_id":"1401207162","filename":"file4"},{"photo_id":"1401207148","filename":"file1"},{"photo_id":"1401207145","filename":"file0"},{"photo_id":"1401207160","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207160":["hashtag1","hashtag2"]},{"1401207148":["hashtag1","hashtag2"]},{"1401207145":["hashtag1","hashtag2"]},{"1401207162":["hashtag1","hashtag2"]},{"1401207153":["hashtag1","hashtag2"]},{"1401207164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207160, 1401207148, 1401207145, 1401207162, 1401207153, 1401207164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27422761917114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:15:02.692616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_55_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_45_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_34_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_25_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_14_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/11/34/image_09122025_11_35_05_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_55_9588.jpg', '/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_45_10597.jpg', '/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_34_9585.jpg', '/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_25_10598.jpg', '/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_14_9601.jpg', '/home/nano/Desktop/images/09122025/11/34/image_09122025_11_35_05_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_55_9588.jpg
/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_45_10597.jpg
/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_34_9585.jpg
/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_25_10598.jpg
/home/nano/Desktop/images/09122025/11/35/image_09122025_11_35_14_9601.jpg
/home/nano/Desktop/images/09122025/11/34/image_09122025_11_35_05_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":["1401207168","1401207173","1401207182","1401207176","1401207179","1401207170"],"photo_ids_order":["1401207168","1401207170","1401207173","1401207176","1401207179","1401207182"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32ab9ea14321b56585cc1836ab037776.jpg","text":"TemporaryFile(/tmp/multipartBody4140018514724792618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798163516,"filename":"image_09122025_11_35_55_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27ff665b2a246cfe0d193ecd46def5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5364793986156215246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798163516,"filename":"image_09122025_11_35_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/12/27/40acd5fb9ce5add698eef977f136bba9.jpg","text":"TemporaryFile(/tmp/multipartBody5321568697013808295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798163516,"filename":"image_09122025_11_35_05_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfd7ebf0e1fdddbfaf76944bec4af958.jpg","text":"TemporaryFile(/tmp/multipartBody5702135369661663149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798163516,"filename":"image_09122025_11_35_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ad0ea7443312109546abe5ba4330668.jpg","text":"TemporaryFile(/tmp/multipartBody4715011290130930365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798163516,"filename":"image_09122025_11_35_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8e5f9832ad714d84017d18e6f6ee4d2.jpg","text":"TemporaryFile(/tmp/multipartBody3084794989808463520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798163516,"filename":"image_09122025_11_35_45_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207173","file1":"1401207170","file0":"1401207168","file4":"1401207179","file5":"1401207182","file3":"1401207176"},"map_files_photo_id_array":[{"photo_id":"1401207182","filename":"file5"},{"photo_id":"1401207173","filename":"file2"},{"photo_id":"1401207179","filename":"file4"},{"photo_id":"1401207170","filename":"file1"},{"photo_id":"1401207168","filename":"file0"},{"photo_id":"1401207176","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207168":["hashtag1","hashtag2"]},{"1401207173":["hashtag1","hashtag2"]},{"1401207182":["hashtag1","hashtag2"]},{"1401207176":["hashtag1","hashtag2"]},{"1401207179":["hashtag1","hashtag2"]},{"1401207170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207168, 1401207173, 1401207182, 1401207176, 1401207179, 1401207170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03050446510315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:15:47.247948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_55_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_44_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_24_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_34_05_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_55_10598.jpg', '/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_44_9590.jpg', '/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_35_10596.jpg', '/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_24_9591.jpg', '/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_15_9600.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_34_05_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_55_10598.jpg
/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_44_9590.jpg
/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_35_10596.jpg
/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_24_9591.jpg
/home/nano/Desktop/images/09122025/11/34/image_09122025_11_34_15_9600.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_34_05_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":["1401207193","1401207202","1401207195","1401207198","1401207191","1401207190"],"photo_ids_order":["1401207190","1401207191","1401207193","1401207195","1401207198","1401207202"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c79ec28616e8e9f43cacfb35e4671359.jpg","text":"TemporaryFile(/tmp/multipartBody9095912775270904823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798208041,"filename":"image_09122025_11_34_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13f5f0b832a40562cf38c1c5b1502451.jpg","text":"TemporaryFile(/tmp/multipartBody7575326207106340810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798208041,"filename":"image_09122025_11_34_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6710fa6059281b541c8ffe7f4a833c62.jpg","text":"TemporaryFile(/tmp/multipartBody2492179411693719582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798208041,"filename":"image_09122025_11_34_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/12/27/c279abd65df53a4675ec09137668e240.jpg","text":"TemporaryFile(/tmp/multipartBody5733146882005251839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798208041,"filename":"image_09122025_11_34_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dba303e035c6d18eae97351e505b387c.jpg","text":"TemporaryFile(/tmp/multipartBody4521423832441026182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798208041,"filename":"image_09122025_11_34_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/12/27/922a804cc4db6e6332b1cc06b1440a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6519515950643844787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798208041,"filename":"image_09122025_11_34_55_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207193","file1":"1401207191","file0":"1401207190","file4":"1401207198","file5":"1401207202","file3":"1401207195"},"map_files_photo_id_array":[{"photo_id":"1401207202","filename":"file5"},{"photo_id":"1401207193","filename":"file2"},{"photo_id":"1401207198","filename":"file4"},{"photo_id":"1401207191","filename":"file1"},{"photo_id":"1401207190","filename":"file0"},{"photo_id":"1401207195","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207193":["hashtag1","hashtag2"]},{"1401207202":["hashtag1","hashtag2"]},{"1401207195":["hashtag1","hashtag2"]},{"1401207198":["hashtag1","hashtag2"]},{"1401207191":["hashtag1","hashtag2"]},{"1401207190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207193, 1401207202, 1401207195, 1401207198, 1401207191, 1401207190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86716914176941 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:16:32.375656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_54_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_34_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_25_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/11/32/image_09122025_11_33_04_9582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_54_9611.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_45_10598.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_34_9583.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_25_9598.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_15_10609.jpg', '/home/nano/Desktop/images/09122025/11/32/image_09122025_11_33_04_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_54_9611.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_45_10598.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_34_9583.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_25_9598.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_15_10609.jpg
/home/nano/Desktop/images/09122025/11/32/image_09122025_11_33_04_9582.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6728160381317139 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:16:47.361671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_54_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_34_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_25_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/11/32/image_09122025_11_33_04_9582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_54_9611.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_45_10598.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_34_9583.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_25_9598.jpg', '/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_15_10609.jpg', '/home/nano/Desktop/images/09122025/11/32/image_09122025_11_33_04_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_54_9611.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_45_10598.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_34_9583.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_25_9598.jpg
/home/nano/Desktop/images/09122025/11/33/image_09122025_11_33_15_10609.jpg
/home/nano/Desktop/images/09122025/11/32/image_09122025_11_33_04_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207232","1401207231","1401207234","1401207228","1401207237","1401207230"],"photo_ids_order":["1401207228","1401207230","1401207231","1401207232","1401207234","1401207237"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22d9336e987764e0efcfaea680a49120.jpg","text":"TemporaryFile(/tmp/multipartBody5941006192613645839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798268139,"filename":"image_09122025_11_33_25_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/575be260873e82ed911e1b0b22327d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7327576978748560934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798268139,"filename":"image_09122025_11_33_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd8b39aa2c730dd8093d86a8d2601989.jpg","text":"TemporaryFile(/tmp/multipartBody7462413173839901176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798268139,"filename":"image_09122025_11_33_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf2868353058930912b97f8760d248e6.jpg","text":"TemporaryFile(/tmp/multipartBody1930277622214049543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798268139,"filename":"image_09122025_11_33_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/12/27/f2b65d6fbfa0b2e55f856b27b7bce0a3.jpg","text":"TemporaryFile(/tmp/multipartBody458298176845071164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798268139,"filename":"image_09122025_11_33_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abf58782c53c534b8e24eb3b30b1ebf0.jpg","text":"TemporaryFile(/tmp/multipartBody656150187291442379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798268139,"filename":"image_09122025_11_33_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207231","file1":"1401207230","file0":"1401207228","file4":"1401207234","file5":"1401207237","file3":"1401207232"},"map_files_photo_id_array":[{"photo_id":"1401207237","filename":"file5"},{"photo_id":"1401207231","filename":"file2"},{"photo_id":"1401207234","filename":"file4"},{"photo_id":"1401207230","filename":"file1"},{"photo_id":"1401207228","filename":"file0"},{"photo_id":"1401207232","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207232":["hashtag1","hashtag2"]},{"1401207231":["hashtag1","hashtag2"]},{"1401207234":["hashtag1","hashtag2"]},{"1401207228":["hashtag1","hashtag2"]},{"1401207237":["hashtag1","hashtag2"]},{"1401207230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207232, 1401207231, 1401207234, 1401207228, 1401207237, 1401207230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85024833679199 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:17:32.508551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_55_10590.jpg', 2), ('/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_44_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_35_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_25_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_14_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/31/image_09122025_11_32_05_10600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_55_10590.jpg', '/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_44_9585.jpg', '/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_35_9600.jpg', '/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_25_10593.jpg', '/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_14_9594.jpg', '/home/nano/Desktop/images/09122025/11/31/image_09122025_11_32_05_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_55_10590.jpg
/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_44_9585.jpg
/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_35_9600.jpg
/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_25_10593.jpg
/home/nano/Desktop/images/09122025/11/32/image_09122025_11_32_14_9594.jpg
/home/nano/Desktop/images/09122025/11/31/image_09122025_11_32_05_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207256","1401207252","1401207249","1401207254","1401207257","1401207251"],"photo_ids_order":["1401207249","1401207251","1401207252","1401207254","1401207256","1401207257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da9c7c89732dc47876121b6cb4c2c91b.jpg","text":"TemporaryFile(/tmp/multipartBody6823928676413646251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798313295,"filename":"image_09122025_11_32_14_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6daff811607e60bb251a6bb2452a0d4.jpg","text":"TemporaryFile(/tmp/multipartBody2755864719056479058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798313295,"filename":"image_09122025_11_32_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60435bfd51d235203a7b59da26aad3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2974606978744186492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798313295,"filename":"image_09122025_11_32_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71b61335c7cab9dd9d22610dc1604ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2734562115789490000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798313295,"filename":"image_09122025_11_32_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9a739b8f13fa9d88aa543b047cd31d4.jpg","text":"TemporaryFile(/tmp/multipartBody455893395409209830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798313295,"filename":"image_09122025_11_32_05_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77f5a598072077efe9c27b5261222845.jpg","text":"TemporaryFile(/tmp/multipartBody4665280375436219778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798313295,"filename":"image_09122025_11_32_44_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207252","file1":"1401207251","file0":"1401207249","file4":"1401207256","file5":"1401207257","file3":"1401207254"},"map_files_photo_id_array":[{"photo_id":"1401207257","filename":"file5"},{"photo_id":"1401207252","filename":"file2"},{"photo_id":"1401207256","filename":"file4"},{"photo_id":"1401207251","filename":"file1"},{"photo_id":"1401207249","filename":"file0"},{"photo_id":"1401207254","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207256":["hashtag1","hashtag2"]},{"1401207252":["hashtag1","hashtag2"]},{"1401207249":["hashtag1","hashtag2"]},{"1401207254":["hashtag1","hashtag2"]},{"1401207257":["hashtag1","hashtag2"]},{"1401207251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207256, 1401207252, 1401207249, 1401207254, 1401207257, 1401207251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03452110290527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:18:17.563876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_54_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_45_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_15_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/11/30/image_09122025_11_31_04_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_54_9588.jpg', '/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_45_10602.jpg', '/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_34_9587.jpg', '/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_25_9584.jpg', '/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_15_10608.jpg', '/home/nano/Desktop/images/09122025/11/30/image_09122025_11_31_04_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_54_9588.jpg
/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_45_10602.jpg
/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_34_9587.jpg
/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_25_9584.jpg
/home/nano/Desktop/images/09122025/11/31/image_09122025_11_31_15_10608.jpg
/home/nano/Desktop/images/09122025/11/30/image_09122025_11_31_04_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":["1401207271","1401207265","1401207274","1401207268","1401207279","1401207277"],"photo_ids_order":["1401207265","1401207268","1401207271","1401207274","1401207277","1401207279"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5256b43c690de1090d4ce9cfe4bee9df.jpg","text":"TemporaryFile(/tmp/multipartBody5569911896897329835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798358349,"filename":"image_09122025_11_31_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fe48c83c5187472f8fbd8d491b5c4e2.jpg","text":"TemporaryFile(/tmp/multipartBody4811400925785229851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798358349,"filename":"image_09122025_11_31_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/12/27/c851cb0c2adba0c2f5c9d09c24d1de66.jpg","text":"TemporaryFile(/tmp/multipartBody3089767403933262779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798358349,"filename":"image_09122025_11_31_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/830c3d96fafe2f2a938b6d3943fc295e.jpg","text":"TemporaryFile(/tmp/multipartBody6111649640786159927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798358349,"filename":"image_09122025_11_31_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d6657dd7d6cbd5dd4eb9f92e41f518c.jpg","text":"TemporaryFile(/tmp/multipartBody6782272363015363853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798358349,"filename":"image_09122025_11_31_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/12/27/9db45c5af1b63d41db7012bd44e384fa.jpg","text":"TemporaryFile(/tmp/multipartBody3279349689801169984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798358349,"filename":"image_09122025_11_31_15_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207271","file1":"1401207268","file0":"1401207265","file4":"1401207277","file5":"1401207279","file3":"1401207274"},"map_files_photo_id_array":[{"photo_id":"1401207279","filename":"file5"},{"photo_id":"1401207271","filename":"file2"},{"photo_id":"1401207277","filename":"file4"},{"photo_id":"1401207268","filename":"file1"},{"photo_id":"1401207265","filename":"file0"},{"photo_id":"1401207274","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207271":["hashtag1","hashtag2"]},{"1401207265":["hashtag1","hashtag2"]},{"1401207274":["hashtag1","hashtag2"]},{"1401207268":["hashtag1","hashtag2"]},{"1401207279":["hashtag1","hashtag2"]},{"1401207277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207271, 1401207265, 1401207274, 1401207268, 1401207279, 1401207277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52027201652527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:19:03.373994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_55_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_44_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_35_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_25_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_14_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/11/29/image_09122025_11_30_05_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_55_10597.jpg', '/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_44_9587.jpg', '/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_35_9588.jpg', '/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_25_10595.jpg', '/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_14_9618.jpg', '/home/nano/Desktop/images/09122025/11/29/image_09122025_11_30_05_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_55_10597.jpg
/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_44_9587.jpg
/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_35_9588.jpg
/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_25_10595.jpg
/home/nano/Desktop/images/09122025/11/30/image_09122025_11_30_14_9618.jpg
/home/nano/Desktop/images/09122025/11/29/image_09122025_11_30_05_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":["1401207292","1401207286","1401207288","1401207291","1401207295","1401207283"],"photo_ids_order":["1401207283","1401207286","1401207288","1401207291","1401207292","1401207295"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72cd847e64e30571a3debe305ded377c.jpg","text":"TemporaryFile(/tmp/multipartBody683960126715176883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798404311,"filename":"image_09122025_11_30_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/12/27/8c355f3893f95f644197d351a6b64f43.jpg","text":"TemporaryFile(/tmp/multipartBody8841172979892047475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798404311,"filename":"image_09122025_11_30_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b868077ced921eae86881cb6975466ae.jpg","text":"TemporaryFile(/tmp/multipartBody5424789860161132111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798404311,"filename":"image_09122025_11_30_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/163dc14aa4564c3c7b875330f8293837.jpg","text":"TemporaryFile(/tmp/multipartBody1996263997526879626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798404311,"filename":"image_09122025_11_30_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af96b015f2c2ab255499ea5a53a95337.jpg","text":"TemporaryFile(/tmp/multipartBody8819669276128083643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798404311,"filename":"image_09122025_11_30_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd2fa038f01f16d0b254b0ce2910bc18.jpg","text":"TemporaryFile(/tmp/multipartBody8267016470109403828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798404311,"filename":"image_09122025_11_30_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207288","file1":"1401207286","file0":"1401207283","file4":"1401207292","file5":"1401207295","file3":"1401207291"},"map_files_photo_id_array":[{"photo_id":"1401207295","filename":"file5"},{"photo_id":"1401207288","filename":"file2"},{"photo_id":"1401207292","filename":"file4"},{"photo_id":"1401207286","filename":"file1"},{"photo_id":"1401207283","filename":"file0"},{"photo_id":"1401207291","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207292":["hashtag1","hashtag2"]},{"1401207286":["hashtag1","hashtag2"]},{"1401207288":["hashtag1","hashtag2"]},{"1401207291":["hashtag1","hashtag2"]},{"1401207295":["hashtag1","hashtag2"]},{"1401207283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207292, 1401207286, 1401207288, 1401207291, 1401207295, 1401207283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.321810483932495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:19:47.685697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_54_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_45_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_35_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_24_9585.jpg', 2), ('/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_15_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/11/28/image_09122025_11_29_04_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_54_9598.jpg', '/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_45_9590.jpg', '/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_35_10611.jpg', '/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_24_9585.jpg', '/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_15_10608.jpg', '/home/nano/Desktop/images/09122025/11/28/image_09122025_11_29_04_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_54_9598.jpg
/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_45_9590.jpg
/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_35_10611.jpg
/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_24_9585.jpg
/home/nano/Desktop/images/09122025/11/29/image_09122025_11_29_15_10608.jpg
/home/nano/Desktop/images/09122025/11/28/image_09122025_11_29_04_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207310","1401207304","1401207303","1401207317","1401207305","1401207314"],"photo_ids_order":["1401207303","1401207304","1401207305","1401207310","1401207314","1401207317"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10d4ba4f02b602feb2e855877b370be0.jpg","text":"TemporaryFile(/tmp/multipartBody5109226552189929270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798448512,"filename":"image_09122025_11_29_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8610a24a7e4bf836a74a2c999e9351b2.jpg","text":"TemporaryFile(/tmp/multipartBody3161367860566368513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798448512,"filename":"image_09122025_11_29_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc004647aa38d1a73a622305e81480fc.jpg","text":"TemporaryFile(/tmp/multipartBody4645122954319057717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798448512,"filename":"image_09122025_11_29_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/faf419f638ea7f06ef577243fd21eeaa.jpg","text":"TemporaryFile(/tmp/multipartBody2154946153629851856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798448512,"filename":"image_09122025_11_29_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ef8bddecc8a329a0d3c8f33cd7532ff.jpg","text":"TemporaryFile(/tmp/multipartBody2066582438966845126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798448512,"filename":"image_09122025_11_29_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2b5cf49adc0d1787af6c046fe8adbe4.jpg","text":"TemporaryFile(/tmp/multipartBody5860597501116971060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798448512,"filename":"image_09122025_11_29_15_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207305","file1":"1401207304","file0":"1401207303","file4":"1401207314","file5":"1401207317","file3":"1401207310"},"map_files_photo_id_array":[{"photo_id":"1401207317","filename":"file5"},{"photo_id":"1401207305","filename":"file2"},{"photo_id":"1401207314","filename":"file4"},{"photo_id":"1401207304","filename":"file1"},{"photo_id":"1401207303","filename":"file0"},{"photo_id":"1401207310","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207310":["hashtag1","hashtag2"]},{"1401207304":["hashtag1","hashtag2"]},{"1401207303":["hashtag1","hashtag2"]},{"1401207317":["hashtag1","hashtag2"]},{"1401207305":["hashtag1","hashtag2"]},{"1401207314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207310, 1401207304, 1401207303, 1401207317, 1401207305, 1401207314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.404274702072144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:20:31.793003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_55_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_45_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_34_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_25_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_14_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/27/image_09122025_11_28_05_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_55_9583.jpg', '/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_45_10593.jpg', '/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_34_9583.jpg', '/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_25_10598.jpg', '/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_14_9600.jpg', '/home/nano/Desktop/images/09122025/11/27/image_09122025_11_28_05_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_55_9583.jpg
/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_45_10593.jpg
/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_34_9583.jpg
/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_25_10598.jpg
/home/nano/Desktop/images/09122025/11/28/image_09122025_11_28_14_9600.jpg
/home/nano/Desktop/images/09122025/11/27/image_09122025_11_28_05_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":["1401207334","1401207337","1401207339","1401207327","1401207341","1401207332"],"photo_ids_order":["1401207327","1401207332","1401207334","1401207337","1401207339","1401207341"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09875e8ae4e1841eb44ce93ffe0257b4.jpg","text":"TemporaryFile(/tmp/multipartBody6286393386883146833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798492605,"filename":"image_09122025_11_28_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06c4d9e36c03abc5e3787dddf5d8100e.jpg","text":"TemporaryFile(/tmp/multipartBody7052006439019222953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798492605,"filename":"image_09122025_11_28_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bef78c0cfe70800ad76b769dde4aa302.jpg","text":"TemporaryFile(/tmp/multipartBody180285665566532813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798492605,"filename":"image_09122025_11_28_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e022553900d28ade53b6c4d536c6ad42.jpg","text":"TemporaryFile(/tmp/multipartBody115423909250866339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798492605,"filename":"image_09122025_11_28_55_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cac5d0c1a9073e73f0f03ccf1a20c56.jpg","text":"TemporaryFile(/tmp/multipartBody7021957359520385468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798492605,"filename":"image_09122025_11_28_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19d060035185b18c8bb70d2dbe73e936.jpg","text":"TemporaryFile(/tmp/multipartBody2886664463864720648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798492605,"filename":"image_09122025_11_28_45_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207334","file1":"1401207332","file0":"1401207327","file4":"1401207339","file5":"1401207341","file3":"1401207337"},"map_files_photo_id_array":[{"photo_id":"1401207341","filename":"file5"},{"photo_id":"1401207334","filename":"file2"},{"photo_id":"1401207339","filename":"file4"},{"photo_id":"1401207332","filename":"file1"},{"photo_id":"1401207327","filename":"file0"},{"photo_id":"1401207337","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207334":["hashtag1","hashtag2"]},{"1401207337":["hashtag1","hashtag2"]},{"1401207339":["hashtag1","hashtag2"]},{"1401207327":["hashtag1","hashtag2"]},{"1401207341":["hashtag1","hashtag2"]},{"1401207332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207334, 1401207337, 1401207339, 1401207327, 1401207341, 1401207332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.708568811416626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:21:16.868380
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_55_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_44_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_35_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_15_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/26/image_09122025_11_27_05_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_55_10594.jpg', '/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_44_9589.jpg', '/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_35_10596.jpg', '/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_24_9587.jpg', '/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_15_9594.jpg', '/home/nano/Desktop/images/09122025/11/26/image_09122025_11_27_05_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_55_10594.jpg
/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_44_9589.jpg
/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_35_10596.jpg
/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_24_9587.jpg
/home/nano/Desktop/images/09122025/11/27/image_09122025_11_27_15_9594.jpg
/home/nano/Desktop/images/09122025/11/26/image_09122025_11_27_05_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":["1401207358","1401207360","1401207354","1401207353","1401207362","1401207356"],"photo_ids_order":["1401207353","1401207354","1401207356","1401207358","1401207360","1401207362"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f96b04f4613ae6280f4a45edf8a7532.jpg","text":"TemporaryFile(/tmp/multipartBody9083838543140204041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798537656,"filename":"image_09122025_11_27_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3467da818e008889007e4b39f480f737.jpg","text":"TemporaryFile(/tmp/multipartBody5772115994334127289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798537656,"filename":"image_09122025_11_27_15_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7056fb307297d6cf02fa458a45f216f8.jpg","text":"TemporaryFile(/tmp/multipartBody8460014274307750936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798537656,"filename":"image_09122025_11_27_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fcb26bda3682edc0d5e7f23e14fcc93.jpg","text":"TemporaryFile(/tmp/multipartBody7397577739452892081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798537656,"filename":"image_09122025_11_27_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0126c3eb525d5f42f5475cf3ca5cd11.jpg","text":"TemporaryFile(/tmp/multipartBody1956110094818835155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798537656,"filename":"image_09122025_11_27_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d928ecfc67c665aa2e6fda2d3b205299.jpg","text":"TemporaryFile(/tmp/multipartBody796038575529908711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798537656,"filename":"image_09122025_11_27_35_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207356","file1":"1401207354","file0":"1401207353","file4":"1401207360","file5":"1401207362","file3":"1401207358"},"map_files_photo_id_array":[{"photo_id":"1401207362","filename":"file5"},{"photo_id":"1401207356","filename":"file2"},{"photo_id":"1401207360","filename":"file4"},{"photo_id":"1401207354","filename":"file1"},{"photo_id":"1401207353","filename":"file0"},{"photo_id":"1401207358","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207358":["hashtag1","hashtag2"]},{"1401207360":["hashtag1","hashtag2"]},{"1401207354":["hashtag1","hashtag2"]},{"1401207353":["hashtag1","hashtag2"]},{"1401207362":["hashtag1","hashtag2"]},{"1401207356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207358, 1401207360, 1401207354, 1401207353, 1401207362, 1401207356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20057249069214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:22:02.359703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_54_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_45_10596.jpg', 2), ('/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_25_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_15_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/11/25/image_09122025_11_26_04_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_54_9588.jpg', '/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_45_10596.jpg', '/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_34_9587.jpg', '/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_25_9584.jpg', '/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_15_10611.jpg', '/home/nano/Desktop/images/09122025/11/25/image_09122025_11_26_04_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_54_9588.jpg
/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_45_10596.jpg
/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_34_9587.jpg
/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_25_9584.jpg
/home/nano/Desktop/images/09122025/11/26/image_09122025_11_26_15_10611.jpg
/home/nano/Desktop/images/09122025/11/25/image_09122025_11_26_04_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":["1401207369","1401207366","1401207371","1401207374","1401207368","1401207377"],"photo_ids_order":["1401207366","1401207368","1401207369","1401207371","1401207374","1401207377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9578d885a09b92a950f35ab5d2db1483.jpg","text":"TemporaryFile(/tmp/multipartBody473329605387164770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798583229,"filename":"image_09122025_11_26_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4bce02667614944b80d5a2d78a98f391.jpg","text":"TemporaryFile(/tmp/multipartBody5181250167005197200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798583229,"filename":"image_09122025_11_26_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/12/27/be7dbac09be84c317e834fda627f2463.jpg","text":"TemporaryFile(/tmp/multipartBody8795060234020130804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798583229,"filename":"image_09122025_11_26_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09ee377166bd77b95d54a30e2ac6247b.jpg","text":"TemporaryFile(/tmp/multipartBody8461802616053945102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798583229,"filename":"image_09122025_11_26_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/810abd85a5c6c8abcbd64fe5f8024698.jpg","text":"TemporaryFile(/tmp/multipartBody939865800103211938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798583229,"filename":"image_09122025_11_26_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88ed9d6fd55efc691d22297e52dffd14.jpg","text":"TemporaryFile(/tmp/multipartBody1550835418843627195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798583229,"filename":"image_09122025_11_26_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207369","file1":"1401207368","file0":"1401207366","file4":"1401207374","file5":"1401207377","file3":"1401207371"},"map_files_photo_id_array":[{"photo_id":"1401207377","filename":"file5"},{"photo_id":"1401207369","filename":"file2"},{"photo_id":"1401207374","filename":"file4"},{"photo_id":"1401207368","filename":"file1"},{"photo_id":"1401207366","filename":"file0"},{"photo_id":"1401207371","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207369":["hashtag1","hashtag2"]},{"1401207366":["hashtag1","hashtag2"]},{"1401207371":["hashtag1","hashtag2"]},{"1401207374":["hashtag1","hashtag2"]},{"1401207368":["hashtag1","hashtag2"]},{"1401207377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207369, 1401207366, 1401207371, 1401207374, 1401207368, 1401207377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.154452323913574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:22:46.934387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_55_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_44_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_35_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_25_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/24/image_09122025_11_25_05_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_55_10593.jpg', '/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_44_9582.jpg', '/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_35_9588.jpg', '/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_25_10599.jpg', '/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_14_9604.jpg', '/home/nano/Desktop/images/09122025/11/24/image_09122025_11_25_05_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_55_10593.jpg
/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_44_9582.jpg
/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_35_9588.jpg
/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_25_10599.jpg
/home/nano/Desktop/images/09122025/11/25/image_09122025_11_25_14_9604.jpg
/home/nano/Desktop/images/09122025/11/24/image_09122025_11_25_05_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":["1401207391","1401207390","1401207393","1401207398","1401207395","1401207394"],"photo_ids_order":["1401207390","1401207391","1401207393","1401207394","1401207395","1401207398"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e79312553842ab3284c4fbdfde30d8fd.jpg","text":"TemporaryFile(/tmp/multipartBody8958667200579059412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798627721,"filename":"image_09122025_11_25_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0a1668b41d179e2ed8ba9a7ed0a312b.jpg","text":"TemporaryFile(/tmp/multipartBody3786240948206832020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798627721,"filename":"image_09122025_11_25_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6204d713bb516629bd5e9aa4d35b2763.jpg","text":"TemporaryFile(/tmp/multipartBody7432089478262477194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798627721,"filename":"image_09122025_11_25_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b615c79e65915ba2015b5f72e6236d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8513639580274015458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798627721,"filename":"image_09122025_11_25_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/230aec7c861d27453161b2bc5ac988ad.jpg","text":"TemporaryFile(/tmp/multipartBody2183960792991761276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798627721,"filename":"image_09122025_11_25_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d23e0d325d418ece712d7a67bb405eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3173480359880998770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798627721,"filename":"image_09122025_11_25_25_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207393","file1":"1401207391","file0":"1401207390","file4":"1401207395","file5":"1401207398","file3":"1401207394"},"map_files_photo_id_array":[{"photo_id":"1401207398","filename":"file5"},{"photo_id":"1401207393","filename":"file2"},{"photo_id":"1401207395","filename":"file4"},{"photo_id":"1401207391","filename":"file1"},{"photo_id":"1401207390","filename":"file0"},{"photo_id":"1401207394","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207391":["hashtag1","hashtag2"]},{"1401207390":["hashtag1","hashtag2"]},{"1401207393":["hashtag1","hashtag2"]},{"1401207398":["hashtag1","hashtag2"]},{"1401207395":["hashtag1","hashtag2"]},{"1401207394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207391, 1401207390, 1401207393, 1401207398, 1401207395, 1401207394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.350632667541504 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:23:32.030630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_54_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_45_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_35_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_24_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_15_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/11/23/image_09122025_11_24_04_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_54_9605.jpg', '/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_45_9589.jpg', '/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_35_10602.jpg', '/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_24_9606.jpg', '/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_15_10636.jpg', '/home/nano/Desktop/images/09122025/11/23/image_09122025_11_24_04_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_54_9605.jpg
/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_45_9589.jpg
/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_35_10602.jpg
/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_24_9606.jpg
/home/nano/Desktop/images/09122025/11/24/image_09122025_11_24_15_10636.jpg
/home/nano/Desktop/images/09122025/11/23/image_09122025_11_24_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":["1401207415","1401207411","1401207408","1401207416","1401207410","1401207413"],"photo_ids_order":["1401207408","1401207410","1401207411","1401207413","1401207415","1401207416"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a529354ef9238e38715e3329c3ca95e.jpg","text":"TemporaryFile(/tmp/multipartBody8142207898280917957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798672821,"filename":"image_09122025_11_24_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0477883a52257bc255cbe4b111c79b1.jpg","text":"TemporaryFile(/tmp/multipartBody4402023755111761060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798672821,"filename":"image_09122025_11_24_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c83d1325d6ac18a3d56b6e9c56e2e35.jpg","text":"TemporaryFile(/tmp/multipartBody5557727826838819698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798672821,"filename":"image_09122025_11_24_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/12/27/e279ac1588d5fee40230e3940d89123d.jpg","text":"TemporaryFile(/tmp/multipartBody703211478113061735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798672821,"filename":"image_09122025_11_24_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/12/27/36b797cf569d0db820c712b281200d50.jpg","text":"TemporaryFile(/tmp/multipartBody5398444087731903734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798672821,"filename":"image_09122025_11_24_45_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f1c65956d40ad1ae6b7bc24d2a2445d.jpg","text":"TemporaryFile(/tmp/multipartBody5436297552481248536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798672821,"filename":"image_09122025_11_24_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207411","file1":"1401207410","file0":"1401207408","file4":"1401207415","file5":"1401207416","file3":"1401207413"},"map_files_photo_id_array":[{"photo_id":"1401207416","filename":"file5"},{"photo_id":"1401207411","filename":"file2"},{"photo_id":"1401207415","filename":"file4"},{"photo_id":"1401207410","filename":"file1"},{"photo_id":"1401207408","filename":"file0"},{"photo_id":"1401207413","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207415":["hashtag1","hashtag2"]},{"1401207411":["hashtag1","hashtag2"]},{"1401207408":["hashtag1","hashtag2"]},{"1401207416":["hashtag1","hashtag2"]},{"1401207410":["hashtag1","hashtag2"]},{"1401207413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207415, 1401207411, 1401207408, 1401207416, 1401207410, 1401207413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37407946586609 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:24:17.180011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_55_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_45_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_34_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_25_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/22/image_09122025_11_23_05_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_55_9592.jpg', '/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_45_10605.jpg', '/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_34_9606.jpg', '/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_25_10615.jpg', '/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_14_9604.jpg', '/home/nano/Desktop/images/09122025/11/22/image_09122025_11_23_05_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_55_9592.jpg
/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_45_10605.jpg
/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_34_9606.jpg
/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_25_10615.jpg
/home/nano/Desktop/images/09122025/11/23/image_09122025_11_23_14_9604.jpg
/home/nano/Desktop/images/09122025/11/22/image_09122025_11_23_05_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":["1401207427","1401207424","1401207435","1401207438","1401207432","1401207440"],"photo_ids_order":["1401207424","1401207427","1401207432","1401207435","1401207438","1401207440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4f3124f7853ca7efce11745735c53e1.jpg","text":"TemporaryFile(/tmp/multipartBody6441365195578065374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798717978,"filename":"image_09122025_11_23_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09c887d6c1c684299138e0fc068c782b.jpg","text":"TemporaryFile(/tmp/multipartBody7426200376992772558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798717978,"filename":"image_09122025_11_23_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fad9d2e5c7da127c8096c9892940820b.jpg","text":"TemporaryFile(/tmp/multipartBody7178957721220926295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798717978,"filename":"image_09122025_11_23_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b5b142ef48fd4370cc900a2a5bc2a34.jpg","text":"TemporaryFile(/tmp/multipartBody4871740849866387715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798717978,"filename":"image_09122025_11_23_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd6a367a0c7129ce8e6e049fcbfb00a3.jpg","text":"TemporaryFile(/tmp/multipartBody6863594298068696220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798717978,"filename":"image_09122025_11_23_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/12/27/eb0e78a1c5f9145d030e3de68b596c2a.jpg","text":"TemporaryFile(/tmp/multipartBody2379736540935809963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798717978,"filename":"image_09122025_11_23_05_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207432","file1":"1401207427","file0":"1401207424","file4":"1401207438","file5":"1401207440","file3":"1401207435"},"map_files_photo_id_array":[{"photo_id":"1401207440","filename":"file5"},{"photo_id":"1401207432","filename":"file2"},{"photo_id":"1401207438","filename":"file4"},{"photo_id":"1401207427","filename":"file1"},{"photo_id":"1401207424","filename":"file0"},{"photo_id":"1401207435","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207427":["hashtag1","hashtag2"]},{"1401207424":["hashtag1","hashtag2"]},{"1401207435":["hashtag1","hashtag2"]},{"1401207438":["hashtag1","hashtag2"]},{"1401207432":["hashtag1","hashtag2"]},{"1401207440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207427, 1401207424, 1401207435, 1401207438, 1401207432, 1401207440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.305011510849 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:25:02.653529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_55_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_44_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_35_10606.jpg', 2), ('/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_24_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_15_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/21/image_09122025_11_22_05_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_55_10598.jpg', '/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_44_9604.jpg', '/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_35_10606.jpg', '/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_24_9589.jpg', '/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_15_9594.jpg', '/home/nano/Desktop/images/09122025/11/21/image_09122025_11_22_05_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_55_10598.jpg
/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_44_9604.jpg
/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_35_10606.jpg
/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_24_9589.jpg
/home/nano/Desktop/images/09122025/11/22/image_09122025_11_22_15_9594.jpg
/home/nano/Desktop/images/09122025/11/21/image_09122025_11_22_05_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":["1401207459","1401207470","1401207464","1401207473","1401207467","1401207461"],"photo_ids_order":["1401207459","1401207461","1401207464","1401207467","1401207470","1401207473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2fda5ba352d713ca409bfcefbc95f1da.jpg","text":"TemporaryFile(/tmp/multipartBody2381201113295451938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798763448,"filename":"image_09122025_11_22_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfc561013c2104edbfc83bebc572867d.jpg","text":"TemporaryFile(/tmp/multipartBody2215244027218948685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798763448,"filename":"image_09122025_11_22_15_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0544f21a5635a43e26777e976f9d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2162918398099486034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798763448,"filename":"image_09122025_11_22_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e53895fa105076e57a677a04db0d0617.jpg","text":"TemporaryFile(/tmp/multipartBody1182480030954435156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798763448,"filename":"image_09122025_11_22_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/393c184950081b351a643627a6e6ad77.jpg","text":"TemporaryFile(/tmp/multipartBody1701554231018477114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798763448,"filename":"image_09122025_11_22_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/12/27/9948b85a6b271593942267b837fefce3.jpg","text":"TemporaryFile(/tmp/multipartBody277452122248294032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798763448,"filename":"image_09122025_11_22_44_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207464","file1":"1401207461","file0":"1401207459","file4":"1401207470","file5":"1401207473","file3":"1401207467"},"map_files_photo_id_array":[{"photo_id":"1401207473","filename":"file5"},{"photo_id":"1401207464","filename":"file2"},{"photo_id":"1401207470","filename":"file4"},{"photo_id":"1401207461","filename":"file1"},{"photo_id":"1401207459","filename":"file0"},{"photo_id":"1401207467","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207459":["hashtag1","hashtag2"]},{"1401207470":["hashtag1","hashtag2"]},{"1401207464":["hashtag1","hashtag2"]},{"1401207473":["hashtag1","hashtag2"]},{"1401207467":["hashtag1","hashtag2"]},{"1401207461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207459, 1401207470, 1401207464, 1401207473, 1401207467, 1401207461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83994722366333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:25:47.242730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_54_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_34_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_25_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_15_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/11/20/image_09122025_11_21_04_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_54_9588.jpg', '/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_45_10598.jpg', '/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_34_9591.jpg', '/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_25_9589.jpg', '/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_15_10620.jpg', '/home/nano/Desktop/images/09122025/11/20/image_09122025_11_21_04_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_54_9588.jpg
/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_45_10598.jpg
/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_34_9591.jpg
/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_25_9589.jpg
/home/nano/Desktop/images/09122025/11/21/image_09122025_11_21_15_10620.jpg
/home/nano/Desktop/images/09122025/11/20/image_09122025_11_21_04_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":["1401207484","1401207486","1401207480","1401207483","1401207482","1401207481"],"photo_ids_order":["1401207480","1401207481","1401207482","1401207483","1401207484","1401207486"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24f032b6ceeabb2847c44b7bcbf3a363.jpg","text":"TemporaryFile(/tmp/multipartBody6966677681820415479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798808048,"filename":"image_09122025_11_21_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cd9fe15025508cfbfcffab86feaf068.jpg","text":"TemporaryFile(/tmp/multipartBody4672757242072358714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798808048,"filename":"image_09122025_11_21_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc94a1a5def6a4c3cc2c34dea93935bf.jpg","text":"TemporaryFile(/tmp/multipartBody3807952504702550429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798808048,"filename":"image_09122025_11_21_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/12/27/6a3969ec390bfdf4fb960bbaa39ee701.jpg","text":"TemporaryFile(/tmp/multipartBody8475242356687780237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798808048,"filename":"image_09122025_11_21_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2835a82ada74bb543187cafa66c2b4e.jpg","text":"TemporaryFile(/tmp/multipartBody2123321823874667965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798808048,"filename":"image_09122025_11_21_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95453f695aab759bbe1d3b11ecd6c865.jpg","text":"TemporaryFile(/tmp/multipartBody2516277578810755456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798808048,"filename":"image_09122025_11_21_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207482","file1":"1401207481","file0":"1401207480","file4":"1401207484","file5":"1401207486","file3":"1401207483"},"map_files_photo_id_array":[{"photo_id":"1401207486","filename":"file5"},{"photo_id":"1401207482","filename":"file2"},{"photo_id":"1401207484","filename":"file4"},{"photo_id":"1401207481","filename":"file1"},{"photo_id":"1401207480","filename":"file0"},{"photo_id":"1401207483","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207484":["hashtag1","hashtag2"]},{"1401207486":["hashtag1","hashtag2"]},{"1401207480":["hashtag1","hashtag2"]},{"1401207483":["hashtag1","hashtag2"]},{"1401207482":["hashtag1","hashtag2"]},{"1401207481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207484, 1401207486, 1401207480, 1401207483, 1401207482, 1401207481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5650315284729 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:26:32.332348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_55_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_44_9583.jpg', 2), ('/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_35_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_25_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_14_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_20_05_10603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_55_10598.jpg', '/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_44_9583.jpg', '/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_35_9594.jpg', '/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_25_10594.jpg', '/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_14_9628.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_20_05_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_55_10598.jpg
/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_44_9583.jpg
/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_35_9594.jpg
/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_25_10594.jpg
/home/nano/Desktop/images/09122025/11/20/image_09122025_11_20_14_9628.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_20_05_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207511","1401207498","1401207501","1401207509","1401207512","1401207506"],"photo_ids_order":["1401207498","1401207501","1401207506","1401207509","1401207511","1401207512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca694608bf36fc277b089515d0be99a0.jpg","text":"TemporaryFile(/tmp/multipartBody8155284871552111660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798853158,"filename":"image_09122025_11_20_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/12/27/7a8cdd5d55458179bd49fe862e8b08dc.jpg","text":"TemporaryFile(/tmp/multipartBody4067172751448412927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798853158,"filename":"image_09122025_11_20_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cb8cafc168737d8e9211b25ffbc5d27.jpg","text":"TemporaryFile(/tmp/multipartBody3977363856628754525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798853158,"filename":"image_09122025_11_20_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56a7aba400a27430ba7a3f91b89e8bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8068012658231582016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798853158,"filename":"image_09122025_11_20_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68c3408b59a385a50d11724afcc4f093.jpg","text":"TemporaryFile(/tmp/multipartBody82771082866019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798853158,"filename":"image_09122025_11_20_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b04ee1b8233cc987a2a08b102f556cf8.jpg","text":"TemporaryFile(/tmp/multipartBody938921908967978866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798853158,"filename":"image_09122025_11_20_35_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207506","file1":"1401207501","file0":"1401207498","file4":"1401207511","file5":"1401207512","file3":"1401207509"},"map_files_photo_id_array":[{"photo_id":"1401207512","filename":"file5"},{"photo_id":"1401207506","filename":"file2"},{"photo_id":"1401207511","filename":"file4"},{"photo_id":"1401207501","filename":"file1"},{"photo_id":"1401207498","filename":"file0"},{"photo_id":"1401207509","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207511":["hashtag1","hashtag2"]},{"1401207498":["hashtag1","hashtag2"]},{"1401207501":["hashtag1","hashtag2"]},{"1401207509":["hashtag1","hashtag2"]},{"1401207512":["hashtag1","hashtag2"]},{"1401207506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207511, 1401207498, 1401207501, 1401207509, 1401207512, 1401207506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6966187953949 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:27:17.411189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_54_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_45_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_35_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_15_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/11/18/image_09122025_11_19_04_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_54_9588.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_45_9584.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_35_10597.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_24_9588.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_15_10620.jpg', '/home/nano/Desktop/images/09122025/11/18/image_09122025_11_19_04_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_54_9588.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_45_9584.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_35_10597.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_24_9588.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_15_10620.jpg
/home/nano/Desktop/images/09122025/11/18/image_09122025_11_19_04_9603.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6754481792449951 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:27:32.425317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_54_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_45_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_35_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_24_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_15_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/11/18/image_09122025_11_19_04_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_54_9588.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_45_9584.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_35_10597.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_24_9588.jpg', '/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_15_10620.jpg', '/home/nano/Desktop/images/09122025/11/18/image_09122025_11_19_04_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_54_9588.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_45_9584.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_35_10597.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_24_9588.jpg
/home/nano/Desktop/images/09122025/11/19/image_09122025_11_19_15_10620.jpg
/home/nano/Desktop/images/09122025/11/18/image_09122025_11_19_04_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":["1401207550","1401207547","1401207541","1401207552","1401207545","1401207548"],"photo_ids_order":["1401207541","1401207545","1401207547","1401207548","1401207550","1401207552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff55fe7b69ba179b797b147b7a677f86.jpg","text":"TemporaryFile(/tmp/multipartBody5553055323966615742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798913252,"filename":"image_09122025_11_19_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/deb13472d771f51053eff494517739c5.jpg","text":"TemporaryFile(/tmp/multipartBody5562133875289196977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798913252,"filename":"image_09122025_11_19_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef11491581b1541a943b662d9a436635.jpg","text":"TemporaryFile(/tmp/multipartBody7144202710460756790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798913252,"filename":"image_09122025_11_19_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/12/27/31c7a1e840f8be5cdc7d3167daf19155.jpg","text":"TemporaryFile(/tmp/multipartBody5289813347901485109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798913252,"filename":"image_09122025_11_19_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/605e0e9af595ce81c7659c455f175294.jpg","text":"TemporaryFile(/tmp/multipartBody1570638847198650707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798913252,"filename":"image_09122025_11_19_45_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee55c0b8cf08212790eefba8198c3c83.jpg","text":"TemporaryFile(/tmp/multipartBody7188771562831076433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798913252,"filename":"image_09122025_11_19_24_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207547","file1":"1401207545","file0":"1401207541","file4":"1401207550","file5":"1401207552","file3":"1401207548"},"map_files_photo_id_array":[{"photo_id":"1401207552","filename":"file5"},{"photo_id":"1401207547","filename":"file2"},{"photo_id":"1401207550","filename":"file4"},{"photo_id":"1401207545","filename":"file1"},{"photo_id":"1401207541","filename":"file0"},{"photo_id":"1401207548","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207550":["hashtag1","hashtag2"]},{"1401207547":["hashtag1","hashtag2"]},{"1401207541":["hashtag1","hashtag2"]},{"1401207552":["hashtag1","hashtag2"]},{"1401207545":["hashtag1","hashtag2"]},{"1401207548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207550, 1401207547, 1401207541, 1401207552, 1401207545, 1401207548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.288384437561035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:28:17.539412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_55_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_45_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_34_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_25_10594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_14_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/11/17/image_09122025_11_18_05_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_55_9589.jpg', '/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_45_10595.jpg', '/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_34_9587.jpg', '/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_25_10594.jpg', '/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_14_9610.jpg', '/home/nano/Desktop/images/09122025/11/17/image_09122025_11_18_05_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_55_9589.jpg
/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_45_10595.jpg
/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_34_9587.jpg
/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_25_10594.jpg
/home/nano/Desktop/images/09122025/11/18/image_09122025_11_18_14_9610.jpg
/home/nano/Desktop/images/09122025/11/17/image_09122025_11_18_05_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":["1401207571","1401207573","1401207564","1401207566","1401207575","1401207569"],"photo_ids_order":["1401207564","1401207566","1401207569","1401207571","1401207573","1401207575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/691384bb5bab7b1c628236dc7129142d.jpg","text":"TemporaryFile(/tmp/multipartBody8324243962621295176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798958342,"filename":"image_09122025_11_18_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c26c1a20f5376c8fdb2f3ccdfc267a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5509988232707923398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798958342,"filename":"image_09122025_11_18_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/12/27/0e86d077b12510ea87f6451f8611760d.jpg","text":"TemporaryFile(/tmp/multipartBody8816466725501107136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798958342,"filename":"image_09122025_11_18_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd017867a71e7be2c774f0e1280cc97f.jpg","text":"TemporaryFile(/tmp/multipartBody2509304841877853318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798958342,"filename":"image_09122025_11_18_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62cb4291f21fc8bbb80ad06b68964fac.jpg","text":"TemporaryFile(/tmp/multipartBody5259679510209341223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798958342,"filename":"image_09122025_11_18_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57d37fd2cf6d25a0c9047675a3a941b8.jpg","text":"TemporaryFile(/tmp/multipartBody782350522091297457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766798958342,"filename":"image_09122025_11_18_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207569","file1":"1401207566","file0":"1401207564","file4":"1401207573","file5":"1401207575","file3":"1401207571"},"map_files_photo_id_array":[{"photo_id":"1401207575","filename":"file5"},{"photo_id":"1401207569","filename":"file2"},{"photo_id":"1401207573","filename":"file4"},{"photo_id":"1401207566","filename":"file1"},{"photo_id":"1401207564","filename":"file0"},{"photo_id":"1401207571","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207571":["hashtag1","hashtag2"]},{"1401207573":["hashtag1","hashtag2"]},{"1401207564":["hashtag1","hashtag2"]},{"1401207566":["hashtag1","hashtag2"]},{"1401207575":["hashtag1","hashtag2"]},{"1401207569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207571, 1401207573, 1401207564, 1401207566, 1401207575, 1401207569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35255980491638 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:29:03.287320
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_55_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_44_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_35_10597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_24_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/16/image_09122025_11_17_05_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_55_10598.jpg', '/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_44_9606.jpg', '/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_35_10597.jpg', '/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_24_9586.jpg', '/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_15_9600.jpg', '/home/nano/Desktop/images/09122025/11/16/image_09122025_11_17_05_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_55_10598.jpg
/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_44_9606.jpg
/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_35_10597.jpg
/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_24_9586.jpg
/home/nano/Desktop/images/09122025/11/17/image_09122025_11_17_15_9600.jpg
/home/nano/Desktop/images/09122025/11/16/image_09122025_11_17_05_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":["1401207591","1401207584","1401207593","1401207587","1401207595","1401207589"],"photo_ids_order":["1401207584","1401207587","1401207589","1401207591","1401207593","1401207595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e0f1b55db1980f858918b6ecde31740.jpg","text":"TemporaryFile(/tmp/multipartBody5026867641641685412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799004150,"filename":"image_09122025_11_17_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b70a1681044f546a84a16c8e75e6cf6a.jpg","text":"TemporaryFile(/tmp/multipartBody7871652070833221366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799004150,"filename":"image_09122025_11_17_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9ff940811400ab3d13ddfbc45df7a02.jpg","text":"TemporaryFile(/tmp/multipartBody5734244970258087968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799004150,"filename":"image_09122025_11_17_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bca4902dca89d864de00480bdb415340.jpg","text":"TemporaryFile(/tmp/multipartBody7525299553723146724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799004150,"filename":"image_09122025_11_17_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/12/27/e216614f720cf15c63e941467628cebb.jpg","text":"TemporaryFile(/tmp/multipartBody4094583125561007907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799004150,"filename":"image_09122025_11_17_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd502e4f124baae471aec3017f453216.jpg","text":"TemporaryFile(/tmp/multipartBody6458184308000308346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799004150,"filename":"image_09122025_11_17_35_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207589","file1":"1401207587","file0":"1401207584","file4":"1401207593","file5":"1401207595","file3":"1401207591"},"map_files_photo_id_array":[{"photo_id":"1401207595","filename":"file5"},{"photo_id":"1401207589","filename":"file2"},{"photo_id":"1401207593","filename":"file4"},{"photo_id":"1401207587","filename":"file1"},{"photo_id":"1401207584","filename":"file0"},{"photo_id":"1401207591","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207591":["hashtag1","hashtag2"]},{"1401207584":["hashtag1","hashtag2"]},{"1401207593":["hashtag1","hashtag2"]},{"1401207587":["hashtag1","hashtag2"]},{"1401207595":["hashtag1","hashtag2"]},{"1401207589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207591, 1401207584, 1401207593, 1401207587, 1401207595, 1401207589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32084512710571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:29:47.622486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_54_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_45_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_34_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_25_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_15_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/11/14/image_09122025_11_14_44_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_54_9607.jpg', '/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_45_10618.jpg', '/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_34_9612.jpg', '/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_25_9608.jpg', '/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_15_10644.jpg', '/home/nano/Desktop/images/09122025/11/14/image_09122025_11_14_44_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_54_9607.jpg
/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_45_10618.jpg
/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_34_9612.jpg
/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_25_9608.jpg
/home/nano/Desktop/images/09122025/11/16/image_09122025_11_16_15_10644.jpg
/home/nano/Desktop/images/09122025/11/14/image_09122025_11_14_44_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":["1401207610","1401207613","1401207616","1401207612","1401207614","1401207611"],"photo_ids_order":["1401207610","1401207611","1401207612","1401207613","1401207614","1401207616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4f881ed20157601c84a378968210d28.jpg","text":"TemporaryFile(/tmp/multipartBody4526777004878660462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799048441,"filename":"image_09122025_11_16_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/12/27/95ce2573375c1a72426df886aceb971e.jpg","text":"TemporaryFile(/tmp/multipartBody7315345445898075046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799048441,"filename":"image_09122025_11_16_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45acf8d9e3004a87f78ac2b86df9276a.jpg","text":"TemporaryFile(/tmp/multipartBody1008955179127783306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799048441,"filename":"image_09122025_11_14_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/12/27/0acb31181746dd9ace8216e0f328ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody1710913989777511042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799048441,"filename":"image_09122025_11_16_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/12/27/a9d16cccc4c78ea282bacae334783107.jpg","text":"TemporaryFile(/tmp/multipartBody1899966554665518326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799048441,"filename":"image_09122025_11_16_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cd05ea6f45fc7fd9676011b2808d048.jpg","text":"TemporaryFile(/tmp/multipartBody4564317079619728334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799048441,"filename":"image_09122025_11_16_45_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207612","file1":"1401207611","file0":"1401207610","file4":"1401207614","file5":"1401207616","file3":"1401207613"},"map_files_photo_id_array":[{"photo_id":"1401207616","filename":"file5"},{"photo_id":"1401207612","filename":"file2"},{"photo_id":"1401207614","filename":"file4"},{"photo_id":"1401207611","filename":"file1"},{"photo_id":"1401207610","filename":"file0"},{"photo_id":"1401207613","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207610":["hashtag1","hashtag2"]},{"1401207613":["hashtag1","hashtag2"]},{"1401207616":["hashtag1","hashtag2"]},{"1401207612":["hashtag1","hashtag2"]},{"1401207614":["hashtag1","hashtag2"]},{"1401207611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207610, 1401207613, 1401207616, 1401207612, 1401207614, 1401207611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43786096572876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:30:32.717080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/11/image_09122025_11_11_15_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/11/10/image_09122025_11_11_05_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_54_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_45_10607.jpg', 2), ('/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_25_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_15_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/11/image_09122025_11_11_15_9616.jpg', '/home/nano/Desktop/images/09122025/11/10/image_09122025_11_11_05_10609.jpg', '/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_54_9611.jpg', '/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_45_10607.jpg', '/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_25_9598.jpg', '/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_15_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/11/image_09122025_11_11_15_9616.jpg
/home/nano/Desktop/images/09122025/11/10/image_09122025_11_11_05_10609.jpg
/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_54_9611.jpg
/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_45_10607.jpg
/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_25_9598.jpg
/home/nano/Desktop/images/09122025/11/10/image_09122025_11_10_15_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":["1401207631","1401207628","1401207639","1401207632","1401207635","1401207638"],"photo_ids_order":["1401207628","1401207631","1401207632","1401207635","1401207638","1401207639"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cc6df233affa9cd4c5c240bbf633040.jpg","text":"TemporaryFile(/tmp/multipartBody8988626250148538409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799093512,"filename":"image_09122025_11_11_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/985f0566f7d7a2c751dd6cdfb67ef017.jpg","text":"TemporaryFile(/tmp/multipartBody5781886502967737024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799093512,"filename":"image_09122025_11_11_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f03fced3dbdebbb740e3b0f943a1b3ce.jpg","text":"TemporaryFile(/tmp/multipartBody8951727290143598124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799093512,"filename":"image_09122025_11_10_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd408c5895326137a21a2cb16908ef76.jpg","text":"TemporaryFile(/tmp/multipartBody6800295847659226098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799093512,"filename":"image_09122025_11_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/12/27/504730bb960827ee9a40fe0a46f22a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2321784815548619147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799093512,"filename":"image_09122025_11_10_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a5c24572f8ce7a4b4a63fc940fd11c7.jpg","text":"TemporaryFile(/tmp/multipartBody4108627286311524490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799093512,"filename":"image_09122025_11_10_25_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207632","file1":"1401207631","file0":"1401207628","file4":"1401207638","file5":"1401207639","file3":"1401207635"},"map_files_photo_id_array":[{"photo_id":"1401207639","filename":"file5"},{"photo_id":"1401207632","filename":"file2"},{"photo_id":"1401207638","filename":"file4"},{"photo_id":"1401207631","filename":"file1"},{"photo_id":"1401207628","filename":"file0"},{"photo_id":"1401207635","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207631":["hashtag1","hashtag2"]},{"1401207628":["hashtag1","hashtag2"]},{"1401207639":["hashtag1","hashtag2"]},{"1401207632":["hashtag1","hashtag2"]},{"1401207635":["hashtag1","hashtag2"]},{"1401207638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207631, 1401207628, 1401207639, 1401207632, 1401207635, 1401207638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6241500377655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:31:16.866434
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/09/image_09122025_11_09_25_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/11/09/image_09122025_11_09_14_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_55_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_44_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_35_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_24_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/09/image_09122025_11_09_25_10609.jpg', '/home/nano/Desktop/images/09122025/11/09/image_09122025_11_09_14_9618.jpg', '/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_55_10613.jpg', '/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_44_9605.jpg', '/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_35_10608.jpg', '/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_24_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/09/image_09122025_11_09_25_10609.jpg
/home/nano/Desktop/images/09122025/11/09/image_09122025_11_09_14_9618.jpg
/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_55_10613.jpg
/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_44_9605.jpg
/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_35_10608.jpg
/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_24_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":["1401207655","1401207666","1401207669","1401207663","1401207659","1401207653"],"photo_ids_order":["1401207653","1401207655","1401207659","1401207663","1401207666","1401207669"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f37800cdc7f9ce70eb754b63262e3b90.jpg","text":"TemporaryFile(/tmp/multipartBody1386450143521721132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799137662,"filename":"image_09122025_11_09_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/12/27/bffa89485f7ee43182573d242e9e3d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8248975417860418563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799137662,"filename":"image_09122025_11_08_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a305a0105ac5231ae565edbe7a118971.jpg","text":"TemporaryFile(/tmp/multipartBody639762487168208193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799137662,"filename":"image_09122025_11_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/12/27/1fae18bb4ef2dc44aa204ba1ba251bea.jpg","text":"TemporaryFile(/tmp/multipartBody7661161951551476672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799137662,"filename":"image_09122025_11_08_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/12/27/75e19382afc688ec2ce484185d8c471f.jpg","text":"TemporaryFile(/tmp/multipartBody818537563616328929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799137662,"filename":"image_09122025_11_08_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e38d1367f2438f45b65fd8732720e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody8800280222481675478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799137662,"filename":"image_09122025_11_09_25_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207659","file1":"1401207655","file0":"1401207653","file4":"1401207666","file5":"1401207669","file3":"1401207663"},"map_files_photo_id_array":[{"photo_id":"1401207669","filename":"file5"},{"photo_id":"1401207659","filename":"file2"},{"photo_id":"1401207666","filename":"file4"},{"photo_id":"1401207655","filename":"file1"},{"photo_id":"1401207653","filename":"file0"},{"photo_id":"1401207663","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207655":["hashtag1","hashtag2"]},{"1401207666":["hashtag1","hashtag2"]},{"1401207669":["hashtag1","hashtag2"]},{"1401207663":["hashtag1","hashtag2"]},{"1401207659":["hashtag1","hashtag2"]},{"1401207653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207655, 1401207666, 1401207669, 1401207663, 1401207659, 1401207653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.630812644958496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:32:02.389196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_15_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/11/07/image_09122025_11_08_05_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_54_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_45_10607.jpg', 2), ('/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_25_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_15_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_15_9624.jpg', '/home/nano/Desktop/images/09122025/11/07/image_09122025_11_08_05_10619.jpg', '/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_54_9598.jpg', '/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_45_10607.jpg', '/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_25_9597.jpg', '/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_15_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/08/image_09122025_11_08_15_9624.jpg
/home/nano/Desktop/images/09122025/11/07/image_09122025_11_08_05_10619.jpg
/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_54_9598.jpg
/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_45_10607.jpg
/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_25_9597.jpg
/home/nano/Desktop/images/09122025/11/07/image_09122025_11_07_15_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":["1401207699","1401207678","1401207693","1401207687","1401207695","1401207694"],"photo_ids_order":["1401207678","1401207687","1401207693","1401207694","1401207695","1401207699"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a54639975259c54a3fdfe648aca15ca.jpg","text":"TemporaryFile(/tmp/multipartBody8687242610507941129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799183247,"filename":"image_09122025_11_07_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/087e622fb9452335c4e9976e46ea738b.jpg","text":"TemporaryFile(/tmp/multipartBody6066956276369742258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799183247,"filename":"image_09122025_11_08_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82cfb96dfcddef71aff132a756031701.jpg","text":"TemporaryFile(/tmp/multipartBody6440321057799036519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799183247,"filename":"image_09122025_11_07_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f32004823f972a4fc3ab9f389bc08c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2602882473335940082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799183247,"filename":"image_09122025_11_08_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/797c2b35b1df0679823e8b2fb2e4f49a.jpg","text":"TemporaryFile(/tmp/multipartBody8745571920222664350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799183247,"filename":"image_09122025_11_07_25_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6a3744d9589a63070cf0295b6b67f46.jpg","text":"TemporaryFile(/tmp/multipartBody8335417568334872454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799183247,"filename":"image_09122025_11_07_45_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207693","file1":"1401207687","file0":"1401207678","file4":"1401207695","file5":"1401207699","file3":"1401207694"},"map_files_photo_id_array":[{"photo_id":"1401207699","filename":"file5"},{"photo_id":"1401207693","filename":"file2"},{"photo_id":"1401207695","filename":"file4"},{"photo_id":"1401207687","filename":"file1"},{"photo_id":"1401207678","filename":"file0"},{"photo_id":"1401207694","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207699":["hashtag1","hashtag2"]},{"1401207678":["hashtag1","hashtag2"]},{"1401207693":["hashtag1","hashtag2"]},{"1401207687":["hashtag1","hashtag2"]},{"1401207695":["hashtag1","hashtag2"]},{"1401207694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207699, 1401207678, 1401207693, 1401207687, 1401207695, 1401207694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2974750995636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:32:47.011855
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/06/image_09122025_11_07_04_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_55_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_44_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_14_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/11/05/image_09122025_11_06_05_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/11/04/image_09122025_11_05_05_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/06/image_09122025_11_07_04_9606.jpg', '/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_55_10610.jpg', '/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_44_9622.jpg', '/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_14_9615.jpg', '/home/nano/Desktop/images/09122025/11/05/image_09122025_11_06_05_9612.jpg', '/home/nano/Desktop/images/09122025/11/04/image_09122025_11_05_05_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/06/image_09122025_11_07_04_9606.jpg
/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_55_10610.jpg
/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_44_9622.jpg
/home/nano/Desktop/images/09122025/11/06/image_09122025_11_06_14_9615.jpg
/home/nano/Desktop/images/09122025/11/05/image_09122025_11_06_05_9612.jpg
/home/nano/Desktop/images/09122025/11/04/image_09122025_11_05_05_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":["1401207718","1401207715","1401207720","1401207714","1401207717","1401207716"],"photo_ids_order":["1401207714","1401207715","1401207716","1401207717","1401207718","1401207720"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9b560d65a1be6914be147931ce4f7f6.jpg","text":"TemporaryFile(/tmp/multipartBody8394494163680336403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799227834,"filename":"image_09122025_11_06_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e65d5e600e842a1f9c4fbd11ff058468.jpg","text":"TemporaryFile(/tmp/multipartBody2894197334376428016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799227834,"filename":"image_09122025_11_06_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/236fc139d79145d2741f9ba12bec9820.jpg","text":"TemporaryFile(/tmp/multipartBody8990980984079015408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799227834,"filename":"image_09122025_11_05_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fcba599fac21f10e057a83cd83e7e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1062066343221692028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799227834,"filename":"image_09122025_11_07_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/12/27/6eeced8f648e15c76cc8b96e21493192.jpg","text":"TemporaryFile(/tmp/multipartBody7721786249559216334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799227834,"filename":"image_09122025_11_06_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/12/27/a2cc0ca77a025b98c4e1e22a80a848df.jpg","text":"TemporaryFile(/tmp/multipartBody807653175553649920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799227834,"filename":"image_09122025_11_06_44_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207716","file1":"1401207715","file0":"1401207714","file4":"1401207718","file5":"1401207720","file3":"1401207717"},"map_files_photo_id_array":[{"photo_id":"1401207720","filename":"file5"},{"photo_id":"1401207716","filename":"file2"},{"photo_id":"1401207718","filename":"file4"},{"photo_id":"1401207715","filename":"file1"},{"photo_id":"1401207714","filename":"file0"},{"photo_id":"1401207717","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207718":["hashtag1","hashtag2"]},{"1401207715":["hashtag1","hashtag2"]},{"1401207720":["hashtag1","hashtag2"]},{"1401207714":["hashtag1","hashtag2"]},{"1401207717":["hashtag1","hashtag2"]},{"1401207716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207718, 1401207715, 1401207720, 1401207714, 1401207717, 1401207716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57109308242798 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:33:32.094704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_54_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_45_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_34_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_25_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_15_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/11/03/image_09122025_11_04_04_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_54_9599.jpg', '/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_45_10609.jpg', '/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_34_9603.jpg', '/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_25_9596.jpg', '/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_15_10619.jpg', '/home/nano/Desktop/images/09122025/11/03/image_09122025_11_04_04_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_54_9599.jpg
/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_45_10609.jpg
/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_34_9603.jpg
/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_25_9596.jpg
/home/nano/Desktop/images/09122025/11/04/image_09122025_11_04_15_10619.jpg
/home/nano/Desktop/images/09122025/11/03/image_09122025_11_04_04_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207742","1401207732","1401207741","1401207735","1401207738","1401207740"],"photo_ids_order":["1401207732","1401207735","1401207738","1401207740","1401207741","1401207742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b214145050b772c11f293af8353d9f87.jpg","text":"TemporaryFile(/tmp/multipartBody6682303849953579672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799272894,"filename":"image_09122025_11_04_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a110cf4c49c82dea4791db0958984d92.jpg","text":"TemporaryFile(/tmp/multipartBody8255684815705116085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799272894,"filename":"image_09122025_11_04_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/12/27/81bd2367df93462946806369d746fccd.jpg","text":"TemporaryFile(/tmp/multipartBody5097549895000212048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799272894,"filename":"image_09122025_11_04_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b9255ae87f95673c78978fdeef8358d.jpg","text":"TemporaryFile(/tmp/multipartBody18296761829304024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799272894,"filename":"image_09122025_11_04_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e78ad1e70f4735d4f27291181714a84.jpg","text":"TemporaryFile(/tmp/multipartBody8668074331118844399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799272894,"filename":"image_09122025_11_04_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/12/27/7cda50defeb103e4fe807c9838cd27ac.jpg","text":"TemporaryFile(/tmp/multipartBody321248482199397548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799272894,"filename":"image_09122025_11_04_25_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207738","file1":"1401207735","file0":"1401207732","file4":"1401207741","file5":"1401207742","file3":"1401207740"},"map_files_photo_id_array":[{"photo_id":"1401207742","filename":"file5"},{"photo_id":"1401207738","filename":"file2"},{"photo_id":"1401207741","filename":"file4"},{"photo_id":"1401207735","filename":"file1"},{"photo_id":"1401207732","filename":"file0"},{"photo_id":"1401207740","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207742":["hashtag1","hashtag2"]},{"1401207732":["hashtag1","hashtag2"]},{"1401207741":["hashtag1","hashtag2"]},{"1401207735":["hashtag1","hashtag2"]},{"1401207738":["hashtag1","hashtag2"]},{"1401207740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207742, 1401207732, 1401207741, 1401207735, 1401207738, 1401207740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.810474157333374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:34:17.226997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_55_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_44_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_35_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_25_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_14_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_45_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_55_10605.jpg', '/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_44_9594.jpg', '/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_35_9599.jpg', '/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_25_10605.jpg', '/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_14_9614.jpg', '/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_45_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_55_10605.jpg
/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_44_9594.jpg
/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_35_9599.jpg
/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_25_10605.jpg
/home/nano/Desktop/images/09122025/11/03/image_09122025_11_03_14_9614.jpg
/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_45_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401207775","1401207759","1401207846","1401207753","1401207810","1401207755"],"photo_ids_order":["1401207753","1401207755","1401207759","1401207775","1401207810","1401207846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcf592bc061eb16a9fba521f555e0a60.jpg","text":"TemporaryFile(/tmp/multipartBody8656650874472570350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799318030,"filename":"image_09122025_11_03_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c02275d1749c948409e9199b637770b.jpg","text":"TemporaryFile(/tmp/multipartBody6157465535071826212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799318030,"filename":"image_09122025_11_03_35_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc9250666812244f8f62161ef66d2762.jpg","text":"TemporaryFile(/tmp/multipartBody6124042722805200784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799318030,"filename":"image_09122025_11_02_45_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/624f4391a2c794b2262b9ebdf298d15c.jpg","text":"TemporaryFile(/tmp/multipartBody3870110003983840648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799318030,"filename":"image_09122025_11_03_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99c0a8c69fb2271fc080e012890bd8f2.jpg","text":"TemporaryFile(/tmp/multipartBody1222539557840290613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799318030,"filename":"image_09122025_11_03_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/12/27/796c27ffbbd556d9379e40e516ec08b9.jpg","text":"TemporaryFile(/tmp/multipartBody6607312351573066293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799318030,"filename":"image_09122025_11_03_44_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401207759","file1":"1401207755","file0":"1401207753","file4":"1401207810","file5":"1401207846","file3":"1401207775"},"map_files_photo_id_array":[{"photo_id":"1401207846","filename":"file5"},{"photo_id":"1401207759","filename":"file2"},{"photo_id":"1401207810","filename":"file4"},{"photo_id":"1401207755","filename":"file1"},{"photo_id":"1401207753","filename":"file0"},{"photo_id":"1401207775","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401207775":["hashtag1","hashtag2"]},{"1401207759":["hashtag1","hashtag2"]},{"1401207846":["hashtag1","hashtag2"]},{"1401207753":["hashtag1","hashtag2"]},{"1401207810":["hashtag1","hashtag2"]},{"1401207755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401207775, 1401207759, 1401207846, 1401207753, 1401207810, 1401207755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.054484605789185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:35:02.768243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_35_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_24_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/01/image_09122025_11_02_04_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_55_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_45_10607.jpg', 2), ('/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_14_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_35_10604.jpg', '/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_24_9594.jpg', '/home/nano/Desktop/images/09122025/11/01/image_09122025_11_02_04_9608.jpg', '/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_55_9594.jpg', '/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_45_10607.jpg', '/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_35_10604.jpg
/home/nano/Desktop/images/09122025/11/02/image_09122025_11_02_24_9594.jpg
/home/nano/Desktop/images/09122025/11/01/image_09122025_11_02_04_9608.jpg
/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_55_9594.jpg
/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_45_10607.jpg
/home/nano/Desktop/images/09122025/11/01/image_09122025_11_01_14_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":["1401208188","1401208089","1401208119","1401208220","1401208157","1401208054"],"photo_ids_order":["1401208054","1401208089","1401208119","1401208157","1401208188","1401208220"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3b370b099f2a121ef08415f8e29fd40.jpg","text":"TemporaryFile(/tmp/multipartBody1937777994653775258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799363590,"filename":"image_09122025_11_01_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13cf4c319301cefcda95b4eef2d8fa38.jpg","text":"TemporaryFile(/tmp/multipartBody7897954098647682302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799363590,"filename":"image_09122025_11_02_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/12/27/2e8ed81778930b488ecc893c9dd128b0.jpg","text":"TemporaryFile(/tmp/multipartBody3823338072273984015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799363590,"filename":"image_09122025_11_02_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/12/27/0c3203085dae92ca272232432dfffa58.jpg","text":"TemporaryFile(/tmp/multipartBody1266935776858571121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799363590,"filename":"image_09122025_11_01_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/12/27/977a0f4303b972a96cc609b9c1b63f90.jpg","text":"TemporaryFile(/tmp/multipartBody7723624440126873956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799363590,"filename":"image_09122025_11_01_55_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d35dc6092d3e355c0ac56690eba38c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3103309833673037414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799363590,"filename":"image_09122025_11_02_35_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401208119","file1":"1401208089","file0":"1401208054","file4":"1401208188","file5":"1401208220","file3":"1401208157"},"map_files_photo_id_array":[{"photo_id":"1401208220","filename":"file5"},{"photo_id":"1401208119","filename":"file2"},{"photo_id":"1401208188","filename":"file4"},{"photo_id":"1401208089","filename":"file1"},{"photo_id":"1401208054","filename":"file0"},{"photo_id":"1401208157","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401208188":["hashtag1","hashtag2"]},{"1401208089":["hashtag1","hashtag2"]},{"1401208119":["hashtag1","hashtag2"]},{"1401208220":["hashtag1","hashtag2"]},{"1401208157":["hashtag1","hashtag2"]},{"1401208054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401208188, 1401208089, 1401208119, 1401208220, 1401208157, 1401208054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09438514709473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:35:47.364110
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/11/00/image_09122025_11_01_04_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_55_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_44_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_25_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_14_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/10/59/image_09122025_11_00_05_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/11/00/image_09122025_11_01_04_9600.jpg', '/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_55_10609.jpg', '/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_44_9598.jpg', '/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_25_10609.jpg', '/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_14_9617.jpg', '/home/nano/Desktop/images/09122025/10/59/image_09122025_11_00_05_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/11/00/image_09122025_11_01_04_9600.jpg
/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_55_10609.jpg
/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_44_9598.jpg
/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_25_10609.jpg
/home/nano/Desktop/images/09122025/11/00/image_09122025_11_00_14_9617.jpg
/home/nano/Desktop/images/09122025/10/59/image_09122025_11_00_05_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":["1401208590","1401208452","1401208484","1401208514","1401208421","1401208552"],"photo_ids_order":["1401208421","1401208452","1401208484","1401208514","1401208552","1401208590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3ba92711023420603cc0e6547e492cd.jpg","text":"TemporaryFile(/tmp/multipartBody3423927249796907408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799408246,"filename":"image_09122025_11_00_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79680e2f4a3007af9549f1a5f318edad.jpg","text":"TemporaryFile(/tmp/multipartBody1995338884496856356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799408246,"filename":"image_09122025_11_00_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dfb10dc5b38d59c243c7380c2171ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5691787306113725571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799408246,"filename":"image_09122025_11_00_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/12/27/5bcb314b81f8e37e64be39b3a5319395.jpg","text":"TemporaryFile(/tmp/multipartBody4083108061108867966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799408246,"filename":"image_09122025_11_00_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc5c47da1dcf2abc362fdc33afe2724e.jpg","text":"TemporaryFile(/tmp/multipartBody4236430234966086763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799408246,"filename":"image_09122025_11_01_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/12/27/765bb9650fe030ead4960e0be8967642.jpg","text":"TemporaryFile(/tmp/multipartBody7056247320339902199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799408246,"filename":"image_09122025_11_00_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401208484","file1":"1401208452","file0":"1401208421","file4":"1401208552","file5":"1401208590","file3":"1401208514"},"map_files_photo_id_array":[{"photo_id":"1401208590","filename":"file5"},{"photo_id":"1401208484","filename":"file2"},{"photo_id":"1401208552","filename":"file4"},{"photo_id":"1401208452","filename":"file1"},{"photo_id":"1401208421","filename":"file0"},{"photo_id":"1401208514","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401208590":["hashtag1","hashtag2"]},{"1401208452":["hashtag1","hashtag2"]},{"1401208484":["hashtag1","hashtag2"]},{"1401208514":["hashtag1","hashtag2"]},{"1401208421":["hashtag1","hashtag2"]},{"1401208552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401208590, 1401208452, 1401208484, 1401208514, 1401208421, 1401208552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91817831993103 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:36:32.468057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_54_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_45_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_15_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/10/58/image_09122025_10_59_04_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_54_9599.jpg', '/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_45_9601.jpg', '/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_35_10643.jpg', '/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_24_9633.jpg', '/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_15_10665.jpg', '/home/nano/Desktop/images/09122025/10/58/image_09122025_10_59_04_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_54_9599.jpg
/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_45_9601.jpg
/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_35_10643.jpg
/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_24_9633.jpg
/home/nano/Desktop/images/09122025/10/59/image_09122025_10_59_15_10665.jpg
/home/nano/Desktop/images/09122025/10/58/image_09122025_10_59_04_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":["1401208801","1401208790","1401208793","1401208802","1401208795","1401208798"],"photo_ids_order":["1401208790","1401208793","1401208795","1401208798","1401208801","1401208802"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da3f28d7f3bfd25d713bb67c9759f16d.jpg","text":"TemporaryFile(/tmp/multipartBody5318015495285783690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799453268,"filename":"image_09122025_10_59_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99782bdac42289eacd914836e6d51774.jpg","text":"TemporaryFile(/tmp/multipartBody5749750130264708615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799453268,"filename":"image_09122025_10_59_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/12/27/8ed0305e66301f2e2b280013283439b3.jpg","text":"TemporaryFile(/tmp/multipartBody3186113451799313941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799453268,"filename":"image_09122025_10_59_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ba74a0fc96ddc021cabed188f7e7d02.jpg","text":"TemporaryFile(/tmp/multipartBody8869193820772057951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799453268,"filename":"image_09122025_10_59_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/12/27/c30d5092429ef56a3e1c89a208417c11.jpg","text":"TemporaryFile(/tmp/multipartBody1207032019046685843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799453268,"filename":"image_09122025_10_59_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fae99a40a2cc58d5993d4b69a5e149d5.jpg","text":"TemporaryFile(/tmp/multipartBody644112287037802842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799453268,"filename":"image_09122025_10_59_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401208795","file1":"1401208793","file0":"1401208790","file4":"1401208801","file5":"1401208802","file3":"1401208798"},"map_files_photo_id_array":[{"photo_id":"1401208802","filename":"file5"},{"photo_id":"1401208795","filename":"file2"},{"photo_id":"1401208801","filename":"file4"},{"photo_id":"1401208793","filename":"file1"},{"photo_id":"1401208790","filename":"file0"},{"photo_id":"1401208798","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401208801":["hashtag1","hashtag2"]},{"1401208790":["hashtag1","hashtag2"]},{"1401208793":["hashtag1","hashtag2"]},{"1401208802":["hashtag1","hashtag2"]},{"1401208795":["hashtag1","hashtag2"]},{"1401208798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401208801, 1401208790, 1401208793, 1401208802, 1401208795, 1401208798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57204270362854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:37:17.699990
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/02/36/image_27122025_02_37_05_10531.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/02/36/image_27122025_02_37_05_10531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/02/36/image_27122025_02_37_05_10531.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401208831"],"photo_id":"1401208831","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1bd0fb29ae457a5c080ef3a7f4189b1.jpg","text":"TemporaryFile(/tmp/multipartBody8299742807352915884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799497952,"filename":"image_27122025_02_37_05_10531.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401208831"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401208831"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.522173643112183 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:37:32.615214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_45_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_34_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_25_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/10/57/image_09122025_10_58_04_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/10/57/image_09122025_10_57_25_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_54_9634.jpg', '/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_45_10652.jpg', '/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_34_9649.jpg', '/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_25_9656.jpg', '/home/nano/Desktop/images/09122025/10/57/image_09122025_10_58_04_9655.jpg', '/home/nano/Desktop/images/09122025/10/57/image_09122025_10_57_25_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_54_9634.jpg
/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_45_10652.jpg
/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_34_9649.jpg
/home/nano/Desktop/images/09122025/10/58/image_09122025_10_58_25_9656.jpg
/home/nano/Desktop/images/09122025/10/57/image_09122025_10_58_04_9655.jpg
/home/nano/Desktop/images/09122025/10/57/image_09122025_10_57_25_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":["1401209043","1401209066","1401209033","1401208991","1401208958","1401209042"],"photo_ids_order":["1401208958","1401208991","1401209033","1401209042","1401209043","1401209066"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19837e722ac61924c1295a8005989164.jpg","text":"TemporaryFile(/tmp/multipartBody7633573598947362485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799513447,"filename":"image_09122025_10_58_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/12/27/35bd6a07f0ee9a6722bb269f802ef50d.jpg","text":"TemporaryFile(/tmp/multipartBody5654293740006776434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799513447,"filename":"image_09122025_10_57_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/613558e6489bd600a4f92f361920b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody5862737653006233059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799513447,"filename":"image_09122025_10_58_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/12/27/85dfe00d7084768d81734cfbefa3332d.jpg","text":"TemporaryFile(/tmp/multipartBody7077448186039704647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799513447,"filename":"image_09122025_10_58_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea1b5887e54c4c02d5d7c89762900277.jpg","text":"TemporaryFile(/tmp/multipartBody3679681820654473729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799513447,"filename":"image_09122025_10_58_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/12/27/f4340cd9e51c0a997ddea840df31acaf.jpg","text":"TemporaryFile(/tmp/multipartBody2558421946442044040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799513447,"filename":"image_09122025_10_58_25_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209033","file1":"1401208991","file0":"1401208958","file4":"1401209043","file5":"1401209066","file3":"1401209042"},"map_files_photo_id_array":[{"photo_id":"1401209066","filename":"file5"},{"photo_id":"1401209033","filename":"file2"},{"photo_id":"1401209043","filename":"file4"},{"photo_id":"1401208991","filename":"file1"},{"photo_id":"1401208958","filename":"file0"},{"photo_id":"1401209042","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209043":["hashtag1","hashtag2"]},{"1401209066":["hashtag1","hashtag2"]},{"1401209033":["hashtag1","hashtag2"]},{"1401208991":["hashtag1","hashtag2"]},{"1401208958":["hashtag1","hashtag2"]},{"1401209042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209043, 1401209066, 1401209033, 1401208991, 1401208958, 1401209042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73594880104065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:38:16.777072
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/57/image_09122025_10_57_15_10689.jpg', 2), ('/home/nano/Desktop/images/09122025/10/56/image_09122025_10_57_04_9665.jpg', 2), ('/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_55_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_45_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_25_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/57/image_09122025_10_57_15_10689.jpg', '/home/nano/Desktop/images/09122025/10/56/image_09122025_10_57_04_9665.jpg', '/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_55_9653.jpg', '/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_45_10648.jpg', '/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_34_9634.jpg', '/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_25_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/57/image_09122025_10_57_15_10689.jpg
/home/nano/Desktop/images/09122025/10/56/image_09122025_10_57_04_9665.jpg
/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_55_9653.jpg
/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_45_10648.jpg
/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_34_9634.jpg
/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_25_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":["1401209121","1401209122","1401209131","1401209125","1401209134","1401209128"],"photo_ids_order":["1401209121","1401209122","1401209125","1401209128","1401209131","1401209134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73f075b2c996cbebb86968c24543438e.jpg","text":"TemporaryFile(/tmp/multipartBody8949836848833530584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799557588,"filename":"image_09122025_10_57_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dc18a6537e2b2b2b678eaffa5cdbf7b.jpg","text":"TemporaryFile(/tmp/multipartBody8557982097291295764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799557588,"filename":"image_09122025_10_57_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/12/27/8d43f59808dc316f90f07a5efc582f74.jpg","text":"TemporaryFile(/tmp/multipartBody469653597556800246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799557588,"filename":"image_09122025_10_56_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/12/27/08e3765f2490f89fb4ab77a05c60c1b5.jpg","text":"TemporaryFile(/tmp/multipartBody1816557242478122113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799557588,"filename":"image_09122025_10_56_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8490fddd7517101158a376abbdf381a9.jpg","text":"TemporaryFile(/tmp/multipartBody1265521653810400429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799557588,"filename":"image_09122025_10_56_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9927f6704c8f1a8c1ad6e948f62e3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3521632180937456114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799557588,"filename":"image_09122025_10_56_45_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209125","file1":"1401209122","file0":"1401209121","file4":"1401209131","file5":"1401209134","file3":"1401209128"},"map_files_photo_id_array":[{"photo_id":"1401209134","filename":"file5"},{"photo_id":"1401209125","filename":"file2"},{"photo_id":"1401209131","filename":"file4"},{"photo_id":"1401209122","filename":"file1"},{"photo_id":"1401209121","filename":"file0"},{"photo_id":"1401209128","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209121":["hashtag1","hashtag2"]},{"1401209122":["hashtag1","hashtag2"]},{"1401209131":["hashtag1","hashtag2"]},{"1401209125":["hashtag1","hashtag2"]},{"1401209134":["hashtag1","hashtag2"]},{"1401209128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209121, 1401209122, 1401209131, 1401209125, 1401209134, 1401209128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.464086055755615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:39:02.471430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_15_10679.jpg', 2), ('/home/nano/Desktop/images/09122025/10/55/image_09122025_10_56_04_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_55_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_45_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_34_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_25_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_15_10679.jpg', '/home/nano/Desktop/images/09122025/10/55/image_09122025_10_56_04_9651.jpg', '/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_55_9645.jpg', '/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_45_10639.jpg', '/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_34_9655.jpg', '/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_25_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/56/image_09122025_10_56_15_10679.jpg
/home/nano/Desktop/images/09122025/10/55/image_09122025_10_56_04_9651.jpg
/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_55_9645.jpg
/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_45_10639.jpg
/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_34_9655.jpg
/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_25_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":["1401209172","1401209151","1401209148","1401209165","1401209153","1401209149"],"photo_ids_order":["1401209148","1401209149","1401209151","1401209153","1401209165","1401209172"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/197f96b91f2b8647a5d86dbb5b1b6b81.jpg","text":"TemporaryFile(/tmp/multipartBody1216350344705785357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799603393,"filename":"image_09122025_10_55_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9f646750eb772412447ed46dfbce04b.jpg","text":"TemporaryFile(/tmp/multipartBody1433593767385283668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799603393,"filename":"image_09122025_10_55_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b33f5ae073dad2c614e39e7e5f902ce.jpg","text":"TemporaryFile(/tmp/multipartBody4075843470522501659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799603393,"filename":"image_09122025_10_56_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4c12bfcf4b241c620c5a07c481d499f.jpg","text":"TemporaryFile(/tmp/multipartBody4977356385621109219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799603393,"filename":"image_09122025_10_55_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/12/27/6e81224009f3ad8a6ecb60183a862559.jpg","text":"TemporaryFile(/tmp/multipartBody1146063921699273650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799603393,"filename":"image_09122025_10_55_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3a5814011fc4094880e49bc375e0269.jpg","text":"TemporaryFile(/tmp/multipartBody799045230351549958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799603393,"filename":"image_09122025_10_56_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209151","file1":"1401209149","file0":"1401209148","file4":"1401209165","file5":"1401209172","file3":"1401209153"},"map_files_photo_id_array":[{"photo_id":"1401209172","filename":"file5"},{"photo_id":"1401209151","filename":"file2"},{"photo_id":"1401209165","filename":"file4"},{"photo_id":"1401209149","filename":"file1"},{"photo_id":"1401209148","filename":"file0"},{"photo_id":"1401209153","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209172":["hashtag1","hashtag2"]},{"1401209151":["hashtag1","hashtag2"]},{"1401209148":["hashtag1","hashtag2"]},{"1401209165":["hashtag1","hashtag2"]},{"1401209153":["hashtag1","hashtag2"]},{"1401209149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209172, 1401209151, 1401209148, 1401209165, 1401209153, 1401209149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.158212661743164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:39:46.885134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_15_10688.jpg', 2), ('/home/nano/Desktop/images/09122025/10/54/image_09122025_10_55_04_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_55_10607.jpg', 2), ('/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_44_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_34_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_55_10603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_15_10688.jpg', '/home/nano/Desktop/images/09122025/10/54/image_09122025_10_55_04_9667.jpg', '/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_55_10607.jpg', '/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_44_9615.jpg', '/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_34_9594.jpg', '/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_55_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/55/image_09122025_10_55_15_10688.jpg
/home/nano/Desktop/images/09122025/10/54/image_09122025_10_55_04_9667.jpg
/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_55_10607.jpg
/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_44_9615.jpg
/home/nano/Desktop/images/09122025/10/54/image_09122025_10_54_34_9594.jpg
/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_55_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401209193","1401209187","1401209185","1401209188","1401209182","1401209190"],"photo_ids_order":["1401209182","1401209185","1401209187","1401209188","1401209190","1401209193"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08302888fda36579264b35f1228fef3d.jpg","text":"TemporaryFile(/tmp/multipartBody8324858624267043933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799647710,"filename":"image_09122025_10_53_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7b7556482524cba6cad5eb7910556fb.jpg","text":"TemporaryFile(/tmp/multipartBody5576485803644786704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799647710,"filename":"image_09122025_10_54_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/224f9c72d996f2ce78125eaaf7aea5b9.jpg","text":"TemporaryFile(/tmp/multipartBody2788452240121713307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799647710,"filename":"image_09122025_10_55_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/12/27/e7a7607fc8d396e0afed22da39c62035.jpg","text":"TemporaryFile(/tmp/multipartBody6013318651861754885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799647710,"filename":"image_09122025_10_54_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/12/27/0bc3b5fb933483cb527df5da3a0e033e.jpg","text":"TemporaryFile(/tmp/multipartBody1210908732621307770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799647710,"filename":"image_09122025_10_55_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a863ce654d3924f3ef2222cf7f33b22.jpg","text":"TemporaryFile(/tmp/multipartBody6666748948607779120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799647710,"filename":"image_09122025_10_54_34_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209187","file1":"1401209185","file0":"1401209182","file4":"1401209190","file5":"1401209193","file3":"1401209188"},"map_files_photo_id_array":[{"photo_id":"1401209193","filename":"file5"},{"photo_id":"1401209187","filename":"file2"},{"photo_id":"1401209190","filename":"file4"},{"photo_id":"1401209185","filename":"file1"},{"photo_id":"1401209182","filename":"file0"},{"photo_id":"1401209188","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209193":["hashtag1","hashtag2"]},{"1401209187":["hashtag1","hashtag2"]},{"1401209185":["hashtag1","hashtag2"]},{"1401209188":["hashtag1","hashtag2"]},{"1401209182":["hashtag1","hashtag2"]},{"1401209190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209193, 1401209187, 1401209185, 1401209188, 1401209182, 1401209190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59496521949768 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:40:31.973709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_44_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_15_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/10/52/image_09122025_10_53_05_10601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_54_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_45_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_34_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_44_9594.jpg', '/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_15_9608.jpg', '/home/nano/Desktop/images/09122025/10/52/image_09122025_10_53_05_10601.jpg', '/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_54_9623.jpg', '/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_45_10632.jpg', '/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_44_9594.jpg
/home/nano/Desktop/images/09122025/10/53/image_09122025_10_53_15_9608.jpg
/home/nano/Desktop/images/09122025/10/52/image_09122025_10_53_05_10601.jpg
/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_54_9623.jpg
/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_45_10632.jpg
/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_34_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":["1401209211","1401209208","1401209210","1401209201","1401209204","1401209206"],"photo_ids_order":["1401209201","1401209204","1401209206","1401209208","1401209210","1401209211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cf7479029f4c42ca40a07cbc0c8062e.jpg","text":"TemporaryFile(/tmp/multipartBody8761394272825191703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799692765,"filename":"image_09122025_10_52_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/12/27/9d5c64d06e986e54c3374ff646bce077.jpg","text":"TemporaryFile(/tmp/multipartBody184037835743811018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799692765,"filename":"image_09122025_10_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/12/27/344f1ff7e7a4478f79fc8a124e2947f5.jpg","text":"TemporaryFile(/tmp/multipartBody7596868147775200395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799692765,"filename":"image_09122025_10_52_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8d15ebe08916aa8fc55d3cee06dcad0.jpg","text":"TemporaryFile(/tmp/multipartBody3128262330548640048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799692765,"filename":"image_09122025_10_53_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a4d03e54a013dbb4060e1a037747f98.jpg","text":"TemporaryFile(/tmp/multipartBody6210623580608226413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799692765,"filename":"image_09122025_10_53_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a841a1d666508c511cb11bc5ba2baf3a.jpg","text":"TemporaryFile(/tmp/multipartBody3564879047373635423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799692765,"filename":"image_09122025_10_53_05_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209206","file1":"1401209204","file0":"1401209201","file4":"1401209210","file5":"1401209211","file3":"1401209208"},"map_files_photo_id_array":[{"photo_id":"1401209211","filename":"file5"},{"photo_id":"1401209206","filename":"file2"},{"photo_id":"1401209210","filename":"file4"},{"photo_id":"1401209204","filename":"file1"},{"photo_id":"1401209201","filename":"file0"},{"photo_id":"1401209208","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209211":["hashtag1","hashtag2"]},{"1401209208":["hashtag1","hashtag2"]},{"1401209210":["hashtag1","hashtag2"]},{"1401209201":["hashtag1","hashtag2"]},{"1401209204":["hashtag1","hashtag2"]},{"1401209206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209211, 1401209208, 1401209210, 1401209201, 1401209204, 1401209206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33591032028198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:41:17.086737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_25_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_15_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/10/51/image_09122025_10_52_04_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_55_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_45_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_34_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_25_9613.jpg', '/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_15_10650.jpg', '/home/nano/Desktop/images/09122025/10/51/image_09122025_10_52_04_9644.jpg', '/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_55_9619.jpg', '/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_45_10637.jpg', '/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_25_9613.jpg
/home/nano/Desktop/images/09122025/10/52/image_09122025_10_52_15_10650.jpg
/home/nano/Desktop/images/09122025/10/51/image_09122025_10_52_04_9644.jpg
/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_55_9619.jpg
/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_45_10637.jpg
/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_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":["1401209232","1401209229","1401209223","1401209226","1401209234","1401209221"],"photo_ids_order":["1401209221","1401209223","1401209226","1401209229","1401209232","1401209234"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b88d85e95f335f731168cb6b55493dc.jpg","text":"TemporaryFile(/tmp/multipartBody1751594593956802068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799737938,"filename":"image_09122025_10_51_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1184329b0a9249a54e66d30eeffaedf.jpg","text":"TemporaryFile(/tmp/multipartBody1625425979459662285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799737938,"filename":"image_09122025_10_51_55_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab0034201936c3c8e220621519b8bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody3212003429486341088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799737938,"filename":"image_09122025_10_52_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec85a3efc2de0c50b7229a63ba73398c.jpg","text":"TemporaryFile(/tmp/multipartBody6857115140678584762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799737938,"filename":"image_09122025_10_52_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/12/27/31cab1d3ad7fbf1b30a781050dd1bccd.jpg","text":"TemporaryFile(/tmp/multipartBody616396763208646121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799737938,"filename":"image_09122025_10_51_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/12/27/c5950aa3d143561a8adb688de18434f8.jpg","text":"TemporaryFile(/tmp/multipartBody1760089814253276295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799737938,"filename":"image_09122025_10_52_25_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209226","file1":"1401209223","file0":"1401209221","file4":"1401209232","file5":"1401209234","file3":"1401209229"},"map_files_photo_id_array":[{"photo_id":"1401209234","filename":"file5"},{"photo_id":"1401209226","filename":"file2"},{"photo_id":"1401209232","filename":"file4"},{"photo_id":"1401209223","filename":"file1"},{"photo_id":"1401209221","filename":"file0"},{"photo_id":"1401209229","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209232":["hashtag1","hashtag2"]},{"1401209229":["hashtag1","hashtag2"]},{"1401209223":["hashtag1","hashtag2"]},{"1401209226":["hashtag1","hashtag2"]},{"1401209234":["hashtag1","hashtag2"]},{"1401209221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209232, 1401209229, 1401209223, 1401209226, 1401209234, 1401209221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.990257263183594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:42:02.534676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_25_10626.jpg', 2), ('/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_14_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/10/50/image_09122025_10_51_05_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_55_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_44_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_35_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_25_10626.jpg', '/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_14_9640.jpg', '/home/nano/Desktop/images/09122025/10/50/image_09122025_10_51_05_9649.jpg', '/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_55_10632.jpg', '/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_44_9638.jpg', '/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_35_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_25_10626.jpg
/home/nano/Desktop/images/09122025/10/51/image_09122025_10_51_14_9640.jpg
/home/nano/Desktop/images/09122025/10/50/image_09122025_10_51_05_9649.jpg
/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_55_10632.jpg
/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_44_9638.jpg
/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_35_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":["1401209250","1401209253","1401209243","1401209240","1401209248","1401209245"],"photo_ids_order":["1401209240","1401209243","1401209245","1401209248","1401209250","1401209253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48943db32eba911fd824cf6d48af8418.jpg","text":"TemporaryFile(/tmp/multipartBody5016318764194764098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799783442,"filename":"image_09122025_10_50_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/12/27/89e527bccf833fe108e298ebfe36adae.jpg","text":"TemporaryFile(/tmp/multipartBody4220180041676409339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799783442,"filename":"image_09122025_10_50_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcba3d4fdfc45fec62932ccf66b1154a.jpg","text":"TemporaryFile(/tmp/multipartBody1454904055761583965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799783442,"filename":"image_09122025_10_51_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/12/27/f2649f0e95566a062105009245775106.jpg","text":"TemporaryFile(/tmp/multipartBody4246035375455652164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799783442,"filename":"image_09122025_10_51_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bb4c7c3d693e8e7dac5c1193a702e38.jpg","text":"TemporaryFile(/tmp/multipartBody6992008819268939643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799783442,"filename":"image_09122025_10_50_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da34931725b72a7badc226274ca5965b.jpg","text":"TemporaryFile(/tmp/multipartBody6788234022889526118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799783442,"filename":"image_09122025_10_51_05_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209245","file1":"1401209243","file0":"1401209240","file4":"1401209250","file5":"1401209253","file3":"1401209248"},"map_files_photo_id_array":[{"photo_id":"1401209253","filename":"file5"},{"photo_id":"1401209245","filename":"file2"},{"photo_id":"1401209250","filename":"file4"},{"photo_id":"1401209243","filename":"file1"},{"photo_id":"1401209240","filename":"file0"},{"photo_id":"1401209248","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209250":["hashtag1","hashtag2"]},{"1401209253":["hashtag1","hashtag2"]},{"1401209243":["hashtag1","hashtag2"]},{"1401209240":["hashtag1","hashtag2"]},{"1401209248":["hashtag1","hashtag2"]},{"1401209245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209250, 1401209253, 1401209243, 1401209240, 1401209248, 1401209245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11272072792053 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:42:47.210313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_25_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_14_9692.jpg', 2), ('/home/nano/Desktop/images/09122025/10/49/image_09122025_10_50_05_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_55_10800.jpg', 2), ('/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_44_9672.jpg', 2), ('/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_34_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_25_10657.jpg', '/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_14_9692.jpg', '/home/nano/Desktop/images/09122025/10/49/image_09122025_10_50_05_9661.jpg', '/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_55_10800.jpg', '/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_44_9672.jpg', '/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_34_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_25_10657.jpg
/home/nano/Desktop/images/09122025/10/50/image_09122025_10_50_14_9692.jpg
/home/nano/Desktop/images/09122025/10/49/image_09122025_10_50_05_9661.jpg
/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_55_10800.jpg
/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_44_9672.jpg
/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_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":["1401209262","1401209261","1401209264","1401209266","1401209269","1401209263"],"photo_ids_order":["1401209261","1401209262","1401209263","1401209264","1401209266","1401209269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/265d4900b0fe68af6dd3cd7b1bd2ba54.jpg","text":"TemporaryFile(/tmp/multipartBody960563557767647220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799828064,"filename":"image_09122025_10_50_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/12/27/3c6a42adc446bcaf6796e6642559171f.jpg","text":"TemporaryFile(/tmp/multipartBody8427500432232327770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799828064,"filename":"image_09122025_10_50_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e4ecec32dd8282aaa98ca7d320c7d15.jpg","text":"TemporaryFile(/tmp/multipartBody1814659647893530817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799828064,"filename":"image_09122025_10_49_55_10800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cffb1aa15212efc8fdd12490d4fbe86.jpg","text":"TemporaryFile(/tmp/multipartBody1413697343798640875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799828064,"filename":"image_09122025_10_49_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/12/27/9e9cc39e77ea9022a3716f5cd9cb1c12.jpg","text":"TemporaryFile(/tmp/multipartBody4138473201860979504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799828064,"filename":"image_09122025_10_49_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/12/27/c5c05b07dace0a6ed45accca31333876.jpg","text":"TemporaryFile(/tmp/multipartBody564981546272293228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799828064,"filename":"image_09122025_10_50_05_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209263","file1":"1401209262","file0":"1401209261","file4":"1401209266","file5":"1401209269","file3":"1401209264"},"map_files_photo_id_array":[{"photo_id":"1401209269","filename":"file5"},{"photo_id":"1401209263","filename":"file2"},{"photo_id":"1401209266","filename":"file4"},{"photo_id":"1401209262","filename":"file1"},{"photo_id":"1401209261","filename":"file0"},{"photo_id":"1401209264","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209262":["hashtag1","hashtag2"]},{"1401209261":["hashtag1","hashtag2"]},{"1401209264":["hashtag1","hashtag2"]},{"1401209266":["hashtag1","hashtag2"]},{"1401209269":["hashtag1","hashtag2"]},{"1401209263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209262, 1401209261, 1401209264, 1401209266, 1401209269, 1401209263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15160536766052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:43:32.339542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_25_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_14_9672.jpg', 2), ('/home/nano/Desktop/images/09122025/10/48/image_09122025_10_49_05_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_55_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_44_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_35_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_25_10627.jpg', '/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_14_9672.jpg', '/home/nano/Desktop/images/09122025/10/48/image_09122025_10_49_05_9629.jpg', '/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_55_10658.jpg', '/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_44_9647.jpg', '/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_35_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_25_10627.jpg
/home/nano/Desktop/images/09122025/10/49/image_09122025_10_49_14_9672.jpg
/home/nano/Desktop/images/09122025/10/48/image_09122025_10_49_05_9629.jpg
/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_55_10658.jpg
/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_44_9647.jpg
/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_35_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":["1401209286","1401209288","1401209282","1401209284","1401209281","1401209289"],"photo_ids_order":["1401209281","1401209282","1401209284","1401209286","1401209288","1401209289"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52efb0cec065281893947d3cd68b5beb.jpg","text":"TemporaryFile(/tmp/multipartBody7516917392146289732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799873168,"filename":"image_09122025_10_48_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45e641f16005672308bda204e651cd5f.jpg","text":"TemporaryFile(/tmp/multipartBody7108475445834441216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799873168,"filename":"image_09122025_10_48_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/12/27/93e424dd87f7d1f935c24cad4dba1d92.jpg","text":"TemporaryFile(/tmp/multipartBody5113685277740671743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799873168,"filename":"image_09122025_10_49_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/12/27/47a758b514f0e708344cfc7bfacf6278.jpg","text":"TemporaryFile(/tmp/multipartBody2462114995615101981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799873168,"filename":"image_09122025_10_49_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/edc0e74d5232ed6c2f779e8b22704625.jpg","text":"TemporaryFile(/tmp/multipartBody5830103279684945876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799873168,"filename":"image_09122025_10_49_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/456d8b236307504398a02bb1e6b2748e.jpg","text":"TemporaryFile(/tmp/multipartBody6600320908265805890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799873168,"filename":"image_09122025_10_48_35_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209284","file1":"1401209282","file0":"1401209281","file4":"1401209288","file5":"1401209289","file3":"1401209286"},"map_files_photo_id_array":[{"photo_id":"1401209289","filename":"file5"},{"photo_id":"1401209284","filename":"file2"},{"photo_id":"1401209288","filename":"file4"},{"photo_id":"1401209282","filename":"file1"},{"photo_id":"1401209281","filename":"file0"},{"photo_id":"1401209286","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209286":["hashtag1","hashtag2"]},{"1401209288":["hashtag1","hashtag2"]},{"1401209282":["hashtag1","hashtag2"]},{"1401209284":["hashtag1","hashtag2"]},{"1401209281":["hashtag1","hashtag2"]},{"1401209289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209286, 1401209288, 1401209282, 1401209284, 1401209281, 1401209289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98456954956055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:44:17.419453
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_25_10669.jpg', 2), ('/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_14_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/10/47/image_09122025_10_48_05_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_55_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_44_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_35_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_25_10669.jpg', '/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_14_9627.jpg', '/home/nano/Desktop/images/09122025/10/47/image_09122025_10_48_05_9614.jpg', '/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_55_10611.jpg', '/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_44_9606.jpg', '/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_35_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_25_10669.jpg
/home/nano/Desktop/images/09122025/10/48/image_09122025_10_48_14_9627.jpg
/home/nano/Desktop/images/09122025/10/47/image_09122025_10_48_05_9614.jpg
/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_55_10611.jpg
/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_44_9606.jpg
/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_35_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":["1401209316","1401209318","1401209309","1401209302","1401209305","1401209314"],"photo_ids_order":["1401209302","1401209305","1401209309","1401209314","1401209316","1401209318"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd39587173d6ab26d72e319492436bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1687035380283218070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799918217,"filename":"image_09122025_10_47_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/12/27/0359f560ac31939089778fa35ed6c25b.jpg","text":"TemporaryFile(/tmp/multipartBody4001986835807470417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799918217,"filename":"image_09122025_10_47_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4d5a75afbaa327b77b068a59bff2751.jpg","text":"TemporaryFile(/tmp/multipartBody4446229201760058349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799918217,"filename":"image_09122025_10_48_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb1d0aed77174204f137a7995ee07250.jpg","text":"TemporaryFile(/tmp/multipartBody4240092840827001736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799918217,"filename":"image_09122025_10_48_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afa58ba12c77c531afe624cce8eddb55.jpg","text":"TemporaryFile(/tmp/multipartBody7700231916535708365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799918217,"filename":"image_09122025_10_48_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/12/27/eb219b18f5a87af0dba0325c76b86439.jpg","text":"TemporaryFile(/tmp/multipartBody4420082823008504581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799918217,"filename":"image_09122025_10_47_55_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209309","file1":"1401209305","file0":"1401209302","file4":"1401209316","file5":"1401209318","file3":"1401209314"},"map_files_photo_id_array":[{"photo_id":"1401209318","filename":"file5"},{"photo_id":"1401209309","filename":"file2"},{"photo_id":"1401209316","filename":"file4"},{"photo_id":"1401209305","filename":"file1"},{"photo_id":"1401209302","filename":"file0"},{"photo_id":"1401209314","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209316":["hashtag1","hashtag2"]},{"1401209318":["hashtag1","hashtag2"]},{"1401209309":["hashtag1","hashtag2"]},{"1401209302":["hashtag1","hashtag2"]},{"1401209305":["hashtag1","hashtag2"]},{"1401209314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209316, 1401209318, 1401209309, 1401209302, 1401209305, 1401209314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.924511432647705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:45:02.899552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_24_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_15_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/10/46/image_09122025_10_47_05_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_54_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_45_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_34_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_24_9599.jpg', '/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_15_9623.jpg', '/home/nano/Desktop/images/09122025/10/46/image_09122025_10_47_05_10635.jpg', '/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_54_9606.jpg', '/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_45_10613.jpg', '/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_24_9599.jpg
/home/nano/Desktop/images/09122025/10/47/image_09122025_10_47_15_9623.jpg
/home/nano/Desktop/images/09122025/10/46/image_09122025_10_47_05_10635.jpg
/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_54_9606.jpg
/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_45_10613.jpg
/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_34_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":["1401209328","1401209330","1401209324","1401209335","1401209332","1401209326"],"photo_ids_order":["1401209324","1401209326","1401209328","1401209330","1401209332","1401209335"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c148a33bb04290d5f398d49ffddc6730.jpg","text":"TemporaryFile(/tmp/multipartBody4044540843577091645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799963715,"filename":"image_09122025_10_47_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd8ea1581e56a41746ec070f07c9e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8453261964834528584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799963715,"filename":"image_09122025_10_46_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/12/27/472f6fbd0426b02d10d02693f0abd13f.jpg","text":"TemporaryFile(/tmp/multipartBody973270107824120085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799963715,"filename":"image_09122025_10_47_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/12/27/9434b2209d417f5e613265ced27831fe.jpg","text":"TemporaryFile(/tmp/multipartBody7783231397642100973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799963715,"filename":"image_09122025_10_46_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/12/27/d0343eac00a66262c01a3cb7c7a79da6.jpg","text":"TemporaryFile(/tmp/multipartBody1484485550151896014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799963715,"filename":"image_09122025_10_46_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/097bafac0e80b4c01eb2aee3c8a8f665.jpg","text":"TemporaryFile(/tmp/multipartBody4066226749012480164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766799963715,"filename":"image_09122025_10_47_15_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209328","file1":"1401209326","file0":"1401209324","file4":"1401209332","file5":"1401209335","file3":"1401209330"},"map_files_photo_id_array":[{"photo_id":"1401209335","filename":"file5"},{"photo_id":"1401209328","filename":"file2"},{"photo_id":"1401209332","filename":"file4"},{"photo_id":"1401209326","filename":"file1"},{"photo_id":"1401209324","filename":"file0"},{"photo_id":"1401209330","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209328":["hashtag1","hashtag2"]},{"1401209330":["hashtag1","hashtag2"]},{"1401209324":["hashtag1","hashtag2"]},{"1401209335":["hashtag1","hashtag2"]},{"1401209332":["hashtag1","hashtag2"]},{"1401209326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209328, 1401209330, 1401209324, 1401209335, 1401209332, 1401209326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09767127037048 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:45:47.561035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_25_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_15_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/10/45/image_09122025_10_46_04_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_55_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_34_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_25_9623.jpg', '/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_15_10633.jpg', '/home/nano/Desktop/images/09122025/10/45/image_09122025_10_46_04_9614.jpg', '/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_55_9604.jpg', '/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_45_10617.jpg', '/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_34_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_25_9623.jpg
/home/nano/Desktop/images/09122025/10/46/image_09122025_10_46_15_10633.jpg
/home/nano/Desktop/images/09122025/10/45/image_09122025_10_46_04_9614.jpg
/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_55_9604.jpg
/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_45_10617.jpg
/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_34_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":["1401209343","1401209346","1401209342","1401209348","1401209341","1401209344"],"photo_ids_order":["1401209341","1401209342","1401209343","1401209344","1401209346","1401209348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/451082b8d465f196a26c79305746c4a3.jpg","text":"TemporaryFile(/tmp/multipartBody4565037496283384527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800008358,"filename":"image_09122025_10_46_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/12/27/b37f30003c34b969370e49e176e30f96.jpg","text":"TemporaryFile(/tmp/multipartBody4201990616370998701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800008358,"filename":"image_09122025_10_45_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14e793a650c3388e197e7d5ef00039a3.jpg","text":"TemporaryFile(/tmp/multipartBody1597819636296997215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800008358,"filename":"image_09122025_10_46_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30d3b92c9c17b9e718b3ce0c2b591dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1294362740085035329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800008358,"filename":"image_09122025_10_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/12/27/d6849f59fb713810c9feec3652012ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5089499528785836657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800008358,"filename":"image_09122025_10_46_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35cf92063ff83e6b887e7d6e1b62d03d.jpg","text":"TemporaryFile(/tmp/multipartBody1746841260928826350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800008358,"filename":"image_09122025_10_45_55_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209343","file1":"1401209342","file0":"1401209341","file4":"1401209346","file5":"1401209348","file3":"1401209344"},"map_files_photo_id_array":[{"photo_id":"1401209348","filename":"file5"},{"photo_id":"1401209343","filename":"file2"},{"photo_id":"1401209346","filename":"file4"},{"photo_id":"1401209342","filename":"file1"},{"photo_id":"1401209341","filename":"file0"},{"photo_id":"1401209344","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209343":["hashtag1","hashtag2"]},{"1401209346":["hashtag1","hashtag2"]},{"1401209342":["hashtag1","hashtag2"]},{"1401209348":["hashtag1","hashtag2"]},{"1401209341":["hashtag1","hashtag2"]},{"1401209344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209343, 1401209346, 1401209342, 1401209348, 1401209341, 1401209344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.595534801483154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:46:32.713640
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/02/46/image_27122025_02_46_14_9534.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/02/46/image_27122025_02_46_14_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/02/46/image_27122025_02_46_14_9534.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401209355"],"photo_id":"1401209355","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cffcc2e54393abbd78a4c584ba8c7540.jpg","text":"TemporaryFile(/tmp/multipartBody6884638085863271113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800052957,"filename":"image_27122025_02_46_14_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401209355"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401209355"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.08589220046997 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:46:47.738631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_25_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_14_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/10/44/image_09122025_10_45_05_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_55_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_44_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_35_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_25_10610.jpg', '/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_14_9622.jpg', '/home/nano/Desktop/images/09122025/10/44/image_09122025_10_45_05_9631.jpg', '/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_55_10610.jpg', '/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_44_9604.jpg', '/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_35_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_25_10610.jpg
/home/nano/Desktop/images/09122025/10/45/image_09122025_10_45_14_9622.jpg
/home/nano/Desktop/images/09122025/10/44/image_09122025_10_45_05_9631.jpg
/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_55_10610.jpg
/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_44_9604.jpg
/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_35_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":["1401209367","1401209378","1401209371","1401209374","1401209368","1401209376"],"photo_ids_order":["1401209367","1401209368","1401209371","1401209374","1401209376","1401209378"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25bd4bae5b9c11a511b5cc0b5467ebac.jpg","text":"TemporaryFile(/tmp/multipartBody157307110834657954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800068572,"filename":"image_09122025_10_45_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74f7ecd5eeb0e69982611df17013eca5.jpg","text":"TemporaryFile(/tmp/multipartBody1872722902066815297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800068572,"filename":"image_09122025_10_44_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bb9a386e139452589f3398cf1e82b16.jpg","text":"TemporaryFile(/tmp/multipartBody7415052201795116123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800068572,"filename":"image_09122025_10_45_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1983fad12e71f0e058efb82f575c0bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7146488866503523120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800068572,"filename":"image_09122025_10_44_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec4b4acb4eac7ef78c365ca558164f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4065319245300711164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800068572,"filename":"image_09122025_10_45_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/12/27/43a0e3778133e7fc55bcc32f343392d3.jpg","text":"TemporaryFile(/tmp/multipartBody6385596803854722723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800068572,"filename":"image_09122025_10_44_44_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209371","file1":"1401209368","file0":"1401209367","file4":"1401209376","file5":"1401209378","file3":"1401209374"},"map_files_photo_id_array":[{"photo_id":"1401209378","filename":"file5"},{"photo_id":"1401209371","filename":"file2"},{"photo_id":"1401209376","filename":"file4"},{"photo_id":"1401209368","filename":"file1"},{"photo_id":"1401209367","filename":"file0"},{"photo_id":"1401209374","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209367":["hashtag1","hashtag2"]},{"1401209378":["hashtag1","hashtag2"]},{"1401209371":["hashtag1","hashtag2"]},{"1401209374":["hashtag1","hashtag2"]},{"1401209368":["hashtag1","hashtag2"]},{"1401209376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209367, 1401209378, 1401209371, 1401209374, 1401209368, 1401209376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96450638771057 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:47:31.813557
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_24_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_14_9671.jpg', 2), ('/home/nano/Desktop/images/09122025/10/43/image_09122025_10_44_05_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_54_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_45_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_35_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_24_9613.jpg', '/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_14_9671.jpg', '/home/nano/Desktop/images/09122025/10/43/image_09122025_10_44_05_10637.jpg', '/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_54_9605.jpg', '/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_45_9623.jpg', '/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_35_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_24_9613.jpg
/home/nano/Desktop/images/09122025/10/44/image_09122025_10_44_14_9671.jpg
/home/nano/Desktop/images/09122025/10/43/image_09122025_10_44_05_10637.jpg
/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_54_9605.jpg
/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_45_9623.jpg
/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_35_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":["1401209391","1401209387","1401209392","1401209395","1401209389","1401209394"],"photo_ids_order":["1401209387","1401209389","1401209391","1401209392","1401209394","1401209395"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8ed98399fed3dbfc4860d1ef81a2af4.jpg","text":"TemporaryFile(/tmp/multipartBody2658559756199725110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800112613,"filename":"image_09122025_10_44_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51a46d2998228caadae631e3d3510ff6.jpg","text":"TemporaryFile(/tmp/multipartBody5077003754924111483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800112613,"filename":"image_09122025_10_44_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/12/27/df673f1f721a1d7a57f91b89301d09fd.jpg","text":"TemporaryFile(/tmp/multipartBody8170128187114148791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800112613,"filename":"image_09122025_10_43_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/12/27/b2bb812a53645d1d40c1e8bf01bc0994.jpg","text":"TemporaryFile(/tmp/multipartBody8512581389988472323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800112613,"filename":"image_09122025_10_43_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/045256bf26b8a5fa002c1bcfbb5ab5af.jpg","text":"TemporaryFile(/tmp/multipartBody7310121986364396472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800112613,"filename":"image_09122025_10_44_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/12/27/374f6a0a5a0aaf440d75da9793278155.jpg","text":"TemporaryFile(/tmp/multipartBody4308735810584815526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800112613,"filename":"image_09122025_10_43_45_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209391","file1":"1401209389","file0":"1401209387","file4":"1401209394","file5":"1401209395","file3":"1401209392"},"map_files_photo_id_array":[{"photo_id":"1401209395","filename":"file5"},{"photo_id":"1401209391","filename":"file2"},{"photo_id":"1401209394","filename":"file4"},{"photo_id":"1401209389","filename":"file1"},{"photo_id":"1401209387","filename":"file0"},{"photo_id":"1401209392","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209391":["hashtag1","hashtag2"]},{"1401209387":["hashtag1","hashtag2"]},{"1401209392":["hashtag1","hashtag2"]},{"1401209395":["hashtag1","hashtag2"]},{"1401209389":["hashtag1","hashtag2"]},{"1401209394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209391, 1401209387, 1401209392, 1401209395, 1401209389, 1401209394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23341178894043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:48:16.909204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_24_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/10/42/image_09122025_10_43_05_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_54_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_45_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_34_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_24_9624.jpg', '/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_15_9625.jpg', '/home/nano/Desktop/images/09122025/10/42/image_09122025_10_43_05_10642.jpg', '/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_54_9617.jpg', '/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_45_10635.jpg', '/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_34_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_24_9624.jpg
/home/nano/Desktop/images/09122025/10/43/image_09122025_10_43_15_9625.jpg
/home/nano/Desktop/images/09122025/10/42/image_09122025_10_43_05_10642.jpg
/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_54_9617.jpg
/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_45_10635.jpg
/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_34_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":["1401209418","1401209411","1401209420","1401209414","1401209416","1401209410"],"photo_ids_order":["1401209410","1401209411","1401209414","1401209416","1401209418","1401209420"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8a51610fe7aa1958d1a9ffe2b57fe21.jpg","text":"TemporaryFile(/tmp/multipartBody2605085030618696481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800157734,"filename":"image_09122025_10_42_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfaa5320cb2293be0032bc116e64dda7.jpg","text":"TemporaryFile(/tmp/multipartBody5789070081363867561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800157734,"filename":"image_09122025_10_43_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58accfa7bb8d9be7f6ae9e027ce53d03.jpg","text":"TemporaryFile(/tmp/multipartBody6702878303666893173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800157734,"filename":"image_09122025_10_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/12/27/6608d64ea7ff0c6a21a3db742e7fa9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4097161463055575092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800157734,"filename":"image_09122025_10_43_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc16c78380b6d36be2b9d029f3588626.jpg","text":"TemporaryFile(/tmp/multipartBody9081196075335161080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800157734,"filename":"image_09122025_10_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/12/27/8a9db8579a25bc7da6e4e00afd1cc475.jpg","text":"TemporaryFile(/tmp/multipartBody604133929565469621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800157734,"filename":"image_09122025_10_43_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209414","file1":"1401209411","file0":"1401209410","file4":"1401209418","file5":"1401209420","file3":"1401209416"},"map_files_photo_id_array":[{"photo_id":"1401209420","filename":"file5"},{"photo_id":"1401209414","filename":"file2"},{"photo_id":"1401209418","filename":"file4"},{"photo_id":"1401209411","filename":"file1"},{"photo_id":"1401209410","filename":"file0"},{"photo_id":"1401209416","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209418":["hashtag1","hashtag2"]},{"1401209411":["hashtag1","hashtag2"]},{"1401209420":["hashtag1","hashtag2"]},{"1401209414":["hashtag1","hashtag2"]},{"1401209416":["hashtag1","hashtag2"]},{"1401209410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209418, 1401209411, 1401209420, 1401209414, 1401209416, 1401209410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60096979141235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:49:02.755816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_25_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_15_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/10/41/image_09122025_10_42_04_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_55_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_45_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_34_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_25_9622.jpg', '/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_15_10646.jpg', '/home/nano/Desktop/images/09122025/10/41/image_09122025_10_42_04_9625.jpg', '/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_55_9623.jpg', '/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_45_10632.jpg', '/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_25_9622.jpg
/home/nano/Desktop/images/09122025/10/42/image_09122025_10_42_15_10646.jpg
/home/nano/Desktop/images/09122025/10/41/image_09122025_10_42_04_9625.jpg
/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_55_9623.jpg
/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_45_10632.jpg
/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_34_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":["1401209442","1401209445","1401209433","1401209436","1401209438","1401209440"],"photo_ids_order":["1401209433","1401209436","1401209438","1401209440","1401209442","1401209445"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0334aa4c8d00620c710458d3d47ef3f9.jpg","text":"TemporaryFile(/tmp/multipartBody5854428874740073616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800203621,"filename":"image_09122025_10_41_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0e69fa18eb17c88b2e093c4866d936c.jpg","text":"TemporaryFile(/tmp/multipartBody7375011445034232008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800203621,"filename":"image_09122025_10_41_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/12/27/67a3e42348c22ef162d093358008fcb3.jpg","text":"TemporaryFile(/tmp/multipartBody3937706291826267054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800203621,"filename":"image_09122025_10_42_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc08e9322c3ac01112a9421fd4565cb7.jpg","text":"TemporaryFile(/tmp/multipartBody9216818095215125141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800203621,"filename":"image_09122025_10_42_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae5271358021c4e38ae4c4cc7c1b5567.jpg","text":"TemporaryFile(/tmp/multipartBody8723488523071903436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800203621,"filename":"image_09122025_10_42_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/12/27/ec4b64a1b074891b42079cdda72008dc.jpg","text":"TemporaryFile(/tmp/multipartBody7552682575181322055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800203621,"filename":"image_09122025_10_41_55_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209438","file1":"1401209436","file0":"1401209433","file4":"1401209442","file5":"1401209445","file3":"1401209440"},"map_files_photo_id_array":[{"photo_id":"1401209445","filename":"file5"},{"photo_id":"1401209438","filename":"file2"},{"photo_id":"1401209442","filename":"file4"},{"photo_id":"1401209436","filename":"file1"},{"photo_id":"1401209433","filename":"file0"},{"photo_id":"1401209440","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209442":["hashtag1","hashtag2"]},{"1401209445":["hashtag1","hashtag2"]},{"1401209433":["hashtag1","hashtag2"]},{"1401209436":["hashtag1","hashtag2"]},{"1401209438":["hashtag1","hashtag2"]},{"1401209440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209442, 1401209445, 1401209433, 1401209436, 1401209438, 1401209440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.842607259750366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:49:47.023881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_25_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/10/40/image_09122025_10_41_05_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_35_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_25_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_14_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_25_10630.jpg', '/home/nano/Desktop/images/09122025/10/40/image_09122025_10_41_05_9647.jpg', '/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_44_9637.jpg', '/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_35_9642.jpg', '/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_25_10627.jpg', '/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_14_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/41/image_09122025_10_41_25_10630.jpg
/home/nano/Desktop/images/09122025/10/40/image_09122025_10_41_05_9647.jpg
/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_44_9637.jpg
/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_35_9642.jpg
/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_25_10627.jpg
/home/nano/Desktop/images/09122025/10/40/image_09122025_10_40_14_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":["1401209457","1401209451","1401209454","1401209453","1401209456","1401209452"],"photo_ids_order":["1401209451","1401209452","1401209453","1401209454","1401209456","1401209457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec489fe79578ce9aa7b83c26d0c0ae87.jpg","text":"TemporaryFile(/tmp/multipartBody3967251075414025387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800247846,"filename":"image_09122025_10_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/12/27/e839aeb51a09fb1d523b2ff20a556304.jpg","text":"TemporaryFile(/tmp/multipartBody4068418443623482018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800247846,"filename":"image_09122025_10_41_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8794191e777509c8925fd3831ea283c5.jpg","text":"TemporaryFile(/tmp/multipartBody2864503226384790802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800247846,"filename":"image_09122025_10_40_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e6fa2f91695a2d5947ee4adef2879d2.jpg","text":"TemporaryFile(/tmp/multipartBody9180277558048080922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800247846,"filename":"image_09122025_10_40_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/12/27/c13d35f4d81a028a8c8a455314164cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1660718415107393450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800247846,"filename":"image_09122025_10_40_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42fdb72b05eb6d8bbdaedd76bb27c47c.jpg","text":"TemporaryFile(/tmp/multipartBody7145309998867419940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800247846,"filename":"image_09122025_10_41_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209453","file1":"1401209452","file0":"1401209451","file4":"1401209456","file5":"1401209457","file3":"1401209454"},"map_files_photo_id_array":[{"photo_id":"1401209457","filename":"file5"},{"photo_id":"1401209453","filename":"file2"},{"photo_id":"1401209456","filename":"file4"},{"photo_id":"1401209452","filename":"file1"},{"photo_id":"1401209451","filename":"file0"},{"photo_id":"1401209454","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209457":["hashtag1","hashtag2"]},{"1401209451":["hashtag1","hashtag2"]},{"1401209454":["hashtag1","hashtag2"]},{"1401209453":["hashtag1","hashtag2"]},{"1401209456":["hashtag1","hashtag2"]},{"1401209452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209457, 1401209451, 1401209454, 1401209453, 1401209456, 1401209452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33674359321594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:50:32.136822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_55_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_44_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_35_10629.jpg', 2), ('/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_24_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_15_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/10/38/image_09122025_10_39_05_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_55_10630.jpg', '/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_44_9622.jpg', '/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_35_10629.jpg', '/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_24_9599.jpg', '/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_15_9604.jpg', '/home/nano/Desktop/images/09122025/10/38/image_09122025_10_39_05_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_55_10630.jpg
/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_44_9622.jpg
/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_35_10629.jpg
/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_24_9599.jpg
/home/nano/Desktop/images/09122025/10/39/image_09122025_10_39_15_9604.jpg
/home/nano/Desktop/images/09122025/10/38/image_09122025_10_39_05_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":["1401209478","1401209472","1401209480","1401209474","1401209476","1401209481"],"photo_ids_order":["1401209472","1401209474","1401209476","1401209478","1401209480","1401209481"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2baf6cd2416abff7a5fe4230efe0d7cb.jpg","text":"TemporaryFile(/tmp/multipartBody931450239240516377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800292932,"filename":"image_09122025_10_39_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/12/27/5f48261b8f755f5c62bde7fe551a6bda.jpg","text":"TemporaryFile(/tmp/multipartBody6271018295462750566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800292932,"filename":"image_09122025_10_39_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cca4ef58260e7413cf9849488fdc7d3.jpg","text":"TemporaryFile(/tmp/multipartBody4327903046324220398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800292932,"filename":"image_09122025_10_39_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce2c52970bb6f99d07778028552a374a.jpg","text":"TemporaryFile(/tmp/multipartBody6504841547152992531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800292932,"filename":"image_09122025_10_39_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/12/27/db9cc8f61a0dbf65d83761a174fa51f7.jpg","text":"TemporaryFile(/tmp/multipartBody9145225829563991691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800292932,"filename":"image_09122025_10_39_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd26139a71a8881ee92510eac3965df0.jpg","text":"TemporaryFile(/tmp/multipartBody6697079282449478678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800292932,"filename":"image_09122025_10_39_05_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209476","file1":"1401209474","file0":"1401209472","file4":"1401209480","file5":"1401209481","file3":"1401209478"},"map_files_photo_id_array":[{"photo_id":"1401209481","filename":"file5"},{"photo_id":"1401209476","filename":"file2"},{"photo_id":"1401209480","filename":"file4"},{"photo_id":"1401209474","filename":"file1"},{"photo_id":"1401209472","filename":"file0"},{"photo_id":"1401209478","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209478":["hashtag1","hashtag2"]},{"1401209472":["hashtag1","hashtag2"]},{"1401209480":["hashtag1","hashtag2"]},{"1401209474":["hashtag1","hashtag2"]},{"1401209476":["hashtag1","hashtag2"]},{"1401209481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209478, 1401209472, 1401209480, 1401209474, 1401209476, 1401209481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15917730331421 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:51:17.224572
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_54_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_45_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_34_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_25_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_15_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/10/37/image_09122025_10_38_04_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_54_9591.jpg', '/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_45_10602.jpg', '/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_34_9600.jpg', '/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_25_9609.jpg', '/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_15_10646.jpg', '/home/nano/Desktop/images/09122025/10/37/image_09122025_10_38_04_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_54_9591.jpg
/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_45_10602.jpg
/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_34_9600.jpg
/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_25_9609.jpg
/home/nano/Desktop/images/09122025/10/38/image_09122025_10_38_15_10646.jpg
/home/nano/Desktop/images/09122025/10/37/image_09122025_10_38_04_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":["1401209508","1401209521","1401209515","1401209518","1401209512","1401209506"],"photo_ids_order":["1401209506","1401209508","1401209512","1401209515","1401209518","1401209521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1da32ee02ac36e686be3ba5498089657.jpg","text":"TemporaryFile(/tmp/multipartBody4300489398623771715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800338019,"filename":"image_09122025_10_38_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/412bb99d7ea52ed30e1256f5bcbec254.jpg","text":"TemporaryFile(/tmp/multipartBody1104412805925560315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800338019,"filename":"image_09122025_10_38_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/12/27/831767eeee6999040d680cf98bad06e1.jpg","text":"TemporaryFile(/tmp/multipartBody800233992849179032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800338019,"filename":"image_09122025_10_38_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3656beee78d833305f26e6b48a781d5.jpg","text":"TemporaryFile(/tmp/multipartBody7293614982624588033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800338019,"filename":"image_09122025_10_38_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/729a51d49c1bb5b54d39d44390e8a634.jpg","text":"TemporaryFile(/tmp/multipartBody6963045946448512709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800338019,"filename":"image_09122025_10_38_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/12/27/20164e36de360dff3ecb341988fe3fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3584633977396727541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800338019,"filename":"image_09122025_10_38_54_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209512","file1":"1401209508","file0":"1401209506","file4":"1401209518","file5":"1401209521","file3":"1401209515"},"map_files_photo_id_array":[{"photo_id":"1401209521","filename":"file5"},{"photo_id":"1401209512","filename":"file2"},{"photo_id":"1401209518","filename":"file4"},{"photo_id":"1401209508","filename":"file1"},{"photo_id":"1401209506","filename":"file0"},{"photo_id":"1401209515","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209508":["hashtag1","hashtag2"]},{"1401209521":["hashtag1","hashtag2"]},{"1401209515":["hashtag1","hashtag2"]},{"1401209518":["hashtag1","hashtag2"]},{"1401209512":["hashtag1","hashtag2"]},{"1401209506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209508, 1401209521, 1401209515, 1401209518, 1401209512, 1401209506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93462562561035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:52:02.703104
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_55_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_45_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_34_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_25_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_14_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/10/36/image_09122025_10_37_05_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_55_9596.jpg', '/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_45_10618.jpg', '/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_34_9601.jpg', '/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_25_10617.jpg', '/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_14_9604.jpg', '/home/nano/Desktop/images/09122025/10/36/image_09122025_10_37_05_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_55_9596.jpg
/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_45_10618.jpg
/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_34_9601.jpg
/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_25_10617.jpg
/home/nano/Desktop/images/09122025/10/37/image_09122025_10_37_14_9604.jpg
/home/nano/Desktop/images/09122025/10/36/image_09122025_10_37_05_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":["1401209538","1401209532","1401209535","1401209529","1401209533","1401209542"],"photo_ids_order":["1401209529","1401209532","1401209533","1401209535","1401209538","1401209542"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e97b304b4f623ff847110f8daf96cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody5771910703417359528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800383570,"filename":"image_09122025_10_37_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de224750d651c0ce80070518238da544.jpg","text":"TemporaryFile(/tmp/multipartBody4293630871385295079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800383570,"filename":"image_09122025_10_37_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5f120fc2b6de06c842d07958b053a1b.jpg","text":"TemporaryFile(/tmp/multipartBody6334916045663016127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800383570,"filename":"image_09122025_10_37_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a8991bf505854cca0346b719b8d1000.jpg","text":"TemporaryFile(/tmp/multipartBody6017413195238954609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800383570,"filename":"image_09122025_10_37_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aaf89750a783c501d2eb4c443b6caf24.jpg","text":"TemporaryFile(/tmp/multipartBody7072572501697499470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800383570,"filename":"image_09122025_10_37_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/12/27/2e4e1a5631727f5ecd16a4452757ad4f.jpg","text":"TemporaryFile(/tmp/multipartBody407371040306444773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800383570,"filename":"image_09122025_10_37_05_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209533","file1":"1401209532","file0":"1401209529","file4":"1401209538","file5":"1401209542","file3":"1401209535"},"map_files_photo_id_array":[{"photo_id":"1401209542","filename":"file5"},{"photo_id":"1401209533","filename":"file2"},{"photo_id":"1401209538","filename":"file4"},{"photo_id":"1401209532","filename":"file1"},{"photo_id":"1401209529","filename":"file0"},{"photo_id":"1401209535","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209538":["hashtag1","hashtag2"]},{"1401209532":["hashtag1","hashtag2"]},{"1401209535":["hashtag1","hashtag2"]},{"1401209529":["hashtag1","hashtag2"]},{"1401209533":["hashtag1","hashtag2"]},{"1401209542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209538, 1401209532, 1401209535, 1401209529, 1401209533, 1401209542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.423635959625244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:52:47.327874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_55_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_44_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_35_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_24_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_15_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/10/35/image_09122025_10_36_05_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_55_10614.jpg', '/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_44_9599.jpg', '/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_35_10609.jpg', '/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_24_9605.jpg', '/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_15_9621.jpg', '/home/nano/Desktop/images/09122025/10/35/image_09122025_10_36_05_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_55_10614.jpg
/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_44_9599.jpg
/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_35_10609.jpg
/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_24_9605.jpg
/home/nano/Desktop/images/09122025/10/36/image_09122025_10_36_15_9621.jpg
/home/nano/Desktop/images/09122025/10/35/image_09122025_10_36_05_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":["1401209556","1401209559","1401209573","1401209558","1401209563","1401209557"],"photo_ids_order":["1401209556","1401209557","1401209558","1401209559","1401209563","1401209573"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fba29adb2a9013113928030cebd35c2a.jpg","text":"TemporaryFile(/tmp/multipartBody5518214608933174942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800428158,"filename":"image_09122025_10_36_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee297578380497dfb23d4689d2e426c6.jpg","text":"TemporaryFile(/tmp/multipartBody3894806144755104661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800428158,"filename":"image_09122025_10_36_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/12/27/e8f120b01bf9121d15d588df01cc25c1.jpg","text":"TemporaryFile(/tmp/multipartBody4962700804284348848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800428158,"filename":"image_09122025_10_36_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72daa43ef777dfd266df09d4305750d5.jpg","text":"TemporaryFile(/tmp/multipartBody5256690828782242912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800428158,"filename":"image_09122025_10_36_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a11d9351d7adaa14e1e85d4e9a439386.jpg","text":"TemporaryFile(/tmp/multipartBody7940941206490446195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800428158,"filename":"image_09122025_10_36_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c01d30e7a5479d317cfe99d755e3c51.jpg","text":"TemporaryFile(/tmp/multipartBody9050376495834116440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800428158,"filename":"image_09122025_10_36_44_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209558","file1":"1401209557","file0":"1401209556","file4":"1401209563","file5":"1401209573","file3":"1401209559"},"map_files_photo_id_array":[{"photo_id":"1401209573","filename":"file5"},{"photo_id":"1401209558","filename":"file2"},{"photo_id":"1401209563","filename":"file4"},{"photo_id":"1401209557","filename":"file1"},{"photo_id":"1401209556","filename":"file0"},{"photo_id":"1401209559","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209556":["hashtag1","hashtag2"]},{"1401209559":["hashtag1","hashtag2"]},{"1401209573":["hashtag1","hashtag2"]},{"1401209558":["hashtag1","hashtag2"]},{"1401209563":["hashtag1","hashtag2"]},{"1401209557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209556, 1401209559, 1401209573, 1401209558, 1401209563, 1401209557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82801795005798 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:53:32.425103
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_54_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_45_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_35_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_24_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_15_10681.jpg', 2), ('/home/nano/Desktop/images/09122025/10/34/image_09122025_10_35_04_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_54_9607.jpg', '/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_45_9605.jpg', '/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_35_10610.jpg', '/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_24_9612.jpg', '/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_15_10681.jpg', '/home/nano/Desktop/images/09122025/10/34/image_09122025_10_35_04_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_54_9607.jpg
/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_45_9605.jpg
/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_35_10610.jpg
/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_24_9612.jpg
/home/nano/Desktop/images/09122025/10/35/image_09122025_10_35_15_10681.jpg
/home/nano/Desktop/images/09122025/10/34/image_09122025_10_35_04_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":["1401209594","1401209588","1401209592","1401209586","1401209595","1401209589"],"photo_ids_order":["1401209586","1401209588","1401209589","1401209592","1401209594","1401209595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b04deebd8af538b1289d0f3a666f9817.jpg","text":"TemporaryFile(/tmp/multipartBody1402668457133058230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800473233,"filename":"image_09122025_10_35_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a44d7a4f1076d8238527b889c2d38f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7886002873798847109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800473233,"filename":"image_09122025_10_35_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b30591c8bba4544778b7777a69a837f0.jpg","text":"TemporaryFile(/tmp/multipartBody826982136772913417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800473233,"filename":"image_09122025_10_35_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/12/27/76fe1460f6f2dcef2979b0fc650d360b.jpg","text":"TemporaryFile(/tmp/multipartBody1898194032064777619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800473233,"filename":"image_09122025_10_35_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/12/27/749b2c135066bb03ac4e1cc3475c6431.jpg","text":"TemporaryFile(/tmp/multipartBody2242706179531558519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800473233,"filename":"image_09122025_10_35_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/128a79c775defda962fccab341fb098b.jpg","text":"TemporaryFile(/tmp/multipartBody2706874867724008732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800473233,"filename":"image_09122025_10_35_35_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209589","file1":"1401209588","file0":"1401209586","file4":"1401209594","file5":"1401209595","file3":"1401209592"},"map_files_photo_id_array":[{"photo_id":"1401209595","filename":"file5"},{"photo_id":"1401209589","filename":"file2"},{"photo_id":"1401209594","filename":"file4"},{"photo_id":"1401209588","filename":"file1"},{"photo_id":"1401209586","filename":"file0"},{"photo_id":"1401209592","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209594":["hashtag1","hashtag2"]},{"1401209588":["hashtag1","hashtag2"]},{"1401209592":["hashtag1","hashtag2"]},{"1401209586":["hashtag1","hashtag2"]},{"1401209595":["hashtag1","hashtag2"]},{"1401209589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209594, 1401209588, 1401209592, 1401209586, 1401209595, 1401209589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.605889081954956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:54:17.556179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_54_9751.jpg', 2), ('/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_45_9696.jpg', 2), ('/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_35_10719.jpg', 2), ('/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_24_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_15_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/10/33/image_09122025_10_34_05_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_54_9751.jpg', '/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_45_9696.jpg', '/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_35_10719.jpg', '/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_24_9604.jpg', '/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_15_9634.jpg', '/home/nano/Desktop/images/09122025/10/33/image_09122025_10_34_05_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_54_9751.jpg
/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_45_9696.jpg
/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_35_10719.jpg
/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_24_9604.jpg
/home/nano/Desktop/images/09122025/10/34/image_09122025_10_34_15_9634.jpg
/home/nano/Desktop/images/09122025/10/33/image_09122025_10_34_05_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":["1401209610","1401209618","1401209603","1401209612","1401209606","1401209614"],"photo_ids_order":["1401209603","1401209606","1401209610","1401209612","1401209614","1401209618"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3ceb5a822301df656364cd450c03145.jpg","text":"TemporaryFile(/tmp/multipartBody451289721297678697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800518419,"filename":"image_09122025_10_34_35_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/803cd5e872a757768e863e622934b611.jpg","text":"TemporaryFile(/tmp/multipartBody8453073685474752773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800518419,"filename":"image_09122025_10_34_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f7c1613ad0ea318e7a8fa0536ee4312.jpg","text":"TemporaryFile(/tmp/multipartBody2481696919094055610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800518419,"filename":"image_09122025_10_34_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/12/27/4905191fff9f9a6fd7ba04ff8e9aeb79.jpg","text":"TemporaryFile(/tmp/multipartBody1200756016355851973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800518419,"filename":"image_09122025_10_34_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/12/27/7d54ed72e56f729483c969297e48e169.jpg","text":"TemporaryFile(/tmp/multipartBody7650283903310227838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800518419,"filename":"image_09122025_10_34_45_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6602ca38df14b45554bff2e71571436.jpg","text":"TemporaryFile(/tmp/multipartBody7207249982278208951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800518419,"filename":"image_09122025_10_34_15_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209610","file1":"1401209606","file0":"1401209603","file4":"1401209614","file5":"1401209618","file3":"1401209612"},"map_files_photo_id_array":[{"photo_id":"1401209618","filename":"file5"},{"photo_id":"1401209610","filename":"file2"},{"photo_id":"1401209614","filename":"file4"},{"photo_id":"1401209606","filename":"file1"},{"photo_id":"1401209603","filename":"file0"},{"photo_id":"1401209612","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209610":["hashtag1","hashtag2"]},{"1401209618":["hashtag1","hashtag2"]},{"1401209603":["hashtag1","hashtag2"]},{"1401209612":["hashtag1","hashtag2"]},{"1401209606":["hashtag1","hashtag2"]},{"1401209614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209610, 1401209618, 1401209603, 1401209612, 1401209606, 1401209614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.452561378479004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:55:03.115955
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/02/55/image_27122025_02_55_24_9508.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/02/55/image_27122025_02_55_24_9508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/02/55/image_27122025_02_55_24_9508.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401209625"],"photo_id":"1401209625","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ef4981189fd177c72764d4b58431cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3339552082626778231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800563362,"filename":"image_27122025_02_55_24_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401209625"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401209625"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.98608136177063 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:55:17.667611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_54_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_45_10603.jpg', 2), ('/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_34_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_25_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_15_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/10/32/image_09122025_10_33_04_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_54_9599.jpg', '/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_45_10603.jpg', '/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_34_9594.jpg', '/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_25_9598.jpg', '/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_15_10627.jpg', '/home/nano/Desktop/images/09122025/10/32/image_09122025_10_33_04_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_54_9599.jpg
/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_45_10603.jpg
/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_34_9594.jpg
/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_25_9598.jpg
/home/nano/Desktop/images/09122025/10/33/image_09122025_10_33_15_10627.jpg
/home/nano/Desktop/images/09122025/10/32/image_09122025_10_33_04_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":["1401209643","1401209645","1401209633","1401209639","1401209641","1401209635"],"photo_ids_order":["1401209633","1401209635","1401209639","1401209641","1401209643","1401209645"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50b2dab46eb36249df85db2fe7b07f83.jpg","text":"TemporaryFile(/tmp/multipartBody8174077431376022230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800578459,"filename":"image_09122025_10_33_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71590e54a2a2b85a39c22a6859484577.jpg","text":"TemporaryFile(/tmp/multipartBody3892895060666092135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800578459,"filename":"image_09122025_10_33_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/12/27/297b8f60efc7a8319d398aaf86deb56c.jpg","text":"TemporaryFile(/tmp/multipartBody1209072435670957869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800578459,"filename":"image_09122025_10_33_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/12/27/10dc124abb909a621b072bf21994e00f.jpg","text":"TemporaryFile(/tmp/multipartBody9114796595693173271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800578459,"filename":"image_09122025_10_33_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/12/27/29e2427ab1436fe28f68c43768d83a23.jpg","text":"TemporaryFile(/tmp/multipartBody3121427336142041633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800578459,"filename":"image_09122025_10_33_25_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/773bafd4c3f56e2f9fa003b8e13b0b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8887671754669048180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800578459,"filename":"image_09122025_10_33_45_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209639","file1":"1401209635","file0":"1401209633","file4":"1401209643","file5":"1401209645","file3":"1401209641"},"map_files_photo_id_array":[{"photo_id":"1401209645","filename":"file5"},{"photo_id":"1401209639","filename":"file2"},{"photo_id":"1401209643","filename":"file4"},{"photo_id":"1401209635","filename":"file1"},{"photo_id":"1401209633","filename":"file0"},{"photo_id":"1401209641","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209643":["hashtag1","hashtag2"]},{"1401209645":["hashtag1","hashtag2"]},{"1401209633":["hashtag1","hashtag2"]},{"1401209639":["hashtag1","hashtag2"]},{"1401209641":["hashtag1","hashtag2"]},{"1401209635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209643, 1401209645, 1401209633, 1401209639, 1401209641, 1401209635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70617604255676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:56:03.043535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_55_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_44_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_35_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_25_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_14_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/10/31/image_09122025_10_32_05_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_55_10605.jpg', '/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_44_9621.jpg', '/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_35_9615.jpg', '/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_25_10616.jpg', '/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_14_9616.jpg', '/home/nano/Desktop/images/09122025/10/31/image_09122025_10_32_05_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_55_10605.jpg
/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_44_9621.jpg
/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_35_9615.jpg
/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_25_10616.jpg
/home/nano/Desktop/images/09122025/10/32/image_09122025_10_32_14_9616.jpg
/home/nano/Desktop/images/09122025/10/31/image_09122025_10_32_05_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":["1401209649","1401209651","1401209654","1401209657","1401209662","1401209659"],"photo_ids_order":["1401209649","1401209651","1401209654","1401209657","1401209659","1401209662"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0996123750c8289efd08256792a3c55f.jpg","text":"TemporaryFile(/tmp/multipartBody8701501586747543394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800624032,"filename":"image_09122025_10_32_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27464a3c8888a66c78a99565f6162b48.jpg","text":"TemporaryFile(/tmp/multipartBody4869251002781115915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800624032,"filename":"image_09122025_10_32_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/12/27/8367e101df3ea94723d9c5944fef7b5c.jpg","text":"TemporaryFile(/tmp/multipartBody275884460337173183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800624032,"filename":"image_09122025_10_32_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50ab9086a827da03d29d3d8887108160.jpg","text":"TemporaryFile(/tmp/multipartBody6203273194050325827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800624032,"filename":"image_09122025_10_32_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9e6fea1decc1f904beed067963ce2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8295912331153988410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800624032,"filename":"image_09122025_10_32_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4686bfaada968950416125404dfda77.jpg","text":"TemporaryFile(/tmp/multipartBody7911827500181902202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800624032,"filename":"image_09122025_10_32_14_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209654","file1":"1401209651","file0":"1401209649","file4":"1401209659","file5":"1401209662","file3":"1401209657"},"map_files_photo_id_array":[{"photo_id":"1401209662","filename":"file5"},{"photo_id":"1401209654","filename":"file2"},{"photo_id":"1401209659","filename":"file4"},{"photo_id":"1401209651","filename":"file1"},{"photo_id":"1401209649","filename":"file0"},{"photo_id":"1401209657","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209649":["hashtag1","hashtag2"]},{"1401209651":["hashtag1","hashtag2"]},{"1401209654":["hashtag1","hashtag2"]},{"1401209657":["hashtag1","hashtag2"]},{"1401209662":["hashtag1","hashtag2"]},{"1401209659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209649, 1401209651, 1401209654, 1401209657, 1401209662, 1401209659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23552680015564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:56:47.752830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_54_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_45_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_35_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_24_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_15_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_31_05_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_54_9616.jpg', '/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_45_9612.jpg', '/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_35_10611.jpg', '/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_24_9599.jpg', '/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_15_9608.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_31_05_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_54_9616.jpg
/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_45_9612.jpg
/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_35_10611.jpg
/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_24_9599.jpg
/home/nano/Desktop/images/09122025/10/31/image_09122025_10_31_15_9608.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_31_05_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":["1401209679","1401209690","1401209678","1401209687","1401209683","1401209677"],"photo_ids_order":["1401209677","1401209678","1401209679","1401209683","1401209687","1401209690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8aa0e2a4c5a6bda5c056cdca75a48880.jpg","text":"TemporaryFile(/tmp/multipartBody2467446421575447236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800668542,"filename":"image_09122025_10_31_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4fb70ca74b161932a67f6f74f415d61.jpg","text":"TemporaryFile(/tmp/multipartBody3163872702838608218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800668542,"filename":"image_09122025_10_31_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d0a135572a93a6b9415e30faffd50fb.jpg","text":"TemporaryFile(/tmp/multipartBody3230105078781217079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800668542,"filename":"image_09122025_10_31_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd83518041c01da434c4cc86148b5178.jpg","text":"TemporaryFile(/tmp/multipartBody3055796356124843102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800668542,"filename":"image_09122025_10_31_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d380088eb80ba727b8efc92eae893b84.jpg","text":"TemporaryFile(/tmp/multipartBody9088675883710528102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800668542,"filename":"image_09122025_10_31_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/12/27/03e71cb3f179da48531e8a9fd8ccc91b.jpg","text":"TemporaryFile(/tmp/multipartBody2860013525054990341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800668542,"filename":"image_09122025_10_31_54_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209679","file1":"1401209678","file0":"1401209677","file4":"1401209687","file5":"1401209690","file3":"1401209683"},"map_files_photo_id_array":[{"photo_id":"1401209690","filename":"file5"},{"photo_id":"1401209679","filename":"file2"},{"photo_id":"1401209687","filename":"file4"},{"photo_id":"1401209678","filename":"file1"},{"photo_id":"1401209677","filename":"file0"},{"photo_id":"1401209683","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209679":["hashtag1","hashtag2"]},{"1401209690":["hashtag1","hashtag2"]},{"1401209678":["hashtag1","hashtag2"]},{"1401209687":["hashtag1","hashtag2"]},{"1401209683":["hashtag1","hashtag2"]},{"1401209677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209679, 1401209690, 1401209678, 1401209687, 1401209683, 1401209677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61786651611328 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:57:31.856366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_54_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_45_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_34_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_25_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_15_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/10/29/image_09122025_10_30_04_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_54_9601.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_45_10611.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_34_9622.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_25_9607.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_15_10624.jpg', '/home/nano/Desktop/images/09122025/10/29/image_09122025_10_30_04_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_54_9601.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_45_10611.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_34_9622.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_25_9607.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_15_10624.jpg
/home/nano/Desktop/images/09122025/10/29/image_09122025_10_30_04_9604.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:58:02.169915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_54_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_45_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_34_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_25_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_15_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/10/29/image_09122025_10_30_04_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_54_9601.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_45_10611.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_34_9622.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_25_9607.jpg', '/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_15_10624.jpg', '/home/nano/Desktop/images/09122025/10/29/image_09122025_10_30_04_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_54_9601.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_45_10611.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_34_9622.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_25_9607.jpg
/home/nano/Desktop/images/09122025/10/30/image_09122025_10_30_15_10624.jpg
/home/nano/Desktop/images/09122025/10/29/image_09122025_10_30_04_9604.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401209712","1401209715","1401209714","1401209717","1401209713","1401209716"],"photo_ids_order":["1401209712","1401209713","1401209714","1401209715","1401209716","1401209717"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfbf8c526ade6cee5916b58d73c748be.jpg","text":"TemporaryFile(/tmp/multipartBody130963010856807437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800742956,"filename":"image_09122025_10_30_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/12/27/332181f630e4aa8af7a1f034108d8110.jpg","text":"TemporaryFile(/tmp/multipartBody729193606342765824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800742956,"filename":"image_09122025_10_30_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd6939a4109960134e118920083780b5.jpg","text":"TemporaryFile(/tmp/multipartBody4385903280263089844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800742956,"filename":"image_09122025_10_30_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/12/27/deeec8c2ffb1fd53af4c798f3ca1f015.jpg","text":"TemporaryFile(/tmp/multipartBody2189044844302389956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800742956,"filename":"image_09122025_10_30_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/12/27/fc8344cbb687a09ab8199a769e68eb29.jpg","text":"TemporaryFile(/tmp/multipartBody2554581738619707819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800742956,"filename":"image_09122025_10_30_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d615d30eb0789fd67df5206ac6cc5eda.jpg","text":"TemporaryFile(/tmp/multipartBody8388111468897659834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800742956,"filename":"image_09122025_10_30_15_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209714","file1":"1401209713","file0":"1401209712","file4":"1401209716","file5":"1401209717","file3":"1401209715"},"map_files_photo_id_array":[{"photo_id":"1401209717","filename":"file5"},{"photo_id":"1401209714","filename":"file2"},{"photo_id":"1401209716","filename":"file4"},{"photo_id":"1401209713","filename":"file1"},{"photo_id":"1401209712","filename":"file0"},{"photo_id":"1401209715","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209712":["hashtag1","hashtag2"]},{"1401209715":["hashtag1","hashtag2"]},{"1401209714":["hashtag1","hashtag2"]},{"1401209717":["hashtag1","hashtag2"]},{"1401209713":["hashtag1","hashtag2"]},{"1401209716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209712, 1401209715, 1401209714, 1401209717, 1401209713, 1401209716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.632808685302734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:59:03.198171
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_55_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_44_9685.jpg', 2), ('/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_34_9701.jpg', 2), ('/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_25_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_14_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/10/28/image_09122025_10_29_05_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_55_10624.jpg', '/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_44_9685.jpg', '/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_34_9701.jpg', '/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_25_10614.jpg', '/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_14_9623.jpg', '/home/nano/Desktop/images/09122025/10/28/image_09122025_10_29_05_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_55_10624.jpg
/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_44_9685.jpg
/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_34_9701.jpg
/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_25_10614.jpg
/home/nano/Desktop/images/09122025/10/29/image_09122025_10_29_14_9623.jpg
/home/nano/Desktop/images/09122025/10/28/image_09122025_10_29_05_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":["1401209993","1401209843","1401209953","1401209881","1401209917","1401209803"],"photo_ids_order":["1401209803","1401209843","1401209881","1401209917","1401209953","1401209993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf0fb101c91d7828ea51422c81e1514d.jpg","text":"TemporaryFile(/tmp/multipartBody658968337312972950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800804053,"filename":"image_09122025_10_29_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c1bc15aadc3358a8b7269bb3bc5600c.jpg","text":"TemporaryFile(/tmp/multipartBody6084551447687470831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800804053,"filename":"image_09122025_10_29_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/12/27/32b982a281385dfa800fb3fd57a84ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5480244981013504368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800804053,"filename":"image_09122025_10_29_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/12/27/35f9f9c58cc9b2792045e7acf334d931.jpg","text":"TemporaryFile(/tmp/multipartBody1204626481436526627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800804053,"filename":"image_09122025_10_29_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbe19ee169a10691b0655ec8a3f0ace4.jpg","text":"TemporaryFile(/tmp/multipartBody7193584842159217223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800804053,"filename":"image_09122025_10_29_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/627a6cb0bbead4ca68d124c377289cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8757983604219833072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800804053,"filename":"image_09122025_10_29_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401209881","file1":"1401209843","file0":"1401209803","file4":"1401209953","file5":"1401209993","file3":"1401209917"},"map_files_photo_id_array":[{"photo_id":"1401209993","filename":"file5"},{"photo_id":"1401209881","filename":"file2"},{"photo_id":"1401209953","filename":"file4"},{"photo_id":"1401209843","filename":"file1"},{"photo_id":"1401209803","filename":"file0"},{"photo_id":"1401209917","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401209993":["hashtag1","hashtag2"]},{"1401209843":["hashtag1","hashtag2"]},{"1401209953":["hashtag1","hashtag2"]},{"1401209881":["hashtag1","hashtag2"]},{"1401209917":["hashtag1","hashtag2"]},{"1401209803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401209993, 1401209843, 1401209953, 1401209881, 1401209917, 1401209803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35775351524353 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 02:59:47.641619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_44_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_35_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_25_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_14_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/27/image_09122025_10_28_05_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_55_10641.jpg', '/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_44_9644.jpg', '/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_35_9629.jpg', '/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_25_10605.jpg', '/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_14_9601.jpg', '/home/nano/Desktop/images/09122025/10/27/image_09122025_10_28_05_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_55_10641.jpg
/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_44_9644.jpg
/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_35_9629.jpg
/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_25_10605.jpg
/home/nano/Desktop/images/09122025/10/28/image_09122025_10_28_14_9601.jpg
/home/nano/Desktop/images/09122025/10/27/image_09122025_10_28_05_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":["1401210238","1401210321","1401210272","1401210204","1401210172","1401210355"],"photo_ids_order":["1401210172","1401210204","1401210238","1401210272","1401210321","1401210355"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4d04d2a7f1c0d9b3f76993d85b63b05.jpg","text":"TemporaryFile(/tmp/multipartBody3983795573958368814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800848442,"filename":"image_09122025_10_28_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/879c3ea8fc4de79cc360f37e4ca009ff.jpg","text":"TemporaryFile(/tmp/multipartBody3810126217180288744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800848442,"filename":"image_09122025_10_28_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/135804dcdef0d9ed28968319c4892f71.jpg","text":"TemporaryFile(/tmp/multipartBody5233880354992211052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800848442,"filename":"image_09122025_10_28_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/665e5f63dfceaa737e44b9d9b126da18.jpg","text":"TemporaryFile(/tmp/multipartBody713655908819838391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800848442,"filename":"image_09122025_10_28_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/12/27/01e4fb98e9b5b6fcaae659dc932b8120.jpg","text":"TemporaryFile(/tmp/multipartBody3241184941341142801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800848442,"filename":"image_09122025_10_28_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a2f6acfdff6793f45179ee191943cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4240321006689055714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800848442,"filename":"image_09122025_10_28_05_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401210238","file1":"1401210204","file0":"1401210172","file4":"1401210321","file5":"1401210355","file3":"1401210272"},"map_files_photo_id_array":[{"photo_id":"1401210355","filename":"file5"},{"photo_id":"1401210238","filename":"file2"},{"photo_id":"1401210321","filename":"file4"},{"photo_id":"1401210204","filename":"file1"},{"photo_id":"1401210172","filename":"file0"},{"photo_id":"1401210272","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401210238":["hashtag1","hashtag2"]},{"1401210321":["hashtag1","hashtag2"]},{"1401210272":["hashtag1","hashtag2"]},{"1401210204":["hashtag1","hashtag2"]},{"1401210172":["hashtag1","hashtag2"]},{"1401210355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401210238, 1401210321, 1401210272, 1401210204, 1401210172, 1401210355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.176589488983154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:00:32.742467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_54_9593.jpg', 2), ('/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_45_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_35_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_24_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_15_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/10/26/image_09122025_10_27_04_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_54_9593.jpg', '/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_45_9599.jpg', '/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_35_10622.jpg', '/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_24_9592.jpg', '/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_15_10618.jpg', '/home/nano/Desktop/images/09122025/10/26/image_09122025_10_27_04_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_54_9593.jpg
/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_45_9599.jpg
/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_35_10622.jpg
/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_24_9592.jpg
/home/nano/Desktop/images/09122025/10/27/image_09122025_10_27_15_10618.jpg
/home/nano/Desktop/images/09122025/10/26/image_09122025_10_27_04_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":["1401210541","1401210576","1401210543","1401210609","1401210644","1401210542"],"photo_ids_order":["1401210541","1401210542","1401210543","1401210576","1401210609","1401210644"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55cff40d735e9b9f144abb5ed52aac24.jpg","text":"TemporaryFile(/tmp/multipartBody4719746869236004220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800893533,"filename":"image_09122025_10_27_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/12/27/91064beecf874b0a20c0dad8c6b5b163.jpg","text":"TemporaryFile(/tmp/multipartBody5491620091862768425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800893533,"filename":"image_09122025_10_27_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/12/27/0eaace31ee0d78e402c74e184bec716b.jpg","text":"TemporaryFile(/tmp/multipartBody8968322108209843809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800893533,"filename":"image_09122025_10_27_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5d7bc7ed7ba2fcf04af231e232d5c14.jpg","text":"TemporaryFile(/tmp/multipartBody864185545127579225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800893533,"filename":"image_09122025_10_27_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d891688dd64b2a53b642c63cbd0a578e.jpg","text":"TemporaryFile(/tmp/multipartBody1274845580293843688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800893533,"filename":"image_09122025_10_27_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a301efe16c120c0a51b1768a6251e161.jpg","text":"TemporaryFile(/tmp/multipartBody2201371919719222520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800893533,"filename":"image_09122025_10_27_45_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401210543","file1":"1401210542","file0":"1401210541","file4":"1401210609","file5":"1401210644","file3":"1401210576"},"map_files_photo_id_array":[{"photo_id":"1401210644","filename":"file5"},{"photo_id":"1401210543","filename":"file2"},{"photo_id":"1401210609","filename":"file4"},{"photo_id":"1401210542","filename":"file1"},{"photo_id":"1401210541","filename":"file0"},{"photo_id":"1401210576","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401210541":["hashtag1","hashtag2"]},{"1401210576":["hashtag1","hashtag2"]},{"1401210543":["hashtag1","hashtag2"]},{"1401210609":["hashtag1","hashtag2"]},{"1401210644":["hashtag1","hashtag2"]},{"1401210542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401210541, 1401210576, 1401210543, 1401210609, 1401210644, 1401210542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28569960594177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:01:16.847754
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_55_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_45_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_34_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_25_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_14_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/10/25/image_09122025_10_26_04_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_55_9607.jpg', '/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_45_10605.jpg', '/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_34_9611.jpg', '/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_25_10605.jpg', '/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_14_9614.jpg', '/home/nano/Desktop/images/09122025/10/25/image_09122025_10_26_04_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_55_9607.jpg
/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_45_10605.jpg
/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_34_9611.jpg
/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_25_10605.jpg
/home/nano/Desktop/images/09122025/10/26/image_09122025_10_26_14_9614.jpg
/home/nano/Desktop/images/09122025/10/25/image_09122025_10_26_04_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":["1401211218","1401211340","1401210977","1401211051","1401210908","1401211114"],"photo_ids_order":["1401210908","1401210977","1401211051","1401211114","1401211218","1401211340"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cb428e0493c9c38fa9362143860952b.jpg","text":"TemporaryFile(/tmp/multipartBody8293752415511743359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800937645,"filename":"image_09122025_10_26_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/12/27/614e4b30a9f4fb0887076c5cfd19d415.jpg","text":"TemporaryFile(/tmp/multipartBody440048390117143898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800937645,"filename":"image_09122025_10_26_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/12/27/5189605defd75e2efa4ecbfcec4d8fa9.jpg","text":"TemporaryFile(/tmp/multipartBody7716375884267725021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800937645,"filename":"image_09122025_10_26_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b2ea5d07efd2ec17701889ae0af6e55.jpg","text":"TemporaryFile(/tmp/multipartBody6826082477857932816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800937645,"filename":"image_09122025_10_26_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/12/27/a00f5188ad05cae87bbcc304f6bb0f11.jpg","text":"TemporaryFile(/tmp/multipartBody3117530992310343343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800937645,"filename":"image_09122025_10_26_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93aa909fe5c40cf306ad751127d0d712.jpg","text":"TemporaryFile(/tmp/multipartBody4207732228088038520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800937645,"filename":"image_09122025_10_26_25_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401211051","file1":"1401210977","file0":"1401210908","file4":"1401211218","file5":"1401211340","file3":"1401211114"},"map_files_photo_id_array":[{"photo_id":"1401211340","filename":"file5"},{"photo_id":"1401211051","filename":"file2"},{"photo_id":"1401211218","filename":"file4"},{"photo_id":"1401210977","filename":"file1"},{"photo_id":"1401210908","filename":"file0"},{"photo_id":"1401211114","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401211218":["hashtag1","hashtag2"]},{"1401211340":["hashtag1","hashtag2"]},{"1401210977":["hashtag1","hashtag2"]},{"1401211051":["hashtag1","hashtag2"]},{"1401210908":["hashtag1","hashtag2"]},{"1401211114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401211218, 1401211340, 1401210977, 1401211051, 1401210908, 1401211114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.143168926239014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:02:02.117165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_55_10601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_44_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_35_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_25_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_14_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/10/24/image_09122025_10_25_05_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_55_10601.jpg', '/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_44_9594.jpg', '/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_35_9592.jpg', '/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_25_10604.jpg', '/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_14_9618.jpg', '/home/nano/Desktop/images/09122025/10/24/image_09122025_10_25_05_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_55_10601.jpg
/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_44_9594.jpg
/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_35_9592.jpg
/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_25_10604.jpg
/home/nano/Desktop/images/09122025/10/25/image_09122025_10_25_14_9618.jpg
/home/nano/Desktop/images/09122025/10/24/image_09122025_10_25_05_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":["1401211851","1401211905","1401211897","1401211885","1401211900","1401211810"],"photo_ids_order":["1401211810","1401211851","1401211885","1401211897","1401211900","1401211905"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52affe4d942a5fb77314ecd771aa7ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1730497304398166208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800982934,"filename":"image_09122025_10_25_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2684d956ef9e284e49e0499421fe5969.jpg","text":"TemporaryFile(/tmp/multipartBody5704789420430604824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800982934,"filename":"image_09122025_10_25_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c7a17bdc862133d99e91e0136225c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6429009223308787915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800982934,"filename":"image_09122025_10_25_25_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a2ac8a7159f80385f1e374ab1438e11.jpg","text":"TemporaryFile(/tmp/multipartBody3515208517418816896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800982934,"filename":"image_09122025_10_25_35_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3111dcaf3d952dff5f12faa5bfd6c880.jpg","text":"TemporaryFile(/tmp/multipartBody1657079715091625991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800982934,"filename":"image_09122025_10_25_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/12/27/ea64433f939fc4a680a373855be693fe.jpg","text":"TemporaryFile(/tmp/multipartBody9156875455850640221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766800982934,"filename":"image_09122025_10_25_55_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401211885","file1":"1401211851","file0":"1401211810","file4":"1401211900","file5":"1401211905","file3":"1401211897"},"map_files_photo_id_array":[{"photo_id":"1401211905","filename":"file5"},{"photo_id":"1401211885","filename":"file2"},{"photo_id":"1401211900","filename":"file4"},{"photo_id":"1401211851","filename":"file1"},{"photo_id":"1401211810","filename":"file0"},{"photo_id":"1401211897","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401211851":["hashtag1","hashtag2"]},{"1401211905":["hashtag1","hashtag2"]},{"1401211897":["hashtag1","hashtag2"]},{"1401211885":["hashtag1","hashtag2"]},{"1401211900":["hashtag1","hashtag2"]},{"1401211810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401211851, 1401211905, 1401211897, 1401211885, 1401211900, 1401211810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24478626251221 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:02:46.954652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_54_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_45_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_35_10595.jpg', 2), ('/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_24_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_15_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/10/23/image_09122025_10_24_04_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_54_9588.jpg', '/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_45_9594.jpg', '/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_35_10595.jpg', '/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_24_9591.jpg', '/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_15_10636.jpg', '/home/nano/Desktop/images/09122025/10/23/image_09122025_10_24_04_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_54_9588.jpg
/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_45_9594.jpg
/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_35_10595.jpg
/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_24_9591.jpg
/home/nano/Desktop/images/09122025/10/24/image_09122025_10_24_15_10636.jpg
/home/nano/Desktop/images/09122025/10/23/image_09122025_10_24_04_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":["1401211926","1401211928","1401211925","1401211924","1401211927","1401211936"],"photo_ids_order":["1401211924","1401211925","1401211926","1401211927","1401211928","1401211936"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72a1abf8cd3177576d0ae155fe0063c4.jpg","text":"TemporaryFile(/tmp/multipartBody8620966920064075183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801027777,"filename":"image_09122025_10_24_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fe188d27893a76f4acd51b676bb6da3.jpg","text":"TemporaryFile(/tmp/multipartBody6571307110412371172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801027777,"filename":"image_09122025_10_24_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea3a5799c71ad8428f0a399712073e91.jpg","text":"TemporaryFile(/tmp/multipartBody2846254019470890434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801027777,"filename":"image_09122025_10_24_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/604a04d07b8c7b9bd194a149935413ac.jpg","text":"TemporaryFile(/tmp/multipartBody190685589718726691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801027777,"filename":"image_09122025_10_24_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/12/27/5b8b083f30d5851aea914ce1f4de7ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6984285610412979143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801027777,"filename":"image_09122025_10_24_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/12/27/8373f089632f934fc6bd55d03b15a719.jpg","text":"TemporaryFile(/tmp/multipartBody4666323895071609319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801027777,"filename":"image_09122025_10_24_04_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401211926","file1":"1401211925","file0":"1401211924","file4":"1401211928","file5":"1401211936","file3":"1401211927"},"map_files_photo_id_array":[{"photo_id":"1401211936","filename":"file5"},{"photo_id":"1401211926","filename":"file2"},{"photo_id":"1401211928","filename":"file4"},{"photo_id":"1401211925","filename":"file1"},{"photo_id":"1401211924","filename":"file0"},{"photo_id":"1401211927","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401211926":["hashtag1","hashtag2"]},{"1401211928":["hashtag1","hashtag2"]},{"1401211925":["hashtag1","hashtag2"]},{"1401211924":["hashtag1","hashtag2"]},{"1401211927":["hashtag1","hashtag2"]},{"1401211936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401211926, 1401211928, 1401211925, 1401211924, 1401211927, 1401211936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80072855949402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:03:32.065077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_55_9595.jpg', 2), ('/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_45_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_34_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_25_10603.jpg', 2), ('/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_14_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/10/22/image_09122025_10_23_05_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_55_9595.jpg', '/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_45_10599.jpg', '/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_34_9599.jpg', '/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_25_10603.jpg', '/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_14_9609.jpg', '/home/nano/Desktop/images/09122025/10/22/image_09122025_10_23_05_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_55_9595.jpg
/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_45_10599.jpg
/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_34_9599.jpg
/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_25_10603.jpg
/home/nano/Desktop/images/09122025/10/23/image_09122025_10_23_14_9609.jpg
/home/nano/Desktop/images/09122025/10/22/image_09122025_10_23_05_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":["1401212139","1401212240","1401212269","1401212206","1401212271","1401212172"],"photo_ids_order":["1401212139","1401212172","1401212206","1401212240","1401212269","1401212271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f1eb0eadb8a74eb6c0e64d33c9fc998.jpg","text":"TemporaryFile(/tmp/multipartBody73460676246275461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801072851,"filename":"image_09122025_10_23_55_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99e69327e035661ec6af416a3f5683d2.jpg","text":"TemporaryFile(/tmp/multipartBody2776304637001886339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801072851,"filename":"image_09122025_10_23_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11ca5f575598b163836c9a8e4a9026ff.jpg","text":"TemporaryFile(/tmp/multipartBody9023746899102205222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801072851,"filename":"image_09122025_10_23_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/12/27/6257e89e2a307820309d7739cc578b12.jpg","text":"TemporaryFile(/tmp/multipartBody1505235263079243391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801072851,"filename":"image_09122025_10_23_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/12/27/d76331e6b9c31ea667a0b3a129d360fa.jpg","text":"TemporaryFile(/tmp/multipartBody5455963085739347810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801072851,"filename":"image_09122025_10_23_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8991cb2f4194038bf1a96fa65df1ee04.jpg","text":"TemporaryFile(/tmp/multipartBody5202615780638042309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801072851,"filename":"image_09122025_10_23_45_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212206","file1":"1401212172","file0":"1401212139","file4":"1401212269","file5":"1401212271","file3":"1401212240"},"map_files_photo_id_array":[{"photo_id":"1401212271","filename":"file5"},{"photo_id":"1401212206","filename":"file2"},{"photo_id":"1401212269","filename":"file4"},{"photo_id":"1401212172","filename":"file1"},{"photo_id":"1401212139","filename":"file0"},{"photo_id":"1401212240","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212139":["hashtag1","hashtag2"]},{"1401212240":["hashtag1","hashtag2"]},{"1401212269":["hashtag1","hashtag2"]},{"1401212206":["hashtag1","hashtag2"]},{"1401212271":["hashtag1","hashtag2"]},{"1401212172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212139, 1401212240, 1401212269, 1401212206, 1401212271, 1401212172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50923752784729 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:04:17.253148
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/03/04/image_27122025_03_04_35_10517.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/03/04/image_27122025_03_04_35_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/03/04/image_27122025_03_04_35_10517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212343"],"photo_id":"1401212343","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86c25b6a1b987bd2468cfaccb5e55fda.jpg","text":"TemporaryFile(/tmp/multipartBody71244377889847610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801117493,"filename":"image_27122025_03_04_35_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401212343"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401212343"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.50473165512085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:04:32.195322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_55_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_44_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_35_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_24_9593.jpg', 2), ('/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_15_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/10/21/image_09122025_10_22_05_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_55_10604.jpg', '/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_44_9612.jpg', '/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_35_10615.jpg', '/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_24_9593.jpg', '/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_15_9606.jpg', '/home/nano/Desktop/images/09122025/10/21/image_09122025_10_22_05_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_55_10604.jpg
/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_44_9612.jpg
/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_35_10615.jpg
/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_24_9593.jpg
/home/nano/Desktop/images/09122025/10/22/image_09122025_10_22_15_9606.jpg
/home/nano/Desktop/images/09122025/10/21/image_09122025_10_22_05_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":["1401212418","1401212417","1401212414","1401212416","1401212412","1401212406"],"photo_ids_order":["1401212406","1401212412","1401212414","1401212416","1401212417","1401212418"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afa5b4819fe998fdb3d01743fdd457d3.jpg","text":"TemporaryFile(/tmp/multipartBody2849175303176726172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801133022,"filename":"image_09122025_10_22_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e41b77f0792ecf658913869971aa2e3d.jpg","text":"TemporaryFile(/tmp/multipartBody3405316113752658637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801133022,"filename":"image_09122025_10_22_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a90fce8ec84195f1308a30b724db584.jpg","text":"TemporaryFile(/tmp/multipartBody1924685053217970004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801133022,"filename":"image_09122025_10_22_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7cbb23a4eb9ee38d342c697a82b3d67.jpg","text":"TemporaryFile(/tmp/multipartBody3403144785705340576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801133022,"filename":"image_09122025_10_22_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6123dfcd2aa112744635721080a5a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody476065296344324144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801133022,"filename":"image_09122025_10_22_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/12/27/678a98bcad13eb81a056f825d6ab9094.jpg","text":"TemporaryFile(/tmp/multipartBody3580235412634275071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801133022,"filename":"image_09122025_10_22_55_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212414","file1":"1401212412","file0":"1401212406","file4":"1401212417","file5":"1401212418","file3":"1401212416"},"map_files_photo_id_array":[{"photo_id":"1401212418","filename":"file5"},{"photo_id":"1401212414","filename":"file2"},{"photo_id":"1401212417","filename":"file4"},{"photo_id":"1401212412","filename":"file1"},{"photo_id":"1401212406","filename":"file0"},{"photo_id":"1401212416","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212418":["hashtag1","hashtag2"]},{"1401212417":["hashtag1","hashtag2"]},{"1401212414":["hashtag1","hashtag2"]},{"1401212416":["hashtag1","hashtag2"]},{"1401212412":["hashtag1","hashtag2"]},{"1401212406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212418, 1401212417, 1401212414, 1401212416, 1401212412, 1401212406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22506523132324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:05:17.274963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_54_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_45_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_34_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_25_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_15_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/10/20/image_09122025_10_21_04_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_54_9592.jpg', '/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_45_10605.jpg', '/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_34_9603.jpg', '/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_25_9602.jpg', '/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_15_10621.jpg', '/home/nano/Desktop/images/09122025/10/20/image_09122025_10_21_04_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_54_9592.jpg
/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_45_10605.jpg
/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_34_9603.jpg
/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_25_9602.jpg
/home/nano/Desktop/images/09122025/10/21/image_09122025_10_21_15_10621.jpg
/home/nano/Desktop/images/09122025/10/20/image_09122025_10_21_04_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":["1401212453","1401212426","1401212449","1401212428","1401212437","1401212451"],"photo_ids_order":["1401212426","1401212428","1401212437","1401212449","1401212451","1401212453"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b63e1dd03ab9d06517af16e8235842eb.jpg","text":"TemporaryFile(/tmp/multipartBody2269726226909111372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801178076,"filename":"image_09122025_10_21_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4e815609ad75d4a1c53b07336469d73.jpg","text":"TemporaryFile(/tmp/multipartBody7777822189785862685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801178076,"filename":"image_09122025_10_21_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/12/27/88e54f1001f8e3cc2cc0a85a9f711c5f.jpg","text":"TemporaryFile(/tmp/multipartBody1541896437471764203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801178076,"filename":"image_09122025_10_21_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/662374deb4d0209bffdd2d98642e2b14.jpg","text":"TemporaryFile(/tmp/multipartBody2934717248387011207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801178076,"filename":"image_09122025_10_21_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe8c70f90b7fa0e311dfeca99384bdab.jpg","text":"TemporaryFile(/tmp/multipartBody2247089409893074834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801178076,"filename":"image_09122025_10_21_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/12/27/c42a169d66f8e0fce179fe723dbcd0ea.jpg","text":"TemporaryFile(/tmp/multipartBody5116997773464062447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801178076,"filename":"image_09122025_10_21_15_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212437","file1":"1401212428","file0":"1401212426","file4":"1401212451","file5":"1401212453","file3":"1401212449"},"map_files_photo_id_array":[{"photo_id":"1401212453","filename":"file5"},{"photo_id":"1401212437","filename":"file2"},{"photo_id":"1401212451","filename":"file4"},{"photo_id":"1401212428","filename":"file1"},{"photo_id":"1401212426","filename":"file0"},{"photo_id":"1401212449","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212453":["hashtag1","hashtag2"]},{"1401212426":["hashtag1","hashtag2"]},{"1401212449":["hashtag1","hashtag2"]},{"1401212428":["hashtag1","hashtag2"]},{"1401212437":["hashtag1","hashtag2"]},{"1401212451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212453, 1401212426, 1401212449, 1401212428, 1401212437, 1401212451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95056962966919 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:06:02.740872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_55_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_44_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_35_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_25_10599.jpg', 2), ('/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_14_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/10/19/image_09122025_10_20_05_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_55_10605.jpg', '/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_44_9599.jpg', '/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_35_9592.jpg', '/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_25_10599.jpg', '/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_14_9609.jpg', '/home/nano/Desktop/images/09122025/10/19/image_09122025_10_20_05_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_55_10605.jpg
/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_44_9599.jpg
/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_35_9592.jpg
/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_25_10599.jpg
/home/nano/Desktop/images/09122025/10/20/image_09122025_10_20_14_9609.jpg
/home/nano/Desktop/images/09122025/10/19/image_09122025_10_20_05_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":["1401212462","1401212465","1401212459","1401212467","1401212458","1401212469"],"photo_ids_order":["1401212458","1401212459","1401212462","1401212465","1401212467","1401212469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f75ab0071d914b4241596868b7a5ee19.jpg","text":"TemporaryFile(/tmp/multipartBody1976110554892119057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801223582,"filename":"image_09122025_10_20_35_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53f527ecaf84be367604b7fe133ad641.jpg","text":"TemporaryFile(/tmp/multipartBody5646663374602091903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801223582,"filename":"image_09122025_10_20_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ec5f538e585969b192b03e52cadf3c0.jpg","text":"TemporaryFile(/tmp/multipartBody756952731459195965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801223582,"filename":"image_09122025_10_20_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/12/27/7455ae2e404f2565169086257ec2c37e.jpg","text":"TemporaryFile(/tmp/multipartBody4519704761599703942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801223582,"filename":"image_09122025_10_20_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/12/27/5431aaf5414f07a2ff7e4523650c8e41.jpg","text":"TemporaryFile(/tmp/multipartBody2020699641989333439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801223582,"filename":"image_09122025_10_20_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60461a419238f574ecdfe563ca39859b.jpg","text":"TemporaryFile(/tmp/multipartBody5048881329195775878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801223582,"filename":"image_09122025_10_20_05_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212462","file1":"1401212459","file0":"1401212458","file4":"1401212467","file5":"1401212469","file3":"1401212465"},"map_files_photo_id_array":[{"photo_id":"1401212469","filename":"file5"},{"photo_id":"1401212462","filename":"file2"},{"photo_id":"1401212467","filename":"file4"},{"photo_id":"1401212459","filename":"file1"},{"photo_id":"1401212458","filename":"file0"},{"photo_id":"1401212465","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212462":["hashtag1","hashtag2"]},{"1401212465":["hashtag1","hashtag2"]},{"1401212459":["hashtag1","hashtag2"]},{"1401212467":["hashtag1","hashtag2"]},{"1401212458":["hashtag1","hashtag2"]},{"1401212469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212462, 1401212465, 1401212459, 1401212467, 1401212458, 1401212469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.552175998687744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:06:47.389670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_54_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_45_9584.jpg', 2), ('/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_35_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_24_9587.jpg', 2), ('/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_15_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/10/18/image_09122025_10_19_04_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_54_9584.jpg', '/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_45_9584.jpg', '/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_35_10602.jpg', '/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_24_9587.jpg', '/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_15_10617.jpg', '/home/nano/Desktop/images/09122025/10/18/image_09122025_10_19_04_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_54_9584.jpg
/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_45_9584.jpg
/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_35_10602.jpg
/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_24_9587.jpg
/home/nano/Desktop/images/09122025/10/19/image_09122025_10_19_15_10617.jpg
/home/nano/Desktop/images/09122025/10/18/image_09122025_10_19_04_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":["1401212492","1401212489","1401212480","1401212482","1401212488","1401212481"],"photo_ids_order":["1401212480","1401212481","1401212482","1401212488","1401212489","1401212492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97cdb95d675f71e4a5e297e8ba5240b0.jpg","text":"TemporaryFile(/tmp/multipartBody8385458463141871055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801268194,"filename":"image_09122025_10_19_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/12/27/a7061c89778db9cb7623440f579f2ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4035920250608206062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801268194,"filename":"image_09122025_10_19_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2418d2a18429f92ab01dc4c9acefac9.jpg","text":"TemporaryFile(/tmp/multipartBody1245149532655174322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801268194,"filename":"image_09122025_10_19_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ec1da098dc542538a20af4ce645503a.jpg","text":"TemporaryFile(/tmp/multipartBody4636651903724488084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801268194,"filename":"image_09122025_10_19_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73463cf94863d7433b2641e0fa0be3dc.jpg","text":"TemporaryFile(/tmp/multipartBody425466043864290895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801268194,"filename":"image_09122025_10_19_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e893dc237d5d99d2e0e8e66b39aefb39.jpg","text":"TemporaryFile(/tmp/multipartBody6791815535271450401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801268194,"filename":"image_09122025_10_19_45_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212482","file1":"1401212481","file0":"1401212480","file4":"1401212489","file5":"1401212492","file3":"1401212488"},"map_files_photo_id_array":[{"photo_id":"1401212492","filename":"file5"},{"photo_id":"1401212482","filename":"file2"},{"photo_id":"1401212489","filename":"file4"},{"photo_id":"1401212481","filename":"file1"},{"photo_id":"1401212480","filename":"file0"},{"photo_id":"1401212488","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212492":["hashtag1","hashtag2"]},{"1401212489":["hashtag1","hashtag2"]},{"1401212480":["hashtag1","hashtag2"]},{"1401212482":["hashtag1","hashtag2"]},{"1401212488":["hashtag1","hashtag2"]},{"1401212481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212492, 1401212489, 1401212480, 1401212482, 1401212488, 1401212481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.251816511154175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:07:32.520769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_55_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_45_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_34_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_25_10603.jpg', 2), ('/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_14_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/10/17/image_09122025_10_18_04_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_55_9594.jpg', '/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_45_10610.jpg', '/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_34_9592.jpg', '/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_25_10603.jpg', '/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_14_9624.jpg', '/home/nano/Desktop/images/09122025/10/17/image_09122025_10_18_04_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_55_9594.jpg
/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_45_10610.jpg
/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_34_9592.jpg
/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_25_10603.jpg
/home/nano/Desktop/images/09122025/10/18/image_09122025_10_18_14_9624.jpg
/home/nano/Desktop/images/09122025/10/17/image_09122025_10_18_04_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212508","1401212504","1401212509","1401212512","1401212506","1401212511"],"photo_ids_order":["1401212504","1401212506","1401212508","1401212509","1401212511","1401212512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6500c2560413f009df08c9097af78405.jpg","text":"TemporaryFile(/tmp/multipartBody5229802927096671524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801313305,"filename":"image_09122025_10_18_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/394d8f41c627d926a11de57c3fb72d04.jpg","text":"TemporaryFile(/tmp/multipartBody5682178164569057502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801313305,"filename":"image_09122025_10_18_55_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45f9b9d35054f22dd39b2d48f1aa8691.jpg","text":"TemporaryFile(/tmp/multipartBody647008131856007253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801313305,"filename":"image_09122025_10_18_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec15ef68e9a5198a1e74f3887d55d47c.jpg","text":"TemporaryFile(/tmp/multipartBody9138264593904369803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801313305,"filename":"image_09122025_10_18_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2b0dbaa3ce4e885bb01d99b8a68ed66.jpg","text":"TemporaryFile(/tmp/multipartBody6242596806177921239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801313305,"filename":"image_09122025_10_18_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c4c861a4166d430f7ccfabcda937c42.jpg","text":"TemporaryFile(/tmp/multipartBody2407796730658345743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801313305,"filename":"image_09122025_10_18_14_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212508","file1":"1401212506","file0":"1401212504","file4":"1401212511","file5":"1401212512","file3":"1401212509"},"map_files_photo_id_array":[{"photo_id":"1401212512","filename":"file5"},{"photo_id":"1401212508","filename":"file2"},{"photo_id":"1401212511","filename":"file4"},{"photo_id":"1401212506","filename":"file1"},{"photo_id":"1401212504","filename":"file0"},{"photo_id":"1401212509","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212508":["hashtag1","hashtag2"]},{"1401212504":["hashtag1","hashtag2"]},{"1401212509":["hashtag1","hashtag2"]},{"1401212512":["hashtag1","hashtag2"]},{"1401212506":["hashtag1","hashtag2"]},{"1401212511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212508, 1401212504, 1401212509, 1401212512, 1401212506, 1401212511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76058030128479 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:08:17.637876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_55_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_44_9591.jpg', 2), ('/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_35_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_25_10600.jpg', 2), ('/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_14_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/10/16/image_09122025_10_17_05_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_55_10621.jpg', '/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_44_9591.jpg', '/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_35_9609.jpg', '/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_25_10600.jpg', '/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_14_9607.jpg', '/home/nano/Desktop/images/09122025/10/16/image_09122025_10_17_05_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_55_10621.jpg
/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_44_9591.jpg
/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_35_9609.jpg
/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_25_10600.jpg
/home/nano/Desktop/images/09122025/10/17/image_09122025_10_17_14_9607.jpg
/home/nano/Desktop/images/09122025/10/16/image_09122025_10_17_05_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":["1401212520","1401212522","1401212531","1401212528","1401212533","1401212524"],"photo_ids_order":["1401212520","1401212522","1401212524","1401212528","1401212531","1401212533"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91d53df40d3899557fe6f2bd28a832c8.jpg","text":"TemporaryFile(/tmp/multipartBody627256061177654658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801358433,"filename":"image_09122025_10_17_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b6597a335f34eda6ccd91b8f3daf848.jpg","text":"TemporaryFile(/tmp/multipartBody2454830123517607465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801358433,"filename":"image_09122025_10_17_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0e86d72709e23773d25232b93b14aa2.jpg","text":"TemporaryFile(/tmp/multipartBody4489469839361129718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801358433,"filename":"image_09122025_10_17_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53e88b17e069a28cd465ca3bff05dccb.jpg","text":"TemporaryFile(/tmp/multipartBody6085994947840354951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801358433,"filename":"image_09122025_10_17_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6115f55cc0c38dec45aa75db87e0e2cb.jpg","text":"TemporaryFile(/tmp/multipartBody1663506712071645850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801358433,"filename":"image_09122025_10_17_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30b2d91851fb96d7d2050131e50aa9c0.jpg","text":"TemporaryFile(/tmp/multipartBody4903336142320496698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801358433,"filename":"image_09122025_10_17_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212524","file1":"1401212522","file0":"1401212520","file4":"1401212531","file5":"1401212533","file3":"1401212528"},"map_files_photo_id_array":[{"photo_id":"1401212533","filename":"file5"},{"photo_id":"1401212524","filename":"file2"},{"photo_id":"1401212531","filename":"file4"},{"photo_id":"1401212522","filename":"file1"},{"photo_id":"1401212520","filename":"file0"},{"photo_id":"1401212528","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212520":["hashtag1","hashtag2"]},{"1401212522":["hashtag1","hashtag2"]},{"1401212531":["hashtag1","hashtag2"]},{"1401212528":["hashtag1","hashtag2"]},{"1401212533":["hashtag1","hashtag2"]},{"1401212524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212520, 1401212522, 1401212531, 1401212528, 1401212533, 1401212524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70772075653076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:09:03.538112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_54_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_45_9593.jpg', 2), ('/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_35_10601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_24_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_15_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/10/15/image_09122025_10_16_04_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_54_9596.jpg', '/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_45_9593.jpg', '/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_35_10601.jpg', '/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_24_9605.jpg', '/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_15_10623.jpg', '/home/nano/Desktop/images/09122025/10/15/image_09122025_10_16_04_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_54_9596.jpg
/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_45_9593.jpg
/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_35_10601.jpg
/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_24_9605.jpg
/home/nano/Desktop/images/09122025/10/16/image_09122025_10_16_15_10623.jpg
/home/nano/Desktop/images/09122025/10/15/image_09122025_10_16_04_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":["1401212537","1401212545","1401212539","1401212542","1401212550","1401212547"],"photo_ids_order":["1401212537","1401212539","1401212542","1401212545","1401212547","1401212550"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a909b11f2c0f00b8f080c4ada00d0bf.jpg","text":"TemporaryFile(/tmp/multipartBody7068105884131119166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801404339,"filename":"image_09122025_10_16_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/12/27/cf7a5b670c73a694d754487e05e6134d.jpg","text":"TemporaryFile(/tmp/multipartBody5345611767615888972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801404339,"filename":"image_09122025_10_16_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/12/27/09080d21bb07d864e1ef65924f719ff9.jpg","text":"TemporaryFile(/tmp/multipartBody6610501766844558719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801404339,"filename":"image_09122025_10_16_45_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ab98aec1f45743c28800496439a3dd2.jpg","text":"TemporaryFile(/tmp/multipartBody1807948241260672423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801404339,"filename":"image_09122025_10_16_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa4672fa924da8e10e4a54a6b56f2388.jpg","text":"TemporaryFile(/tmp/multipartBody3534816801266731793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801404339,"filename":"image_09122025_10_16_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eaec6fecc278275e18ec7ffe2fb4ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody6987896855499099153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801404339,"filename":"image_09122025_10_16_15_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212542","file1":"1401212539","file0":"1401212537","file4":"1401212547","file5":"1401212550","file3":"1401212545"},"map_files_photo_id_array":[{"photo_id":"1401212550","filename":"file5"},{"photo_id":"1401212542","filename":"file2"},{"photo_id":"1401212547","filename":"file4"},{"photo_id":"1401212539","filename":"file1"},{"photo_id":"1401212537","filename":"file0"},{"photo_id":"1401212545","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212537":["hashtag1","hashtag2"]},{"1401212545":["hashtag1","hashtag2"]},{"1401212539":["hashtag1","hashtag2"]},{"1401212542":["hashtag1","hashtag2"]},{"1401212550":["hashtag1","hashtag2"]},{"1401212547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212537, 1401212545, 1401212539, 1401212542, 1401212550, 1401212547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60491228103638 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:09:47.740958
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_55_9589.jpg', 2), ('/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_45_10598.jpg', 2), ('/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_34_9592.jpg', 2), ('/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_25_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_14_9706.jpg', 2), ('/home/nano/Desktop/images/09122025/10/14/image_09122025_10_15_05_9729.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_55_9589.jpg', '/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_45_10598.jpg', '/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_34_9592.jpg', '/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_25_10602.jpg', '/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_14_9706.jpg', '/home/nano/Desktop/images/09122025/10/14/image_09122025_10_15_05_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_55_9589.jpg
/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_45_10598.jpg
/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_34_9592.jpg
/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_25_10602.jpg
/home/nano/Desktop/images/09122025/10/15/image_09122025_10_15_14_9706.jpg
/home/nano/Desktop/images/09122025/10/14/image_09122025_10_15_05_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212564","1401212558","1401212557","1401212560","1401212562","1401212559"],"photo_ids_order":["1401212557","1401212558","1401212559","1401212560","1401212562","1401212564"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84fbbed85256696d3fa00f582906f6ca.jpg","text":"TemporaryFile(/tmp/multipartBody7066944108404664338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801448549,"filename":"image_09122025_10_15_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d681fc41bede430c7aff0b91b3ceccd.jpg","text":"TemporaryFile(/tmp/multipartBody6413240574175339883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801448549,"filename":"image_09122025_10_15_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2fa4a742ae54a9073ebe018a11278362.jpg","text":"TemporaryFile(/tmp/multipartBody3109335731014103430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801448549,"filename":"image_09122025_10_15_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/304db06f7c1d10c794094f4ffd9e752d.jpg","text":"TemporaryFile(/tmp/multipartBody5625190657764129500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801448549,"filename":"image_09122025_10_15_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de9787cd1172a20fd7d6437c92759522.jpg","text":"TemporaryFile(/tmp/multipartBody4581533327539266136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801448549,"filename":"image_09122025_10_15_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/12/27/dcdb11a5234329a02ae97ec6c57c85f0.jpg","text":"TemporaryFile(/tmp/multipartBody8503624424845032011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801448549,"filename":"image_09122025_10_15_34_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212559","file1":"1401212558","file0":"1401212557","file4":"1401212562","file5":"1401212564","file3":"1401212560"},"map_files_photo_id_array":[{"photo_id":"1401212564","filename":"file5"},{"photo_id":"1401212559","filename":"file2"},{"photo_id":"1401212562","filename":"file4"},{"photo_id":"1401212558","filename":"file1"},{"photo_id":"1401212557","filename":"file0"},{"photo_id":"1401212560","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212564":["hashtag1","hashtag2"]},{"1401212558":["hashtag1","hashtag2"]},{"1401212557":["hashtag1","hashtag2"]},{"1401212560":["hashtag1","hashtag2"]},{"1401212562":["hashtag1","hashtag2"]},{"1401212559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212564, 1401212558, 1401212557, 1401212560, 1401212562, 1401212559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39838910102844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:10:31.839366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_55_10679.jpg', 2), ('/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_44_9721.jpg', 2), ('/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_34_9697.jpg', 2), ('/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_25_9686.jpg', 2), ('/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_15_10718.jpg', 2), ('/home/nano/Desktop/images/09122025/10/13/image_09122025_10_14_04_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_55_10679.jpg', '/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_44_9721.jpg', '/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_34_9697.jpg', '/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_25_9686.jpg', '/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_15_10718.jpg', '/home/nano/Desktop/images/09122025/10/13/image_09122025_10_14_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_55_10679.jpg
/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_44_9721.jpg
/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_34_9697.jpg
/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_25_9686.jpg
/home/nano/Desktop/images/09122025/10/14/image_09122025_10_14_15_10718.jpg
/home/nano/Desktop/images/09122025/10/13/image_09122025_10_14_04_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":["1401212594","1401212582","1401212581","1401212590","1401212584","1401212595"],"photo_ids_order":["1401212581","1401212582","1401212584","1401212590","1401212594","1401212595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25c77873e891a6166254a4f6d61e6950.jpg","text":"TemporaryFile(/tmp/multipartBody3956669976109774735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801492678,"filename":"image_09122025_10_14_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e541130569ae84f48b1073015317e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody6641068492864070741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801492678,"filename":"image_09122025_10_14_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ac097ed60c55c34922b5a6b677f0304.jpg","text":"TemporaryFile(/tmp/multipartBody1830280709669402132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801492678,"filename":"image_09122025_10_14_55_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc7c300a57abc8180793cc1383f8354f.jpg","text":"TemporaryFile(/tmp/multipartBody3339613355987330767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801492678,"filename":"image_09122025_10_14_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33e966a8957595d6478f21dd32fa965c.jpg","text":"TemporaryFile(/tmp/multipartBody623897258918767526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801492678,"filename":"image_09122025_10_14_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61a3af4f431c97ad91e668f8b8ce04a8.jpg","text":"TemporaryFile(/tmp/multipartBody861639245815593209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801492678,"filename":"image_09122025_10_14_04_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212584","file1":"1401212582","file0":"1401212581","file4":"1401212594","file5":"1401212595","file3":"1401212590"},"map_files_photo_id_array":[{"photo_id":"1401212595","filename":"file5"},{"photo_id":"1401212584","filename":"file2"},{"photo_id":"1401212594","filename":"file4"},{"photo_id":"1401212582","filename":"file1"},{"photo_id":"1401212581","filename":"file0"},{"photo_id":"1401212590","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212594":["hashtag1","hashtag2"]},{"1401212582":["hashtag1","hashtag2"]},{"1401212581":["hashtag1","hashtag2"]},{"1401212590":["hashtag1","hashtag2"]},{"1401212584":["hashtag1","hashtag2"]},{"1401212595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212594, 1401212582, 1401212581, 1401212590, 1401212584, 1401212595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13445043563843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:11:16.948631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_55_9685.jpg', 2), ('/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_45_10768.jpg', 2), ('/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_34_9772.jpg', 2), ('/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_15_9683.jpg', 2), ('/home/nano/Desktop/images/09122025/10/12/image_09122025_10_13_05_10721.jpg', 2), ('/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_54_9684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_55_9685.jpg', '/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_45_10768.jpg', '/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_34_9772.jpg', '/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_15_9683.jpg', '/home/nano/Desktop/images/09122025/10/12/image_09122025_10_13_05_10721.jpg', '/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_54_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_55_9685.jpg
/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_45_10768.jpg
/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_34_9772.jpg
/home/nano/Desktop/images/09122025/10/13/image_09122025_10_13_15_9683.jpg
/home/nano/Desktop/images/09122025/10/12/image_09122025_10_13_05_10721.jpg
/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_54_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212615","1401212612","1401212606","1401212609","1401212619","1401212604"],"photo_ids_order":["1401212604","1401212606","1401212609","1401212612","1401212615","1401212619"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40448dce172e1b3572735da290c4c19e.jpg","text":"TemporaryFile(/tmp/multipartBody5906116783623159088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801537794,"filename":"image_09122025_10_13_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f90b35272c3daf20507f503c0442bb9.jpg","text":"TemporaryFile(/tmp/multipartBody527002914976541167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801537794,"filename":"image_09122025_10_13_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a54978aa906f64e30a4ddc1929754e9.jpg","text":"TemporaryFile(/tmp/multipartBody4635609847981039993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801537794,"filename":"image_09122025_10_13_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67425fda68d39e45b4bd121c1e72b3ee.jpg","text":"TemporaryFile(/tmp/multipartBody2819341199071920609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801537794,"filename":"image_09122025_10_13_34_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a2b1feda25f4a9854403e461c304ff5.jpg","text":"TemporaryFile(/tmp/multipartBody3661001013071523031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801537794,"filename":"image_09122025_10_12_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62d69438405f138f31d4ef5d2447e608.jpg","text":"TemporaryFile(/tmp/multipartBody7403050689213954251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801537794,"filename":"image_09122025_10_13_55_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212609","file1":"1401212606","file0":"1401212604","file4":"1401212615","file5":"1401212619","file3":"1401212612"},"map_files_photo_id_array":[{"photo_id":"1401212619","filename":"file5"},{"photo_id":"1401212609","filename":"file2"},{"photo_id":"1401212615","filename":"file4"},{"photo_id":"1401212606","filename":"file1"},{"photo_id":"1401212604","filename":"file0"},{"photo_id":"1401212612","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212615":["hashtag1","hashtag2"]},{"1401212612":["hashtag1","hashtag2"]},{"1401212606":["hashtag1","hashtag2"]},{"1401212609":["hashtag1","hashtag2"]},{"1401212619":["hashtag1","hashtag2"]},{"1401212604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212615, 1401212612, 1401212606, 1401212609, 1401212619, 1401212604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90120458602905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:12:02.315156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_45_9718.jpg', 2), ('/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_35_10692.jpg', 2), ('/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_24_9714.jpg', 2), ('/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_14_9731.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_12_05_9751.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_55_10728.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_45_9718.jpg', '/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_35_10692.jpg', '/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_24_9714.jpg', '/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_14_9731.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_12_05_9751.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_55_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_45_9718.jpg
/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_35_10692.jpg
/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_24_9714.jpg
/home/nano/Desktop/images/09122025/10/12/image_09122025_10_12_14_9731.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_12_05_9751.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_55_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212628","1401212630","1401212624","1401212632","1401212626","1401212622"],"photo_ids_order":["1401212622","1401212624","1401212626","1401212628","1401212630","1401212632"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b586f187481ccdec67ce4dbf1b6ca4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5031400039332166304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801583166,"filename":"image_09122025_10_12_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/12/27/383655bf7f8e5327c4d00a53821a9cb9.jpg","text":"TemporaryFile(/tmp/multipartBody5402665056667122887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801583166,"filename":"image_09122025_10_12_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a07883f813cb3ac4b39044e2cd77df65.jpg","text":"TemporaryFile(/tmp/multipartBody1853743896549860033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801583166,"filename":"image_09122025_10_12_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15f65f0ef9e18c6608b33c42df4e7ad1.jpg","text":"TemporaryFile(/tmp/multipartBody9048143321787350870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801583166,"filename":"image_09122025_10_11_55_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c42ab677a5a09dab3cd175256f9e7309.jpg","text":"TemporaryFile(/tmp/multipartBody1155169170382562655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801583166,"filename":"image_09122025_10_12_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52f625f3b38890ad9451df57c2cb0303.jpg","text":"TemporaryFile(/tmp/multipartBody6890625659012478966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801583166,"filename":"image_09122025_10_12_45_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212626","file1":"1401212624","file0":"1401212622","file4":"1401212630","file5":"1401212632","file3":"1401212628"},"map_files_photo_id_array":[{"photo_id":"1401212632","filename":"file5"},{"photo_id":"1401212626","filename":"file2"},{"photo_id":"1401212630","filename":"file4"},{"photo_id":"1401212624","filename":"file1"},{"photo_id":"1401212622","filename":"file0"},{"photo_id":"1401212628","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212628":["hashtag1","hashtag2"]},{"1401212630":["hashtag1","hashtag2"]},{"1401212624":["hashtag1","hashtag2"]},{"1401212632":["hashtag1","hashtag2"]},{"1401212626":["hashtag1","hashtag2"]},{"1401212622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212628, 1401212630, 1401212624, 1401212632, 1401212626, 1401212622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.717345237731934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:12:47.044031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_35_9688.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_25_10711.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_14_9755.jpg', 2), ('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_11_04_9688.jpg', 2), ('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_55_9776.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_44_9633.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_35_9688.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_25_10711.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_14_9755.jpg', '/home/nano/Desktop/images/09122025/10/10/image_09122025_10_11_04_9688.jpg', '/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_55_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_44_9633.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_35_9688.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_25_10711.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_14_9755.jpg
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_11_04_9688.jpg
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_55_9776.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7123730182647705 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:13:02.594232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_35_9688.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_25_10711.jpg', 2), ('/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_14_9755.jpg', 2), ('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_11_04_9688.jpg', 2), ('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_55_9776.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_44_9633.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_35_9688.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_25_10711.jpg', '/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_14_9755.jpg', '/home/nano/Desktop/images/09122025/10/10/image_09122025_10_11_04_9688.jpg', '/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_55_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_44_9633.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_35_9688.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_25_10711.jpg
/home/nano/Desktop/images/09122025/10/11/image_09122025_10_11_14_9755.jpg
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_11_04_9688.jpg
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_55_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212660","1401212654","1401212656","1401212650","1401212658","1401212652"],"photo_ids_order":["1401212650","1401212652","1401212654","1401212656","1401212658","1401212660"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/810bf5d59be56d61a4cf0114f5d6939b.jpg","text":"TemporaryFile(/tmp/multipartBody5674765953845297888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801643534,"filename":"image_09122025_10_10_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72d56e816da1f8a0056d7c7c97052aad.jpg","text":"TemporaryFile(/tmp/multipartBody2363911247814824321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801643534,"filename":"image_09122025_10_11_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffc289b21762697b1900554839df86bc.jpg","text":"TemporaryFile(/tmp/multipartBody6278468586823847531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801643534,"filename":"image_09122025_10_11_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf3d896057734bd91326b91cd51e253b.jpg","text":"TemporaryFile(/tmp/multipartBody2208735840411975720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801643534,"filename":"image_09122025_10_11_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/12/27/a7254a6e5621029c896c4880725e3849.jpg","text":"TemporaryFile(/tmp/multipartBody2031983084513617415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801643534,"filename":"image_09122025_10_11_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94537e066f7c3fcc2f4c24dc07f2ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody4527078571347767771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801643534,"filename":"image_09122025_10_11_35_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212654","file1":"1401212652","file0":"1401212650","file4":"1401212658","file5":"1401212660","file3":"1401212656"},"map_files_photo_id_array":[{"photo_id":"1401212660","filename":"file5"},{"photo_id":"1401212654","filename":"file2"},{"photo_id":"1401212658","filename":"file4"},{"photo_id":"1401212652","filename":"file1"},{"photo_id":"1401212650","filename":"file0"},{"photo_id":"1401212656","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212660":["hashtag1","hashtag2"]},{"1401212654":["hashtag1","hashtag2"]},{"1401212656":["hashtag1","hashtag2"]},{"1401212650":["hashtag1","hashtag2"]},{"1401212658":["hashtag1","hashtag2"]},{"1401212652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212660, 1401212654, 1401212656, 1401212650, 1401212658, 1401212652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28848624229431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:13:47.144196
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/03/13/image_27122025_03_13_44_9517.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/03/13/image_27122025_03_13_44_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/03/13/image_27122025_03_13_44_9517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212666"],"photo_id":"1401212666","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9064a6b4455185ded62edaf611ab855.jpg","text":"TemporaryFile(/tmp/multipartBody6636859622519084678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801687386,"filename":"image_27122025_03_13_44_9517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401212666"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401212666"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.459772109985352 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:14:02.823613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_45_10795.jpg', 2), ('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_34_9808.jpg', 2), ('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_24_9726.jpg', 2), ('/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_15_9725.jpg', 2), ('/home/nano/Desktop/images/09122025/10/09/image_09122025_10_10_05_10701.jpg', 2), ('/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_54_9694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_45_10795.jpg', '/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_34_9808.jpg', '/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_24_9726.jpg', '/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_15_9725.jpg', '/home/nano/Desktop/images/09122025/10/09/image_09122025_10_10_05_10701.jpg', '/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_54_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_45_10795.jpg
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_34_9808.jpg
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_24_9726.jpg
/home/nano/Desktop/images/09122025/10/10/image_09122025_10_10_15_9725.jpg
/home/nano/Desktop/images/09122025/10/09/image_09122025_10_10_05_10701.jpg
/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_54_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212674","1401212671","1401212668","1401212676","1401212679","1401212670"],"photo_ids_order":["1401212668","1401212670","1401212671","1401212674","1401212676","1401212679"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d796695de847a1dc79a33085732d9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1858831221758561529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801703690,"filename":"image_09122025_10_10_15_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0fd220a78b723e83c2790607f3ca7d39.jpg","text":"TemporaryFile(/tmp/multipartBody2780206978667283856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801703690,"filename":"image_09122025_10_10_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75d9bba694663bd8e9ce0a33ae22fbff.jpg","text":"TemporaryFile(/tmp/multipartBody57306164322168757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801703690,"filename":"image_09122025_10_10_45_10795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b000d40f0a981a00a3eb678f4b62e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5390767690306749456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801703690,"filename":"image_09122025_10_10_05_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c19521e00fd234de5d0c0302994ad61b.jpg","text":"TemporaryFile(/tmp/multipartBody2415112198425557347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801703690,"filename":"image_09122025_10_09_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/025aa57f153a43cf7a4dc2f365e00f57.jpg","text":"TemporaryFile(/tmp/multipartBody5054426726442971483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801703690,"filename":"image_09122025_10_10_34_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212671","file1":"1401212670","file0":"1401212668","file4":"1401212676","file5":"1401212679","file3":"1401212674"},"map_files_photo_id_array":[{"photo_id":"1401212679","filename":"file5"},{"photo_id":"1401212671","filename":"file2"},{"photo_id":"1401212676","filename":"file4"},{"photo_id":"1401212670","filename":"file1"},{"photo_id":"1401212668","filename":"file0"},{"photo_id":"1401212674","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212674":["hashtag1","hashtag2"]},{"1401212671":["hashtag1","hashtag2"]},{"1401212668":["hashtag1","hashtag2"]},{"1401212676":["hashtag1","hashtag2"]},{"1401212679":["hashtag1","hashtag2"]},{"1401212670":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212674, 1401212671, 1401212668, 1401212676, 1401212679, 1401212670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.448912382125854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:14:47.252147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_44_9714.jpg', 2), ('/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_35_9697.jpg', 2), ('/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_25_10712.jpg', 2), ('/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_14_9784.jpg', 2), ('/home/nano/Desktop/images/09122025/10/08/image_09122025_10_09_05_9708.jpg', 2), ('/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_55_10699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_44_9714.jpg', '/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_35_9697.jpg', '/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_25_10712.jpg', '/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_14_9784.jpg', '/home/nano/Desktop/images/09122025/10/08/image_09122025_10_09_05_9708.jpg', '/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_55_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_44_9714.jpg
/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_35_9697.jpg
/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_25_10712.jpg
/home/nano/Desktop/images/09122025/10/09/image_09122025_10_09_14_9784.jpg
/home/nano/Desktop/images/09122025/10/08/image_09122025_10_09_05_9708.jpg
/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_55_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212699","1401212693","1401212692","1401212698","1401212701","1401212703"],"photo_ids_order":["1401212692","1401212693","1401212698","1401212699","1401212701","1401212703"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abb27565cef7d334d3a00229cd040bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1628992974999135622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801748084,"filename":"image_09122025_10_09_14_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d738c94ce55a3ec2c376a98160f4ca4a.jpg","text":"TemporaryFile(/tmp/multipartBody6126390622299861335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801748084,"filename":"image_09122025_10_09_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2893beaae1f77df520d077b193d4d9cc.jpg","text":"TemporaryFile(/tmp/multipartBody7840446874544656406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801748084,"filename":"image_09122025_10_09_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fccd2d10c739f0ec8ec6a82f545dcbed.jpg","text":"TemporaryFile(/tmp/multipartBody2619963003904423286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801748084,"filename":"image_09122025_10_09_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/818d70bb9cb9c1407c70b57cfc1e3fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3096329552261943113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801748084,"filename":"image_09122025_10_09_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e259e0670efc6db185a660bc5c434b5.jpg","text":"TemporaryFile(/tmp/multipartBody4743406468485158087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801748084,"filename":"image_09122025_10_08_55_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212698","file1":"1401212693","file0":"1401212692","file4":"1401212701","file5":"1401212703","file3":"1401212699"},"map_files_photo_id_array":[{"photo_id":"1401212703","filename":"file5"},{"photo_id":"1401212698","filename":"file2"},{"photo_id":"1401212701","filename":"file4"},{"photo_id":"1401212693","filename":"file1"},{"photo_id":"1401212692","filename":"file0"},{"photo_id":"1401212699","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212699":["hashtag1","hashtag2"]},{"1401212693":["hashtag1","hashtag2"]},{"1401212692":["hashtag1","hashtag2"]},{"1401212698":["hashtag1","hashtag2"]},{"1401212701":["hashtag1","hashtag2"]},{"1401212703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212699, 1401212693, 1401212692, 1401212698, 1401212701, 1401212703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.650596380233765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:15:32.383938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_44_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_34_9681.jpg', 2), ('/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_25_10716.jpg', 2), ('/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_14_9707.jpg', 2), ('/home/nano/Desktop/images/09122025/10/07/image_09122025_10_08_04_9696.jpg', 2), ('/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_55_9779.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_44_9657.jpg', '/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_34_9681.jpg', '/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_25_10716.jpg', '/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_14_9707.jpg', '/home/nano/Desktop/images/09122025/10/07/image_09122025_10_08_04_9696.jpg', '/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_55_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_44_9657.jpg
/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_34_9681.jpg
/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_25_10716.jpg
/home/nano/Desktop/images/09122025/10/08/image_09122025_10_08_14_9707.jpg
/home/nano/Desktop/images/09122025/10/07/image_09122025_10_08_04_9696.jpg
/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_55_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212712","1401212715","1401212717","1401212710","1401212713","1401212718"],"photo_ids_order":["1401212710","1401212712","1401212713","1401212715","1401212717","1401212718"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a3d24daefd3c4c619f7e13a33fd20ae.jpg","text":"TemporaryFile(/tmp/multipartBody7143380908910583637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801793220,"filename":"image_09122025_10_08_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2faf445c1ab193132d72af08423e03ce.jpg","text":"TemporaryFile(/tmp/multipartBody6740370561523154987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801793220,"filename":"image_09122025_10_08_14_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30a23db4d20dbed8bb65f4c8d8dc5117.jpg","text":"TemporaryFile(/tmp/multipartBody8364574019189983645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801793220,"filename":"image_09122025_10_08_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4198b36d19b4159a2fbf1b37840562be.jpg","text":"TemporaryFile(/tmp/multipartBody1387207029758242628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801793220,"filename":"image_09122025_10_08_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/12/27/06407c7c182d22102cb6ef4e4dbf51ab.jpg","text":"TemporaryFile(/tmp/multipartBody4637536388483823857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801793220,"filename":"image_09122025_10_08_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c17ddb1179ab39372a315bb3c9d0ec43.jpg","text":"TemporaryFile(/tmp/multipartBody8963788189499458576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801793220,"filename":"image_09122025_10_07_55_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212713","file1":"1401212712","file0":"1401212710","file4":"1401212717","file5":"1401212718","file3":"1401212715"},"map_files_photo_id_array":[{"photo_id":"1401212718","filename":"file5"},{"photo_id":"1401212713","filename":"file2"},{"photo_id":"1401212717","filename":"file4"},{"photo_id":"1401212712","filename":"file1"},{"photo_id":"1401212710","filename":"file0"},{"photo_id":"1401212715","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212712":["hashtag1","hashtag2"]},{"1401212715":["hashtag1","hashtag2"]},{"1401212717":["hashtag1","hashtag2"]},{"1401212710":["hashtag1","hashtag2"]},{"1401212713":["hashtag1","hashtag2"]},{"1401212718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212712, 1401212715, 1401212717, 1401212710, 1401212713, 1401212718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.139670848846436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:16:17.458902
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_45_10724.jpg', 2), ('/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_34_9709.jpg', 2), ('/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_24_9703.jpg', 2), ('/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_15_9710.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_07_05_10737.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_54_9684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_45_10724.jpg', '/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_34_9709.jpg', '/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_24_9703.jpg', '/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_15_9710.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_07_05_10737.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_54_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_45_10724.jpg
/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_34_9709.jpg
/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_24_9703.jpg
/home/nano/Desktop/images/09122025/10/07/image_09122025_10_07_15_9710.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_07_05_10737.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_54_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212732","1401212735","1401212729","1401212738","1401212725","1401212724"],"photo_ids_order":["1401212724","1401212725","1401212729","1401212732","1401212735","1401212738"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/63e4f3fd08cb8bf73acd51f656d710a8.jpg","text":"TemporaryFile(/tmp/multipartBody5748573859713940155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801838365,"filename":"image_09122025_10_07_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef3ba1bc4f906159b59159aa0e96cb85.jpg","text":"TemporaryFile(/tmp/multipartBody3344402779516498721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801838365,"filename":"image_09122025_10_07_05_10737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98a0ffc58f3fa47755b03d4aa49150f5.jpg","text":"TemporaryFile(/tmp/multipartBody5169191613409879754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801838365,"filename":"image_09122025_10_07_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f978b8d3f0559f8623bdb27c95985a31.jpg","text":"TemporaryFile(/tmp/multipartBody953854339417066301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801838365,"filename":"image_09122025_10_06_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b139fda0e34946527c9e4f64c3dc4e03.jpg","text":"TemporaryFile(/tmp/multipartBody521490340845240859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801838365,"filename":"image_09122025_10_07_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ef39970c183df3f1af6760b6598b674.jpg","text":"TemporaryFile(/tmp/multipartBody325056859518455781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801838365,"filename":"image_09122025_10_07_45_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212729","file1":"1401212725","file0":"1401212724","file4":"1401212735","file5":"1401212738","file3":"1401212732"},"map_files_photo_id_array":[{"photo_id":"1401212738","filename":"file5"},{"photo_id":"1401212729","filename":"file2"},{"photo_id":"1401212735","filename":"file4"},{"photo_id":"1401212725","filename":"file1"},{"photo_id":"1401212724","filename":"file0"},{"photo_id":"1401212732","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212732":["hashtag1","hashtag2"]},{"1401212735":["hashtag1","hashtag2"]},{"1401212729":["hashtag1","hashtag2"]},{"1401212738":["hashtag1","hashtag2"]},{"1401212725":["hashtag1","hashtag2"]},{"1401212724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212732, 1401212735, 1401212729, 1401212738, 1401212725, 1401212724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58911061286926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:17:03.105815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_45_9719.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_35_10672.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_24_9695.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_15_9712.jpg', 2), ('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_06_05_10710.jpg', 2), ('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_54_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_45_9719.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_35_10672.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_24_9695.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_15_9712.jpg', '/home/nano/Desktop/images/09122025/10/05/image_09122025_10_06_05_10710.jpg', '/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_45_9719.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_35_10672.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_24_9695.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_15_9712.jpg
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_06_05_10710.jpg
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_54_9724.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8008341789245605 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:17:17.569011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_45_9719.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_35_10672.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_24_9695.jpg', 2), ('/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_15_9712.jpg', 2), ('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_06_05_10710.jpg', 2), ('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_54_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_45_9719.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_35_10672.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_24_9695.jpg', '/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_15_9712.jpg', '/home/nano/Desktop/images/09122025/10/05/image_09122025_10_06_05_10710.jpg', '/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_45_9719.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_35_10672.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_24_9695.jpg
/home/nano/Desktop/images/09122025/10/06/image_09122025_10_06_15_9712.jpg
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_06_05_10710.jpg
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_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":["1401212798","1401212792","1401212794","1401212788","1401212790","1401212796"],"photo_ids_order":["1401212788","1401212790","1401212792","1401212794","1401212796","1401212798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/516ba42f40777d80ef8f928892dcdead.jpg","text":"TemporaryFile(/tmp/multipartBody6912871202308324481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801898395,"filename":"image_09122025_10_05_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/12/27/3c57691be116189883ef0968e0fbc521.jpg","text":"TemporaryFile(/tmp/multipartBody6657253135763306400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801898395,"filename":"image_09122025_10_06_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/538d9bc02332522ce5592027d706d8a7.jpg","text":"TemporaryFile(/tmp/multipartBody1455076020231318480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801898395,"filename":"image_09122025_10_06_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bef2168f7c7765f4494f713e00c0f84e.jpg","text":"TemporaryFile(/tmp/multipartBody810940560282805950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801898395,"filename":"image_09122025_10_06_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a4c6ae9f2b7c2563481d4cfe5558664.jpg","text":"TemporaryFile(/tmp/multipartBody9209425759536072473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801898395,"filename":"image_09122025_10_06_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c465aacc420d27cc654f4ae8e2e6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6006193253986897923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801898395,"filename":"image_09122025_10_06_05_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212792","file1":"1401212790","file0":"1401212788","file4":"1401212796","file5":"1401212798","file3":"1401212794"},"map_files_photo_id_array":[{"photo_id":"1401212798","filename":"file5"},{"photo_id":"1401212792","filename":"file2"},{"photo_id":"1401212796","filename":"file4"},{"photo_id":"1401212790","filename":"file1"},{"photo_id":"1401212788","filename":"file0"},{"photo_id":"1401212794","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212798":["hashtag1","hashtag2"]},{"1401212792":["hashtag1","hashtag2"]},{"1401212794":["hashtag1","hashtag2"]},{"1401212788":["hashtag1","hashtag2"]},{"1401212790":["hashtag1","hashtag2"]},{"1401212796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212798, 1401212792, 1401212794, 1401212788, 1401212790, 1401212796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.561219930648804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:18:03.084559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_44_9718.jpg', 2), ('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_35_9713.jpg', 2), ('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_25_10676.jpg', 2), ('/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_14_9725.jpg', 2), ('/home/nano/Desktop/images/09122025/10/04/image_09122025_10_05_05_9716.jpg', 2), ('/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_55_10697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_44_9718.jpg', '/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_35_9713.jpg', '/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_25_10676.jpg', '/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_14_9725.jpg', '/home/nano/Desktop/images/09122025/10/04/image_09122025_10_05_05_9716.jpg', '/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_55_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_44_9718.jpg
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_35_9713.jpg
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_25_10676.jpg
/home/nano/Desktop/images/09122025/10/05/image_09122025_10_05_14_9725.jpg
/home/nano/Desktop/images/09122025/10/04/image_09122025_10_05_05_9716.jpg
/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_55_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212826","1401212819","1401212818","1401212821","1401212815","1401212823"],"photo_ids_order":["1401212815","1401212818","1401212819","1401212821","1401212823","1401212826"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c75a47e46c53ef148905f3fadaf35a29.jpg","text":"TemporaryFile(/tmp/multipartBody5223567962557651871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801943966,"filename":"image_09122025_10_04_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6502ce89b5262e65fc88235d41846324.jpg","text":"TemporaryFile(/tmp/multipartBody3344946748223225884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801943966,"filename":"image_09122025_10_05_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25e74028139c39bc368f0dcb1d7ececf.jpg","text":"TemporaryFile(/tmp/multipartBody8439909574128910976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801943966,"filename":"image_09122025_10_05_35_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/343689dd02c06c9758554b53d69050c5.jpg","text":"TemporaryFile(/tmp/multipartBody8386983174492034549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801943966,"filename":"image_09122025_10_05_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/12/27/9cca29c81f05c3040441c42d06af575f.jpg","text":"TemporaryFile(/tmp/multipartBody3778042358280779623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801943966,"filename":"image_09122025_10_05_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5187e35fb1b21968760ca2d657851e2.jpg","text":"TemporaryFile(/tmp/multipartBody6691367818404538599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801943966,"filename":"image_09122025_10_05_05_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212819","file1":"1401212818","file0":"1401212815","file4":"1401212823","file5":"1401212826","file3":"1401212821"},"map_files_photo_id_array":[{"photo_id":"1401212826","filename":"file5"},{"photo_id":"1401212819","filename":"file2"},{"photo_id":"1401212823","filename":"file4"},{"photo_id":"1401212818","filename":"file1"},{"photo_id":"1401212815","filename":"file0"},{"photo_id":"1401212821","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212826":["hashtag1","hashtag2"]},{"1401212819":["hashtag1","hashtag2"]},{"1401212818":["hashtag1","hashtag2"]},{"1401212821":["hashtag1","hashtag2"]},{"1401212815":["hashtag1","hashtag2"]},{"1401212823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212826, 1401212819, 1401212818, 1401212821, 1401212815, 1401212823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.740681409835815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:18:47.689168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_44_9687.jpg', 2), ('/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_34_9720.jpg', 2), ('/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_25_9678.jpg', 2), ('/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_15_10729.jpg', 2), ('/home/nano/Desktop/images/09122025/10/03/image_09122025_10_04_04_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_55_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_44_9687.jpg', '/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_34_9720.jpg', '/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_25_9678.jpg', '/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_15_10729.jpg', '/home/nano/Desktop/images/09122025/10/03/image_09122025_10_04_04_9626.jpg', '/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_55_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_44_9687.jpg
/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_34_9720.jpg
/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_25_9678.jpg
/home/nano/Desktop/images/09122025/10/04/image_09122025_10_04_15_10729.jpg
/home/nano/Desktop/images/09122025/10/03/image_09122025_10_04_04_9626.jpg
/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_55_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":["1401212858","1401212867","1401212849","1401212869","1401212865","1401212853"],"photo_ids_order":["1401212849","1401212853","1401212858","1401212865","1401212867","1401212869"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bb4243f94a0f92cde6eb05d8e0d9d89.jpg","text":"TemporaryFile(/tmp/multipartBody9203563748406269201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801988523,"filename":"image_09122025_10_04_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13591e109928131e443a03cf9fafa9cb.jpg","text":"TemporaryFile(/tmp/multipartBody6009162443134623607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801988523,"filename":"image_09122025_10_04_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/12/27/5036acb9bd2c4dc36dc37a3d806e4205.jpg","text":"TemporaryFile(/tmp/multipartBody6615123581878292225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801988523,"filename":"image_09122025_10_04_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/12/27/0d899c5ba09f29f88db25cd019f3f964.jpg","text":"TemporaryFile(/tmp/multipartBody4810578033504101385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801988523,"filename":"image_09122025_10_03_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8f10baa8b251f158c703816cb6519a3.jpg","text":"TemporaryFile(/tmp/multipartBody8572269405311624646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801988523,"filename":"image_09122025_10_04_15_10729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92f7bbf6893e1581f3a513ce93412d38.jpg","text":"TemporaryFile(/tmp/multipartBody3897809429412488195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766801988523,"filename":"image_09122025_10_04_34_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212858","file1":"1401212853","file0":"1401212849","file4":"1401212867","file5":"1401212869","file3":"1401212865"},"map_files_photo_id_array":[{"photo_id":"1401212869","filename":"file5"},{"photo_id":"1401212858","filename":"file2"},{"photo_id":"1401212867","filename":"file4"},{"photo_id":"1401212853","filename":"file1"},{"photo_id":"1401212849","filename":"file0"},{"photo_id":"1401212865","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212858":["hashtag1","hashtag2"]},{"1401212867":["hashtag1","hashtag2"]},{"1401212849":["hashtag1","hashtag2"]},{"1401212869":["hashtag1","hashtag2"]},{"1401212865":["hashtag1","hashtag2"]},{"1401212853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212858, 1401212867, 1401212849, 1401212869, 1401212865, 1401212853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51240682601929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:19:31.771631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_44_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_34_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_25_10606.jpg', 2), ('/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_14_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/10/02/image_09122025_10_03_05_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_55_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_44_9603.jpg', '/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_34_9597.jpg', '/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_25_10606.jpg', '/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_14_9634.jpg', '/home/nano/Desktop/images/09122025/10/02/image_09122025_10_03_05_9606.jpg', '/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_44_9603.jpg
/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_34_9597.jpg
/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_25_10606.jpg
/home/nano/Desktop/images/09122025/10/03/image_09122025_10_03_14_9634.jpg
/home/nano/Desktop/images/09122025/10/02/image_09122025_10_03_05_9606.jpg
/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_55_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":["1401212882","1401212876","1401212885","1401212884","1401212878","1401212880"],"photo_ids_order":["1401212876","1401212878","1401212880","1401212882","1401212884","1401212885"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c282b26efc41b4cbac58478a311d22b6.jpg","text":"TemporaryFile(/tmp/multipartBody3535356307991588289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802032562,"filename":"image_09122025_10_03_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/12/27/7f40a70693ca0da9afe2c0c568dcf536.jpg","text":"TemporaryFile(/tmp/multipartBody1268830194641440707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802032562,"filename":"image_09122025_10_03_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/12/27/c23ce9f878e8415c0e2b84207b4f195f.jpg","text":"TemporaryFile(/tmp/multipartBody3840476329374941064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802032562,"filename":"image_09122025_10_02_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89a51326633364674f53d1515d2e5e10.jpg","text":"TemporaryFile(/tmp/multipartBody5593050624502164928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802032562,"filename":"image_09122025_10_03_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a76aee5744b36f315e3655a92ceba6f.jpg","text":"TemporaryFile(/tmp/multipartBody722165928294404675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802032562,"filename":"image_09122025_10_03_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/12/27/cb23b88f4a22f489269682ac91554117.jpg","text":"TemporaryFile(/tmp/multipartBody4277416168024840990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802032562,"filename":"image_09122025_10_03_25_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212880","file1":"1401212878","file0":"1401212876","file4":"1401212884","file5":"1401212885","file3":"1401212882"},"map_files_photo_id_array":[{"photo_id":"1401212885","filename":"file5"},{"photo_id":"1401212880","filename":"file2"},{"photo_id":"1401212884","filename":"file4"},{"photo_id":"1401212878","filename":"file1"},{"photo_id":"1401212876","filename":"file0"},{"photo_id":"1401212882","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212882":["hashtag1","hashtag2"]},{"1401212876":["hashtag1","hashtag2"]},{"1401212885":["hashtag1","hashtag2"]},{"1401212884":["hashtag1","hashtag2"]},{"1401212878":["hashtag1","hashtag2"]},{"1401212880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212882, 1401212876, 1401212885, 1401212884, 1401212878, 1401212880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74394965171814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:20:16.857058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_44_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_35_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_24_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_15_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/10/01/image_09122025_10_02_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_44_9606.jpg', '/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_35_10611.jpg', '/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_24_9601.jpg', '/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_15_9626.jpg', '/home/nano/Desktop/images/09122025/10/01/image_09122025_10_02_05_10627.jpg', '/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_44_9606.jpg
/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_35_10611.jpg
/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_24_9601.jpg
/home/nano/Desktop/images/09122025/10/02/image_09122025_10_02_15_9626.jpg
/home/nano/Desktop/images/09122025/10/01/image_09122025_10_02_05_10627.jpg
/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_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":["1401212887","1401212895","1401212898","1401212892","1401212889","1401212901"],"photo_ids_order":["1401212887","1401212889","1401212892","1401212895","1401212898","1401212901"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/142fa2a7e58accc5f97996eda9dc602a.jpg","text":"TemporaryFile(/tmp/multipartBody6077485075143621097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802077644,"filename":"image_09122025_10_02_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/12/27/3955d0327e1db8a548712fdebe0beec6.jpg","text":"TemporaryFile(/tmp/multipartBody319636200810307594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802077644,"filename":"image_09122025_10_02_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcd8a09dd3977c3b6684bca7dfae7349.jpg","text":"TemporaryFile(/tmp/multipartBody2652559464887394505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802077644,"filename":"image_09122025_10_02_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0db6310fb31a236c64051598f017456f.jpg","text":"TemporaryFile(/tmp/multipartBody684662128907116682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802077644,"filename":"image_09122025_10_02_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/12/27/c7514b6a625d597227eacc794f8da70e.jpg","text":"TemporaryFile(/tmp/multipartBody4265714489248236770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802077644,"filename":"image_09122025_10_02_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6abcce86b7168707085f7e74b3549b07.jpg","text":"TemporaryFile(/tmp/multipartBody8024984349987606698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802077644,"filename":"image_09122025_10_01_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212892","file1":"1401212889","file0":"1401212887","file4":"1401212898","file5":"1401212901","file3":"1401212895"},"map_files_photo_id_array":[{"photo_id":"1401212901","filename":"file5"},{"photo_id":"1401212892","filename":"file2"},{"photo_id":"1401212898","filename":"file4"},{"photo_id":"1401212889","filename":"file1"},{"photo_id":"1401212887","filename":"file0"},{"photo_id":"1401212895","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212887":["hashtag1","hashtag2"]},{"1401212895":["hashtag1","hashtag2"]},{"1401212898":["hashtag1","hashtag2"]},{"1401212892":["hashtag1","hashtag2"]},{"1401212889":["hashtag1","hashtag2"]},{"1401212901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212887, 1401212895, 1401212898, 1401212892, 1401212889, 1401212901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42728853225708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:21:02.487964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_45_10605.jpg', 2), ('/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_34_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_24_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_15_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/10/00/image_09122025_10_01_04_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_55_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_45_10605.jpg', '/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_34_9656.jpg', '/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_24_9619.jpg', '/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_15_10649.jpg', '/home/nano/Desktop/images/09122025/10/00/image_09122025_10_01_04_9602.jpg', '/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_55_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_45_10605.jpg
/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_34_9656.jpg
/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_24_9619.jpg
/home/nano/Desktop/images/09122025/10/01/image_09122025_10_01_15_10649.jpg
/home/nano/Desktop/images/09122025/10/00/image_09122025_10_01_04_9602.jpg
/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_55_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":["1401212925","1401212919","1401212921","1401212923","1401212917","1401212926"],"photo_ids_order":["1401212917","1401212919","1401212921","1401212923","1401212925","1401212926"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9dc53945020cfd7eb971abe8e5bba0f.jpg","text":"TemporaryFile(/tmp/multipartBody914617962833687675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802123363,"filename":"image_09122025_10_01_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/12/27/86c154202a48a81929509abbaac2cae8.jpg","text":"TemporaryFile(/tmp/multipartBody5960002284916008290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802123363,"filename":"image_09122025_10_01_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/12/27/001bb71174eff2921dfdfff0b1973071.jpg","text":"TemporaryFile(/tmp/multipartBody7523702075362286416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802123363,"filename":"image_09122025_10_01_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/12/27/858d60bcc59de5b926f3ca6b04d96139.jpg","text":"TemporaryFile(/tmp/multipartBody2195815098991706519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802123363,"filename":"image_09122025_10_01_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f934dc1856e0fb5204c0d7bcf6a6f6c2.jpg","text":"TemporaryFile(/tmp/multipartBody843022269275539352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802123363,"filename":"image_09122025_10_01_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c192328e95face9683908febd8cdd75.jpg","text":"TemporaryFile(/tmp/multipartBody2104850921689039911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802123363,"filename":"image_09122025_10_00_55_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212921","file1":"1401212919","file0":"1401212917","file4":"1401212925","file5":"1401212926","file3":"1401212923"},"map_files_photo_id_array":[{"photo_id":"1401212926","filename":"file5"},{"photo_id":"1401212921","filename":"file2"},{"photo_id":"1401212925","filename":"file4"},{"photo_id":"1401212919","filename":"file1"},{"photo_id":"1401212917","filename":"file0"},{"photo_id":"1401212923","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212925":["hashtag1","hashtag2"]},{"1401212919":["hashtag1","hashtag2"]},{"1401212921":["hashtag1","hashtag2"]},{"1401212923":["hashtag1","hashtag2"]},{"1401212917":["hashtag1","hashtag2"]},{"1401212926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212925, 1401212919, 1401212921, 1401212923, 1401212917, 1401212926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.764517068862915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:21:46.965915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_45_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_34_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_25_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/09/59/image_09122025_10_00_04_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_55_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_45_10654.jpg', '/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_34_9629.jpg', '/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_25_10620.jpg', '/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_14_9651.jpg', '/home/nano/Desktop/images/09122025/09/59/image_09122025_10_00_04_9651.jpg', '/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_55_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_45_10654.jpg
/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_34_9629.jpg
/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_25_10620.jpg
/home/nano/Desktop/images/09122025/10/00/image_09122025_10_00_14_9651.jpg
/home/nano/Desktop/images/09122025/09/59/image_09122025_10_00_04_9651.jpg
/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_55_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":["1401212933","1401212936","1401212935","1401212938","1401212934","1401212937"],"photo_ids_order":["1401212933","1401212934","1401212935","1401212936","1401212937","1401212938"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db73b0c15d1fd377cb377263493c810f.jpg","text":"TemporaryFile(/tmp/multipartBody4511215858434772786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802167801,"filename":"image_09122025_10_00_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1869c66300324590d96bddfe07420d07.jpg","text":"TemporaryFile(/tmp/multipartBody1636369522639360916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802167801,"filename":"image_09122025_10_00_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/12/27/70660a28ad9b5436941be49896ca7e77.jpg","text":"TemporaryFile(/tmp/multipartBody1125665361010996707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802167801,"filename":"image_09122025_10_00_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b92674a3fc3d70c12f0a7b274408fda9.jpg","text":"TemporaryFile(/tmp/multipartBody6610548030737500173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802167801,"filename":"image_09122025_09_59_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e2992264ece698fd1547188cf3d5331.jpg","text":"TemporaryFile(/tmp/multipartBody6979972694294520238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802167801,"filename":"image_09122025_10_00_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/12/27/d2797ca60a75be1a257598261c26998a.jpg","text":"TemporaryFile(/tmp/multipartBody3287992293137045583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802167801,"filename":"image_09122025_10_00_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212935","file1":"1401212934","file0":"1401212933","file4":"1401212937","file5":"1401212938","file3":"1401212936"},"map_files_photo_id_array":[{"photo_id":"1401212938","filename":"file5"},{"photo_id":"1401212935","filename":"file2"},{"photo_id":"1401212937","filename":"file4"},{"photo_id":"1401212934","filename":"file1"},{"photo_id":"1401212933","filename":"file0"},{"photo_id":"1401212936","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212933":["hashtag1","hashtag2"]},{"1401212936":["hashtag1","hashtag2"]},{"1401212935":["hashtag1","hashtag2"]},{"1401212938":["hashtag1","hashtag2"]},{"1401212934":["hashtag1","hashtag2"]},{"1401212937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212933, 1401212936, 1401212935, 1401212938, 1401212934, 1401212937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.248010873794556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:22:32.079744
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/03/22/image_27122025_03_22_54_9514.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/03/22/image_27122025_03_22_54_9514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/03/22/image_27122025_03_22_54_9514.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401212944"],"photo_id":"1401212944","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b93a02b062c7a0b8429b9bc222f4b830.jpg","text":"TemporaryFile(/tmp/multipartBody7850430073393481626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802212322,"filename":"image_27122025_03_22_54_9514.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401212944"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401212944"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.266982555389404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:22:47.070521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_44_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_35_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_25_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_14_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_59_05_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_55_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_44_9610.jpg', '/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_35_9618.jpg', '/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_25_10634.jpg', '/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_14_9615.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_59_05_9620.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_55_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_44_9610.jpg
/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_35_9618.jpg
/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_25_10634.jpg
/home/nano/Desktop/images/09122025/09/59/image_09122025_09_59_14_9615.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_59_05_9620.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_55_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":["1401212960","1401212963","1401212966","1401212968","1401212970","1401212967"],"photo_ids_order":["1401212960","1401212963","1401212966","1401212967","1401212968","1401212970"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b17ad76bc65cbeedfa12bd54a0d8bb65.jpg","text":"TemporaryFile(/tmp/multipartBody7127971615663009327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802227889,"filename":"image_09122025_09_59_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/12/27/c4b40ebf538f69a051405f88ba1e2eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7301049709804921553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802227889,"filename":"image_09122025_09_59_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91bf6875b6072a6251edd819ac4ba0bc.jpg","text":"TemporaryFile(/tmp/multipartBody5901607301875951630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802227889,"filename":"image_09122025_09_59_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86f17cb350f59b944429c39439971a83.jpg","text":"TemporaryFile(/tmp/multipartBody797138680220767069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802227889,"filename":"image_09122025_09_59_05_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13ec00c6dc1a9ddc247e09a88b31a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody5542136473495534774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802227889,"filename":"image_09122025_09_58_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ba5b1381afe91b79f86f34db1aa1015.jpg","text":"TemporaryFile(/tmp/multipartBody462211652637972922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802227889,"filename":"image_09122025_09_59_14_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212966","file1":"1401212963","file0":"1401212960","file4":"1401212968","file5":"1401212970","file3":"1401212967"},"map_files_photo_id_array":[{"photo_id":"1401212970","filename":"file5"},{"photo_id":"1401212966","filename":"file2"},{"photo_id":"1401212968","filename":"file4"},{"photo_id":"1401212963","filename":"file1"},{"photo_id":"1401212960","filename":"file0"},{"photo_id":"1401212967","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212960":["hashtag1","hashtag2"]},{"1401212963":["hashtag1","hashtag2"]},{"1401212966":["hashtag1","hashtag2"]},{"1401212968":["hashtag1","hashtag2"]},{"1401212970":["hashtag1","hashtag2"]},{"1401212967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212960, 1401212963, 1401212966, 1401212968, 1401212970, 1401212967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84340524673462 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:23:32.159038
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_35_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_15_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_58_05_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_44_9635.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_35_10636.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_24_9632.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_15_9636.jpg', '/home/nano/Desktop/images/09122025/09/57/image_09122025_09_58_05_10637.jpg', '/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_44_9635.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_35_10636.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_24_9632.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_15_9636.jpg
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_58_05_10637.jpg
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_54_9626.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7039315700531006 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:23:47.158955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_35_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_15_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_58_05_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_44_9635.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_35_10636.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_24_9632.jpg', '/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_15_9636.jpg', '/home/nano/Desktop/images/09122025/09/57/image_09122025_09_58_05_10637.jpg', '/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_44_9635.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_35_10636.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_24_9632.jpg
/home/nano/Desktop/images/09122025/09/58/image_09122025_09_58_15_9636.jpg
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_58_05_10637.jpg
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_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":["1401212990","1401212992","1401212986","1401212989","1401212991","1401212988"],"photo_ids_order":["1401212986","1401212988","1401212989","1401212990","1401212991","1401212992"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0bc3d2f5069c575b6e574e59867ac869.jpg","text":"TemporaryFile(/tmp/multipartBody9061768627514277384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802288021,"filename":"image_09122025_09_58_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdee2965c964871dcad36e88d00523b2.jpg","text":"TemporaryFile(/tmp/multipartBody4784800078254847231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802288021,"filename":"image_09122025_09_57_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/12/27/710a33076a343e2e179751a0121b71b8.jpg","text":"TemporaryFile(/tmp/multipartBody6297712196045369776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802288021,"filename":"image_09122025_09_58_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/12/27/e6f0204d3de4781dd6ac840efa390919.jpg","text":"TemporaryFile(/tmp/multipartBody553153582233457658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802288021,"filename":"image_09122025_09_58_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/12/27/f24c6c2d2843d261bf42d86e7bacfea9.jpg","text":"TemporaryFile(/tmp/multipartBody3013387436158468760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802288021,"filename":"image_09122025_09_58_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba997c374f96163979781881ad6d4f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1463662648426970402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802288021,"filename":"image_09122025_09_58_35_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401212989","file1":"1401212988","file0":"1401212986","file4":"1401212991","file5":"1401212992","file3":"1401212990"},"map_files_photo_id_array":[{"photo_id":"1401212992","filename":"file5"},{"photo_id":"1401212989","filename":"file2"},{"photo_id":"1401212991","filename":"file4"},{"photo_id":"1401212988","filename":"file1"},{"photo_id":"1401212986","filename":"file0"},{"photo_id":"1401212990","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401212990":["hashtag1","hashtag2"]},{"1401212992":["hashtag1","hashtag2"]},{"1401212986":["hashtag1","hashtag2"]},{"1401212989":["hashtag1","hashtag2"]},{"1401212991":["hashtag1","hashtag2"]},{"1401212988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401212990, 1401212992, 1401212986, 1401212989, 1401212991, 1401212988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.140631437301636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:24:32.254272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_45_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_35_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_24_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_15_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/09/56/image_09122025_09_57_05_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_45_9629.jpg', '/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_35_10622.jpg', '/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_24_9641.jpg', '/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_15_9652.jpg', '/home/nano/Desktop/images/09122025/09/56/image_09122025_09_57_05_10634.jpg', '/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_45_9629.jpg
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_35_10622.jpg
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_24_9641.jpg
/home/nano/Desktop/images/09122025/09/57/image_09122025_09_57_15_9652.jpg
/home/nano/Desktop/images/09122025/09/56/image_09122025_09_57_05_10634.jpg
/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_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":["1401213005","1401213008","1401212998","1401213010","1401213001","1401213003"],"photo_ids_order":["1401212998","1401213001","1401213003","1401213005","1401213008","1401213010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e234570b3dff4b5bc87c965a99ce6f44.jpg","text":"TemporaryFile(/tmp/multipartBody1158778994950358925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802333103,"filename":"image_09122025_09_57_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20394b1e28edb53c65ae50bdb5ea3f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5685190222303351366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802333103,"filename":"image_09122025_09_57_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2909f48532cf7231fe75a10eefc492ed.jpg","text":"TemporaryFile(/tmp/multipartBody2543462700954735184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802333103,"filename":"image_09122025_09_57_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2bd58e10a50cc2c8b45a5c7f9f0fef9d.jpg","text":"TemporaryFile(/tmp/multipartBody2069069914482646653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802333103,"filename":"image_09122025_09_56_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/12/27/5a9821e8ee28fc702a09b62543c49cbe.jpg","text":"TemporaryFile(/tmp/multipartBody731802134992244260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802333103,"filename":"image_09122025_09_57_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb026df855a1ad091aa790b8af2fadf8.jpg","text":"TemporaryFile(/tmp/multipartBody3357449908069632245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802333103,"filename":"image_09122025_09_57_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213003","file1":"1401213001","file0":"1401212998","file4":"1401213008","file5":"1401213010","file3":"1401213005"},"map_files_photo_id_array":[{"photo_id":"1401213010","filename":"file5"},{"photo_id":"1401213003","filename":"file2"},{"photo_id":"1401213008","filename":"file4"},{"photo_id":"1401213001","filename":"file1"},{"photo_id":"1401212998","filename":"file0"},{"photo_id":"1401213005","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213005":["hashtag1","hashtag2"]},{"1401213008":["hashtag1","hashtag2"]},{"1401212998":["hashtag1","hashtag2"]},{"1401213010":["hashtag1","hashtag2"]},{"1401213001":["hashtag1","hashtag2"]},{"1401213003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213005, 1401213008, 1401212998, 1401213010, 1401213001, 1401213003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92549514770508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:25:17.409711
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_45_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_34_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_25_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_56_04_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_55_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_45_10659.jpg', '/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_34_9620.jpg', '/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_25_9635.jpg', '/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_15_10658.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_56_04_9621.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_55_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_45_10659.jpg
/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_34_9620.jpg
/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_25_9635.jpg
/home/nano/Desktop/images/09122025/09/56/image_09122025_09_56_15_10658.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_56_04_9621.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_55_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":["1401213041","1401213043","1401213037","1401213045","1401213039","1401213036"],"photo_ids_order":["1401213036","1401213037","1401213039","1401213041","1401213043","1401213045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58bb47887cdad0b1d8611e9e09ca95a4.jpg","text":"TemporaryFile(/tmp/multipartBody4099060272088305125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802378216,"filename":"image_09122025_09_56_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/011b48f67579d113092dc1ce3eb32cc1.jpg","text":"TemporaryFile(/tmp/multipartBody47623415833881578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802378216,"filename":"image_09122025_09_56_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/12/27/3392978d566ceb4e5d87220e39e39e39.jpg","text":"TemporaryFile(/tmp/multipartBody3998330693385628896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802378216,"filename":"image_09122025_09_56_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/12/27/b6635d2e2cb250a45a972afe049eda41.jpg","text":"TemporaryFile(/tmp/multipartBody2749225288565745978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802378216,"filename":"image_09122025_09_55_55_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71c42fdc964f9e931ad0d97ed7e8cd34.jpg","text":"TemporaryFile(/tmp/multipartBody7832184575635885792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802378216,"filename":"image_09122025_09_56_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b0e439b55aebcccff193b7cb2e44cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4393855339179390293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802378216,"filename":"image_09122025_09_56_45_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213039","file1":"1401213037","file0":"1401213036","file4":"1401213043","file5":"1401213045","file3":"1401213041"},"map_files_photo_id_array":[{"photo_id":"1401213045","filename":"file5"},{"photo_id":"1401213039","filename":"file2"},{"photo_id":"1401213043","filename":"file4"},{"photo_id":"1401213037","filename":"file1"},{"photo_id":"1401213036","filename":"file0"},{"photo_id":"1401213041","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213041":["hashtag1","hashtag2"]},{"1401213043":["hashtag1","hashtag2"]},{"1401213037":["hashtag1","hashtag2"]},{"1401213045":["hashtag1","hashtag2"]},{"1401213039":["hashtag1","hashtag2"]},{"1401213036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213041, 1401213043, 1401213037, 1401213045, 1401213039, 1401213036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44400644302368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:26:02.767393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_45_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_34_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_25_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_55_04_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_55_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_45_10640.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_34_9621.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_25_10653.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_14_9650.jpg', '/home/nano/Desktop/images/09122025/09/54/image_09122025_09_55_04_9649.jpg', '/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_45_10640.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_34_9621.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_25_10653.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_14_9650.jpg
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_55_04_9649.jpg
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_55_10660.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.710263729095459 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:26:17.455045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_45_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_34_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_25_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_55_04_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_55_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_45_10640.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_34_9621.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_25_10653.jpg', '/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_14_9650.jpg', '/home/nano/Desktop/images/09122025/09/54/image_09122025_09_55_04_9649.jpg', '/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_45_10640.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_34_9621.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_25_10653.jpg
/home/nano/Desktop/images/09122025/09/55/image_09122025_09_55_14_9650.jpg
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_55_04_9649.jpg
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_55_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":["1401213065","1401213067","1401213063","1401213057","1401213069","1401213060"],"photo_ids_order":["1401213057","1401213060","1401213063","1401213065","1401213067","1401213069"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/047fec432def61bfde3ad9f0f29b93f9.jpg","text":"TemporaryFile(/tmp/multipartBody7954303166983375016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802438255,"filename":"image_09122025_09_55_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/12/27/e0373f58a63db99dfd6e6be49f27a5f5.jpg","text":"TemporaryFile(/tmp/multipartBody3299015141991320917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802438255,"filename":"image_09122025_09_55_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/12/27/7727479652abb809bb46ee2a9fe58976.jpg","text":"TemporaryFile(/tmp/multipartBody9073976988142846606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802438255,"filename":"image_09122025_09_55_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4772075dc3f6ac37b6b66e5da4644536.jpg","text":"TemporaryFile(/tmp/multipartBody5213645955924446586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802438255,"filename":"image_09122025_09_55_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e247afecfa0576fe1ead2d0c5b9c17e7.jpg","text":"TemporaryFile(/tmp/multipartBody3090118851520576042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802438255,"filename":"image_09122025_09_54_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d70e4e614b8da0c643a48e6fedd5675.jpg","text":"TemporaryFile(/tmp/multipartBody8225987296892215490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802438255,"filename":"image_09122025_09_55_34_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213063","file1":"1401213060","file0":"1401213057","file4":"1401213067","file5":"1401213069","file3":"1401213065"},"map_files_photo_id_array":[{"photo_id":"1401213069","filename":"file5"},{"photo_id":"1401213063","filename":"file2"},{"photo_id":"1401213067","filename":"file4"},{"photo_id":"1401213060","filename":"file1"},{"photo_id":"1401213057","filename":"file0"},{"photo_id":"1401213065","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213065":["hashtag1","hashtag2"]},{"1401213067":["hashtag1","hashtag2"]},{"1401213063":["hashtag1","hashtag2"]},{"1401213057":["hashtag1","hashtag2"]},{"1401213069":["hashtag1","hashtag2"]},{"1401213060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213065, 1401213067, 1401213063, 1401213057, 1401213069, 1401213060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82420873641968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:27:03.005870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_44_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_35_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_25_10655.jpg', 2), ('/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_14_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/53/image_09122025_09_54_05_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_55_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_44_9626.jpg', '/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_35_9630.jpg', '/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_25_10655.jpg', '/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_14_9631.jpg', '/home/nano/Desktop/images/09122025/09/53/image_09122025_09_54_05_9640.jpg', '/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_55_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_44_9626.jpg
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_35_9630.jpg
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_25_10655.jpg
/home/nano/Desktop/images/09122025/09/54/image_09122025_09_54_14_9631.jpg
/home/nano/Desktop/images/09122025/09/53/image_09122025_09_54_05_9640.jpg
/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_55_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":["1401213085","1401213082","1401213076","1401213078","1401213080","1401213074"],"photo_ids_order":["1401213074","1401213076","1401213078","1401213080","1401213082","1401213085"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/302d160c046643266630a861fcd4f0e4.jpg","text":"TemporaryFile(/tmp/multipartBody2209511879153843917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802483895,"filename":"image_09122025_09_53_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff41b8c4d6d5b7ab4df6be037af2b253.jpg","text":"TemporaryFile(/tmp/multipartBody1081096965508138713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802483895,"filename":"image_09122025_09_54_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfcfd8cc5cb4ece00b8f37e19b1fea58.jpg","text":"TemporaryFile(/tmp/multipartBody8635266479934449928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802483895,"filename":"image_09122025_09_54_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a25d77ad495bc383042bcd3841434eba.jpg","text":"TemporaryFile(/tmp/multipartBody2348845447927086738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802483895,"filename":"image_09122025_09_54_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11b0f2e67ef5c6074203ff9e5ae37fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6575643614840883662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802483895,"filename":"image_09122025_09_54_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/12/27/65e7b39e254036023095e11943969ca6.jpg","text":"TemporaryFile(/tmp/multipartBody4431330717438848747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802483895,"filename":"image_09122025_09_54_44_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213078","file1":"1401213076","file0":"1401213074","file4":"1401213082","file5":"1401213085","file3":"1401213080"},"map_files_photo_id_array":[{"photo_id":"1401213085","filename":"file5"},{"photo_id":"1401213078","filename":"file2"},{"photo_id":"1401213082","filename":"file4"},{"photo_id":"1401213076","filename":"file1"},{"photo_id":"1401213074","filename":"file0"},{"photo_id":"1401213080","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213085":["hashtag1","hashtag2"]},{"1401213082":["hashtag1","hashtag2"]},{"1401213076":["hashtag1","hashtag2"]},{"1401213078":["hashtag1","hashtag2"]},{"1401213080":["hashtag1","hashtag2"]},{"1401213074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213085, 1401213082, 1401213076, 1401213078, 1401213080, 1401213074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26715040206909 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:27:47.533031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_44_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_35_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_24_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_14_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/52/image_09122025_09_53_05_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_44_9608.jpg', '/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_35_10608.jpg', '/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_24_9647.jpg', '/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_14_9641.jpg', '/home/nano/Desktop/images/09122025/09/52/image_09122025_09_53_05_10646.jpg', '/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_44_9608.jpg
/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_35_10608.jpg
/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_24_9647.jpg
/home/nano/Desktop/images/09122025/09/53/image_09122025_09_53_14_9641.jpg
/home/nano/Desktop/images/09122025/09/52/image_09122025_09_53_05_10646.jpg
/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_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":["1401213097","1401213094","1401213093","1401213099","1401213092","1401213095"],"photo_ids_order":["1401213092","1401213093","1401213094","1401213095","1401213097","1401213099"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4963b166ac202e02e0635f4de39dfc5d.jpg","text":"TemporaryFile(/tmp/multipartBody8991472607006250597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802528384,"filename":"image_09122025_09_53_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d88b99a39e15d7d74e7f31116fe6f4b7.jpg","text":"TemporaryFile(/tmp/multipartBody794657598702115025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802528384,"filename":"image_09122025_09_53_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/12/27/6c2d74b0a0cb54f4b5f968741bcc5d91.jpg","text":"TemporaryFile(/tmp/multipartBody7663585071005508519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802528384,"filename":"image_09122025_09_53_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/928be69461174d55aaf117b9b7e7ea89.jpg","text":"TemporaryFile(/tmp/multipartBody8357042957527922148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802528384,"filename":"image_09122025_09_52_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/12/27/322572e8ff580b8f72c8f4463a54f5f1.jpg","text":"TemporaryFile(/tmp/multipartBody7818664950709846785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802528384,"filename":"image_09122025_09_53_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/12/27/f793b332b4afe695b2a457bd8fb2090a.jpg","text":"TemporaryFile(/tmp/multipartBody4767777163291998926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802528384,"filename":"image_09122025_09_53_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213094","file1":"1401213093","file0":"1401213092","file4":"1401213097","file5":"1401213099","file3":"1401213095"},"map_files_photo_id_array":[{"photo_id":"1401213099","filename":"file5"},{"photo_id":"1401213094","filename":"file2"},{"photo_id":"1401213097","filename":"file4"},{"photo_id":"1401213093","filename":"file1"},{"photo_id":"1401213092","filename":"file0"},{"photo_id":"1401213095","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213097":["hashtag1","hashtag2"]},{"1401213094":["hashtag1","hashtag2"]},{"1401213093":["hashtag1","hashtag2"]},{"1401213099":["hashtag1","hashtag2"]},{"1401213092":["hashtag1","hashtag2"]},{"1401213095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213097, 1401213094, 1401213093, 1401213099, 1401213092, 1401213095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.174238204956055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:28:32.655768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_45_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_35_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_24_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_15_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/09/51/image_09122025_09_52_05_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_54_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_45_9624.jpg', '/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_35_10619.jpg', '/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_24_9612.jpg', '/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_15_9623.jpg', '/home/nano/Desktop/images/09122025/09/51/image_09122025_09_52_05_10642.jpg', '/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_54_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_45_9624.jpg
/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_35_10619.jpg
/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_24_9612.jpg
/home/nano/Desktop/images/09122025/09/52/image_09122025_09_52_15_9623.jpg
/home/nano/Desktop/images/09122025/09/51/image_09122025_09_52_05_10642.jpg
/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_54_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":["1401213119","1401213110","1401213115","1401213112","1401213120","1401213114"],"photo_ids_order":["1401213110","1401213112","1401213114","1401213115","1401213119","1401213120"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7bffd59a6d1b8206defcbb3d25c2473c.jpg","text":"TemporaryFile(/tmp/multipartBody495715468576475682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802573471,"filename":"image_09122025_09_52_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d725a00cfc5a0355dae71e0298d88049.jpg","text":"TemporaryFile(/tmp/multipartBody9012677463118860867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802573471,"filename":"image_09122025_09_52_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e992abaaeb79aae4b33c31ba5c54282b.jpg","text":"TemporaryFile(/tmp/multipartBody7559903027921854709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802573471,"filename":"image_09122025_09_52_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b539de717d334f2527732fa38c4290c.jpg","text":"TemporaryFile(/tmp/multipartBody5175719929598210727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802573471,"filename":"image_09122025_09_52_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f250606462dcea5ebdfd142c4ea4e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody2022115022936865076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802573471,"filename":"image_09122025_09_51_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/12/27/ba8b31092ed66e3a7cb87aba3f73d01e.jpg","text":"TemporaryFile(/tmp/multipartBody2630885552662376975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802573471,"filename":"image_09122025_09_52_24_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213114","file1":"1401213112","file0":"1401213110","file4":"1401213119","file5":"1401213120","file3":"1401213115"},"map_files_photo_id_array":[{"photo_id":"1401213120","filename":"file5"},{"photo_id":"1401213114","filename":"file2"},{"photo_id":"1401213119","filename":"file4"},{"photo_id":"1401213112","filename":"file1"},{"photo_id":"1401213110","filename":"file0"},{"photo_id":"1401213115","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213119":["hashtag1","hashtag2"]},{"1401213110":["hashtag1","hashtag2"]},{"1401213115":["hashtag1","hashtag2"]},{"1401213112":["hashtag1","hashtag2"]},{"1401213120":["hashtag1","hashtag2"]},{"1401213114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213119, 1401213110, 1401213115, 1401213112, 1401213120, 1401213114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94280767440796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:29:17.742564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_45_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_34_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_25_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_15_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/09/50/image_09122025_09_51_04_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_55_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_45_10630.jpg', '/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_34_9644.jpg', '/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_25_9624.jpg', '/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_15_10651.jpg', '/home/nano/Desktop/images/09122025/09/50/image_09122025_09_51_04_9622.jpg', '/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_55_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_45_10630.jpg
/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_34_9644.jpg
/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_25_9624.jpg
/home/nano/Desktop/images/09122025/09/51/image_09122025_09_51_15_10651.jpg
/home/nano/Desktop/images/09122025/09/50/image_09122025_09_51_04_9622.jpg
/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_55_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":["1401213134","1401213128","1401213136","1401213138","1401213132","1401213126"],"photo_ids_order":["1401213126","1401213128","1401213132","1401213134","1401213136","1401213138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77af1176c5d2c2dbe947a1602dfd2938.jpg","text":"TemporaryFile(/tmp/multipartBody339458324115650965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802618572,"filename":"image_09122025_09_51_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f1f99869245c2e33d45acd5a4f4d9e9.jpg","text":"TemporaryFile(/tmp/multipartBody1017445417226059008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802618572,"filename":"image_09122025_09_51_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/12/27/84d8abe4abfc5de62d192311f3d5a686.jpg","text":"TemporaryFile(/tmp/multipartBody2213691491937326778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802618572,"filename":"image_09122025_09_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/12/27/ea3a303b96318d2659952b9aec3e0f64.jpg","text":"TemporaryFile(/tmp/multipartBody4670898622924581291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802618572,"filename":"image_09122025_09_50_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82c6eff5a51bfb1aabc6ec3c08069f14.jpg","text":"TemporaryFile(/tmp/multipartBody5791165597721266169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802618572,"filename":"image_09122025_09_51_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49f57386ddfcad6ff22fed1bd1d7f687.jpg","text":"TemporaryFile(/tmp/multipartBody3297057005962942596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802618572,"filename":"image_09122025_09_51_45_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213132","file1":"1401213128","file0":"1401213126","file4":"1401213136","file5":"1401213138","file3":"1401213134"},"map_files_photo_id_array":[{"photo_id":"1401213138","filename":"file5"},{"photo_id":"1401213132","filename":"file2"},{"photo_id":"1401213136","filename":"file4"},{"photo_id":"1401213128","filename":"file1"},{"photo_id":"1401213126","filename":"file0"},{"photo_id":"1401213134","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213134":["hashtag1","hashtag2"]},{"1401213128":["hashtag1","hashtag2"]},{"1401213136":["hashtag1","hashtag2"]},{"1401213138":["hashtag1","hashtag2"]},{"1401213132":["hashtag1","hashtag2"]},{"1401213126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213134, 1401213128, 1401213136, 1401213138, 1401213132, 1401213126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.808398485183716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:30:02.224896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_45_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_34_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_25_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_14_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/09/49/image_09122025_09_50_04_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_55_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_45_10631.jpg', '/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_34_9625.jpg', '/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_25_10652.jpg', '/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_14_9642.jpg', '/home/nano/Desktop/images/09122025/09/49/image_09122025_09_50_04_9627.jpg', '/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_55_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_45_10631.jpg
/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_34_9625.jpg
/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_25_10652.jpg
/home/nano/Desktop/images/09122025/09/50/image_09122025_09_50_14_9642.jpg
/home/nano/Desktop/images/09122025/09/49/image_09122025_09_50_04_9627.jpg
/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_55_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":["1401213149","1401213143","1401213151","1401213145","1401213147","1401213141"],"photo_ids_order":["1401213141","1401213143","1401213145","1401213147","1401213149","1401213151"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8102ea6c7302af5928446472a075330.jpg","text":"TemporaryFile(/tmp/multipartBody3022780619869014959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802663167,"filename":"image_09122025_09_50_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/12/27/5143b9ad0bf3c1836b07e99c4a456651.jpg","text":"TemporaryFile(/tmp/multipartBody122799157613098149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802663167,"filename":"image_09122025_09_50_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/12/27/8c40dfd06c4d637bd9592a00fa036726.jpg","text":"TemporaryFile(/tmp/multipartBody417611170947945513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802663167,"filename":"image_09122025_09_49_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/688ade81a440c4b0b6de84ff2db96a88.jpg","text":"TemporaryFile(/tmp/multipartBody370147099099943579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802663167,"filename":"image_09122025_09_50_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3508ba6f6aba97ec8ccf5e96fefafb2b.jpg","text":"TemporaryFile(/tmp/multipartBody2935016836100997564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802663167,"filename":"image_09122025_09_50_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/12/27/f2cb3571a655651305a281961a4033a9.jpg","text":"TemporaryFile(/tmp/multipartBody2696311188711258088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802663167,"filename":"image_09122025_09_50_45_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213145","file1":"1401213143","file0":"1401213141","file4":"1401213149","file5":"1401213151","file3":"1401213147"},"map_files_photo_id_array":[{"photo_id":"1401213151","filename":"file5"},{"photo_id":"1401213145","filename":"file2"},{"photo_id":"1401213149","filename":"file4"},{"photo_id":"1401213143","filename":"file1"},{"photo_id":"1401213141","filename":"file0"},{"photo_id":"1401213147","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213149":["hashtag1","hashtag2"]},{"1401213143":["hashtag1","hashtag2"]},{"1401213151":["hashtag1","hashtag2"]},{"1401213145":["hashtag1","hashtag2"]},{"1401213147":["hashtag1","hashtag2"]},{"1401213141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213149, 1401213143, 1401213151, 1401213145, 1401213147, 1401213141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.464566230773926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:30:46.920622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_44_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_35_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_14_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/09/48/image_09122025_09_49_05_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_44_9611.jpg', '/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_35_9630.jpg', '/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_25_10635.jpg', '/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_14_9611.jpg', '/home/nano/Desktop/images/09122025/09/48/image_09122025_09_49_05_9636.jpg', '/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_44_9611.jpg
/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_35_9630.jpg
/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_25_10635.jpg
/home/nano/Desktop/images/09122025/09/49/image_09122025_09_49_14_9611.jpg
/home/nano/Desktop/images/09122025/09/48/image_09122025_09_49_05_9636.jpg
/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_55_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":["1401213164","1401213166","1401213160","1401213163","1401213162","1401213167"],"photo_ids_order":["1401213160","1401213162","1401213163","1401213164","1401213166","1401213167"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d93b831d2f463d1947409bbf764c2092.jpg","text":"TemporaryFile(/tmp/multipartBody71313489034608733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802707729,"filename":"image_09122025_09_49_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/12/27/39217820eb74bae674bba558b3afbd1b.jpg","text":"TemporaryFile(/tmp/multipartBody6426470977779886615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802707729,"filename":"image_09122025_09_49_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9db12473d9357468cce01bc1674240c.jpg","text":"TemporaryFile(/tmp/multipartBody1732942676547128058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802707729,"filename":"image_09122025_09_49_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/12/27/992739be5f4d4d0ca4553f647cf832c3.jpg","text":"TemporaryFile(/tmp/multipartBody2653803204757948019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802707729,"filename":"image_09122025_09_49_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d9da72b9870c6483943d14ef318676d.jpg","text":"TemporaryFile(/tmp/multipartBody6062434992583341831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802707729,"filename":"image_09122025_09_49_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/352ac52a3fa10a67f7a272234bf8bb23.jpg","text":"TemporaryFile(/tmp/multipartBody1556335313943760410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802707729,"filename":"image_09122025_09_48_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213163","file1":"1401213162","file0":"1401213160","file4":"1401213166","file5":"1401213167","file3":"1401213164"},"map_files_photo_id_array":[{"photo_id":"1401213167","filename":"file5"},{"photo_id":"1401213163","filename":"file2"},{"photo_id":"1401213166","filename":"file4"},{"photo_id":"1401213162","filename":"file1"},{"photo_id":"1401213160","filename":"file0"},{"photo_id":"1401213164","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213164":["hashtag1","hashtag2"]},{"1401213166":["hashtag1","hashtag2"]},{"1401213160":["hashtag1","hashtag2"]},{"1401213163":["hashtag1","hashtag2"]},{"1401213162":["hashtag1","hashtag2"]},{"1401213167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213164, 1401213166, 1401213160, 1401213163, 1401213162, 1401213167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.623491287231445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:31:32.006809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_44_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_35_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_15_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/09/47/image_09122025_09_48_05_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_44_9626.jpg', '/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_35_10653.jpg', '/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_24_9630.jpg', '/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_15_9654.jpg', '/home/nano/Desktop/images/09122025/09/47/image_09122025_09_48_05_10657.jpg', '/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_44_9626.jpg
/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_35_10653.jpg
/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_24_9630.jpg
/home/nano/Desktop/images/09122025/09/48/image_09122025_09_48_15_9654.jpg
/home/nano/Desktop/images/09122025/09/47/image_09122025_09_48_05_10657.jpg
/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_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":["1401213176","1401213179","1401213184","1401213181","1401213183","1401213177"],"photo_ids_order":["1401213176","1401213177","1401213179","1401213181","1401213183","1401213184"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b2637885cd01c1ed2383f19ab993df4.jpg","text":"TemporaryFile(/tmp/multipartBody4627292782100047159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802752808,"filename":"image_09122025_09_48_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/12/27/1e825d3253181ad2aa079eb199011f99.jpg","text":"TemporaryFile(/tmp/multipartBody3451430091685778646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802752808,"filename":"image_09122025_09_48_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/12/27/4ff0073f7aed67295639983aafdd581a.jpg","text":"TemporaryFile(/tmp/multipartBody2145734486273931710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802752808,"filename":"image_09122025_09_47_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/12/27/01c99bf7b481a3c29afaca8dd8ac8482.jpg","text":"TemporaryFile(/tmp/multipartBody4566242420194639124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802752808,"filename":"image_09122025_09_48_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c639f91bbb094527af6342a33ad7f14.jpg","text":"TemporaryFile(/tmp/multipartBody7082032890940311218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802752808,"filename":"image_09122025_09_48_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7c77fcc080e4662cf5e0bcc46c8402c.jpg","text":"TemporaryFile(/tmp/multipartBody8314151482475105551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802752808,"filename":"image_09122025_09_48_35_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213179","file1":"1401213177","file0":"1401213176","file4":"1401213183","file5":"1401213184","file3":"1401213181"},"map_files_photo_id_array":[{"photo_id":"1401213184","filename":"file5"},{"photo_id":"1401213179","filename":"file2"},{"photo_id":"1401213183","filename":"file4"},{"photo_id":"1401213177","filename":"file1"},{"photo_id":"1401213176","filename":"file0"},{"photo_id":"1401213181","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213176":["hashtag1","hashtag2"]},{"1401213179":["hashtag1","hashtag2"]},{"1401213184":["hashtag1","hashtag2"]},{"1401213181":["hashtag1","hashtag2"]},{"1401213183":["hashtag1","hashtag2"]},{"1401213177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213176, 1401213179, 1401213184, 1401213181, 1401213183, 1401213177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.239346504211426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:32:17.125652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_45_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_35_10602.jpg', 2), ('/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_24_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_15_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/09/46/image_09122025_09_47_04_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_45_9629.jpg', '/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_35_10602.jpg', '/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_24_9627.jpg', '/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_15_10654.jpg', '/home/nano/Desktop/images/09122025/09/46/image_09122025_09_47_04_9618.jpg', '/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_45_9629.jpg
/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_35_10602.jpg
/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_24_9627.jpg
/home/nano/Desktop/images/09122025/09/47/image_09122025_09_47_15_10654.jpg
/home/nano/Desktop/images/09122025/09/46/image_09122025_09_47_04_9618.jpg
/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_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":["1401213203","1401213199","1401213190","1401213192","1401213195","1401213201"],"photo_ids_order":["1401213190","1401213192","1401213195","1401213199","1401213201","1401213203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b58237387d0bdbaba589a1c2a9cdfda.jpg","text":"TemporaryFile(/tmp/multipartBody5905536386228923297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802797933,"filename":"image_09122025_09_46_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/12/27/270c599bc53a18d582d2740663ec90d0.jpg","text":"TemporaryFile(/tmp/multipartBody5004014362451389391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802797933,"filename":"image_09122025_09_47_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dad450310936866267f158aa74d54ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3241816401358118221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802797933,"filename":"image_09122025_09_47_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfade92506180b0823942b86db84a0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1462496212461855174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802797933,"filename":"image_09122025_09_47_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9dd617294d1ada4407c8db55ec9be10.jpg","text":"TemporaryFile(/tmp/multipartBody6165154702119398934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802797933,"filename":"image_09122025_09_47_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/12/27/d18f1b2e74ef997369faaa44c8647b37.jpg","text":"TemporaryFile(/tmp/multipartBody5932010378864367324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802797933,"filename":"image_09122025_09_47_04_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213195","file1":"1401213192","file0":"1401213190","file4":"1401213201","file5":"1401213203","file3":"1401213199"},"map_files_photo_id_array":[{"photo_id":"1401213203","filename":"file5"},{"photo_id":"1401213195","filename":"file2"},{"photo_id":"1401213201","filename":"file4"},{"photo_id":"1401213192","filename":"file1"},{"photo_id":"1401213190","filename":"file0"},{"photo_id":"1401213199","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213203":["hashtag1","hashtag2"]},{"1401213199":["hashtag1","hashtag2"]},{"1401213190":["hashtag1","hashtag2"]},{"1401213192":["hashtag1","hashtag2"]},{"1401213195":["hashtag1","hashtag2"]},{"1401213201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213203, 1401213199, 1401213190, 1401213192, 1401213195, 1401213201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.256897926330566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:33:02.746713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_45_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_34_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_25_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_15_10674.jpg', 2), ('/home/nano/Desktop/images/09122025/09/45/image_09122025_09_46_04_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_45_10635.jpg', '/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_34_9623.jpg', '/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_25_9623.jpg', '/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_15_10674.jpg', '/home/nano/Desktop/images/09122025/09/45/image_09122025_09_46_04_9644.jpg', '/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_45_10635.jpg
/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_34_9623.jpg
/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_25_9623.jpg
/home/nano/Desktop/images/09122025/09/46/image_09122025_09_46_15_10674.jpg
/home/nano/Desktop/images/09122025/09/45/image_09122025_09_46_04_9644.jpg
/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_55_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":["1401213221","1401213226","1401213223","1401213217","1401213219","1401213210"],"photo_ids_order":["1401213210","1401213217","1401213219","1401213221","1401213223","1401213226"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d423a4782af5dbdf79ef0c3e8cdd46f.jpg","text":"TemporaryFile(/tmp/multipartBody1136888261259313060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802843640,"filename":"image_09122025_09_46_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e2fe3df5ed5de3bb6eb768c1e0200e1.jpg","text":"TemporaryFile(/tmp/multipartBody3960263924318514207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802843640,"filename":"image_09122025_09_45_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bc1ad2d2efa64402b0e9ab96f3f27a2.jpg","text":"TemporaryFile(/tmp/multipartBody7367345983091544180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802843640,"filename":"image_09122025_09_46_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/12/27/c37a1f1c994bba8ebdb47047cb686873.jpg","text":"TemporaryFile(/tmp/multipartBody1990406011650530144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802843640,"filename":"image_09122025_09_46_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/12/27/f37653d2d9ed99f3d1b900c426899581.jpg","text":"TemporaryFile(/tmp/multipartBody7466553164535797944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802843640,"filename":"image_09122025_09_46_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f7079c40eb4bf8757dfbcdf26ea4842.jpg","text":"TemporaryFile(/tmp/multipartBody6107477619949687445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802843640,"filename":"image_09122025_09_46_45_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213219","file1":"1401213217","file0":"1401213210","file4":"1401213223","file5":"1401213226","file3":"1401213221"},"map_files_photo_id_array":[{"photo_id":"1401213226","filename":"file5"},{"photo_id":"1401213219","filename":"file2"},{"photo_id":"1401213223","filename":"file4"},{"photo_id":"1401213217","filename":"file1"},{"photo_id":"1401213210","filename":"file0"},{"photo_id":"1401213221","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213221":["hashtag1","hashtag2"]},{"1401213226":["hashtag1","hashtag2"]},{"1401213223":["hashtag1","hashtag2"]},{"1401213217":["hashtag1","hashtag2"]},{"1401213219":["hashtag1","hashtag2"]},{"1401213210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213221, 1401213226, 1401213223, 1401213217, 1401213219, 1401213210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38984751701355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:33:47.197199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_45_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_34_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_14_9687.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_45_04_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_55_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_45_10619.jpg', '/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_34_9631.jpg', '/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_25_10643.jpg', '/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_14_9687.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_45_04_9658.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_55_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_45_10619.jpg
/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_34_9631.jpg
/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_25_10643.jpg
/home/nano/Desktop/images/09122025/09/45/image_09122025_09_45_14_9687.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_45_04_9658.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_55_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":["1401213236","1401213239","1401213233","1401213235","1401213238","1401213234"],"photo_ids_order":["1401213233","1401213234","1401213235","1401213236","1401213238","1401213239"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbb3874ada1b40b63e929dea00bd00d9.jpg","text":"TemporaryFile(/tmp/multipartBody5209296669897472508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802888007,"filename":"image_09122025_09_45_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/12/27/263eccdfd7d1b8e304fd0a1557fb1b02.jpg","text":"TemporaryFile(/tmp/multipartBody6328903071795727224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802888007,"filename":"image_09122025_09_44_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6744bca23312d66dbebe5a29ec4fc35.jpg","text":"TemporaryFile(/tmp/multipartBody5375832964332598892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802888007,"filename":"image_09122025_09_45_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c3ce97bdf7b5d1b3c3b3efbaa7493d5.jpg","text":"TemporaryFile(/tmp/multipartBody6575922364587359249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802888007,"filename":"image_09122025_09_45_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cb540bc8b02fabfae40b8f1f81a5838.jpg","text":"TemporaryFile(/tmp/multipartBody1282967840984339137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802888007,"filename":"image_09122025_09_45_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/12/27/e55f64e4a04236d9ba257f1e66431f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3118567709989552779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802888007,"filename":"image_09122025_09_45_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213235","file1":"1401213234","file0":"1401213233","file4":"1401213238","file5":"1401213239","file3":"1401213236"},"map_files_photo_id_array":[{"photo_id":"1401213239","filename":"file5"},{"photo_id":"1401213235","filename":"file2"},{"photo_id":"1401213238","filename":"file4"},{"photo_id":"1401213234","filename":"file1"},{"photo_id":"1401213233","filename":"file0"},{"photo_id":"1401213236","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213236":["hashtag1","hashtag2"]},{"1401213239":["hashtag1","hashtag2"]},{"1401213233":["hashtag1","hashtag2"]},{"1401213235":["hashtag1","hashtag2"]},{"1401213238":["hashtag1","hashtag2"]},{"1401213234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213236, 1401213239, 1401213233, 1401213235, 1401213238, 1401213234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.985982179641724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:34:32.279919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_44_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_25_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_14_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_44_05_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_55_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_44_9641.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_35_9634.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_25_10630.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_14_9644.jpg', '/home/nano/Desktop/images/09122025/09/43/image_09122025_09_44_05_9630.jpg', '/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_44_9641.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_35_9634.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_25_10630.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_14_9644.jpg
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_44_05_9630.jpg
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_55_10621.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7215473651885986 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:34:47.282654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_44_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_25_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_14_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_44_05_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_55_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_44_9641.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_35_9634.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_25_10630.jpg', '/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_14_9644.jpg', '/home/nano/Desktop/images/09122025/09/43/image_09122025_09_44_05_9630.jpg', '/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_44_9641.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_35_9634.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_25_10630.jpg
/home/nano/Desktop/images/09122025/09/44/image_09122025_09_44_14_9644.jpg
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_44_05_9630.jpg
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_55_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":["1401213260","1401213257","1401213268","1401213255","1401213264","1401213266"],"photo_ids_order":["1401213255","1401213257","1401213260","1401213264","1401213266","1401213268"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e39edeefa0fc75639006aea6ca8c202e.jpg","text":"TemporaryFile(/tmp/multipartBody5831581028687989658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802948076,"filename":"image_09122025_09_44_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50fbfd370747db3d477d9b082055d614.jpg","text":"TemporaryFile(/tmp/multipartBody7903728316787218217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802948076,"filename":"image_09122025_09_44_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e38b0117a271ce5ff97ea1b275ec4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8305415805954634114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802948076,"filename":"image_09122025_09_43_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ac1ceb06d3571fff280ed410c22bba3.jpg","text":"TemporaryFile(/tmp/multipartBody5893373372675903952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802948076,"filename":"image_09122025_09_44_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/12/27/4199b59a7b465050d699591235b29921.jpg","text":"TemporaryFile(/tmp/multipartBody6652867304928121295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802948076,"filename":"image_09122025_09_44_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/12/27/2ef117c78a73bedaf421ee8af8c7a57d.jpg","text":"TemporaryFile(/tmp/multipartBody3793460030438395357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802948076,"filename":"image_09122025_09_44_05_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213260","file1":"1401213257","file0":"1401213255","file4":"1401213266","file5":"1401213268","file3":"1401213264"},"map_files_photo_id_array":[{"photo_id":"1401213268","filename":"file5"},{"photo_id":"1401213260","filename":"file2"},{"photo_id":"1401213266","filename":"file4"},{"photo_id":"1401213257","filename":"file1"},{"photo_id":"1401213255","filename":"file0"},{"photo_id":"1401213264","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213260":["hashtag1","hashtag2"]},{"1401213257":["hashtag1","hashtag2"]},{"1401213268":["hashtag1","hashtag2"]},{"1401213255":["hashtag1","hashtag2"]},{"1401213264":["hashtag1","hashtag2"]},{"1401213266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213260, 1401213257, 1401213268, 1401213255, 1401213264, 1401213266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71944332122803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:35:32.398829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_24_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_15_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/09/42/image_09122025_09_43_05_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_44_9611.jpg', '/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_35_10616.jpg', '/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_24_9604.jpg', '/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_15_9617.jpg', '/home/nano/Desktop/images/09122025/09/42/image_09122025_09_43_05_10622.jpg', '/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_44_9611.jpg
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_35_10616.jpg
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_24_9604.jpg
/home/nano/Desktop/images/09122025/09/43/image_09122025_09_43_15_9617.jpg
/home/nano/Desktop/images/09122025/09/42/image_09122025_09_43_05_10622.jpg
/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_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":["1401213281","1401213278","1401213280","1401213283","1401213276","1401213284"],"photo_ids_order":["1401213276","1401213278","1401213280","1401213281","1401213283","1401213284"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33489d6daf077ec0fdd64ce1a49ea6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5392390394993700867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802993235,"filename":"image_09122025_09_43_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fa612f4a4863eba99d5c453bd9010321.jpg","text":"TemporaryFile(/tmp/multipartBody913878678091623558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802993235,"filename":"image_09122025_09_43_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee0327b12b9c6a2de02a551d98a9ad96.jpg","text":"TemporaryFile(/tmp/multipartBody5194723762755290872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802993235,"filename":"image_09122025_09_43_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/12/27/7704e5e1cd884aa4af9156b320bddc09.jpg","text":"TemporaryFile(/tmp/multipartBody7687719453528056692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802993235,"filename":"image_09122025_09_43_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f284146ff62fd24a7e16c2f39ecc8383.jpg","text":"TemporaryFile(/tmp/multipartBody880142268563461949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802993235,"filename":"image_09122025_09_43_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/12/27/872d235d4412326ee081dd01df2d577e.jpg","text":"TemporaryFile(/tmp/multipartBody5491757420291828804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766802993235,"filename":"image_09122025_09_42_54_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213280","file1":"1401213278","file0":"1401213276","file4":"1401213283","file5":"1401213284","file3":"1401213281"},"map_files_photo_id_array":[{"photo_id":"1401213284","filename":"file5"},{"photo_id":"1401213280","filename":"file2"},{"photo_id":"1401213283","filename":"file4"},{"photo_id":"1401213278","filename":"file1"},{"photo_id":"1401213276","filename":"file0"},{"photo_id":"1401213281","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213281":["hashtag1","hashtag2"]},{"1401213278":["hashtag1","hashtag2"]},{"1401213280":["hashtag1","hashtag2"]},{"1401213283":["hashtag1","hashtag2"]},{"1401213276":["hashtag1","hashtag2"]},{"1401213284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213281, 1401213278, 1401213280, 1401213283, 1401213276, 1401213284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38110852241516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:36:17.476879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_45_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_35_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_24_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_15_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/09/41/image_09122025_09_42_04_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_45_9614.jpg', '/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_35_10611.jpg', '/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_24_9640.jpg', '/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_15_10654.jpg', '/home/nano/Desktop/images/09122025/09/41/image_09122025_09_42_04_9646.jpg', '/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_45_9614.jpg
/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_35_10611.jpg
/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_24_9640.jpg
/home/nano/Desktop/images/09122025/09/42/image_09122025_09_42_15_10654.jpg
/home/nano/Desktop/images/09122025/09/41/image_09122025_09_42_04_9646.jpg
/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_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":["1401213289","1401213298","1401213301","1401213291","1401213304","1401213294"],"photo_ids_order":["1401213289","1401213291","1401213294","1401213298","1401213301","1401213304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13fc581a53b7bd5b69b45da61b477a2f.jpg","text":"TemporaryFile(/tmp/multipartBody9049333159017008827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803038293,"filename":"image_09122025_09_42_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f1256dc2eced1fe93137c106806ae4e.jpg","text":"TemporaryFile(/tmp/multipartBody9055302872180764900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803038293,"filename":"image_09122025_09_42_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f0bfd36e5e614aba84a4a52433f8d39.jpg","text":"TemporaryFile(/tmp/multipartBody2747291669342128494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803038293,"filename":"image_09122025_09_42_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/12/27/2ff63f766261a6df53e1b959cb3d8d16.jpg","text":"TemporaryFile(/tmp/multipartBody1585618965763863248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803038293,"filename":"image_09122025_09_42_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2984412aa247dbb33159349d15e6449.jpg","text":"TemporaryFile(/tmp/multipartBody5881921755230227884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803038293,"filename":"image_09122025_09_41_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/12/27/7ef6b4b957ca35757b131dd65102b878.jpg","text":"TemporaryFile(/tmp/multipartBody9135741515789104144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803038293,"filename":"image_09122025_09_42_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213294","file1":"1401213291","file0":"1401213289","file4":"1401213301","file5":"1401213304","file3":"1401213298"},"map_files_photo_id_array":[{"photo_id":"1401213304","filename":"file5"},{"photo_id":"1401213294","filename":"file2"},{"photo_id":"1401213301","filename":"file4"},{"photo_id":"1401213291","filename":"file1"},{"photo_id":"1401213289","filename":"file0"},{"photo_id":"1401213298","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213289":["hashtag1","hashtag2"]},{"1401213298":["hashtag1","hashtag2"]},{"1401213301":["hashtag1","hashtag2"]},{"1401213291":["hashtag1","hashtag2"]},{"1401213304":["hashtag1","hashtag2"]},{"1401213294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213289, 1401213298, 1401213301, 1401213291, 1401213304, 1401213294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.488040924072266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:37:03.068392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_45_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_34_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_25_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_15_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/09/40/image_09122025_09_41_04_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_55_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_45_10622.jpg', '/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_34_9620.jpg', '/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_25_9609.jpg', '/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_15_10639.jpg', '/home/nano/Desktop/images/09122025/09/40/image_09122025_09_41_04_9612.jpg', '/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_55_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_45_10622.jpg
/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_34_9620.jpg
/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_25_9609.jpg
/home/nano/Desktop/images/09122025/09/41/image_09122025_09_41_15_10639.jpg
/home/nano/Desktop/images/09122025/09/40/image_09122025_09_41_04_9612.jpg
/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_55_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":["1401213320","1401213317","1401213313","1401213310","1401213312","1401213315"],"photo_ids_order":["1401213310","1401213312","1401213313","1401213315","1401213317","1401213320"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0926091aab85cefba2a2b948e1b1d020.jpg","text":"TemporaryFile(/tmp/multipartBody7400809699003082647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803083916,"filename":"image_09122025_09_40_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1e2668fa08ab794617a8626fa3cf584.jpg","text":"TemporaryFile(/tmp/multipartBody6944004771984332327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803083916,"filename":"image_09122025_09_41_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/12/27/ab57a014023bd0d230c9d7dd9a604478.jpg","text":"TemporaryFile(/tmp/multipartBody7245591454899018603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803083916,"filename":"image_09122025_09_41_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77d9ed1e1d523917b314b39e4b29fb3f.jpg","text":"TemporaryFile(/tmp/multipartBody4609331717700339224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803083916,"filename":"image_09122025_09_41_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbff1c2b41ff75a87344d3725e19b376.jpg","text":"TemporaryFile(/tmp/multipartBody8281934506930957922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803083916,"filename":"image_09122025_09_41_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/12/27/b12ba8b61a9f8e7ae30d1e69311ede58.jpg","text":"TemporaryFile(/tmp/multipartBody8862822569374468521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803083916,"filename":"image_09122025_09_41_15_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213313","file1":"1401213312","file0":"1401213310","file4":"1401213317","file5":"1401213320","file3":"1401213315"},"map_files_photo_id_array":[{"photo_id":"1401213320","filename":"file5"},{"photo_id":"1401213313","filename":"file2"},{"photo_id":"1401213317","filename":"file4"},{"photo_id":"1401213312","filename":"file1"},{"photo_id":"1401213310","filename":"file0"},{"photo_id":"1401213315","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213320":["hashtag1","hashtag2"]},{"1401213317":["hashtag1","hashtag2"]},{"1401213313":["hashtag1","hashtag2"]},{"1401213310":["hashtag1","hashtag2"]},{"1401213312":["hashtag1","hashtag2"]},{"1401213315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213320, 1401213317, 1401213313, 1401213310, 1401213312, 1401213315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29504084587097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:37:47.594351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_44_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_35_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_14_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/09/39/image_09122025_09_40_05_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_55_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_44_9609.jpg', '/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_35_9598.jpg', '/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_25_10635.jpg', '/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_14_9633.jpg', '/home/nano/Desktop/images/09122025/09/39/image_09122025_09_40_05_9622.jpg', '/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_44_9609.jpg
/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_35_9598.jpg
/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_25_10635.jpg
/home/nano/Desktop/images/09122025/09/40/image_09122025_09_40_14_9633.jpg
/home/nano/Desktop/images/09122025/09/39/image_09122025_09_40_05_9622.jpg
/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_55_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":["1401213329","1401213332","1401213334","1401213328","1401213330","1401213327"],"photo_ids_order":["1401213327","1401213328","1401213329","1401213330","1401213332","1401213334"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f41d156560cc3203d0c5930ebb5c209f.jpg","text":"TemporaryFile(/tmp/multipartBody707141384736527453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803128406,"filename":"image_09122025_09_40_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6e232b9110fee7c1de3026093fea252.jpg","text":"TemporaryFile(/tmp/multipartBody2352978121949040843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803128406,"filename":"image_09122025_09_40_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/116864074eb392d24d9e666630aff916.jpg","text":"TemporaryFile(/tmp/multipartBody1947321735038170178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803128406,"filename":"image_09122025_09_39_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8565d111e16301d8c9c016ed5286d77c.jpg","text":"TemporaryFile(/tmp/multipartBody5659300779001417431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803128406,"filename":"image_09122025_09_40_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a7fd2cd9a36435ac01712beb8465ce8.jpg","text":"TemporaryFile(/tmp/multipartBody3956552490434265100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803128406,"filename":"image_09122025_09_40_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/12/27/41a18a7b12165f9053f0853b8c07b79d.jpg","text":"TemporaryFile(/tmp/multipartBody812776101734748617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803128406,"filename":"image_09122025_09_40_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213329","file1":"1401213328","file0":"1401213327","file4":"1401213332","file5":"1401213334","file3":"1401213330"},"map_files_photo_id_array":[{"photo_id":"1401213334","filename":"file5"},{"photo_id":"1401213329","filename":"file2"},{"photo_id":"1401213332","filename":"file4"},{"photo_id":"1401213328","filename":"file1"},{"photo_id":"1401213327","filename":"file0"},{"photo_id":"1401213330","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213329":["hashtag1","hashtag2"]},{"1401213332":["hashtag1","hashtag2"]},{"1401213334":["hashtag1","hashtag2"]},{"1401213328":["hashtag1","hashtag2"]},{"1401213330":["hashtag1","hashtag2"]},{"1401213327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213329, 1401213332, 1401213334, 1401213328, 1401213330, 1401213327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.166470527648926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:38:32.693556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_44_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_35_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_24_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_15_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/38/image_09122025_09_39_05_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_44_9622.jpg', '/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_35_10627.jpg', '/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_24_9597.jpg', '/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_15_9643.jpg', '/home/nano/Desktop/images/09122025/09/38/image_09122025_09_39_05_10656.jpg', '/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_44_9622.jpg
/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_35_10627.jpg
/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_24_9597.jpg
/home/nano/Desktop/images/09122025/09/39/image_09122025_09_39_15_9643.jpg
/home/nano/Desktop/images/09122025/09/38/image_09122025_09_39_05_10656.jpg
/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_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":["1401213350","1401213344","1401213352","1401213346","1401213342","1401213351"],"photo_ids_order":["1401213342","1401213344","1401213346","1401213350","1401213351","1401213352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c81fe2b2a241621f6c4f386666f9af3c.jpg","text":"TemporaryFile(/tmp/multipartBody5438207358658209012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803173526,"filename":"image_09122025_09_39_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0dace547eaa5b3f3c0d237706a0f90fd.jpg","text":"TemporaryFile(/tmp/multipartBody948837085648913815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803173526,"filename":"image_09122025_09_39_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e3f6a856ded06f959d981934fb16bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2259093423977502644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803173526,"filename":"image_09122025_09_38_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/12/27/6de81caa2f98c2e27b793ed2b7da118f.jpg","text":"TemporaryFile(/tmp/multipartBody1267402204738941311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803173526,"filename":"image_09122025_09_39_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/12/27/934d90100eec9fd087003a5eca38f9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5797834472296231778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803173526,"filename":"image_09122025_09_39_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/12/27/250ce7212d56e54650b1ee31e15b7e84.jpg","text":"TemporaryFile(/tmp/multipartBody1822047214844780331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803173526,"filename":"image_09122025_09_39_05_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213346","file1":"1401213344","file0":"1401213342","file4":"1401213351","file5":"1401213352","file3":"1401213350"},"map_files_photo_id_array":[{"photo_id":"1401213352","filename":"file5"},{"photo_id":"1401213346","filename":"file2"},{"photo_id":"1401213351","filename":"file4"},{"photo_id":"1401213344","filename":"file1"},{"photo_id":"1401213342","filename":"file0"},{"photo_id":"1401213350","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213350":["hashtag1","hashtag2"]},{"1401213344":["hashtag1","hashtag2"]},{"1401213352":["hashtag1","hashtag2"]},{"1401213346":["hashtag1","hashtag2"]},{"1401213342":["hashtag1","hashtag2"]},{"1401213351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213350, 1401213344, 1401213352, 1401213346, 1401213342, 1401213351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27335739135742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:39:16.831404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_45_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_35_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_24_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_15_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/09/37/image_09122025_09_38_04_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_55_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_45_9619.jpg', '/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_35_10619.jpg', '/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_24_9646.jpg', '/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_15_10642.jpg', '/home/nano/Desktop/images/09122025/09/37/image_09122025_09_38_04_9594.jpg', '/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_55_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_45_9619.jpg
/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_35_10619.jpg
/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_24_9646.jpg
/home/nano/Desktop/images/09122025/09/38/image_09122025_09_38_15_10642.jpg
/home/nano/Desktop/images/09122025/09/37/image_09122025_09_38_04_9594.jpg
/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_55_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":["1401213368","1401213356","1401213361","1401213364","1401213358","1401213366"],"photo_ids_order":["1401213356","1401213358","1401213361","1401213364","1401213366","1401213368"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65328c42dead1e354cf7ae4ab504c6fa.jpg","text":"TemporaryFile(/tmp/multipartBody1520744520056317185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803217635,"filename":"image_09122025_09_37_55_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6db0fad46047de70f26d828e2f6ef30.jpg","text":"TemporaryFile(/tmp/multipartBody6957189957768060129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803217635,"filename":"image_09122025_09_38_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e1a4e34237eb50ebd7fec32f435db53.jpg","text":"TemporaryFile(/tmp/multipartBody3060812705837526994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803217635,"filename":"image_09122025_09_38_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/12/27/ff0084df301c9ae47bbb1239642b3822.jpg","text":"TemporaryFile(/tmp/multipartBody3633044197121396752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803217635,"filename":"image_09122025_09_38_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0877bd9873019551c7a0556a443ee0a.jpg","text":"TemporaryFile(/tmp/multipartBody1436215804159124607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803217635,"filename":"image_09122025_09_38_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a8128ecb079caf13dceb55f38f9698b.jpg","text":"TemporaryFile(/tmp/multipartBody1503067137503416365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803217635,"filename":"image_09122025_09_38_04_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213361","file1":"1401213358","file0":"1401213356","file4":"1401213366","file5":"1401213368","file3":"1401213364"},"map_files_photo_id_array":[{"photo_id":"1401213368","filename":"file5"},{"photo_id":"1401213361","filename":"file2"},{"photo_id":"1401213366","filename":"file4"},{"photo_id":"1401213358","filename":"file1"},{"photo_id":"1401213356","filename":"file0"},{"photo_id":"1401213364","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213368":["hashtag1","hashtag2"]},{"1401213356":["hashtag1","hashtag2"]},{"1401213361":["hashtag1","hashtag2"]},{"1401213364":["hashtag1","hashtag2"]},{"1401213358":["hashtag1","hashtag2"]},{"1401213366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213368, 1401213356, 1401213361, 1401213364, 1401213358, 1401213366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06101608276367 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:40:02.350997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_45_10600.jpg', 2), ('/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_34_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_25_10603.jpg', 2), ('/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_14_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_37_04_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_55_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_45_10600.jpg', '/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_34_9601.jpg', '/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_25_10603.jpg', '/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_14_9635.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_37_04_9654.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_55_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_45_10600.jpg
/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_34_9601.jpg
/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_25_10603.jpg
/home/nano/Desktop/images/09122025/09/37/image_09122025_09_37_14_9635.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_37_04_9654.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_55_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":["1401213382","1401213379","1401213373","1401213375","1401213377","1401213371"],"photo_ids_order":["1401213371","1401213373","1401213375","1401213377","1401213379","1401213382"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e27f0db95f3489c77fe42845fb6ca32.jpg","text":"TemporaryFile(/tmp/multipartBody5013658852696558667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803263212,"filename":"image_09122025_09_36_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69b68f69b9675ee75550d018b0599853.jpg","text":"TemporaryFile(/tmp/multipartBody4463121539669619655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803263212,"filename":"image_09122025_09_37_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/12/27/3c49b5c3dec96899f5fbaa5363a32688.jpg","text":"TemporaryFile(/tmp/multipartBody1626501684025580491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803263212,"filename":"image_09122025_09_37_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/12/27/5faf777904a5770307470836b062a735.jpg","text":"TemporaryFile(/tmp/multipartBody2962632338642819525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803263212,"filename":"image_09122025_09_37_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50ca932e20bff2d98a9b9e2c1b15b029.jpg","text":"TemporaryFile(/tmp/multipartBody9085197043352046841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803263212,"filename":"image_09122025_09_37_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/12/27/7061d38aae70fc86bc5cf83fc154cf31.jpg","text":"TemporaryFile(/tmp/multipartBody1085241550961804615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803263212,"filename":"image_09122025_09_37_45_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213375","file1":"1401213373","file0":"1401213371","file4":"1401213379","file5":"1401213382","file3":"1401213377"},"map_files_photo_id_array":[{"photo_id":"1401213382","filename":"file5"},{"photo_id":"1401213375","filename":"file2"},{"photo_id":"1401213379","filename":"file4"},{"photo_id":"1401213373","filename":"file1"},{"photo_id":"1401213371","filename":"file0"},{"photo_id":"1401213377","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213382":["hashtag1","hashtag2"]},{"1401213379":["hashtag1","hashtag2"]},{"1401213373":["hashtag1","hashtag2"]},{"1401213375":["hashtag1","hashtag2"]},{"1401213377":["hashtag1","hashtag2"]},{"1401213371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213382, 1401213379, 1401213373, 1401213375, 1401213377, 1401213371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.354769229888916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:40:46.921180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_44_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_35_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_25_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_36_05_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_44_9624.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_35_9621.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_25_10604.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_14_9648.jpg', '/home/nano/Desktop/images/09122025/09/35/image_09122025_09_36_05_9633.jpg', '/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_44_9624.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_35_9621.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_25_10604.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_14_9648.jpg
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_36_05_9633.jpg
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_55_10614.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6875042915344238 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:41:02.410590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_44_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_35_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_25_10604.jpg', 2), ('/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_36_05_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_44_9624.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_35_9621.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_25_10604.jpg', '/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_14_9648.jpg', '/home/nano/Desktop/images/09122025/09/35/image_09122025_09_36_05_9633.jpg', '/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_44_9624.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_35_9621.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_25_10604.jpg
/home/nano/Desktop/images/09122025/09/36/image_09122025_09_36_14_9648.jpg
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_36_05_9633.jpg
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_55_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":["1401213401","1401213404","1401213397","1401213399","1401213395","1401213392"],"photo_ids_order":["1401213392","1401213395","1401213397","1401213399","1401213401","1401213404"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ec5a4ed28903d49ac488a384880e789.jpg","text":"TemporaryFile(/tmp/multipartBody8341519163917619443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803323251,"filename":"image_09122025_09_36_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2732c2a58dc53e0b315567f7f36260ad.jpg","text":"TemporaryFile(/tmp/multipartBody1839487431680604450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803323251,"filename":"image_09122025_09_35_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26ad89660e7b8e0c18e52a0aa916591a.jpg","text":"TemporaryFile(/tmp/multipartBody977841705244187130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803323251,"filename":"image_09122025_09_36_25_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/371fd24dd753c69f83ad3e35b7a293b9.jpg","text":"TemporaryFile(/tmp/multipartBody8939222884986706680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803323251,"filename":"image_09122025_09_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/12/27/235d2f06149996ddf3b7f0d2aeac0372.jpg","text":"TemporaryFile(/tmp/multipartBody568358143518652385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803323251,"filename":"image_09122025_09_36_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/868e157829d56a1096b19d38cfe98907.jpg","text":"TemporaryFile(/tmp/multipartBody8230556032236149012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803323251,"filename":"image_09122025_09_36_44_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213397","file1":"1401213395","file0":"1401213392","file4":"1401213401","file5":"1401213404","file3":"1401213399"},"map_files_photo_id_array":[{"photo_id":"1401213404","filename":"file5"},{"photo_id":"1401213397","filename":"file2"},{"photo_id":"1401213401","filename":"file4"},{"photo_id":"1401213395","filename":"file1"},{"photo_id":"1401213392","filename":"file0"},{"photo_id":"1401213399","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213401":["hashtag1","hashtag2"]},{"1401213404":["hashtag1","hashtag2"]},{"1401213397":["hashtag1","hashtag2"]},{"1401213399":["hashtag1","hashtag2"]},{"1401213395":["hashtag1","hashtag2"]},{"1401213392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213401, 1401213404, 1401213397, 1401213399, 1401213395, 1401213392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.799203634262085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:41:47.008958
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_44_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_35_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_24_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_15_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/34/image_09122025_09_35_05_10638.jpg', 2), ('/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_54_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_44_9638.jpg', '/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_35_10635.jpg', '/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_24_9644.jpg', '/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_15_9630.jpg', '/home/nano/Desktop/images/09122025/09/34/image_09122025_09_35_05_10638.jpg', '/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_54_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_44_9638.jpg
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_35_10635.jpg
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_24_9644.jpg
/home/nano/Desktop/images/09122025/09/35/image_09122025_09_35_15_9630.jpg
/home/nano/Desktop/images/09122025/09/34/image_09122025_09_35_05_10638.jpg
/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_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":["1401213416","1401213419","1401213413","1401213415","1401213417","1401213414"],"photo_ids_order":["1401213413","1401213414","1401213415","1401213416","1401213417","1401213419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0979afb9053367c4aed39083a8d55f8.jpg","text":"TemporaryFile(/tmp/multipartBody2871637080597502916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803367805,"filename":"image_09122025_09_35_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/975e4e91b856ac128301ba74cc4d32fd.jpg","text":"TemporaryFile(/tmp/multipartBody3315916116123494404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803367805,"filename":"image_09122025_09_34_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/12/27/c0786ae46de1df766f9e2c98acf3b2d6.jpg","text":"TemporaryFile(/tmp/multipartBody6629042132465790741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803367805,"filename":"image_09122025_09_35_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/12/27/860f9341b35951ac4a7d146da381fe24.jpg","text":"TemporaryFile(/tmp/multipartBody1838274949103586220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803367805,"filename":"image_09122025_09_35_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/12/27/e053aa1331a88251049c243ef9c5abb8.jpg","text":"TemporaryFile(/tmp/multipartBody8805453036915287834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803367805,"filename":"image_09122025_09_35_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/152f5fbb56d3e049a3fc08539cca84ea.jpg","text":"TemporaryFile(/tmp/multipartBody5295481309546943502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803367805,"filename":"image_09122025_09_35_35_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213415","file1":"1401213414","file0":"1401213413","file4":"1401213417","file5":"1401213419","file3":"1401213416"},"map_files_photo_id_array":[{"photo_id":"1401213419","filename":"file5"},{"photo_id":"1401213415","filename":"file2"},{"photo_id":"1401213417","filename":"file4"},{"photo_id":"1401213414","filename":"file1"},{"photo_id":"1401213413","filename":"file0"},{"photo_id":"1401213416","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213416":["hashtag1","hashtag2"]},{"1401213419":["hashtag1","hashtag2"]},{"1401213413":["hashtag1","hashtag2"]},{"1401213415":["hashtag1","hashtag2"]},{"1401213417":["hashtag1","hashtag2"]},{"1401213414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213416, 1401213419, 1401213413, 1401213415, 1401213417, 1401213414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94027543067932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:42:32.104524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_45_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_35_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_24_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_15_10685.jpg', 2), ('/home/nano/Desktop/images/09122025/09/33/image_09122025_09_34_04_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_54_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_45_9619.jpg', '/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_35_10616.jpg', '/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_24_9641.jpg', '/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_15_10685.jpg', '/home/nano/Desktop/images/09122025/09/33/image_09122025_09_34_04_9640.jpg', '/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_54_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_45_9619.jpg
/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_35_10616.jpg
/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_24_9641.jpg
/home/nano/Desktop/images/09122025/09/34/image_09122025_09_34_15_10685.jpg
/home/nano/Desktop/images/09122025/09/33/image_09122025_09_34_04_9640.jpg
/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_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":["1401213434","1401213431","1401213427","1401213435","1401213432","1401213429"],"photo_ids_order":["1401213427","1401213429","1401213431","1401213432","1401213434","1401213435"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6a07ff2351178694707233b5c4695e9.jpg","text":"TemporaryFile(/tmp/multipartBody7825369357721124078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803412915,"filename":"image_09122025_09_34_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/12/27/4b35eb2ecfbaa444bb723395644b6117.jpg","text":"TemporaryFile(/tmp/multipartBody6276951212095625532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803412915,"filename":"image_09122025_09_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/12/27/97f48863e88797053d318c491b5adbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6898796038173275306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803412915,"filename":"image_09122025_09_34_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39099442b041643d3c45385f2ab233cf.jpg","text":"TemporaryFile(/tmp/multipartBody1353712497717792126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803412915,"filename":"image_09122025_09_33_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/12/27/097edf9dcf427156557140d9facbe496.jpg","text":"TemporaryFile(/tmp/multipartBody3579242790036844709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803412915,"filename":"image_09122025_09_34_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40b4240240568132839e62da67ee532f.jpg","text":"TemporaryFile(/tmp/multipartBody6537795448247718586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803412915,"filename":"image_09122025_09_34_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213431","file1":"1401213429","file0":"1401213427","file4":"1401213434","file5":"1401213435","file3":"1401213432"},"map_files_photo_id_array":[{"photo_id":"1401213435","filename":"file5"},{"photo_id":"1401213431","filename":"file2"},{"photo_id":"1401213434","filename":"file4"},{"photo_id":"1401213429","filename":"file1"},{"photo_id":"1401213427","filename":"file0"},{"photo_id":"1401213432","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213434":["hashtag1","hashtag2"]},{"1401213431":["hashtag1","hashtag2"]},{"1401213427":["hashtag1","hashtag2"]},{"1401213435":["hashtag1","hashtag2"]},{"1401213432":["hashtag1","hashtag2"]},{"1401213429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213434, 1401213431, 1401213427, 1401213435, 1401213432, 1401213429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.876810789108276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:43:17.209652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_34_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_25_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/09/32/image_09122025_09_33_04_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_55_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_45_10643.jpg', '/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_34_9640.jpg', '/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_25_9622.jpg', '/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_15_10657.jpg', '/home/nano/Desktop/images/09122025/09/32/image_09122025_09_33_04_9633.jpg', '/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_55_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_45_10643.jpg
/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_34_9640.jpg
/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_25_9622.jpg
/home/nano/Desktop/images/09122025/09/33/image_09122025_09_33_15_10657.jpg
/home/nano/Desktop/images/09122025/09/32/image_09122025_09_33_04_9633.jpg
/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_55_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":["1401213449","1401213440","1401213443","1401213442","1401213445","1401213447"],"photo_ids_order":["1401213440","1401213442","1401213443","1401213445","1401213447","1401213449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3cd14a975e6e21c26f2daf4ab2df6bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2858653374296424678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803458016,"filename":"image_09122025_09_32_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/245cac2606f37118592af2d6a9789656.jpg","text":"TemporaryFile(/tmp/multipartBody8757783318763782410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803458016,"filename":"image_09122025_09_33_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ab74ab3ac1543764af2d5fb738ebea1.jpg","text":"TemporaryFile(/tmp/multipartBody5561051219054765500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803458016,"filename":"image_09122025_09_33_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5bc77a3e1dd1635ba2d53d4ad8c074e.jpg","text":"TemporaryFile(/tmp/multipartBody113016644350960391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803458016,"filename":"image_09122025_09_33_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/12/27/2783f2e4eccb1835595899fc9d0f7f07.jpg","text":"TemporaryFile(/tmp/multipartBody1949055960748083284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803458016,"filename":"image_09122025_09_33_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c092e4342086115716def7fc537edc4a.jpg","text":"TemporaryFile(/tmp/multipartBody2753830446403316502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803458016,"filename":"image_09122025_09_33_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213443","file1":"1401213442","file0":"1401213440","file4":"1401213447","file5":"1401213449","file3":"1401213445"},"map_files_photo_id_array":[{"photo_id":"1401213449","filename":"file5"},{"photo_id":"1401213443","filename":"file2"},{"photo_id":"1401213447","filename":"file4"},{"photo_id":"1401213442","filename":"file1"},{"photo_id":"1401213440","filename":"file0"},{"photo_id":"1401213445","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213449":["hashtag1","hashtag2"]},{"1401213440":["hashtag1","hashtag2"]},{"1401213443":["hashtag1","hashtag2"]},{"1401213442":["hashtag1","hashtag2"]},{"1401213445":["hashtag1","hashtag2"]},{"1401213447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213449, 1401213440, 1401213443, 1401213442, 1401213445, 1401213447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.224310874938965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:44:02.904955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_34_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_25_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_15_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/09/31/image_09122025_09_32_04_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_55_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_45_10646.jpg', '/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_34_9652.jpg', '/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_25_9612.jpg', '/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_15_10654.jpg', '/home/nano/Desktop/images/09122025/09/31/image_09122025_09_32_04_9630.jpg', '/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_55_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_45_10646.jpg
/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_34_9652.jpg
/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_25_9612.jpg
/home/nano/Desktop/images/09122025/09/32/image_09122025_09_32_15_10654.jpg
/home/nano/Desktop/images/09122025/09/31/image_09122025_09_32_04_9630.jpg
/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_55_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":["1401213461","1401213455","1401213453","1401213462","1401213465","1401213458"],"photo_ids_order":["1401213453","1401213455","1401213458","1401213461","1401213462","1401213465"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf87fff58ddcf4745a0ed5942cb87eee.jpg","text":"TemporaryFile(/tmp/multipartBody7255363874603242803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803503768,"filename":"image_09122025_09_32_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a685dd8afc60a9375f6d98e74eaf060.jpg","text":"TemporaryFile(/tmp/multipartBody5713650195600844434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803503768,"filename":"image_09122025_09_32_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/12/27/57ab6f58da01ce554ad21b30a97801bc.jpg","text":"TemporaryFile(/tmp/multipartBody4382840569545467627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803503768,"filename":"image_09122025_09_32_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32a6e650cdde4a8db28c60ffd8832031.jpg","text":"TemporaryFile(/tmp/multipartBody4095028865087492665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803503768,"filename":"image_09122025_09_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/12/27/493aed4199d8288a003b84c9699e228b.jpg","text":"TemporaryFile(/tmp/multipartBody8697054021544855418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803503768,"filename":"image_09122025_09_31_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c241724949fdf8bf2f902698e9c5254a.jpg","text":"TemporaryFile(/tmp/multipartBody7519836747502181632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803503768,"filename":"image_09122025_09_32_25_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213458","file1":"1401213455","file0":"1401213453","file4":"1401213462","file5":"1401213465","file3":"1401213461"},"map_files_photo_id_array":[{"photo_id":"1401213465","filename":"file5"},{"photo_id":"1401213458","filename":"file2"},{"photo_id":"1401213462","filename":"file4"},{"photo_id":"1401213455","filename":"file1"},{"photo_id":"1401213453","filename":"file0"},{"photo_id":"1401213461","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213461":["hashtag1","hashtag2"]},{"1401213455":["hashtag1","hashtag2"]},{"1401213453":["hashtag1","hashtag2"]},{"1401213462":["hashtag1","hashtag2"]},{"1401213465":["hashtag1","hashtag2"]},{"1401213458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213461, 1401213455, 1401213453, 1401213462, 1401213465, 1401213458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39221811294556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:44:47.306958
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_44_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_25_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_14_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/30/image_09122025_09_31_05_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_55_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_44_9610.jpg', '/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_35_9616.jpg', '/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_25_10631.jpg', '/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_14_9612.jpg', '/home/nano/Desktop/images/09122025/09/30/image_09122025_09_31_05_9626.jpg', '/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_55_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_44_9610.jpg
/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_35_9616.jpg
/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_25_10631.jpg
/home/nano/Desktop/images/09122025/09/31/image_09122025_09_31_14_9612.jpg
/home/nano/Desktop/images/09122025/09/30/image_09122025_09_31_05_9626.jpg
/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_55_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":["1401213473","1401213475","1401213472","1401213471","1401213474","1401213477"],"photo_ids_order":["1401213471","1401213472","1401213473","1401213474","1401213475","1401213477"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2e03a8045c202e4fca61944d1dbb6f2.jpg","text":"TemporaryFile(/tmp/multipartBody4328000376058526606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803548114,"filename":"image_09122025_09_31_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13e450cab853153b086749b37208c8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2362473892841484169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803548114,"filename":"image_09122025_09_31_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd939b64ad761544bb5ac8554ce153b4.jpg","text":"TemporaryFile(/tmp/multipartBody8714578506342398869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803548114,"filename":"image_09122025_09_31_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ef958a96ed08684f7594b84d354d128.jpg","text":"TemporaryFile(/tmp/multipartBody4339104823559775228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803548114,"filename":"image_09122025_09_31_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/12/27/58173fdb26cfee726b9004af802d26b4.jpg","text":"TemporaryFile(/tmp/multipartBody5452402324840290131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803548114,"filename":"image_09122025_09_31_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/12/27/e0e5607b5d24b6750b287f6f384642bd.jpg","text":"TemporaryFile(/tmp/multipartBody4138158474802655154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803548114,"filename":"image_09122025_09_30_55_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213473","file1":"1401213472","file0":"1401213471","file4":"1401213475","file5":"1401213477","file3":"1401213474"},"map_files_photo_id_array":[{"photo_id":"1401213477","filename":"file5"},{"photo_id":"1401213473","filename":"file2"},{"photo_id":"1401213475","filename":"file4"},{"photo_id":"1401213472","filename":"file1"},{"photo_id":"1401213471","filename":"file0"},{"photo_id":"1401213474","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213473":["hashtag1","hashtag2"]},{"1401213475":["hashtag1","hashtag2"]},{"1401213472":["hashtag1","hashtag2"]},{"1401213471":["hashtag1","hashtag2"]},{"1401213474":["hashtag1","hashtag2"]},{"1401213477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213473, 1401213475, 1401213472, 1401213471, 1401213474, 1401213477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.525617361068726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:45:32.415952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_44_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_35_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_24_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_15_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/09/29/image_09122025_09_30_05_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_44_9612.jpg', '/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_35_10612.jpg', '/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_24_9621.jpg', '/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_15_9652.jpg', '/home/nano/Desktop/images/09122025/09/29/image_09122025_09_30_05_10649.jpg', '/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_44_9612.jpg
/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_35_10612.jpg
/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_24_9621.jpg
/home/nano/Desktop/images/09122025/09/30/image_09122025_09_30_15_9652.jpg
/home/nano/Desktop/images/09122025/09/29/image_09122025_09_30_05_10649.jpg
/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_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":["1401213487","1401213490","1401213489","1401213483","1401213491","1401213485"],"photo_ids_order":["1401213483","1401213485","1401213487","1401213489","1401213490","1401213491"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de720841954338c322fe9027ed6da704.jpg","text":"TemporaryFile(/tmp/multipartBody4698389103074873026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803593210,"filename":"image_09122025_09_30_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/12/27/ddd474b6f27a044a994e75faed25dff4.jpg","text":"TemporaryFile(/tmp/multipartBody726947455317624649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803593210,"filename":"image_09122025_09_30_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f63d9b31efafa80a01dbe8ead0bf24d.jpg","text":"TemporaryFile(/tmp/multipartBody4910250382089423120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803593210,"filename":"image_09122025_09_30_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d1e651f65973659c48d49f08ed8113d.jpg","text":"TemporaryFile(/tmp/multipartBody6359185645371593348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803593210,"filename":"image_09122025_09_30_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/12/27/d0bf9d4369a0dcee55fbe826d29bd8b5.jpg","text":"TemporaryFile(/tmp/multipartBody5773999262620937601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803593210,"filename":"image_09122025_09_29_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/12/27/d8025ffd0f5ccc089050eabaa247f950.jpg","text":"TemporaryFile(/tmp/multipartBody3863967509290468107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803593210,"filename":"image_09122025_09_30_35_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213487","file1":"1401213485","file0":"1401213483","file4":"1401213490","file5":"1401213491","file3":"1401213489"},"map_files_photo_id_array":[{"photo_id":"1401213491","filename":"file5"},{"photo_id":"1401213487","filename":"file2"},{"photo_id":"1401213490","filename":"file4"},{"photo_id":"1401213485","filename":"file1"},{"photo_id":"1401213483","filename":"file0"},{"photo_id":"1401213489","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213487":["hashtag1","hashtag2"]},{"1401213490":["hashtag1","hashtag2"]},{"1401213489":["hashtag1","hashtag2"]},{"1401213483":["hashtag1","hashtag2"]},{"1401213491":["hashtag1","hashtag2"]},{"1401213485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213487, 1401213490, 1401213489, 1401213483, 1401213491, 1401213485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0681631565094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:46:17.552403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_45_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_35_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_24_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_15_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/09/28/image_09122025_09_29_05_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_45_9617.jpg', '/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_35_10624.jpg', '/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_24_9623.jpg', '/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_15_9661.jpg', '/home/nano/Desktop/images/09122025/09/28/image_09122025_09_29_05_10652.jpg', '/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_45_9617.jpg
/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_35_10624.jpg
/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_24_9623.jpg
/home/nano/Desktop/images/09122025/09/29/image_09122025_09_29_15_9661.jpg
/home/nano/Desktop/images/09122025/09/28/image_09122025_09_29_05_10652.jpg
/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_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":["1401213500","1401213506","1401213496","1401213498","1401213502","1401213504"],"photo_ids_order":["1401213496","1401213498","1401213500","1401213502","1401213504","1401213506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d527187efd54b6e81855cd58f31b1ff.jpg","text":"TemporaryFile(/tmp/multipartBody3824971527628938956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803638373,"filename":"image_09122025_09_29_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/12/27/4c3327a435c0d19f07e9c6b429dfc132.jpg","text":"TemporaryFile(/tmp/multipartBody1611988653165450451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803638373,"filename":"image_09122025_09_28_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/12/27/3845fbb92df72a195f11c8c405d2b09b.jpg","text":"TemporaryFile(/tmp/multipartBody3620560285139876549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803638373,"filename":"image_09122025_09_29_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a822eb0ae92cd53808e5e69e1c13b74.jpg","text":"TemporaryFile(/tmp/multipartBody3312159078084834960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803638373,"filename":"image_09122025_09_29_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6f515857058b67ea54ddddcbdeceb12.jpg","text":"TemporaryFile(/tmp/multipartBody2480029559492939129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803638373,"filename":"image_09122025_09_29_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/419f22cbf5d2df5534f438b465646b3e.jpg","text":"TemporaryFile(/tmp/multipartBody2781214395463575774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803638373,"filename":"image_09122025_09_29_05_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213500","file1":"1401213498","file0":"1401213496","file4":"1401213504","file5":"1401213506","file3":"1401213502"},"map_files_photo_id_array":[{"photo_id":"1401213506","filename":"file5"},{"photo_id":"1401213500","filename":"file2"},{"photo_id":"1401213504","filename":"file4"},{"photo_id":"1401213498","filename":"file1"},{"photo_id":"1401213496","filename":"file0"},{"photo_id":"1401213502","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213500":["hashtag1","hashtag2"]},{"1401213506":["hashtag1","hashtag2"]},{"1401213496":["hashtag1","hashtag2"]},{"1401213498":["hashtag1","hashtag2"]},{"1401213502":["hashtag1","hashtag2"]},{"1401213504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213500, 1401213506, 1401213496, 1401213498, 1401213502, 1401213504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02060532569885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:47:03.153005
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_45_10664.jpg', 2), ('/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_34_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_25_9688.jpg', 2), ('/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_15_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/27/image_09122025_09_28_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_55_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_45_10664.jpg', '/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_34_9616.jpg', '/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_25_9688.jpg', '/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_15_10650.jpg', '/home/nano/Desktop/images/09122025/09/27/image_09122025_09_28_04_9637.jpg', '/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_45_10664.jpg
/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_34_9616.jpg
/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_25_9688.jpg
/home/nano/Desktop/images/09122025/09/28/image_09122025_09_28_15_10650.jpg
/home/nano/Desktop/images/09122025/09/27/image_09122025_09_28_04_9637.jpg
/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_55_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":["1401213521","1401213515","1401213523","1401213526","1401213517","1401213519"],"photo_ids_order":["1401213515","1401213517","1401213519","1401213521","1401213523","1401213526"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6abfa424ab15d9d0eb5a8c4ba7d3a37a.jpg","text":"TemporaryFile(/tmp/multipartBody8800139818938900259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803684070,"filename":"image_09122025_09_28_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5255599b3ff72fb1fa1322a83e5561cb.jpg","text":"TemporaryFile(/tmp/multipartBody5013153250652837566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803684070,"filename":"image_09122025_09_28_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7eaebf43c9af537121e4bc837efe4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1888621582809021198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803684070,"filename":"image_09122025_09_28_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/12/27/5384ca11d86c9bf9dbe953ce23630d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5019011478312299372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803684070,"filename":"image_09122025_09_27_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be24ba8564ade2cc5674634d8390af16.jpg","text":"TemporaryFile(/tmp/multipartBody1939077258737065677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803684070,"filename":"image_09122025_09_28_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/12/27/b6eb0f9c756ffad4aaaf571a007bec1b.jpg","text":"TemporaryFile(/tmp/multipartBody7693147999427216121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803684070,"filename":"image_09122025_09_28_25_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213519","file1":"1401213517","file0":"1401213515","file4":"1401213523","file5":"1401213526","file3":"1401213521"},"map_files_photo_id_array":[{"photo_id":"1401213526","filename":"file5"},{"photo_id":"1401213519","filename":"file2"},{"photo_id":"1401213523","filename":"file4"},{"photo_id":"1401213517","filename":"file1"},{"photo_id":"1401213515","filename":"file0"},{"photo_id":"1401213521","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213521":["hashtag1","hashtag2"]},{"1401213515":["hashtag1","hashtag2"]},{"1401213523":["hashtag1","hashtag2"]},{"1401213526":["hashtag1","hashtag2"]},{"1401213517":["hashtag1","hashtag2"]},{"1401213519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213521, 1401213515, 1401213523, 1401213526, 1401213517, 1401213519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.659215688705444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:47:47.650655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_45_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_34_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_25_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_15_10673.jpg', 2), ('/home/nano/Desktop/images/09122025/09/26/image_09122025_09_27_04_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_55_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_45_10636.jpg', '/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_34_9613.jpg', '/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_25_9614.jpg', '/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_15_10673.jpg', '/home/nano/Desktop/images/09122025/09/26/image_09122025_09_27_04_9640.jpg', '/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_55_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_45_10636.jpg
/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_34_9613.jpg
/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_25_9614.jpg
/home/nano/Desktop/images/09122025/09/27/image_09122025_09_27_15_10673.jpg
/home/nano/Desktop/images/09122025/09/26/image_09122025_09_27_04_9640.jpg
/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_55_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":["1401213533","1401213536","1401213538","1401213535","1401213534","1401213537"],"photo_ids_order":["1401213533","1401213534","1401213535","1401213536","1401213537","1401213538"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a803d4bf961e1baa75fe37a0ae444b2.jpg","text":"TemporaryFile(/tmp/multipartBody1952857844928273093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803728492,"filename":"image_09122025_09_27_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc9422993ea3fa405f082ee3ad96063f.jpg","text":"TemporaryFile(/tmp/multipartBody7380440623331269671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803728492,"filename":"image_09122025_09_27_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91a865ac551af57ae1b1b007d4e4fe77.jpg","text":"TemporaryFile(/tmp/multipartBody7012907362642010729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803728492,"filename":"image_09122025_09_26_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f64442383e797b3c8f013cf553472d0.jpg","text":"TemporaryFile(/tmp/multipartBody5659718193477507453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803728492,"filename":"image_09122025_09_27_25_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/110b0d817fafd054229a96e5fbda7db9.jpg","text":"TemporaryFile(/tmp/multipartBody442288374361928396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803728492,"filename":"image_09122025_09_27_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/12/27/2e319bb27250816e7e6005fa4c63a1d9.jpg","text":"TemporaryFile(/tmp/multipartBody740534342130425945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803728492,"filename":"image_09122025_09_27_04_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213535","file1":"1401213534","file0":"1401213533","file4":"1401213537","file5":"1401213538","file3":"1401213536"},"map_files_photo_id_array":[{"photo_id":"1401213538","filename":"file5"},{"photo_id":"1401213535","filename":"file2"},{"photo_id":"1401213537","filename":"file4"},{"photo_id":"1401213534","filename":"file1"},{"photo_id":"1401213533","filename":"file0"},{"photo_id":"1401213536","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213533":["hashtag1","hashtag2"]},{"1401213536":["hashtag1","hashtag2"]},{"1401213538":["hashtag1","hashtag2"]},{"1401213535":["hashtag1","hashtag2"]},{"1401213534":["hashtag1","hashtag2"]},{"1401213537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213533, 1401213536, 1401213538, 1401213535, 1401213534, 1401213537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63351345062256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:48:32.728840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_44_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_34_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_25_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_14_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/25/image_09122025_09_26_05_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_55_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_44_9631.jpg', '/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_34_9610.jpg', '/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_25_10624.jpg', '/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_14_9621.jpg', '/home/nano/Desktop/images/09122025/09/25/image_09122025_09_26_05_9635.jpg', '/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_55_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_44_9631.jpg
/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_34_9610.jpg
/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_25_10624.jpg
/home/nano/Desktop/images/09122025/09/26/image_09122025_09_26_14_9621.jpg
/home/nano/Desktop/images/09122025/09/25/image_09122025_09_26_05_9635.jpg
/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_55_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":["1401213551","1401213545","1401213548","1401213556","1401213552","1401213555"],"photo_ids_order":["1401213545","1401213548","1401213551","1401213552","1401213555","1401213556"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d28fdb2eef4d9cced16b2d31a92c1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1961534629571419433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803773529,"filename":"image_09122025_09_26_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56ac29231aab06fd8a9c1ea4f560bd2e.jpg","text":"TemporaryFile(/tmp/multipartBody6001483631522279533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803773529,"filename":"image_09122025_09_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/12/27/749b87c05a179453c7ee41ba905be875.jpg","text":"TemporaryFile(/tmp/multipartBody104528989464119913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803773529,"filename":"image_09122025_09_26_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/12/27/7e64522f7f9f019db69b951583035b40.jpg","text":"TemporaryFile(/tmp/multipartBody5815566385916419569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803773529,"filename":"image_09122025_09_25_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c1886a0fb173fbbf36ddeb7ecd11aba.jpg","text":"TemporaryFile(/tmp/multipartBody9042689976167826636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803773529,"filename":"image_09122025_09_26_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0987c0b7c8ccf1cd0204516391fc5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4438368862759634918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803773529,"filename":"image_09122025_09_26_05_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213551","file1":"1401213548","file0":"1401213545","file4":"1401213555","file5":"1401213556","file3":"1401213552"},"map_files_photo_id_array":[{"photo_id":"1401213556","filename":"file5"},{"photo_id":"1401213551","filename":"file2"},{"photo_id":"1401213555","filename":"file4"},{"photo_id":"1401213548","filename":"file1"},{"photo_id":"1401213545","filename":"file0"},{"photo_id":"1401213552","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213551":["hashtag1","hashtag2"]},{"1401213545":["hashtag1","hashtag2"]},{"1401213548":["hashtag1","hashtag2"]},{"1401213556":["hashtag1","hashtag2"]},{"1401213552":["hashtag1","hashtag2"]},{"1401213555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213551, 1401213545, 1401213548, 1401213556, 1401213552, 1401213555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85008692741394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:49:16.887492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_44_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_35_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_14_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/24/image_09122025_09_25_05_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_44_9638.jpg', '/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_35_9635.jpg', '/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_25_10641.jpg', '/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_14_9622.jpg', '/home/nano/Desktop/images/09122025/09/24/image_09122025_09_25_05_10621.jpg', '/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_44_9638.jpg
/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_35_9635.jpg
/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_25_10641.jpg
/home/nano/Desktop/images/09122025/09/25/image_09122025_09_25_14_9622.jpg
/home/nano/Desktop/images/09122025/09/24/image_09122025_09_25_05_10621.jpg
/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_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":["1401213569","1401213560","1401213562","1401213571","1401213565","1401213567"],"photo_ids_order":["1401213560","1401213562","1401213565","1401213567","1401213569","1401213571"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11d7200208f501599dbaac9b0ba4a55b.jpg","text":"TemporaryFile(/tmp/multipartBody1632208292165570480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803817692,"filename":"image_09122025_09_25_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db2f8fe9eeac84c16d7cc4af6bab62fd.jpg","text":"TemporaryFile(/tmp/multipartBody7879316986282980161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803817692,"filename":"image_09122025_09_25_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/12/27/90f36617147b30d48eebb65ac71c5772.jpg","text":"TemporaryFile(/tmp/multipartBody4470036941736510082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803817692,"filename":"image_09122025_09_25_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0373dcceb3e7f5d95aea43c2700cb454.jpg","text":"TemporaryFile(/tmp/multipartBody29745412326054700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803817692,"filename":"image_09122025_09_24_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/12/27/e898ada2c4cfef956869675b5ca1e393.jpg","text":"TemporaryFile(/tmp/multipartBody2357749953082500540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803817692,"filename":"image_09122025_09_25_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94281217793f576bb63a56b11911e758.jpg","text":"TemporaryFile(/tmp/multipartBody9009248692976511669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803817692,"filename":"image_09122025_09_25_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213565","file1":"1401213562","file0":"1401213560","file4":"1401213569","file5":"1401213571","file3":"1401213567"},"map_files_photo_id_array":[{"photo_id":"1401213571","filename":"file5"},{"photo_id":"1401213565","filename":"file2"},{"photo_id":"1401213569","filename":"file4"},{"photo_id":"1401213562","filename":"file1"},{"photo_id":"1401213560","filename":"file0"},{"photo_id":"1401213567","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213569":["hashtag1","hashtag2"]},{"1401213560":["hashtag1","hashtag2"]},{"1401213562":["hashtag1","hashtag2"]},{"1401213571":["hashtag1","hashtag2"]},{"1401213565":["hashtag1","hashtag2"]},{"1401213567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213569, 1401213560, 1401213562, 1401213571, 1401213565, 1401213567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23426413536072 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:50:02.338370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_45_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_35_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_24_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_15_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/23/image_09122025_09_24_05_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_45_9616.jpg', '/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_35_10627.jpg', '/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_24_9620.jpg', '/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_15_9620.jpg', '/home/nano/Desktop/images/09122025/09/23/image_09122025_09_24_05_10643.jpg', '/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_45_9616.jpg
/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_35_10627.jpg
/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_24_9620.jpg
/home/nano/Desktop/images/09122025/09/24/image_09122025_09_24_15_9620.jpg
/home/nano/Desktop/images/09122025/09/23/image_09122025_09_24_05_10643.jpg
/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_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":["1401213580","1401213583","1401213582","1401213576","1401213575","1401213578"],"photo_ids_order":["1401213575","1401213576","1401213578","1401213580","1401213582","1401213583"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f672370849623423e0eeb73544060692.jpg","text":"TemporaryFile(/tmp/multipartBody7465782683792719655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803863198,"filename":"image_09122025_09_24_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ba9071b7ff1e87b55d253cdcf750f56.jpg","text":"TemporaryFile(/tmp/multipartBody6978898970442598564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803863198,"filename":"image_09122025_09_23_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/12/27/44528dc7c1332fcbcee7088b71d860a5.jpg","text":"TemporaryFile(/tmp/multipartBody878980896661608977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803863198,"filename":"image_09122025_09_24_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e1e7bbee8abd25cd72ca5be0f2143d9.jpg","text":"TemporaryFile(/tmp/multipartBody4401863073101730471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803863198,"filename":"image_09122025_09_24_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/819f81de2e1e16e27dbc7e6477d23ef8.jpg","text":"TemporaryFile(/tmp/multipartBody9199624720195848304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803863198,"filename":"image_09122025_09_24_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3581c0847bb19a17f6b2e4ab4da44be9.jpg","text":"TemporaryFile(/tmp/multipartBody2397998132041259866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803863198,"filename":"image_09122025_09_24_24_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213578","file1":"1401213576","file0":"1401213575","file4":"1401213582","file5":"1401213583","file3":"1401213580"},"map_files_photo_id_array":[{"photo_id":"1401213583","filename":"file5"},{"photo_id":"1401213578","filename":"file2"},{"photo_id":"1401213582","filename":"file4"},{"photo_id":"1401213576","filename":"file1"},{"photo_id":"1401213575","filename":"file0"},{"photo_id":"1401213580","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213580":["hashtag1","hashtag2"]},{"1401213583":["hashtag1","hashtag2"]},{"1401213582":["hashtag1","hashtag2"]},{"1401213576":["hashtag1","hashtag2"]},{"1401213575":["hashtag1","hashtag2"]},{"1401213578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213580, 1401213583, 1401213582, 1401213576, 1401213575, 1401213578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93067717552185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:50:46.949265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_34_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_25_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_15_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/22/image_09122025_09_23_04_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_55_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_45_10643.jpg', '/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_34_9631.jpg', '/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_25_9618.jpg', '/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_15_10640.jpg', '/home/nano/Desktop/images/09122025/09/22/image_09122025_09_23_04_9618.jpg', '/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_55_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_45_10643.jpg
/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_34_9631.jpg
/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_25_9618.jpg
/home/nano/Desktop/images/09122025/09/23/image_09122025_09_23_15_10640.jpg
/home/nano/Desktop/images/09122025/09/22/image_09122025_09_23_04_9618.jpg
/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_55_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":["1401213595","1401213597","1401213591","1401213593","1401213599","1401213590"],"photo_ids_order":["1401213590","1401213591","1401213593","1401213595","1401213597","1401213599"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39b092d7c2e4e65e8277b3dc5bc3150b.jpg","text":"TemporaryFile(/tmp/multipartBody8757602139829924045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803907747,"filename":"image_09122025_09_23_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e220999c810629614e680de7ec7e42e.jpg","text":"TemporaryFile(/tmp/multipartBody7688803502074491914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803907747,"filename":"image_09122025_09_23_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/12/27/8f67a45ac3733731db87c8f73239ee2f.jpg","text":"TemporaryFile(/tmp/multipartBody2705692453979088173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803907747,"filename":"image_09122025_09_23_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/12/27/e8a90fe7c28472a82e58f19cd7e7ba4c.jpg","text":"TemporaryFile(/tmp/multipartBody2491980209151129632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803907747,"filename":"image_09122025_09_23_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca41ea9a4833a4e4d8572743945a6e69.jpg","text":"TemporaryFile(/tmp/multipartBody6176383188433282071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803907747,"filename":"image_09122025_09_22_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a42ec6e9cb0fafad8369d051b79be21.jpg","text":"TemporaryFile(/tmp/multipartBody372098840957551994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803907747,"filename":"image_09122025_09_23_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213593","file1":"1401213591","file0":"1401213590","file4":"1401213597","file5":"1401213599","file3":"1401213595"},"map_files_photo_id_array":[{"photo_id":"1401213599","filename":"file5"},{"photo_id":"1401213593","filename":"file2"},{"photo_id":"1401213597","filename":"file4"},{"photo_id":"1401213591","filename":"file1"},{"photo_id":"1401213590","filename":"file0"},{"photo_id":"1401213595","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213595":["hashtag1","hashtag2"]},{"1401213597":["hashtag1","hashtag2"]},{"1401213591":["hashtag1","hashtag2"]},{"1401213593":["hashtag1","hashtag2"]},{"1401213599":["hashtag1","hashtag2"]},{"1401213590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213595, 1401213597, 1401213591, 1401213593, 1401213599, 1401213590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10220551490784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:51:32.049609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_45_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_34_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_25_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_14_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/09/21/image_09122025_09_22_04_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_55_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_45_10650.jpg', '/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_34_9610.jpg', '/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_25_10620.jpg', '/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_14_9626.jpg', '/home/nano/Desktop/images/09122025/09/21/image_09122025_09_22_04_9611.jpg', '/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_55_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_45_10650.jpg
/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_34_9610.jpg
/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_25_10620.jpg
/home/nano/Desktop/images/09122025/09/22/image_09122025_09_22_14_9626.jpg
/home/nano/Desktop/images/09122025/09/21/image_09122025_09_22_04_9611.jpg
/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_55_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":["1401213614","1401213608","1401213610","1401213616","1401213615","1401213612"],"photo_ids_order":["1401213608","1401213610","1401213612","1401213614","1401213615","1401213616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4c82d04477e54b8710d714da78790bf.jpg","text":"TemporaryFile(/tmp/multipartBody7837816199624971441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803952893,"filename":"image_09122025_09_22_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/12/27/c69df8cfda4028e41b40a81d887dc08f.jpg","text":"TemporaryFile(/tmp/multipartBody6031469565339714268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803952893,"filename":"image_09122025_09_22_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a417d5d0aabf0d9d4071671acb543bac.jpg","text":"TemporaryFile(/tmp/multipartBody8600736628353737457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803952893,"filename":"image_09122025_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/12/27/219bdcaa89b25ae8d2e5d9ac28c8a7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4569472073740817114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803952893,"filename":"image_09122025_09_21_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e22144e5e737f52b0275d5944cd02ba.jpg","text":"TemporaryFile(/tmp/multipartBody1795455618164108171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803952893,"filename":"image_09122025_09_22_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/12/27/679931f8715882e96c34740acdfd85c8.jpg","text":"TemporaryFile(/tmp/multipartBody1038047348210906375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803952893,"filename":"image_09122025_09_22_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213612","file1":"1401213610","file0":"1401213608","file4":"1401213615","file5":"1401213616","file3":"1401213614"},"map_files_photo_id_array":[{"photo_id":"1401213616","filename":"file5"},{"photo_id":"1401213612","filename":"file2"},{"photo_id":"1401213615","filename":"file4"},{"photo_id":"1401213610","filename":"file1"},{"photo_id":"1401213608","filename":"file0"},{"photo_id":"1401213614","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213614":["hashtag1","hashtag2"]},{"1401213608":["hashtag1","hashtag2"]},{"1401213610":["hashtag1","hashtag2"]},{"1401213616":["hashtag1","hashtag2"]},{"1401213615":["hashtag1","hashtag2"]},{"1401213612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213614, 1401213608, 1401213610, 1401213616, 1401213615, 1401213612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.967086791992188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:52:17.190562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_44_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_35_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_25_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_14_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/09/20/image_09122025_09_21_05_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_55_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_44_9624.jpg', '/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_35_9623.jpg', '/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_25_10650.jpg', '/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_14_9642.jpg', '/home/nano/Desktop/images/09122025/09/20/image_09122025_09_21_05_9646.jpg', '/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_55_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_44_9624.jpg
/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_35_9623.jpg
/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_25_10650.jpg
/home/nano/Desktop/images/09122025/09/21/image_09122025_09_21_14_9642.jpg
/home/nano/Desktop/images/09122025/09/20/image_09122025_09_21_05_9646.jpg
/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_55_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":["1401213632","1401213620","1401213622","1401213627","1401213630","1401213624"],"photo_ids_order":["1401213620","1401213622","1401213624","1401213627","1401213630","1401213632"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d80b34224406b4f3529b02996c48a2a2.jpg","text":"TemporaryFile(/tmp/multipartBody2385865038839394074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803998003,"filename":"image_09122025_09_20_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be11e6f3821f9cab21b14286788d24db.jpg","text":"TemporaryFile(/tmp/multipartBody525128068796496683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803998003,"filename":"image_09122025_09_21_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/12/27/7f57af1afe432d03c407cc9be95df991.jpg","text":"TemporaryFile(/tmp/multipartBody6440254222732041766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803998003,"filename":"image_09122025_09_21_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dff8ef5fed76335a2db8523a50453445.jpg","text":"TemporaryFile(/tmp/multipartBody7214320198580281972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803998003,"filename":"image_09122025_09_21_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/12/27/55231e8ae5b7fd247e4deaf0a83c41d7.jpg","text":"TemporaryFile(/tmp/multipartBody5613558334323687829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803998003,"filename":"image_09122025_09_21_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a62fec73948ec327bb1112bf8bcca23.jpg","text":"TemporaryFile(/tmp/multipartBody2751689395230595142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766803998003,"filename":"image_09122025_09_21_25_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213624","file1":"1401213622","file0":"1401213620","file4":"1401213630","file5":"1401213632","file3":"1401213627"},"map_files_photo_id_array":[{"photo_id":"1401213632","filename":"file5"},{"photo_id":"1401213624","filename":"file2"},{"photo_id":"1401213630","filename":"file4"},{"photo_id":"1401213622","filename":"file1"},{"photo_id":"1401213620","filename":"file0"},{"photo_id":"1401213627","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213632":["hashtag1","hashtag2"]},{"1401213620":["hashtag1","hashtag2"]},{"1401213622":["hashtag1","hashtag2"]},{"1401213627":["hashtag1","hashtag2"]},{"1401213630":["hashtag1","hashtag2"]},{"1401213624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213632, 1401213620, 1401213622, 1401213627, 1401213630, 1401213624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.091779708862305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:53:02.702690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_44_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_24_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_15_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/09/19/image_09122025_09_20_05_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_44_9621.jpg', '/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_35_10643.jpg', '/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_24_9622.jpg', '/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_15_9626.jpg', '/home/nano/Desktop/images/09122025/09/19/image_09122025_09_20_05_10630.jpg', '/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_44_9621.jpg
/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_35_10643.jpg
/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_24_9622.jpg
/home/nano/Desktop/images/09122025/09/20/image_09122025_09_20_15_9626.jpg
/home/nano/Desktop/images/09122025/09/19/image_09122025_09_20_05_10630.jpg
/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_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":["1401213641","1401213635","1401213643","1401213637","1401213646","1401213639"],"photo_ids_order":["1401213635","1401213637","1401213639","1401213641","1401213643","1401213646"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6128b6901968671bfc8c6c45d7f8c63a.jpg","text":"TemporaryFile(/tmp/multipartBody8331923364528113584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804043525,"filename":"image_09122025_09_20_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/013d8615c4bda4935e70b92a2ce3d36e.jpg","text":"TemporaryFile(/tmp/multipartBody5666183718251815155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804043525,"filename":"image_09122025_09_20_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/12/27/d4f2eafc2b52e43884ec57681b69481c.jpg","text":"TemporaryFile(/tmp/multipartBody2980499694300263187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804043525,"filename":"image_09122025_09_20_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2bb96425404df1ce2330f906c2983489.jpg","text":"TemporaryFile(/tmp/multipartBody1702880684044152858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804043525,"filename":"image_09122025_09_20_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a053a9cafe8709615f4e58a0a5d84324.jpg","text":"TemporaryFile(/tmp/multipartBody6689836790347136737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804043525,"filename":"image_09122025_09_19_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/12/27/1deddca654672db3f015249c2c261c09.jpg","text":"TemporaryFile(/tmp/multipartBody5743386978708504004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804043525,"filename":"image_09122025_09_20_24_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213639","file1":"1401213637","file0":"1401213635","file4":"1401213643","file5":"1401213646","file3":"1401213641"},"map_files_photo_id_array":[{"photo_id":"1401213646","filename":"file5"},{"photo_id":"1401213639","filename":"file2"},{"photo_id":"1401213643","filename":"file4"},{"photo_id":"1401213637","filename":"file1"},{"photo_id":"1401213635","filename":"file0"},{"photo_id":"1401213641","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213641":["hashtag1","hashtag2"]},{"1401213635":["hashtag1","hashtag2"]},{"1401213643":["hashtag1","hashtag2"]},{"1401213637":["hashtag1","hashtag2"]},{"1401213646":["hashtag1","hashtag2"]},{"1401213639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213641, 1401213635, 1401213643, 1401213637, 1401213646, 1401213639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63420367240906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:53:47.334650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_45_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_35_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_24_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_15_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/18/image_09122025_09_19_04_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_55_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_45_9616.jpg', '/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_35_10627.jpg', '/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_24_9624.jpg', '/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_15_10631.jpg', '/home/nano/Desktop/images/09122025/09/18/image_09122025_09_19_04_9651.jpg', '/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_45_9616.jpg
/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_35_10627.jpg
/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_24_9624.jpg
/home/nano/Desktop/images/09122025/09/19/image_09122025_09_19_15_10631.jpg
/home/nano/Desktop/images/09122025/09/18/image_09122025_09_19_04_9651.jpg
/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_55_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":["1401213659","1401213653","1401213655","1401213652","1401213654","1401213657"],"photo_ids_order":["1401213652","1401213653","1401213654","1401213655","1401213657","1401213659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3b3e3f99350386a966448d150961b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8290386275795276396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804088139,"filename":"image_09122025_09_18_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd57f2fbe5b5f68b186a477bf4907a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6011559089161995910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804088139,"filename":"image_09122025_09_19_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eaafa710a301e9d8d8f5205c6650eb9c.jpg","text":"TemporaryFile(/tmp/multipartBody7240781265576596769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804088139,"filename":"image_09122025_09_19_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcffe90670a124a1fb167a71ecbef21b.jpg","text":"TemporaryFile(/tmp/multipartBody7213957816515046488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804088139,"filename":"image_09122025_09_19_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83cb006b1b65bd50e50ab39c71e928bf.jpg","text":"TemporaryFile(/tmp/multipartBody2786618522315643546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804088139,"filename":"image_09122025_09_19_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/12/27/55636ac074e4643d65e5f985c7e4312b.jpg","text":"TemporaryFile(/tmp/multipartBody5264337974615506564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804088139,"filename":"image_09122025_09_19_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213654","file1":"1401213653","file0":"1401213652","file4":"1401213657","file5":"1401213659","file3":"1401213655"},"map_files_photo_id_array":[{"photo_id":"1401213659","filename":"file5"},{"photo_id":"1401213654","filename":"file2"},{"photo_id":"1401213657","filename":"file4"},{"photo_id":"1401213653","filename":"file1"},{"photo_id":"1401213652","filename":"file0"},{"photo_id":"1401213655","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213659":["hashtag1","hashtag2"]},{"1401213653":["hashtag1","hashtag2"]},{"1401213655":["hashtag1","hashtag2"]},{"1401213652":["hashtag1","hashtag2"]},{"1401213654":["hashtag1","hashtag2"]},{"1401213657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213659, 1401213653, 1401213655, 1401213652, 1401213654, 1401213657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7121946811676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:54:32.521213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_45_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_25_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_15_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/09/17/image_09122025_09_18_04_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_55_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_45_10648.jpg', '/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_34_9632.jpg', '/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_25_9640.jpg', '/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_15_10640.jpg', '/home/nano/Desktop/images/09122025/09/17/image_09122025_09_18_04_9632.jpg', '/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_55_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_45_10648.jpg
/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_34_9632.jpg
/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_25_9640.jpg
/home/nano/Desktop/images/09122025/09/18/image_09122025_09_18_15_10640.jpg
/home/nano/Desktop/images/09122025/09/17/image_09122025_09_18_04_9632.jpg
/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_55_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":["1401213671","1401213668","1401213673","1401213666","1401213669","1401213674"],"photo_ids_order":["1401213666","1401213668","1401213669","1401213671","1401213673","1401213674"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69dec7f4420c7f1fc2232752c69093a7.jpg","text":"TemporaryFile(/tmp/multipartBody1315883555786663648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804133344,"filename":"image_09122025_09_18_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b02ac0b1500444e12b84d296778e9f9.jpg","text":"TemporaryFile(/tmp/multipartBody5277840067374447261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804133344,"filename":"image_09122025_09_18_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/12/27/eb6ae2942b3804c5a3f9c67c67f9af53.jpg","text":"TemporaryFile(/tmp/multipartBody8588256298850443792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804133344,"filename":"image_09122025_09_18_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/12/27/a483fec6492892873da561f6f8616707.jpg","text":"TemporaryFile(/tmp/multipartBody6716876044483748867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804133344,"filename":"image_09122025_09_18_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed43e4f2ce0160a9485197d4192eff45.jpg","text":"TemporaryFile(/tmp/multipartBody6385998827978045662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804133344,"filename":"image_09122025_09_18_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7798c5b80f91a3b092b66f8a1a329973.jpg","text":"TemporaryFile(/tmp/multipartBody1225302228759742135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804133344,"filename":"image_09122025_09_17_55_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213669","file1":"1401213668","file0":"1401213666","file4":"1401213673","file5":"1401213674","file3":"1401213671"},"map_files_photo_id_array":[{"photo_id":"1401213674","filename":"file5"},{"photo_id":"1401213669","filename":"file2"},{"photo_id":"1401213673","filename":"file4"},{"photo_id":"1401213668","filename":"file1"},{"photo_id":"1401213666","filename":"file0"},{"photo_id":"1401213671","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213671":["hashtag1","hashtag2"]},{"1401213668":["hashtag1","hashtag2"]},{"1401213673":["hashtag1","hashtag2"]},{"1401213666":["hashtag1","hashtag2"]},{"1401213669":["hashtag1","hashtag2"]},{"1401213674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213671, 1401213668, 1401213673, 1401213666, 1401213669, 1401213674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07572793960571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:55:17.534185
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_45_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_34_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_25_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_14_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/16/image_09122025_09_17_05_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_45_10634.jpg', '/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_34_9618.jpg', '/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_25_10620.jpg', '/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_14_9636.jpg', '/home/nano/Desktop/images/09122025/09/16/image_09122025_09_17_05_9608.jpg', '/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_45_10634.jpg
/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_34_9618.jpg
/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_25_10620.jpg
/home/nano/Desktop/images/09122025/09/17/image_09122025_09_17_14_9636.jpg
/home/nano/Desktop/images/09122025/09/16/image_09122025_09_17_05_9608.jpg
/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_55_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":["1401213686","1401213679","1401213688","1401213681","1401213690","1401213684"],"photo_ids_order":["1401213679","1401213681","1401213684","1401213686","1401213688","1401213690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cb34377d3e8990c506f2cf1669263b5.jpg","text":"TemporaryFile(/tmp/multipartBody483289116346679451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804178334,"filename":"image_09122025_09_17_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/12/27/991a78bcc667d042a470fdd62cb05e41.jpg","text":"TemporaryFile(/tmp/multipartBody495047356445506919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804178334,"filename":"image_09122025_09_17_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/355629228417e926efeb1e75800287c6.jpg","text":"TemporaryFile(/tmp/multipartBody3943386617322599746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804178334,"filename":"image_09122025_09_17_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a6acbb252f8b597d5caedd9684c64dc.jpg","text":"TemporaryFile(/tmp/multipartBody7478186147922217248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804178334,"filename":"image_09122025_09_17_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/12/27/7324b462171f75f1659d3d05c8c7b83a.jpg","text":"TemporaryFile(/tmp/multipartBody1125277469598191756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804178334,"filename":"image_09122025_09_16_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08de57a475ea57e91beb43133b047fe7.jpg","text":"TemporaryFile(/tmp/multipartBody3957773677345911601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804178334,"filename":"image_09122025_09_17_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213684","file1":"1401213681","file0":"1401213679","file4":"1401213688","file5":"1401213690","file3":"1401213686"},"map_files_photo_id_array":[{"photo_id":"1401213690","filename":"file5"},{"photo_id":"1401213684","filename":"file2"},{"photo_id":"1401213688","filename":"file4"},{"photo_id":"1401213681","filename":"file1"},{"photo_id":"1401213679","filename":"file0"},{"photo_id":"1401213686","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213686":["hashtag1","hashtag2"]},{"1401213679":["hashtag1","hashtag2"]},{"1401213688":["hashtag1","hashtag2"]},{"1401213681":["hashtag1","hashtag2"]},{"1401213690":["hashtag1","hashtag2"]},{"1401213684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213686, 1401213679, 1401213688, 1401213681, 1401213690, 1401213684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82134747505188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:56:03.079026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_44_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_35_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_14_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/09/15/image_09122025_09_16_05_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_44_9616.jpg', '/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_35_9611.jpg', '/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_25_10641.jpg', '/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_14_9642.jpg', '/home/nano/Desktop/images/09122025/09/15/image_09122025_09_16_05_10649.jpg', '/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_44_9616.jpg
/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_35_9611.jpg
/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_25_10641.jpg
/home/nano/Desktop/images/09122025/09/16/image_09122025_09_16_14_9642.jpg
/home/nano/Desktop/images/09122025/09/15/image_09122025_09_16_05_10649.jpg
/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_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":["1401213694","1401213703","1401213696","1401213700","1401213693","1401213698"],"photo_ids_order":["1401213693","1401213694","1401213696","1401213698","1401213700","1401213703"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f67454e8c8f91c17b26dfdd361f5bdcf.jpg","text":"TemporaryFile(/tmp/multipartBody3897804720939171635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804223962,"filename":"image_09122025_09_16_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1dedcdb5eb322c1b586804163d48f765.jpg","text":"TemporaryFile(/tmp/multipartBody3095022205326291114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804223962,"filename":"image_09122025_09_15_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/12/27/a63592d3038259fe0127d0122cf62da8.jpg","text":"TemporaryFile(/tmp/multipartBody8189407215304620483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804223962,"filename":"image_09122025_09_16_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16630beda8f8be7589bc55b346485685.jpg","text":"TemporaryFile(/tmp/multipartBody7102431024162353734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804223962,"filename":"image_09122025_09_16_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da2de87023a565aa308193b1250c139f.jpg","text":"TemporaryFile(/tmp/multipartBody1039163518117300316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804223962,"filename":"image_09122025_09_16_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/12/27/d0d8f2055f0a85258785b1cdf8f43e83.jpg","text":"TemporaryFile(/tmp/multipartBody8208848138002902055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804223962,"filename":"image_09122025_09_16_14_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213696","file1":"1401213694","file0":"1401213693","file4":"1401213700","file5":"1401213703","file3":"1401213698"},"map_files_photo_id_array":[{"photo_id":"1401213703","filename":"file5"},{"photo_id":"1401213696","filename":"file2"},{"photo_id":"1401213700","filename":"file4"},{"photo_id":"1401213694","filename":"file1"},{"photo_id":"1401213693","filename":"file0"},{"photo_id":"1401213698","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213694":["hashtag1","hashtag2"]},{"1401213703":["hashtag1","hashtag2"]},{"1401213696":["hashtag1","hashtag2"]},{"1401213700":["hashtag1","hashtag2"]},{"1401213693":["hashtag1","hashtag2"]},{"1401213698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213694, 1401213703, 1401213696, 1401213700, 1401213693, 1401213698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30934286117554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:56:47.654059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_45_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_35_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_24_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_15_9674.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_15_05_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_45_9633.jpg', '/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_35_10639.jpg', '/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_24_9624.jpg', '/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_15_9674.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_15_05_10662.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_45_9633.jpg
/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_35_10639.jpg
/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_24_9624.jpg
/home/nano/Desktop/images/09122025/09/15/image_09122025_09_15_15_9674.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_15_05_10662.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_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":["1401213719","1401213721","1401213718","1401213715","1401213720","1401213717"],"photo_ids_order":["1401213715","1401213717","1401213718","1401213719","1401213720","1401213721"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/136838c6b949f5714e8ac748bdbbb997.jpg","text":"TemporaryFile(/tmp/multipartBody4687742408361542278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804268469,"filename":"image_09122025_09_15_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24fbf1c6fd0cddd364a7c066432eb776.jpg","text":"TemporaryFile(/tmp/multipartBody5099513943261413188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804268469,"filename":"image_09122025_09_14_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/12/27/da8c6f5ae8e8aabd64ad1ea549d1eb6f.jpg","text":"TemporaryFile(/tmp/multipartBody1549845371404153075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804268469,"filename":"image_09122025_09_15_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/12/27/480553bf5fcc793fc34bd4379b0bfeb3.jpg","text":"TemporaryFile(/tmp/multipartBody8863565394648859793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804268469,"filename":"image_09122025_09_15_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fa825d25952529b793ac646a58431aad.jpg","text":"TemporaryFile(/tmp/multipartBody2116158000456562959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804268469,"filename":"image_09122025_09_15_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec14d0a17a9bd42a2283bb8bb99276fd.jpg","text":"TemporaryFile(/tmp/multipartBody3857734252415924124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804268469,"filename":"image_09122025_09_15_35_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401213718","file1":"1401213717","file0":"1401213715","file4":"1401213720","file5":"1401213721","file3":"1401213719"},"map_files_photo_id_array":[{"photo_id":"1401213721","filename":"file5"},{"photo_id":"1401213718","filename":"file2"},{"photo_id":"1401213720","filename":"file4"},{"photo_id":"1401213717","filename":"file1"},{"photo_id":"1401213715","filename":"file0"},{"photo_id":"1401213719","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401213719":["hashtag1","hashtag2"]},{"1401213721":["hashtag1","hashtag2"]},{"1401213718":["hashtag1","hashtag2"]},{"1401213715":["hashtag1","hashtag2"]},{"1401213720":["hashtag1","hashtag2"]},{"1401213717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401213719, 1401213721, 1401213718, 1401213715, 1401213720, 1401213717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.249316453933716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:57:31.748986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_45_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_35_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_24_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_15_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_14_05_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_45_9654.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_35_10659.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_24_9644.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_15_9636.jpg', '/home/nano/Desktop/images/09122025/09/13/image_09122025_09_14_05_10653.jpg', '/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_45_9654.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_35_10659.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_24_9644.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_15_9636.jpg
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_14_05_10653.jpg
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_54_9614.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:59:03.303355
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_45_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_35_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_24_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_15_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_14_05_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_45_9654.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_35_10659.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_24_9644.jpg', '/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_15_9636.jpg', '/home/nano/Desktop/images/09122025/09/13/image_09122025_09_14_05_10653.jpg', '/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_45_9654.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_35_10659.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_24_9644.jpg
/home/nano/Desktop/images/09122025/09/14/image_09122025_09_14_15_9636.jpg
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_14_05_10653.jpg
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_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":["1401214202","1401213956","1401214129","1401214024","1401213990","1401214061"],"photo_ids_order":["1401213956","1401213990","1401214024","1401214061","1401214129","1401214202"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0dca0305a676c0957337ed82c8dbc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7771878134162078227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804404170,"filename":"image_09122025_09_13_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/12/27/001166fd8508fc15d41133ef0ca99146.jpg","text":"TemporaryFile(/tmp/multipartBody4415632000534072583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804404170,"filename":"image_09122025_09_14_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d33160ca8a13d577662fae83f56b81a9.jpg","text":"TemporaryFile(/tmp/multipartBody188565145092572743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804404170,"filename":"image_09122025_09_14_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f51cf28db0054efea158a1ce8c492b55.jpg","text":"TemporaryFile(/tmp/multipartBody6904406004367269744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804404170,"filename":"image_09122025_09_14_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/12/27/5928bc8cb310098012aee291dd66f65e.jpg","text":"TemporaryFile(/tmp/multipartBody3545158100754416505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804404170,"filename":"image_09122025_09_14_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1d8452e5829616eac062863db35d62a.jpg","text":"TemporaryFile(/tmp/multipartBody3552510455599707522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804404170,"filename":"image_09122025_09_14_15_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401214024","file1":"1401213990","file0":"1401213956","file4":"1401214129","file5":"1401214202","file3":"1401214061"},"map_files_photo_id_array":[{"photo_id":"1401214202","filename":"file5"},{"photo_id":"1401214024","filename":"file2"},{"photo_id":"1401214129","filename":"file4"},{"photo_id":"1401213990","filename":"file1"},{"photo_id":"1401213956","filename":"file0"},{"photo_id":"1401214061","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401214202":["hashtag1","hashtag2"]},{"1401213956":["hashtag1","hashtag2"]},{"1401214129":["hashtag1","hashtag2"]},{"1401214024":["hashtag1","hashtag2"]},{"1401213990":["hashtag1","hashtag2"]},{"1401214061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401214202, 1401213956, 1401214129, 1401214024, 1401213990, 1401214061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54703211784363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 03:59:47.571114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_45_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_25_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_15_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/09/12/image_09122025_09_13_04_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_45_10647.jpg', '/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_34_9634.jpg', '/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_25_9629.jpg', '/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_15_10656.jpg', '/home/nano/Desktop/images/09122025/09/12/image_09122025_09_13_04_9645.jpg', '/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_45_10647.jpg
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_34_9634.jpg
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_25_9629.jpg
/home/nano/Desktop/images/09122025/09/13/image_09122025_09_13_15_10656.jpg
/home/nano/Desktop/images/09122025/09/12/image_09122025_09_13_04_9645.jpg
/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_55_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":["1401214712","1401214585","1401214843","1401214774","1401214650","1401214908"],"photo_ids_order":["1401214585","1401214650","1401214712","1401214774","1401214843","1401214908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c69e7ad4b0c117b709da25ec32c2833.jpg","text":"TemporaryFile(/tmp/multipartBody8200316668952321204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804448386,"filename":"image_09122025_09_13_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ace12c14b0348add9102b7f26bf2e020.jpg","text":"TemporaryFile(/tmp/multipartBody9115318220693539671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804448386,"filename":"image_09122025_09_13_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de1e8219c71743329d2f83a1c13afd76.jpg","text":"TemporaryFile(/tmp/multipartBody8402209995131201878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804448386,"filename":"image_09122025_09_13_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/12/27/a419307bdd5d31cbb497719c38397d5b.jpg","text":"TemporaryFile(/tmp/multipartBody649454174405986981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804448386,"filename":"image_09122025_09_13_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7234e60207d861fd4b78ed0f89e867fc.jpg","text":"TemporaryFile(/tmp/multipartBody4272296258081298646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804448386,"filename":"image_09122025_09_13_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/12/27/1d66cde8d1ceadc473ca6c606a0a52c5.jpg","text":"TemporaryFile(/tmp/multipartBody3003221867710974593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804448386,"filename":"image_09122025_09_12_55_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401214712","file1":"1401214650","file0":"1401214585","file4":"1401214843","file5":"1401214908","file3":"1401214774"},"map_files_photo_id_array":[{"photo_id":"1401214908","filename":"file5"},{"photo_id":"1401214712","filename":"file2"},{"photo_id":"1401214843","filename":"file4"},{"photo_id":"1401214650","filename":"file1"},{"photo_id":"1401214585","filename":"file0"},{"photo_id":"1401214774","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401214712":["hashtag1","hashtag2"]},{"1401214585":["hashtag1","hashtag2"]},{"1401214843":["hashtag1","hashtag2"]},{"1401214774":["hashtag1","hashtag2"]},{"1401214650":["hashtag1","hashtag2"]},{"1401214908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401214712, 1401214585, 1401214843, 1401214774, 1401214650, 1401214908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.341472864151 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:00:32.672747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_45_10655.jpg', 2), ('/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_34_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_25_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_15_10668.jpg', 2), ('/home/nano/Desktop/images/09122025/09/11/image_09122025_09_12_04_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_55_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_45_10655.jpg', '/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_34_9617.jpg', '/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_25_9630.jpg', '/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_15_10668.jpg', '/home/nano/Desktop/images/09122025/09/11/image_09122025_09_12_04_9631.jpg', '/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_45_10655.jpg
/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_34_9617.jpg
/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_25_9630.jpg
/home/nano/Desktop/images/09122025/09/12/image_09122025_09_12_15_10668.jpg
/home/nano/Desktop/images/09122025/09/11/image_09122025_09_12_04_9631.jpg
/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_55_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":["1401215289","1401215292","1401215285","1401215294","1401215296","1401215287"],"photo_ids_order":["1401215285","1401215287","1401215289","1401215292","1401215294","1401215296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44ea3ebbd7a999f6ec2f597dae5876e3.jpg","text":"TemporaryFile(/tmp/multipartBody2449858545603645104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804493470,"filename":"image_09122025_09_12_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f88bbd0cf4bd911b9b6cbf8047c7db92.jpg","text":"TemporaryFile(/tmp/multipartBody3165276971231502516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804493470,"filename":"image_09122025_09_12_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb1436b31ea7d57f946823d7ae3c194d.jpg","text":"TemporaryFile(/tmp/multipartBody7657861135850941547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804493470,"filename":"image_09122025_09_12_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c29679173d83b0a35bf57c5b309dee9f.jpg","text":"TemporaryFile(/tmp/multipartBody3239676349914099856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804493470,"filename":"image_09122025_09_12_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/12/27/eac25de8d3496c1fe6a1f9ef95ad1ea0.jpg","text":"TemporaryFile(/tmp/multipartBody131606834803292835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804493470,"filename":"image_09122025_09_11_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/009872a82c1d4ab951f0b01b1a08ee5b.jpg","text":"TemporaryFile(/tmp/multipartBody7897613682972022175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804493470,"filename":"image_09122025_09_12_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401215289","file1":"1401215287","file0":"1401215285","file4":"1401215294","file5":"1401215296","file3":"1401215292"},"map_files_photo_id_array":[{"photo_id":"1401215296","filename":"file5"},{"photo_id":"1401215289","filename":"file2"},{"photo_id":"1401215294","filename":"file4"},{"photo_id":"1401215287","filename":"file1"},{"photo_id":"1401215285","filename":"file0"},{"photo_id":"1401215292","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401215289":["hashtag1","hashtag2"]},{"1401215292":["hashtag1","hashtag2"]},{"1401215285":["hashtag1","hashtag2"]},{"1401215294":["hashtag1","hashtag2"]},{"1401215296":["hashtag1","hashtag2"]},{"1401215287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401215289, 1401215292, 1401215285, 1401215294, 1401215296, 1401215287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6836154460907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:01:17.763495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_44_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_34_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_25_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_14_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_11_05_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_55_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_44_9621.jpg', '/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_34_9614.jpg', '/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_25_10624.jpg', '/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_14_9612.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_11_05_9634.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_44_9621.jpg
/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_34_9614.jpg
/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_25_10624.jpg
/home/nano/Desktop/images/09122025/09/11/image_09122025_09_11_14_9612.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_11_05_9634.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_55_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":["1401215488","1401215461","1401215490","1401215439","1401215441","1401215516"],"photo_ids_order":["1401215439","1401215441","1401215461","1401215488","1401215490","1401215516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/289e4140f686575d2a7a0d2ebb09e99d.jpg","text":"TemporaryFile(/tmp/multipartBody6316335801903836973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804538572,"filename":"image_09122025_09_11_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/12/27/6ecaf8998f1d9d3c51f6311790018f32.jpg","text":"TemporaryFile(/tmp/multipartBody103088502395873164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804538572,"filename":"image_09122025_09_11_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b579423acffd3e6e8b118c3c2deef085.jpg","text":"TemporaryFile(/tmp/multipartBody4077117627832982798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804538572,"filename":"image_09122025_09_11_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d3a88dc0bb9513b77780e064c892739.jpg","text":"TemporaryFile(/tmp/multipartBody6104656095513571947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804538572,"filename":"image_09122025_09_11_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/12/27/25ae78c14ba82cbf5fe2ea545b3d39ca.jpg","text":"TemporaryFile(/tmp/multipartBody4128521601652416526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804538572,"filename":"image_09122025_09_11_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/12/27/50888c34036dfb56893af2367ca95cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7003264831204230382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804538572,"filename":"image_09122025_09_10_55_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401215461","file1":"1401215441","file0":"1401215439","file4":"1401215490","file5":"1401215516","file3":"1401215488"},"map_files_photo_id_array":[{"photo_id":"1401215516","filename":"file5"},{"photo_id":"1401215461","filename":"file2"},{"photo_id":"1401215490","filename":"file4"},{"photo_id":"1401215441","filename":"file1"},{"photo_id":"1401215439","filename":"file0"},{"photo_id":"1401215488","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401215488":["hashtag1","hashtag2"]},{"1401215461":["hashtag1","hashtag2"]},{"1401215490":["hashtag1","hashtag2"]},{"1401215439":["hashtag1","hashtag2"]},{"1401215441":["hashtag1","hashtag2"]},{"1401215516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401215488, 1401215461, 1401215490, 1401215439, 1401215441, 1401215516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.095507860183716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:02:02.214690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_44_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_35_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_24_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_15_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_10_05_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_44_9628.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_35_10637.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_24_9621.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_15_9638.jpg', '/home/nano/Desktop/images/09122025/09/09/image_09122025_09_10_05_10650.jpg', '/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_44_9628.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_35_10637.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_24_9621.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_15_9638.jpg
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_10_05_10650.jpg
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_54_9636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7167959213256836 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:02:16.842471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_44_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_35_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_24_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_15_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_10_05_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_44_9628.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_35_10637.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_24_9621.jpg', '/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_15_9638.jpg', '/home/nano/Desktop/images/09122025/09/09/image_09122025_09_10_05_10650.jpg', '/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_44_9628.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_35_10637.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_24_9621.jpg
/home/nano/Desktop/images/09122025/09/10/image_09122025_09_10_15_9638.jpg
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_10_05_10650.jpg
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_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":["1401215851","1401215913","1401215876","1401215858","1401215855","1401215915"],"photo_ids_order":["1401215851","1401215855","1401215858","1401215876","1401215913","1401215915"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9852ff816b4bf7214ab3616a960f209d.jpg","text":"TemporaryFile(/tmp/multipartBody6752377362699377365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804597646,"filename":"image_09122025_09_10_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/12/27/fce05c4e5facc952d08f7a935c3a0cce.jpg","text":"TemporaryFile(/tmp/multipartBody4197138290162775838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804597646,"filename":"image_09122025_09_10_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df6ffbf8d743acb2eb3bf9c2ee64960c.jpg","text":"TemporaryFile(/tmp/multipartBody1444081155360263686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804597646,"filename":"image_09122025_09_10_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5deca513e2bcb8d43cce67f76f71e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4245757221479801169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804597646,"filename":"image_09122025_09_10_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/12/27/b155bca2765f88b7d473ba9a031feaed.jpg","text":"TemporaryFile(/tmp/multipartBody7233867314580219525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804597646,"filename":"image_09122025_09_10_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/befce02bd6839b4f3394232d9e5cf348.jpg","text":"TemporaryFile(/tmp/multipartBody791700356150668739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804597646,"filename":"image_09122025_09_09_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401215858","file1":"1401215855","file0":"1401215851","file4":"1401215913","file5":"1401215915","file3":"1401215876"},"map_files_photo_id_array":[{"photo_id":"1401215915","filename":"file5"},{"photo_id":"1401215858","filename":"file2"},{"photo_id":"1401215913","filename":"file4"},{"photo_id":"1401215855","filename":"file1"},{"photo_id":"1401215851","filename":"file0"},{"photo_id":"1401215876","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401215851":["hashtag1","hashtag2"]},{"1401215913":["hashtag1","hashtag2"]},{"1401215876":["hashtag1","hashtag2"]},{"1401215858":["hashtag1","hashtag2"]},{"1401215855":["hashtag1","hashtag2"]},{"1401215915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401215851, 1401215913, 1401215876, 1401215858, 1401215855, 1401215915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.620402812957764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:03:02.470615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_45_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_35_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_15_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/09/08/image_09122025_09_09_05_10638.jpg', 2), ('/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_45_9612.jpg', '/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_35_10656.jpg', '/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_24_9635.jpg', '/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_15_9648.jpg', '/home/nano/Desktop/images/09122025/09/08/image_09122025_09_09_05_10638.jpg', '/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_45_9612.jpg
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_35_10656.jpg
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_24_9635.jpg
/home/nano/Desktop/images/09122025/09/09/image_09122025_09_09_15_9648.jpg
/home/nano/Desktop/images/09122025/09/08/image_09122025_09_09_05_10638.jpg
/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_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":["1401215985","1401215987","1401215981","1401215975","1401215978","1401215983"],"photo_ids_order":["1401215975","1401215978","1401215981","1401215983","1401215985","1401215987"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aace554a94be753d7c3428a3dfd71607.jpg","text":"TemporaryFile(/tmp/multipartBody5126623845029154260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804643317,"filename":"image_09122025_09_09_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aacac29020dbbfb8e5c38c1bc6f1b9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2173904449925382781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804643317,"filename":"image_09122025_09_08_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/12/27/b05c6847131dcf3e9c2f47b8ed80264c.jpg","text":"TemporaryFile(/tmp/multipartBody1527088592657964463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804643317,"filename":"image_09122025_09_09_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/12/27/590794de0fdd8b17703cd1349177a2a7.jpg","text":"TemporaryFile(/tmp/multipartBody5868657566432041051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804643317,"filename":"image_09122025_09_09_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78c3c894507f077d2ca21b41e39844c4.jpg","text":"TemporaryFile(/tmp/multipartBody644989716854731501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804643317,"filename":"image_09122025_09_09_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ae049ddfc34862c5b710f87e204e8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8330488277466937253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804643317,"filename":"image_09122025_09_09_15_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401215981","file1":"1401215978","file0":"1401215975","file4":"1401215985","file5":"1401215987","file3":"1401215983"},"map_files_photo_id_array":[{"photo_id":"1401215987","filename":"file5"},{"photo_id":"1401215981","filename":"file2"},{"photo_id":"1401215985","filename":"file4"},{"photo_id":"1401215978","filename":"file1"},{"photo_id":"1401215975","filename":"file0"},{"photo_id":"1401215983","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401215985":["hashtag1","hashtag2"]},{"1401215987":["hashtag1","hashtag2"]},{"1401215981":["hashtag1","hashtag2"]},{"1401215975":["hashtag1","hashtag2"]},{"1401215978":["hashtag1","hashtag2"]},{"1401215983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401215985, 1401215987, 1401215981, 1401215975, 1401215978, 1401215983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66604208946228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:03:46.944631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_45_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_34_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_25_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_15_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/07/image_09122025_09_08_04_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_55_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_45_10612.jpg', '/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_34_9623.jpg', '/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_25_9588.jpg', '/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_15_10622.jpg', '/home/nano/Desktop/images/09122025/09/07/image_09122025_09_08_04_9650.jpg', '/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_45_10612.jpg
/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_34_9623.jpg
/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_25_9588.jpg
/home/nano/Desktop/images/09122025/09/08/image_09122025_09_08_15_10622.jpg
/home/nano/Desktop/images/09122025/09/07/image_09122025_09_08_04_9650.jpg
/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_55_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":["1401216004","1401216007","1401216003","1401215999","1401215996","1401216001"],"photo_ids_order":["1401215996","1401215999","1401216001","1401216003","1401216004","1401216007"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb502932e8fd8fbd31fbdb8932e6c580.jpg","text":"TemporaryFile(/tmp/multipartBody7628410924371519540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804687738,"filename":"image_09122025_09_08_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/12/27/6cef5293bb694e0c72e7e043104c70d0.jpg","text":"TemporaryFile(/tmp/multipartBody7935789327022529868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804687738,"filename":"image_09122025_09_07_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50810568039409ca9b5b5ffd3f413c99.jpg","text":"TemporaryFile(/tmp/multipartBody8373263920805664000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804687738,"filename":"image_09122025_09_08_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11a8ada24f1a7975a5b7f137173de30b.jpg","text":"TemporaryFile(/tmp/multipartBody1995505938334713828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804687738,"filename":"image_09122025_09_08_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/12/27/797eff0ba3990fdefb8076f02b682e73.jpg","text":"TemporaryFile(/tmp/multipartBody8697752987781147522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804687738,"filename":"image_09122025_09_08_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82d80ab243eea21fdd722506d64bb66f.jpg","text":"TemporaryFile(/tmp/multipartBody4662661136843982240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804687738,"filename":"image_09122025_09_08_25_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216001","file1":"1401215999","file0":"1401215996","file4":"1401216004","file5":"1401216007","file3":"1401216003"},"map_files_photo_id_array":[{"photo_id":"1401216007","filename":"file5"},{"photo_id":"1401216001","filename":"file2"},{"photo_id":"1401216004","filename":"file4"},{"photo_id":"1401215999","filename":"file1"},{"photo_id":"1401215996","filename":"file0"},{"photo_id":"1401216003","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216004":["hashtag1","hashtag2"]},{"1401216007":["hashtag1","hashtag2"]},{"1401216003":["hashtag1","hashtag2"]},{"1401215999":["hashtag1","hashtag2"]},{"1401215996":["hashtag1","hashtag2"]},{"1401216001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216004, 1401216007, 1401216003, 1401215999, 1401215996, 1401216001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97397184371948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:04:32.070370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_45_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_34_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_25_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_14_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/09/06/image_09122025_09_07_05_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_55_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_45_10622.jpg', '/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_34_9615.jpg', '/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_25_10631.jpg', '/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_14_9645.jpg', '/home/nano/Desktop/images/09122025/09/06/image_09122025_09_07_05_9616.jpg', '/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_55_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_45_10622.jpg
/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_34_9615.jpg
/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_25_10631.jpg
/home/nano/Desktop/images/09122025/09/07/image_09122025_09_07_14_9645.jpg
/home/nano/Desktop/images/09122025/09/06/image_09122025_09_07_05_9616.jpg
/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_55_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":["1401216025","1401216027","1401216018","1401216023","1401216020","1401216016"],"photo_ids_order":["1401216016","1401216018","1401216020","1401216023","1401216025","1401216027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3db7279c4da5471fb2895ecb1942e88.jpg","text":"TemporaryFile(/tmp/multipartBody5276830697231042181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804732885,"filename":"image_09122025_09_07_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40aca2a368d887afd014b8a487208ca0.jpg","text":"TemporaryFile(/tmp/multipartBody1598016168636542923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804732885,"filename":"image_09122025_09_06_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e03d37db2471a6e527d30f2b8447d472.jpg","text":"TemporaryFile(/tmp/multipartBody6164116233726368775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804732885,"filename":"image_09122025_09_07_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/12/27/33be1fbb0014016a5ede3ac37423a403.jpg","text":"TemporaryFile(/tmp/multipartBody4620667490106019388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804732885,"filename":"image_09122025_09_07_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/12/27/09122befcc66c1cdc5384109764d2995.jpg","text":"TemporaryFile(/tmp/multipartBody4312125487713517235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804732885,"filename":"image_09122025_09_07_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/797609d0957006fb2a4d63b98aa89902.jpg","text":"TemporaryFile(/tmp/multipartBody4758390509587016551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804732885,"filename":"image_09122025_09_07_45_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216020","file1":"1401216018","file0":"1401216016","file4":"1401216025","file5":"1401216027","file3":"1401216023"},"map_files_photo_id_array":[{"photo_id":"1401216027","filename":"file5"},{"photo_id":"1401216020","filename":"file2"},{"photo_id":"1401216025","filename":"file4"},{"photo_id":"1401216018","filename":"file1"},{"photo_id":"1401216016","filename":"file0"},{"photo_id":"1401216023","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216025":["hashtag1","hashtag2"]},{"1401216027":["hashtag1","hashtag2"]},{"1401216018":["hashtag1","hashtag2"]},{"1401216023":["hashtag1","hashtag2"]},{"1401216020":["hashtag1","hashtag2"]},{"1401216016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216025, 1401216027, 1401216018, 1401216023, 1401216020, 1401216016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43876266479492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:05:17.164383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_44_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_35_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_25_10675.jpg', 2), ('/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_14_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/09/05/image_09122025_09_06_05_9675.jpg', 2), ('/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_55_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_44_9643.jpg', '/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_35_9623.jpg', '/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_25_10675.jpg', '/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_14_9643.jpg', '/home/nano/Desktop/images/09122025/09/05/image_09122025_09_06_05_9675.jpg', '/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_44_9643.jpg
/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_35_9623.jpg
/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_25_10675.jpg
/home/nano/Desktop/images/09122025/09/06/image_09122025_09_06_14_9643.jpg
/home/nano/Desktop/images/09122025/09/05/image_09122025_09_06_05_9675.jpg
/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_55_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":["1401216042","1401216036","1401216035","1401216044","1401216038","1401216040"],"photo_ids_order":["1401216035","1401216036","1401216038","1401216040","1401216042","1401216044"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b1bd4db576e51eeeae8fda0185a3dba.jpg","text":"TemporaryFile(/tmp/multipartBody5389454328050928313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804777982,"filename":"image_09122025_09_06_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd64cc37bd10c62c4c98aab6876648c3.jpg","text":"TemporaryFile(/tmp/multipartBody8794249105180483000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804777982,"filename":"image_09122025_09_06_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2688d8835c4ebb717d08b38745268f3d.jpg","text":"TemporaryFile(/tmp/multipartBody2559112277886817142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804777982,"filename":"image_09122025_09_06_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/12/27/18699a2496701a8115d38c6ddabb9111.jpg","text":"TemporaryFile(/tmp/multipartBody1486826034255223679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804777982,"filename":"image_09122025_09_05_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6db2f591d2649ebe547e90620ce86a42.jpg","text":"TemporaryFile(/tmp/multipartBody2299903190140631539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804777982,"filename":"image_09122025_09_06_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d40c74389c7f254080e7bd9320dd019.jpg","text":"TemporaryFile(/tmp/multipartBody6339446832575219640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804777982,"filename":"image_09122025_09_06_14_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216038","file1":"1401216036","file0":"1401216035","file4":"1401216042","file5":"1401216044","file3":"1401216040"},"map_files_photo_id_array":[{"photo_id":"1401216044","filename":"file5"},{"photo_id":"1401216038","filename":"file2"},{"photo_id":"1401216042","filename":"file4"},{"photo_id":"1401216036","filename":"file1"},{"photo_id":"1401216035","filename":"file0"},{"photo_id":"1401216040","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216042":["hashtag1","hashtag2"]},{"1401216036":["hashtag1","hashtag2"]},{"1401216035":["hashtag1","hashtag2"]},{"1401216044":["hashtag1","hashtag2"]},{"1401216038":["hashtag1","hashtag2"]},{"1401216040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216042, 1401216036, 1401216035, 1401216044, 1401216038, 1401216040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.241506576538086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:06:02.525086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_44_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_35_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_24_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/09/04/image_09122025_09_05_05_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_44_9620.jpg', '/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_35_10622.jpg', '/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_24_9620.jpg', '/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_14_9648.jpg', '/home/nano/Desktop/images/09122025/09/04/image_09122025_09_05_05_10622.jpg', '/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_44_9620.jpg
/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_35_10622.jpg
/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_24_9620.jpg
/home/nano/Desktop/images/09122025/09/05/image_09122025_09_05_14_9648.jpg
/home/nano/Desktop/images/09122025/09/04/image_09122025_09_05_05_10622.jpg
/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_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":["1401216057","1401216054","1401216059","1401216064","1401216061","1401216055"],"photo_ids_order":["1401216054","1401216055","1401216057","1401216059","1401216061","1401216064"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84ef51b48acad15842d257f5c3b920eb.jpg","text":"TemporaryFile(/tmp/multipartBody7946029861161334758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804823362,"filename":"image_09122025_09_05_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/12/27/a387b64af153d718ce029233ffc849d7.jpg","text":"TemporaryFile(/tmp/multipartBody4180342484314281766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804823362,"filename":"image_09122025_09_05_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/12/27/13d3cf031c741a4d0e6ab38753651698.jpg","text":"TemporaryFile(/tmp/multipartBody8092467474214557689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804823362,"filename":"image_09122025_09_05_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/12/27/49c571b49191524082f05b69e39b5990.jpg","text":"TemporaryFile(/tmp/multipartBody8697023223822732825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804823362,"filename":"image_09122025_09_04_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/12/27/6eae978cea2b0e1e8201245c3f6749ed.jpg","text":"TemporaryFile(/tmp/multipartBody7333565061055702969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804823362,"filename":"image_09122025_09_05_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ee176373ea3dfe35ff967c1689c94e4.jpg","text":"TemporaryFile(/tmp/multipartBody8946161001989570598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804823362,"filename":"image_09122025_09_05_35_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216057","file1":"1401216055","file0":"1401216054","file4":"1401216061","file5":"1401216064","file3":"1401216059"},"map_files_photo_id_array":[{"photo_id":"1401216064","filename":"file5"},{"photo_id":"1401216057","filename":"file2"},{"photo_id":"1401216061","filename":"file4"},{"photo_id":"1401216055","filename":"file1"},{"photo_id":"1401216054","filename":"file0"},{"photo_id":"1401216059","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216057":["hashtag1","hashtag2"]},{"1401216054":["hashtag1","hashtag2"]},{"1401216059":["hashtag1","hashtag2"]},{"1401216064":["hashtag1","hashtag2"]},{"1401216061":["hashtag1","hashtag2"]},{"1401216055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216057, 1401216054, 1401216059, 1401216064, 1401216061, 1401216055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92799234390259 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:06:47.259683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_45_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_35_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_15_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/09/03/image_09122025_09_04_05_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_54_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_45_9635.jpg', '/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_35_10615.jpg', '/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_24_9634.jpg', '/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_15_9611.jpg', '/home/nano/Desktop/images/09122025/09/03/image_09122025_09_04_05_10632.jpg', '/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_54_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_45_9635.jpg
/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_35_10615.jpg
/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_24_9634.jpg
/home/nano/Desktop/images/09122025/09/04/image_09122025_09_04_15_9611.jpg
/home/nano/Desktop/images/09122025/09/03/image_09122025_09_04_05_10632.jpg
/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_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":["1401216078","1401216072","1401216080","1401216074","1401216082","1401216076"],"photo_ids_order":["1401216072","1401216074","1401216076","1401216078","1401216080","1401216082"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18958863ecfbcef538c5abd3be0e70dc.jpg","text":"TemporaryFile(/tmp/multipartBody4535593004248438950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804868071,"filename":"image_09122025_09_04_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/750df770e60d280a959f492e07b603df.jpg","text":"TemporaryFile(/tmp/multipartBody4647608181821610906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804868071,"filename":"image_09122025_09_04_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d58aee872d0f6bfe72fb93d93d52d31.jpg","text":"TemporaryFile(/tmp/multipartBody7713520061263000342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804868071,"filename":"image_09122025_09_04_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/337cdb98e50380df355711cb86a8bb82.jpg","text":"TemporaryFile(/tmp/multipartBody2582284537387974518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804868071,"filename":"image_09122025_09_04_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c552cc105bc2a2c60ab6a05930ab75db.jpg","text":"TemporaryFile(/tmp/multipartBody5910056914063364006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804868071,"filename":"image_09122025_09_03_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/12/27/de3697940d4d4d16bfc0faeb732dfbc4.jpg","text":"TemporaryFile(/tmp/multipartBody4298179676640761961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804868071,"filename":"image_09122025_09_04_24_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216076","file1":"1401216074","file0":"1401216072","file4":"1401216080","file5":"1401216082","file3":"1401216078"},"map_files_photo_id_array":[{"photo_id":"1401216082","filename":"file5"},{"photo_id":"1401216076","filename":"file2"},{"photo_id":"1401216080","filename":"file4"},{"photo_id":"1401216074","filename":"file1"},{"photo_id":"1401216072","filename":"file0"},{"photo_id":"1401216078","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216078":["hashtag1","hashtag2"]},{"1401216072":["hashtag1","hashtag2"]},{"1401216080":["hashtag1","hashtag2"]},{"1401216074":["hashtag1","hashtag2"]},{"1401216082":["hashtag1","hashtag2"]},{"1401216076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216078, 1401216072, 1401216080, 1401216074, 1401216082, 1401216076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31017851829529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:07:32.369461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_45_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_34_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_15_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/09/02/image_09122025_09_03_04_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_55_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_45_10624.jpg', '/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_34_9617.jpg', '/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_25_9634.jpg', '/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_15_10641.jpg', '/home/nano/Desktop/images/09122025/09/02/image_09122025_09_03_04_9642.jpg', '/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_45_10624.jpg
/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_34_9617.jpg
/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_25_9634.jpg
/home/nano/Desktop/images/09122025/09/03/image_09122025_09_03_15_10641.jpg
/home/nano/Desktop/images/09122025/09/02/image_09122025_09_03_04_9642.jpg
/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_55_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":["1401216102","1401216092","1401216097","1401216091","1401216094","1401216100"],"photo_ids_order":["1401216091","1401216092","1401216094","1401216097","1401216100","1401216102"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35812fedf7335c6881c24163d94981fc.jpg","text":"TemporaryFile(/tmp/multipartBody6114325122256306608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804913203,"filename":"image_09122025_09_02_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d5e37d01331f5d46836c0ad236737ff.jpg","text":"TemporaryFile(/tmp/multipartBody1063165355234145135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804913203,"filename":"image_09122025_09_03_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/12/27/45f298d7101aa05fb743e3e5830cd88e.jpg","text":"TemporaryFile(/tmp/multipartBody729286236134465948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804913203,"filename":"image_09122025_09_03_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fed2d8954f3b8ae9a595ddadd54b978.jpg","text":"TemporaryFile(/tmp/multipartBody6210403203368412388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804913203,"filename":"image_09122025_09_03_45_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45372215c473475acc35e247beec1aa8.jpg","text":"TemporaryFile(/tmp/multipartBody4270726031279023603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804913203,"filename":"image_09122025_09_03_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad83e02c9509cf33a996157d2bae344a.jpg","text":"TemporaryFile(/tmp/multipartBody723281960481923482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804913203,"filename":"image_09122025_09_03_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216094","file1":"1401216092","file0":"1401216091","file4":"1401216100","file5":"1401216102","file3":"1401216097"},"map_files_photo_id_array":[{"photo_id":"1401216102","filename":"file5"},{"photo_id":"1401216094","filename":"file2"},{"photo_id":"1401216100","filename":"file4"},{"photo_id":"1401216092","filename":"file1"},{"photo_id":"1401216091","filename":"file0"},{"photo_id":"1401216097","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216102":["hashtag1","hashtag2"]},{"1401216092":["hashtag1","hashtag2"]},{"1401216097":["hashtag1","hashtag2"]},{"1401216091":["hashtag1","hashtag2"]},{"1401216094":["hashtag1","hashtag2"]},{"1401216100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216102, 1401216092, 1401216097, 1401216091, 1401216094, 1401216100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.175283432006836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:08:17.497789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_45_10664.jpg', 2), ('/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_34_9701.jpg', 2), ('/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_25_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_15_10711.jpg', 2), ('/home/nano/Desktop/images/09122025/09/01/image_09122025_09_02_04_9685.jpg', 2), ('/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_55_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_45_10664.jpg', '/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_34_9701.jpg', '/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_25_9628.jpg', '/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_15_10711.jpg', '/home/nano/Desktop/images/09122025/09/01/image_09122025_09_02_04_9685.jpg', '/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_45_10664.jpg
/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_34_9701.jpg
/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_25_9628.jpg
/home/nano/Desktop/images/09122025/09/02/image_09122025_09_02_15_10711.jpg
/home/nano/Desktop/images/09122025/09/01/image_09122025_09_02_04_9685.jpg
/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_55_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":["1401216111","1401216117","1401216119","1401216110","1401216113","1401216115"],"photo_ids_order":["1401216110","1401216111","1401216113","1401216115","1401216117","1401216119"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/860f5d451189d13362f44d415d303ced.jpg","text":"TemporaryFile(/tmp/multipartBody5835684837736538416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804958350,"filename":"image_09122025_09_02_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c4a74f6b251e76963b23fc6ab9a358b.jpg","text":"TemporaryFile(/tmp/multipartBody1437199517153938135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804958350,"filename":"image_09122025_09_02_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/12/27/ef5f25206c6c2f618228b3fa2682e365.jpg","text":"TemporaryFile(/tmp/multipartBody2314314523976695047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804958350,"filename":"image_09122025_09_01_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59dd0ce54c12693e432e66303f6876b4.jpg","text":"TemporaryFile(/tmp/multipartBody4851588383505482357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804958350,"filename":"image_09122025_09_02_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d3142ba46c1953ced5da19cfb218670.jpg","text":"TemporaryFile(/tmp/multipartBody5981628942139982788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804958350,"filename":"image_09122025_09_02_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c2b84f650e301badcb27849a8897d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8666112567581679420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766804958350,"filename":"image_09122025_09_02_15_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216113","file1":"1401216111","file0":"1401216110","file4":"1401216117","file5":"1401216119","file3":"1401216115"},"map_files_photo_id_array":[{"photo_id":"1401216119","filename":"file5"},{"photo_id":"1401216113","filename":"file2"},{"photo_id":"1401216117","filename":"file4"},{"photo_id":"1401216111","filename":"file1"},{"photo_id":"1401216110","filename":"file0"},{"photo_id":"1401216115","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216111":["hashtag1","hashtag2"]},{"1401216117":["hashtag1","hashtag2"]},{"1401216119":["hashtag1","hashtag2"]},{"1401216110":["hashtag1","hashtag2"]},{"1401216113":["hashtag1","hashtag2"]},{"1401216115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216111, 1401216117, 1401216119, 1401216110, 1401216113, 1401216115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18895435333252 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:09:03.241112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_45_10702.jpg', 2), ('/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_34_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_25_9715.jpg', 2), ('/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_15_10767.jpg', 2), ('/home/nano/Desktop/images/09122025/09/00/image_09122025_09_01_04_9728.jpg', 2), ('/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_54_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_45_10702.jpg', '/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_34_9656.jpg', '/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_25_9715.jpg', '/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_15_10767.jpg', '/home/nano/Desktop/images/09122025/09/00/image_09122025_09_01_04_9728.jpg', '/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_54_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_45_10702.jpg
/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_34_9656.jpg
/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_25_9715.jpg
/home/nano/Desktop/images/09122025/09/01/image_09122025_09_01_15_10767.jpg
/home/nano/Desktop/images/09122025/09/00/image_09122025_09_01_04_9728.jpg
/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_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":["1401216139","1401216130","1401216132","1401216129","1401216134","1401216136"],"photo_ids_order":["1401216129","1401216130","1401216132","1401216134","1401216136","1401216139"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e35b66a09e42758e23b3bb841859383.jpg","text":"TemporaryFile(/tmp/multipartBody5658161011194891072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805004250,"filename":"image_09122025_09_00_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/12/27/af1de0d35eada1bd73fade2b0a488dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2757212144288865575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805004250,"filename":"image_09122025_09_01_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/12/27/3f2eda979cebab31314490cfec74ba2c.jpg","text":"TemporaryFile(/tmp/multipartBody3646254735324949721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805004250,"filename":"image_09122025_09_01_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ca1ae63811706534aed36b35292afa0.jpg","text":"TemporaryFile(/tmp/multipartBody8502299135804432554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805004250,"filename":"image_09122025_09_01_45_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20aa570ecf08f21ff7de32a169fbb20a.jpg","text":"TemporaryFile(/tmp/multipartBody3256152493539562520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805004250,"filename":"image_09122025_09_01_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e10d2242200f3825106ea5b731abae8f.jpg","text":"TemporaryFile(/tmp/multipartBody5348205413551104260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805004250,"filename":"image_09122025_09_01_04_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216132","file1":"1401216130","file0":"1401216129","file4":"1401216136","file5":"1401216139","file3":"1401216134"},"map_files_photo_id_array":[{"photo_id":"1401216139","filename":"file5"},{"photo_id":"1401216132","filename":"file2"},{"photo_id":"1401216136","filename":"file4"},{"photo_id":"1401216130","filename":"file1"},{"photo_id":"1401216129","filename":"file0"},{"photo_id":"1401216134","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216139":["hashtag1","hashtag2"]},{"1401216130":["hashtag1","hashtag2"]},{"1401216132":["hashtag1","hashtag2"]},{"1401216129":["hashtag1","hashtag2"]},{"1401216134":["hashtag1","hashtag2"]},{"1401216136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216139, 1401216130, 1401216132, 1401216129, 1401216134, 1401216136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.717052936553955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:09:47.624989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_45_9715.jpg', 2), ('/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_35_10723.jpg', 2), ('/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_24_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_15_9809.jpg', 2), ('/home/nano/Desktop/images/09122025/08/59/image_09122025_09_00_05_9807.jpg', 2), ('/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_55_10801.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_45_9715.jpg', '/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_35_10723.jpg', '/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_24_9617.jpg', '/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_15_9809.jpg', '/home/nano/Desktop/images/09122025/08/59/image_09122025_09_00_05_9807.jpg', '/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_55_10801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_45_9715.jpg
/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_35_10723.jpg
/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_24_9617.jpg
/home/nano/Desktop/images/09122025/09/00/image_09122025_09_00_15_9809.jpg
/home/nano/Desktop/images/09122025/08/59/image_09122025_09_00_05_9807.jpg
/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_55_10801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401216159","1401216150","1401216152","1401216154","1401216148","1401216157"],"photo_ids_order":["1401216148","1401216150","1401216152","1401216154","1401216157","1401216159"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f16af6d65e3f92514b7a70732c40805.jpg","text":"TemporaryFile(/tmp/multipartBody4685423240737946862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805048488,"filename":"image_09122025_08_59_55_10801.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4b4007767d917cbc2021ed19ae83299.jpg","text":"TemporaryFile(/tmp/multipartBody7797740873738647409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805048488,"filename":"image_09122025_09_00_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65fd3849ba7bc279a536e510a7f48669.jpg","text":"TemporaryFile(/tmp/multipartBody2547385921578273074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805048488,"filename":"image_09122025_09_00_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/12/27/3cd7e19caf3f0880bb9b1ad7c8b82ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2855430905736052662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805048488,"filename":"image_09122025_09_00_15_9809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/decdca866c6b3131489e6045b00e37ce.jpg","text":"TemporaryFile(/tmp/multipartBody2214538138417785108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805048488,"filename":"image_09122025_09_00_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3cc9737b1ae1c273d472ef72899eb54e.jpg","text":"TemporaryFile(/tmp/multipartBody7979519323421995457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805048488,"filename":"image_09122025_09_00_05_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216152","file1":"1401216150","file0":"1401216148","file4":"1401216157","file5":"1401216159","file3":"1401216154"},"map_files_photo_id_array":[{"photo_id":"1401216159","filename":"file5"},{"photo_id":"1401216152","filename":"file2"},{"photo_id":"1401216157","filename":"file4"},{"photo_id":"1401216150","filename":"file1"},{"photo_id":"1401216148","filename":"file0"},{"photo_id":"1401216154","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216159":["hashtag1","hashtag2"]},{"1401216150":["hashtag1","hashtag2"]},{"1401216152":["hashtag1","hashtag2"]},{"1401216154":["hashtag1","hashtag2"]},{"1401216148":["hashtag1","hashtag2"]},{"1401216157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216159, 1401216150, 1401216152, 1401216154, 1401216148, 1401216157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.267762899398804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:10:32.743845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_44_9703.jpg', 2), ('/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_35_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_25_9777.jpg', 2), ('/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_15_10774.jpg', 2), ('/home/nano/Desktop/images/09122025/08/58/image_09122025_08_59_04_9743.jpg', 2), ('/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_55_9686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_44_9703.jpg', '/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_35_9644.jpg', '/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_25_9777.jpg', '/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_15_10774.jpg', '/home/nano/Desktop/images/09122025/08/58/image_09122025_08_59_04_9743.jpg', '/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_55_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_44_9703.jpg
/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_35_9644.jpg
/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_25_9777.jpg
/home/nano/Desktop/images/09122025/08/59/image_09122025_08_59_15_10774.jpg
/home/nano/Desktop/images/09122025/08/58/image_09122025_08_59_04_9743.jpg
/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_55_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":["1401216174","1401216165","1401216167","1401216176","1401216172","1401216169"],"photo_ids_order":["1401216165","1401216167","1401216169","1401216172","1401216174","1401216176"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d04c0e5f2a81dca51b0b3ea0b04e443c.jpg","text":"TemporaryFile(/tmp/multipartBody5697063468924995163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805093616,"filename":"image_09122025_08_59_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f607b8153ea10b572996bc2b782a7dcb.jpg","text":"TemporaryFile(/tmp/multipartBody4718773005328992765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805093616,"filename":"image_09122025_08_59_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/12/27/b6116b457e069b0b1c4519e72a061ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3505392717449454314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805093616,"filename":"image_09122025_08_59_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e47901fad002e582394cb2036af6a476.jpg","text":"TemporaryFile(/tmp/multipartBody6773662015009249331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805093616,"filename":"image_09122025_08_58_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c2793029edf5667ac7f92230252c639.jpg","text":"TemporaryFile(/tmp/multipartBody7521105343561301428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805093616,"filename":"image_09122025_08_59_15_10774.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10606348c8346360f4c3ebc2e464a836.jpg","text":"TemporaryFile(/tmp/multipartBody6912133662884416612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805093616,"filename":"image_09122025_08_59_25_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216169","file1":"1401216167","file0":"1401216165","file4":"1401216174","file5":"1401216176","file3":"1401216172"},"map_files_photo_id_array":[{"photo_id":"1401216176","filename":"file5"},{"photo_id":"1401216169","filename":"file2"},{"photo_id":"1401216174","filename":"file4"},{"photo_id":"1401216167","filename":"file1"},{"photo_id":"1401216165","filename":"file0"},{"photo_id":"1401216172","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216174":["hashtag1","hashtag2"]},{"1401216165":["hashtag1","hashtag2"]},{"1401216167":["hashtag1","hashtag2"]},{"1401216176":["hashtag1","hashtag2"]},{"1401216172":["hashtag1","hashtag2"]},{"1401216169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216174, 1401216165, 1401216167, 1401216176, 1401216172, 1401216169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.015934228897095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:11:16.841827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_45_10770.jpg', 2), ('/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_34_9688.jpg', 2), ('/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_24_9721.jpg', 2), ('/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_15_9714.jpg', 2), ('/home/nano/Desktop/images/09122025/08/57/image_09122025_08_58_05_10671.jpg', 2), ('/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_45_10770.jpg', '/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_34_9688.jpg', '/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_24_9721.jpg', '/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_15_9714.jpg', '/home/nano/Desktop/images/09122025/08/57/image_09122025_08_58_05_10671.jpg', '/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_45_10770.jpg
/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_34_9688.jpg
/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_24_9721.jpg
/home/nano/Desktop/images/09122025/08/58/image_09122025_08_58_15_9714.jpg
/home/nano/Desktop/images/09122025/08/57/image_09122025_08_58_05_10671.jpg
/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_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":["1401216186","1401216195","1401216191","1401216188","1401216184","1401216193"],"photo_ids_order":["1401216184","1401216186","1401216188","1401216191","1401216193","1401216195"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b47bb839a1b8183804a0596389c485a1.jpg","text":"TemporaryFile(/tmp/multipartBody5359930248403476205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805137678,"filename":"image_09122025_08_58_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/530e0b7f787cdf09442ebcc9d2bf7506.jpg","text":"TemporaryFile(/tmp/multipartBody6634457154168595575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805137678,"filename":"image_09122025_08_57_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/12/27/6fdaae3332753c8b32fea9d29e7f89ce.jpg","text":"TemporaryFile(/tmp/multipartBody6101772515784038205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805137678,"filename":"image_09122025_08_58_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a5ec76ce78b51a1b8cd018f9bdf902d.jpg","text":"TemporaryFile(/tmp/multipartBody5197576560525131355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805137678,"filename":"image_09122025_08_58_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce34fb578c02c98c992f3901f7f1a577.jpg","text":"TemporaryFile(/tmp/multipartBody3227426344498609917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805137678,"filename":"image_09122025_08_58_45_10770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4300197b38ed55074383adafe6098a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3330208229480096196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805137678,"filename":"image_09122025_08_58_05_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216188","file1":"1401216186","file0":"1401216184","file4":"1401216193","file5":"1401216195","file3":"1401216191"},"map_files_photo_id_array":[{"photo_id":"1401216195","filename":"file5"},{"photo_id":"1401216188","filename":"file2"},{"photo_id":"1401216193","filename":"file4"},{"photo_id":"1401216186","filename":"file1"},{"photo_id":"1401216184","filename":"file0"},{"photo_id":"1401216191","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216186":["hashtag1","hashtag2"]},{"1401216195":["hashtag1","hashtag2"]},{"1401216191":["hashtag1","hashtag2"]},{"1401216188":["hashtag1","hashtag2"]},{"1401216184":["hashtag1","hashtag2"]},{"1401216193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216186, 1401216195, 1401216191, 1401216188, 1401216184, 1401216193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37784028053284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:12:02.337871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_45_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_15_10666.jpg', 2), ('/home/nano/Desktop/images/09122025/08/56/image_09122025_08_57_04_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_45_9626.jpg', '/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_35_10643.jpg', '/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_24_9605.jpg', '/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_15_10666.jpg', '/home/nano/Desktop/images/09122025/08/56/image_09122025_08_57_04_9646.jpg', '/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_45_9626.jpg
/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_35_10643.jpg
/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_24_9605.jpg
/home/nano/Desktop/images/09122025/08/57/image_09122025_08_57_15_10666.jpg
/home/nano/Desktop/images/09122025/08/56/image_09122025_08_57_04_9646.jpg
/home/nano/Desktop/images/09122025/08/56/image_09122025_08_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":["1401216210","1401216203","1401216212","1401216206","1401216214","1401216208"],"photo_ids_order":["1401216203","1401216206","1401216208","1401216210","1401216212","1401216214"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30a81cc417e77250961c0285e41ab9d4.jpg","text":"TemporaryFile(/tmp/multipartBody1566856805956345035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805183206,"filename":"image_09122025_08_57_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca487ae4b1e205f5b4c001eeed8824bf.jpg","text":"TemporaryFile(/tmp/multipartBody3915208794052560421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805183206,"filename":"image_09122025_08_57_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96b1250e44164546316f39c56b70d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody2977354726227874394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805183206,"filename":"image_09122025_08_57_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/12/27/41795650638da4a6383465bac1d2735c.jpg","text":"TemporaryFile(/tmp/multipartBody2701794242652342370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805183206,"filename":"image_09122025_08_57_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ff2a6429b0b320ae98f51e1734dd4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4309279502553878597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805183206,"filename":"image_09122025_08_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/12/27/01f7d4616dda6940dc59f5fe60070e14.jpg","text":"TemporaryFile(/tmp/multipartBody3862763214103625357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805183206,"filename":"image_09122025_08_57_24_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216208","file1":"1401216206","file0":"1401216203","file4":"1401216212","file5":"1401216214","file3":"1401216210"},"map_files_photo_id_array":[{"photo_id":"1401216214","filename":"file5"},{"photo_id":"1401216208","filename":"file2"},{"photo_id":"1401216212","filename":"file4"},{"photo_id":"1401216206","filename":"file1"},{"photo_id":"1401216203","filename":"file0"},{"photo_id":"1401216210","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216210":["hashtag1","hashtag2"]},{"1401216203":["hashtag1","hashtag2"]},{"1401216212":["hashtag1","hashtag2"]},{"1401216206":["hashtag1","hashtag2"]},{"1401216214":["hashtag1","hashtag2"]},{"1401216208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216210, 1401216203, 1401216212, 1401216206, 1401216214, 1401216208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61323142051697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:12:46.915166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_45_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_34_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_25_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_15_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/08/55/image_09122025_08_56_04_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_55_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_45_10631.jpg', '/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_34_9597.jpg', '/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_25_9597.jpg', '/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_15_10631.jpg', '/home/nano/Desktop/images/09122025/08/55/image_09122025_08_56_04_9647.jpg', '/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_45_10631.jpg
/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_34_9597.jpg
/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_25_9597.jpg
/home/nano/Desktop/images/09122025/08/56/image_09122025_08_56_15_10631.jpg
/home/nano/Desktop/images/09122025/08/55/image_09122025_08_56_04_9647.jpg
/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_55_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":["1401216231","1401216234","1401216224","1401216227","1401216226","1401216229"],"photo_ids_order":["1401216224","1401216226","1401216227","1401216229","1401216231","1401216234"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cfb2a407dc5c714d08a3541a27a05c5.jpg","text":"TemporaryFile(/tmp/multipartBody8200595012076471700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805227730,"filename":"image_09122025_08_56_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/12/27/5e5538d1708d3cf8c0c60636e2de2888.jpg","text":"TemporaryFile(/tmp/multipartBody5992829515772758097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805227730,"filename":"image_09122025_08_55_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa7804eac6b6a510b65d6010137979d7.jpg","text":"TemporaryFile(/tmp/multipartBody2727476220929022217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805227730,"filename":"image_09122025_08_56_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90d062a1a50bc88862d8b050fb9dcd65.jpg","text":"TemporaryFile(/tmp/multipartBody8533304837901465165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805227730,"filename":"image_09122025_08_56_25_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/192983c3e2b91872be53df59d12c99df.jpg","text":"TemporaryFile(/tmp/multipartBody1718657595492842887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805227730,"filename":"image_09122025_08_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/12/27/e1ccd0587166e5212bfc61950fbd814b.jpg","text":"TemporaryFile(/tmp/multipartBody8019523955492955865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805227730,"filename":"image_09122025_08_56_15_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216227","file1":"1401216226","file0":"1401216224","file4":"1401216231","file5":"1401216234","file3":"1401216229"},"map_files_photo_id_array":[{"photo_id":"1401216234","filename":"file5"},{"photo_id":"1401216227","filename":"file2"},{"photo_id":"1401216231","filename":"file4"},{"photo_id":"1401216226","filename":"file1"},{"photo_id":"1401216224","filename":"file0"},{"photo_id":"1401216229","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216231":["hashtag1","hashtag2"]},{"1401216234":["hashtag1","hashtag2"]},{"1401216224":["hashtag1","hashtag2"]},{"1401216227":["hashtag1","hashtag2"]},{"1401216226":["hashtag1","hashtag2"]},{"1401216229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216231, 1401216234, 1401216224, 1401216227, 1401216226, 1401216229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.085371255874634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:13:32.022919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_44_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_34_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_14_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_55_05_9732.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_55_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_44_9619.jpg', '/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_34_9600.jpg', '/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_25_10641.jpg', '/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_14_9658.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_55_05_9732.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_55_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_44_9619.jpg
/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_34_9600.jpg
/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_25_10641.jpg
/home/nano/Desktop/images/09122025/08/55/image_09122025_08_55_14_9658.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_55_05_9732.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_55_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":["1401216249","1401216243","1401216252","1401216246","1401216254","1401216245"],"photo_ids_order":["1401216243","1401216245","1401216246","1401216249","1401216252","1401216254"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e96249ae2a078cb8c4e5106f9aa5668.jpg","text":"TemporaryFile(/tmp/multipartBody8797297737868908912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805272827,"filename":"image_09122025_08_55_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/12/27/44a7379895ae6e30353423a6ef806b38.jpg","text":"TemporaryFile(/tmp/multipartBody8743715890332104487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805272827,"filename":"image_09122025_08_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/12/27/896e888d2644cf34c35a346f03d4627c.jpg","text":"TemporaryFile(/tmp/multipartBody1903461657602642755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805272827,"filename":"image_09122025_08_55_05_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6313d7f08dbed0f6b240f937da6fc386.jpg","text":"TemporaryFile(/tmp/multipartBody637663228851816767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805272827,"filename":"image_09122025_08_55_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08d743f1377d3a126b125216db1ce8df.jpg","text":"TemporaryFile(/tmp/multipartBody6981690099915259303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805272827,"filename":"image_09122025_08_54_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/581d646513e377ab7daa92fe13d31060.jpg","text":"TemporaryFile(/tmp/multipartBody6837753486710684072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805272827,"filename":"image_09122025_08_55_34_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216246","file1":"1401216245","file0":"1401216243","file4":"1401216252","file5":"1401216254","file3":"1401216249"},"map_files_photo_id_array":[{"photo_id":"1401216254","filename":"file5"},{"photo_id":"1401216246","filename":"file2"},{"photo_id":"1401216252","filename":"file4"},{"photo_id":"1401216245","filename":"file1"},{"photo_id":"1401216243","filename":"file0"},{"photo_id":"1401216249","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216249":["hashtag1","hashtag2"]},{"1401216243":["hashtag1","hashtag2"]},{"1401216252":["hashtag1","hashtag2"]},{"1401216246":["hashtag1","hashtag2"]},{"1401216254":["hashtag1","hashtag2"]},{"1401216245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216249, 1401216243, 1401216252, 1401216246, 1401216254, 1401216245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75989031791687 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:14:17.162470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_44_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_35_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_25_10715.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_14_9660.jpg', 2), ('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_54_05_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_55_10715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_44_9625.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_35_9627.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_25_10715.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_14_9660.jpg', '/home/nano/Desktop/images/09122025/08/53/image_09122025_08_54_05_9642.jpg', '/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_44_9625.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_35_9627.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_25_10715.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_14_9660.jpg
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_54_05_9642.jpg
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_55_10715.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6940245628356934 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:14:32.126956
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_44_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_35_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_25_10715.jpg', 2), ('/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_14_9660.jpg', 2), ('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_54_05_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_55_10715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_44_9625.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_35_9627.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_25_10715.jpg', '/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_14_9660.jpg', '/home/nano/Desktop/images/09122025/08/53/image_09122025_08_54_05_9642.jpg', '/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_44_9625.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_35_9627.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_25_10715.jpg
/home/nano/Desktop/images/09122025/08/54/image_09122025_08_54_14_9660.jpg
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_54_05_9642.jpg
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_55_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401216282","1401216284","1401216275","1401216280","1401216277","1401216271"],"photo_ids_order":["1401216271","1401216275","1401216277","1401216280","1401216282","1401216284"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/512d5e606facd8485787028f31d460f0.jpg","text":"TemporaryFile(/tmp/multipartBody67405815016710545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805332927,"filename":"image_09122025_08_54_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f11108ec4af7ab62ed956fa2b8125f4.jpg","text":"TemporaryFile(/tmp/multipartBody5471703153265874501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805332927,"filename":"image_09122025_08_53_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eae71d6c230a52849513dc43b03374a7.jpg","text":"TemporaryFile(/tmp/multipartBody111210305706820549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805332927,"filename":"image_09122025_08_54_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/701c05c8a1ffac48d23a5698bb7ad7a4.jpg","text":"TemporaryFile(/tmp/multipartBody6340222930517868483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805332927,"filename":"image_09122025_08_54_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/12/27/44a71991349c2108264c2d526f3df64a.jpg","text":"TemporaryFile(/tmp/multipartBody4720312790470578036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805332927,"filename":"image_09122025_08_54_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/600796b230479e3894299630662bd1d0.jpg","text":"TemporaryFile(/tmp/multipartBody925378669428130596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805332927,"filename":"image_09122025_08_54_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216277","file1":"1401216275","file0":"1401216271","file4":"1401216282","file5":"1401216284","file3":"1401216280"},"map_files_photo_id_array":[{"photo_id":"1401216284","filename":"file5"},{"photo_id":"1401216277","filename":"file2"},{"photo_id":"1401216282","filename":"file4"},{"photo_id":"1401216275","filename":"file1"},{"photo_id":"1401216271","filename":"file0"},{"photo_id":"1401216280","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216282":["hashtag1","hashtag2"]},{"1401216284":["hashtag1","hashtag2"]},{"1401216275":["hashtag1","hashtag2"]},{"1401216280":["hashtag1","hashtag2"]},{"1401216277":["hashtag1","hashtag2"]},{"1401216271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216282, 1401216284, 1401216275, 1401216280, 1401216277, 1401216271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.149527072906494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:15:17.289414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_44_9729.jpg', 2), ('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_35_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_25_10670.jpg', 2), ('/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_14_9679.jpg', 2), ('/home/nano/Desktop/images/09122025/08/52/image_09122025_08_53_05_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_55_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_44_9729.jpg', '/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_35_9638.jpg', '/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_25_10670.jpg', '/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_14_9679.jpg', '/home/nano/Desktop/images/09122025/08/52/image_09122025_08_53_05_9651.jpg', '/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_55_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_44_9729.jpg
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_35_9638.jpg
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_25_10670.jpg
/home/nano/Desktop/images/09122025/08/53/image_09122025_08_53_14_9679.jpg
/home/nano/Desktop/images/09122025/08/52/image_09122025_08_53_05_9651.jpg
/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_55_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":["1401216291","1401216294","1401216288","1401216297","1401216300","1401216289"],"photo_ids_order":["1401216288","1401216289","1401216291","1401216294","1401216297","1401216300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f539ebc942bcabfe0736cfe2b8de5038.jpg","text":"TemporaryFile(/tmp/multipartBody4649222770592923843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805378126,"filename":"image_09122025_08_53_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62a6c84f0e9a97dce1677c0260525f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7857385194611263065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805378126,"filename":"image_09122025_08_53_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/12/27/0f363fa8c2b4577c433577fb73bd8ff2.jpg","text":"TemporaryFile(/tmp/multipartBody1318831815427854384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805378126,"filename":"image_09122025_08_53_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3368ea052e82ade59a6c952e34aef5e.jpg","text":"TemporaryFile(/tmp/multipartBody1115287687625176464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805378126,"filename":"image_09122025_08_53_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d32727c4d6ea9f4f67eca854dac2a10d.jpg","text":"TemporaryFile(/tmp/multipartBody8640457443882549901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805378126,"filename":"image_09122025_08_52_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bab8bda5a0c10cc66d988b3c5e7fc26a.jpg","text":"TemporaryFile(/tmp/multipartBody7512749333017436676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805378126,"filename":"image_09122025_08_53_35_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216291","file1":"1401216289","file0":"1401216288","file4":"1401216297","file5":"1401216300","file3":"1401216294"},"map_files_photo_id_array":[{"photo_id":"1401216300","filename":"file5"},{"photo_id":"1401216291","filename":"file2"},{"photo_id":"1401216297","filename":"file4"},{"photo_id":"1401216289","filename":"file1"},{"photo_id":"1401216288","filename":"file0"},{"photo_id":"1401216294","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216291":["hashtag1","hashtag2"]},{"1401216294":["hashtag1","hashtag2"]},{"1401216288":["hashtag1","hashtag2"]},{"1401216297":["hashtag1","hashtag2"]},{"1401216300":["hashtag1","hashtag2"]},{"1401216289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216291, 1401216294, 1401216288, 1401216297, 1401216300, 1401216289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32353234291077 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:16:02.647410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_44_9687.jpg', 2), ('/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_35_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_25_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_14_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/08/51/image_09122025_08_52_05_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_44_9687.jpg', '/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_35_9648.jpg', '/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_25_10652.jpg', '/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_14_9638.jpg', '/home/nano/Desktop/images/09122025/08/51/image_09122025_08_52_05_9631.jpg', '/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_44_9687.jpg
/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_35_9648.jpg
/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_25_10652.jpg
/home/nano/Desktop/images/09122025/08/52/image_09122025_08_52_14_9638.jpg
/home/nano/Desktop/images/09122025/08/51/image_09122025_08_52_05_9631.jpg
/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_55_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":["1401216316","1401216318","1401216315","1401216314","1401216311","1401216313"],"photo_ids_order":["1401216311","1401216313","1401216314","1401216315","1401216316","1401216318"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8efe9c3a54cd3a899a4e12b27e97e6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1339867696717337898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805423517,"filename":"image_09122025_08_52_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/386c250846ecc248570510dad8475630.jpg","text":"TemporaryFile(/tmp/multipartBody7372033137884310416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805423517,"filename":"image_09122025_08_51_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b086a15f742af4c28fa0a0d85c12e399.jpg","text":"TemporaryFile(/tmp/multipartBody479094911760396701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805423517,"filename":"image_09122025_08_52_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/12/27/383c4e97254ab0c2851bebca5a92428b.jpg","text":"TemporaryFile(/tmp/multipartBody4719336289745389103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805423517,"filename":"image_09122025_08_52_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d29cf80597af3c431d8a3ebbae06d8bb.jpg","text":"TemporaryFile(/tmp/multipartBody27536910324553600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805423517,"filename":"image_09122025_08_52_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/12/27/d9136ff8dcf1c5f3744a2e700188c470.jpg","text":"TemporaryFile(/tmp/multipartBody1659553231900281987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805423517,"filename":"image_09122025_08_52_35_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216314","file1":"1401216313","file0":"1401216311","file4":"1401216316","file5":"1401216318","file3":"1401216315"},"map_files_photo_id_array":[{"photo_id":"1401216318","filename":"file5"},{"photo_id":"1401216314","filename":"file2"},{"photo_id":"1401216316","filename":"file4"},{"photo_id":"1401216313","filename":"file1"},{"photo_id":"1401216311","filename":"file0"},{"photo_id":"1401216315","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216316":["hashtag1","hashtag2"]},{"1401216318":["hashtag1","hashtag2"]},{"1401216315":["hashtag1","hashtag2"]},{"1401216314":["hashtag1","hashtag2"]},{"1401216311":["hashtag1","hashtag2"]},{"1401216313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216316, 1401216318, 1401216315, 1401216314, 1401216311, 1401216313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38081073760986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:16:47.381974
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_35_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_25_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_14_9674.jpg', 2), ('/home/nano/Desktop/images/09122025/08/50/image_09122025_08_51_05_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_44_9636.jpg', '/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_35_9633.jpg', '/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_25_10640.jpg', '/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_14_9674.jpg', '/home/nano/Desktop/images/09122025/08/50/image_09122025_08_51_05_9643.jpg', '/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_44_9636.jpg
/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_35_9633.jpg
/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_25_10640.jpg
/home/nano/Desktop/images/09122025/08/51/image_09122025_08_51_14_9674.jpg
/home/nano/Desktop/images/09122025/08/50/image_09122025_08_51_05_9643.jpg
/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_55_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":["1401216337","1401216345","1401216332","1401216344","1401216340","1401216334"],"photo_ids_order":["1401216332","1401216334","1401216337","1401216340","1401216344","1401216345"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d74160d197cb0b77fa4bb3a3c7da7aa2.jpg","text":"TemporaryFile(/tmp/multipartBody720500482753129572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805468198,"filename":"image_09122025_08_51_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70f581ca484bd96bd03389bb0e06b9f2.jpg","text":"TemporaryFile(/tmp/multipartBody3601311925395758807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805468198,"filename":"image_09122025_08_50_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/207740c324c34589907314f914df4960.jpg","text":"TemporaryFile(/tmp/multipartBody5437780446581573645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805468198,"filename":"image_09122025_08_51_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/12/27/a43b8e0e8e9b16ebb1f6ddf72d40c60c.jpg","text":"TemporaryFile(/tmp/multipartBody7782032071398313669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805468198,"filename":"image_09122025_08_51_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/993544462fb220e2ca7031ccc7dc0b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2831655261501645639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805468198,"filename":"image_09122025_08_51_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/12/27/00722e2e067332fd4ad46bcb3e307ab0.jpg","text":"TemporaryFile(/tmp/multipartBody8661527404760031527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805468198,"filename":"image_09122025_08_51_35_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216337","file1":"1401216334","file0":"1401216332","file4":"1401216344","file5":"1401216345","file3":"1401216340"},"map_files_photo_id_array":[{"photo_id":"1401216345","filename":"file5"},{"photo_id":"1401216337","filename":"file2"},{"photo_id":"1401216344","filename":"file4"},{"photo_id":"1401216334","filename":"file1"},{"photo_id":"1401216332","filename":"file0"},{"photo_id":"1401216340","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216337":["hashtag1","hashtag2"]},{"1401216345":["hashtag1","hashtag2"]},{"1401216332":["hashtag1","hashtag2"]},{"1401216344":["hashtag1","hashtag2"]},{"1401216340":["hashtag1","hashtag2"]},{"1401216334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216337, 1401216345, 1401216332, 1401216344, 1401216340, 1401216334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.771896839141846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:17:32.475854
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/04/16/image_27122025_04_17_05_10527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/04/16/image_27122025_04_17_05_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/04/16/image_27122025_04_17_05_10527.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.1303112506866455 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:17:47.477887
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/04/16/image_27122025_04_17_05_10527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/04/16/image_27122025_04_17_05_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/04/16/image_27122025_04_17_05_10527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401216354"],"photo_id":"1401216354","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76ec6821d46868ed82492e7ac2e73c95.jpg","text":"TemporaryFile(/tmp/multipartBody948446793415165739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805527721,"filename":"image_27122025_04_17_05_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401216354"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401216354"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.351831197738647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:18:02.814565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_44_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_35_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_24_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_15_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_50_05_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_44_9631.jpg', '/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_35_10622.jpg', '/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_24_9621.jpg', '/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_15_9645.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_50_05_10630.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_44_9631.jpg
/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_35_10622.jpg
/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_24_9621.jpg
/home/nano/Desktop/images/09122025/08/50/image_09122025_08_50_15_9645.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_50_05_10630.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_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":["1401216366","1401216360","1401216363","1401216359","1401216362","1401216361"],"photo_ids_order":["1401216359","1401216360","1401216361","1401216362","1401216363","1401216366"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c4466f1e48b1f3044387dd27f4c8906.jpg","text":"TemporaryFile(/tmp/multipartBody7437690337067978303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805543659,"filename":"image_09122025_08_49_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/12/27/edb80dc7cd7fa677cff3d24fc7dfa1c2.jpg","text":"TemporaryFile(/tmp/multipartBody7238341950725299571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805543659,"filename":"image_09122025_08_50_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d267442669a97ab8c6b2f0158339daa9.jpg","text":"TemporaryFile(/tmp/multipartBody4826969973926898469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805543659,"filename":"image_09122025_08_50_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2d252382dfd5133409a3feb69499121.jpg","text":"TemporaryFile(/tmp/multipartBody3796586862134956386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805543659,"filename":"image_09122025_08_50_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/12/27/f2469d239673c711a1d8410cbb31b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7036204275441246575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805543659,"filename":"image_09122025_08_50_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/805a835cac4e9826e4bfc063de129dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8956646110662127381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805543659,"filename":"image_09122025_08_50_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216361","file1":"1401216360","file0":"1401216359","file4":"1401216363","file5":"1401216366","file3":"1401216362"},"map_files_photo_id_array":[{"photo_id":"1401216366","filename":"file5"},{"photo_id":"1401216361","filename":"file2"},{"photo_id":"1401216363","filename":"file4"},{"photo_id":"1401216360","filename":"file1"},{"photo_id":"1401216359","filename":"file0"},{"photo_id":"1401216362","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216366":["hashtag1","hashtag2"]},{"1401216360":["hashtag1","hashtag2"]},{"1401216363":["hashtag1","hashtag2"]},{"1401216359":["hashtag1","hashtag2"]},{"1401216362":["hashtag1","hashtag2"]},{"1401216361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216366, 1401216360, 1401216363, 1401216359, 1401216362, 1401216361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23451495170593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:18:47.592911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_45_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_35_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_24_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_15_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_49_04_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_55_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_45_9620.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_35_10616.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_24_9612.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_15_10639.jpg', '/home/nano/Desktop/images/09122025/08/48/image_09122025_08_49_04_9627.jpg', '/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_55_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_45_9620.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_35_10616.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_24_9612.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_15_10639.jpg
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_49_04_9627.jpg
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_55_9616.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7009768486022949 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:19:03.360020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_45_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_35_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_24_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_15_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_49_04_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_55_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_45_9620.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_35_10616.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_24_9612.jpg', '/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_15_10639.jpg', '/home/nano/Desktop/images/09122025/08/48/image_09122025_08_49_04_9627.jpg', '/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_55_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_45_9620.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_35_10616.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_24_9612.jpg
/home/nano/Desktop/images/09122025/08/49/image_09122025_08_49_15_10639.jpg
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_49_04_9627.jpg
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_55_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":["1401216393","1401216387","1401216396","1401216389","1401216391","1401216385"],"photo_ids_order":["1401216385","1401216387","1401216389","1401216391","1401216393","1401216396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4529411721944c20d5dbeb4c4e923a3.jpg","text":"TemporaryFile(/tmp/multipartBody4550758821642422252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805604205,"filename":"image_09122025_08_49_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/12/27/a93d56341a1d098d0af0531554c45725.jpg","text":"TemporaryFile(/tmp/multipartBody3365884026314802172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805604205,"filename":"image_09122025_08_49_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fb1f77b49c9396894abacdaefb001bb.jpg","text":"TemporaryFile(/tmp/multipartBody7203773636587208452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805604205,"filename":"image_09122025_08_48_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebed001078f725504b65ace7b2bb4582.jpg","text":"TemporaryFile(/tmp/multipartBody6919141556837071675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805604205,"filename":"image_09122025_08_49_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/12/27/39cd9df30e1780019836b9cf399d200e.jpg","text":"TemporaryFile(/tmp/multipartBody4975543793107295211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805604205,"filename":"image_09122025_08_49_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/274e612b1a96f21d312d0912b4b2893b.jpg","text":"TemporaryFile(/tmp/multipartBody2213835850877031098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805604205,"filename":"image_09122025_08_49_45_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216389","file1":"1401216387","file0":"1401216385","file4":"1401216393","file5":"1401216396","file3":"1401216391"},"map_files_photo_id_array":[{"photo_id":"1401216396","filename":"file5"},{"photo_id":"1401216389","filename":"file2"},{"photo_id":"1401216393","filename":"file4"},{"photo_id":"1401216387","filename":"file1"},{"photo_id":"1401216385","filename":"file0"},{"photo_id":"1401216391","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216393":["hashtag1","hashtag2"]},{"1401216387":["hashtag1","hashtag2"]},{"1401216396":["hashtag1","hashtag2"]},{"1401216389":["hashtag1","hashtag2"]},{"1401216391":["hashtag1","hashtag2"]},{"1401216385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216393, 1401216387, 1401216396, 1401216389, 1401216391, 1401216385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.199350357055664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:19:47.682415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_45_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_34_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_25_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_15_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/08/47/image_09122025_08_48_04_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_55_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_45_10624.jpg', '/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_34_9607.jpg', '/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_25_9614.jpg', '/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_15_10639.jpg', '/home/nano/Desktop/images/09122025/08/47/image_09122025_08_48_04_9632.jpg', '/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_55_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_45_10624.jpg
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_34_9607.jpg
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_25_9614.jpg
/home/nano/Desktop/images/09122025/08/48/image_09122025_08_48_15_10639.jpg
/home/nano/Desktop/images/09122025/08/47/image_09122025_08_48_04_9632.jpg
/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_55_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":["1401216415","1401216414","1401216408","1401216410","1401216412","1401216406"],"photo_ids_order":["1401216406","1401216408","1401216410","1401216412","1401216414","1401216415"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b637cc29b4ecd722ef70265f4b78402.jpg","text":"TemporaryFile(/tmp/multipartBody5116932928910735538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805648501,"filename":"image_09122025_08_47_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e7af226556b5e8a778911749e76c5b4.jpg","text":"TemporaryFile(/tmp/multipartBody3289657038167660691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805648501,"filename":"image_09122025_08_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/12/27/698c3f9cf83aa99138437bf4b4285d11.jpg","text":"TemporaryFile(/tmp/multipartBody9012757361751139768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805648501,"filename":"image_09122025_08_48_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/12/27/894de67ecff06bf9d2a0c7a13317bdde.jpg","text":"TemporaryFile(/tmp/multipartBody6307206378694634488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805648501,"filename":"image_09122025_08_48_25_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be872cc0607d6811bff576010af9e59b.jpg","text":"TemporaryFile(/tmp/multipartBody1575562621528928273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805648501,"filename":"image_09122025_08_48_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/012a2113e9e8556370bc2bc1233d2447.jpg","text":"TemporaryFile(/tmp/multipartBody1866810035117203105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805648501,"filename":"image_09122025_08_48_45_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216410","file1":"1401216408","file0":"1401216406","file4":"1401216414","file5":"1401216415","file3":"1401216412"},"map_files_photo_id_array":[{"photo_id":"1401216415","filename":"file5"},{"photo_id":"1401216410","filename":"file2"},{"photo_id":"1401216414","filename":"file4"},{"photo_id":"1401216408","filename":"file1"},{"photo_id":"1401216406","filename":"file0"},{"photo_id":"1401216412","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216415":["hashtag1","hashtag2"]},{"1401216414":["hashtag1","hashtag2"]},{"1401216408":["hashtag1","hashtag2"]},{"1401216410":["hashtag1","hashtag2"]},{"1401216412":["hashtag1","hashtag2"]},{"1401216406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216415, 1401216414, 1401216408, 1401216410, 1401216412, 1401216406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.110371112823486 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:20:31.778629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_44_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_35_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_14_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/08/46/image_09122025_08_47_05_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_55_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_44_9618.jpg', '/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_35_9621.jpg', '/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_25_10643.jpg', '/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_14_9640.jpg', '/home/nano/Desktop/images/09122025/08/46/image_09122025_08_47_05_9619.jpg', '/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_55_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_44_9618.jpg
/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_35_9621.jpg
/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_25_10643.jpg
/home/nano/Desktop/images/09122025/08/47/image_09122025_08_47_14_9640.jpg
/home/nano/Desktop/images/09122025/08/46/image_09122025_08_47_05_9619.jpg
/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_55_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":["1401216429","1401216432","1401216426","1401216434","1401216422","1401216424"],"photo_ids_order":["1401216422","1401216424","1401216426","1401216429","1401216432","1401216434"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c77746f8a02d35f96ce366c683b9d2c.jpg","text":"TemporaryFile(/tmp/multipartBody185497607179306440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805692641,"filename":"image_09122025_08_47_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/12/27/475009c94988648af8643219699767f7.jpg","text":"TemporaryFile(/tmp/multipartBody5991812498766365120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805692641,"filename":"image_09122025_08_47_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c60dcf198484e588928ac362c1054dc.jpg","text":"TemporaryFile(/tmp/multipartBody6455206629663382453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805692641,"filename":"image_09122025_08_47_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88ca6308b1cdb82c33b2915144e0c4c2.jpg","text":"TemporaryFile(/tmp/multipartBody3839511499344960424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805692641,"filename":"image_09122025_08_46_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00445b4fe955d4904f0ba9ef6fde944a.jpg","text":"TemporaryFile(/tmp/multipartBody6674832790822122039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805692641,"filename":"image_09122025_08_47_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/12/27/453b26d4101ad1efc0ae4bc6e92c9ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8793932228230562653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805692641,"filename":"image_09122025_08_47_35_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216426","file1":"1401216424","file0":"1401216422","file4":"1401216432","file5":"1401216434","file3":"1401216429"},"map_files_photo_id_array":[{"photo_id":"1401216434","filename":"file5"},{"photo_id":"1401216426","filename":"file2"},{"photo_id":"1401216432","filename":"file4"},{"photo_id":"1401216424","filename":"file1"},{"photo_id":"1401216422","filename":"file0"},{"photo_id":"1401216429","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216429":["hashtag1","hashtag2"]},{"1401216432":["hashtag1","hashtag2"]},{"1401216426":["hashtag1","hashtag2"]},{"1401216434":["hashtag1","hashtag2"]},{"1401216422":["hashtag1","hashtag2"]},{"1401216424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216429, 1401216432, 1401216426, 1401216434, 1401216422, 1401216424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.386327266693115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:21:16.881874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_44_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_35_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_24_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_15_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/45/image_09122025_08_46_05_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_44_9616.jpg', '/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_35_10624.jpg', '/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_24_9608.jpg', '/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_15_9620.jpg', '/home/nano/Desktop/images/09122025/08/45/image_09122025_08_46_05_10646.jpg', '/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_44_9616.jpg
/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_35_10624.jpg
/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_24_9608.jpg
/home/nano/Desktop/images/09122025/08/46/image_09122025_08_46_15_9620.jpg
/home/nano/Desktop/images/09122025/08/45/image_09122025_08_46_05_10646.jpg
/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_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":["1401216447","1401216450","1401216444","1401216452","1401216454","1401216442"],"photo_ids_order":["1401216442","1401216444","1401216447","1401216450","1401216452","1401216454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/178564cc046e6391f4b2a2abab3d6d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4506328354938959684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805737686,"filename":"image_09122025_08_46_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/12/27/185607106d9bcadcaacbebafda332055.jpg","text":"TemporaryFile(/tmp/multipartBody1986698968962109508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805737686,"filename":"image_09122025_08_46_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11142f1736885f3a8d67326f6ae0359d.jpg","text":"TemporaryFile(/tmp/multipartBody7292042488492469020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805737686,"filename":"image_09122025_08_46_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97b6142d047c873e492be132a48201cc.jpg","text":"TemporaryFile(/tmp/multipartBody6539020205459988783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805737686,"filename":"image_09122025_08_46_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ba70a85c2e2423f7456e362eacada3f.jpg","text":"TemporaryFile(/tmp/multipartBody1658658371697515216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805737686,"filename":"image_09122025_08_45_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/12/27/3a367e8eaffc77a2b0ed532c742e697b.jpg","text":"TemporaryFile(/tmp/multipartBody6227482987741844425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805737686,"filename":"image_09122025_08_46_44_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216447","file1":"1401216444","file0":"1401216442","file4":"1401216452","file5":"1401216454","file3":"1401216450"},"map_files_photo_id_array":[{"photo_id":"1401216454","filename":"file5"},{"photo_id":"1401216447","filename":"file2"},{"photo_id":"1401216452","filename":"file4"},{"photo_id":"1401216444","filename":"file1"},{"photo_id":"1401216442","filename":"file0"},{"photo_id":"1401216450","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216447":["hashtag1","hashtag2"]},{"1401216450":["hashtag1","hashtag2"]},{"1401216444":["hashtag1","hashtag2"]},{"1401216452":["hashtag1","hashtag2"]},{"1401216454":["hashtag1","hashtag2"]},{"1401216442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216447, 1401216450, 1401216444, 1401216452, 1401216454, 1401216442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5664644241333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:22:02.314629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_45_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_35_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_24_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_15_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/08/44/image_09122025_08_45_04_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_45_9613.jpg', '/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_35_10641.jpg', '/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_24_9607.jpg', '/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_15_10637.jpg', '/home/nano/Desktop/images/09122025/08/44/image_09122025_08_45_04_9607.jpg', '/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_45_9613.jpg
/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_35_10641.jpg
/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_24_9607.jpg
/home/nano/Desktop/images/09122025/08/45/image_09122025_08_45_15_10637.jpg
/home/nano/Desktop/images/09122025/08/44/image_09122025_08_45_04_9607.jpg
/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_55_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":["1401216465","1401216468","1401216470","1401216473","1401216463","1401216466"],"photo_ids_order":["1401216463","1401216465","1401216466","1401216468","1401216470","1401216473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36d0012cde7f7799b66c9b0451116deb.jpg","text":"TemporaryFile(/tmp/multipartBody8514003621440554859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805783147,"filename":"image_09122025_08_45_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dab244065da7dbf99e5a636da29771de.jpg","text":"TemporaryFile(/tmp/multipartBody7858095621856562264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805783147,"filename":"image_09122025_08_45_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/add5a8cf3dbc196a38e511be987eb62a.jpg","text":"TemporaryFile(/tmp/multipartBody7755587980950157365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805783147,"filename":"image_09122025_08_45_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/12/27/690f5af83d827d7306b16f8a37a6f2a0.jpg","text":"TemporaryFile(/tmp/multipartBody1795219791431633714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805783147,"filename":"image_09122025_08_44_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1c090019ae4d901697ba73f765ab82e.jpg","text":"TemporaryFile(/tmp/multipartBody6805542058665247994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805783147,"filename":"image_09122025_08_45_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9bfd84d8b09fa3d70fdea799cf2bd40.jpg","text":"TemporaryFile(/tmp/multipartBody7684218546562848249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805783147,"filename":"image_09122025_08_45_24_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216466","file1":"1401216465","file0":"1401216463","file4":"1401216470","file5":"1401216473","file3":"1401216468"},"map_files_photo_id_array":[{"photo_id":"1401216473","filename":"file5"},{"photo_id":"1401216466","filename":"file2"},{"photo_id":"1401216470","filename":"file4"},{"photo_id":"1401216465","filename":"file1"},{"photo_id":"1401216463","filename":"file0"},{"photo_id":"1401216468","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216465":["hashtag1","hashtag2"]},{"1401216468":["hashtag1","hashtag2"]},{"1401216470":["hashtag1","hashtag2"]},{"1401216473":["hashtag1","hashtag2"]},{"1401216463":["hashtag1","hashtag2"]},{"1401216466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216465, 1401216468, 1401216470, 1401216473, 1401216463, 1401216466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.946993827819824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:22:46.975306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_45_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_25_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_14_9665.jpg', 2), ('/home/nano/Desktop/images/09122025/08/43/image_09122025_08_44_04_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_55_10638.jpg', 2), ('/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_44_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_45_10625.jpg', '/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_25_10639.jpg', '/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_14_9665.jpg', '/home/nano/Desktop/images/09122025/08/43/image_09122025_08_44_04_9620.jpg', '/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_55_10638.jpg', '/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_45_10625.jpg
/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_25_10639.jpg
/home/nano/Desktop/images/09122025/08/44/image_09122025_08_44_14_9665.jpg
/home/nano/Desktop/images/09122025/08/43/image_09122025_08_44_04_9620.jpg
/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_55_10638.jpg
/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_44_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":["1401216492","1401216486","1401216488","1401216482","1401216491","1401216484"],"photo_ids_order":["1401216482","1401216484","1401216486","1401216488","1401216491","1401216492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6dc333585075385561833d4525365b6.jpg","text":"TemporaryFile(/tmp/multipartBody5999216148457275885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805827794,"filename":"image_09122025_08_43_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/12/27/d194ed51b713ecd3e535333b58803b27.jpg","text":"TemporaryFile(/tmp/multipartBody3233645477971524893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805827794,"filename":"image_09122025_08_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/12/27/68b838ee277838b3c42002ee29f4f9dd.jpg","text":"TemporaryFile(/tmp/multipartBody1953822626920475473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805827794,"filename":"image_09122025_08_44_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/12/27/fd9a50d775a83fb65da02eb546d62b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8859958561739343404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805827794,"filename":"image_09122025_08_44_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e782770e911cea356a370f10c387c09b.jpg","text":"TemporaryFile(/tmp/multipartBody4466321911811674902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805827794,"filename":"image_09122025_08_43_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24d0e54917f50fe522844eec9473b50c.jpg","text":"TemporaryFile(/tmp/multipartBody530249393011960524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805827794,"filename":"image_09122025_08_44_25_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216486","file1":"1401216484","file0":"1401216482","file4":"1401216491","file5":"1401216492","file3":"1401216488"},"map_files_photo_id_array":[{"photo_id":"1401216492","filename":"file5"},{"photo_id":"1401216486","filename":"file2"},{"photo_id":"1401216491","filename":"file4"},{"photo_id":"1401216484","filename":"file1"},{"photo_id":"1401216482","filename":"file0"},{"photo_id":"1401216488","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216492":["hashtag1","hashtag2"]},{"1401216486":["hashtag1","hashtag2"]},{"1401216488":["hashtag1","hashtag2"]},{"1401216482":["hashtag1","hashtag2"]},{"1401216491":["hashtag1","hashtag2"]},{"1401216484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216492, 1401216486, 1401216488, 1401216482, 1401216491, 1401216484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88477349281311 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:23:32.092398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_35_9674.jpg', 2), ('/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_25_10715.jpg', 2), ('/home/nano/Desktop/images/09122025/08/42/image_09122025_08_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_55_10638.jpg', 2), ('/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_44_9713.jpg', 2), ('/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_34_9718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_35_9674.jpg', '/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_25_10715.jpg', '/home/nano/Desktop/images/09122025/08/42/image_09122025_08_43_04_9637.jpg', '/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_55_10638.jpg', '/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_44_9713.jpg', '/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_34_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_35_9674.jpg
/home/nano/Desktop/images/09122025/08/43/image_09122025_08_43_25_10715.jpg
/home/nano/Desktop/images/09122025/08/42/image_09122025_08_43_04_9637.jpg
/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_55_10638.jpg
/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_44_9713.jpg
/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_34_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":["1401216502","1401216501","1401216510","1401216504","1401216507","1401216512"],"photo_ids_order":["1401216501","1401216502","1401216504","1401216507","1401216510","1401216512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0216a2b9d6a2609caaa79f25155e26cb.jpg","text":"TemporaryFile(/tmp/multipartBody7990793393761392548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805872941,"filename":"image_09122025_08_43_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d35e7b9a29ee8c60185d3eee7c8077bc.jpg","text":"TemporaryFile(/tmp/multipartBody5291958807287216299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805872941,"filename":"image_09122025_08_43_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6deb476a8becaf8633dc28b5f12184b8.jpg","text":"TemporaryFile(/tmp/multipartBody9012215620879863492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805872941,"filename":"image_09122025_08_42_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02b4c0569d7b6ce2033accab1c41499f.jpg","text":"TemporaryFile(/tmp/multipartBody358978118673037636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805872941,"filename":"image_09122025_08_43_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/12/27/82bb9adaaad028aaa533ffb0456cc91d.jpg","text":"TemporaryFile(/tmp/multipartBody4878132013955780323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805872941,"filename":"image_09122025_08_42_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c5e93d6ab86040ad084e2fd664e9518.jpg","text":"TemporaryFile(/tmp/multipartBody2186374770671363715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805872941,"filename":"image_09122025_08_42_34_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216504","file1":"1401216502","file0":"1401216501","file4":"1401216510","file5":"1401216512","file3":"1401216507"},"map_files_photo_id_array":[{"photo_id":"1401216512","filename":"file5"},{"photo_id":"1401216504","filename":"file2"},{"photo_id":"1401216510","filename":"file4"},{"photo_id":"1401216502","filename":"file1"},{"photo_id":"1401216501","filename":"file0"},{"photo_id":"1401216507","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216502":["hashtag1","hashtag2"]},{"1401216501":["hashtag1","hashtag2"]},{"1401216510":["hashtag1","hashtag2"]},{"1401216504":["hashtag1","hashtag2"]},{"1401216507":["hashtag1","hashtag2"]},{"1401216512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216502, 1401216501, 1401216510, 1401216504, 1401216507, 1401216512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5539710521698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:24:17.210417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_25_9734.jpg', 2), ('/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_15_10746.jpg', 2), ('/home/nano/Desktop/images/09122025/08/41/image_09122025_08_42_04_9662.jpg', 2), ('/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_45_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_34_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_25_9734.jpg', '/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_15_10746.jpg', '/home/nano/Desktop/images/09122025/08/41/image_09122025_08_42_04_9662.jpg', '/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_55_9635.jpg', '/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_45_10615.jpg', '/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_34_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_25_9734.jpg
/home/nano/Desktop/images/09122025/08/42/image_09122025_08_42_15_10746.jpg
/home/nano/Desktop/images/09122025/08/41/image_09122025_08_42_04_9662.jpg
/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_55_9635.jpg
/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_45_10615.jpg
/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_34_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":["1401216520","1401216528","1401216522","1401216530","1401216523","1401216526"],"photo_ids_order":["1401216520","1401216522","1401216523","1401216526","1401216528","1401216530"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/538644e4a1bf0958849199347071f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody3075613778421572034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805918053,"filename":"image_09122025_08_42_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae4359e664a1df272d973d84ebef571d.jpg","text":"TemporaryFile(/tmp/multipartBody8024634993314596191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805918053,"filename":"image_09122025_08_41_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b03e1fd8ca3bbe61c4ba0729ffd388f.jpg","text":"TemporaryFile(/tmp/multipartBody5209089385569588698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805918053,"filename":"image_09122025_08_42_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d6b2d4170acdf4cbde00cdf5b36745d.jpg","text":"TemporaryFile(/tmp/multipartBody7790558568048358018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805918053,"filename":"image_09122025_08_41_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/12/27/5040129ca7107578a0c94ace181270a1.jpg","text":"TemporaryFile(/tmp/multipartBody7939429214558407272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805918053,"filename":"image_09122025_08_42_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/12/27/f8f6767bdb22ba7dd0c76811d3e979fe.jpg","text":"TemporaryFile(/tmp/multipartBody2264772123862012794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805918053,"filename":"image_09122025_08_41_55_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216523","file1":"1401216522","file0":"1401216520","file4":"1401216528","file5":"1401216530","file3":"1401216526"},"map_files_photo_id_array":[{"photo_id":"1401216530","filename":"file5"},{"photo_id":"1401216523","filename":"file2"},{"photo_id":"1401216528","filename":"file4"},{"photo_id":"1401216522","filename":"file1"},{"photo_id":"1401216520","filename":"file0"},{"photo_id":"1401216526","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216520":["hashtag1","hashtag2"]},{"1401216528":["hashtag1","hashtag2"]},{"1401216522":["hashtag1","hashtag2"]},{"1401216530":["hashtag1","hashtag2"]},{"1401216523":["hashtag1","hashtag2"]},{"1401216526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216520, 1401216528, 1401216522, 1401216530, 1401216523, 1401216526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71520519256592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:25:02.837334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_25_9681.jpg', 2), ('/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_15_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/08/40/image_09122025_08_41_04_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_55_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_44_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_35_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_25_9681.jpg', '/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_15_10656.jpg', '/home/nano/Desktop/images/09122025/08/40/image_09122025_08_41_04_9605.jpg', '/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_55_10631.jpg', '/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_44_9610.jpg', '/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_35_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_25_9681.jpg
/home/nano/Desktop/images/09122025/08/41/image_09122025_08_41_15_10656.jpg
/home/nano/Desktop/images/09122025/08/40/image_09122025_08_41_04_9605.jpg
/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_55_10631.jpg
/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_44_9610.jpg
/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_35_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":["1401216549","1401216543","1401216551","1401216545","1401216554","1401216547"],"photo_ids_order":["1401216543","1401216545","1401216547","1401216549","1401216551","1401216554"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92b6b1e54228239d2284396534eb8a8c.jpg","text":"TemporaryFile(/tmp/multipartBody809068042001239805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805963723,"filename":"image_09122025_08_40_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19ae8bd8c0d12f16521bc6eb7380e816.jpg","text":"TemporaryFile(/tmp/multipartBody273592115766611985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805963723,"filename":"image_09122025_08_41_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10700811e1ba33cbdf9d32d228a10d2c.jpg","text":"TemporaryFile(/tmp/multipartBody7141248231804292716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805963723,"filename":"image_09122025_08_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/12/27/4d1e41e257bdad24f8875919f5236e28.jpg","text":"TemporaryFile(/tmp/multipartBody4605135755238621262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805963723,"filename":"image_09122025_08_41_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9be1e80afade153316d801a99c1afcd4.jpg","text":"TemporaryFile(/tmp/multipartBody7311768708895281037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805963723,"filename":"image_09122025_08_40_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9447d2988c38ee63bca244d9a0445c6.jpg","text":"TemporaryFile(/tmp/multipartBody3105370784921245737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766805963723,"filename":"image_09122025_08_41_04_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216547","file1":"1401216545","file0":"1401216543","file4":"1401216551","file5":"1401216554","file3":"1401216549"},"map_files_photo_id_array":[{"photo_id":"1401216554","filename":"file5"},{"photo_id":"1401216547","filename":"file2"},{"photo_id":"1401216551","filename":"file4"},{"photo_id":"1401216545","filename":"file1"},{"photo_id":"1401216543","filename":"file0"},{"photo_id":"1401216549","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216549":["hashtag1","hashtag2"]},{"1401216543":["hashtag1","hashtag2"]},{"1401216551":["hashtag1","hashtag2"]},{"1401216545":["hashtag1","hashtag2"]},{"1401216554":["hashtag1","hashtag2"]},{"1401216547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216549, 1401216543, 1401216551, 1401216545, 1401216554, 1401216547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77367281913757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:25:47.302655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_25_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_14_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/08/39/image_09122025_08_40_05_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_55_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_35_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_24_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_25_10619.jpg', '/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_14_9628.jpg', '/home/nano/Desktop/images/09122025/08/39/image_09122025_08_40_05_9629.jpg', '/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_55_10630.jpg', '/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_35_10624.jpg', '/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_24_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_25_10619.jpg
/home/nano/Desktop/images/09122025/08/40/image_09122025_08_40_14_9628.jpg
/home/nano/Desktop/images/09122025/08/39/image_09122025_08_40_05_9629.jpg
/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_55_10630.jpg
/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_35_10624.jpg
/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_24_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":["1401216567","1401216561","1401216563","1401216571","1401216574","1401216565"],"photo_ids_order":["1401216561","1401216563","1401216565","1401216567","1401216571","1401216574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3963db4a9af0dd3bd3e2620c6af17f67.jpg","text":"TemporaryFile(/tmp/multipartBody7715085793245219836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806008133,"filename":"image_09122025_08_39_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f57d7f8ad1bd36b7100c5c1b8b75f81d.jpg","text":"TemporaryFile(/tmp/multipartBody6060310811319674596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806008133,"filename":"image_09122025_08_40_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9969bf686380c7f1a3f980e4b2105d59.jpg","text":"TemporaryFile(/tmp/multipartBody8396235434783650948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806008133,"filename":"image_09122025_08_40_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/12/27/b809edf0a470d8b6331f885bc36cda92.jpg","text":"TemporaryFile(/tmp/multipartBody1531515181687020192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806008133,"filename":"image_09122025_08_39_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09c6f74adb3ae678f4bc08895479f387.jpg","text":"TemporaryFile(/tmp/multipartBody5523044056416647774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806008133,"filename":"image_09122025_08_39_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/12/27/2dcf39498bc628b0109811640b52b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody99538666103822495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806008133,"filename":"image_09122025_08_40_05_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216565","file1":"1401216563","file0":"1401216561","file4":"1401216571","file5":"1401216574","file3":"1401216567"},"map_files_photo_id_array":[{"photo_id":"1401216574","filename":"file5"},{"photo_id":"1401216565","filename":"file2"},{"photo_id":"1401216571","filename":"file4"},{"photo_id":"1401216563","filename":"file1"},{"photo_id":"1401216561","filename":"file0"},{"photo_id":"1401216567","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216567":["hashtag1","hashtag2"]},{"1401216561":["hashtag1","hashtag2"]},{"1401216563":["hashtag1","hashtag2"]},{"1401216571":["hashtag1","hashtag2"]},{"1401216574":["hashtag1","hashtag2"]},{"1401216565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216567, 1401216561, 1401216563, 1401216571, 1401216574, 1401216565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88650584220886 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:26:32.380824
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/04/26/image_27122025_04_26_14_9510.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/04/26/image_27122025_04_26_14_9510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/04/26/image_27122025_04_26_14_9510.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401216584"],"photo_id":"1401216584","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f599cb48c55c27d8d662a747be23ddf2.jpg","text":"TemporaryFile(/tmp/multipartBody7998764799500464731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806052625,"filename":"image_27122025_04_26_14_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401216584"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401216584"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.094835996627808 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:26:47.388061
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_39_05_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_54_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_45_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_34_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_24_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_15_9625.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_39_05_10623.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_54_9620.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_45_10621.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_34_9611.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_24_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_15_9625.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_39_05_10623.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_54_9620.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_45_10621.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_34_9611.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_24_9617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7115013599395752 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:27:02.920573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_39_05_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_54_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_45_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_34_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_24_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_15_9625.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_39_05_10623.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_54_9620.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_45_10621.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_34_9611.jpg', '/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_24_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/39/image_09122025_08_39_15_9625.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_39_05_10623.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_54_9620.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_45_10621.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_34_9611.jpg
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_24_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":["1401216609","1401216600","1401216606","1401216605","1401216602","1401216604"],"photo_ids_order":["1401216600","1401216602","1401216604","1401216605","1401216606","1401216609"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/943f1be61a69fb57ebd6f667673cdaca.jpg","text":"TemporaryFile(/tmp/multipartBody6901183398352554112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806083740,"filename":"image_09122025_08_38_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/12/27/d722c8cb79b3108f7541e5070b397291.jpg","text":"TemporaryFile(/tmp/multipartBody4160360218556649528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806083740,"filename":"image_09122025_08_39_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f20e900753d60cc3ccb30744269a58a.jpg","text":"TemporaryFile(/tmp/multipartBody7578732781519100331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806083740,"filename":"image_09122025_08_38_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/12/27/32d739df9f8dd66f7c89ad4217c9f2d2.jpg","text":"TemporaryFile(/tmp/multipartBody5208443815606941085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806083740,"filename":"image_09122025_08_38_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5837cfcbbd5d5a910d2dbcd8f8e6a1c.jpg","text":"TemporaryFile(/tmp/multipartBody3268377510223105370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806083740,"filename":"image_09122025_08_39_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f03228c9e9e1706b8d2acd022ce310cb.jpg","text":"TemporaryFile(/tmp/multipartBody3421018049707464208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806083740,"filename":"image_09122025_08_38_54_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216604","file1":"1401216602","file0":"1401216600","file4":"1401216606","file5":"1401216609","file3":"1401216605"},"map_files_photo_id_array":[{"photo_id":"1401216609","filename":"file5"},{"photo_id":"1401216604","filename":"file2"},{"photo_id":"1401216606","filename":"file4"},{"photo_id":"1401216602","filename":"file1"},{"photo_id":"1401216600","filename":"file0"},{"photo_id":"1401216605","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216609":["hashtag1","hashtag2"]},{"1401216600":["hashtag1","hashtag2"]},{"1401216606":["hashtag1","hashtag2"]},{"1401216605":["hashtag1","hashtag2"]},{"1401216602":["hashtag1","hashtag2"]},{"1401216604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216609, 1401216600, 1401216606, 1401216605, 1401216602, 1401216604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64087653160095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:27:47.482167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_15_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/08/37/image_09122025_08_38_04_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_55_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_34_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_25_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_15_10651.jpg', '/home/nano/Desktop/images/09122025/08/37/image_09122025_08_38_04_9626.jpg', '/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_55_9630.jpg', '/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_45_10633.jpg', '/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_34_9619.jpg', '/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_25_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/38/image_09122025_08_38_15_10651.jpg
/home/nano/Desktop/images/09122025/08/37/image_09122025_08_38_04_9626.jpg
/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_55_9630.jpg
/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_45_10633.jpg
/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_34_9619.jpg
/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_25_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":["1401216627","1401216624","1401216618","1401216626","1401216620","1401216622"],"photo_ids_order":["1401216618","1401216620","1401216622","1401216624","1401216626","1401216627"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67e403d585b80316bf709aa4520f194f.jpg","text":"TemporaryFile(/tmp/multipartBody7161388867450505486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806128299,"filename":"image_09122025_08_37_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f2ff2cc3e3b0e4e1be7c920a5335e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6164392213458614522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806128299,"filename":"image_09122025_08_37_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a55899c349394eafc52288a66291a68.jpg","text":"TemporaryFile(/tmp/multipartBody6400716566586414719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806128299,"filename":"image_09122025_08_38_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d65827d4776c1640584e23637add7f55.jpg","text":"TemporaryFile(/tmp/multipartBody6892522349645749447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806128299,"filename":"image_09122025_08_37_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/12/27/1fc3b4431b195fb8d5514cbb3961685b.jpg","text":"TemporaryFile(/tmp/multipartBody6284037487645347011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806128299,"filename":"image_09122025_08_38_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/12/27/e749b5567e56d6dbd0e0ecd861e14367.jpg","text":"TemporaryFile(/tmp/multipartBody7987153860066611988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806128299,"filename":"image_09122025_08_37_55_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216622","file1":"1401216620","file0":"1401216618","file4":"1401216626","file5":"1401216627","file3":"1401216624"},"map_files_photo_id_array":[{"photo_id":"1401216627","filename":"file5"},{"photo_id":"1401216622","filename":"file2"},{"photo_id":"1401216626","filename":"file4"},{"photo_id":"1401216620","filename":"file1"},{"photo_id":"1401216618","filename":"file0"},{"photo_id":"1401216624","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216627":["hashtag1","hashtag2"]},{"1401216624":["hashtag1","hashtag2"]},{"1401216618":["hashtag1","hashtag2"]},{"1401216626":["hashtag1","hashtag2"]},{"1401216620":["hashtag1","hashtag2"]},{"1401216622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216627, 1401216624, 1401216618, 1401216626, 1401216620, 1401216622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13103771209717 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:28:32.597397
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_15_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/08/36/image_09122025_08_37_04_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_55_10703.jpg', 2), ('/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_44_9818.jpg', 2), ('/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_34_9796.jpg', 2), ('/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_24_9794.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_15_10634.jpg', '/home/nano/Desktop/images/09122025/08/36/image_09122025_08_37_04_9641.jpg', '/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_55_10703.jpg', '/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_44_9818.jpg', '/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_34_9796.jpg', '/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_24_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/37/image_09122025_08_37_15_10634.jpg
/home/nano/Desktop/images/09122025/08/36/image_09122025_08_37_04_9641.jpg
/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_55_10703.jpg
/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_44_9818.jpg
/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_34_9796.jpg
/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_24_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401216648","1401216636","1401216639","1401216634","1401216643","1401216646"],"photo_ids_order":["1401216634","1401216636","1401216639","1401216643","1401216646","1401216648"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4bb2cdf2acd57bb9898c7ef01bf4574.jpg","text":"TemporaryFile(/tmp/multipartBody8277238962185743131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806173446,"filename":"image_09122025_08_36_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/12/27/132c35552c3500dc02e0df73044c81e0.jpg","text":"TemporaryFile(/tmp/multipartBody526160720959571494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806173446,"filename":"image_09122025_08_37_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/12/27/59270ad93e6c264387b10bc347165995.jpg","text":"TemporaryFile(/tmp/multipartBody6655213217063817816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806173446,"filename":"image_09122025_08_36_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c16d750a1bdc5afdeb8ac09ca721e900.jpg","text":"TemporaryFile(/tmp/multipartBody5187311076795123951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806173446,"filename":"image_09122025_08_37_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3029464f61de401a56578b5eb947e021.jpg","text":"TemporaryFile(/tmp/multipartBody4868283214886667000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806173446,"filename":"image_09122025_08_36_44_9818.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7614d0accace48ac2365feab25951e91.jpg","text":"TemporaryFile(/tmp/multipartBody6040362791802876902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806173446,"filename":"image_09122025_08_36_34_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216639","file1":"1401216636","file0":"1401216634","file4":"1401216646","file5":"1401216648","file3":"1401216643"},"map_files_photo_id_array":[{"photo_id":"1401216648","filename":"file5"},{"photo_id":"1401216639","filename":"file2"},{"photo_id":"1401216646","filename":"file4"},{"photo_id":"1401216636","filename":"file1"},{"photo_id":"1401216634","filename":"file0"},{"photo_id":"1401216643","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216648":["hashtag1","hashtag2"]},{"1401216636":["hashtag1","hashtag2"]},{"1401216639":["hashtag1","hashtag2"]},{"1401216634":["hashtag1","hashtag2"]},{"1401216643":["hashtag1","hashtag2"]},{"1401216646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216648, 1401216636, 1401216639, 1401216634, 1401216643, 1401216646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27634596824646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:29:17.792440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_15_9775.jpg', 2), ('/home/nano/Desktop/images/09122025/08/35/image_09122025_08_36_05_10681.jpg', 2), ('/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_54_9734.jpg', 2), ('/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_44_9700.jpg', 2), ('/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_35_9785.jpg', 2), ('/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_25_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_15_9775.jpg', '/home/nano/Desktop/images/09122025/08/35/image_09122025_08_36_05_10681.jpg', '/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_54_9734.jpg', '/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_44_9700.jpg', '/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_35_9785.jpg', '/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_25_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/36/image_09122025_08_36_15_9775.jpg
/home/nano/Desktop/images/09122025/08/35/image_09122025_08_36_05_10681.jpg
/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_54_9734.jpg
/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_44_9700.jpg
/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_35_9785.jpg
/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_25_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":["1401216662","1401216656","1401216665","1401216659","1401216653","1401216652"],"photo_ids_order":["1401216652","1401216653","1401216656","1401216659","1401216662","1401216665"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d68a3594afebdb9e08bc24cd4d0d962f.jpg","text":"TemporaryFile(/tmp/multipartBody4397557860959138997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806218648,"filename":"image_09122025_08_35_35_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc5ca2980a2ed5da070be64104c2a00f.jpg","text":"TemporaryFile(/tmp/multipartBody7392718291551365888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806218648,"filename":"image_09122025_08_35_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/12/27/31d9da9cd12d568e0aec8ec72bf1ea12.jpg","text":"TemporaryFile(/tmp/multipartBody5557063562936853996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806218648,"filename":"image_09122025_08_35_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cf082223ab2ef4f0b69e8dbeb83e7b4.jpg","text":"TemporaryFile(/tmp/multipartBody3558747614223356003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806218648,"filename":"image_09122025_08_35_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/12/27/4c84a1ac822897408ecf28d5e2c6a216.jpg","text":"TemporaryFile(/tmp/multipartBody3446426295882728192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806218648,"filename":"image_09122025_08_36_05_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78b8aab134c6f211be3b0b07795c6bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1123800574305117939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806218648,"filename":"image_09122025_08_36_15_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216656","file1":"1401216653","file0":"1401216652","file4":"1401216662","file5":"1401216665","file3":"1401216659"},"map_files_photo_id_array":[{"photo_id":"1401216665","filename":"file5"},{"photo_id":"1401216656","filename":"file2"},{"photo_id":"1401216662","filename":"file4"},{"photo_id":"1401216653","filename":"file1"},{"photo_id":"1401216652","filename":"file0"},{"photo_id":"1401216659","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216662":["hashtag1","hashtag2"]},{"1401216656":["hashtag1","hashtag2"]},{"1401216665":["hashtag1","hashtag2"]},{"1401216659":["hashtag1","hashtag2"]},{"1401216653":["hashtag1","hashtag2"]},{"1401216652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216662, 1401216656, 1401216665, 1401216659, 1401216653, 1401216652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.003397941589355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:30:02.140424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_14_9833.jpg', 2), ('/home/nano/Desktop/images/09122025/08/34/image_09122025_08_35_05_9773.jpg', 2), ('/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_55_9664.jpg', 2), ('/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_45_10688.jpg', 2), ('/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_34_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_25_9766.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_14_9833.jpg', '/home/nano/Desktop/images/09122025/08/34/image_09122025_08_35_05_9773.jpg', '/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_55_9664.jpg', '/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_45_10688.jpg', '/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_34_9643.jpg', '/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_25_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/35/image_09122025_08_35_14_9833.jpg
/home/nano/Desktop/images/09122025/08/34/image_09122025_08_35_05_9773.jpg
/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_55_9664.jpg
/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_45_10688.jpg
/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_34_9643.jpg
/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_25_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401216681","1401216678","1401216680","1401216683","1401216679","1401216676"],"photo_ids_order":["1401216676","1401216678","1401216679","1401216680","1401216681","1401216683"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a946f5cb3ca350e37e4b9662c62d28a6.jpg","text":"TemporaryFile(/tmp/multipartBody7139570145605922272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806263017,"filename":"image_09122025_08_34_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/12/27/c3d6cf23533fb875ae6da3b6260362ea.jpg","text":"TemporaryFile(/tmp/multipartBody1060522838120660324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806263017,"filename":"image_09122025_08_35_05_9773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9981f8098ce25b1fe9ef7c2dc69a15e.jpg","text":"TemporaryFile(/tmp/multipartBody8876434919373040041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806263017,"filename":"image_09122025_08_34_45_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0fd0e17e166a543fa564cdb9a07e61aa.jpg","text":"TemporaryFile(/tmp/multipartBody8559487566774457436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806263017,"filename":"image_09122025_08_34_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/487cf6c95f526177d3fef774f700b217.jpg","text":"TemporaryFile(/tmp/multipartBody3237275578256472522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806263017,"filename":"image_09122025_08_34_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34e6670e54bcea24b1748e3e2792dd06.jpg","text":"TemporaryFile(/tmp/multipartBody8231926768768876573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806263017,"filename":"image_09122025_08_35_14_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216679","file1":"1401216678","file0":"1401216676","file4":"1401216681","file5":"1401216683","file3":"1401216680"},"map_files_photo_id_array":[{"photo_id":"1401216683","filename":"file5"},{"photo_id":"1401216679","filename":"file2"},{"photo_id":"1401216681","filename":"file4"},{"photo_id":"1401216678","filename":"file1"},{"photo_id":"1401216676","filename":"file0"},{"photo_id":"1401216680","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216681":["hashtag1","hashtag2"]},{"1401216678":["hashtag1","hashtag2"]},{"1401216680":["hashtag1","hashtag2"]},{"1401216683":["hashtag1","hashtag2"]},{"1401216679":["hashtag1","hashtag2"]},{"1401216676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216681, 1401216678, 1401216680, 1401216683, 1401216679, 1401216676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73022246360779 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:30:46.804878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_15_10732.jpg', 2), ('/home/nano/Desktop/images/09122025/08/33/image_09122025_08_34_04_9677.jpg', 2), ('/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_55_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_45_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_34_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_25_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_15_10732.jpg', '/home/nano/Desktop/images/09122025/08/33/image_09122025_08_34_04_9677.jpg', '/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_55_9604.jpg', '/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_45_10611.jpg', '/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_34_9603.jpg', '/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_25_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/34/image_09122025_08_34_15_10732.jpg
/home/nano/Desktop/images/09122025/08/33/image_09122025_08_34_04_9677.jpg
/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_55_9604.jpg
/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_45_10611.jpg
/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_34_9603.jpg
/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_25_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":["1401216696","1401216700","1401216705","1401216698","1401216694","1401216703"],"photo_ids_order":["1401216694","1401216696","1401216698","1401216700","1401216703","1401216705"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e080fa3cb4be3be5fc516dc5bf693d5.jpg","text":"TemporaryFile(/tmp/multipartBody8629917222987985161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806307648,"filename":"image_09122025_08_34_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b70d447ffb19f047c2475ef54059e52.jpg","text":"TemporaryFile(/tmp/multipartBody8310645471278896315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806307648,"filename":"image_09122025_08_33_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d10dbaebd3055483ac25564e9c5f480e.jpg","text":"TemporaryFile(/tmp/multipartBody2827762924089733200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806307648,"filename":"image_09122025_08_33_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c21da445eaaa537010b31e4ff46fccb.jpg","text":"TemporaryFile(/tmp/multipartBody4838886998468432968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806307648,"filename":"image_09122025_08_33_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3fa284fa4735f35602b50b3572996ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7596927103922853090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806307648,"filename":"image_09122025_08_34_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b8cf4c8c8884afdcb0a231f80e1ff58.jpg","text":"TemporaryFile(/tmp/multipartBody3112194886714736269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806307648,"filename":"image_09122025_08_33_34_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216698","file1":"1401216696","file0":"1401216694","file4":"1401216703","file5":"1401216705","file3":"1401216700"},"map_files_photo_id_array":[{"photo_id":"1401216705","filename":"file5"},{"photo_id":"1401216698","filename":"file2"},{"photo_id":"1401216703","filename":"file4"},{"photo_id":"1401216696","filename":"file1"},{"photo_id":"1401216694","filename":"file0"},{"photo_id":"1401216700","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216696":["hashtag1","hashtag2"]},{"1401216700":["hashtag1","hashtag2"]},{"1401216705":["hashtag1","hashtag2"]},{"1401216698":["hashtag1","hashtag2"]},{"1401216694":["hashtag1","hashtag2"]},{"1401216703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216696, 1401216700, 1401216705, 1401216698, 1401216694, 1401216703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00394868850708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:31:31.995351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_14_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/32/image_09122025_08_33_04_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_55_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_44_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_35_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_25_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_14_9623.jpg', '/home/nano/Desktop/images/09122025/08/32/image_09122025_08_33_04_9620.jpg', '/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_55_10613.jpg', '/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_44_9602.jpg', '/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_35_9602.jpg', '/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_25_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/33/image_09122025_08_33_14_9623.jpg
/home/nano/Desktop/images/09122025/08/32/image_09122025_08_33_04_9620.jpg
/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_55_10613.jpg
/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_44_9602.jpg
/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_35_9602.jpg
/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_25_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":["1401216712","1401216720","1401216714","1401216722","1401216715","1401216718"],"photo_ids_order":["1401216712","1401216714","1401216715","1401216718","1401216720","1401216722"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f8b0f56d93b1a8e5e879405cb4515a7.jpg","text":"TemporaryFile(/tmp/multipartBody5158923349084009945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806352812,"filename":"image_09122025_08_33_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/12/27/2c1080b6733f4a598fe9d41eacc25dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6465702161168267332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806352812,"filename":"image_09122025_08_32_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10b35b576bbde82ee5294148a38f829e.jpg","text":"TemporaryFile(/tmp/multipartBody4059729892030453200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806352812,"filename":"image_09122025_08_33_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/12/27/13a54481ed38fecc4ed8702b03cde412.jpg","text":"TemporaryFile(/tmp/multipartBody7589465132273751224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806352812,"filename":"image_09122025_08_32_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96ea0fc88b616cd16413dadc47f88722.jpg","text":"TemporaryFile(/tmp/multipartBody9096391581716551190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806352812,"filename":"image_09122025_08_32_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c5b56bf09481fe2bd2483b4447ecfdf.jpg","text":"TemporaryFile(/tmp/multipartBody8329320217093629549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806352812,"filename":"image_09122025_08_32_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216715","file1":"1401216714","file0":"1401216712","file4":"1401216720","file5":"1401216722","file3":"1401216718"},"map_files_photo_id_array":[{"photo_id":"1401216722","filename":"file5"},{"photo_id":"1401216715","filename":"file2"},{"photo_id":"1401216720","filename":"file4"},{"photo_id":"1401216714","filename":"file1"},{"photo_id":"1401216712","filename":"file0"},{"photo_id":"1401216718","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216712":["hashtag1","hashtag2"]},{"1401216720":["hashtag1","hashtag2"]},{"1401216714":["hashtag1","hashtag2"]},{"1401216722":["hashtag1","hashtag2"]},{"1401216715":["hashtag1","hashtag2"]},{"1401216718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216712, 1401216720, 1401216714, 1401216722, 1401216715, 1401216718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25316619873047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:32:17.023447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_14_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/31/image_09122025_08_32_05_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_54_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_45_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_35_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_24_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_14_9623.jpg', '/home/nano/Desktop/images/09122025/08/31/image_09122025_08_32_05_10654.jpg', '/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_54_9604.jpg', '/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_45_9605.jpg', '/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_35_10612.jpg', '/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/32/image_09122025_08_32_14_9623.jpg
/home/nano/Desktop/images/09122025/08/31/image_09122025_08_32_05_10654.jpg
/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_54_9604.jpg
/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_45_9605.jpg
/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_35_10612.jpg
/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_24_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":["1401216744","1401216740","1401216737","1401216746","1401216734","1401216742"],"photo_ids_order":["1401216734","1401216737","1401216740","1401216742","1401216744","1401216746"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f97abcde5ba343cc9fe259ec4d72ef0d.jpg","text":"TemporaryFile(/tmp/multipartBody1604921441978851094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806397844,"filename":"image_09122025_08_31_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/760f57e92c19c32c0b5eb988eb736d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7669937967499695317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806397844,"filename":"image_09122025_08_31_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/12/27/2bd5f5ca997902c1f79ccf91ec71e4b9.jpg","text":"TemporaryFile(/tmp/multipartBody7754788618741122595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806397844,"filename":"image_09122025_08_32_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d30dfe7c971cbaf9a1c83dcc478f829.jpg","text":"TemporaryFile(/tmp/multipartBody763925161496348495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806397844,"filename":"image_09122025_08_31_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/12/27/848a36badaab238fd071d1fc31a5ec92.jpg","text":"TemporaryFile(/tmp/multipartBody2878585256418416291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806397844,"filename":"image_09122025_08_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/12/27/a8e2dfe9304d2c6f00ce71bcdf78092c.jpg","text":"TemporaryFile(/tmp/multipartBody1468630539336540380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806397844,"filename":"image_09122025_08_31_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216740","file1":"1401216737","file0":"1401216734","file4":"1401216744","file5":"1401216746","file3":"1401216742"},"map_files_photo_id_array":[{"photo_id":"1401216746","filename":"file5"},{"photo_id":"1401216740","filename":"file2"},{"photo_id":"1401216744","filename":"file4"},{"photo_id":"1401216737","filename":"file1"},{"photo_id":"1401216734","filename":"file0"},{"photo_id":"1401216742","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216744":["hashtag1","hashtag2"]},{"1401216740":["hashtag1","hashtag2"]},{"1401216737":["hashtag1","hashtag2"]},{"1401216746":["hashtag1","hashtag2"]},{"1401216734":["hashtag1","hashtag2"]},{"1401216742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216744, 1401216740, 1401216737, 1401216746, 1401216734, 1401216742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.815019369125366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:33:02.589045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_15_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/08/30/image_09122025_08_31_05_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_54_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_45_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_34_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_25_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_15_9629.jpg', '/home/nano/Desktop/images/09122025/08/30/image_09122025_08_31_05_10623.jpg', '/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_54_9603.jpg', '/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_45_10633.jpg', '/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_34_9615.jpg', '/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_25_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/31/image_09122025_08_31_15_9629.jpg
/home/nano/Desktop/images/09122025/08/30/image_09122025_08_31_05_10623.jpg
/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_54_9603.jpg
/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_45_10633.jpg
/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_34_9615.jpg
/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_25_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":["1401216762","1401216756","1401216755","1401216764","1401216758","1401216760"],"photo_ids_order":["1401216755","1401216756","1401216758","1401216760","1401216762","1401216764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac277de39d3ce4c4c7bb40997e65c8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1920456838464159226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806443524,"filename":"image_09122025_08_30_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/12/27/561b2f2c5744ddbff5e59afc4d81346e.jpg","text":"TemporaryFile(/tmp/multipartBody1355350089382085548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806443524,"filename":"image_09122025_08_31_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8400dd8715900c06de4d1160a590e0de.jpg","text":"TemporaryFile(/tmp/multipartBody628589336672410587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806443524,"filename":"image_09122025_08_31_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09e74aaa28f0208d02019e2b55554c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2503428096980523914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806443524,"filename":"image_09122025_08_30_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f11baf6a6d60f7fc4fdbef834b83cafe.jpg","text":"TemporaryFile(/tmp/multipartBody5421630419212919641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806443524,"filename":"image_09122025_08_30_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/12/27/1e39a15415729bd9b6164bf1b525a519.jpg","text":"TemporaryFile(/tmp/multipartBody6512054243041553383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806443524,"filename":"image_09122025_08_30_45_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216758","file1":"1401216756","file0":"1401216755","file4":"1401216762","file5":"1401216764","file3":"1401216760"},"map_files_photo_id_array":[{"photo_id":"1401216764","filename":"file5"},{"photo_id":"1401216758","filename":"file2"},{"photo_id":"1401216762","filename":"file4"},{"photo_id":"1401216756","filename":"file1"},{"photo_id":"1401216755","filename":"file0"},{"photo_id":"1401216760","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216762":["hashtag1","hashtag2"]},{"1401216756":["hashtag1","hashtag2"]},{"1401216755":["hashtag1","hashtag2"]},{"1401216764":["hashtag1","hashtag2"]},{"1401216758":["hashtag1","hashtag2"]},{"1401216760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216762, 1401216756, 1401216755, 1401216764, 1401216758, 1401216760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01732921600342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:33:47.104143
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_15_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/08/29/image_09122025_08_30_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/08/29/image_09122025_08_29_25_10626.jpg', 2), ('/home/nano/Desktop/images/09122025/08/29/image_09122025_08_29_14_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/08/28/image_09122025_08_29_05_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/28/image_09122025_08_28_14_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_15_10632.jpg', '/home/nano/Desktop/images/09122025/08/29/image_09122025_08_30_04_9638.jpg', '/home/nano/Desktop/images/09122025/08/29/image_09122025_08_29_25_10626.jpg', '/home/nano/Desktop/images/09122025/08/29/image_09122025_08_29_14_9640.jpg', '/home/nano/Desktop/images/09122025/08/28/image_09122025_08_29_05_9623.jpg', '/home/nano/Desktop/images/09122025/08/28/image_09122025_08_28_14_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/30/image_09122025_08_30_15_10632.jpg
/home/nano/Desktop/images/09122025/08/29/image_09122025_08_30_04_9638.jpg
/home/nano/Desktop/images/09122025/08/29/image_09122025_08_29_25_10626.jpg
/home/nano/Desktop/images/09122025/08/29/image_09122025_08_29_14_9640.jpg
/home/nano/Desktop/images/09122025/08/28/image_09122025_08_29_05_9623.jpg
/home/nano/Desktop/images/09122025/08/28/image_09122025_08_28_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":["1401216783","1401216777","1401216773","1401216779","1401216781","1401216775"],"photo_ids_order":["1401216773","1401216775","1401216777","1401216779","1401216781","1401216783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5bf95a169917934eb2c1d633b524dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1706255941967070214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806487912,"filename":"image_09122025_08_28_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/12/27/65c1b5a884ebff206e00f8077aa1db68.jpg","text":"TemporaryFile(/tmp/multipartBody1585928240106471363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806487912,"filename":"image_09122025_08_29_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5e9d7bf7f3988fec8c6169012ed6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2767011588699168235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806487912,"filename":"image_09122025_08_30_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12e68c3a9b7b8aff65a9d0761a7529f4.jpg","text":"TemporaryFile(/tmp/multipartBody1633995073749341620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806487912,"filename":"image_09122025_08_29_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/12/27/62d1d730ac3aa7d870b31816a09dcecf.jpg","text":"TemporaryFile(/tmp/multipartBody6904390599181765255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806487912,"filename":"image_09122025_08_29_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f134c98a7092e74ff70db1dd51749b3.jpg","text":"TemporaryFile(/tmp/multipartBody2884399805814516139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806487912,"filename":"image_09122025_08_30_04_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216777","file1":"1401216775","file0":"1401216773","file4":"1401216781","file5":"1401216783","file3":"1401216779"},"map_files_photo_id_array":[{"photo_id":"1401216783","filename":"file5"},{"photo_id":"1401216777","filename":"file2"},{"photo_id":"1401216781","filename":"file4"},{"photo_id":"1401216775","filename":"file1"},{"photo_id":"1401216773","filename":"file0"},{"photo_id":"1401216779","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216783":["hashtag1","hashtag2"]},{"1401216777":["hashtag1","hashtag2"]},{"1401216773":["hashtag1","hashtag2"]},{"1401216779":["hashtag1","hashtag2"]},{"1401216781":["hashtag1","hashtag2"]},{"1401216775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216783, 1401216777, 1401216773, 1401216779, 1401216781, 1401216775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28123664855957 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:34:32.205124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/27/image_09122025_08_28_05_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_34_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_25_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_14_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/08/24/image_09122025_08_25_05_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_55_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/27/image_09122025_08_28_05_10632.jpg', '/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_34_9603.jpg', '/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_25_10612.jpg', '/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_14_9638.jpg', '/home/nano/Desktop/images/09122025/08/24/image_09122025_08_25_05_9621.jpg', '/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/27/image_09122025_08_28_05_10632.jpg
/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_34_9603.jpg
/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_25_10612.jpg
/home/nano/Desktop/images/09122025/08/25/image_09122025_08_25_14_9638.jpg
/home/nano/Desktop/images/09122025/08/24/image_09122025_08_25_05_9621.jpg
/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_55_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":["1401216795","1401216798","1401216791","1401216797","1401216790","1401216793"],"photo_ids_order":["1401216790","1401216791","1401216793","1401216795","1401216797","1401216798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/815275d76bb53bf0f320fa4e5f4df4e4.jpg","text":"TemporaryFile(/tmp/multipartBody8971032787008633092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806533032,"filename":"image_09122025_08_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/12/27/ca706dd7bfab7607393e795e3895278b.jpg","text":"TemporaryFile(/tmp/multipartBody6878271070841947856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806533032,"filename":"image_09122025_08_24_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a53d9dcbc12873040af791b6eabdfc3a.jpg","text":"TemporaryFile(/tmp/multipartBody1146913375552795093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806533032,"filename":"image_09122025_08_25_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/12/27/75a2038bf62f4f9da538c20afc7282ec.jpg","text":"TemporaryFile(/tmp/multipartBody4828609898883132944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806533032,"filename":"image_09122025_08_25_05_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dff132aec303af5b142e09f3ecdd049c.jpg","text":"TemporaryFile(/tmp/multipartBody5043645146191994191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806533032,"filename":"image_09122025_08_28_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0e01ad6cf7a22660b463e5beb560e66.jpg","text":"TemporaryFile(/tmp/multipartBody6580452301527122160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806533032,"filename":"image_09122025_08_25_25_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216793","file1":"1401216791","file0":"1401216790","file4":"1401216797","file5":"1401216798","file3":"1401216795"},"map_files_photo_id_array":[{"photo_id":"1401216798","filename":"file5"},{"photo_id":"1401216793","filename":"file2"},{"photo_id":"1401216797","filename":"file4"},{"photo_id":"1401216791","filename":"file1"},{"photo_id":"1401216790","filename":"file0"},{"photo_id":"1401216795","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216795":["hashtag1","hashtag2"]},{"1401216798":["hashtag1","hashtag2"]},{"1401216791":["hashtag1","hashtag2"]},{"1401216797":["hashtag1","hashtag2"]},{"1401216790":["hashtag1","hashtag2"]},{"1401216793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216795, 1401216798, 1401216791, 1401216797, 1401216790, 1401216793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64525032043457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:35:17.319346
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/04/35/image_27122025_04_35_25_10516.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/04/35/image_27122025_04_35_25_10516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/04/35/image_27122025_04_35_25_10516.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401216803"],"photo_id":"1401216803","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af65970930db454faf5de851081e9916.jpg","text":"TemporaryFile(/tmp/multipartBody8563506558587424813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806577565,"filename":"image_27122025_04_35_25_10516.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401216803"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401216803"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.064221143722534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:35:32.331769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_44_9596.jpg', 2), ('/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_35_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_24_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_14_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/23/image_09122025_08_24_05_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_44_9596.jpg', '/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_35_10613.jpg', '/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_24_9601.jpg', '/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_14_9616.jpg', '/home/nano/Desktop/images/09122025/08/23/image_09122025_08_24_05_10618.jpg', '/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_44_9596.jpg
/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_35_10613.jpg
/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_24_9601.jpg
/home/nano/Desktop/images/09122025/08/24/image_09122025_08_24_14_9616.jpg
/home/nano/Desktop/images/09122025/08/23/image_09122025_08_24_05_10618.jpg
/home/nano/Desktop/images/09122025/08/23/image_09122025_08_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":["1401216816","1401216810","1401216812","1401216815","1401216809","1401216817"],"photo_ids_order":["1401216809","1401216810","1401216812","1401216815","1401216816","1401216817"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4bfb04e6e88780f632147571538bf02.jpg","text":"TemporaryFile(/tmp/multipartBody1200752820186403567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806593150,"filename":"image_09122025_08_24_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f99bf82367f16a601b0d79d56a400dd.jpg","text":"TemporaryFile(/tmp/multipartBody5589263917683007740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806593150,"filename":"image_09122025_08_24_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/236548ac2170b0109d33a88894ae3491.jpg","text":"TemporaryFile(/tmp/multipartBody6615706770099025964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806593150,"filename":"image_09122025_08_24_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/12/27/2e9d962e91c33dfd2bc7536cb8fae897.jpg","text":"TemporaryFile(/tmp/multipartBody1056469093960403789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806593150,"filename":"image_09122025_08_24_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/12/27/0fcb03b5468de42ec4752fce6f9c3c09.jpg","text":"TemporaryFile(/tmp/multipartBody8484544904430949422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806593150,"filename":"image_09122025_08_24_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/12/27/f7c67813e81493e7f64b5e27ea5bf71f.jpg","text":"TemporaryFile(/tmp/multipartBody1730151927007000597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806593150,"filename":"image_09122025_08_23_54_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216812","file1":"1401216810","file0":"1401216809","file4":"1401216816","file5":"1401216817","file3":"1401216815"},"map_files_photo_id_array":[{"photo_id":"1401216817","filename":"file5"},{"photo_id":"1401216812","filename":"file2"},{"photo_id":"1401216816","filename":"file4"},{"photo_id":"1401216810","filename":"file1"},{"photo_id":"1401216809","filename":"file0"},{"photo_id":"1401216815","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216816":["hashtag1","hashtag2"]},{"1401216810":["hashtag1","hashtag2"]},{"1401216812":["hashtag1","hashtag2"]},{"1401216815":["hashtag1","hashtag2"]},{"1401216809":["hashtag1","hashtag2"]},{"1401216817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216816, 1401216810, 1401216812, 1401216815, 1401216809, 1401216817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.626564741134644 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:36:17.378100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_45_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_35_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_24_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_15_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/08/22/image_09122025_08_23_04_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_55_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_45_9603.jpg', '/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_35_10615.jpg', '/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_24_9598.jpg', '/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_15_10627.jpg', '/home/nano/Desktop/images/09122025/08/22/image_09122025_08_23_04_9615.jpg', '/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_55_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_45_9603.jpg
/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_35_10615.jpg
/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_24_9598.jpg
/home/nano/Desktop/images/09122025/08/23/image_09122025_08_23_15_10627.jpg
/home/nano/Desktop/images/09122025/08/22/image_09122025_08_23_04_9615.jpg
/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_55_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":["1401216826","1401216828","1401216822","1401216830","1401216824","1401216823"],"photo_ids_order":["1401216822","1401216823","1401216824","1401216826","1401216828","1401216830"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3507ff25fb60e597484e7f8b74ed24c.jpg","text":"TemporaryFile(/tmp/multipartBody5179131438548670825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806638190,"filename":"image_09122025_08_23_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b37080dbf468ac2f20ea4f2f9434d75a.jpg","text":"TemporaryFile(/tmp/multipartBody2577047048983335875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806638190,"filename":"image_09122025_08_23_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/12/27/be7c5410f3e4e9e902d0e9189c00ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody3291440719857273174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806638190,"filename":"image_09122025_08_23_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a5b2cc246572f727eacb1d4b9a98af2.jpg","text":"TemporaryFile(/tmp/multipartBody6624779059765255604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806638190,"filename":"image_09122025_08_22_55_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff2682b3fc54ea5880d59b4d34d4434b.jpg","text":"TemporaryFile(/tmp/multipartBody17654716420005102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806638190,"filename":"image_09122025_08_23_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/12/27/a568c6ed5e03325819b1fda059bb4268.jpg","text":"TemporaryFile(/tmp/multipartBody295901982647079320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806638190,"filename":"image_09122025_08_23_35_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216824","file1":"1401216823","file0":"1401216822","file4":"1401216828","file5":"1401216830","file3":"1401216826"},"map_files_photo_id_array":[{"photo_id":"1401216830","filename":"file5"},{"photo_id":"1401216824","filename":"file2"},{"photo_id":"1401216828","filename":"file4"},{"photo_id":"1401216823","filename":"file1"},{"photo_id":"1401216822","filename":"file0"},{"photo_id":"1401216826","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216826":["hashtag1","hashtag2"]},{"1401216828":["hashtag1","hashtag2"]},{"1401216822":["hashtag1","hashtag2"]},{"1401216830":["hashtag1","hashtag2"]},{"1401216824":["hashtag1","hashtag2"]},{"1401216823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216826, 1401216828, 1401216822, 1401216830, 1401216824, 1401216823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.602818965911865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:37:02.914219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_45_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_34_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_25_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_14_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/08/21/image_09122025_08_22_05_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_45_10611.jpg', '/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_34_9606.jpg', '/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_25_10610.jpg', '/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_14_9624.jpg', '/home/nano/Desktop/images/09122025/08/21/image_09122025_08_22_05_9622.jpg', '/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_45_10611.jpg
/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_34_9606.jpg
/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_25_10610.jpg
/home/nano/Desktop/images/09122025/08/22/image_09122025_08_22_14_9624.jpg
/home/nano/Desktop/images/09122025/08/21/image_09122025_08_22_05_9622.jpg
/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_55_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":["1401216843","1401216845","1401216850","1401216847","1401216841","1401216838"],"photo_ids_order":["1401216838","1401216841","1401216843","1401216845","1401216847","1401216850"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e637f8293e94cf298d38f212a485430.jpg","text":"TemporaryFile(/tmp/multipartBody1971514973704382433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806683769,"filename":"image_09122025_08_22_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d80127e858cca37d4053cc4ddcda61aa.jpg","text":"TemporaryFile(/tmp/multipartBody2359052691290903082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806683769,"filename":"image_09122025_08_22_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/12/27/eacc7a8e0a43692aa970f0462a280415.jpg","text":"TemporaryFile(/tmp/multipartBody6912719240616881358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806683769,"filename":"image_09122025_08_21_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1116dde7c1e5be5f5dceccf794e2ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5430151498297308688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806683769,"filename":"image_09122025_08_22_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55cc75cc9dcaff60c1159e072fadfc21.jpg","text":"TemporaryFile(/tmp/multipartBody8250978772393135210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806683769,"filename":"image_09122025_08_22_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/12/27/0ad63d3d3dd5fa8c4592347cff0f0fd1.jpg","text":"TemporaryFile(/tmp/multipartBody585479309571164255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806683769,"filename":"image_09122025_08_22_45_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216843","file1":"1401216841","file0":"1401216838","file4":"1401216847","file5":"1401216850","file3":"1401216845"},"map_files_photo_id_array":[{"photo_id":"1401216850","filename":"file5"},{"photo_id":"1401216843","filename":"file2"},{"photo_id":"1401216847","filename":"file4"},{"photo_id":"1401216841","filename":"file1"},{"photo_id":"1401216838","filename":"file0"},{"photo_id":"1401216845","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216843":["hashtag1","hashtag2"]},{"1401216845":["hashtag1","hashtag2"]},{"1401216850":["hashtag1","hashtag2"]},{"1401216847":["hashtag1","hashtag2"]},{"1401216841":["hashtag1","hashtag2"]},{"1401216838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216843, 1401216845, 1401216850, 1401216847, 1401216841, 1401216838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57886815071106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:37:47.470803
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_44_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_35_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_25_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_14_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/20/image_09122025_08_21_05_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_44_9609.jpg', '/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_35_9604.jpg', '/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_25_10617.jpg', '/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_14_9616.jpg', '/home/nano/Desktop/images/09122025/08/20/image_09122025_08_21_05_10616.jpg', '/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_44_9609.jpg
/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_35_9604.jpg
/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_25_10617.jpg
/home/nano/Desktop/images/09122025/08/21/image_09122025_08_21_14_9616.jpg
/home/nano/Desktop/images/09122025/08/20/image_09122025_08_21_05_10616.jpg
/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_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":["1401216861","1401216864","1401216858","1401216857","1401216859","1401216856"],"photo_ids_order":["1401216856","1401216857","1401216858","1401216859","1401216861","1401216864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53ee37cda75e5ad5e6efbd48c98483c4.jpg","text":"TemporaryFile(/tmp/multipartBody4421020428634029837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806728277,"filename":"image_09122025_08_21_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd5cd52988eb81f6438b6fb86de9f075.jpg","text":"TemporaryFile(/tmp/multipartBody8270758264049196369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806728277,"filename":"image_09122025_08_20_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/12/27/f0739ba4a4e758009b22e8e7b5d0d37f.jpg","text":"TemporaryFile(/tmp/multipartBody5538019045587762642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806728277,"filename":"image_09122025_08_21_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0329e866f19ebb243b9f5cda01df541.jpg","text":"TemporaryFile(/tmp/multipartBody2810314346097965855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806728277,"filename":"image_09122025_08_21_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/903888ebcbadfc3db1758ff5f4253b96.jpg","text":"TemporaryFile(/tmp/multipartBody4675491890038996526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806728277,"filename":"image_09122025_08_21_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/12/27/6734d9ba896f38249ee187bef34a7b8a.jpg","text":"TemporaryFile(/tmp/multipartBody4514788440422324065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806728277,"filename":"image_09122025_08_21_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216858","file1":"1401216857","file0":"1401216856","file4":"1401216861","file5":"1401216864","file3":"1401216859"},"map_files_photo_id_array":[{"photo_id":"1401216864","filename":"file5"},{"photo_id":"1401216858","filename":"file2"},{"photo_id":"1401216861","filename":"file4"},{"photo_id":"1401216857","filename":"file1"},{"photo_id":"1401216856","filename":"file0"},{"photo_id":"1401216859","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216861":["hashtag1","hashtag2"]},{"1401216864":["hashtag1","hashtag2"]},{"1401216858":["hashtag1","hashtag2"]},{"1401216857":["hashtag1","hashtag2"]},{"1401216859":["hashtag1","hashtag2"]},{"1401216856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216861, 1401216864, 1401216858, 1401216857, 1401216859, 1401216856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17268705368042 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:38:32.598220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_45_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_35_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_24_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_15_10667.jpg', 2), ('/home/nano/Desktop/images/09122025/08/19/image_09122025_08_20_04_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_45_9606.jpg', '/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_35_10627.jpg', '/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_24_9609.jpg', '/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_15_10667.jpg', '/home/nano/Desktop/images/09122025/08/19/image_09122025_08_20_04_9619.jpg', '/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_45_9606.jpg
/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_35_10627.jpg
/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_24_9609.jpg
/home/nano/Desktop/images/09122025/08/20/image_09122025_08_20_15_10667.jpg
/home/nano/Desktop/images/09122025/08/19/image_09122025_08_20_04_9619.jpg
/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_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":["1401216876","1401216870","1401216872","1401216875","1401216877","1401216874"],"photo_ids_order":["1401216870","1401216872","1401216874","1401216875","1401216876","1401216877"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a20ab6bf0cc9faa311ba9cb0b6f4ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1869708369084394932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806773427,"filename":"image_09122025_08_20_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/12/27/54519afac3cd2e0d69f7ca07535bbca1.jpg","text":"TemporaryFile(/tmp/multipartBody7078113535071451269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806773427,"filename":"image_09122025_08_20_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52e10b08984bae7a0dd05709325fbde3.jpg","text":"TemporaryFile(/tmp/multipartBody642964133635739185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806773427,"filename":"image_09122025_08_20_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30b0d5c3bd7eb5ff94608f03f4d6cf40.jpg","text":"TemporaryFile(/tmp/multipartBody3489335094446936105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806773427,"filename":"image_09122025_08_20_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efecbd7effbc03b052a1967fd0dbf60e.jpg","text":"TemporaryFile(/tmp/multipartBody5230118142365012133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806773427,"filename":"image_09122025_08_19_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/12/27/0c1eb93a75e40cb8aeaa4f1f6b69a4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7058671507163296984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806773427,"filename":"image_09122025_08_20_24_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216874","file1":"1401216872","file0":"1401216870","file4":"1401216876","file5":"1401216877","file3":"1401216875"},"map_files_photo_id_array":[{"photo_id":"1401216877","filename":"file5"},{"photo_id":"1401216874","filename":"file2"},{"photo_id":"1401216876","filename":"file4"},{"photo_id":"1401216872","filename":"file1"},{"photo_id":"1401216870","filename":"file0"},{"photo_id":"1401216875","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216876":["hashtag1","hashtag2"]},{"1401216870":["hashtag1","hashtag2"]},{"1401216872":["hashtag1","hashtag2"]},{"1401216875":["hashtag1","hashtag2"]},{"1401216877":["hashtag1","hashtag2"]},{"1401216874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216876, 1401216870, 1401216872, 1401216875, 1401216877, 1401216874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36821436882019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:39:17.670581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_34_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_25_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_15_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/08/18/image_09122025_08_19_04_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_45_10617.jpg', '/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_34_9607.jpg', '/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_25_9603.jpg', '/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_15_10637.jpg', '/home/nano/Desktop/images/09122025/08/18/image_09122025_08_19_04_9605.jpg', '/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_45_10617.jpg
/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_34_9607.jpg
/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_25_9603.jpg
/home/nano/Desktop/images/09122025/08/19/image_09122025_08_19_15_10637.jpg
/home/nano/Desktop/images/09122025/08/18/image_09122025_08_19_04_9605.jpg
/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_55_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":["1401216879","1401216889","1401216883","1401216892","1401216886","1401216880"],"photo_ids_order":["1401216879","1401216880","1401216883","1401216886","1401216889","1401216892"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83713b24ba9c364580f9f8327b373f62.jpg","text":"TemporaryFile(/tmp/multipartBody1994832036703273533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806818481,"filename":"image_09122025_08_19_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e4a0b87ee881a9ee95cf9ace7ba3b84.jpg","text":"TemporaryFile(/tmp/multipartBody2216183384483245504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806818481,"filename":"image_09122025_08_19_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/12/27/e65a950fcb5747a9e31e5f8ebcaf2f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6932686976143242919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806818481,"filename":"image_09122025_08_19_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69fd8de8e7d0a124eff9e4684641bb89.jpg","text":"TemporaryFile(/tmp/multipartBody7879806672071289627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806818481,"filename":"image_09122025_08_18_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a009e00e403ff2de355245e5fcdb392f.jpg","text":"TemporaryFile(/tmp/multipartBody2167778382746079637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806818481,"filename":"image_09122025_08_19_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4803fb0b68211c506040d2225d79a6c.jpg","text":"TemporaryFile(/tmp/multipartBody1849682088956185305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806818481,"filename":"image_09122025_08_19_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216883","file1":"1401216880","file0":"1401216879","file4":"1401216889","file5":"1401216892","file3":"1401216886"},"map_files_photo_id_array":[{"photo_id":"1401216892","filename":"file5"},{"photo_id":"1401216883","filename":"file2"},{"photo_id":"1401216889","filename":"file4"},{"photo_id":"1401216880","filename":"file1"},{"photo_id":"1401216879","filename":"file0"},{"photo_id":"1401216886","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216879":["hashtag1","hashtag2"]},{"1401216889":["hashtag1","hashtag2"]},{"1401216883":["hashtag1","hashtag2"]},{"1401216892":["hashtag1","hashtag2"]},{"1401216886":["hashtag1","hashtag2"]},{"1401216880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216879, 1401216889, 1401216883, 1401216892, 1401216886, 1401216880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2742862701416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:40:02.125057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_44_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_35_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_25_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_14_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/17/image_09122025_08_18_05_10638.jpg', 2), ('/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_44_9611.jpg', '/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_35_9604.jpg', '/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_25_10613.jpg', '/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_14_9612.jpg', '/home/nano/Desktop/images/09122025/08/17/image_09122025_08_18_05_10638.jpg', '/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_44_9611.jpg
/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_35_9604.jpg
/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_25_10613.jpg
/home/nano/Desktop/images/09122025/08/18/image_09122025_08_18_14_9612.jpg
/home/nano/Desktop/images/09122025/08/17/image_09122025_08_18_05_10638.jpg
/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_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":["1401216904","1401216900","1401216899","1401216903","1401216902","1401216901"],"photo_ids_order":["1401216899","1401216900","1401216901","1401216902","1401216903","1401216904"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e24b8962f4c2455e261aafbd03b27e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3911154926774014008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806862994,"filename":"image_09122025_08_17_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/12/27/4db0ebdc60cd49e27de3f9d0646f8685.jpg","text":"TemporaryFile(/tmp/multipartBody7021634720852446895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806862994,"filename":"image_09122025_08_18_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/daf3714d4aaa496ab15420b575791e97.jpg","text":"TemporaryFile(/tmp/multipartBody5133213202593959108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806862994,"filename":"image_09122025_08_18_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/12/27/8e6057557832ea36c3ed7f307fb750c4.jpg","text":"TemporaryFile(/tmp/multipartBody8293275013758059193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806862994,"filename":"image_09122025_08_18_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5ab4b3765c71d699ea33063f5681251.jpg","text":"TemporaryFile(/tmp/multipartBody2430542492867526157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806862994,"filename":"image_09122025_08_18_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/12/27/c7781f28363a7079e1b59232ca700eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7304816652576209579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806862994,"filename":"image_09122025_08_18_25_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216901","file1":"1401216900","file0":"1401216899","file4":"1401216903","file5":"1401216904","file3":"1401216902"},"map_files_photo_id_array":[{"photo_id":"1401216904","filename":"file5"},{"photo_id":"1401216901","filename":"file2"},{"photo_id":"1401216903","filename":"file4"},{"photo_id":"1401216900","filename":"file1"},{"photo_id":"1401216899","filename":"file0"},{"photo_id":"1401216902","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216904":["hashtag1","hashtag2"]},{"1401216900":["hashtag1","hashtag2"]},{"1401216899":["hashtag1","hashtag2"]},{"1401216903":["hashtag1","hashtag2"]},{"1401216902":["hashtag1","hashtag2"]},{"1401216901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216904, 1401216900, 1401216899, 1401216903, 1401216902, 1401216901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62199592590332 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:40:46.783992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_44_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_35_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_24_9599.jpg', 2), ('/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_15_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/16/image_09122025_08_17_05_10628.jpg', 2), ('/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_44_9597.jpg', '/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_35_10613.jpg', '/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_24_9599.jpg', '/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_15_9625.jpg', '/home/nano/Desktop/images/09122025/08/16/image_09122025_08_17_05_10628.jpg', '/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_44_9597.jpg
/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_35_10613.jpg
/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_24_9599.jpg
/home/nano/Desktop/images/09122025/08/17/image_09122025_08_17_15_9625.jpg
/home/nano/Desktop/images/09122025/08/16/image_09122025_08_17_05_10628.jpg
/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_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":["1401216919","1401216918","1401216921","1401216920","1401216917","1401216916"],"photo_ids_order":["1401216916","1401216917","1401216918","1401216919","1401216920","1401216921"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36f130620668e50742416d490d8b977b.jpg","text":"TemporaryFile(/tmp/multipartBody8579049140336141909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806907601,"filename":"image_09122025_08_17_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/699bb3f2de3d5ee97fb06d8f39b0a1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5969195320074775902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806907601,"filename":"image_09122025_08_17_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/12/27/fbe7da429b3c785f76a3f00314eaaa00.jpg","text":"TemporaryFile(/tmp/multipartBody8154585531851863110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806907601,"filename":"image_09122025_08_16_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/12/27/badfb98c9904046a9c9f1727d92e31aa.jpg","text":"TemporaryFile(/tmp/multipartBody5907707130737488946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806907601,"filename":"image_09122025_08_17_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54095c412478f01ba3466991cc6ab6bd.jpg","text":"TemporaryFile(/tmp/multipartBody2393581777691605635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806907601,"filename":"image_09122025_08_17_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0f178b01c66fbef363e1e778b735873.jpg","text":"TemporaryFile(/tmp/multipartBody3139979111318138357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806907601,"filename":"image_09122025_08_17_44_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216918","file1":"1401216917","file0":"1401216916","file4":"1401216920","file5":"1401216921","file3":"1401216919"},"map_files_photo_id_array":[{"photo_id":"1401216921","filename":"file5"},{"photo_id":"1401216918","filename":"file2"},{"photo_id":"1401216920","filename":"file4"},{"photo_id":"1401216917","filename":"file1"},{"photo_id":"1401216916","filename":"file0"},{"photo_id":"1401216919","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216919":["hashtag1","hashtag2"]},{"1401216918":["hashtag1","hashtag2"]},{"1401216921":["hashtag1","hashtag2"]},{"1401216920":["hashtag1","hashtag2"]},{"1401216917":["hashtag1","hashtag2"]},{"1401216916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216919, 1401216918, 1401216921, 1401216920, 1401216917, 1401216916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11993718147278 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:41:31.955691
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_45_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_34_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_25_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_15_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_16_04_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_55_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_45_10611.jpg', '/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_34_9601.jpg', '/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_25_9613.jpg', '/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_15_10631.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_16_04_9610.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_55_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_45_10611.jpg
/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_34_9601.jpg
/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_25_9613.jpg
/home/nano/Desktop/images/09122025/08/16/image_09122025_08_16_15_10631.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_16_04_9610.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_55_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":["1401216939","1401216932","1401216931","1401216940","1401216928","1401216937"],"photo_ids_order":["1401216928","1401216931","1401216932","1401216937","1401216939","1401216940"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1935260fefd6c09f3c7815af01c539d6.jpg","text":"TemporaryFile(/tmp/multipartBody2527338451551127183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806952838,"filename":"image_09122025_08_16_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/12/27/9c39cdce66b62faecd8a251ee97515ed.jpg","text":"TemporaryFile(/tmp/multipartBody7892254334068590979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806952838,"filename":"image_09122025_08_16_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05c6c46df684b4d65b797875c629d79b.jpg","text":"TemporaryFile(/tmp/multipartBody1553453582759092853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806952838,"filename":"image_09122025_08_16_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/12/27/b06e58712db4ae118d53c53fffdf2b51.jpg","text":"TemporaryFile(/tmp/multipartBody8747165253929590840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806952838,"filename":"image_09122025_08_15_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26f04287b24eb7816bc0bb7e4eefcca2.jpg","text":"TemporaryFile(/tmp/multipartBody4481195420382733689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806952838,"filename":"image_09122025_08_16_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f4f13d9b30d3d396f47cd024faeaaa6.jpg","text":"TemporaryFile(/tmp/multipartBody7015065705730432095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766806952838,"filename":"image_09122025_08_16_15_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216932","file1":"1401216931","file0":"1401216928","file4":"1401216939","file5":"1401216940","file3":"1401216937"},"map_files_photo_id_array":[{"photo_id":"1401216940","filename":"file5"},{"photo_id":"1401216932","filename":"file2"},{"photo_id":"1401216939","filename":"file4"},{"photo_id":"1401216931","filename":"file1"},{"photo_id":"1401216928","filename":"file0"},{"photo_id":"1401216937","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216939":["hashtag1","hashtag2"]},{"1401216932":["hashtag1","hashtag2"]},{"1401216931":["hashtag1","hashtag2"]},{"1401216940":["hashtag1","hashtag2"]},{"1401216928":["hashtag1","hashtag2"]},{"1401216937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216939, 1401216932, 1401216931, 1401216940, 1401216928, 1401216937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4688503742218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:42:16.946470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_44_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_35_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_25_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_14_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_15_05_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_44_9604.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_35_9609.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_25_10609.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_14_9645.jpg', '/home/nano/Desktop/images/09122025/08/14/image_09122025_08_15_05_9630.jpg', '/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_44_9604.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_35_9609.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_25_10609.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_14_9645.jpg
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_15_05_9630.jpg
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_55_10616.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6946010589599609 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:42:31.956921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_44_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_35_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_25_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_14_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_15_05_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_44_9604.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_35_9609.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_25_10609.jpg', '/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_14_9645.jpg', '/home/nano/Desktop/images/09122025/08/14/image_09122025_08_15_05_9630.jpg', '/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_44_9604.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_35_9609.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_25_10609.jpg
/home/nano/Desktop/images/09122025/08/15/image_09122025_08_15_14_9645.jpg
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_15_05_9630.jpg
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_55_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":["1401216954","1401216963","1401216957","1401216951","1401216962","1401216959"],"photo_ids_order":["1401216951","1401216954","1401216957","1401216959","1401216962","1401216963"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8802fc5497dcf9f7ebf408518d14c037.jpg","text":"TemporaryFile(/tmp/multipartBody307918178546522054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807012740,"filename":"image_09122025_08_15_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e4909517ea2d3d638e19df21df722f5.jpg","text":"TemporaryFile(/tmp/multipartBody6429160522483839377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807012740,"filename":"image_09122025_08_14_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c92252cbdab0f62daaaf4b4f7a0dbc2.jpg","text":"TemporaryFile(/tmp/multipartBody3553693494093064113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807012740,"filename":"image_09122025_08_15_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4a9df98e109dcc226a3b4069543ebce.jpg","text":"TemporaryFile(/tmp/multipartBody8043290841458553662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807012740,"filename":"image_09122025_08_15_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/12/27/d6a3ec2f605cdbd1fda567a02a5faa5b.jpg","text":"TemporaryFile(/tmp/multipartBody4013268873155850405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807012740,"filename":"image_09122025_08_15_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/405734b8931da3f05f1879f3dd13274e.jpg","text":"TemporaryFile(/tmp/multipartBody1619058093336263428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807012740,"filename":"image_09122025_08_15_14_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216957","file1":"1401216954","file0":"1401216951","file4":"1401216962","file5":"1401216963","file3":"1401216959"},"map_files_photo_id_array":[{"photo_id":"1401216963","filename":"file5"},{"photo_id":"1401216957","filename":"file2"},{"photo_id":"1401216962","filename":"file4"},{"photo_id":"1401216954","filename":"file1"},{"photo_id":"1401216951","filename":"file0"},{"photo_id":"1401216959","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216954":["hashtag1","hashtag2"]},{"1401216963":["hashtag1","hashtag2"]},{"1401216957":["hashtag1","hashtag2"]},{"1401216951":["hashtag1","hashtag2"]},{"1401216962":["hashtag1","hashtag2"]},{"1401216959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216954, 1401216963, 1401216957, 1401216951, 1401216962, 1401216959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.122411012649536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:43:17.037372
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_44_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_35_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_24_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_15_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/13/image_09122025_08_14_05_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_44_9628.jpg', '/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_35_10610.jpg', '/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_24_9604.jpg', '/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_15_9623.jpg', '/home/nano/Desktop/images/09122025/08/13/image_09122025_08_14_05_10631.jpg', '/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_44_9628.jpg
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_35_10610.jpg
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_24_9604.jpg
/home/nano/Desktop/images/09122025/08/14/image_09122025_08_14_15_9623.jpg
/home/nano/Desktop/images/09122025/08/13/image_09122025_08_14_05_10631.jpg
/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_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":["1401216971","1401216965","1401216974","1401216968","1401216977","1401216964"],"photo_ids_order":["1401216964","1401216965","1401216968","1401216971","1401216974","1401216977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/408ac425a010aa2aa840483a01dd4bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4615764490256823104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807057840,"filename":"image_09122025_08_14_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e908390400a326f165722e1f0f0867b7.jpg","text":"TemporaryFile(/tmp/multipartBody4884787399186063013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807057840,"filename":"image_09122025_08_14_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e41a1a13e21ee0f9e8c978d43dcb247e.jpg","text":"TemporaryFile(/tmp/multipartBody7111401295675847796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807057840,"filename":"image_09122025_08_14_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/058e84a06ec9e5ea43292961fc98e8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4921031976434236524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807057840,"filename":"image_09122025_08_14_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/12/27/506d46c49bc9124059c5acbc7ed16cd6.jpg","text":"TemporaryFile(/tmp/multipartBody402313090514824292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807057840,"filename":"image_09122025_08_13_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/12/27/5c84d39c0f55c0d9d571a30972b90194.jpg","text":"TemporaryFile(/tmp/multipartBody4989068104208393026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807057840,"filename":"image_09122025_08_14_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216968","file1":"1401216965","file0":"1401216964","file4":"1401216974","file5":"1401216977","file3":"1401216971"},"map_files_photo_id_array":[{"photo_id":"1401216977","filename":"file5"},{"photo_id":"1401216968","filename":"file2"},{"photo_id":"1401216974","filename":"file4"},{"photo_id":"1401216965","filename":"file1"},{"photo_id":"1401216964","filename":"file0"},{"photo_id":"1401216971","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216971":["hashtag1","hashtag2"]},{"1401216965":["hashtag1","hashtag2"]},{"1401216974":["hashtag1","hashtag2"]},{"1401216968":["hashtag1","hashtag2"]},{"1401216977":["hashtag1","hashtag2"]},{"1401216964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216971, 1401216965, 1401216974, 1401216968, 1401216977, 1401216964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00759243965149 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:44:02.798063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_45_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_34_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_24_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_15_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/08/12/image_09122025_08_13_04_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_55_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_45_10612.jpg', '/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_34_9602.jpg', '/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_24_9605.jpg', '/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_15_10633.jpg', '/home/nano/Desktop/images/09122025/08/12/image_09122025_08_13_04_9616.jpg', '/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_55_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_45_10612.jpg
/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_34_9602.jpg
/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_24_9605.jpg
/home/nano/Desktop/images/09122025/08/13/image_09122025_08_13_15_10633.jpg
/home/nano/Desktop/images/09122025/08/12/image_09122025_08_13_04_9616.jpg
/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_55_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":["1401216983","1401216992","1401216994","1401216988","1401216985","1401216990"],"photo_ids_order":["1401216983","1401216985","1401216988","1401216990","1401216992","1401216994"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed7a4f93adb00028cf9d952f8f2a648b.jpg","text":"TemporaryFile(/tmp/multipartBody5529103239613012714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807103664,"filename":"image_09122025_08_13_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad28119767226b4e78a0498422e732de.jpg","text":"TemporaryFile(/tmp/multipartBody8936897582346855639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807103664,"filename":"image_09122025_08_13_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/12/27/5b9e9ddd5f59a6a60948509cab394b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3603678234363435334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807103664,"filename":"image_09122025_08_12_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1bae29d2c8aafa270c1bb8beb6660a0.jpg","text":"TemporaryFile(/tmp/multipartBody7527390151437118967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807103664,"filename":"image_09122025_08_13_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/12/27/11c04718912ec67ead21f404c76c3071.jpg","text":"TemporaryFile(/tmp/multipartBody3593197381073646688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807103664,"filename":"image_09122025_08_13_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/12/27/65c612d35e765977b6343019124228b1.jpg","text":"TemporaryFile(/tmp/multipartBody5243585336606203153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807103664,"filename":"image_09122025_08_13_15_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401216988","file1":"1401216985","file0":"1401216983","file4":"1401216992","file5":"1401216994","file3":"1401216990"},"map_files_photo_id_array":[{"photo_id":"1401216994","filename":"file5"},{"photo_id":"1401216988","filename":"file2"},{"photo_id":"1401216992","filename":"file4"},{"photo_id":"1401216985","filename":"file1"},{"photo_id":"1401216983","filename":"file0"},{"photo_id":"1401216990","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401216983":["hashtag1","hashtag2"]},{"1401216992":["hashtag1","hashtag2"]},{"1401216994":["hashtag1","hashtag2"]},{"1401216988":["hashtag1","hashtag2"]},{"1401216985":["hashtag1","hashtag2"]},{"1401216990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401216983, 1401216992, 1401216994, 1401216988, 1401216985, 1401216990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.545267820358276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:44:47.146205
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/04/44/image_27122025_04_44_34_9505.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/04/44/image_27122025_04_44_34_9505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/04/44/image_27122025_04_44_34_9505.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401217002"],"photo_id":"1401217002","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28d36fb92663d13f52d19755edc8453d.jpg","text":"TemporaryFile(/tmp/multipartBody7266166983290737591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807147393,"filename":"image_27122025_04_44_34_9505.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401217002"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401217002"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.530989646911621 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:45:02.597403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_45_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_34_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_25_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_14_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_12_05_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_55_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_45_10630.jpg', '/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_34_9602.jpg', '/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_25_10616.jpg', '/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_14_9618.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_12_05_9617.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_45_10630.jpg
/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_34_9602.jpg
/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_25_10616.jpg
/home/nano/Desktop/images/09122025/08/12/image_09122025_08_12_14_9618.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_12_05_9617.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_55_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":["1401217011","1401217008","1401217010","1401217012","1401217003","1401217006"],"photo_ids_order":["1401217003","1401217006","1401217008","1401217010","1401217011","1401217012"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b19cf0d9dfed23b7f6774e1774b18a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1290999631641781419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807163452,"filename":"image_09122025_08_12_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67136b045f06f0fe271e854fc895931f.jpg","text":"TemporaryFile(/tmp/multipartBody8924209697704099027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807163452,"filename":"image_09122025_08_12_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbebf5343db3dbad885026caf34ffdf1.jpg","text":"TemporaryFile(/tmp/multipartBody1366293705618267760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807163452,"filename":"image_09122025_08_12_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/12/27/7eacb4d9235e0db5bd8aaee4082e76db.jpg","text":"TemporaryFile(/tmp/multipartBody7545378793934843574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807163452,"filename":"image_09122025_08_11_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cf9611be195f40a4d5f3572393a17af.jpg","text":"TemporaryFile(/tmp/multipartBody1919305016125146333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807163452,"filename":"image_09122025_08_12_45_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/935a53f50ce65487b16eb5d8571e6b69.jpg","text":"TemporaryFile(/tmp/multipartBody4893497553972435768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807163452,"filename":"image_09122025_08_12_34_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217008","file1":"1401217006","file0":"1401217003","file4":"1401217011","file5":"1401217012","file3":"1401217010"},"map_files_photo_id_array":[{"photo_id":"1401217012","filename":"file5"},{"photo_id":"1401217008","filename":"file2"},{"photo_id":"1401217011","filename":"file4"},{"photo_id":"1401217006","filename":"file1"},{"photo_id":"1401217003","filename":"file0"},{"photo_id":"1401217010","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217011":["hashtag1","hashtag2"]},{"1401217008":["hashtag1","hashtag2"]},{"1401217010":["hashtag1","hashtag2"]},{"1401217012":["hashtag1","hashtag2"]},{"1401217003":["hashtag1","hashtag2"]},{"1401217006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217011, 1401217008, 1401217010, 1401217012, 1401217003, 1401217006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01612663269043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:45:47.258667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_44_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_35_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_25_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_14_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_11_05_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_44_9619.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_35_9605.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_25_10614.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_14_9609.jpg', '/home/nano/Desktop/images/09122025/08/10/image_09122025_08_11_05_10618.jpg', '/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_44_9619.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_35_9605.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_25_10614.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_14_9609.jpg
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_11_05_10618.jpg
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_54_9603.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6906421184539795 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:46:02.637658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_44_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_35_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_25_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_14_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_11_05_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_44_9619.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_35_9605.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_25_10614.jpg', '/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_14_9609.jpg', '/home/nano/Desktop/images/09122025/08/10/image_09122025_08_11_05_10618.jpg', '/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_44_9619.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_35_9605.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_25_10614.jpg
/home/nano/Desktop/images/09122025/08/11/image_09122025_08_11_14_9609.jpg
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_11_05_10618.jpg
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_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":["1401217035","1401217032","1401217026","1401217028","1401217030","1401217024"],"photo_ids_order":["1401217024","1401217026","1401217028","1401217030","1401217032","1401217035"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acae29ef9bb28e0909e2edefeb073e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2445183597573210143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807223444,"filename":"image_09122025_08_10_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/12/27/0bf7cd1ce297071e1dc98773bb220372.jpg","text":"TemporaryFile(/tmp/multipartBody2931523799558312660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807223444,"filename":"image_09122025_08_11_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/899008afe3ac22e3ed68b81ebbbf970d.jpg","text":"TemporaryFile(/tmp/multipartBody4435746767880090656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807223444,"filename":"image_09122025_08_11_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9557384364c5489a8f6bce379b703eb8.jpg","text":"TemporaryFile(/tmp/multipartBody86970907256713190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807223444,"filename":"image_09122025_08_11_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e672c385d0fa8bc42a24961ba2cd2cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1200989719587269361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807223444,"filename":"image_09122025_08_11_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/12/27/543a0e6a324ff96edbd07f81af310af2.jpg","text":"TemporaryFile(/tmp/multipartBody557498013298392004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807223444,"filename":"image_09122025_08_11_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217028","file1":"1401217026","file0":"1401217024","file4":"1401217032","file5":"1401217035","file3":"1401217030"},"map_files_photo_id_array":[{"photo_id":"1401217035","filename":"file5"},{"photo_id":"1401217028","filename":"file2"},{"photo_id":"1401217032","filename":"file4"},{"photo_id":"1401217026","filename":"file1"},{"photo_id":"1401217024","filename":"file0"},{"photo_id":"1401217030","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217035":["hashtag1","hashtag2"]},{"1401217032":["hashtag1","hashtag2"]},{"1401217026":["hashtag1","hashtag2"]},{"1401217028":["hashtag1","hashtag2"]},{"1401217030":["hashtag1","hashtag2"]},{"1401217024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217035, 1401217032, 1401217026, 1401217028, 1401217030, 1401217024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.789954662323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:46:47.348436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_45_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_35_10613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_24_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_15_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/09/image_09122025_08_10_04_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_55_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_45_9603.jpg', '/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_35_10613.jpg', '/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_24_9598.jpg', '/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_15_10625.jpg', '/home/nano/Desktop/images/09122025/08/09/image_09122025_08_10_04_9630.jpg', '/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_55_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_45_9603.jpg
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_35_10613.jpg
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_24_9598.jpg
/home/nano/Desktop/images/09122025/08/10/image_09122025_08_10_15_10625.jpg
/home/nano/Desktop/images/09122025/08/09/image_09122025_08_10_04_9630.jpg
/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_55_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":["1401217041","1401217044","1401217046","1401217040","1401217039","1401217042"],"photo_ids_order":["1401217039","1401217040","1401217041","1401217042","1401217044","1401217046"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7f62f378c75c3e3c24821b2ae280dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7121791350357931498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807268181,"filename":"image_09122025_08_10_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/12/27/1ee876f4c2b10dea5b0b509706495c31.jpg","text":"TemporaryFile(/tmp/multipartBody6657273819310461386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807268181,"filename":"image_09122025_08_10_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/12/27/c632b96e4b1dd131c1f187d8f0e1dc7a.jpg","text":"TemporaryFile(/tmp/multipartBody8606173209744699584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807268181,"filename":"image_09122025_08_09_55_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4290b9b5d59b101ff5a14ed1616127fc.jpg","text":"TemporaryFile(/tmp/multipartBody1355116635967748887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807268181,"filename":"image_09122025_08_10_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc616280437a1a1054fd6eab939303ed.jpg","text":"TemporaryFile(/tmp/multipartBody8750510251588070271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807268181,"filename":"image_09122025_08_10_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fffaa3c9ed409b585b8055aa632f9fe7.jpg","text":"TemporaryFile(/tmp/multipartBody4772754698300340246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807268181,"filename":"image_09122025_08_10_15_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217041","file1":"1401217040","file0":"1401217039","file4":"1401217044","file5":"1401217046","file3":"1401217042"},"map_files_photo_id_array":[{"photo_id":"1401217046","filename":"file5"},{"photo_id":"1401217041","filename":"file2"},{"photo_id":"1401217044","filename":"file4"},{"photo_id":"1401217040","filename":"file1"},{"photo_id":"1401217039","filename":"file0"},{"photo_id":"1401217042","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217041":["hashtag1","hashtag2"]},{"1401217044":["hashtag1","hashtag2"]},{"1401217046":["hashtag1","hashtag2"]},{"1401217040":["hashtag1","hashtag2"]},{"1401217039":["hashtag1","hashtag2"]},{"1401217042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217041, 1401217044, 1401217046, 1401217040, 1401217039, 1401217042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0563383102417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:47:32.511842
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_45_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_34_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_25_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_14_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/08/08/image_09122025_08_09_05_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_55_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_45_10615.jpg', '/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_34_9600.jpg', '/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_25_10608.jpg', '/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_14_9615.jpg', '/home/nano/Desktop/images/09122025/08/08/image_09122025_08_09_05_9614.jpg', '/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_55_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_45_10615.jpg
/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_34_9600.jpg
/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_25_10608.jpg
/home/nano/Desktop/images/09122025/08/09/image_09122025_08_09_14_9615.jpg
/home/nano/Desktop/images/09122025/08/08/image_09122025_08_09_05_9614.jpg
/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_55_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":["1401217062","1401217059","1401217061","1401217055","1401217057","1401217053"],"photo_ids_order":["1401217053","1401217055","1401217057","1401217059","1401217061","1401217062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efe0a2548e345d2c69c11b756293bd8e.jpg","text":"TemporaryFile(/tmp/multipartBody784689337324468771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807313310,"filename":"image_09122025_08_08_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f967a410a50ca646ee29202bba3644c6.jpg","text":"TemporaryFile(/tmp/multipartBody7297676945417173184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807313310,"filename":"image_09122025_08_09_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/12/27/a95d15b9fd66a59a3be5ba487d0c63e4.jpg","text":"TemporaryFile(/tmp/multipartBody1268977022952323639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807313310,"filename":"image_09122025_08_09_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2906926ac55f63a296e514d349c76823.jpg","text":"TemporaryFile(/tmp/multipartBody2020946520880331562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807313310,"filename":"image_09122025_08_09_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/12/27/a3a6d360f0d80e16d4f6dcf1cb45b084.jpg","text":"TemporaryFile(/tmp/multipartBody3294815952717033571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807313310,"filename":"image_09122025_08_09_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b81707738c4a91a3bf28129393ab15e.jpg","text":"TemporaryFile(/tmp/multipartBody3415985237975183888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807313310,"filename":"image_09122025_08_09_45_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217057","file1":"1401217055","file0":"1401217053","file4":"1401217061","file5":"1401217062","file3":"1401217059"},"map_files_photo_id_array":[{"photo_id":"1401217062","filename":"file5"},{"photo_id":"1401217057","filename":"file2"},{"photo_id":"1401217061","filename":"file4"},{"photo_id":"1401217055","filename":"file1"},{"photo_id":"1401217053","filename":"file0"},{"photo_id":"1401217059","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217062":["hashtag1","hashtag2"]},{"1401217059":["hashtag1","hashtag2"]},{"1401217061":["hashtag1","hashtag2"]},{"1401217055":["hashtag1","hashtag2"]},{"1401217057":["hashtag1","hashtag2"]},{"1401217053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217062, 1401217059, 1401217061, 1401217055, 1401217057, 1401217053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91805934906006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:48:17.573196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_44_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_35_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_25_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_14_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/08/07/image_09122025_08_08_05_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_44_9606.jpg', '/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_35_9598.jpg', '/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_25_10621.jpg', '/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_14_9608.jpg', '/home/nano/Desktop/images/09122025/08/07/image_09122025_08_08_05_10621.jpg', '/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_44_9606.jpg
/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_35_9598.jpg
/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_25_10621.jpg
/home/nano/Desktop/images/09122025/08/08/image_09122025_08_08_14_9608.jpg
/home/nano/Desktop/images/09122025/08/07/image_09122025_08_08_05_10621.jpg
/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_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":["1401217077","1401217073","1401217067","1401217075","1401217069","1401217071"],"photo_ids_order":["1401217067","1401217069","1401217071","1401217073","1401217075","1401217077"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17f81780e6f8c96b300c908b19b1c8e0.jpg","text":"TemporaryFile(/tmp/multipartBody4744526187875243926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807358392,"filename":"image_09122025_08_07_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/12/27/1a791887e45462e84f14e34ab802a077.jpg","text":"TemporaryFile(/tmp/multipartBody7831011670800772686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807358392,"filename":"image_09122025_08_08_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a3b55613a125ecf8e65a872a2887c08.jpg","text":"TemporaryFile(/tmp/multipartBody8625310246892944908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807358392,"filename":"image_09122025_08_08_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/12/27/9af97704f1eaad9f1753bc48b18381a1.jpg","text":"TemporaryFile(/tmp/multipartBody1303396508957700084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807358392,"filename":"image_09122025_08_08_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a7733a9da3b7f989976d86e7adfaf0c.jpg","text":"TemporaryFile(/tmp/multipartBody1665922994449868955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807358392,"filename":"image_09122025_08_08_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/201475fac70dbc6ea11ec901ba72d553.jpg","text":"TemporaryFile(/tmp/multipartBody5440762381199153585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807358392,"filename":"image_09122025_08_08_25_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217071","file1":"1401217069","file0":"1401217067","file4":"1401217075","file5":"1401217077","file3":"1401217073"},"map_files_photo_id_array":[{"photo_id":"1401217077","filename":"file5"},{"photo_id":"1401217071","filename":"file2"},{"photo_id":"1401217075","filename":"file4"},{"photo_id":"1401217069","filename":"file1"},{"photo_id":"1401217067","filename":"file0"},{"photo_id":"1401217073","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217077":["hashtag1","hashtag2"]},{"1401217073":["hashtag1","hashtag2"]},{"1401217067":["hashtag1","hashtag2"]},{"1401217075":["hashtag1","hashtag2"]},{"1401217069":["hashtag1","hashtag2"]},{"1401217071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217077, 1401217073, 1401217067, 1401217075, 1401217069, 1401217071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87008762359619 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:49:03.427918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_45_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_35_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_24_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_15_10628.jpg', 2), ('/home/nano/Desktop/images/09122025/08/06/image_09122025_08_07_04_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_55_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_45_9603.jpg', '/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_35_10639.jpg', '/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_24_9602.jpg', '/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_15_10628.jpg', '/home/nano/Desktop/images/09122025/08/06/image_09122025_08_07_04_9621.jpg', '/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_55_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_45_9603.jpg
/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_35_10639.jpg
/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_24_9602.jpg
/home/nano/Desktop/images/09122025/08/07/image_09122025_08_07_15_10628.jpg
/home/nano/Desktop/images/09122025/08/06/image_09122025_08_07_04_9621.jpg
/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_55_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":["1401217083","1401217087","1401217081","1401217084","1401217086","1401217089"],"photo_ids_order":["1401217081","1401217083","1401217084","1401217086","1401217087","1401217089"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce04d8a639038966adf1ae6fd5c7221f.jpg","text":"TemporaryFile(/tmp/multipartBody1287721513671772868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807404346,"filename":"image_09122025_08_07_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/debdbfeeff070cee4ee20d2aaf1d4d5b.jpg","text":"TemporaryFile(/tmp/multipartBody581029556250613345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807404346,"filename":"image_09122025_08_07_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/12/27/d31f12c3fe1ceeeff025f301bb428ef0.jpg","text":"TemporaryFile(/tmp/multipartBody5833521432756464326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807404346,"filename":"image_09122025_08_07_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3689c4c2b5702c689a217ff7da511dc.jpg","text":"TemporaryFile(/tmp/multipartBody8500471898846676107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807404346,"filename":"image_09122025_08_07_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/12/27/fac1116374a1acf67766ff3dd29437da.jpg","text":"TemporaryFile(/tmp/multipartBody8092883198563663851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807404346,"filename":"image_09122025_08_07_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f84bc65a2dab787e134b8184f32d662.jpg","text":"TemporaryFile(/tmp/multipartBody5597763050401671320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807404346,"filename":"image_09122025_08_06_55_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217084","file1":"1401217083","file0":"1401217081","file4":"1401217087","file5":"1401217089","file3":"1401217086"},"map_files_photo_id_array":[{"photo_id":"1401217089","filename":"file5"},{"photo_id":"1401217084","filename":"file2"},{"photo_id":"1401217087","filename":"file4"},{"photo_id":"1401217083","filename":"file1"},{"photo_id":"1401217081","filename":"file0"},{"photo_id":"1401217086","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217083":["hashtag1","hashtag2"]},{"1401217087":["hashtag1","hashtag2"]},{"1401217081":["hashtag1","hashtag2"]},{"1401217084":["hashtag1","hashtag2"]},{"1401217086":["hashtag1","hashtag2"]},{"1401217089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217083, 1401217087, 1401217081, 1401217084, 1401217086, 1401217089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.576244592666626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:49:47.647611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_45_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_34_9598.jpg', 2), ('/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_25_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_14_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/08/05/image_09122025_08_06_05_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_55_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_45_10612.jpg', '/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_34_9598.jpg', '/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_25_10614.jpg', '/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_14_9618.jpg', '/home/nano/Desktop/images/09122025/08/05/image_09122025_08_06_05_9613.jpg', '/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_55_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_45_10612.jpg
/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_34_9598.jpg
/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_25_10614.jpg
/home/nano/Desktop/images/09122025/08/06/image_09122025_08_06_14_9618.jpg
/home/nano/Desktop/images/09122025/08/05/image_09122025_08_06_05_9613.jpg
/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_55_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":["1401217097","1401217100","1401217096","1401217098","1401217102","1401217095"],"photo_ids_order":["1401217095","1401217096","1401217097","1401217098","1401217100","1401217102"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94ccfe03e5cd8c5c1d55384d34c2c35a.jpg","text":"TemporaryFile(/tmp/multipartBody3852890572356938280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807448450,"filename":"image_09122025_08_06_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fc97b23c2a4eb81be99376dbf509c18.jpg","text":"TemporaryFile(/tmp/multipartBody2454122304696822284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807448450,"filename":"image_09122025_08_06_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00e7e5e45f3ab5799945ee48b7063f95.jpg","text":"TemporaryFile(/tmp/multipartBody1995397124633251083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807448450,"filename":"image_09122025_08_06_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/12/27/00d7e549f2dcf35bed7b85b3dac83943.jpg","text":"TemporaryFile(/tmp/multipartBody835866905661234083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807448450,"filename":"image_09122025_08_06_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/12/27/64728549d83b8918596a3776b28a404d.jpg","text":"TemporaryFile(/tmp/multipartBody495656082026446520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807448450,"filename":"image_09122025_08_05_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/872888f12e457357337ca9e72342fa3b.jpg","text":"TemporaryFile(/tmp/multipartBody1210428511550144579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807448450,"filename":"image_09122025_08_06_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217097","file1":"1401217096","file0":"1401217095","file4":"1401217100","file5":"1401217102","file3":"1401217098"},"map_files_photo_id_array":[{"photo_id":"1401217102","filename":"file5"},{"photo_id":"1401217097","filename":"file2"},{"photo_id":"1401217100","filename":"file4"},{"photo_id":"1401217096","filename":"file1"},{"photo_id":"1401217095","filename":"file0"},{"photo_id":"1401217098","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217097":["hashtag1","hashtag2"]},{"1401217100":["hashtag1","hashtag2"]},{"1401217096":["hashtag1","hashtag2"]},{"1401217098":["hashtag1","hashtag2"]},{"1401217102":["hashtag1","hashtag2"]},{"1401217095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217097, 1401217100, 1401217096, 1401217098, 1401217102, 1401217095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.650578022003174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:50:32.770296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_35_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_25_10610.jpg', 2), ('/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_14_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/08/04/image_09122025_08_05_05_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_54_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_45_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_35_9603.jpg', '/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_25_10610.jpg', '/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_14_9611.jpg', '/home/nano/Desktop/images/09122025/08/04/image_09122025_08_05_05_10647.jpg', '/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_54_9620.jpg', '/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_45_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_35_9603.jpg
/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_25_10610.jpg
/home/nano/Desktop/images/09122025/08/05/image_09122025_08_05_14_9611.jpg
/home/nano/Desktop/images/09122025/08/04/image_09122025_08_05_05_10647.jpg
/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_54_9620.jpg
/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_45_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":["1401217115","1401217109","1401217118","1401217112","1401217111","1401217117"],"photo_ids_order":["1401217109","1401217111","1401217112","1401217115","1401217117","1401217118"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a287d7ed4ccd21de0cfc5addb5a80e5d.jpg","text":"TemporaryFile(/tmp/multipartBody8028735905735215000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807493568,"filename":"image_09122025_08_05_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cea947c09c1b18743d68c7964663054.jpg","text":"TemporaryFile(/tmp/multipartBody7880337327857804031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807493568,"filename":"image_09122025_08_05_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6459e074ea02d2fe4615eece0a533440.jpg","text":"TemporaryFile(/tmp/multipartBody6981152558323198341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807493568,"filename":"image_09122025_08_04_45_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e53531554ede85427b38bd2599c270be.jpg","text":"TemporaryFile(/tmp/multipartBody199519946661530418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807493568,"filename":"image_09122025_08_05_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/12/27/1fa9c0be99bb73b182f1b7ca709fb8d1.jpg","text":"TemporaryFile(/tmp/multipartBody9091581237699296754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807493568,"filename":"image_09122025_08_05_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1eee6b4a5a33ddd8156ac64162a181f8.jpg","text":"TemporaryFile(/tmp/multipartBody8620580347687312521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807493568,"filename":"image_09122025_08_04_54_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217112","file1":"1401217111","file0":"1401217109","file4":"1401217117","file5":"1401217118","file3":"1401217115"},"map_files_photo_id_array":[{"photo_id":"1401217118","filename":"file5"},{"photo_id":"1401217112","filename":"file2"},{"photo_id":"1401217117","filename":"file4"},{"photo_id":"1401217111","filename":"file1"},{"photo_id":"1401217109","filename":"file0"},{"photo_id":"1401217115","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217115":["hashtag1","hashtag2"]},{"1401217109":["hashtag1","hashtag2"]},{"1401217118":["hashtag1","hashtag2"]},{"1401217112":["hashtag1","hashtag2"]},{"1401217111":["hashtag1","hashtag2"]},{"1401217117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217115, 1401217109, 1401217118, 1401217112, 1401217111, 1401217117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65090537071228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:51:16.814106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_35_10608.jpg', 2), ('/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_24_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_15_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/08/03/image_09122025_08_04_04_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_54_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_45_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_35_10608.jpg', '/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_24_9617.jpg', '/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_15_10630.jpg', '/home/nano/Desktop/images/09122025/08/03/image_09122025_08_04_04_9606.jpg', '/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_54_9604.jpg', '/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_45_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_35_10608.jpg
/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_24_9617.jpg
/home/nano/Desktop/images/09122025/08/04/image_09122025_08_04_15_10630.jpg
/home/nano/Desktop/images/09122025/08/03/image_09122025_08_04_04_9606.jpg
/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_54_9604.jpg
/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_45_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":["1401217134","1401217125","1401217128","1401217130","1401217123","1401217132"],"photo_ids_order":["1401217123","1401217125","1401217128","1401217130","1401217132","1401217134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e5ff60449a190bf86be82caf6bb6010.jpg","text":"TemporaryFile(/tmp/multipartBody457027343269077950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807537618,"filename":"image_09122025_08_03_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89363f42274d6ebcc0f475173e60b9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1881170499935395415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807537618,"filename":"image_09122025_08_04_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/12/27/9b5db094a05293d4be18cfc47d8aab5e.jpg","text":"TemporaryFile(/tmp/multipartBody2407757669024784394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807537618,"filename":"image_09122025_08_04_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b5f5801571e86bdf7d2403ff44b2a03.jpg","text":"TemporaryFile(/tmp/multipartBody2884355157591287177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807537618,"filename":"image_09122025_08_04_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/12/27/25b005ac78e36f218783e89edf7e9265.jpg","text":"TemporaryFile(/tmp/multipartBody5407465958223587385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807537618,"filename":"image_09122025_08_04_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b29235281fa18430ae4bdcfa617e9b17.jpg","text":"TemporaryFile(/tmp/multipartBody7884883413796168262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807537618,"filename":"image_09122025_08_03_54_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217128","file1":"1401217125","file0":"1401217123","file4":"1401217132","file5":"1401217134","file3":"1401217130"},"map_files_photo_id_array":[{"photo_id":"1401217134","filename":"file5"},{"photo_id":"1401217128","filename":"file2"},{"photo_id":"1401217132","filename":"file4"},{"photo_id":"1401217125","filename":"file1"},{"photo_id":"1401217123","filename":"file0"},{"photo_id":"1401217130","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217134":["hashtag1","hashtag2"]},{"1401217125":["hashtag1","hashtag2"]},{"1401217128":["hashtag1","hashtag2"]},{"1401217130":["hashtag1","hashtag2"]},{"1401217123":["hashtag1","hashtag2"]},{"1401217132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217134, 1401217125, 1401217128, 1401217130, 1401217123, 1401217132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77127504348755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:52:02.219542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_34_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_25_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_15_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/08/02/image_09122025_08_03_04_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_55_10624.jpg', 2), ('/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_44_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_34_9603.jpg', '/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_25_9605.jpg', '/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_15_10649.jpg', '/home/nano/Desktop/images/09122025/08/02/image_09122025_08_03_04_9623.jpg', '/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_55_10624.jpg', '/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_34_9603.jpg
/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_25_9605.jpg
/home/nano/Desktop/images/09122025/08/03/image_09122025_08_03_15_10649.jpg
/home/nano/Desktop/images/09122025/08/02/image_09122025_08_03_04_9623.jpg
/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_55_10624.jpg
/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_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":["1401217140","1401217146","1401217142","1401217144","1401217138","1401217147"],"photo_ids_order":["1401217138","1401217140","1401217142","1401217144","1401217146","1401217147"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25bd228b278c793d8cd92cdfa81e3831.jpg","text":"TemporaryFile(/tmp/multipartBody7150446107844152218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807583018,"filename":"image_09122025_08_03_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66bd5c98c68d42b0cedd79c5c0e52e6d.jpg","text":"TemporaryFile(/tmp/multipartBody5983907073673802113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807583018,"filename":"image_09122025_08_02_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a18b0488c33756435213ebf9f530cf4.jpg","text":"TemporaryFile(/tmp/multipartBody2645877832802683680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807583018,"filename":"image_09122025_08_03_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e09fdb8a8f4fd4eee60861c0e039f04.jpg","text":"TemporaryFile(/tmp/multipartBody1296962054307858636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807583018,"filename":"image_09122025_08_03_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/12/27/65ec3fbb2d73b23224285ebdb277ae46.jpg","text":"TemporaryFile(/tmp/multipartBody1848870422542097088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807583018,"filename":"image_09122025_08_03_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/12/27/221dcbbdae3f6db12c96bac316dd419f.jpg","text":"TemporaryFile(/tmp/multipartBody6195034619137834882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807583018,"filename":"image_09122025_08_02_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217142","file1":"1401217140","file0":"1401217138","file4":"1401217146","file5":"1401217147","file3":"1401217144"},"map_files_photo_id_array":[{"photo_id":"1401217147","filename":"file5"},{"photo_id":"1401217142","filename":"file2"},{"photo_id":"1401217146","filename":"file4"},{"photo_id":"1401217140","filename":"file1"},{"photo_id":"1401217138","filename":"file0"},{"photo_id":"1401217144","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217140":["hashtag1","hashtag2"]},{"1401217146":["hashtag1","hashtag2"]},{"1401217142":["hashtag1","hashtag2"]},{"1401217144":["hashtag1","hashtag2"]},{"1401217138":["hashtag1","hashtag2"]},{"1401217147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217140, 1401217146, 1401217142, 1401217144, 1401217138, 1401217147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99903583526611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:52:46.932982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_35_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_25_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_14_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/08/01/image_09122025_08_02_05_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_54_9601.jpg', 2), ('/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_44_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_35_9606.jpg', '/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_25_10609.jpg', '/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_14_9612.jpg', '/home/nano/Desktop/images/09122025/08/01/image_09122025_08_02_05_10643.jpg', '/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_54_9601.jpg', '/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_35_9606.jpg
/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_25_10609.jpg
/home/nano/Desktop/images/09122025/08/02/image_09122025_08_02_14_9612.jpg
/home/nano/Desktop/images/09122025/08/01/image_09122025_08_02_05_10643.jpg
/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_54_9601.jpg
/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_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":["1401217155","1401217160","1401217154","1401217157","1401217162","1401217156"],"photo_ids_order":["1401217154","1401217155","1401217156","1401217157","1401217160","1401217162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9790486239c1495c20fd3a3f213947e8.jpg","text":"TemporaryFile(/tmp/multipartBody3530409342054761292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807627730,"filename":"image_09122025_08_02_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0f9fcff0671499ad676f0df4e729277.jpg","text":"TemporaryFile(/tmp/multipartBody7705443799728507341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807627730,"filename":"image_09122025_08_01_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/12/27/1c4c8f9faf390901413e71d0ac79faf1.jpg","text":"TemporaryFile(/tmp/multipartBody4079974103629328398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807627730,"filename":"image_09122025_08_02_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6675940ff93b8effc59ea82b97ab884d.jpg","text":"TemporaryFile(/tmp/multipartBody2082133137129616254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807627730,"filename":"image_09122025_08_02_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65c9539845016149224da4411f8fda0f.jpg","text":"TemporaryFile(/tmp/multipartBody1551704612067806475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807627730,"filename":"image_09122025_08_01_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/12/27/d8cd152df0c2254bb3c3d8154ff1f37b.jpg","text":"TemporaryFile(/tmp/multipartBody718945583179442561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807627730,"filename":"image_09122025_08_02_14_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217156","file1":"1401217155","file0":"1401217154","file4":"1401217160","file5":"1401217162","file3":"1401217157"},"map_files_photo_id_array":[{"photo_id":"1401217162","filename":"file5"},{"photo_id":"1401217156","filename":"file2"},{"photo_id":"1401217160","filename":"file4"},{"photo_id":"1401217155","filename":"file1"},{"photo_id":"1401217154","filename":"file0"},{"photo_id":"1401217157","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217155":["hashtag1","hashtag2"]},{"1401217160":["hashtag1","hashtag2"]},{"1401217154":["hashtag1","hashtag2"]},{"1401217157":["hashtag1","hashtag2"]},{"1401217162":["hashtag1","hashtag2"]},{"1401217156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217155, 1401217160, 1401217154, 1401217157, 1401217162, 1401217156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24907040596008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:53:32.033894
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/04/53/image_27122025_04_53_45_10518.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/04/53/image_27122025_04_53_45_10518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/04/53/image_27122025_04_53_45_10518.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401217167"],"photo_id":"1401217167","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a76d5a1688d70e046ee7ea0da6d553e.jpg","text":"TemporaryFile(/tmp/multipartBody1265783623537968493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807672281,"filename":"image_27122025_04_53_45_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401217167"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401217167"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.42226505279541 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:53:47.036832
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_35_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_24_9605.jpg', 2), ('/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_15_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/08/00/image_09122025_08_01_05_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_54_9597.jpg', 2), ('/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_45_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_35_10609.jpg', '/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_24_9605.jpg', '/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_15_9608.jpg', '/home/nano/Desktop/images/09122025/08/00/image_09122025_08_01_05_10644.jpg', '/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_54_9597.jpg', '/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_35_10609.jpg
/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_24_9605.jpg
/home/nano/Desktop/images/09122025/08/01/image_09122025_08_01_15_9608.jpg
/home/nano/Desktop/images/09122025/08/00/image_09122025_08_01_05_10644.jpg
/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_54_9597.jpg
/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_45_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":["1401217176","1401217181","1401217178","1401217180","1401217177","1401217179"],"photo_ids_order":["1401217176","1401217177","1401217178","1401217179","1401217180","1401217181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a185e9f3829148eea3e37bd6accbf132.jpg","text":"TemporaryFile(/tmp/multipartBody6310899589300131746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807687839,"filename":"image_09122025_08_01_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/132db8116df21aaf6e97ea4eccd75e37.jpg","text":"TemporaryFile(/tmp/multipartBody6579385400919221510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807687839,"filename":"image_09122025_08_00_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82edb0b2d5bd168786e7f3126ff49eca.jpg","text":"TemporaryFile(/tmp/multipartBody6320770510315440129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807687839,"filename":"image_09122025_08_01_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bef77c96f464d75f6ecbb29a446d6e3.jpg","text":"TemporaryFile(/tmp/multipartBody1861697810366807221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807687839,"filename":"image_09122025_08_00_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/12/27/0b8047f07c8292fb515121439f0d4b37.jpg","text":"TemporaryFile(/tmp/multipartBody5322349033465132049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807687839,"filename":"image_09122025_08_01_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/12/27/edd2418e61d4e9adbf51c7c02c778d0c.jpg","text":"TemporaryFile(/tmp/multipartBody3803102257419496597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807687839,"filename":"image_09122025_08_01_05_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217178","file1":"1401217177","file0":"1401217176","file4":"1401217180","file5":"1401217181","file3":"1401217179"},"map_files_photo_id_array":[{"photo_id":"1401217181","filename":"file5"},{"photo_id":"1401217178","filename":"file2"},{"photo_id":"1401217180","filename":"file4"},{"photo_id":"1401217177","filename":"file1"},{"photo_id":"1401217176","filename":"file0"},{"photo_id":"1401217179","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217176":["hashtag1","hashtag2"]},{"1401217181":["hashtag1","hashtag2"]},{"1401217178":["hashtag1","hashtag2"]},{"1401217180":["hashtag1","hashtag2"]},{"1401217177":["hashtag1","hashtag2"]},{"1401217179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217176, 1401217181, 1401217178, 1401217180, 1401217177, 1401217179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44401955604553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:54:32.124300
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_34_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_25_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_15_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/59/image_09122025_08_00_04_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_55_9668.jpg', 2), ('/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_45_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_34_9625.jpg', '/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_25_9606.jpg', '/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_15_10650.jpg', '/home/nano/Desktop/images/09122025/07/59/image_09122025_08_00_04_9646.jpg', '/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_55_9668.jpg', '/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_45_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_34_9625.jpg
/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_25_9606.jpg
/home/nano/Desktop/images/09122025/08/00/image_09122025_08_00_15_10650.jpg
/home/nano/Desktop/images/09122025/07/59/image_09122025_08_00_04_9646.jpg
/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_55_9668.jpg
/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_45_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":["1401217190","1401217187","1401217192","1401217195","1401217198","1401217197"],"photo_ids_order":["1401217187","1401217190","1401217192","1401217195","1401217197","1401217198"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f5b224e84105496cea45e0f494f1c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2046928617913129731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807732945,"filename":"image_09122025_08_00_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bee58b2e970e57414ac9dd57bdc48757.jpg","text":"TemporaryFile(/tmp/multipartBody4023945676441993395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807732945,"filename":"image_09122025_08_00_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/12/27/18a3769a87c6eece5d2d53e435a5b6a3.jpg","text":"TemporaryFile(/tmp/multipartBody270112348691414667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807732945,"filename":"image_09122025_08_00_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9bab9fe12220de7aeeacbcfd5664288.jpg","text":"TemporaryFile(/tmp/multipartBody1842272636251286137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807732945,"filename":"image_09122025_08_00_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/12/27/d05e118b1c26794a6b427b52cb4276fa.jpg","text":"TemporaryFile(/tmp/multipartBody3378405148003887477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807732945,"filename":"image_09122025_07_59_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c063b77e66b9d183b771741f22f5b24.jpg","text":"TemporaryFile(/tmp/multipartBody807587376525595666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807732945,"filename":"image_09122025_07_59_55_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217192","file1":"1401217190","file0":"1401217187","file4":"1401217197","file5":"1401217198","file3":"1401217195"},"map_files_photo_id_array":[{"photo_id":"1401217198","filename":"file5"},{"photo_id":"1401217192","filename":"file2"},{"photo_id":"1401217197","filename":"file4"},{"photo_id":"1401217190","filename":"file1"},{"photo_id":"1401217187","filename":"file0"},{"photo_id":"1401217195","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217190":["hashtag1","hashtag2"]},{"1401217187":["hashtag1","hashtag2"]},{"1401217192":["hashtag1","hashtag2"]},{"1401217195":["hashtag1","hashtag2"]},{"1401217198":["hashtag1","hashtag2"]},{"1401217197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217190, 1401217187, 1401217192, 1401217195, 1401217198, 1401217197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54623818397522 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:55:17.239656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_34_9701.jpg', 2), ('/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_25_9694.jpg', 2), ('/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_15_10724.jpg', 2), ('/home/nano/Desktop/images/09122025/07/58/image_09122025_07_59_04_9696.jpg', 2), ('/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_55_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_45_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_34_9701.jpg', '/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_25_9694.jpg', '/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_15_10724.jpg', '/home/nano/Desktop/images/09122025/07/58/image_09122025_07_59_04_9696.jpg', '/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_55_9614.jpg', '/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_45_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_34_9701.jpg
/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_25_9694.jpg
/home/nano/Desktop/images/09122025/07/59/image_09122025_07_59_15_10724.jpg
/home/nano/Desktop/images/09122025/07/58/image_09122025_07_59_04_9696.jpg
/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_55_9614.jpg
/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_45_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":["1401217203","1401217206","1401217200","1401217199","1401217208","1401217210"],"photo_ids_order":["1401217199","1401217200","1401217203","1401217206","1401217208","1401217210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/890d1dd9013a4965d8412f0c23714bd8.jpg","text":"TemporaryFile(/tmp/multipartBody522933786258222477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807778092,"filename":"image_09122025_07_59_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d9ed62e609aff5d0e12a91511d17926.jpg","text":"TemporaryFile(/tmp/multipartBody4642335417051437370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807778092,"filename":"image_09122025_07_59_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab29d0d648beda995108ec633fef84c1.jpg","text":"TemporaryFile(/tmp/multipartBody3116949340839414453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807778092,"filename":"image_09122025_07_59_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aefea2f87c5136e67b51c7d236eb8517.jpg","text":"TemporaryFile(/tmp/multipartBody7155875650350922229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807778092,"filename":"image_09122025_07_59_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ad99877365a0d82f4147e344dcaca5f.jpg","text":"TemporaryFile(/tmp/multipartBody9081514859942227229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807778092,"filename":"image_09122025_07_58_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74a86666b76fe5232a31c7f2a9dc4be9.jpg","text":"TemporaryFile(/tmp/multipartBody4772987245532619517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807778092,"filename":"image_09122025_07_58_45_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217203","file1":"1401217200","file0":"1401217199","file4":"1401217208","file5":"1401217210","file3":"1401217206"},"map_files_photo_id_array":[{"photo_id":"1401217210","filename":"file5"},{"photo_id":"1401217203","filename":"file2"},{"photo_id":"1401217208","filename":"file4"},{"photo_id":"1401217200","filename":"file1"},{"photo_id":"1401217199","filename":"file0"},{"photo_id":"1401217206","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217203":["hashtag1","hashtag2"]},{"1401217206":["hashtag1","hashtag2"]},{"1401217200":["hashtag1","hashtag2"]},{"1401217199":["hashtag1","hashtag2"]},{"1401217208":["hashtag1","hashtag2"]},{"1401217210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217203, 1401217206, 1401217200, 1401217199, 1401217208, 1401217210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.338502407073975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:56:02.644657
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_34_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_25_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_15_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/07/57/image_09122025_07_58_04_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_55_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_44_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_34_9614.jpg', '/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_25_9610.jpg', '/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_15_10641.jpg', '/home/nano/Desktop/images/09122025/07/57/image_09122025_07_58_04_9619.jpg', '/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_55_10611.jpg', '/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_34_9614.jpg
/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_25_9610.jpg
/home/nano/Desktop/images/09122025/07/58/image_09122025_07_58_15_10641.jpg
/home/nano/Desktop/images/09122025/07/57/image_09122025_07_58_04_9619.jpg
/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_55_10611.jpg
/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_44_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":["1401217215","1401217218","1401217220","1401217214","1401217217","1401217216"],"photo_ids_order":["1401217214","1401217215","1401217216","1401217217","1401217218","1401217220"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f607d9f65d74fe49f3d838818b5bc764.jpg","text":"TemporaryFile(/tmp/multipartBody7354361681755881608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807823492,"filename":"image_09122025_07_58_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8bae2de6cd08a20babc68b0fa477a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2329251637830046848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807823492,"filename":"image_09122025_07_57_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13076888ade4e6ee5374f9052ee6733a.jpg","text":"TemporaryFile(/tmp/multipartBody3314742221187725321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807823492,"filename":"image_09122025_07_57_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/12/27/3203141e8bd2b594b748cf13ea95e8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1485293792053302846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807823492,"filename":"image_09122025_07_58_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/12/27/ec6fbb9878a605321e18e9f8cce7dc06.jpg","text":"TemporaryFile(/tmp/multipartBody946991087012626038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807823492,"filename":"image_09122025_07_58_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/12/27/06751a622c399df4cb2407e38b386256.jpg","text":"TemporaryFile(/tmp/multipartBody4568185570778175934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807823492,"filename":"image_09122025_07_58_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217216","file1":"1401217215","file0":"1401217214","file4":"1401217218","file5":"1401217220","file3":"1401217217"},"map_files_photo_id_array":[{"photo_id":"1401217220","filename":"file5"},{"photo_id":"1401217216","filename":"file2"},{"photo_id":"1401217218","filename":"file4"},{"photo_id":"1401217215","filename":"file1"},{"photo_id":"1401217214","filename":"file0"},{"photo_id":"1401217217","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217215":["hashtag1","hashtag2"]},{"1401217218":["hashtag1","hashtag2"]},{"1401217220":["hashtag1","hashtag2"]},{"1401217214":["hashtag1","hashtag2"]},{"1401217217":["hashtag1","hashtag2"]},{"1401217216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217215, 1401217218, 1401217220, 1401217214, 1401217217, 1401217216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:56:47.353936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_35_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_25_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_14_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_57_05_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_55_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_44_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_35_9609.jpg', '/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_25_10646.jpg', '/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_14_9629.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_57_05_9631.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_55_10623.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_35_9609.jpg
/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_25_10646.jpg
/home/nano/Desktop/images/09122025/07/57/image_09122025_07_57_14_9629.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_57_05_9631.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_55_10623.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_44_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":["1401217242","1401217236","1401217239","1401217244","1401217238","1401217234"],"photo_ids_order":["1401217234","1401217236","1401217238","1401217239","1401217242","1401217244"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4715d955ab1ac7b7f88e83681a59dd8e.jpg","text":"TemporaryFile(/tmp/multipartBody7842710974680176508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807868156,"filename":"image_09122025_07_56_55_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8dea9d3a32a1aa326085f10b3ea3d670.jpg","text":"TemporaryFile(/tmp/multipartBody3526663844384576314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807868156,"filename":"image_09122025_07_57_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8552c85695c75369a6caa756c0ce8b67.jpg","text":"TemporaryFile(/tmp/multipartBody7929278668945521896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807868156,"filename":"image_09122025_07_57_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31c89a52fc1d93500014257b657e4578.jpg","text":"TemporaryFile(/tmp/multipartBody2005473305723034554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807868156,"filename":"image_09122025_07_56_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/12/27/44b815b002d5cfa39174c1a7dc8996f8.jpg","text":"TemporaryFile(/tmp/multipartBody252898594275342601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807868156,"filename":"image_09122025_07_57_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/12/27/354e137f0aaff69160e37514bdeb70b6.jpg","text":"TemporaryFile(/tmp/multipartBody4302744892348298491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766807868156,"filename":"image_09122025_07_57_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401217238","file1":"1401217236","file0":"1401217234","file4":"1401217242","file5":"1401217244","file3":"1401217239"},"map_files_photo_id_array":[{"photo_id":"1401217244","filename":"file5"},{"photo_id":"1401217238","filename":"file2"},{"photo_id":"1401217242","filename":"file4"},{"photo_id":"1401217236","filename":"file1"},{"photo_id":"1401217234","filename":"file0"},{"photo_id":"1401217239","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401217242":["hashtag1","hashtag2"]},{"1401217236":["hashtag1","hashtag2"]},{"1401217239":["hashtag1","hashtag2"]},{"1401217244":["hashtag1","hashtag2"]},{"1401217238":["hashtag1","hashtag2"]},{"1401217234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401217242, 1401217236, 1401217239, 1401217244, 1401217238, 1401217234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11341691017151 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:57:32.487100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.703697681427002 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:57:47.472635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:59:03.026544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg', '/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_35_10617.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_24_9620.jpg
/home/nano/Desktop/images/09122025/07/56/image_09122025_07_56_15_9633.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_56_05_10627.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_54_9610.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_45_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":["1401218030","1401217865","1401218083","1401218125","1401218160","1401217974"],"photo_ids_order":["1401217865","1401217974","1401218030","1401218083","1401218125","1401218160"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9011738d572cecaa56b66f619e0103b7.jpg","text":"TemporaryFile(/tmp/multipartBody7927281105356888652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808003936,"filename":"image_09122025_07_56_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f535a4c46960bfb79084d8000d7e370c.jpg","text":"TemporaryFile(/tmp/multipartBody4743261818350590053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808003936,"filename":"image_09122025_07_56_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d00cd7783701c1e38c2aa2fc52ece1a6.jpg","text":"TemporaryFile(/tmp/multipartBody8219074560934594625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808003936,"filename":"image_09122025_07_56_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/581647ee3cc252b59786ea91f4dc5778.jpg","text":"TemporaryFile(/tmp/multipartBody7681632907665395050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808003936,"filename":"image_09122025_07_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/12/27/5d24cd3372630d3c0233141e1aecef11.jpg","text":"TemporaryFile(/tmp/multipartBody5078012388484556816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808003936,"filename":"image_09122025_07_55_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d033256cbdda481847f94c7af816eaaa.jpg","text":"TemporaryFile(/tmp/multipartBody4933993245787882582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808003936,"filename":"image_09122025_07_56_24_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401218030","file1":"1401217974","file0":"1401217865","file4":"1401218125","file5":"1401218160","file3":"1401218083"},"map_files_photo_id_array":[{"photo_id":"1401218160","filename":"file5"},{"photo_id":"1401218030","filename":"file2"},{"photo_id":"1401218125","filename":"file4"},{"photo_id":"1401217974","filename":"file1"},{"photo_id":"1401217865","filename":"file0"},{"photo_id":"1401218083","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401218030":["hashtag1","hashtag2"]},{"1401217865":["hashtag1","hashtag2"]},{"1401218083":["hashtag1","hashtag2"]},{"1401218125":["hashtag1","hashtag2"]},{"1401218160":["hashtag1","hashtag2"]},{"1401217974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401218030, 1401217865, 1401218083, 1401218125, 1401218160, 1401217974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.034892559051514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 04:59:47.333710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_35_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_24_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_15_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/07/54/image_09122025_07_55_04_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_55_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_45_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_35_10617.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_24_9621.jpg', '/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_15_10635.jpg', '/home/nano/Desktop/images/09122025/07/54/image_09122025_07_55_04_9608.jpg', '/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_55_9604.jpg', '/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_45_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_35_10617.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_24_9621.jpg
/home/nano/Desktop/images/09122025/07/55/image_09122025_07_55_15_10635.jpg
/home/nano/Desktop/images/09122025/07/54/image_09122025_07_55_04_9608.jpg
/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_55_9604.jpg
/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_45_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":["1401218486","1401218567","1401218444","1401218603","1401218640","1401218535"],"photo_ids_order":["1401218444","1401218486","1401218535","1401218567","1401218603","1401218640"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6476a9393e3fc261ed5d1900d3d29d5.jpg","text":"TemporaryFile(/tmp/multipartBody392836441852425169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808048153,"filename":"image_09122025_07_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/12/27/dc5d556ddef4b60357945e4ef179a7cf.jpg","text":"TemporaryFile(/tmp/multipartBody8298495507217168470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808048153,"filename":"image_09122025_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/12/27/6582d58ee7306e93f2981ed0ca7bfe48.jpg","text":"TemporaryFile(/tmp/multipartBody9147449677823959465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808048153,"filename":"image_09122025_07_55_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/733a062cf774dc063854288eb5215c2a.jpg","text":"TemporaryFile(/tmp/multipartBody342287864285922999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808048153,"filename":"image_09122025_07_54_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0903a77446a111a026a93fb12351d8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5019802220357514234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808048153,"filename":"image_09122025_07_54_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e29faf1c9ede88f351f19ae7210ede0.jpg","text":"TemporaryFile(/tmp/multipartBody386226427307055011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808048153,"filename":"image_09122025_07_55_15_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401218535","file1":"1401218486","file0":"1401218444","file4":"1401218603","file5":"1401218640","file3":"1401218567"},"map_files_photo_id_array":[{"photo_id":"1401218640","filename":"file5"},{"photo_id":"1401218535","filename":"file2"},{"photo_id":"1401218603","filename":"file4"},{"photo_id":"1401218486","filename":"file1"},{"photo_id":"1401218444","filename":"file0"},{"photo_id":"1401218567","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401218486":["hashtag1","hashtag2"]},{"1401218567":["hashtag1","hashtag2"]},{"1401218444":["hashtag1","hashtag2"]},{"1401218603":["hashtag1","hashtag2"]},{"1401218640":["hashtag1","hashtag2"]},{"1401218535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401218486, 1401218567, 1401218444, 1401218603, 1401218640, 1401218535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.397026777267456 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:00:32.426018
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_34_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_25_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_14_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/07/53/image_09122025_07_54_05_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_55_10637.jpg', 2), ('/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_44_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_34_9606.jpg', '/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_25_10618.jpg', '/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_14_9621.jpg', '/home/nano/Desktop/images/09122025/07/53/image_09122025_07_54_05_9641.jpg', '/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_55_10637.jpg', '/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_44_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_34_9606.jpg
/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_25_10618.jpg
/home/nano/Desktop/images/09122025/07/54/image_09122025_07_54_14_9621.jpg
/home/nano/Desktop/images/09122025/07/53/image_09122025_07_54_05_9641.jpg
/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_55_10637.jpg
/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_44_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401218861","1401218864","1401218858","1401218863","1401218836","1401218859"],"photo_ids_order":["1401218836","1401218858","1401218859","1401218861","1401218863","1401218864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4403c0e2b36ef78879afc6ced3bc75b9.jpg","text":"TemporaryFile(/tmp/multipartBody9076668037773537127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808093253,"filename":"image_09122025_07_54_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be56117978c922236fc78c147ccbc4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3035733252432234861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808093253,"filename":"image_09122025_07_53_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87d0488fad278402e54878c06bf0bf85.jpg","text":"TemporaryFile(/tmp/multipartBody793082187386300620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808093253,"filename":"image_09122025_07_54_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22a4f312504c180f1820e2a0673a3d84.jpg","text":"TemporaryFile(/tmp/multipartBody6248711718284039431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808093253,"filename":"image_09122025_07_53_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/919006b0f733b61b247761d126f2745b.jpg","text":"TemporaryFile(/tmp/multipartBody2516528694356423361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808093253,"filename":"image_09122025_07_54_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/12/27/d382f565d7e765cdef16bba950fedcc3.jpg","text":"TemporaryFile(/tmp/multipartBody4424649816373661982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808093253,"filename":"image_09122025_07_54_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401218859","file1":"1401218858","file0":"1401218836","file4":"1401218863","file5":"1401218864","file3":"1401218861"},"map_files_photo_id_array":[{"photo_id":"1401218864","filename":"file5"},{"photo_id":"1401218859","filename":"file2"},{"photo_id":"1401218863","filename":"file4"},{"photo_id":"1401218858","filename":"file1"},{"photo_id":"1401218836","filename":"file0"},{"photo_id":"1401218861","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401218861":["hashtag1","hashtag2"]},{"1401218864":["hashtag1","hashtag2"]},{"1401218858":["hashtag1","hashtag2"]},{"1401218863":["hashtag1","hashtag2"]},{"1401218836":["hashtag1","hashtag2"]},{"1401218859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401218861, 1401218864, 1401218858, 1401218863, 1401218836, 1401218859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62264561653137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:01:17.551770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_35_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_25_10669.jpg', 2), ('/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_14_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_53_05_9606.jpg', 2), ('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_55_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_44_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_35_9616.jpg', '/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_25_10669.jpg', '/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_14_9621.jpg', '/home/nano/Desktop/images/09122025/07/52/image_09122025_07_53_05_9606.jpg', '/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_55_10612.jpg', '/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_44_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_35_9616.jpg
/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_25_10669.jpg
/home/nano/Desktop/images/09122025/07/53/image_09122025_07_53_14_9621.jpg
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_53_05_9606.jpg
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_55_10612.jpg
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_44_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":["1401218873","1401218870","1401218921","1401218887","1401218953","1401218869"],"photo_ids_order":["1401218869","1401218870","1401218873","1401218887","1401218921","1401218953"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43ba3e8e5bbf6f997308a50d4bc8a790.jpg","text":"TemporaryFile(/tmp/multipartBody8670742492284733018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808138361,"filename":"image_09122025_07_53_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc5415385a38f01b44ed0a268e2131c0.jpg","text":"TemporaryFile(/tmp/multipartBody8761858596964144896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808138361,"filename":"image_09122025_07_53_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d00022bf4ecffb5f49faaf09fe894b43.jpg","text":"TemporaryFile(/tmp/multipartBody2692109378054813409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808138361,"filename":"image_09122025_07_52_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/824051a41e0b591473cc11577573327a.jpg","text":"TemporaryFile(/tmp/multipartBody7007460300088523738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808138361,"filename":"image_09122025_07_53_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26cc7f3e811b1b97cdc627b9407be465.jpg","text":"TemporaryFile(/tmp/multipartBody5896188333332254677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808138361,"filename":"image_09122025_07_52_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d3c5b9f4a136c8cb4714cefe3277f64.jpg","text":"TemporaryFile(/tmp/multipartBody2767061445783248202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808138361,"filename":"image_09122025_07_53_35_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401218873","file1":"1401218870","file0":"1401218869","file4":"1401218921","file5":"1401218953","file3":"1401218887"},"map_files_photo_id_array":[{"photo_id":"1401218953","filename":"file5"},{"photo_id":"1401218873","filename":"file2"},{"photo_id":"1401218921","filename":"file4"},{"photo_id":"1401218870","filename":"file1"},{"photo_id":"1401218869","filename":"file0"},{"photo_id":"1401218887","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401218873":["hashtag1","hashtag2"]},{"1401218870":["hashtag1","hashtag2"]},{"1401218921":["hashtag1","hashtag2"]},{"1401218887":["hashtag1","hashtag2"]},{"1401218953":["hashtag1","hashtag2"]},{"1401218869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401218873, 1401218870, 1401218921, 1401218887, 1401218953, 1401218869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76861333847046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:02:03.039030
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_24_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_52_05_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_54_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_45_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_35_10593.jpg', '/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_24_9590.jpg', '/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_15_9600.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_52_05_10612.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_54_9586.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_45_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_35_10593.jpg
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_24_9590.jpg
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_15_9600.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_52_05_10612.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_54_9586.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_45_10599.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7715399265289307 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:02:17.744735
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/05/02/image_27122025_05_02_54_9507.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/05/02/image_27122025_05_02_54_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/05/02/image_27122025_05_02_54_9507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401219182"],"photo_id":"1401219182","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e04e73e914e7ba8a82ceb4e50283db06.jpg","text":"TemporaryFile(/tmp/multipartBody5247087776693336875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808197989,"filename":"image_27122025_05_02_54_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401219182"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401219182"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.976547479629517 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:02:32.741563
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_35_10593.jpg', 2), ('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_24_9590.jpg', 2), ('/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_15_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_52_05_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_54_9586.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_45_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_35_10593.jpg', '/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_24_9590.jpg', '/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_15_9600.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_52_05_10612.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_54_9586.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_45_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_35_10593.jpg
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_24_9590.jpg
/home/nano/Desktop/images/09122025/07/52/image_09122025_07_52_15_9600.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_52_05_10612.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_54_9586.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_45_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401219277","1401219279","1401219282","1401219258","1401219281","1401219266"],"photo_ids_order":["1401219258","1401219266","1401219277","1401219279","1401219281","1401219282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a8b5072403f16ae34eabffb8734ba18.jpg","text":"TemporaryFile(/tmp/multipartBody8792383117735887309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808213524,"filename":"image_09122025_07_52_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8059767866f322668415f9d7be16253.jpg","text":"TemporaryFile(/tmp/multipartBody3628945539147848994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808213524,"filename":"image_09122025_07_52_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53f16e8d6db158f16d02803c6156343b.jpg","text":"TemporaryFile(/tmp/multipartBody8839200803536199355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808213524,"filename":"image_09122025_07_51_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c973e32ec52350c0a4475c9abce20770.jpg","text":"TemporaryFile(/tmp/multipartBody8480592090842003357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808213524,"filename":"image_09122025_07_52_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6309f0dab9547e155f6bc859d727574c.jpg","text":"TemporaryFile(/tmp/multipartBody6483870512257643153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808213524,"filename":"image_09122025_07_51_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aaa854ceea71bf09fd15aea6dc8584de.jpg","text":"TemporaryFile(/tmp/multipartBody6657078628134122557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808213524,"filename":"image_09122025_07_52_24_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219277","file1":"1401219266","file0":"1401219258","file4":"1401219281","file5":"1401219282","file3":"1401219279"},"map_files_photo_id_array":[{"photo_id":"1401219282","filename":"file5"},{"photo_id":"1401219277","filename":"file2"},{"photo_id":"1401219281","filename":"file4"},{"photo_id":"1401219266","filename":"file1"},{"photo_id":"1401219258","filename":"file0"},{"photo_id":"1401219279","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219277":["hashtag1","hashtag2"]},{"1401219279":["hashtag1","hashtag2"]},{"1401219282":["hashtag1","hashtag2"]},{"1401219258":["hashtag1","hashtag2"]},{"1401219281":["hashtag1","hashtag2"]},{"1401219266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219277, 1401219279, 1401219282, 1401219258, 1401219281, 1401219266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54682469367981 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:03:16.907740
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_34_9588.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_25_9593.jpg', 2), ('/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_15_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/07/50/image_09122025_07_51_04_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_55_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_34_9588.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_25_9593.jpg', '/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_15_10609.jpg', '/home/nano/Desktop/images/09122025/07/50/image_09122025_07_51_04_9622.jpg', '/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_55_10654.jpg', '/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_34_9588.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_25_9593.jpg
/home/nano/Desktop/images/09122025/07/51/image_09122025_07_51_15_10609.jpg
/home/nano/Desktop/images/09122025/07/50/image_09122025_07_51_04_9622.jpg
/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_55_10654.jpg
/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_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":["1401219292","1401219295","1401219294","1401219288","1401219290","1401219287"],"photo_ids_order":["1401219287","1401219288","1401219290","1401219292","1401219294","1401219295"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4278d1a1f8099223862c51439308106.jpg","text":"TemporaryFile(/tmp/multipartBody3931947892542076685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808257746,"filename":"image_09122025_07_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/12/27/bbfada10f126bfa0a20f7059468a68d5.jpg","text":"TemporaryFile(/tmp/multipartBody506633317360919106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808257746,"filename":"image_09122025_07_50_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/12/27/bb43136c5738f993ea1f55cd647a7602.jpg","text":"TemporaryFile(/tmp/multipartBody950348135393055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808257746,"filename":"image_09122025_07_50_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f130f3e861af1b4e2a0c51a6be803fe0.jpg","text":"TemporaryFile(/tmp/multipartBody2740449248504513645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808257746,"filename":"image_09122025_07_51_25_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f24fed49470e1c9ca7e802da02d51b38.jpg","text":"TemporaryFile(/tmp/multipartBody7933318399401492036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808257746,"filename":"image_09122025_07_51_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e54af0d88950a7babbacdb70667d8f85.jpg","text":"TemporaryFile(/tmp/multipartBody5781361096428792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808257746,"filename":"image_09122025_07_51_34_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219290","file1":"1401219288","file0":"1401219287","file4":"1401219294","file5":"1401219295","file3":"1401219292"},"map_files_photo_id_array":[{"photo_id":"1401219295","filename":"file5"},{"photo_id":"1401219290","filename":"file2"},{"photo_id":"1401219294","filename":"file4"},{"photo_id":"1401219288","filename":"file1"},{"photo_id":"1401219287","filename":"file0"},{"photo_id":"1401219292","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219292":["hashtag1","hashtag2"]},{"1401219295":["hashtag1","hashtag2"]},{"1401219294":["hashtag1","hashtag2"]},{"1401219288":["hashtag1","hashtag2"]},{"1401219290":["hashtag1","hashtag2"]},{"1401219287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219292, 1401219295, 1401219294, 1401219288, 1401219290, 1401219287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79841756820679 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:04:02.511549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_34_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_25_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_14_9671.jpg', 2), ('/home/nano/Desktop/images/09122025/07/49/image_09122025_07_50_05_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_55_10676.jpg', 2), ('/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_44_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_34_9661.jpg', '/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_25_10653.jpg', '/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_14_9671.jpg', '/home/nano/Desktop/images/09122025/07/49/image_09122025_07_50_05_9651.jpg', '/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_55_10676.jpg', '/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_44_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_34_9661.jpg
/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_25_10653.jpg
/home/nano/Desktop/images/09122025/07/50/image_09122025_07_50_14_9671.jpg
/home/nano/Desktop/images/09122025/07/49/image_09122025_07_50_05_9651.jpg
/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_55_10676.jpg
/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_44_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":["1401219302","1401219298","1401219304","1401219306","1401219309","1401219300"],"photo_ids_order":["1401219298","1401219300","1401219302","1401219304","1401219306","1401219309"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7629e00de7bb37f4db15c5a06ad5d314.jpg","text":"TemporaryFile(/tmp/multipartBody501927955971142632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808303400,"filename":"image_09122025_07_50_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/12/27/f8cc4d849f8ea75b210f729e320d2e89.jpg","text":"TemporaryFile(/tmp/multipartBody1193103533232471565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808303400,"filename":"image_09122025_07_50_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/12/27/957bec4f65a50570054d649433ad1548.jpg","text":"TemporaryFile(/tmp/multipartBody6257871536571533740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808303400,"filename":"image_09122025_07_50_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28503b2aed68c22418a6081a77b1e04b.jpg","text":"TemporaryFile(/tmp/multipartBody3611378006913737115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808303400,"filename":"image_09122025_07_49_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/367b38627cc0b4394e37bef198a256f1.jpg","text":"TemporaryFile(/tmp/multipartBody2422026575389015738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808303400,"filename":"image_09122025_07_49_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/12/27/99dfda583dd75d0eb30db87c8aa02551.jpg","text":"TemporaryFile(/tmp/multipartBody7656151961784185489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808303400,"filename":"image_09122025_07_50_25_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219302","file1":"1401219300","file0":"1401219298","file4":"1401219306","file5":"1401219309","file3":"1401219304"},"map_files_photo_id_array":[{"photo_id":"1401219309","filename":"file5"},{"photo_id":"1401219302","filename":"file2"},{"photo_id":"1401219306","filename":"file4"},{"photo_id":"1401219300","filename":"file1"},{"photo_id":"1401219298","filename":"file0"},{"photo_id":"1401219304","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219302":["hashtag1","hashtag2"]},{"1401219298":["hashtag1","hashtag2"]},{"1401219304":["hashtag1","hashtag2"]},{"1401219306":["hashtag1","hashtag2"]},{"1401219309":["hashtag1","hashtag2"]},{"1401219300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219302, 1401219298, 1401219304, 1401219306, 1401219309, 1401219300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69919013977051 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:04:46.995485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_35_9673.jpg', 2), ('/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_25_10685.jpg', 2), ('/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_14_9685.jpg', 2), ('/home/nano/Desktop/images/09122025/07/48/image_09122025_07_49_04_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_55_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_44_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_35_9673.jpg', '/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_25_10685.jpg', '/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_14_9685.jpg', '/home/nano/Desktop/images/09122025/07/48/image_09122025_07_49_04_9656.jpg', '/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_55_10653.jpg', '/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_44_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_35_9673.jpg
/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_25_10685.jpg
/home/nano/Desktop/images/09122025/07/49/image_09122025_07_49_14_9685.jpg
/home/nano/Desktop/images/09122025/07/48/image_09122025_07_49_04_9656.jpg
/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_55_10653.jpg
/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_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":["1401219320","1401219314","1401219317","1401219316","1401219318","1401219315"],"photo_ids_order":["1401219314","1401219315","1401219316","1401219317","1401219318","1401219320"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/170e90fd7886086e107c0e5fb80a3263.jpg","text":"TemporaryFile(/tmp/multipartBody2104002378590028269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808347822,"filename":"image_09122025_07_48_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/12/27/001ca722a486b917e3a437996ae147ae.jpg","text":"TemporaryFile(/tmp/multipartBody6151368558819261426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808347822,"filename":"image_09122025_07_49_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08046679bb7df49f776e9739b7455285.jpg","text":"TemporaryFile(/tmp/multipartBody985360751016720743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808347822,"filename":"image_09122025_07_49_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/12/27/72e23a21b63b5a242bb8221325c0e491.jpg","text":"TemporaryFile(/tmp/multipartBody8703015149369594701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808347822,"filename":"image_09122025_07_49_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/12/27/e3e3cd2fdc7258f98edcf553b2345d25.jpg","text":"TemporaryFile(/tmp/multipartBody5706713470513321060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808347822,"filename":"image_09122025_07_48_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ca5989c6dca0a3503a2269547370bea.jpg","text":"TemporaryFile(/tmp/multipartBody8468814678219070739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808347822,"filename":"image_09122025_07_49_25_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219316","file1":"1401219315","file0":"1401219314","file4":"1401219318","file5":"1401219320","file3":"1401219317"},"map_files_photo_id_array":[{"photo_id":"1401219320","filename":"file5"},{"photo_id":"1401219316","filename":"file2"},{"photo_id":"1401219318","filename":"file4"},{"photo_id":"1401219315","filename":"file1"},{"photo_id":"1401219314","filename":"file0"},{"photo_id":"1401219317","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219320":["hashtag1","hashtag2"]},{"1401219314":["hashtag1","hashtag2"]},{"1401219317":["hashtag1","hashtag2"]},{"1401219316":["hashtag1","hashtag2"]},{"1401219318":["hashtag1","hashtag2"]},{"1401219315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219320, 1401219314, 1401219317, 1401219316, 1401219318, 1401219315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35895323753357 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:05:32.082302
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_35_9668.jpg', 2), ('/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_25_10670.jpg', 2), ('/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_14_9694.jpg', 2), ('/home/nano/Desktop/images/09122025/07/47/image_09122025_07_48_05_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_35_9668.jpg', '/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_25_10670.jpg', '/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_14_9694.jpg', '/home/nano/Desktop/images/09122025/07/47/image_09122025_07_48_05_9629.jpg', '/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_55_10643.jpg', '/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_35_9668.jpg
/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_25_10670.jpg
/home/nano/Desktop/images/09122025/07/48/image_09122025_07_48_14_9694.jpg
/home/nano/Desktop/images/09122025/07/47/image_09122025_07_48_05_9629.jpg
/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_55_10643.jpg
/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_44_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":["1401219337","1401219331","1401219334","1401219328","1401219336","1401219330"],"photo_ids_order":["1401219328","1401219330","1401219331","1401219334","1401219336","1401219337"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c51754eb51300808c4101b0fe631f83c.jpg","text":"TemporaryFile(/tmp/multipartBody3206710899871219173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808392891,"filename":"image_09122025_07_47_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/12/27/0ab27399dccd93c5c63c95678070baad.jpg","text":"TemporaryFile(/tmp/multipartBody1372679160001345622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808392891,"filename":"image_09122025_07_48_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/12/27/9f4853c31619bab9f24734252e4d499c.jpg","text":"TemporaryFile(/tmp/multipartBody6221128065481232740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808392891,"filename":"image_09122025_07_48_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89164b2732475b813d70df02e804297b.jpg","text":"TemporaryFile(/tmp/multipartBody7973367191860666199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808392891,"filename":"image_09122025_07_48_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdf4709bd8c3b3dca99b0b52a670734d.jpg","text":"TemporaryFile(/tmp/multipartBody6467521800350314328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808392891,"filename":"image_09122025_07_47_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a406870ac1ab15aa1876f55cc1ce9cf.jpg","text":"TemporaryFile(/tmp/multipartBody6967378961918046004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808392891,"filename":"image_09122025_07_48_25_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219331","file1":"1401219330","file0":"1401219328","file4":"1401219336","file5":"1401219337","file3":"1401219334"},"map_files_photo_id_array":[{"photo_id":"1401219337","filename":"file5"},{"photo_id":"1401219331","filename":"file2"},{"photo_id":"1401219336","filename":"file4"},{"photo_id":"1401219330","filename":"file1"},{"photo_id":"1401219328","filename":"file0"},{"photo_id":"1401219334","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219337":["hashtag1","hashtag2"]},{"1401219331":["hashtag1","hashtag2"]},{"1401219334":["hashtag1","hashtag2"]},{"1401219328":["hashtag1","hashtag2"]},{"1401219336":["hashtag1","hashtag2"]},{"1401219330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219337, 1401219331, 1401219334, 1401219328, 1401219336, 1401219330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88300442695618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:06:17.210188
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_35_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_25_10666.jpg', 2), ('/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_14_9662.jpg', 2), ('/home/nano/Desktop/images/09122025/07/46/image_09122025_07_47_05_9681.jpg', 2), ('/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_55_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_44_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_35_9644.jpg', '/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_25_10666.jpg', '/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_14_9662.jpg', '/home/nano/Desktop/images/09122025/07/46/image_09122025_07_47_05_9681.jpg', '/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_55_10652.jpg', '/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_44_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_35_9644.jpg
/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_25_10666.jpg
/home/nano/Desktop/images/09122025/07/47/image_09122025_07_47_14_9662.jpg
/home/nano/Desktop/images/09122025/07/46/image_09122025_07_47_05_9681.jpg
/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_55_10652.jpg
/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_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":["1401219347","1401219349","1401219342","1401219351","1401219345","1401219344"],"photo_ids_order":["1401219342","1401219344","1401219345","1401219347","1401219349","1401219351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/779e944d0fdbb04b6da880e33580c207.jpg","text":"TemporaryFile(/tmp/multipartBody5767702186642801649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808438054,"filename":"image_09122025_07_47_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06d6418ae7ffc8a30a7fd4e4a12f87b7.jpg","text":"TemporaryFile(/tmp/multipartBody6126719090044209261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808438054,"filename":"image_09122025_07_46_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/245af295f12be5f67fd901b664c6f266.jpg","text":"TemporaryFile(/tmp/multipartBody4044465559946194537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808438054,"filename":"image_09122025_07_47_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48e300addcde09668709cb1be347ccfa.jpg","text":"TemporaryFile(/tmp/multipartBody8066816684233899473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808438054,"filename":"image_09122025_07_46_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/12/27/020e5cc88ca54be04f1235a413fa6429.jpg","text":"TemporaryFile(/tmp/multipartBody979885579363874719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808438054,"filename":"image_09122025_07_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/12/27/57d6dfd06cecf8335d636aec9326b8a2.jpg","text":"TemporaryFile(/tmp/multipartBody5911978355062294298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808438054,"filename":"image_09122025_07_47_25_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219345","file1":"1401219344","file0":"1401219342","file4":"1401219349","file5":"1401219351","file3":"1401219347"},"map_files_photo_id_array":[{"photo_id":"1401219351","filename":"file5"},{"photo_id":"1401219345","filename":"file2"},{"photo_id":"1401219349","filename":"file4"},{"photo_id":"1401219344","filename":"file1"},{"photo_id":"1401219342","filename":"file0"},{"photo_id":"1401219347","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219347":["hashtag1","hashtag2"]},{"1401219349":["hashtag1","hashtag2"]},{"1401219342":["hashtag1","hashtag2"]},{"1401219351":["hashtag1","hashtag2"]},{"1401219345":["hashtag1","hashtag2"]},{"1401219344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219347, 1401219349, 1401219342, 1401219351, 1401219345, 1401219344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75733971595764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:07:02.775598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_35_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_25_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_14_9683.jpg', 2), ('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_46_05_9680.jpg', 2), ('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_55_10633.jpg', 2), ('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_44_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_35_9650.jpg', '/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_25_10661.jpg', '/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_14_9683.jpg', '/home/nano/Desktop/images/09122025/07/45/image_09122025_07_46_05_9680.jpg', '/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_55_10633.jpg', '/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_44_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_35_9650.jpg
/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_25_10661.jpg
/home/nano/Desktop/images/09122025/07/46/image_09122025_07_46_14_9683.jpg
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_46_05_9680.jpg
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_55_10633.jpg
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_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":["1401219361","1401219367","1401219369","1401219363","1401219371","1401219365"],"photo_ids_order":["1401219361","1401219363","1401219365","1401219367","1401219369","1401219371"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92e92ba7b0a733bd5ead60df7f73cf45.jpg","text":"TemporaryFile(/tmp/multipartBody717131348713224987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808483647,"filename":"image_09122025_07_46_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51fe96d1bb29e020ba5518a961a81c1b.jpg","text":"TemporaryFile(/tmp/multipartBody8016916935383650579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808483647,"filename":"image_09122025_07_46_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59f078a469e9e026100098d784093639.jpg","text":"TemporaryFile(/tmp/multipartBody5251906035277789555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808483647,"filename":"image_09122025_07_45_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/beed53117f14f7978669a83421d1fd5b.jpg","text":"TemporaryFile(/tmp/multipartBody2695389097435634512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808483647,"filename":"image_09122025_07_46_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33e612efc05e9e668c3c325b5060b935.jpg","text":"TemporaryFile(/tmp/multipartBody1181367256605884460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808483647,"filename":"image_09122025_07_45_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/12/27/91ac4891ffdd8d33aec7180254b12d78.jpg","text":"TemporaryFile(/tmp/multipartBody3884419545681216406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808483647,"filename":"image_09122025_07_46_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219365","file1":"1401219363","file0":"1401219361","file4":"1401219369","file5":"1401219371","file3":"1401219367"},"map_files_photo_id_array":[{"photo_id":"1401219371","filename":"file5"},{"photo_id":"1401219365","filename":"file2"},{"photo_id":"1401219369","filename":"file4"},{"photo_id":"1401219363","filename":"file1"},{"photo_id":"1401219361","filename":"file0"},{"photo_id":"1401219367","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219361":["hashtag1","hashtag2"]},{"1401219367":["hashtag1","hashtag2"]},{"1401219369":["hashtag1","hashtag2"]},{"1401219363":["hashtag1","hashtag2"]},{"1401219371":["hashtag1","hashtag2"]},{"1401219365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219361, 1401219367, 1401219369, 1401219363, 1401219371, 1401219365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.585129737854004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:07:47.263595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_35_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_25_10692.jpg', 2), ('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_14_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_45_05_9662.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_55_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_44_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_35_9640.jpg', '/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_25_10692.jpg', '/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_14_9655.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_45_05_9662.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_55_10634.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_44_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_35_9640.jpg
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_25_10692.jpg
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_14_9655.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_45_05_9662.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_55_10634.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_44_9656.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7107858657836914 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:08:02.763176
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_35_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_25_10692.jpg', 2), ('/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_14_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_45_05_9662.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_55_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_44_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_35_9640.jpg', '/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_25_10692.jpg', '/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_14_9655.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_45_05_9662.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_55_10634.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_44_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_35_9640.jpg
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_25_10692.jpg
/home/nano/Desktop/images/09122025/07/45/image_09122025_07_45_14_9655.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_45_05_9662.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_55_10634.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_44_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":["1401219388","1401219382","1401219390","1401219384","1401219393","1401219386"],"photo_ids_order":["1401219382","1401219384","1401219386","1401219388","1401219390","1401219393"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd01dd7afa75410ddf944bc96ced451c.jpg","text":"TemporaryFile(/tmp/multipartBody2923926834093474726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808543619,"filename":"image_09122025_07_45_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f8cf85f63d24ce3326b4311cb68952f.jpg","text":"TemporaryFile(/tmp/multipartBody8838499537717541248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808543619,"filename":"image_09122025_07_45_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47b0e6e193a293f57bb2c4ace65d4053.jpg","text":"TemporaryFile(/tmp/multipartBody1534865828578074842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808543619,"filename":"image_09122025_07_44_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9b56c95f106d6b3546d2bc8d58ef761.jpg","text":"TemporaryFile(/tmp/multipartBody6632804342405360854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808543619,"filename":"image_09122025_07_45_25_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/265e214c78a5f2ffca7a24970f0f806f.jpg","text":"TemporaryFile(/tmp/multipartBody569495327422978562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808543619,"filename":"image_09122025_07_44_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6071206d5ec4fbf943c6e7cf43a749dd.jpg","text":"TemporaryFile(/tmp/multipartBody6194926240220085062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808543619,"filename":"image_09122025_07_45_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219386","file1":"1401219384","file0":"1401219382","file4":"1401219390","file5":"1401219393","file3":"1401219388"},"map_files_photo_id_array":[{"photo_id":"1401219393","filename":"file5"},{"photo_id":"1401219386","filename":"file2"},{"photo_id":"1401219390","filename":"file4"},{"photo_id":"1401219384","filename":"file1"},{"photo_id":"1401219382","filename":"file0"},{"photo_id":"1401219388","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219388":["hashtag1","hashtag2"]},{"1401219382":["hashtag1","hashtag2"]},{"1401219390":["hashtag1","hashtag2"]},{"1401219384":["hashtag1","hashtag2"]},{"1401219393":["hashtag1","hashtag2"]},{"1401219386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219388, 1401219382, 1401219390, 1401219384, 1401219393, 1401219386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99122905731201 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:08:47.362661
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_35_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_25_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_14_9668.jpg', 2), ('/home/nano/Desktop/images/09122025/07/43/image_09122025_07_44_05_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_54_9697.jpg', 2), ('/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_44_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_35_9653.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_25_10649.jpg', '/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_14_9668.jpg', '/home/nano/Desktop/images/09122025/07/43/image_09122025_07_44_05_10650.jpg', '/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_54_9697.jpg', '/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_44_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_35_9653.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_25_10649.jpg
/home/nano/Desktop/images/09122025/07/44/image_09122025_07_44_14_9668.jpg
/home/nano/Desktop/images/09122025/07/43/image_09122025_07_44_05_10650.jpg
/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_54_9697.jpg
/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_44_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":["1401219401","1401219404","1401219400","1401219399","1401219402","1401219405"],"photo_ids_order":["1401219399","1401219400","1401219401","1401219402","1401219404","1401219405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d91bad416d7e0f815e3952eed6643405.jpg","text":"TemporaryFile(/tmp/multipartBody152733630403264883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808588187,"filename":"image_09122025_07_44_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/12/27/9804536fd4759e6fa7e7134313b8e9ba.jpg","text":"TemporaryFile(/tmp/multipartBody9152947104620688892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808588187,"filename":"image_09122025_07_43_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5805aef4fd08a5b8d832eeb37f2f9c0.jpg","text":"TemporaryFile(/tmp/multipartBody7222302149976988577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808588187,"filename":"image_09122025_07_44_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67890e7e363b67b00b2aef9df7cd7468.jpg","text":"TemporaryFile(/tmp/multipartBody9194047450720905481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808588187,"filename":"image_09122025_07_44_35_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f54e414083c2e2df4d84fa01998a0695.jpg","text":"TemporaryFile(/tmp/multipartBody5128543422204421995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808588187,"filename":"image_09122025_07_44_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/288785d73df5ca2353786085336e1e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2849422694350501530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808588187,"filename":"image_09122025_07_43_44_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219401","file1":"1401219400","file0":"1401219399","file4":"1401219404","file5":"1401219405","file3":"1401219402"},"map_files_photo_id_array":[{"photo_id":"1401219405","filename":"file5"},{"photo_id":"1401219401","filename":"file2"},{"photo_id":"1401219404","filename":"file4"},{"photo_id":"1401219400","filename":"file1"},{"photo_id":"1401219399","filename":"file0"},{"photo_id":"1401219402","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219401":["hashtag1","hashtag2"]},{"1401219404":["hashtag1","hashtag2"]},{"1401219400":["hashtag1","hashtag2"]},{"1401219399":["hashtag1","hashtag2"]},{"1401219402":["hashtag1","hashtag2"]},{"1401219405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219401, 1401219404, 1401219400, 1401219399, 1401219402, 1401219405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2221519947052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:09:32.462035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_35_10606.jpg', 2), ('/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_24_9576.jpg', 2), ('/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_15_9582.jpg', 2), ('/home/nano/Desktop/images/09122025/07/42/image_09122025_07_43_05_10590.jpg', 2), ('/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_54_9578.jpg', 2), ('/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_45_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_35_10606.jpg', '/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_24_9576.jpg', '/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_15_9582.jpg', '/home/nano/Desktop/images/09122025/07/42/image_09122025_07_43_05_10590.jpg', '/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_54_9578.jpg', '/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_45_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_35_10606.jpg
/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_24_9576.jpg
/home/nano/Desktop/images/09122025/07/43/image_09122025_07_43_15_9582.jpg
/home/nano/Desktop/images/09122025/07/42/image_09122025_07_43_05_10590.jpg
/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_54_9578.jpg
/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_45_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":["1401219419","1401219418","1401219412","1401219415","1401219414","1401219417"],"photo_ids_order":["1401219412","1401219414","1401219415","1401219417","1401219418","1401219419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/778e96dbd1263199f2f21a84aec76b7c.jpg","text":"TemporaryFile(/tmp/multipartBody639290175938165261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808633270,"filename":"image_09122025_07_42_45_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a75e1a14ed103b44a75ff9877477d62.jpg","text":"TemporaryFile(/tmp/multipartBody9125922692426302480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808633270,"filename":"image_09122025_07_42_54_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a172316a8bbb72d812e9e62f2955cdbd.jpg","text":"TemporaryFile(/tmp/multipartBody2804438729519963828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808633270,"filename":"image_09122025_07_43_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/796f7c757ef3bef2f596d308efb47f45.jpg","text":"TemporaryFile(/tmp/multipartBody5161531202519764048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808633270,"filename":"image_09122025_07_43_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f185103966f59d43182d82eec7250940.jpg","text":"TemporaryFile(/tmp/multipartBody686622556178557926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808633270,"filename":"image_09122025_07_43_24_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf5630d33e500b67683005df47837ba4.jpg","text":"TemporaryFile(/tmp/multipartBody3346996908228897334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808633270,"filename":"image_09122025_07_43_05_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219415","file1":"1401219414","file0":"1401219412","file4":"1401219418","file5":"1401219419","file3":"1401219417"},"map_files_photo_id_array":[{"photo_id":"1401219419","filename":"file5"},{"photo_id":"1401219415","filename":"file2"},{"photo_id":"1401219418","filename":"file4"},{"photo_id":"1401219414","filename":"file1"},{"photo_id":"1401219412","filename":"file0"},{"photo_id":"1401219417","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219419":["hashtag1","hashtag2"]},{"1401219418":["hashtag1","hashtag2"]},{"1401219412":["hashtag1","hashtag2"]},{"1401219415":["hashtag1","hashtag2"]},{"1401219414":["hashtag1","hashtag2"]},{"1401219417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219419, 1401219418, 1401219412, 1401219415, 1401219414, 1401219417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50937843322754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:10:17.568750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_34_9581.jpg', 2), ('/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_25_9576.jpg', 2), ('/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_15_10607.jpg', 2), ('/home/nano/Desktop/images/09122025/07/41/image_09122025_07_42_04_9580.jpg', 2), ('/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_55_10584.jpg', 2), ('/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_44_9573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_34_9581.jpg', '/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_25_9576.jpg', '/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_15_10607.jpg', '/home/nano/Desktop/images/09122025/07/41/image_09122025_07_42_04_9580.jpg', '/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_55_10584.jpg', '/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_44_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_34_9581.jpg
/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_25_9576.jpg
/home/nano/Desktop/images/09122025/07/42/image_09122025_07_42_15_10607.jpg
/home/nano/Desktop/images/09122025/07/41/image_09122025_07_42_04_9580.jpg
/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_55_10584.jpg
/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_44_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401219434","1401219428","1401219430","1401219424","1401219432","1401219426"],"photo_ids_order":["1401219424","1401219426","1401219428","1401219430","1401219432","1401219434"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96a2853f2a4e26011d3d20b1f8ff2a4c.jpg","text":"TemporaryFile(/tmp/multipartBody5818440982133089908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808678355,"filename":"image_09122025_07_41_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8fb97905857b57b694fa2e7a1780ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3501504020614828209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808678355,"filename":"image_09122025_07_42_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b36562b021f2c8e3adccc05723c557b.jpg","text":"TemporaryFile(/tmp/multipartBody8145060645274786539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808678355,"filename":"image_09122025_07_42_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a1665c60a33f9248b0249afeee3bae3.jpg","text":"TemporaryFile(/tmp/multipartBody5282167620332746980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808678355,"filename":"image_09122025_07_42_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e71e6814649a45769038a92aa4b3037.jpg","text":"TemporaryFile(/tmp/multipartBody608101895929747062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808678355,"filename":"image_09122025_07_41_55_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0324c751072a945b2e2e8e722f62501.jpg","text":"TemporaryFile(/tmp/multipartBody3958217855202624606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808678355,"filename":"image_09122025_07_42_25_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219428","file1":"1401219426","file0":"1401219424","file4":"1401219432","file5":"1401219434","file3":"1401219430"},"map_files_photo_id_array":[{"photo_id":"1401219434","filename":"file5"},{"photo_id":"1401219428","filename":"file2"},{"photo_id":"1401219432","filename":"file4"},{"photo_id":"1401219426","filename":"file1"},{"photo_id":"1401219424","filename":"file0"},{"photo_id":"1401219430","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219434":["hashtag1","hashtag2"]},{"1401219428":["hashtag1","hashtag2"]},{"1401219430":["hashtag1","hashtag2"]},{"1401219424":["hashtag1","hashtag2"]},{"1401219432":["hashtag1","hashtag2"]},{"1401219426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219434, 1401219428, 1401219430, 1401219424, 1401219432, 1401219426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04087591171265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:11:03.111340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_35_10591.jpg', 2), ('/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_24_9574.jpg', 2), ('/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_15_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/40/image_09122025_07_41_05_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_45_9718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_35_10591.jpg', '/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_24_9574.jpg', '/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_15_9634.jpg', '/home/nano/Desktop/images/09122025/07/40/image_09122025_07_41_05_10634.jpg', '/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_54_9631.jpg', '/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_45_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_35_10591.jpg
/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_24_9574.jpg
/home/nano/Desktop/images/09122025/07/41/image_09122025_07_41_15_9634.jpg
/home/nano/Desktop/images/09122025/07/40/image_09122025_07_41_05_10634.jpg
/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_54_9631.jpg
/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_45_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":["1401219446","1401219449","1401219440","1401219442","1401219439","1401219444"],"photo_ids_order":["1401219439","1401219440","1401219442","1401219444","1401219446","1401219449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b7c1dfb04b5da505a3b6290715dea40.jpg","text":"TemporaryFile(/tmp/multipartBody3230032975661673731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808723934,"filename":"image_09122025_07_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/12/27/c7db134711f2b4129f393405c0849242.jpg","text":"TemporaryFile(/tmp/multipartBody4678731485392435868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808723934,"filename":"image_09122025_07_40_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c446dc9882123788d37208b419e1ecb6.jpg","text":"TemporaryFile(/tmp/multipartBody7678485684105824378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808723934,"filename":"image_09122025_07_41_24_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b06184a89fee7c9d83a73bc93d8d472.jpg","text":"TemporaryFile(/tmp/multipartBody3703207202856769517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808723934,"filename":"image_09122025_07_41_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70ed443af6f78b3b42c78a1faa82dd86.jpg","text":"TemporaryFile(/tmp/multipartBody3848257041261328177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808723934,"filename":"image_09122025_07_41_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab8eb1428556fe7c9504ff46805b960b.jpg","text":"TemporaryFile(/tmp/multipartBody4212896509674909440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808723934,"filename":"image_09122025_07_41_05_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219442","file1":"1401219440","file0":"1401219439","file4":"1401219446","file5":"1401219449","file3":"1401219444"},"map_files_photo_id_array":[{"photo_id":"1401219449","filename":"file5"},{"photo_id":"1401219442","filename":"file2"},{"photo_id":"1401219446","filename":"file4"},{"photo_id":"1401219440","filename":"file1"},{"photo_id":"1401219439","filename":"file0"},{"photo_id":"1401219444","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219446":["hashtag1","hashtag2"]},{"1401219449":["hashtag1","hashtag2"]},{"1401219440":["hashtag1","hashtag2"]},{"1401219442":["hashtag1","hashtag2"]},{"1401219439":["hashtag1","hashtag2"]},{"1401219444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219446, 1401219449, 1401219440, 1401219442, 1401219439, 1401219444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.137775897979736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:11:47.677531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_35_10693.jpg', 2), ('/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_24_9770.jpg', 2), ('/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_14_9799.jpg', 2), ('/home/nano/Desktop/images/09122025/07/39/image_09122025_07_40_05_9788.jpg', 2), ('/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_55_9770.jpg', 2), ('/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_45_10686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_35_10693.jpg', '/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_24_9770.jpg', '/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_14_9799.jpg', '/home/nano/Desktop/images/09122025/07/39/image_09122025_07_40_05_9788.jpg', '/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_55_9770.jpg', '/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_45_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_35_10693.jpg
/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_24_9770.jpg
/home/nano/Desktop/images/09122025/07/40/image_09122025_07_40_14_9799.jpg
/home/nano/Desktop/images/09122025/07/39/image_09122025_07_40_05_9788.jpg
/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_55_9770.jpg
/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_45_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":["1401219460","1401219463","1401219457","1401219459","1401219462","1401219458"],"photo_ids_order":["1401219457","1401219458","1401219459","1401219460","1401219462","1401219463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6bc956e9a2162d228af9463a125dec3.jpg","text":"TemporaryFile(/tmp/multipartBody383445899585853039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808768546,"filename":"image_09122025_07_40_05_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f7ebff6af29f8d9f86620e8452933ab.jpg","text":"TemporaryFile(/tmp/multipartBody8007589265900421014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808768546,"filename":"image_09122025_07_39_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a833de652e3f85627ecce1a211eb04e.jpg","text":"TemporaryFile(/tmp/multipartBody4563885595839973321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808768546,"filename":"image_09122025_07_40_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6f4132ce7c5c1944e13224366b4e8ac.jpg","text":"TemporaryFile(/tmp/multipartBody4339418264550090818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808768546,"filename":"image_09122025_07_40_14_9799.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c50ff959a23294af8f95d417a991c7c3.jpg","text":"TemporaryFile(/tmp/multipartBody7400835609022217147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808768546,"filename":"image_09122025_07_39_55_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ca27dea8377f8ba1fa7231cefc4410e.jpg","text":"TemporaryFile(/tmp/multipartBody7341994479255403689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808768546,"filename":"image_09122025_07_40_24_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219459","file1":"1401219458","file0":"1401219457","file4":"1401219462","file5":"1401219463","file3":"1401219460"},"map_files_photo_id_array":[{"photo_id":"1401219463","filename":"file5"},{"photo_id":"1401219459","filename":"file2"},{"photo_id":"1401219462","filename":"file4"},{"photo_id":"1401219458","filename":"file1"},{"photo_id":"1401219457","filename":"file0"},{"photo_id":"1401219460","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219460":["hashtag1","hashtag2"]},{"1401219463":["hashtag1","hashtag2"]},{"1401219457":["hashtag1","hashtag2"]},{"1401219459":["hashtag1","hashtag2"]},{"1401219462":["hashtag1","hashtag2"]},{"1401219458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219460, 1401219463, 1401219457, 1401219459, 1401219462, 1401219458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07045865058899 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:12:31.765566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_34_9741.jpg', 2), ('/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_25_9717.jpg', 2), ('/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_15_10696.jpg', 2), ('/home/nano/Desktop/images/09122025/07/38/image_09122025_07_39_04_9676.jpg', 2), ('/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_55_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_45_10737.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_34_9741.jpg', '/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_25_9717.jpg', '/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_15_10696.jpg', '/home/nano/Desktop/images/09122025/07/38/image_09122025_07_39_04_9676.jpg', '/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_55_9638.jpg', '/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_45_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_34_9741.jpg
/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_25_9717.jpg
/home/nano/Desktop/images/09122025/07/39/image_09122025_07_39_15_10696.jpg
/home/nano/Desktop/images/09122025/07/38/image_09122025_07_39_04_9676.jpg
/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_55_9638.jpg
/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_45_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401219472","1401219480","1401219468","1401219476","1401219479","1401219470"],"photo_ids_order":["1401219468","1401219470","1401219472","1401219476","1401219479","1401219480"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6be9d610a63a5349485db8b47f32f655.jpg","text":"TemporaryFile(/tmp/multipartBody4149106307217610072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808812598,"filename":"image_09122025_07_39_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9266f3fb84024c52d8c9863257a020b2.jpg","text":"TemporaryFile(/tmp/multipartBody3371804364056512787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808812598,"filename":"image_09122025_07_38_45_10737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee278c2aad57b07408b72d034ce10114.jpg","text":"TemporaryFile(/tmp/multipartBody8611532138119662987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808812598,"filename":"image_09122025_07_39_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55336c29300fc8126cc47ae19a50b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody7662735840324654064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808812598,"filename":"image_09122025_07_39_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/12/27/d00953c7e0465fd2172d716dd4a44027.jpg","text":"TemporaryFile(/tmp/multipartBody5776412031690012417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808812598,"filename":"image_09122025_07_38_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f519f1e1ab5061ce667c9fd94e2f6f4.jpg","text":"TemporaryFile(/tmp/multipartBody3239241236278555199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808812598,"filename":"image_09122025_07_39_25_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219472","file1":"1401219470","file0":"1401219468","file4":"1401219479","file5":"1401219480","file3":"1401219476"},"map_files_photo_id_array":[{"photo_id":"1401219480","filename":"file5"},{"photo_id":"1401219472","filename":"file2"},{"photo_id":"1401219479","filename":"file4"},{"photo_id":"1401219470","filename":"file1"},{"photo_id":"1401219468","filename":"file0"},{"photo_id":"1401219476","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219472":["hashtag1","hashtag2"]},{"1401219480":["hashtag1","hashtag2"]},{"1401219468":["hashtag1","hashtag2"]},{"1401219476":["hashtag1","hashtag2"]},{"1401219479":["hashtag1","hashtag2"]},{"1401219470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219472, 1401219480, 1401219468, 1401219476, 1401219479, 1401219470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93657827377319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:13:16.844616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_34_9663.jpg', 2), ('/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_25_9695.jpg', 2), ('/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_15_10675.jpg', 2), ('/home/nano/Desktop/images/09122025/07/37/image_09122025_07_38_04_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_55_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_45_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_34_9663.jpg', '/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_25_9695.jpg', '/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_15_10675.jpg', '/home/nano/Desktop/images/09122025/07/37/image_09122025_07_38_04_9625.jpg', '/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_55_9645.jpg', '/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_45_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_34_9663.jpg
/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_25_9695.jpg
/home/nano/Desktop/images/09122025/07/38/image_09122025_07_38_15_10675.jpg
/home/nano/Desktop/images/09122025/07/37/image_09122025_07_38_04_9625.jpg
/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_55_9645.jpg
/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_45_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":["1401219500","1401219490","1401219493","1401219496","1401219498","1401219489"],"photo_ids_order":["1401219489","1401219490","1401219493","1401219496","1401219498","1401219500"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b9a5d7f5c04fbb90029f6da83b5570f.jpg","text":"TemporaryFile(/tmp/multipartBody3949572885020473768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808857665,"filename":"image_09122025_07_37_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97ae7b323682cc9c4a36461bc677d44f.jpg","text":"TemporaryFile(/tmp/multipartBody9200559950587698233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808857665,"filename":"image_09122025_07_38_25_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01bb11bbcc1b84cd5e57f6f80b734db8.jpg","text":"TemporaryFile(/tmp/multipartBody6963705147504579801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808857665,"filename":"image_09122025_07_38_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/692d5e23eeafd2611f163c0015a16567.jpg","text":"TemporaryFile(/tmp/multipartBody6954913003634981188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808857665,"filename":"image_09122025_07_38_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/12/27/cde7e344bedf77406c4dc31ee787d188.jpg","text":"TemporaryFile(/tmp/multipartBody3136128722240231652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808857665,"filename":"image_09122025_07_37_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16827e6195da7e8355df734e3f364f48.jpg","text":"TemporaryFile(/tmp/multipartBody999832908114095788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808857665,"filename":"image_09122025_07_38_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219493","file1":"1401219490","file0":"1401219489","file4":"1401219498","file5":"1401219500","file3":"1401219496"},"map_files_photo_id_array":[{"photo_id":"1401219500","filename":"file5"},{"photo_id":"1401219493","filename":"file2"},{"photo_id":"1401219498","filename":"file4"},{"photo_id":"1401219490","filename":"file1"},{"photo_id":"1401219489","filename":"file0"},{"photo_id":"1401219496","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219500":["hashtag1","hashtag2"]},{"1401219490":["hashtag1","hashtag2"]},{"1401219493":["hashtag1","hashtag2"]},{"1401219496":["hashtag1","hashtag2"]},{"1401219498":["hashtag1","hashtag2"]},{"1401219489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219500, 1401219490, 1401219493, 1401219496, 1401219498, 1401219489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.573829650878906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:14:02.628774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_34_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_15_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/07/36/image_09122025_07_37_04_9696.jpg', 2), ('/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_55_9692.jpg', 2), ('/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_45_10779.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_34_9612.jpg', '/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_25_9634.jpg', '/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_15_10642.jpg', '/home/nano/Desktop/images/09122025/07/36/image_09122025_07_37_04_9696.jpg', '/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_55_9692.jpg', '/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_45_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_34_9612.jpg
/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_25_9634.jpg
/home/nano/Desktop/images/09122025/07/37/image_09122025_07_37_15_10642.jpg
/home/nano/Desktop/images/09122025/07/36/image_09122025_07_37_04_9696.jpg
/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_55_9692.jpg
/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_45_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401219506","1401219509","1401219517","1401219511","1401219513","1401219504"],"photo_ids_order":["1401219504","1401219506","1401219509","1401219511","1401219513","1401219517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d8937d561b244315ab5bd53e2c334b6.jpg","text":"TemporaryFile(/tmp/multipartBody1795659514772282683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808903554,"filename":"image_09122025_07_37_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad38b4bf1adc3710fe987ea84567fea8.jpg","text":"TemporaryFile(/tmp/multipartBody7396018405189406446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808903554,"filename":"image_09122025_07_37_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f23e92032cc23ec96e1fe35cc187569e.jpg","text":"TemporaryFile(/tmp/multipartBody1267491067760218439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808903554,"filename":"image_09122025_07_36_45_10779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98ae3f200fc61e243f03de00edfbf47a.jpg","text":"TemporaryFile(/tmp/multipartBody4008181001582991735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808903554,"filename":"image_09122025_07_37_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2137d7ba61597a77c4d0808c1f3bb54.jpg","text":"TemporaryFile(/tmp/multipartBody6210792814660815236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808903554,"filename":"image_09122025_07_36_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2030589384a00e08f996495d728a88a3.jpg","text":"TemporaryFile(/tmp/multipartBody290208612315761894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808903554,"filename":"image_09122025_07_37_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219509","file1":"1401219506","file0":"1401219504","file4":"1401219513","file5":"1401219517","file3":"1401219511"},"map_files_photo_id_array":[{"photo_id":"1401219517","filename":"file5"},{"photo_id":"1401219509","filename":"file2"},{"photo_id":"1401219513","filename":"file4"},{"photo_id":"1401219506","filename":"file1"},{"photo_id":"1401219504","filename":"file0"},{"photo_id":"1401219511","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219506":["hashtag1","hashtag2"]},{"1401219509":["hashtag1","hashtag2"]},{"1401219517":["hashtag1","hashtag2"]},{"1401219511":["hashtag1","hashtag2"]},{"1401219513":["hashtag1","hashtag2"]},{"1401219504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219506, 1401219509, 1401219517, 1401219511, 1401219513, 1401219504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39398503303528 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:14:46.969173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_34_9766.jpg', 2), ('/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_24_9721.jpg', 2), ('/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_15_9726.jpg', 2), ('/home/nano/Desktop/images/09122025/07/35/image_09122025_07_36_05_10717.jpg', 2), ('/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_54_9945.jpg', 2), ('/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_44_9691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_34_9766.jpg', '/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_24_9721.jpg', '/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_15_9726.jpg', '/home/nano/Desktop/images/09122025/07/35/image_09122025_07_36_05_10717.jpg', '/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_54_9945.jpg', '/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_44_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_34_9766.jpg
/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_24_9721.jpg
/home/nano/Desktop/images/09122025/07/36/image_09122025_07_36_15_9726.jpg
/home/nano/Desktop/images/09122025/07/35/image_09122025_07_36_05_10717.jpg
/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_54_9945.jpg
/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_44_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":["1401219530","1401219533","1401219535","1401219529","1401219531","1401219528"],"photo_ids_order":["1401219528","1401219529","1401219530","1401219531","1401219533","1401219535"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2b4bdc6f373c3f3251dd5e114dfb844.jpg","text":"TemporaryFile(/tmp/multipartBody1297239797809750538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808947856,"filename":"image_09122025_07_36_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b46c78608ee6dd75e7e53186ef06fe7a.jpg","text":"TemporaryFile(/tmp/multipartBody5558545668810301500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808947856,"filename":"image_09122025_07_35_54_9945.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f0cc1c5f463830cc20ed520e03be506.jpg","text":"TemporaryFile(/tmp/multipartBody862252724231221150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808947856,"filename":"image_09122025_07_35_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/12/27/ae9e9f37d0991238162f2eeb94d76386.jpg","text":"TemporaryFile(/tmp/multipartBody197094022631888112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808947856,"filename":"image_09122025_07_36_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a37e4c9e249e34953980b874d0a8ee08.jpg","text":"TemporaryFile(/tmp/multipartBody2124110975304257681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808947856,"filename":"image_09122025_07_36_05_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3effe8d917b0cd9df820ed021aa7806e.jpg","text":"TemporaryFile(/tmp/multipartBody2437395550091934891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808947856,"filename":"image_09122025_07_36_34_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219530","file1":"1401219529","file0":"1401219528","file4":"1401219533","file5":"1401219535","file3":"1401219531"},"map_files_photo_id_array":[{"photo_id":"1401219535","filename":"file5"},{"photo_id":"1401219530","filename":"file2"},{"photo_id":"1401219533","filename":"file4"},{"photo_id":"1401219529","filename":"file1"},{"photo_id":"1401219528","filename":"file0"},{"photo_id":"1401219531","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219530":["hashtag1","hashtag2"]},{"1401219533":["hashtag1","hashtag2"]},{"1401219535":["hashtag1","hashtag2"]},{"1401219529":["hashtag1","hashtag2"]},{"1401219531":["hashtag1","hashtag2"]},{"1401219528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219530, 1401219533, 1401219535, 1401219529, 1401219531, 1401219528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21138906478882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:15:32.065525
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_35_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_25_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_14_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/07/34/image_09122025_07_35_05_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_54_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_45_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_35_9615.jpg', '/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_25_10620.jpg', '/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_14_9637.jpg', '/home/nano/Desktop/images/09122025/07/34/image_09122025_07_35_05_10654.jpg', '/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_54_9612.jpg', '/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_45_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_35_9615.jpg
/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_25_10620.jpg
/home/nano/Desktop/images/09122025/07/35/image_09122025_07_35_14_9637.jpg
/home/nano/Desktop/images/09122025/07/34/image_09122025_07_35_05_10654.jpg
/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_54_9612.jpg
/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_45_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":["1401219551","1401219545","1401219548","1401219552","1401219543","1401219542"],"photo_ids_order":["1401219542","1401219543","1401219545","1401219548","1401219551","1401219552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0869b03dde8c69b5de7abc646e83006.jpg","text":"TemporaryFile(/tmp/multipartBody5483328684598909666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808992906,"filename":"image_09122025_07_34_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/12/27/21c76994fa907ea3952569d83848392c.jpg","text":"TemporaryFile(/tmp/multipartBody179601115768294600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808992906,"filename":"image_09122025_07_35_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/12/27/cba22f1bfa87ebb4fed4e5d0160eedb3.jpg","text":"TemporaryFile(/tmp/multipartBody3774694256442646338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808992906,"filename":"image_09122025_07_35_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4fe59065ba74d44acc75e7ba79002c1.jpg","text":"TemporaryFile(/tmp/multipartBody9069278291144473269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808992906,"filename":"image_09122025_07_34_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/388f1390850369cdcdf44f87eff74f8d.jpg","text":"TemporaryFile(/tmp/multipartBody5713628769271091644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808992906,"filename":"image_09122025_07_35_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/667d1d32000d3c7c5f8478de426bdaa6.jpg","text":"TemporaryFile(/tmp/multipartBody8329439508014092582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766808992906,"filename":"image_09122025_07_35_35_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219545","file1":"1401219543","file0":"1401219542","file4":"1401219551","file5":"1401219552","file3":"1401219548"},"map_files_photo_id_array":[{"photo_id":"1401219552","filename":"file5"},{"photo_id":"1401219545","filename":"file2"},{"photo_id":"1401219551","filename":"file4"},{"photo_id":"1401219543","filename":"file1"},{"photo_id":"1401219542","filename":"file0"},{"photo_id":"1401219548","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219551":["hashtag1","hashtag2"]},{"1401219545":["hashtag1","hashtag2"]},{"1401219548":["hashtag1","hashtag2"]},{"1401219552":["hashtag1","hashtag2"]},{"1401219543":["hashtag1","hashtag2"]},{"1401219542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219551, 1401219545, 1401219548, 1401219552, 1401219543, 1401219542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82366681098938 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:16:17.236237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_35_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_24_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_15_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/07/33/image_09122025_07_34_05_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_54_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_45_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_35_10612.jpg', '/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_24_9610.jpg', '/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_15_9618.jpg', '/home/nano/Desktop/images/09122025/07/33/image_09122025_07_34_05_10654.jpg', '/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_54_9611.jpg', '/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_45_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_35_10612.jpg
/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_24_9610.jpg
/home/nano/Desktop/images/09122025/07/34/image_09122025_07_34_15_9618.jpg
/home/nano/Desktop/images/09122025/07/33/image_09122025_07_34_05_10654.jpg
/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_54_9611.jpg
/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_45_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":["1401219565","1401219559","1401219567","1401219561","1401219563","1401219557"],"photo_ids_order":["1401219557","1401219559","1401219561","1401219563","1401219565","1401219567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/723aae1279ada509496e7340d5e94128.jpg","text":"TemporaryFile(/tmp/multipartBody8476245443071082737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809038044,"filename":"image_09122025_07_33_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/12/27/1653471b32d83175eabfe0686413fa9a.jpg","text":"TemporaryFile(/tmp/multipartBody8856841057614922734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809038044,"filename":"image_09122025_07_34_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/12/27/3779dbcafc2315489252a4efea704ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6788238497646801509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809038044,"filename":"image_09122025_07_33_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ca675314b85037343eed05d0160b29a.jpg","text":"TemporaryFile(/tmp/multipartBody6765502633032018691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809038044,"filename":"image_09122025_07_34_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/536b624d415687f0675d7bccbed8ee1b.jpg","text":"TemporaryFile(/tmp/multipartBody1949212644368130317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809038044,"filename":"image_09122025_07_34_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0012496920d8b66e714827c12a4b41de.jpg","text":"TemporaryFile(/tmp/multipartBody6953400308181141279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809038044,"filename":"image_09122025_07_34_35_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219561","file1":"1401219559","file0":"1401219557","file4":"1401219565","file5":"1401219567","file3":"1401219563"},"map_files_photo_id_array":[{"photo_id":"1401219567","filename":"file5"},{"photo_id":"1401219561","filename":"file2"},{"photo_id":"1401219565","filename":"file4"},{"photo_id":"1401219559","filename":"file1"},{"photo_id":"1401219557","filename":"file0"},{"photo_id":"1401219563","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219565":["hashtag1","hashtag2"]},{"1401219559":["hashtag1","hashtag2"]},{"1401219567":["hashtag1","hashtag2"]},{"1401219561":["hashtag1","hashtag2"]},{"1401219563":["hashtag1","hashtag2"]},{"1401219557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219565, 1401219559, 1401219567, 1401219561, 1401219563, 1401219557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.827632188797 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:17:02.923229
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_34_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_25_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_15_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/07/32/image_09122025_07_33_04_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_55_9607.jpg', 2), ('/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_45_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_34_9604.jpg', '/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_25_9609.jpg', '/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_15_10643.jpg', '/home/nano/Desktop/images/09122025/07/32/image_09122025_07_33_04_9622.jpg', '/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_55_9607.jpg', '/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_45_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_34_9604.jpg
/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_25_9609.jpg
/home/nano/Desktop/images/09122025/07/33/image_09122025_07_33_15_10643.jpg
/home/nano/Desktop/images/09122025/07/32/image_09122025_07_33_04_9622.jpg
/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_55_9607.jpg
/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_45_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":["1401219571","1401219580","1401219577","1401219570","1401219573","1401219575"],"photo_ids_order":["1401219570","1401219571","1401219573","1401219575","1401219577","1401219580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/246eabefee3dace6bdb3d5c5798aedb0.jpg","text":"TemporaryFile(/tmp/multipartBody3504477010417498722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809083804,"filename":"image_09122025_07_33_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9753adf46a1b9f8d076931276b2c0813.jpg","text":"TemporaryFile(/tmp/multipartBody8671611387668231644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809083804,"filename":"image_09122025_07_32_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8057883eb267953da0012b45c403860.jpg","text":"TemporaryFile(/tmp/multipartBody6107340943135595609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809083804,"filename":"image_09122025_07_32_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99c8f195911629d37ba8e113a39e6693.jpg","text":"TemporaryFile(/tmp/multipartBody4317523846592393144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809083804,"filename":"image_09122025_07_33_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/12/27/6f6670bb368aae0ae1a1ad68e70c5b39.jpg","text":"TemporaryFile(/tmp/multipartBody2624703208736251081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809083804,"filename":"image_09122025_07_33_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cba9c93c397a44e67b3e208578051715.jpg","text":"TemporaryFile(/tmp/multipartBody1710536455690811412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809083804,"filename":"image_09122025_07_33_04_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219573","file1":"1401219571","file0":"1401219570","file4":"1401219577","file5":"1401219580","file3":"1401219575"},"map_files_photo_id_array":[{"photo_id":"1401219580","filename":"file5"},{"photo_id":"1401219573","filename":"file2"},{"photo_id":"1401219577","filename":"file4"},{"photo_id":"1401219571","filename":"file1"},{"photo_id":"1401219570","filename":"file0"},{"photo_id":"1401219575","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219571":["hashtag1","hashtag2"]},{"1401219580":["hashtag1","hashtag2"]},{"1401219577":["hashtag1","hashtag2"]},{"1401219570":["hashtag1","hashtag2"]},{"1401219573":["hashtag1","hashtag2"]},{"1401219575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219571, 1401219580, 1401219577, 1401219570, 1401219573, 1401219575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9384388923645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:17:47.315473
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_34_9603.jpg', 2), ('/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_25_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_14_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_32_05_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_55_10611.jpg', 2), ('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_44_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_34_9603.jpg', '/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_25_10622.jpg', '/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_14_9616.jpg', '/home/nano/Desktop/images/09122025/07/31/image_09122025_07_32_05_9625.jpg', '/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_55_10611.jpg', '/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_44_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_34_9603.jpg
/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_25_10622.jpg
/home/nano/Desktop/images/09122025/07/32/image_09122025_07_32_14_9616.jpg
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_32_05_9625.jpg
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_55_10611.jpg
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_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":["1401219595","1401219589","1401219591","1401219588","1401219593","1401219590"],"photo_ids_order":["1401219588","1401219589","1401219590","1401219591","1401219593","1401219595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/164cede71901701901f9049eee983995.jpg","text":"TemporaryFile(/tmp/multipartBody5071388725530337912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809128122,"filename":"image_09122025_07_31_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/12/27/ed8d215a0b92f25e2a87e92d11146dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7853777084929163195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809128122,"filename":"image_09122025_07_32_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0e1fe8fe73021ab47e3de5b22e14726.jpg","text":"TemporaryFile(/tmp/multipartBody1168005463200291878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809128122,"filename":"image_09122025_07_32_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d32e6ef976fef3acb98176c3b2ab219e.jpg","text":"TemporaryFile(/tmp/multipartBody5793334280548271093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809128122,"filename":"image_09122025_07_32_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/12/27/52c15e3c9ddc1050af587189d68c91d4.jpg","text":"TemporaryFile(/tmp/multipartBody5829335353819367195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809128122,"filename":"image_09122025_07_31_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce05c430aae8b101c7cc316c396136ca.jpg","text":"TemporaryFile(/tmp/multipartBody3039615805511277246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809128122,"filename":"image_09122025_07_32_14_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219590","file1":"1401219589","file0":"1401219588","file4":"1401219593","file5":"1401219595","file3":"1401219591"},"map_files_photo_id_array":[{"photo_id":"1401219595","filename":"file5"},{"photo_id":"1401219590","filename":"file2"},{"photo_id":"1401219593","filename":"file4"},{"photo_id":"1401219589","filename":"file1"},{"photo_id":"1401219588","filename":"file0"},{"photo_id":"1401219591","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219595":["hashtag1","hashtag2"]},{"1401219589":["hashtag1","hashtag2"]},{"1401219591":["hashtag1","hashtag2"]},{"1401219588":["hashtag1","hashtag2"]},{"1401219593":["hashtag1","hashtag2"]},{"1401219590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219595, 1401219589, 1401219591, 1401219588, 1401219593, 1401219590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66390419006348 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:18:32.430035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_35_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_24_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_15_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_31_05_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_54_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_45_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_35_10609.jpg', '/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_24_9614.jpg', '/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_15_9626.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_31_05_10658.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_54_9619.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_45_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_35_10609.jpg
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_24_9614.jpg
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_15_9626.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_31_05_10658.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_54_9619.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_45_9626.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6963469982147217 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:18:47.411203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_35_10609.jpg', 2), ('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_24_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_15_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_31_05_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_54_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_45_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_35_10609.jpg', '/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_24_9614.jpg', '/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_15_9626.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_31_05_10658.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_54_9619.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_45_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_35_10609.jpg
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_24_9614.jpg
/home/nano/Desktop/images/09122025/07/31/image_09122025_07_31_15_9626.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_31_05_10658.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_54_9619.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_45_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":["1401219611","1401219614","1401219610","1401219613","1401219607","1401219609"],"photo_ids_order":["1401219607","1401219609","1401219610","1401219611","1401219613","1401219614"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/679dc75d57e11c749be5b9732f52811c.jpg","text":"TemporaryFile(/tmp/multipartBody4161277461943831155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809188204,"filename":"image_09122025_07_31_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4cd6402179d3476e91bf1b2545ff356.jpg","text":"TemporaryFile(/tmp/multipartBody6102886873264821384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809188204,"filename":"image_09122025_07_30_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72c9a22c2f303dbd616732cc20a09e87.jpg","text":"TemporaryFile(/tmp/multipartBody4122868985312778501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809188204,"filename":"image_09122025_07_31_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4512d63ecd2cb61e1818ff2294a74e8.jpg","text":"TemporaryFile(/tmp/multipartBody4196968574485266394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809188204,"filename":"image_09122025_07_30_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/12/27/52249f1a3a3f15b54452e853b86848ea.jpg","text":"TemporaryFile(/tmp/multipartBody502909693640230366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809188204,"filename":"image_09122025_07_31_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/687bb3ef664019b0923ecc66b7106b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5417565523295028947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809188204,"filename":"image_09122025_07_31_24_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219610","file1":"1401219609","file0":"1401219607","file4":"1401219613","file5":"1401219614","file3":"1401219611"},"map_files_photo_id_array":[{"photo_id":"1401219614","filename":"file5"},{"photo_id":"1401219610","filename":"file2"},{"photo_id":"1401219613","filename":"file4"},{"photo_id":"1401219609","filename":"file1"},{"photo_id":"1401219607","filename":"file0"},{"photo_id":"1401219611","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219611":["hashtag1","hashtag2"]},{"1401219614":["hashtag1","hashtag2"]},{"1401219610":["hashtag1","hashtag2"]},{"1401219613":["hashtag1","hashtag2"]},{"1401219607":["hashtag1","hashtag2"]},{"1401219609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219611, 1401219614, 1401219610, 1401219613, 1401219607, 1401219609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.514904260635376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:19:32.514749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_35_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_24_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_15_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/07/29/image_09122025_07_30_05_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_54_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_45_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_35_10615.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_24_9636.jpg', '/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_15_9653.jpg', '/home/nano/Desktop/images/09122025/07/29/image_09122025_07_30_05_10653.jpg', '/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_54_9613.jpg', '/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_35_10615.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_24_9636.jpg
/home/nano/Desktop/images/09122025/07/30/image_09122025_07_30_15_9653.jpg
/home/nano/Desktop/images/09122025/07/29/image_09122025_07_30_05_10653.jpg
/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_54_9613.jpg
/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_45_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":["1401219623","1401219629","1401219622","1401219625","1401219630","1401219627"],"photo_ids_order":["1401219622","1401219623","1401219625","1401219627","1401219629","1401219630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0600b567604403e73058af01c9b0b04.jpg","text":"TemporaryFile(/tmp/multipartBody4308375692772598413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809233332,"filename":"image_09122025_07_30_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/12/27/e0b05e1033ab77eb31e6cc13e0acd40e.jpg","text":"TemporaryFile(/tmp/multipartBody2145474697720482168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809233332,"filename":"image_09122025_07_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/12/27/b87c2f61e088fa42db583292589d31da.jpg","text":"TemporaryFile(/tmp/multipartBody3225735017280124873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809233332,"filename":"image_09122025_07_30_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1ea4d22c4bb79e75b1ad1e45a64e1f8.jpg","text":"TemporaryFile(/tmp/multipartBody3235880100033181446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809233332,"filename":"image_09122025_07_30_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85fd9cb3739c810ec830c2d9ef208228.jpg","text":"TemporaryFile(/tmp/multipartBody9103088732810597238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809233332,"filename":"image_09122025_07_29_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cffdec9481c6ad5d8dcb9b9222208bd.jpg","text":"TemporaryFile(/tmp/multipartBody6517165393493368396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809233332,"filename":"image_09122025_07_30_05_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219625","file1":"1401219623","file0":"1401219622","file4":"1401219629","file5":"1401219630","file3":"1401219627"},"map_files_photo_id_array":[{"photo_id":"1401219630","filename":"file5"},{"photo_id":"1401219625","filename":"file2"},{"photo_id":"1401219629","filename":"file4"},{"photo_id":"1401219623","filename":"file1"},{"photo_id":"1401219622","filename":"file0"},{"photo_id":"1401219627","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219623":["hashtag1","hashtag2"]},{"1401219629":["hashtag1","hashtag2"]},{"1401219622":["hashtag1","hashtag2"]},{"1401219625":["hashtag1","hashtag2"]},{"1401219630":["hashtag1","hashtag2"]},{"1401219627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219623, 1401219629, 1401219622, 1401219625, 1401219630, 1401219627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7910475730896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:20:17.635003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_34_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_15_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/28/image_09122025_07_29_04_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_55_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_34_9631.jpg', '/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_25_9634.jpg', '/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_15_10650.jpg', '/home/nano/Desktop/images/09122025/07/28/image_09122025_07_29_04_9643.jpg', '/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_55_9623.jpg', '/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_34_9631.jpg
/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_25_9634.jpg
/home/nano/Desktop/images/09122025/07/29/image_09122025_07_29_15_10650.jpg
/home/nano/Desktop/images/09122025/07/28/image_09122025_07_29_04_9643.jpg
/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_55_9623.jpg
/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_45_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":["1401219643","1401219637","1401219645","1401219639","1401219636","1401219641"],"photo_ids_order":["1401219636","1401219637","1401219639","1401219641","1401219643","1401219645"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/787dc62aef063e659e7760ab2c21b32d.jpg","text":"TemporaryFile(/tmp/multipartBody2157704743034946817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809278451,"filename":"image_09122025_07_28_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45869bdfc709faccacf7b60bace245a8.jpg","text":"TemporaryFile(/tmp/multipartBody5676854593072314194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809278451,"filename":"image_09122025_07_29_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b17680dd79a763346261e2ba06db8861.jpg","text":"TemporaryFile(/tmp/multipartBody3497969621999543447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809278451,"filename":"image_09122025_07_28_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8313fb7814922cafc4bfa797f430d20d.jpg","text":"TemporaryFile(/tmp/multipartBody2759857934070876545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809278451,"filename":"image_09122025_07_29_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/506781ca27c45509eb39e60bebafd82a.jpg","text":"TemporaryFile(/tmp/multipartBody494446514894561023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809278451,"filename":"image_09122025_07_29_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/12/27/bcdd1eb75806bfb94c5a3d96c3867868.jpg","text":"TemporaryFile(/tmp/multipartBody19744168808612580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809278451,"filename":"image_09122025_07_29_04_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219639","file1":"1401219637","file0":"1401219636","file4":"1401219643","file5":"1401219645","file3":"1401219641"},"map_files_photo_id_array":[{"photo_id":"1401219645","filename":"file5"},{"photo_id":"1401219639","filename":"file2"},{"photo_id":"1401219643","filename":"file4"},{"photo_id":"1401219637","filename":"file1"},{"photo_id":"1401219636","filename":"file0"},{"photo_id":"1401219641","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219643":["hashtag1","hashtag2"]},{"1401219637":["hashtag1","hashtag2"]},{"1401219645":["hashtag1","hashtag2"]},{"1401219639":["hashtag1","hashtag2"]},{"1401219636":["hashtag1","hashtag2"]},{"1401219641":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219643, 1401219637, 1401219645, 1401219639, 1401219636, 1401219641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74657702445984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:21:03.224334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_34_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_25_10630.jpg', 2), ('/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_14_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/07/27/image_09122025_07_28_04_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_55_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_44_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_34_9615.jpg', '/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_25_10630.jpg', '/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_14_9647.jpg', '/home/nano/Desktop/images/09122025/07/27/image_09122025_07_28_04_9633.jpg', '/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_55_10634.jpg', '/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_34_9615.jpg
/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_25_10630.jpg
/home/nano/Desktop/images/09122025/07/28/image_09122025_07_28_14_9647.jpg
/home/nano/Desktop/images/09122025/07/27/image_09122025_07_28_04_9633.jpg
/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_55_10634.jpg
/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_44_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":["1401219659","1401219650","1401219652","1401219649","1401219654","1401219656"],"photo_ids_order":["1401219649","1401219650","1401219652","1401219654","1401219656","1401219659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5ef8a3ea789e4c1c45a5c7d704b8e34.jpg","text":"TemporaryFile(/tmp/multipartBody6621471137250951572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809324076,"filename":"image_09122025_07_27_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/12/27/7308cd147a3f6b817d04de8d7f7b8ede.jpg","text":"TemporaryFile(/tmp/multipartBody9183345757155588784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809324076,"filename":"image_09122025_07_28_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67c6a3b9709c73082f781defd01b2b06.jpg","text":"TemporaryFile(/tmp/multipartBody312535886533759154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809324076,"filename":"image_09122025_07_28_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/12/27/cd31a43aa066be6b5036881559e9ac35.jpg","text":"TemporaryFile(/tmp/multipartBody4220603904266350548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809324076,"filename":"image_09122025_07_28_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/12/27/01d58e0ab3d3b102e4adc84a0043edb1.jpg","text":"TemporaryFile(/tmp/multipartBody8596180775616737435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809324076,"filename":"image_09122025_07_28_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/12/27/cec352493d344dd0dd59a653feb36486.jpg","text":"TemporaryFile(/tmp/multipartBody4972182464990163695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809324076,"filename":"image_09122025_07_27_55_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219652","file1":"1401219650","file0":"1401219649","file4":"1401219656","file5":"1401219659","file3":"1401219654"},"map_files_photo_id_array":[{"photo_id":"1401219659","filename":"file5"},{"photo_id":"1401219652","filename":"file2"},{"photo_id":"1401219656","filename":"file4"},{"photo_id":"1401219650","filename":"file1"},{"photo_id":"1401219649","filename":"file0"},{"photo_id":"1401219654","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219659":["hashtag1","hashtag2"]},{"1401219650":["hashtag1","hashtag2"]},{"1401219652":["hashtag1","hashtag2"]},{"1401219649":["hashtag1","hashtag2"]},{"1401219654":["hashtag1","hashtag2"]},{"1401219656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219659, 1401219650, 1401219652, 1401219649, 1401219654, 1401219656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54134202003479 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:21:47.736714
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_35_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_25_10620.jpg', 2), ('/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_14_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/07/26/image_09122025_07_27_05_9679.jpg', 2), ('/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_55_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_35_9622.jpg', '/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_25_10620.jpg', '/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_14_9647.jpg', '/home/nano/Desktop/images/09122025/07/26/image_09122025_07_27_05_9679.jpg', '/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_55_10632.jpg', '/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_35_9622.jpg
/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_25_10620.jpg
/home/nano/Desktop/images/09122025/07/27/image_09122025_07_27_14_9647.jpg
/home/nano/Desktop/images/09122025/07/26/image_09122025_07_27_05_9679.jpg
/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_55_10632.jpg
/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_44_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":["1401219671","1401219667","1401219681","1401219675","1401219672","1401219666"],"photo_ids_order":["1401219666","1401219667","1401219671","1401219672","1401219675","1401219681"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af4da4c09e8834bbc3ce57aca017e88c.jpg","text":"TemporaryFile(/tmp/multipartBody5924837554712322877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809368540,"filename":"image_09122025_07_27_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/12/27/5de428a7fa67d87b50d788e3dc7ce305.jpg","text":"TemporaryFile(/tmp/multipartBody3098338412303073298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809368540,"filename":"image_09122025_07_27_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0842f02a91f749afb7bb043da3fbb70b.jpg","text":"TemporaryFile(/tmp/multipartBody3226963423993357627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809368540,"filename":"image_09122025_07_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/12/27/d4368582568142a8fdd53aac329cb93d.jpg","text":"TemporaryFile(/tmp/multipartBody9184952448767838452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809368540,"filename":"image_09122025_07_26_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6abc6626baa2c8f3a641734310270d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6606114787094296018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809368540,"filename":"image_09122025_07_27_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d11a4c3ad002c47a690152e5b236b951.jpg","text":"TemporaryFile(/tmp/multipartBody3338931127854349855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809368540,"filename":"image_09122025_07_27_35_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219671","file1":"1401219667","file0":"1401219666","file4":"1401219675","file5":"1401219681","file3":"1401219672"},"map_files_photo_id_array":[{"photo_id":"1401219681","filename":"file5"},{"photo_id":"1401219671","filename":"file2"},{"photo_id":"1401219675","filename":"file4"},{"photo_id":"1401219667","filename":"file1"},{"photo_id":"1401219666","filename":"file0"},{"photo_id":"1401219672","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219671":["hashtag1","hashtag2"]},{"1401219667":["hashtag1","hashtag2"]},{"1401219681":["hashtag1","hashtag2"]},{"1401219675":["hashtag1","hashtag2"]},{"1401219672":["hashtag1","hashtag2"]},{"1401219666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219671, 1401219667, 1401219681, 1401219675, 1401219672, 1401219666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35184597969055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:22:31.874295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_35_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_25_10697.jpg', 2), ('/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_14_9660.jpg', 2), ('/home/nano/Desktop/images/09122025/07/25/image_09122025_07_26_05_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_54_9600.jpg', 2), ('/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_44_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_35_9618.jpg', '/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_25_10697.jpg', '/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_14_9660.jpg', '/home/nano/Desktop/images/09122025/07/25/image_09122025_07_26_05_10635.jpg', '/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_54_9600.jpg', '/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_35_9618.jpg
/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_25_10697.jpg
/home/nano/Desktop/images/09122025/07/26/image_09122025_07_26_14_9660.jpg
/home/nano/Desktop/images/09122025/07/25/image_09122025_07_26_05_10635.jpg
/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_54_9600.jpg
/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_44_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":["1401219697","1401219701","1401219703","1401219706","1401219699","1401219705"],"photo_ids_order":["1401219697","1401219699","1401219701","1401219703","1401219705","1401219706"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a79116842cc9d0a203dcbd93d4acf6e.jpg","text":"TemporaryFile(/tmp/multipartBody7313954891222369506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809412741,"filename":"image_09122025_07_26_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ca1438bbf3a101cfa54db2979d77e38.jpg","text":"TemporaryFile(/tmp/multipartBody8566123249491082171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809412741,"filename":"image_09122025_07_26_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/12/27/0402662e22a46e85efae661ed02f9fd3.jpg","text":"TemporaryFile(/tmp/multipartBody9007538546117278009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809412741,"filename":"image_09122025_07_26_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7bd4107cdad8b60f2d921799e28078a2.jpg","text":"TemporaryFile(/tmp/multipartBody3475282736049659873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809412741,"filename":"image_09122025_07_25_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/12/27/14943ee9f32ccb20c146d5ea864ad73e.jpg","text":"TemporaryFile(/tmp/multipartBody7942390043933102255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809412741,"filename":"image_09122025_07_26_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4de8d46ee6260b5fc5493bec94e93e8b.jpg","text":"TemporaryFile(/tmp/multipartBody383709200930250872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809412741,"filename":"image_09122025_07_25_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219701","file1":"1401219699","file0":"1401219697","file4":"1401219705","file5":"1401219706","file3":"1401219703"},"map_files_photo_id_array":[{"photo_id":"1401219706","filename":"file5"},{"photo_id":"1401219701","filename":"file2"},{"photo_id":"1401219705","filename":"file4"},{"photo_id":"1401219699","filename":"file1"},{"photo_id":"1401219697","filename":"file0"},{"photo_id":"1401219703","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219697":["hashtag1","hashtag2"]},{"1401219701":["hashtag1","hashtag2"]},{"1401219703":["hashtag1","hashtag2"]},{"1401219706":["hashtag1","hashtag2"]},{"1401219699":["hashtag1","hashtag2"]},{"1401219705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219697, 1401219701, 1401219703, 1401219706, 1401219699, 1401219705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28091907501221 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:23:16.938568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_35_10622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_24_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_15_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/24/image_09122025_07_25_05_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_54_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_45_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_35_10622.jpg', '/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_24_9640.jpg', '/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_15_9634.jpg', '/home/nano/Desktop/images/09122025/07/24/image_09122025_07_25_05_10642.jpg', '/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_54_9630.jpg', '/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_45_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_35_10622.jpg
/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_24_9640.jpg
/home/nano/Desktop/images/09122025/07/25/image_09122025_07_25_15_9634.jpg
/home/nano/Desktop/images/09122025/07/24/image_09122025_07_25_05_10642.jpg
/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_54_9630.jpg
/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_45_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":["1401219751","1401219745","1401219753","1401219747","1401219755","1401219749"],"photo_ids_order":["1401219745","1401219747","1401219749","1401219751","1401219753","1401219755"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f760ce367e596a073bcc94ca17f3b82.jpg","text":"TemporaryFile(/tmp/multipartBody9133678968391056640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809457744,"filename":"image_09122025_07_25_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/060ba2dee4e762ed4a94f8379353b224.jpg","text":"TemporaryFile(/tmp/multipartBody8790414742585780041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809457744,"filename":"image_09122025_07_25_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e5a021a21a7f7205b39c948e7babfd0.jpg","text":"TemporaryFile(/tmp/multipartBody458179306514478665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809457744,"filename":"image_09122025_07_24_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/12/27/34ebaa1ea7f9879d33ab885fd03eab39.jpg","text":"TemporaryFile(/tmp/multipartBody269204840877546214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809457744,"filename":"image_09122025_07_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/12/27/5910cab8fa582ddbe777557ce4436c67.jpg","text":"TemporaryFile(/tmp/multipartBody7879896143513090756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809457744,"filename":"image_09122025_07_24_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9c84ed5cf82b3b363ee4a73e2bc2559.jpg","text":"TemporaryFile(/tmp/multipartBody311613779676456995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809457744,"filename":"image_09122025_07_25_15_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219749","file1":"1401219747","file0":"1401219745","file4":"1401219753","file5":"1401219755","file3":"1401219751"},"map_files_photo_id_array":[{"photo_id":"1401219755","filename":"file5"},{"photo_id":"1401219749","filename":"file2"},{"photo_id":"1401219753","filename":"file4"},{"photo_id":"1401219747","filename":"file1"},{"photo_id":"1401219745","filename":"file0"},{"photo_id":"1401219751","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219751":["hashtag1","hashtag2"]},{"1401219745":["hashtag1","hashtag2"]},{"1401219753":["hashtag1","hashtag2"]},{"1401219747":["hashtag1","hashtag2"]},{"1401219755":["hashtag1","hashtag2"]},{"1401219749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219751, 1401219745, 1401219753, 1401219747, 1401219755, 1401219749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19147038459778 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:24:02.712263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_35_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_24_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_15_10675.jpg', 2), ('/home/nano/Desktop/images/09122025/07/23/image_09122025_07_24_04_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_54_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_35_10644.jpg', '/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_24_9649.jpg', '/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_15_10675.jpg', '/home/nano/Desktop/images/09122025/07/23/image_09122025_07_24_04_9661.jpg', '/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_54_9628.jpg', '/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_35_10644.jpg
/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_24_9649.jpg
/home/nano/Desktop/images/09122025/07/24/image_09122025_07_24_15_10675.jpg
/home/nano/Desktop/images/09122025/07/23/image_09122025_07_24_04_9661.jpg
/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_54_9628.jpg
/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_45_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":["1401219764","1401219766","1401219769","1401219760","1401219762","1401219759"],"photo_ids_order":["1401219759","1401219760","1401219762","1401219764","1401219766","1401219769"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74ffb095ace1e208d990a2ef693060d4.jpg","text":"TemporaryFile(/tmp/multipartBody6740471642925455108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809503582,"filename":"image_09122025_07_24_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/12/27/722104f5adb36d705f6ca85a8da67387.jpg","text":"TemporaryFile(/tmp/multipartBody3965885077283297301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809503582,"filename":"image_09122025_07_23_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/12/27/5b6e75c4f8a91ec8c62e28a3ec094f23.jpg","text":"TemporaryFile(/tmp/multipartBody6716523334140144722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809503582,"filename":"image_09122025_07_23_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cdbfc4e25a56579ad9da9f4d318db3f.jpg","text":"TemporaryFile(/tmp/multipartBody8646430437180041185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809503582,"filename":"image_09122025_07_24_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/12/27/e67153e2bdb764c9f35539bc630513ec.jpg","text":"TemporaryFile(/tmp/multipartBody8711735262660025933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809503582,"filename":"image_09122025_07_24_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fb8d24f5e34b86847f2aa1d80918e5f.jpg","text":"TemporaryFile(/tmp/multipartBody5030839977936482402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809503582,"filename":"image_09122025_07_24_35_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219762","file1":"1401219760","file0":"1401219759","file4":"1401219766","file5":"1401219769","file3":"1401219764"},"map_files_photo_id_array":[{"photo_id":"1401219769","filename":"file5"},{"photo_id":"1401219762","filename":"file2"},{"photo_id":"1401219766","filename":"file4"},{"photo_id":"1401219760","filename":"file1"},{"photo_id":"1401219759","filename":"file0"},{"photo_id":"1401219764","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219764":["hashtag1","hashtag2"]},{"1401219766":["hashtag1","hashtag2"]},{"1401219769":["hashtag1","hashtag2"]},{"1401219760":["hashtag1","hashtag2"]},{"1401219762":["hashtag1","hashtag2"]},{"1401219759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219764, 1401219766, 1401219769, 1401219760, 1401219762, 1401219759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00211191177368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:24:47.054926
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_34_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_25_9674.jpg', 2), ('/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_15_10667.jpg', 2), ('/home/nano/Desktop/images/09122025/07/22/image_09122025_07_23_04_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_55_9669.jpg', 2), ('/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_45_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_34_9661.jpg', '/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_25_9674.jpg', '/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_15_10667.jpg', '/home/nano/Desktop/images/09122025/07/22/image_09122025_07_23_04_9646.jpg', '/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_55_9669.jpg', '/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_45_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_34_9661.jpg
/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_25_9674.jpg
/home/nano/Desktop/images/09122025/07/23/image_09122025_07_23_15_10667.jpg
/home/nano/Desktop/images/09122025/07/22/image_09122025_07_23_04_9646.jpg
/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_55_9669.jpg
/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_45_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":["1401219781","1401219778","1401219775","1401219780","1401219777","1401219776"],"photo_ids_order":["1401219775","1401219776","1401219777","1401219778","1401219780","1401219781"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8b641ce856a6dbb9d17e75a5ce71352.jpg","text":"TemporaryFile(/tmp/multipartBody3785327542486084393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809547889,"filename":"image_09122025_07_22_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/095a481a1c6aab417858a822685178be.jpg","text":"TemporaryFile(/tmp/multipartBody8695394480269149017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809547889,"filename":"image_09122025_07_23_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/12/27/afcf9dbf04a428f35b38e014a3f07683.jpg","text":"TemporaryFile(/tmp/multipartBody6978272571147460471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809547889,"filename":"image_09122025_07_23_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/12/27/cab60ccafaffb713b68d1d7ee9641062.jpg","text":"TemporaryFile(/tmp/multipartBody5540073318936310606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809547889,"filename":"image_09122025_07_22_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1174a98f5abccb7f899a36e38fb474d7.jpg","text":"TemporaryFile(/tmp/multipartBody6843217801919292289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809547889,"filename":"image_09122025_07_23_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13f4a86daa064068fd930fad0750081b.jpg","text":"TemporaryFile(/tmp/multipartBody2564180550455237894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809547889,"filename":"image_09122025_07_23_25_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219777","file1":"1401219776","file0":"1401219775","file4":"1401219780","file5":"1401219781","file3":"1401219778"},"map_files_photo_id_array":[{"photo_id":"1401219781","filename":"file5"},{"photo_id":"1401219777","filename":"file2"},{"photo_id":"1401219780","filename":"file4"},{"photo_id":"1401219776","filename":"file1"},{"photo_id":"1401219775","filename":"file0"},{"photo_id":"1401219778","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219781":["hashtag1","hashtag2"]},{"1401219778":["hashtag1","hashtag2"]},{"1401219775":["hashtag1","hashtag2"]},{"1401219780":["hashtag1","hashtag2"]},{"1401219777":["hashtag1","hashtag2"]},{"1401219776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219781, 1401219778, 1401219775, 1401219780, 1401219777, 1401219776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44643998146057 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:25:32.172838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_34_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_25_9616.jpg', 2), ('/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_15_10684.jpg', 2), ('/home/nano/Desktop/images/09122025/07/21/image_09122025_07_22_04_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_55_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_45_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_34_9627.jpg', '/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_25_9616.jpg', '/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_15_10684.jpg', '/home/nano/Desktop/images/09122025/07/21/image_09122025_07_22_04_9623.jpg', '/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_55_9621.jpg', '/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_45_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_34_9627.jpg
/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_25_9616.jpg
/home/nano/Desktop/images/09122025/07/22/image_09122025_07_22_15_10684.jpg
/home/nano/Desktop/images/09122025/07/21/image_09122025_07_22_04_9623.jpg
/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_55_9621.jpg
/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_45_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":["1401219790","1401219792","1401219795","1401219798","1401219797","1401219788"],"photo_ids_order":["1401219788","1401219790","1401219792","1401219795","1401219797","1401219798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8eb1ab52a9fd0be5eea47fdb7e94d068.jpg","text":"TemporaryFile(/tmp/multipartBody160952349010113204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809593001,"filename":"image_09122025_07_22_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fcfe9b4195f6deede8e47977915e08a.jpg","text":"TemporaryFile(/tmp/multipartBody8491994305256601150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809593001,"filename":"image_09122025_07_22_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/912050b044a2332ed40c555aeab24637.jpg","text":"TemporaryFile(/tmp/multipartBody385262358207346008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809593001,"filename":"image_09122025_07_22_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/12/27/5a3950873fe8f89fb781a74f593b3629.jpg","text":"TemporaryFile(/tmp/multipartBody3927498261313528551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809593001,"filename":"image_09122025_07_21_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bc5b3435548c2e5bf465fec402b2829.jpg","text":"TemporaryFile(/tmp/multipartBody2123086098331300636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809593001,"filename":"image_09122025_07_21_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0932119826da031e7aeda52a6a8d515.jpg","text":"TemporaryFile(/tmp/multipartBody2899531744366010781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809593001,"filename":"image_09122025_07_22_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219792","file1":"1401219790","file0":"1401219788","file4":"1401219797","file5":"1401219798","file3":"1401219795"},"map_files_photo_id_array":[{"photo_id":"1401219798","filename":"file5"},{"photo_id":"1401219792","filename":"file2"},{"photo_id":"1401219797","filename":"file4"},{"photo_id":"1401219790","filename":"file1"},{"photo_id":"1401219788","filename":"file0"},{"photo_id":"1401219795","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219790":["hashtag1","hashtag2"]},{"1401219792":["hashtag1","hashtag2"]},{"1401219795":["hashtag1","hashtag2"]},{"1401219798":["hashtag1","hashtag2"]},{"1401219797":["hashtag1","hashtag2"]},{"1401219788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219790, 1401219792, 1401219795, 1401219798, 1401219797, 1401219788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66766357421875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:26:17.256577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_34_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_25_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_14_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/07/20/image_09122025_07_21_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_55_10612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_44_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_34_9639.jpg', '/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_25_10621.jpg', '/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_14_9638.jpg', '/home/nano/Desktop/images/09122025/07/20/image_09122025_07_21_04_9637.jpg', '/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_55_10612.jpg', '/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_34_9639.jpg
/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_25_10621.jpg
/home/nano/Desktop/images/09122025/07/21/image_09122025_07_21_14_9638.jpg
/home/nano/Desktop/images/09122025/07/20/image_09122025_07_21_04_9637.jpg
/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_55_10612.jpg
/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_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":["1401219803","1401219809","1401219811","1401219805","1401219813","1401219807"],"photo_ids_order":["1401219803","1401219805","1401219807","1401219809","1401219811","1401219813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22c519894b6baa3b6e084d881062aee9.jpg","text":"TemporaryFile(/tmp/multipartBody8005917387162744155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809638058,"filename":"image_09122025_07_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/12/27/99e80b7cf33bfe901fc280a54a187f9b.jpg","text":"TemporaryFile(/tmp/multipartBody6702971061661178677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809638058,"filename":"image_09122025_07_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/12/27/44ce908b8a63dcd69e8b242b4280671f.jpg","text":"TemporaryFile(/tmp/multipartBody5737748846285115109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809638058,"filename":"image_09122025_07_20_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7159ec27e3dd282ad326eaada62cd388.jpg","text":"TemporaryFile(/tmp/multipartBody3284765213192704008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809638058,"filename":"image_09122025_07_21_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70cc7762638493491a3a4fe70389c92a.jpg","text":"TemporaryFile(/tmp/multipartBody8251785294917062981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809638058,"filename":"image_09122025_07_20_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/12/27/651976eaa9198fcc92aa5502cdc27914.jpg","text":"TemporaryFile(/tmp/multipartBody6049298200992421536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809638058,"filename":"image_09122025_07_21_14_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219807","file1":"1401219805","file0":"1401219803","file4":"1401219811","file5":"1401219813","file3":"1401219809"},"map_files_photo_id_array":[{"photo_id":"1401219813","filename":"file5"},{"photo_id":"1401219807","filename":"file2"},{"photo_id":"1401219811","filename":"file4"},{"photo_id":"1401219805","filename":"file1"},{"photo_id":"1401219803","filename":"file0"},{"photo_id":"1401219809","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219803":["hashtag1","hashtag2"]},{"1401219809":["hashtag1","hashtag2"]},{"1401219811":["hashtag1","hashtag2"]},{"1401219805":["hashtag1","hashtag2"]},{"1401219813":["hashtag1","hashtag2"]},{"1401219807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219803, 1401219809, 1401219811, 1401219805, 1401219813, 1401219807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12173843383789 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:27:02.971697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_35_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_25_10606.jpg', 2), ('/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_14_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_20_05_10638.jpg', 2), ('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_35_9622.jpg', '/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_25_10606.jpg', '/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_14_9628.jpg', '/home/nano/Desktop/images/09122025/07/19/image_09122025_07_20_05_10638.jpg', '/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_54_9633.jpg', '/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_35_9622.jpg
/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_25_10606.jpg
/home/nano/Desktop/images/09122025/07/20/image_09122025_07_20_14_9628.jpg
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_20_05_10638.jpg
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_54_9633.jpg
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_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":["1401219836","1401219827","1401219829","1401219831","1401219825","1401219833"],"photo_ids_order":["1401219825","1401219827","1401219829","1401219831","1401219833","1401219836"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f796f97a0e2fc7fa842940356c4d150d.jpg","text":"TemporaryFile(/tmp/multipartBody585784144077857918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809683846,"filename":"image_09122025_07_19_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/12/27/977974d19744087d1c7f94523677950b.jpg","text":"TemporaryFile(/tmp/multipartBody5071345423825845331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809683846,"filename":"image_09122025_07_20_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cae43c99fce407548c653deb5412f71d.jpg","text":"TemporaryFile(/tmp/multipartBody3655384989572920492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809683846,"filename":"image_09122025_07_20_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/12/27/98f3c5724393d1cfdbf8d98570827f30.jpg","text":"TemporaryFile(/tmp/multipartBody7738196734868268689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809683846,"filename":"image_09122025_07_20_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b70918953728fdd5e2fe6c8e8997693.jpg","text":"TemporaryFile(/tmp/multipartBody6631897896814809289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809683846,"filename":"image_09122025_07_20_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b8710b5a644c22b232ba12363355caf.jpg","text":"TemporaryFile(/tmp/multipartBody3388725545120469879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809683846,"filename":"image_09122025_07_19_54_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219829","file1":"1401219827","file0":"1401219825","file4":"1401219833","file5":"1401219836","file3":"1401219831"},"map_files_photo_id_array":[{"photo_id":"1401219836","filename":"file5"},{"photo_id":"1401219829","filename":"file2"},{"photo_id":"1401219833","filename":"file4"},{"photo_id":"1401219827","filename":"file1"},{"photo_id":"1401219825","filename":"file0"},{"photo_id":"1401219831","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219836":["hashtag1","hashtag2"]},{"1401219827":["hashtag1","hashtag2"]},{"1401219829":["hashtag1","hashtag2"]},{"1401219831":["hashtag1","hashtag2"]},{"1401219825":["hashtag1","hashtag2"]},{"1401219833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219836, 1401219827, 1401219829, 1401219831, 1401219825, 1401219833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31215310096741 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:27:47.369256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_35_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_24_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_15_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_19_05_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_54_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_35_10640.jpg', '/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_24_9628.jpg', '/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_15_9637.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_19_05_10636.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_54_9622.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_35_10640.jpg
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_24_9628.jpg
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_15_9637.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_19_05_10636.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_54_9622.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_45_9605.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7146456241607666 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:28:02.735784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_35_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_24_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_15_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_19_05_10636.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_54_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_35_10640.jpg', '/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_24_9628.jpg', '/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_15_9637.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_19_05_10636.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_54_9622.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_35_10640.jpg
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_24_9628.jpg
/home/nano/Desktop/images/09122025/07/19/image_09122025_07_19_15_9637.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_19_05_10636.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_54_9622.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_45_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":["1401219857","1401219853","1401219847","1401219855","1401219849","1401219851"],"photo_ids_order":["1401219847","1401219849","1401219851","1401219853","1401219855","1401219857"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af8e5fd2fc27b34eec9f46ba42981dc4.jpg","text":"TemporaryFile(/tmp/multipartBody6405395383444055565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809743559,"filename":"image_09122025_07_18_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3233ffd5ef8387f0b79fd9e19574873.jpg","text":"TemporaryFile(/tmp/multipartBody8989959388358370109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809743559,"filename":"image_09122025_07_19_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/237ab2452247ebe9853abd708a7d957f.jpg","text":"TemporaryFile(/tmp/multipartBody3483112024473880739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809743559,"filename":"image_09122025_07_19_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05bf26564384abef996a9ba6a56a68f5.jpg","text":"TemporaryFile(/tmp/multipartBody4569004114084804861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809743559,"filename":"image_09122025_07_18_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/12/27/2bf640a0883ce6fcbc91725cfbdd3a2d.jpg","text":"TemporaryFile(/tmp/multipartBody6534592026656510355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809743559,"filename":"image_09122025_07_19_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/12/27/bb06da41ff3b297c0c1c01be340c15b8.jpg","text":"TemporaryFile(/tmp/multipartBody2852448717148153263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809743559,"filename":"image_09122025_07_19_15_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219851","file1":"1401219849","file0":"1401219847","file4":"1401219855","file5":"1401219857","file3":"1401219853"},"map_files_photo_id_array":[{"photo_id":"1401219857","filename":"file5"},{"photo_id":"1401219851","filename":"file2"},{"photo_id":"1401219855","filename":"file4"},{"photo_id":"1401219849","filename":"file1"},{"photo_id":"1401219847","filename":"file0"},{"photo_id":"1401219853","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219857":["hashtag1","hashtag2"]},{"1401219853":["hashtag1","hashtag2"]},{"1401219847":["hashtag1","hashtag2"]},{"1401219855":["hashtag1","hashtag2"]},{"1401219849":["hashtag1","hashtag2"]},{"1401219851":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219857, 1401219853, 1401219847, 1401219855, 1401219849, 1401219851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94627523422241 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:28:47.487807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_35_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_24_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_15_10688.jpg', 2), ('/home/nano/Desktop/images/09122025/07/17/image_09122025_07_18_04_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_55_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_45_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_35_10632.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_24_9628.jpg', '/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_15_10688.jpg', '/home/nano/Desktop/images/09122025/07/17/image_09122025_07_18_04_9631.jpg', '/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_55_9615.jpg', '/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_45_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_35_10632.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_24_9628.jpg
/home/nano/Desktop/images/09122025/07/18/image_09122025_07_18_15_10688.jpg
/home/nano/Desktop/images/09122025/07/17/image_09122025_07_18_04_9631.jpg
/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_55_9615.jpg
/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_45_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":["1401219863","1401219865","1401219867","1401219870","1401219864","1401219866"],"photo_ids_order":["1401219863","1401219864","1401219865","1401219866","1401219867","1401219870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1aa4cb7a15aaa3270f6fb47ae3bdeb74.jpg","text":"TemporaryFile(/tmp/multipartBody4809051490946559449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809788315,"filename":"image_09122025_07_18_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76c43d7694a0d22c16261e52ba97a005.jpg","text":"TemporaryFile(/tmp/multipartBody7872436496806346962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809788315,"filename":"image_09122025_07_18_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/550ca913531749d734ae98455ff0b1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8007862256840497417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809788315,"filename":"image_09122025_07_17_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00c7e7305c870c30593a883284c85885.jpg","text":"TemporaryFile(/tmp/multipartBody3785967633300194937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809788315,"filename":"image_09122025_07_17_45_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a355791494717cabf8450076adb0df08.jpg","text":"TemporaryFile(/tmp/multipartBody5001979765259172196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809788315,"filename":"image_09122025_07_18_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/12/27/ab2f7aecde437795c6a1f07c73847bf5.jpg","text":"TemporaryFile(/tmp/multipartBody3733566833688781142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809788315,"filename":"image_09122025_07_18_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219865","file1":"1401219864","file0":"1401219863","file4":"1401219867","file5":"1401219870","file3":"1401219866"},"map_files_photo_id_array":[{"photo_id":"1401219870","filename":"file5"},{"photo_id":"1401219865","filename":"file2"},{"photo_id":"1401219867","filename":"file4"},{"photo_id":"1401219864","filename":"file1"},{"photo_id":"1401219863","filename":"file0"},{"photo_id":"1401219866","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219863":["hashtag1","hashtag2"]},{"1401219865":["hashtag1","hashtag2"]},{"1401219867":["hashtag1","hashtag2"]},{"1401219870":["hashtag1","hashtag2"]},{"1401219864":["hashtag1","hashtag2"]},{"1401219866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219863, 1401219865, 1401219867, 1401219870, 1401219864, 1401219866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.677425146102905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:29:32.703449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_34_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_25_9628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_15_10667.jpg', 2), ('/home/nano/Desktop/images/09122025/07/16/image_09122025_07_17_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_55_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_45_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_34_9613.jpg', '/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_25_9628.jpg', '/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_15_10667.jpg', '/home/nano/Desktop/images/09122025/07/16/image_09122025_07_17_04_9638.jpg', '/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_55_9612.jpg', '/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_45_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_34_9613.jpg
/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_25_9628.jpg
/home/nano/Desktop/images/09122025/07/17/image_09122025_07_17_15_10667.jpg
/home/nano/Desktop/images/09122025/07/16/image_09122025_07_17_04_9638.jpg
/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_55_9612.jpg
/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_45_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":["1401219914","1401219911","1401219883","1401219894","1401219915","1401219881"],"photo_ids_order":["1401219881","1401219883","1401219894","1401219911","1401219914","1401219915"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/608e2d595b8fa2515ca10524b4b64401.jpg","text":"TemporaryFile(/tmp/multipartBody1615478947276546932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809833512,"filename":"image_09122025_07_16_55_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3194f006e17477beea6ba418455ad73f.jpg","text":"TemporaryFile(/tmp/multipartBody7822483066688314459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809833512,"filename":"image_09122025_07_17_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/12/27/61be62c674be9b924a9ba6f7c6f3fadc.jpg","text":"TemporaryFile(/tmp/multipartBody1556354477801883899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809833512,"filename":"image_09122025_07_17_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d49aeac81159a8484d61c11526bb98e7.jpg","text":"TemporaryFile(/tmp/multipartBody5302583202317192757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809833512,"filename":"image_09122025_07_17_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a98f00b91f0356a87edac3f6be580447.jpg","text":"TemporaryFile(/tmp/multipartBody6502832574494889953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809833512,"filename":"image_09122025_07_16_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20aaee4a0be333c5540779f2c24df6a8.jpg","text":"TemporaryFile(/tmp/multipartBody1182801697442250407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809833512,"filename":"image_09122025_07_17_34_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219894","file1":"1401219883","file0":"1401219881","file4":"1401219914","file5":"1401219915","file3":"1401219911"},"map_files_photo_id_array":[{"photo_id":"1401219915","filename":"file5"},{"photo_id":"1401219894","filename":"file2"},{"photo_id":"1401219914","filename":"file4"},{"photo_id":"1401219883","filename":"file1"},{"photo_id":"1401219881","filename":"file0"},{"photo_id":"1401219911","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219914":["hashtag1","hashtag2"]},{"1401219911":["hashtag1","hashtag2"]},{"1401219883":["hashtag1","hashtag2"]},{"1401219894":["hashtag1","hashtag2"]},{"1401219915":["hashtag1","hashtag2"]},{"1401219881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219914, 1401219911, 1401219883, 1401219894, 1401219915, 1401219881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71443033218384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:30:17.653433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_34_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_25_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_14_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/07/15/image_09122025_07_16_05_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_55_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_44_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_34_9621.jpg', '/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_25_10631.jpg', '/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_14_9661.jpg', '/home/nano/Desktop/images/09122025/07/15/image_09122025_07_16_05_9642.jpg', '/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_55_10625.jpg', '/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_34_9621.jpg
/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_25_10631.jpg
/home/nano/Desktop/images/09122025/07/16/image_09122025_07_16_14_9661.jpg
/home/nano/Desktop/images/09122025/07/15/image_09122025_07_16_05_9642.jpg
/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_55_10625.jpg
/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_44_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":["1401219935","1401219929","1401219923","1401219926","1401219922","1401219932"],"photo_ids_order":["1401219922","1401219923","1401219926","1401219929","1401219932","1401219935"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6e689a93e5a61a618e3d8329090d214.jpg","text":"TemporaryFile(/tmp/multipartBody4958771329933129467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809878496,"filename":"image_09122025_07_15_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/12/27/ed126f37b09c0842f6131de8eea03b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8485123190871724883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809878496,"filename":"image_09122025_07_16_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/363ab03bee9f67b3740d08ba5417bd2e.jpg","text":"TemporaryFile(/tmp/multipartBody3700485557258512036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809878496,"filename":"image_09122025_07_16_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/183935bd8ec952e137d2337acd36682a.jpg","text":"TemporaryFile(/tmp/multipartBody8053946081207137996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809878496,"filename":"image_09122025_07_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/12/27/10be4388db89b7eae851d49f2fbba75b.jpg","text":"TemporaryFile(/tmp/multipartBody157601930944454885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809878496,"filename":"image_09122025_07_16_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/12/27/35cebe4026a590ba6e64227c26ed2b00.jpg","text":"TemporaryFile(/tmp/multipartBody1656352161166126070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809878496,"filename":"image_09122025_07_15_55_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219926","file1":"1401219923","file0":"1401219922","file4":"1401219932","file5":"1401219935","file3":"1401219929"},"map_files_photo_id_array":[{"photo_id":"1401219935","filename":"file5"},{"photo_id":"1401219926","filename":"file2"},{"photo_id":"1401219932","filename":"file4"},{"photo_id":"1401219923","filename":"file1"},{"photo_id":"1401219922","filename":"file0"},{"photo_id":"1401219929","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219935":["hashtag1","hashtag2"]},{"1401219929":["hashtag1","hashtag2"]},{"1401219923":["hashtag1","hashtag2"]},{"1401219926":["hashtag1","hashtag2"]},{"1401219922":["hashtag1","hashtag2"]},{"1401219932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219935, 1401219929, 1401219923, 1401219926, 1401219922, 1401219932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.424280643463135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:31:02.341708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_35_9604.jpg', 2), ('/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_25_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_14_9612.jpg', 2), ('/home/nano/Desktop/images/09122025/07/14/image_09122025_07_15_05_10629.jpg', 2), ('/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_45_9678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_35_9604.jpg', '/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_25_10627.jpg', '/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_14_9612.jpg', '/home/nano/Desktop/images/09122025/07/14/image_09122025_07_15_05_10629.jpg', '/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_54_9631.jpg', '/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_45_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_35_9604.jpg
/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_25_10627.jpg
/home/nano/Desktop/images/09122025/07/15/image_09122025_07_15_14_9612.jpg
/home/nano/Desktop/images/09122025/07/14/image_09122025_07_15_05_10629.jpg
/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_54_9631.jpg
/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_45_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":["1401219941","1401219944","1401219943","1401219940","1401219942","1401219947"],"photo_ids_order":["1401219940","1401219941","1401219942","1401219943","1401219944","1401219947"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1d521fd61f2672a22074a806daf3989.jpg","text":"TemporaryFile(/tmp/multipartBody5650447873455065026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809923235,"filename":"image_09122025_07_15_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b869f93aa2ea55d4e3f245705494f44.jpg","text":"TemporaryFile(/tmp/multipartBody2930399460960470651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809923235,"filename":"image_09122025_07_14_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/12/27/80f9fae42d065971e659f0a134e1030f.jpg","text":"TemporaryFile(/tmp/multipartBody5551148722577346662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809923235,"filename":"image_09122025_07_15_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7218172a5cc83ab04037863a5e23a2a.jpg","text":"TemporaryFile(/tmp/multipartBody1141093384913132781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809923235,"filename":"image_09122025_07_15_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86ba2b339dd807d8a22325ad770ba496.jpg","text":"TemporaryFile(/tmp/multipartBody6161629686610708422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809923235,"filename":"image_09122025_07_15_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/12/27/f900969ba4cd32a52d187e30986e8384.jpg","text":"TemporaryFile(/tmp/multipartBody381014310825211376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809923235,"filename":"image_09122025_07_14_45_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219942","file1":"1401219941","file0":"1401219940","file4":"1401219944","file5":"1401219947","file3":"1401219943"},"map_files_photo_id_array":[{"photo_id":"1401219947","filename":"file5"},{"photo_id":"1401219942","filename":"file2"},{"photo_id":"1401219944","filename":"file4"},{"photo_id":"1401219941","filename":"file1"},{"photo_id":"1401219940","filename":"file0"},{"photo_id":"1401219943","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219941":["hashtag1","hashtag2"]},{"1401219944":["hashtag1","hashtag2"]},{"1401219943":["hashtag1","hashtag2"]},{"1401219940":["hashtag1","hashtag2"]},{"1401219942":["hashtag1","hashtag2"]},{"1401219947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219941, 1401219944, 1401219943, 1401219940, 1401219942, 1401219947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.346104860305786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:31:46.797685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_35_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_24_9608.jpg', 2), ('/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_15_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/07/13/image_09122025_07_14_05_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_54_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_45_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_35_10618.jpg', '/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_24_9608.jpg', '/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_15_9622.jpg', '/home/nano/Desktop/images/09122025/07/13/image_09122025_07_14_05_10632.jpg', '/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_54_9626.jpg', '/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_45_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_35_10618.jpg
/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_24_9608.jpg
/home/nano/Desktop/images/09122025/07/14/image_09122025_07_14_15_9622.jpg
/home/nano/Desktop/images/09122025/07/13/image_09122025_07_14_05_10632.jpg
/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_54_9626.jpg
/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_45_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":["1401219962","1401219961","1401219958","1401219960","1401219963","1401219959"],"photo_ids_order":["1401219958","1401219959","1401219960","1401219961","1401219962","1401219963"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d47545fc4beed7ae489627f495c2b35.jpg","text":"TemporaryFile(/tmp/multipartBody6521584233128485278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809967623,"filename":"image_09122025_07_13_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/12/27/1e84ff1a611b4b9bd512147c85e49149.jpg","text":"TemporaryFile(/tmp/multipartBody992506316593855460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809967623,"filename":"image_09122025_07_14_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adf30364a97727e4e49d2d80f311b54a.jpg","text":"TemporaryFile(/tmp/multipartBody8555069391077257817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809967623,"filename":"image_09122025_07_14_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67f9e7657ec4e74b6a130ec703201e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1706307665428597428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809967623,"filename":"image_09122025_07_14_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab4b4b470c483343bd04730fee545d12.jpg","text":"TemporaryFile(/tmp/multipartBody9125130681123049378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809967623,"filename":"image_09122025_07_13_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df8317e82203f2705327e1ec07a82371.jpg","text":"TemporaryFile(/tmp/multipartBody8273049344647296928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766809967623,"filename":"image_09122025_07_14_24_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219960","file1":"1401219959","file0":"1401219958","file4":"1401219962","file5":"1401219963","file3":"1401219961"},"map_files_photo_id_array":[{"photo_id":"1401219963","filename":"file5"},{"photo_id":"1401219960","filename":"file2"},{"photo_id":"1401219962","filename":"file4"},{"photo_id":"1401219959","filename":"file1"},{"photo_id":"1401219958","filename":"file0"},{"photo_id":"1401219961","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219962":["hashtag1","hashtag2"]},{"1401219961":["hashtag1","hashtag2"]},{"1401219958":["hashtag1","hashtag2"]},{"1401219960":["hashtag1","hashtag2"]},{"1401219963":["hashtag1","hashtag2"]},{"1401219959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219962, 1401219961, 1401219958, 1401219960, 1401219963, 1401219959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00329327583313 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:32:31.936149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_34_9602.jpg', 2), ('/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_25_9615.jpg', 2), ('/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_15_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/07/12/image_09122025_07_13_04_9594.jpg', 2), ('/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_55_10616.jpg', 2), ('/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_44_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_34_9602.jpg', '/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_25_9615.jpg', '/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_15_10623.jpg', '/home/nano/Desktop/images/09122025/07/12/image_09122025_07_13_04_9594.jpg', '/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_55_10616.jpg', '/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_44_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_34_9602.jpg
/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_25_9615.jpg
/home/nano/Desktop/images/09122025/07/13/image_09122025_07_13_15_10623.jpg
/home/nano/Desktop/images/09122025/07/12/image_09122025_07_13_04_9594.jpg
/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_55_10616.jpg
/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_44_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":["1401219976","1401219973","1401219984","1401219981","1401219978","1401219983"],"photo_ids_order":["1401219973","1401219976","1401219978","1401219981","1401219983","1401219984"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d229c4a52d0a368eca77f6a190b194d.jpg","text":"TemporaryFile(/tmp/multipartBody2174015630383999586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810012766,"filename":"image_09122025_07_13_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c710de721ffc83d68454e82c7262430b.jpg","text":"TemporaryFile(/tmp/multipartBody2315869292177074803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810012766,"filename":"image_09122025_07_13_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/12/27/239d056ac6b0c873919802e01ecda404.jpg","text":"TemporaryFile(/tmp/multipartBody4358812046732117373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810012766,"filename":"image_09122025_07_12_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be17953144fedf0ffe3ad2ccfc58fdc6.jpg","text":"TemporaryFile(/tmp/multipartBody4643998226423739343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810012766,"filename":"image_09122025_07_13_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/12/27/58a2ad64eff2d1a2d4195f8361e46a52.jpg","text":"TemporaryFile(/tmp/multipartBody7121569331478590714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810012766,"filename":"image_09122025_07_13_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1559ed3ab11d71c6f81372d58a65204.jpg","text":"TemporaryFile(/tmp/multipartBody6105054420012287503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810012766,"filename":"image_09122025_07_12_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219978","file1":"1401219976","file0":"1401219973","file4":"1401219983","file5":"1401219984","file3":"1401219981"},"map_files_photo_id_array":[{"photo_id":"1401219984","filename":"file5"},{"photo_id":"1401219978","filename":"file2"},{"photo_id":"1401219983","filename":"file4"},{"photo_id":"1401219976","filename":"file1"},{"photo_id":"1401219973","filename":"file0"},{"photo_id":"1401219981","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219976":["hashtag1","hashtag2"]},{"1401219973":["hashtag1","hashtag2"]},{"1401219984":["hashtag1","hashtag2"]},{"1401219981":["hashtag1","hashtag2"]},{"1401219978":["hashtag1","hashtag2"]},{"1401219983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219976, 1401219973, 1401219984, 1401219981, 1401219978, 1401219983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40134835243225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:33:17.045921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_35_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_25_10632.jpg', 2), ('/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/07/11/image_09122025_07_12_05_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_55_10631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_44_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_35_9611.jpg', '/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_25_10632.jpg', '/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_14_9648.jpg', '/home/nano/Desktop/images/09122025/07/11/image_09122025_07_12_05_9623.jpg', '/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_55_10631.jpg', '/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_35_9611.jpg
/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_25_10632.jpg
/home/nano/Desktop/images/09122025/07/12/image_09122025_07_12_14_9648.jpg
/home/nano/Desktop/images/09122025/07/11/image_09122025_07_12_05_9623.jpg
/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_55_10631.jpg
/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_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":["1401219997","1401219985","1401219995","1401219992","1401219986","1401219989"],"photo_ids_order":["1401219985","1401219986","1401219989","1401219992","1401219995","1401219997"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a5ff0df600d8f6299ae07729503a176.jpg","text":"TemporaryFile(/tmp/multipartBody969569715651258978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810057847,"filename":"image_09122025_07_11_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/12/27/2472d3d9d320aa7348681b71b6def27b.jpg","text":"TemporaryFile(/tmp/multipartBody5972813271100507377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810057847,"filename":"image_09122025_07_12_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a212be372a25201dab90b7b3779ae19d.jpg","text":"TemporaryFile(/tmp/multipartBody6240274622723134282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810057847,"filename":"image_09122025_07_11_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7c2d79e2a709c21cdd8162c1e1a7c90.jpg","text":"TemporaryFile(/tmp/multipartBody1695969862937055025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810057847,"filename":"image_09122025_07_12_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89241905e6a1db34307f73c1cae1dff0.jpg","text":"TemporaryFile(/tmp/multipartBody1465946818737178206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810057847,"filename":"image_09122025_07_12_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5bb38ef2cb4eb898aea7565293fe838c.jpg","text":"TemporaryFile(/tmp/multipartBody2300396711185805008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810057847,"filename":"image_09122025_07_12_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401219989","file1":"1401219986","file0":"1401219985","file4":"1401219995","file5":"1401219997","file3":"1401219992"},"map_files_photo_id_array":[{"photo_id":"1401219997","filename":"file5"},{"photo_id":"1401219989","filename":"file2"},{"photo_id":"1401219995","filename":"file4"},{"photo_id":"1401219986","filename":"file1"},{"photo_id":"1401219985","filename":"file0"},{"photo_id":"1401219992","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401219997":["hashtag1","hashtag2"]},{"1401219985":["hashtag1","hashtag2"]},{"1401219995":["hashtag1","hashtag2"]},{"1401219992":["hashtag1","hashtag2"]},{"1401219986":["hashtag1","hashtag2"]},{"1401219989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401219997, 1401219985, 1401219995, 1401219992, 1401219986, 1401219989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.635653257369995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:34:02.715249
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_35_10627.jpg', 2), ('/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/10/image_09122025_07_11_05_10638.jpg', 2), ('/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_54_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_45_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_35_10627.jpg', '/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_24_9632.jpg', '/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_15_9650.jpg', '/home/nano/Desktop/images/09122025/07/10/image_09122025_07_11_05_10638.jpg', '/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_54_9624.jpg', '/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_45_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_35_10627.jpg
/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_24_9632.jpg
/home/nano/Desktop/images/09122025/07/11/image_09122025_07_11_15_9650.jpg
/home/nano/Desktop/images/09122025/07/10/image_09122025_07_11_05_10638.jpg
/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_54_9624.jpg
/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_45_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":["1401220008","1401220007","1401220003","1401220006","1401220011","1401220005"],"photo_ids_order":["1401220003","1401220005","1401220006","1401220007","1401220008","1401220011"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a38e1a759a2041f26d8bf35b02eb2362.jpg","text":"TemporaryFile(/tmp/multipartBody7381259469259322810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810103685,"filename":"image_09122025_07_10_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/12/27/c6cf367d7eb9b58afa2057823847faf9.jpg","text":"TemporaryFile(/tmp/multipartBody9102016873073022590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810103685,"filename":"image_09122025_07_11_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3d64cf82d6c759204144715f3d0adde.jpg","text":"TemporaryFile(/tmp/multipartBody8753736848725253287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810103685,"filename":"image_09122025_07_11_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65f991c624212dafd0548b081e0178d0.jpg","text":"TemporaryFile(/tmp/multipartBody1975427447707572199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810103685,"filename":"image_09122025_07_11_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f26626d96acee37fdad1aa4b4c9d37f.jpg","text":"TemporaryFile(/tmp/multipartBody821169518471498635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810103685,"filename":"image_09122025_07_10_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/377c28e0d4f47da57ffaeab9eee996b3.jpg","text":"TemporaryFile(/tmp/multipartBody8298240030663839514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810103685,"filename":"image_09122025_07_11_24_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220006","file1":"1401220005","file0":"1401220003","file4":"1401220008","file5":"1401220011","file3":"1401220007"},"map_files_photo_id_array":[{"photo_id":"1401220011","filename":"file5"},{"photo_id":"1401220006","filename":"file2"},{"photo_id":"1401220008","filename":"file4"},{"photo_id":"1401220005","filename":"file1"},{"photo_id":"1401220003","filename":"file0"},{"photo_id":"1401220007","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220008":["hashtag1","hashtag2"]},{"1401220007":["hashtag1","hashtag2"]},{"1401220003":["hashtag1","hashtag2"]},{"1401220006":["hashtag1","hashtag2"]},{"1401220011":["hashtag1","hashtag2"]},{"1401220005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220008, 1401220007, 1401220003, 1401220006, 1401220011, 1401220005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63481545448303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:34:47.096535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_35_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_24_9626.jpg', 2), ('/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_15_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_10_05_10628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_54_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_45_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_35_10621.jpg', '/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_24_9626.jpg', '/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_15_9632.jpg', '/home/nano/Desktop/images/09122025/07/09/image_09122025_07_10_05_10628.jpg', '/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_54_9610.jpg', '/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_45_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_35_10621.jpg
/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_24_9626.jpg
/home/nano/Desktop/images/09122025/07/10/image_09122025_07_10_15_9632.jpg
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_10_05_10628.jpg
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_54_9610.jpg
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_45_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":["1401220020","1401220022","1401220019","1401220021","1401220024","1401220026"],"photo_ids_order":["1401220019","1401220020","1401220021","1401220022","1401220024","1401220026"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56bdd96123a0282105322b6629cae8ca.jpg","text":"TemporaryFile(/tmp/multipartBody7403654051784299133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810147988,"filename":"image_09122025_07_10_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/12/27/9878f1ed85255d0aee3ec3fcf8a7ed0e.jpg","text":"TemporaryFile(/tmp/multipartBody2298310568477560285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810147988,"filename":"image_09122025_07_10_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5582fde3a358b3c1fe0e2b1da5d1ad17.jpg","text":"TemporaryFile(/tmp/multipartBody168922357527388070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810147988,"filename":"image_09122025_07_10_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9fa31868d9212f4b569985c3040c186.jpg","text":"TemporaryFile(/tmp/multipartBody6959370785030469116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810147988,"filename":"image_09122025_07_10_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93a518a48a2771dcc89956468c0cb012.jpg","text":"TemporaryFile(/tmp/multipartBody7147781924067755059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810147988,"filename":"image_09122025_07_09_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/12/27/575d8a90e543ca3fb60e74557e5147c5.jpg","text":"TemporaryFile(/tmp/multipartBody7845986561562293010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810147988,"filename":"image_09122025_07_09_45_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220021","file1":"1401220020","file0":"1401220019","file4":"1401220024","file5":"1401220026","file3":"1401220022"},"map_files_photo_id_array":[{"photo_id":"1401220026","filename":"file5"},{"photo_id":"1401220021","filename":"file2"},{"photo_id":"1401220024","filename":"file4"},{"photo_id":"1401220020","filename":"file1"},{"photo_id":"1401220019","filename":"file0"},{"photo_id":"1401220022","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220020":["hashtag1","hashtag2"]},{"1401220022":["hashtag1","hashtag2"]},{"1401220019":["hashtag1","hashtag2"]},{"1401220021":["hashtag1","hashtag2"]},{"1401220024":["hashtag1","hashtag2"]},{"1401220026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220020, 1401220022, 1401220019, 1401220021, 1401220024, 1401220026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50069069862366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:35:32.188829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_34_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_25_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_15_10626.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_09_04_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_55_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_45_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_34_9620.jpg', '/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_25_9650.jpg', '/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_15_10626.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_09_04_9611.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_55_9613.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_45_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_34_9620.jpg
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_25_9650.jpg
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_15_10626.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_09_04_9611.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_55_9613.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_45_10631.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7314708232879639 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:35:47.203994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_34_9620.jpg', 2), ('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_25_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_15_10626.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_09_04_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_55_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_45_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_34_9620.jpg', '/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_25_9650.jpg', '/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_15_10626.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_09_04_9611.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_55_9613.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_45_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_34_9620.jpg
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_25_9650.jpg
/home/nano/Desktop/images/09122025/07/09/image_09122025_07_09_15_10626.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_09_04_9611.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_55_9613.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_45_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":["1401220043","1401220045","1401220048","1401220041","1401220050","1401220044"],"photo_ids_order":["1401220041","1401220043","1401220044","1401220045","1401220048","1401220050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/556c0b3df79cba31de985b91119fb534.jpg","text":"TemporaryFile(/tmp/multipartBody6293332617809442363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810208011,"filename":"image_09122025_07_09_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce88721fc342c79da693b97186ed5c49.jpg","text":"TemporaryFile(/tmp/multipartBody2666817167119627386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810208011,"filename":"image_09122025_07_09_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/12/27/67218dd46e9d2b9ea7fa76944b8707c0.jpg","text":"TemporaryFile(/tmp/multipartBody316300571230909441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810208011,"filename":"image_09122025_07_08_55_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb4f48681839d835422b9a8a504f4ee0.jpg","text":"TemporaryFile(/tmp/multipartBody77630641013833844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810208011,"filename":"image_09122025_07_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/12/27/6db79f63eaef2f1dcf75b600217e9e54.jpg","text":"TemporaryFile(/tmp/multipartBody4732224322022180004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810208011,"filename":"image_09122025_07_08_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8888e9acbf0cafd237a92d660ffa9a7.jpg","text":"TemporaryFile(/tmp/multipartBody5309003806256772671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810208011,"filename":"image_09122025_07_09_15_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220044","file1":"1401220043","file0":"1401220041","file4":"1401220048","file5":"1401220050","file3":"1401220045"},"map_files_photo_id_array":[{"photo_id":"1401220050","filename":"file5"},{"photo_id":"1401220044","filename":"file2"},{"photo_id":"1401220048","filename":"file4"},{"photo_id":"1401220043","filename":"file1"},{"photo_id":"1401220041","filename":"file0"},{"photo_id":"1401220045","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220043":["hashtag1","hashtag2"]},{"1401220045":["hashtag1","hashtag2"]},{"1401220048":["hashtag1","hashtag2"]},{"1401220041":["hashtag1","hashtag2"]},{"1401220050":["hashtag1","hashtag2"]},{"1401220044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220043, 1401220045, 1401220048, 1401220041, 1401220050, 1401220044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32749819755554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:36:32.350441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_34_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_25_10628.jpg', 2), ('/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_14_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/07/image_09122025_07_08_05_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_55_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_44_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_34_9614.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_25_10628.jpg', '/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_14_9631.jpg', '/home/nano/Desktop/images/09122025/07/07/image_09122025_07_08_05_9637.jpg', '/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_55_10651.jpg', '/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_44_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_34_9614.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_25_10628.jpg
/home/nano/Desktop/images/09122025/07/08/image_09122025_07_08_14_9631.jpg
/home/nano/Desktop/images/09122025/07/07/image_09122025_07_08_05_9637.jpg
/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_55_10651.jpg
/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_44_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":["1401220064","1401220063","1401220057","1401220060","1401220062","1401220059"],"photo_ids_order":["1401220057","1401220059","1401220060","1401220062","1401220063","1401220064"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f0b12f48756072430ef1317954b1e50.jpg","text":"TemporaryFile(/tmp/multipartBody6290744586466856630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810253169,"filename":"image_09122025_07_07_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/12/27/7bc0e0a7b3dac14b3f0b4fbab030afb4.jpg","text":"TemporaryFile(/tmp/multipartBody6885056868172522025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810253169,"filename":"image_09122025_07_07_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c5a81a6b43c37398e47125857494da0.jpg","text":"TemporaryFile(/tmp/multipartBody7012659087603752056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810253169,"filename":"image_09122025_07_08_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/12/27/472d94d46fdf6a605778b88543137c29.jpg","text":"TemporaryFile(/tmp/multipartBody8673514041579867368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810253169,"filename":"image_09122025_07_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/12/27/933d7d70d249e0519f35bf4b95f9f95c.jpg","text":"TemporaryFile(/tmp/multipartBody2592625747631151290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810253169,"filename":"image_09122025_07_08_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40fe544409a6ce68491abfabf8be8e53.jpg","text":"TemporaryFile(/tmp/multipartBody789174047284397492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810253169,"filename":"image_09122025_07_08_25_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220060","file1":"1401220059","file0":"1401220057","file4":"1401220063","file5":"1401220064","file3":"1401220062"},"map_files_photo_id_array":[{"photo_id":"1401220064","filename":"file5"},{"photo_id":"1401220060","filename":"file2"},{"photo_id":"1401220063","filename":"file4"},{"photo_id":"1401220059","filename":"file1"},{"photo_id":"1401220057","filename":"file0"},{"photo_id":"1401220062","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220064":["hashtag1","hashtag2"]},{"1401220063":["hashtag1","hashtag2"]},{"1401220057":["hashtag1","hashtag2"]},{"1401220060":["hashtag1","hashtag2"]},{"1401220062":["hashtag1","hashtag2"]},{"1401220059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220064, 1401220063, 1401220057, 1401220060, 1401220062, 1401220059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59300994873047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:37:17.387485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_35_9666.jpg', 2), ('/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_25_10674.jpg', 2), ('/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_14_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/07/06/image_09122025_07_07_05_9698.jpg', 2), ('/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_55_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_44_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_35_9666.jpg', '/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_25_10674.jpg', '/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_14_9655.jpg', '/home/nano/Desktop/images/09122025/07/06/image_09122025_07_07_05_9698.jpg', '/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_55_10634.jpg', '/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_35_9666.jpg
/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_25_10674.jpg
/home/nano/Desktop/images/09122025/07/07/image_09122025_07_07_14_9655.jpg
/home/nano/Desktop/images/09122025/07/06/image_09122025_07_07_05_9698.jpg
/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_55_10634.jpg
/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_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":["1401220070","1401220076","1401220078","1401220072","1401220080","1401220074"],"photo_ids_order":["1401220070","1401220072","1401220074","1401220076","1401220078","1401220080"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7df03cdfc9cdfc3b3875fb939ae080cb.jpg","text":"TemporaryFile(/tmp/multipartBody1519177803392653057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810298212,"filename":"image_09122025_07_07_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dd2d71d93d0bab5b0d413ce50c42d45.jpg","text":"TemporaryFile(/tmp/multipartBody7062620443070654482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810298212,"filename":"image_09122025_07_07_05_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffca202876299fcd878322598b49fb0d.jpg","text":"TemporaryFile(/tmp/multipartBody446348309529355904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810298212,"filename":"image_09122025_07_06_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/919a8c9ef90b794b61913d6bc190aa51.jpg","text":"TemporaryFile(/tmp/multipartBody9068503584589553661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810298212,"filename":"image_09122025_07_07_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37d8485b953b9773f917b35adda33759.jpg","text":"TemporaryFile(/tmp/multipartBody9017609824931627219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810298212,"filename":"image_09122025_07_06_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/12/27/5d8352f5b28a6fc220a266ba2fc37d9e.jpg","text":"TemporaryFile(/tmp/multipartBody3643222409477570457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810298212,"filename":"image_09122025_07_07_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220074","file1":"1401220072","file0":"1401220070","file4":"1401220078","file5":"1401220080","file3":"1401220076"},"map_files_photo_id_array":[{"photo_id":"1401220080","filename":"file5"},{"photo_id":"1401220074","filename":"file2"},{"photo_id":"1401220078","filename":"file4"},{"photo_id":"1401220072","filename":"file1"},{"photo_id":"1401220070","filename":"file0"},{"photo_id":"1401220076","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220070":["hashtag1","hashtag2"]},{"1401220076":["hashtag1","hashtag2"]},{"1401220078":["hashtag1","hashtag2"]},{"1401220072":["hashtag1","hashtag2"]},{"1401220080":["hashtag1","hashtag2"]},{"1401220074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220070, 1401220076, 1401220078, 1401220072, 1401220080, 1401220074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.356367349624634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:38:02.811992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_35_9663.jpg', 2), ('/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_25_10681.jpg', 2), ('/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_14_9683.jpg', 2), ('/home/nano/Desktop/images/09122025/07/05/image_09122025_07_06_05_9783.jpg', 2), ('/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_55_10730.jpg', 2), ('/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_44_9748.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_35_9663.jpg', '/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_25_10681.jpg', '/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_14_9683.jpg', '/home/nano/Desktop/images/09122025/07/05/image_09122025_07_06_05_9783.jpg', '/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_55_10730.jpg', '/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_44_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_35_9663.jpg
/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_25_10681.jpg
/home/nano/Desktop/images/09122025/07/06/image_09122025_07_06_14_9683.jpg
/home/nano/Desktop/images/09122025/07/05/image_09122025_07_06_05_9783.jpg
/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_55_10730.jpg
/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_44_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401220091","1401220085","1401220088","1401220093","1401220096","1401220089"],"photo_ids_order":["1401220085","1401220088","1401220089","1401220091","1401220093","1401220096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f142449a5451aa7edc406bb0fd25c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5219192169336975743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810343713,"filename":"image_09122025_07_06_05_9783.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06cd7372c101a672ef8de355586989d5.jpg","text":"TemporaryFile(/tmp/multipartBody3541776286759852681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810343713,"filename":"image_09122025_07_06_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f381f2db1e9ba777e4aabe12c22e2cae.jpg","text":"TemporaryFile(/tmp/multipartBody5341475992981770371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810343713,"filename":"image_09122025_07_06_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/788bd09e615c1b31d6f292fc4fd1ff58.jpg","text":"TemporaryFile(/tmp/multipartBody6334510549148786752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810343713,"filename":"image_09122025_07_05_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6d6c408f088b2ef08df6ff371f6004c.jpg","text":"TemporaryFile(/tmp/multipartBody4978357805724341271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810343713,"filename":"image_09122025_07_05_44_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae54b595e231f577b3b42bf90611eac3.jpg","text":"TemporaryFile(/tmp/multipartBody6903962379190404381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810343713,"filename":"image_09122025_07_06_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220089","file1":"1401220088","file0":"1401220085","file4":"1401220093","file5":"1401220096","file3":"1401220091"},"map_files_photo_id_array":[{"photo_id":"1401220096","filename":"file5"},{"photo_id":"1401220089","filename":"file2"},{"photo_id":"1401220093","filename":"file4"},{"photo_id":"1401220088","filename":"file1"},{"photo_id":"1401220085","filename":"file0"},{"photo_id":"1401220091","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220091":["hashtag1","hashtag2"]},{"1401220085":["hashtag1","hashtag2"]},{"1401220088":["hashtag1","hashtag2"]},{"1401220093":["hashtag1","hashtag2"]},{"1401220096":["hashtag1","hashtag2"]},{"1401220089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220091, 1401220085, 1401220088, 1401220093, 1401220096, 1401220089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.824328899383545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:38:47.476727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_34_9722.jpg', 2), ('/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_25_9708.jpg', 2), ('/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_15_10721.jpg', 2), ('/home/nano/Desktop/images/09122025/07/04/image_09122025_07_05_04_9791.jpg', 2), ('/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_54_9764.jpg', 2), ('/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_45_9682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_34_9722.jpg', '/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_25_9708.jpg', '/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_15_10721.jpg', '/home/nano/Desktop/images/09122025/07/04/image_09122025_07_05_04_9791.jpg', '/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_54_9764.jpg', '/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_45_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_34_9722.jpg
/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_25_9708.jpg
/home/nano/Desktop/images/09122025/07/05/image_09122025_07_05_15_10721.jpg
/home/nano/Desktop/images/09122025/07/04/image_09122025_07_05_04_9791.jpg
/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_54_9764.jpg
/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_45_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":["1401220113","1401220109","1401220111","1401220114","1401220108","1401220110"],"photo_ids_order":["1401220108","1401220109","1401220110","1401220111","1401220113","1401220114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34c0c0cf0cc8fa6552b903de6fb69cba.jpg","text":"TemporaryFile(/tmp/multipartBody6321994661865912540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810388336,"filename":"image_09122025_07_04_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3dd192383b156c6d753f4b55ce52c4c.jpg","text":"TemporaryFile(/tmp/multipartBody397831541509990576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810388336,"filename":"image_09122025_07_05_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67fd9759eeb3cc0e6fc4fff8bf2c39d9.jpg","text":"TemporaryFile(/tmp/multipartBody3997535885468879945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810388336,"filename":"image_09122025_07_05_04_9791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c02a7ef983ed470c1812c876e9ad51ce.jpg","text":"TemporaryFile(/tmp/multipartBody4715062276418325277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810388336,"filename":"image_09122025_07_04_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5d81a8eff98e134d364f46c959bfca9.jpg","text":"TemporaryFile(/tmp/multipartBody2984110989189330760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810388336,"filename":"image_09122025_07_05_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35868631c8af597d05cf0196b0596848.jpg","text":"TemporaryFile(/tmp/multipartBody455048390946715482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810388336,"filename":"image_09122025_07_05_15_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220110","file1":"1401220109","file0":"1401220108","file4":"1401220113","file5":"1401220114","file3":"1401220111"},"map_files_photo_id_array":[{"photo_id":"1401220114","filename":"file5"},{"photo_id":"1401220110","filename":"file2"},{"photo_id":"1401220113","filename":"file4"},{"photo_id":"1401220109","filename":"file1"},{"photo_id":"1401220108","filename":"file0"},{"photo_id":"1401220111","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220113":["hashtag1","hashtag2"]},{"1401220109":["hashtag1","hashtag2"]},{"1401220111":["hashtag1","hashtag2"]},{"1401220114":["hashtag1","hashtag2"]},{"1401220108":["hashtag1","hashtag2"]},{"1401220110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220113, 1401220109, 1401220111, 1401220114, 1401220108, 1401220110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.256141662597656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:39:32.588204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_35_10702.jpg', 2), ('/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_24_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_15_9675.jpg', 2), ('/home/nano/Desktop/images/09122025/07/03/image_09122025_07_04_05_10687.jpg', 2), ('/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_54_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_45_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_35_10702.jpg', '/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_24_9657.jpg', '/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_15_9675.jpg', '/home/nano/Desktop/images/09122025/07/03/image_09122025_07_04_05_10687.jpg', '/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_54_9650.jpg', '/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_45_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_35_10702.jpg
/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_24_9657.jpg
/home/nano/Desktop/images/09122025/07/04/image_09122025_07_04_15_9675.jpg
/home/nano/Desktop/images/09122025/07/03/image_09122025_07_04_05_10687.jpg
/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_54_9650.jpg
/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_45_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":["1401220127","1401220121","1401220130","1401220129","1401220123","1401220125"],"photo_ids_order":["1401220121","1401220123","1401220125","1401220127","1401220129","1401220130"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31eff947e56821c8e8b5aa0354e68d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3866431530087941580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810433436,"filename":"image_09122025_07_04_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1a4add7ba908b9f81159867e0460f75.jpg","text":"TemporaryFile(/tmp/multipartBody758389779809997238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810433436,"filename":"image_09122025_07_04_35_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d8ed6495415bebbbc86e6488b40c51d.jpg","text":"TemporaryFile(/tmp/multipartBody1267004439656836977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810433436,"filename":"image_09122025_07_03_45_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5de2d94a988a5d27a0cf5abc4bb2ba98.jpg","text":"TemporaryFile(/tmp/multipartBody8074071592793748493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810433436,"filename":"image_09122025_07_03_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/12/27/d56e25813b4f22c9cd0355d1ffaa105c.jpg","text":"TemporaryFile(/tmp/multipartBody47665516903197804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810433436,"filename":"image_09122025_07_04_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/12/27/c04c6dbb11a905ea029d9344d703ec02.jpg","text":"TemporaryFile(/tmp/multipartBody2918120205455598563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810433436,"filename":"image_09122025_07_04_15_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220125","file1":"1401220123","file0":"1401220121","file4":"1401220129","file5":"1401220130","file3":"1401220127"},"map_files_photo_id_array":[{"photo_id":"1401220130","filename":"file5"},{"photo_id":"1401220125","filename":"file2"},{"photo_id":"1401220129","filename":"file4"},{"photo_id":"1401220123","filename":"file1"},{"photo_id":"1401220121","filename":"file0"},{"photo_id":"1401220127","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220127":["hashtag1","hashtag2"]},{"1401220121":["hashtag1","hashtag2"]},{"1401220130":["hashtag1","hashtag2"]},{"1401220129":["hashtag1","hashtag2"]},{"1401220123":["hashtag1","hashtag2"]},{"1401220125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220127, 1401220121, 1401220130, 1401220129, 1401220123, 1401220125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12300658226013 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:40:17.668808
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_24_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_15_9698.jpg', 2), ('/home/nano/Desktop/images/09122025/07/02/image_09122025_07_03_05_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_54_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_45_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_35_10645.jpg', '/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_24_9614.jpg', '/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_15_9698.jpg', '/home/nano/Desktop/images/09122025/07/02/image_09122025_07_03_05_10642.jpg', '/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_54_9619.jpg', '/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_45_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_35_10645.jpg
/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_24_9614.jpg
/home/nano/Desktop/images/09122025/07/03/image_09122025_07_03_15_9698.jpg
/home/nano/Desktop/images/09122025/07/02/image_09122025_07_03_05_10642.jpg
/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_54_9619.jpg
/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_45_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":["1401220142","1401220144","1401220135","1401220140","1401220137","1401220146"],"photo_ids_order":["1401220135","1401220137","1401220140","1401220142","1401220144","1401220146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a517894213d85653e67ac758798eb75.jpg","text":"TemporaryFile(/tmp/multipartBody5103558446149954043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810478484,"filename":"image_09122025_07_03_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76b7dbbc7ca70a514cba1f263bbaa2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7068360025019247053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810478484,"filename":"image_09122025_07_02_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/12/27/9d229a4db269d463afc110750ce7aaa5.jpg","text":"TemporaryFile(/tmp/multipartBody6936550769280068065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810478484,"filename":"image_09122025_07_03_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39123c75de4e95d8c17030707e16bf27.jpg","text":"TemporaryFile(/tmp/multipartBody4932806090541350659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810478484,"filename":"image_09122025_07_03_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7763b224249e08d365f4cf131989103.jpg","text":"TemporaryFile(/tmp/multipartBody3431072328204300051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810478484,"filename":"image_09122025_07_03_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/12/27/4dcba187020eb980ef837aa5cb8b3752.jpg","text":"TemporaryFile(/tmp/multipartBody2731868277452537163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810478484,"filename":"image_09122025_07_02_45_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220140","file1":"1401220137","file0":"1401220135","file4":"1401220144","file5":"1401220146","file3":"1401220142"},"map_files_photo_id_array":[{"photo_id":"1401220146","filename":"file5"},{"photo_id":"1401220140","filename":"file2"},{"photo_id":"1401220144","filename":"file4"},{"photo_id":"1401220137","filename":"file1"},{"photo_id":"1401220135","filename":"file0"},{"photo_id":"1401220142","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220142":["hashtag1","hashtag2"]},{"1401220144":["hashtag1","hashtag2"]},{"1401220135":["hashtag1","hashtag2"]},{"1401220140":["hashtag1","hashtag2"]},{"1401220137":["hashtag1","hashtag2"]},{"1401220146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220142, 1401220144, 1401220135, 1401220140, 1401220137, 1401220146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18866229057312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:41:02.271432
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_35_10614.jpg', 2), ('/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/07/01/image_09122025_07_02_04_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_55_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_45_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_35_10614.jpg', '/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_24_9631.jpg', '/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_15_10659.jpg', '/home/nano/Desktop/images/09122025/07/01/image_09122025_07_02_04_9627.jpg', '/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_55_9624.jpg', '/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_45_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_35_10614.jpg
/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_24_9631.jpg
/home/nano/Desktop/images/09122025/07/02/image_09122025_07_02_15_10659.jpg
/home/nano/Desktop/images/09122025/07/01/image_09122025_07_02_04_9627.jpg
/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_55_9624.jpg
/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_45_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":["1401220151","1401220160","1401220157","1401220153","1401220155","1401220149"],"photo_ids_order":["1401220149","1401220151","1401220153","1401220155","1401220157","1401220160"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51b55a723cb7d4b3579694069d4a6866.jpg","text":"TemporaryFile(/tmp/multipartBody331635121564472590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810523144,"filename":"image_09122025_07_02_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/12/27/8f7de5c533439d4055238eead4de1515.jpg","text":"TemporaryFile(/tmp/multipartBody3541925242939774615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810523144,"filename":"image_09122025_07_01_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37d44fef0ef7f91c7155303dd14d385c.jpg","text":"TemporaryFile(/tmp/multipartBody1785372121223404345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810523144,"filename":"image_09122025_07_01_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/942f1bba5b4f663408f1f3fbdd0fcc13.jpg","text":"TemporaryFile(/tmp/multipartBody211266008471915377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810523144,"filename":"image_09122025_07_02_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e4d6bbc833698c8b67d7a2dc0a89d81.jpg","text":"TemporaryFile(/tmp/multipartBody4916330158948961972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810523144,"filename":"image_09122025_07_02_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/12/27/4effeecc8d0694e4126acf47b0838e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8710447141305801593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810523144,"filename":"image_09122025_07_02_35_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220153","file1":"1401220151","file0":"1401220149","file4":"1401220157","file5":"1401220160","file3":"1401220155"},"map_files_photo_id_array":[{"photo_id":"1401220160","filename":"file5"},{"photo_id":"1401220153","filename":"file2"},{"photo_id":"1401220157","filename":"file4"},{"photo_id":"1401220151","filename":"file1"},{"photo_id":"1401220149","filename":"file0"},{"photo_id":"1401220155","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220151":["hashtag1","hashtag2"]},{"1401220160":["hashtag1","hashtag2"]},{"1401220157":["hashtag1","hashtag2"]},{"1401220153":["hashtag1","hashtag2"]},{"1401220155":["hashtag1","hashtag2"]},{"1401220149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220151, 1401220160, 1401220157, 1401220153, 1401220155, 1401220149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78277039527893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:41:46.778419
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_34_9669.jpg', 2), ('/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_25_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_15_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/07/00/image_09122025_07_01_04_9677.jpg', 2), ('/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_55_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_45_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_34_9669.jpg', '/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_25_9658.jpg', '/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_15_10662.jpg', '/home/nano/Desktop/images/09122025/07/00/image_09122025_07_01_04_9677.jpg', '/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_55_9644.jpg', '/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_45_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_34_9669.jpg
/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_25_9658.jpg
/home/nano/Desktop/images/09122025/07/01/image_09122025_07_01_15_10662.jpg
/home/nano/Desktop/images/09122025/07/00/image_09122025_07_01_04_9677.jpg
/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_55_9644.jpg
/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_45_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":["1401220169","1401220168","1401220171","1401220170","1401220173","1401220167"],"photo_ids_order":["1401220167","1401220168","1401220169","1401220170","1401220171","1401220173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48465ca3dd8dab40aaa769af70cc7941.jpg","text":"TemporaryFile(/tmp/multipartBody8816858393692001307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810567635,"filename":"image_09122025_07_01_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b2d1d3bc12df4f142b706b6f48f9965.jpg","text":"TemporaryFile(/tmp/multipartBody7357945918098984062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810567635,"filename":"image_09122025_07_01_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b73a64b976f45de962f504d9b4ce515.jpg","text":"TemporaryFile(/tmp/multipartBody7186330133699944167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810567635,"filename":"image_09122025_07_00_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d943cfd943e724d472ae1c0bbf0d5a5.jpg","text":"TemporaryFile(/tmp/multipartBody5100704431719132904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810567635,"filename":"image_09122025_07_01_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bddc4af3d0c2d743ae2177bed6d2ee8e.jpg","text":"TemporaryFile(/tmp/multipartBody7689183352473519487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810567635,"filename":"image_09122025_07_00_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2aa86fff573560be66d5f530ecb04c82.jpg","text":"TemporaryFile(/tmp/multipartBody3170733335604990978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810567635,"filename":"image_09122025_07_01_34_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220169","file1":"1401220168","file0":"1401220167","file4":"1401220171","file5":"1401220173","file3":"1401220170"},"map_files_photo_id_array":[{"photo_id":"1401220173","filename":"file5"},{"photo_id":"1401220169","filename":"file2"},{"photo_id":"1401220171","filename":"file4"},{"photo_id":"1401220168","filename":"file1"},{"photo_id":"1401220167","filename":"file0"},{"photo_id":"1401220170","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220169":["hashtag1","hashtag2"]},{"1401220168":["hashtag1","hashtag2"]},{"1401220171":["hashtag1","hashtag2"]},{"1401220170":["hashtag1","hashtag2"]},{"1401220173":["hashtag1","hashtag2"]},{"1401220167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220169, 1401220168, 1401220171, 1401220170, 1401220173, 1401220167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.220009565353394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:42:31.865693
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_25_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_15_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/06/59/image_09122025_07_00_04_9669.jpg', 2), ('/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_55_10623.jpg', 2), ('/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_34_9634.jpg', '/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_25_9629.jpg', '/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_15_10651.jpg', '/home/nano/Desktop/images/09122025/06/59/image_09122025_07_00_04_9669.jpg', '/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_55_10623.jpg', '/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_34_9634.jpg
/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_25_9629.jpg
/home/nano/Desktop/images/09122025/07/00/image_09122025_07_00_15_10651.jpg
/home/nano/Desktop/images/09122025/06/59/image_09122025_07_00_04_9669.jpg
/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_55_10623.jpg
/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_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":["1401220181","1401220193","1401220191","1401220185","1401220188","1401220182"],"photo_ids_order":["1401220181","1401220182","1401220185","1401220188","1401220191","1401220193"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ace69b7443f613407c07821200b260b4.jpg","text":"TemporaryFile(/tmp/multipartBody4101547097324859066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810612688,"filename":"image_09122025_07_00_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/12/27/923d70d4f53982c07848a4876eea4f60.jpg","text":"TemporaryFile(/tmp/multipartBody6495844076460458515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810612688,"filename":"image_09122025_06_59_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/12/27/6cb671b36ccec93663e929704471a58e.jpg","text":"TemporaryFile(/tmp/multipartBody502673365106120303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810612688,"filename":"image_09122025_06_59_55_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16c3899e0c002b821114f5fe7bde13f1.jpg","text":"TemporaryFile(/tmp/multipartBody8995853101810814563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810612688,"filename":"image_09122025_07_00_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf2fc1b24444fc3cea21193a052c8442.jpg","text":"TemporaryFile(/tmp/multipartBody6691069027675073757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810612688,"filename":"image_09122025_07_00_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9cfee47b1f76bbf170032db3d9365d4.jpg","text":"TemporaryFile(/tmp/multipartBody3006193333628274230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810612688,"filename":"image_09122025_07_00_25_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220185","file1":"1401220182","file0":"1401220181","file4":"1401220191","file5":"1401220193","file3":"1401220188"},"map_files_photo_id_array":[{"photo_id":"1401220193","filename":"file5"},{"photo_id":"1401220185","filename":"file2"},{"photo_id":"1401220191","filename":"file4"},{"photo_id":"1401220182","filename":"file1"},{"photo_id":"1401220181","filename":"file0"},{"photo_id":"1401220188","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220181":["hashtag1","hashtag2"]},{"1401220193":["hashtag1","hashtag2"]},{"1401220191":["hashtag1","hashtag2"]},{"1401220185":["hashtag1","hashtag2"]},{"1401220188":["hashtag1","hashtag2"]},{"1401220182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220181, 1401220193, 1401220191, 1401220185, 1401220188, 1401220182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.631715059280396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:43:16.958858
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_34_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_25_10634.jpg', 2), ('/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_14_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_59_05_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_44_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_34_9643.jpg', '/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_25_10634.jpg', '/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_14_9636.jpg', '/home/nano/Desktop/images/09122025/06/58/image_09122025_06_59_05_9643.jpg', '/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_55_10643.jpg', '/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_34_9643.jpg
/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_25_10634.jpg
/home/nano/Desktop/images/09122025/06/59/image_09122025_06_59_14_9636.jpg
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_59_05_9643.jpg
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_55_10643.jpg
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_44_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":["1401220209","1401220208","1401220211","1401220205","1401220201","1401220203"],"photo_ids_order":["1401220201","1401220203","1401220205","1401220208","1401220209","1401220211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7e59df6d2f344c41dab9912c5409171.jpg","text":"TemporaryFile(/tmp/multipartBody6082361046551825694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810657783,"filename":"image_09122025_06_58_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd5f8fe92f8d31ef044a46e7e6dbf834.jpg","text":"TemporaryFile(/tmp/multipartBody8295958727791215061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810657783,"filename":"image_09122025_06_59_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4071f811909657e57a27117bf732aae.jpg","text":"TemporaryFile(/tmp/multipartBody221905403258851108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810657783,"filename":"image_09122025_06_58_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/12/27/965efdb6381dc025598dcedf5c9b01c2.jpg","text":"TemporaryFile(/tmp/multipartBody1301282883907783653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810657783,"filename":"image_09122025_06_59_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/12/27/224dda23ea562ddf9349d4a612039a46.jpg","text":"TemporaryFile(/tmp/multipartBody474756235019500248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810657783,"filename":"image_09122025_06_59_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/12/27/dd0d305b40ffdad8b2a086734e8fac94.jpg","text":"TemporaryFile(/tmp/multipartBody9076139921059231544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810657783,"filename":"image_09122025_06_59_25_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220205","file1":"1401220203","file0":"1401220201","file4":"1401220209","file5":"1401220211","file3":"1401220208"},"map_files_photo_id_array":[{"photo_id":"1401220211","filename":"file5"},{"photo_id":"1401220205","filename":"file2"},{"photo_id":"1401220209","filename":"file4"},{"photo_id":"1401220203","filename":"file1"},{"photo_id":"1401220201","filename":"file0"},{"photo_id":"1401220208","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220209":["hashtag1","hashtag2"]},{"1401220208":["hashtag1","hashtag2"]},{"1401220211":["hashtag1","hashtag2"]},{"1401220205":["hashtag1","hashtag2"]},{"1401220201":["hashtag1","hashtag2"]},{"1401220203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220209, 1401220208, 1401220211, 1401220205, 1401220201, 1401220203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6594443321228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:44:02.578378
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_35_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_25_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_58_05_10626.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_54_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_35_9618.jpg', '/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_25_10618.jpg', '/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_14_9649.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_58_05_10626.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_54_9619.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_35_9618.jpg
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_25_10618.jpg
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_14_9649.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_58_05_10626.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_54_9619.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_45_9605.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8355753421783447 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:44:17.060895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_35_9618.jpg', 2), ('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_25_10618.jpg', 2), ('/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_58_05_10626.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_54_9619.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_35_9618.jpg', '/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_25_10618.jpg', '/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_14_9649.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_58_05_10626.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_54_9619.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_35_9618.jpg
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_25_10618.jpg
/home/nano/Desktop/images/09122025/06/58/image_09122025_06_58_14_9649.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_58_05_10626.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_54_9619.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_45_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":["1401220227","1401220232","1401220222","1401220234","1401220230","1401220224"],"photo_ids_order":["1401220222","1401220224","1401220227","1401220230","1401220232","1401220234"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5b3e686b780e1f087bb865d2a55ee21.jpg","text":"TemporaryFile(/tmp/multipartBody5235244142866769848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810717866,"filename":"image_09122025_06_58_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/12/27/173388f41f2d8c9867bcebd3b672e53e.jpg","text":"TemporaryFile(/tmp/multipartBody530483564840828633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810717866,"filename":"image_09122025_06_57_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/12/27/0f2374cc7c24553c16c7ffeb918e9111.jpg","text":"TemporaryFile(/tmp/multipartBody7667188366561545915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810717866,"filename":"image_09122025_06_58_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0202f16af56921914249516dfdc59b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8467200935525973481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810717866,"filename":"image_09122025_06_57_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af1d69ca73780464a1583366ea3d54ff.jpg","text":"TemporaryFile(/tmp/multipartBody2607962271649479292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810717866,"filename":"image_09122025_06_58_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c078d330315a4381e97192a97538aac9.jpg","text":"TemporaryFile(/tmp/multipartBody1020103570257757182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810717866,"filename":"image_09122025_06_58_25_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220227","file1":"1401220224","file0":"1401220222","file4":"1401220232","file5":"1401220234","file3":"1401220230"},"map_files_photo_id_array":[{"photo_id":"1401220234","filename":"file5"},{"photo_id":"1401220227","filename":"file2"},{"photo_id":"1401220232","filename":"file4"},{"photo_id":"1401220224","filename":"file1"},{"photo_id":"1401220222","filename":"file0"},{"photo_id":"1401220230","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220227":["hashtag1","hashtag2"]},{"1401220232":["hashtag1","hashtag2"]},{"1401220222":["hashtag1","hashtag2"]},{"1401220234":["hashtag1","hashtag2"]},{"1401220230":["hashtag1","hashtag2"]},{"1401220224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220227, 1401220232, 1401220222, 1401220234, 1401220230, 1401220224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03920102119446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:45:02.682134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_35_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_24_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_15_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_57_05_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_54_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_45_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_35_10619.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_24_9609.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_15_9627.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_57_05_10642.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_54_9638.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_45_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_35_10619.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_24_9609.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_15_9627.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_57_05_10642.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_54_9638.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_45_10636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8144712448120117 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:45:17.174755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_35_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_24_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_15_9627.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_57_05_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_54_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_45_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_35_10619.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_24_9609.jpg', '/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_15_9627.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_57_05_10642.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_54_9638.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_45_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_35_10619.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_24_9609.jpg
/home/nano/Desktop/images/09122025/06/57/image_09122025_06_57_15_9627.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_57_05_10642.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_54_9638.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_45_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":["1401220250","1401220253","1401220255","1401220248","1401220257","1401220245"],"photo_ids_order":["1401220245","1401220248","1401220250","1401220253","1401220255","1401220257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a05ad2863f1267d5b99e4db6feb185a.jpg","text":"TemporaryFile(/tmp/multipartBody95494220806372666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810777967,"filename":"image_09122025_06_57_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc77ee3b7b330608b732d8ba03f79789.jpg","text":"TemporaryFile(/tmp/multipartBody4989493684830854672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810777967,"filename":"image_09122025_06_57_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/272a38e4ce60ec6034b0f61cbdab6051.jpg","text":"TemporaryFile(/tmp/multipartBody4882472328704487955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810777967,"filename":"image_09122025_06_56_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/12/27/38b1db42333d206cf1328f9281a11a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7287435213951991184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810777967,"filename":"image_09122025_06_57_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/12/27/4c4c8216fced99e9851c483727ee36e3.jpg","text":"TemporaryFile(/tmp/multipartBody4968610862100652728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810777967,"filename":"image_09122025_06_56_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bed3a45681240d08c4db757c6b7f588c.jpg","text":"TemporaryFile(/tmp/multipartBody8721540069861782104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810777967,"filename":"image_09122025_06_57_35_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220250","file1":"1401220248","file0":"1401220245","file4":"1401220255","file5":"1401220257","file3":"1401220253"},"map_files_photo_id_array":[{"photo_id":"1401220257","filename":"file5"},{"photo_id":"1401220250","filename":"file2"},{"photo_id":"1401220255","filename":"file4"},{"photo_id":"1401220248","filename":"file1"},{"photo_id":"1401220245","filename":"file0"},{"photo_id":"1401220253","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220250":["hashtag1","hashtag2"]},{"1401220253":["hashtag1","hashtag2"]},{"1401220255":["hashtag1","hashtag2"]},{"1401220248":["hashtag1","hashtag2"]},{"1401220257":["hashtag1","hashtag2"]},{"1401220245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220250, 1401220253, 1401220255, 1401220248, 1401220257, 1401220245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00221824645996 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:46:02.624982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_34_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_25_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/06/55/image_09122025_06_56_04_9610.jpg', 2), ('/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_55_9621.jpg', 2), ('/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_45_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_34_9631.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_25_9622.jpg', '/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_15_10657.jpg', '/home/nano/Desktop/images/09122025/06/55/image_09122025_06_56_04_9610.jpg', '/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_55_9621.jpg', '/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_45_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_34_9631.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_25_9622.jpg
/home/nano/Desktop/images/09122025/06/56/image_09122025_06_56_15_10657.jpg
/home/nano/Desktop/images/09122025/06/55/image_09122025_06_56_04_9610.jpg
/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_55_9621.jpg
/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_45_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":["1401220268","1401220273","1401220270","1401220264","1401220266","1401220263"],"photo_ids_order":["1401220263","1401220264","1401220266","1401220268","1401220270","1401220273"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/827206643aabd6092734795e7eb15748.jpg","text":"TemporaryFile(/tmp/multipartBody8378968044101789598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810823460,"filename":"image_09122025_06_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/12/27/8fb8ee0b99aa8b3125e10815868c2801.jpg","text":"TemporaryFile(/tmp/multipartBody5175115908662913185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810823460,"filename":"image_09122025_06_55_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6f7b2a6bd66b57cc5331e917431279b.jpg","text":"TemporaryFile(/tmp/multipartBody6718696969777680047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810823460,"filename":"image_09122025_06_55_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4bc5c37175d67c25158c836f795061a.jpg","text":"TemporaryFile(/tmp/multipartBody6408177818740656159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810823460,"filename":"image_09122025_06_56_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25463298085c99e14104608ceeb68d0b.jpg","text":"TemporaryFile(/tmp/multipartBody3360119264640146356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810823460,"filename":"image_09122025_06_56_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6c4b2b77ed86db0360be8868b93e8dc.jpg","text":"TemporaryFile(/tmp/multipartBody5524192815441651634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810823460,"filename":"image_09122025_06_56_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220266","file1":"1401220264","file0":"1401220263","file4":"1401220270","file5":"1401220273","file3":"1401220268"},"map_files_photo_id_array":[{"photo_id":"1401220273","filename":"file5"},{"photo_id":"1401220266","filename":"file2"},{"photo_id":"1401220270","filename":"file4"},{"photo_id":"1401220264","filename":"file1"},{"photo_id":"1401220263","filename":"file0"},{"photo_id":"1401220268","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220268":["hashtag1","hashtag2"]},{"1401220273":["hashtag1","hashtag2"]},{"1401220270":["hashtag1","hashtag2"]},{"1401220264":["hashtag1","hashtag2"]},{"1401220266":["hashtag1","hashtag2"]},{"1401220263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220268, 1401220273, 1401220270, 1401220264, 1401220266, 1401220263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62659168243408 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:46:47.287505
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_34_9613.jpg', 2), ('/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_25_10621.jpg', 2), ('/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_14_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/54/image_09122025_06_55_05_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_55_10619.jpg', 2), ('/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_44_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_34_9613.jpg', '/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_25_10621.jpg', '/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_14_9633.jpg', '/home/nano/Desktop/images/09122025/06/54/image_09122025_06_55_05_9630.jpg', '/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_55_10619.jpg', '/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_44_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_34_9613.jpg
/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_25_10621.jpg
/home/nano/Desktop/images/09122025/06/55/image_09122025_06_55_14_9633.jpg
/home/nano/Desktop/images/09122025/06/54/image_09122025_06_55_05_9630.jpg
/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_55_10619.jpg
/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_44_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":["1401220280","1401220283","1401220285","1401220282","1401220287","1401220281"],"photo_ids_order":["1401220280","1401220281","1401220282","1401220283","1401220285","1401220287"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f41127e86835765ce7f316087af614aa.jpg","text":"TemporaryFile(/tmp/multipartBody2893110782103964662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810868107,"filename":"image_09122025_06_55_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/12/27/f486be015e7574977a06f519dd32c04d.jpg","text":"TemporaryFile(/tmp/multipartBody6913044483281703028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810868107,"filename":"image_09122025_06_55_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8f1a49764781bbcb264cd9e4db2236d.jpg","text":"TemporaryFile(/tmp/multipartBody7339305533867907314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810868107,"filename":"image_09122025_06_54_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12f3959d880611eaf8c3a64071447ed5.jpg","text":"TemporaryFile(/tmp/multipartBody2727470445058790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810868107,"filename":"image_09122025_06_55_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/12/27/259861cf78bf4f6153bf1965fab0d517.jpg","text":"TemporaryFile(/tmp/multipartBody3002735978770278218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810868107,"filename":"image_09122025_06_54_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/12/27/d0a786fec2ca4d012e63124b7ca86b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4945935677890504240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810868107,"filename":"image_09122025_06_55_25_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220282","file1":"1401220281","file0":"1401220280","file4":"1401220285","file5":"1401220287","file3":"1401220283"},"map_files_photo_id_array":[{"photo_id":"1401220287","filename":"file5"},{"photo_id":"1401220282","filename":"file2"},{"photo_id":"1401220285","filename":"file4"},{"photo_id":"1401220281","filename":"file1"},{"photo_id":"1401220280","filename":"file0"},{"photo_id":"1401220283","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220280":["hashtag1","hashtag2"]},{"1401220283":["hashtag1","hashtag2"]},{"1401220285":["hashtag1","hashtag2"]},{"1401220282":["hashtag1","hashtag2"]},{"1401220287":["hashtag1","hashtag2"]},{"1401220281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220280, 1401220283, 1401220285, 1401220282, 1401220287, 1401220281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.207401275634766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:47:32.347507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_35_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_25_10615.jpg', 2), ('/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_14_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_54_05_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_45_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_35_9633.jpg', '/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_25_10615.jpg', '/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_14_9641.jpg', '/home/nano/Desktop/images/09122025/06/53/image_09122025_06_54_05_10639.jpg', '/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_54_9633.jpg', '/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_45_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_35_9633.jpg
/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_25_10615.jpg
/home/nano/Desktop/images/09122025/06/54/image_09122025_06_54_14_9641.jpg
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_54_05_10639.jpg
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_54_9633.jpg
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_45_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":["1401220292","1401220301","1401220294","1401220296","1401220299","1401220302"],"photo_ids_order":["1401220292","1401220294","1401220296","1401220299","1401220301","1401220302"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f14280687b52ca0215cbc58cd0d0ae56.jpg","text":"TemporaryFile(/tmp/multipartBody7768157986300319945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810913163,"filename":"image_09122025_06_54_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d803657314afa8e5c534e68a0cd9490.jpg","text":"TemporaryFile(/tmp/multipartBody2681758660052760268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810913163,"filename":"image_09122025_06_53_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/12/27/7022d0a2f871a3544b05cc2cfe800bbd.jpg","text":"TemporaryFile(/tmp/multipartBody306948441949492351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810913163,"filename":"image_09122025_06_54_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d24c31b6bb6682795f93eb28d896e55.jpg","text":"TemporaryFile(/tmp/multipartBody461509859159208256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810913163,"filename":"image_09122025_06_54_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/12/27/9c6f5e41b852077d4e2589925eed13a9.jpg","text":"TemporaryFile(/tmp/multipartBody5638436145648889004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810913163,"filename":"image_09122025_06_54_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dd110f6970b5b77c1180a893bcf8d63.jpg","text":"TemporaryFile(/tmp/multipartBody4127756411991969449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810913163,"filename":"image_09122025_06_53_45_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220296","file1":"1401220294","file0":"1401220292","file4":"1401220301","file5":"1401220302","file3":"1401220299"},"map_files_photo_id_array":[{"photo_id":"1401220302","filename":"file5"},{"photo_id":"1401220296","filename":"file2"},{"photo_id":"1401220301","filename":"file4"},{"photo_id":"1401220294","filename":"file1"},{"photo_id":"1401220292","filename":"file0"},{"photo_id":"1401220299","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220292":["hashtag1","hashtag2"]},{"1401220301":["hashtag1","hashtag2"]},{"1401220294":["hashtag1","hashtag2"]},{"1401220296":["hashtag1","hashtag2"]},{"1401220299":["hashtag1","hashtag2"]},{"1401220302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220292, 1401220301, 1401220294, 1401220296, 1401220299, 1401220302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78565835952759 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:48:17.445417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_35_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_15_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_53_05_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_54_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_45_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_35_10654.jpg', '/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_24_9630.jpg', '/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_15_9640.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_53_05_10625.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_54_9625.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_35_10654.jpg
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_24_9630.jpg
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_15_9640.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_53_05_10625.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_54_9625.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_45_10620.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6970422267913818 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:48:32.478134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_35_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_15_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_53_05_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_54_9625.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_45_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_35_10654.jpg', '/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_24_9630.jpg', '/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_15_9640.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_53_05_10625.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_54_9625.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_35_10654.jpg
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_24_9630.jpg
/home/nano/Desktop/images/09122025/06/53/image_09122025_06_53_15_9640.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_53_05_10625.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_54_9625.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_45_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":["1401220326","1401220325","1401220316","1401220318","1401220320","1401220323"],"photo_ids_order":["1401220316","1401220318","1401220320","1401220323","1401220325","1401220326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed51c9b7ba343fec4cd989356ed72ea7.jpg","text":"TemporaryFile(/tmp/multipartBody6771177535266134090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810973314,"filename":"image_09122025_06_52_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25ad88d3a1c249d58ff045f4d34409dd.jpg","text":"TemporaryFile(/tmp/multipartBody4212308450258178751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810973314,"filename":"image_09122025_06_52_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/12/27/acb9cd9b2de69a21a546fdf26545d452.jpg","text":"TemporaryFile(/tmp/multipartBody8379567651942437475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810973314,"filename":"image_09122025_06_53_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/934e41f7970eb26c452f1d4fc95cda42.jpg","text":"TemporaryFile(/tmp/multipartBody2989429914752608579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810973314,"filename":"image_09122025_06_53_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/12/27/e81ca21fc242160589325797530a6015.jpg","text":"TemporaryFile(/tmp/multipartBody6003968731028761418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810973314,"filename":"image_09122025_06_53_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/882df826fc1211619ec202e6d468fde5.jpg","text":"TemporaryFile(/tmp/multipartBody8509162278062858869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766810973314,"filename":"image_09122025_06_53_05_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220320","file1":"1401220318","file0":"1401220316","file4":"1401220325","file5":"1401220326","file3":"1401220323"},"map_files_photo_id_array":[{"photo_id":"1401220326","filename":"file5"},{"photo_id":"1401220320","filename":"file2"},{"photo_id":"1401220325","filename":"file4"},{"photo_id":"1401220318","filename":"file1"},{"photo_id":"1401220316","filename":"file0"},{"photo_id":"1401220323","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220326":["hashtag1","hashtag2"]},{"1401220325":["hashtag1","hashtag2"]},{"1401220316":["hashtag1","hashtag2"]},{"1401220318":["hashtag1","hashtag2"]},{"1401220320":["hashtag1","hashtag2"]},{"1401220323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220326, 1401220325, 1401220316, 1401220318, 1401220320, 1401220323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39775323867798 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:49:17.580564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_34_9624.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_24_9617.jpg', 2), ('/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_15_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/06/51/image_09122025_06_52_04_9611.jpg', 2), ('/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_55_9622.jpg', 2), ('/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_45_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_34_9624.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_24_9617.jpg', '/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_15_10656.jpg', '/home/nano/Desktop/images/09122025/06/51/image_09122025_06_52_04_9611.jpg', '/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_55_9622.jpg', '/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_45_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_34_9624.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_24_9617.jpg
/home/nano/Desktop/images/09122025/06/52/image_09122025_06_52_15_10656.jpg
/home/nano/Desktop/images/09122025/06/51/image_09122025_06_52_04_9611.jpg
/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_55_9622.jpg
/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_45_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":["1401220337","1401220331","1401220339","1401220333","1401220341","1401220335"],"photo_ids_order":["1401220331","1401220333","1401220335","1401220337","1401220339","1401220341"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97f962193bf2333eea9d912f40f263a2.jpg","text":"TemporaryFile(/tmp/multipartBody2685393674109438314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811018417,"filename":"image_09122025_06_52_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/12/27/446164f336d732814c869532c1bbaa3b.jpg","text":"TemporaryFile(/tmp/multipartBody1949650262814223524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811018417,"filename":"image_09122025_06_52_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/12/27/09b2ddc403cf2b0b75e45fc1de81ffe6.jpg","text":"TemporaryFile(/tmp/multipartBody9197109240421395730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811018417,"filename":"image_09122025_06_51_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48ee2651c1824e61a8860c711c88095b.jpg","text":"TemporaryFile(/tmp/multipartBody2075914733960049986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811018417,"filename":"image_09122025_06_52_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/12/27/6e7da5fce3ce4201088f6fd23ae1e6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6177572082891879384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811018417,"filename":"image_09122025_06_51_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4f7e0abca903ccb68d7e51dc76ad2b2.jpg","text":"TemporaryFile(/tmp/multipartBody3273519303941616982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811018417,"filename":"image_09122025_06_52_15_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220335","file1":"1401220333","file0":"1401220331","file4":"1401220339","file5":"1401220341","file3":"1401220337"},"map_files_photo_id_array":[{"photo_id":"1401220341","filename":"file5"},{"photo_id":"1401220335","filename":"file2"},{"photo_id":"1401220339","filename":"file4"},{"photo_id":"1401220333","filename":"file1"},{"photo_id":"1401220331","filename":"file0"},{"photo_id":"1401220337","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220337":["hashtag1","hashtag2"]},{"1401220331":["hashtag1","hashtag2"]},{"1401220339":["hashtag1","hashtag2"]},{"1401220333":["hashtag1","hashtag2"]},{"1401220341":["hashtag1","hashtag2"]},{"1401220335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220337, 1401220331, 1401220339, 1401220333, 1401220341, 1401220335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.879029750823975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:50:03.088775
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_34_9623.jpg', 2), ('/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_25_10617.jpg', 2), ('/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_14_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/06/50/image_09122025_06_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_44_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_34_9623.jpg', '/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_25_10617.jpg', '/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_14_9640.jpg', '/home/nano/Desktop/images/09122025/06/50/image_09122025_06_51_04_9614.jpg', '/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_55_10643.jpg', '/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_34_9623.jpg
/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_25_10617.jpg
/home/nano/Desktop/images/09122025/06/51/image_09122025_06_51_14_9640.jpg
/home/nano/Desktop/images/09122025/06/50/image_09122025_06_51_04_9614.jpg
/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_55_10643.jpg
/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_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":["1401220361","1401220358","1401220352","1401220354","1401220350","1401220356"],"photo_ids_order":["1401220350","1401220352","1401220354","1401220356","1401220358","1401220361"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e960cc5a186d8dc848b5f8c6b3d69655.jpg","text":"TemporaryFile(/tmp/multipartBody5769751942494770213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811064040,"filename":"image_09122025_06_50_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/12/27/343e962f55a4a3e5dc8307f4d1795a30.jpg","text":"TemporaryFile(/tmp/multipartBody7609429276260946816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811064040,"filename":"image_09122025_06_50_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3fe25a86f424bf5bbc704529830d101.jpg","text":"TemporaryFile(/tmp/multipartBody6396850012486520595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811064040,"filename":"image_09122025_06_51_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62614fecab8e14428e3174e93b6f5e64.jpg","text":"TemporaryFile(/tmp/multipartBody4495969513394335614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811064040,"filename":"image_09122025_06_51_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/12/27/f5a51f8f0e9dde5f9c04643da57ead72.jpg","text":"TemporaryFile(/tmp/multipartBody3647346442086196990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811064040,"filename":"image_09122025_06_51_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/12/27/740775824a20e3e52a6ef4a055226240.jpg","text":"TemporaryFile(/tmp/multipartBody2341994674477574880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811064040,"filename":"image_09122025_06_51_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220354","file1":"1401220352","file0":"1401220350","file4":"1401220358","file5":"1401220361","file3":"1401220356"},"map_files_photo_id_array":[{"photo_id":"1401220361","filename":"file5"},{"photo_id":"1401220354","filename":"file2"},{"photo_id":"1401220358","filename":"file4"},{"photo_id":"1401220352","filename":"file1"},{"photo_id":"1401220350","filename":"file0"},{"photo_id":"1401220356","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220361":["hashtag1","hashtag2"]},{"1401220358":["hashtag1","hashtag2"]},{"1401220352":["hashtag1","hashtag2"]},{"1401220354":["hashtag1","hashtag2"]},{"1401220350":["hashtag1","hashtag2"]},{"1401220356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220361, 1401220358, 1401220352, 1401220354, 1401220350, 1401220356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25380992889404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:50:47.681759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_25_10625.jpg', 2), ('/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_14_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/06/49/image_09122025_06_50_05_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_55_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_44_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_35_9634.jpg', '/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_25_10625.jpg', '/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_14_9642.jpg', '/home/nano/Desktop/images/09122025/06/49/image_09122025_06_50_05_9637.jpg', '/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_55_10647.jpg', '/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_35_9634.jpg
/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_25_10625.jpg
/home/nano/Desktop/images/09122025/06/50/image_09122025_06_50_14_9642.jpg
/home/nano/Desktop/images/09122025/06/49/image_09122025_06_50_05_9637.jpg
/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_55_10647.jpg
/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_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":["1401220373","1401220370","1401220375","1401220369","1401220371","1401220368"],"photo_ids_order":["1401220368","1401220369","1401220370","1401220371","1401220373","1401220375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78623d5647a13e0474fe6963c6ef52a1.jpg","text":"TemporaryFile(/tmp/multipartBody6039577821330283778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811108494,"filename":"image_09122025_06_49_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1aa577de21708f5a67d878fb4b26cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody5854944244130532397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811108494,"filename":"image_09122025_06_50_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/12/27/117c4d7d33d89f8231ea831c8dddfe9b.jpg","text":"TemporaryFile(/tmp/multipartBody2715690091592470409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811108494,"filename":"image_09122025_06_49_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/12/27/571081fad471b27e5cb612f4ccce70f4.jpg","text":"TemporaryFile(/tmp/multipartBody8432364790564472663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811108494,"filename":"image_09122025_06_50_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d85d75b033488c015bc11d56d6d082b.jpg","text":"TemporaryFile(/tmp/multipartBody6404444535855302058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811108494,"filename":"image_09122025_06_50_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca69849f8a18f7bc919f7ec30cac587e.jpg","text":"TemporaryFile(/tmp/multipartBody5435266835922985418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811108494,"filename":"image_09122025_06_50_35_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220370","file1":"1401220369","file0":"1401220368","file4":"1401220373","file5":"1401220375","file3":"1401220371"},"map_files_photo_id_array":[{"photo_id":"1401220375","filename":"file5"},{"photo_id":"1401220370","filename":"file2"},{"photo_id":"1401220373","filename":"file4"},{"photo_id":"1401220369","filename":"file1"},{"photo_id":"1401220368","filename":"file0"},{"photo_id":"1401220371","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220373":["hashtag1","hashtag2"]},{"1401220370":["hashtag1","hashtag2"]},{"1401220375":["hashtag1","hashtag2"]},{"1401220369":["hashtag1","hashtag2"]},{"1401220371":["hashtag1","hashtag2"]},{"1401220368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220373, 1401220370, 1401220375, 1401220369, 1401220371, 1401220368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09917187690735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:51:31.777673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_35_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_24_9609.jpg', 2), ('/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_15_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/06/48/image_09122025_06_49_05_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_35_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_24_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_35_10656.jpg', '/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_24_9609.jpg', '/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_15_9648.jpg', '/home/nano/Desktop/images/09122025/06/48/image_09122025_06_49_05_10649.jpg', '/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_35_10662.jpg', '/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_24_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_35_10656.jpg
/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_24_9609.jpg
/home/nano/Desktop/images/09122025/06/49/image_09122025_06_49_15_9648.jpg
/home/nano/Desktop/images/09122025/06/48/image_09122025_06_49_05_10649.jpg
/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_35_10662.jpg
/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_24_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":["1401220383","1401220392","1401220386","1401220389","1401220380","1401220391"],"photo_ids_order":["1401220380","1401220383","1401220386","1401220389","1401220391","1401220392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb15da816b6ff374959b7f1009fdeb2b.jpg","text":"TemporaryFile(/tmp/multipartBody7694440907880333714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811152603,"filename":"image_09122025_06_49_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/12/27/8a050577ebd0f5b98202760fa502e2d2.jpg","text":"TemporaryFile(/tmp/multipartBody8072598871519341554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811152603,"filename":"image_09122025_06_48_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/12/27/d7489bccf1d15ea906dbabdfbb6176b0.jpg","text":"TemporaryFile(/tmp/multipartBody3442105847629793845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811152603,"filename":"image_09122025_06_49_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e1b949842326c983b377e3329c779e1.jpg","text":"TemporaryFile(/tmp/multipartBody8982987922061194075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811152603,"filename":"image_09122025_06_49_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e5074aa75a8a5408b897bd430ccb3e5.jpg","text":"TemporaryFile(/tmp/multipartBody8097031593364820361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811152603,"filename":"image_09122025_06_49_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f62131ce3276f032d7ebc91118a946ed.jpg","text":"TemporaryFile(/tmp/multipartBody5114716646006716854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811152603,"filename":"image_09122025_06_48_35_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220386","file1":"1401220383","file0":"1401220380","file4":"1401220391","file5":"1401220392","file3":"1401220389"},"map_files_photo_id_array":[{"photo_id":"1401220392","filename":"file5"},{"photo_id":"1401220386","filename":"file2"},{"photo_id":"1401220391","filename":"file4"},{"photo_id":"1401220383","filename":"file1"},{"photo_id":"1401220380","filename":"file0"},{"photo_id":"1401220389","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220383":["hashtag1","hashtag2"]},{"1401220392":["hashtag1","hashtag2"]},{"1401220386":["hashtag1","hashtag2"]},{"1401220389":["hashtag1","hashtag2"]},{"1401220380":["hashtag1","hashtag2"]},{"1401220391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220383, 1401220392, 1401220386, 1401220389, 1401220380, 1401220391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.657899141311646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:52:16.868184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_15_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/47/image_09122025_06_48_05_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_35_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_15_9643.jpg', '/home/nano/Desktop/images/09122025/06/47/image_09122025_06_48_05_10641.jpg', '/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_54_9635.jpg', '/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_45_10646.jpg', '/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_24_9634.jpg', '/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_35_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/48/image_09122025_06_48_15_9643.jpg
/home/nano/Desktop/images/09122025/06/47/image_09122025_06_48_05_10641.jpg
/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_54_9635.jpg
/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_45_10646.jpg
/home/nano/Desktop/images/09122025/06/47/image_09122025_06_47_24_9634.jpg
/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_35_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":["1401220394","1401220397","1401220406","1401220400","1401220403","1401220393"],"photo_ids_order":["1401220393","1401220394","1401220397","1401220400","1401220403","1401220406"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a7b9bcd07cd410bc74774fe6db26e60.jpg","text":"TemporaryFile(/tmp/multipartBody2013382778513628230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811197686,"filename":"image_09122025_06_48_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3996226b721b3fc3cb0b42e7825d0c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5479477690313188199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811197686,"filename":"image_09122025_06_47_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/12/27/46fcb81b756b81ecd3136afdc5a221ef.jpg","text":"TemporaryFile(/tmp/multipartBody215876448910332774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811197686,"filename":"image_09122025_06_43_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10037f5b2e63ca3f8ecb41ea8e36651f.jpg","text":"TemporaryFile(/tmp/multipartBody649444202186131886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811197686,"filename":"image_09122025_06_47_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6459cf4d59fa89c38fb41cde15112f6.jpg","text":"TemporaryFile(/tmp/multipartBody4026645395545901368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811197686,"filename":"image_09122025_06_47_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/12/27/355688844e21ea3f2fc6cb64ee933845.jpg","text":"TemporaryFile(/tmp/multipartBody1709620749429264472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811197686,"filename":"image_09122025_06_48_15_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220397","file1":"1401220394","file0":"1401220393","file4":"1401220403","file5":"1401220406","file3":"1401220400"},"map_files_photo_id_array":[{"photo_id":"1401220406","filename":"file5"},{"photo_id":"1401220397","filename":"file2"},{"photo_id":"1401220403","filename":"file4"},{"photo_id":"1401220394","filename":"file1"},{"photo_id":"1401220393","filename":"file0"},{"photo_id":"1401220400","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220394":["hashtag1","hashtag2"]},{"1401220397":["hashtag1","hashtag2"]},{"1401220406":["hashtag1","hashtag2"]},{"1401220400":["hashtag1","hashtag2"]},{"1401220403":["hashtag1","hashtag2"]},{"1401220393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220394, 1401220397, 1401220406, 1401220400, 1401220403, 1401220393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20024347305298 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:53:02.301806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_25_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_14_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/06/42/image_09122025_06_43_05_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_35_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_25_10648.jpg', '/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_14_9653.jpg', '/home/nano/Desktop/images/09122025/06/42/image_09122025_06_43_05_9643.jpg', '/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_55_10643.jpg', '/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_44_9635.jpg', '/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_35_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_25_10648.jpg
/home/nano/Desktop/images/09122025/06/43/image_09122025_06_43_14_9653.jpg
/home/nano/Desktop/images/09122025/06/42/image_09122025_06_43_05_9643.jpg
/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_55_10643.jpg
/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_44_9635.jpg
/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_35_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":["1401220418","1401220412","1401220415","1401220411","1401220414","1401220413"],"photo_ids_order":["1401220411","1401220412","1401220413","1401220414","1401220415","1401220418"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e8de92a011ddafc7b81bbdfc9f1bec9.jpg","text":"TemporaryFile(/tmp/multipartBody3682690985447321855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811243191,"filename":"image_09122025_06_42_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cd6c8d10d490757d3e5e4dcef8d6878.jpg","text":"TemporaryFile(/tmp/multipartBody5937815514243023010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811243191,"filename":"image_09122025_06_43_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/12/27/46e5ce0393c27540e21ae5df25c9c0b9.jpg","text":"TemporaryFile(/tmp/multipartBody2470424942067142587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811243191,"filename":"image_09122025_06_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/12/27/464529b3e0cab56c37ebbe5c3da1625f.jpg","text":"TemporaryFile(/tmp/multipartBody42956410741609612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811243191,"filename":"image_09122025_06_43_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a75fcc4efceb2779d03e591108ce9ec8.jpg","text":"TemporaryFile(/tmp/multipartBody1434288802231748548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811243191,"filename":"image_09122025_06_42_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae364abb345d52ab8f291e8f205e2496.jpg","text":"TemporaryFile(/tmp/multipartBody448063156110835621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811243191,"filename":"image_09122025_06_43_05_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220413","file1":"1401220412","file0":"1401220411","file4":"1401220415","file5":"1401220418","file3":"1401220414"},"map_files_photo_id_array":[{"photo_id":"1401220418","filename":"file5"},{"photo_id":"1401220413","filename":"file2"},{"photo_id":"1401220415","filename":"file4"},{"photo_id":"1401220412","filename":"file1"},{"photo_id":"1401220411","filename":"file0"},{"photo_id":"1401220414","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220418":["hashtag1","hashtag2"]},{"1401220412":["hashtag1","hashtag2"]},{"1401220415":["hashtag1","hashtag2"]},{"1401220411":["hashtag1","hashtag2"]},{"1401220414":["hashtag1","hashtag2"]},{"1401220413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220418, 1401220412, 1401220415, 1401220411, 1401220414, 1401220413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75118613243103 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:53:47.000692
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/06/41/image_09122025_06_42_05_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_45_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_15_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_24_9632.jpg', '/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_14_9650.jpg', '/home/nano/Desktop/images/09122025/06/41/image_09122025_06_42_05_10657.jpg', '/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_45_9639.jpg', '/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_24_9631.jpg', '/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_15_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_24_9632.jpg
/home/nano/Desktop/images/09122025/06/42/image_09122025_06_42_14_9650.jpg
/home/nano/Desktop/images/09122025/06/41/image_09122025_06_42_05_10657.jpg
/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_45_9639.jpg
/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_24_9631.jpg
/home/nano/Desktop/images/09122025/06/41/image_09122025_06_41_15_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":["1401220430","1401220427","1401220429","1401220432","1401220431","1401220428"],"photo_ids_order":["1401220427","1401220428","1401220429","1401220430","1401220431","1401220432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ac3cf354a45848dbb857463b3b73c01.jpg","text":"TemporaryFile(/tmp/multipartBody2638067440136626298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811287821,"filename":"image_09122025_06_41_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5ff6796e29e420b8dc514795f5a7bc0.jpg","text":"TemporaryFile(/tmp/multipartBody3892372490559377846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811287821,"filename":"image_09122025_06_42_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/12/27/6c81a4de7487764857a7070e87f66f5b.jpg","text":"TemporaryFile(/tmp/multipartBody5209062910976455404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811287821,"filename":"image_09122025_06_42_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/302bdd196f486fc588757194768516b8.jpg","text":"TemporaryFile(/tmp/multipartBody3107295920207049671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811287821,"filename":"image_09122025_06_41_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f33102266ead4ef7194ade6da5a5189.jpg","text":"TemporaryFile(/tmp/multipartBody1194852253710006504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811287821,"filename":"image_09122025_06_41_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/12/27/66e8d3ab394e53b53f0c8ef13b156671.jpg","text":"TemporaryFile(/tmp/multipartBody6072562544442494169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811287821,"filename":"image_09122025_06_42_14_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220429","file1":"1401220428","file0":"1401220427","file4":"1401220431","file5":"1401220432","file3":"1401220430"},"map_files_photo_id_array":[{"photo_id":"1401220432","filename":"file5"},{"photo_id":"1401220429","filename":"file2"},{"photo_id":"1401220431","filename":"file4"},{"photo_id":"1401220428","filename":"file1"},{"photo_id":"1401220427","filename":"file0"},{"photo_id":"1401220430","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220430":["hashtag1","hashtag2"]},{"1401220427":["hashtag1","hashtag2"]},{"1401220429":["hashtag1","hashtag2"]},{"1401220432":["hashtag1","hashtag2"]},{"1401220431":["hashtag1","hashtag2"]},{"1401220428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220430, 1401220427, 1401220429, 1401220432, 1401220431, 1401220428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08160877227783 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:54:32.143312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/40/image_09122025_06_41_05_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/06/40/image_09122025_06_40_45_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/06/40/image_09122025_06_40_15_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/06/38/image_09122025_06_38_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/06/38/image_09122025_06_38_25_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/06/37/image_09122025_06_38_04_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/40/image_09122025_06_41_05_10653.jpg', '/home/nano/Desktop/images/09122025/06/40/image_09122025_06_40_45_9645.jpg', '/home/nano/Desktop/images/09122025/06/40/image_09122025_06_40_15_9651.jpg', '/home/nano/Desktop/images/09122025/06/38/image_09122025_06_38_34_9636.jpg', '/home/nano/Desktop/images/09122025/06/38/image_09122025_06_38_25_9650.jpg', '/home/nano/Desktop/images/09122025/06/37/image_09122025_06_38_04_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/40/image_09122025_06_41_05_10653.jpg
/home/nano/Desktop/images/09122025/06/40/image_09122025_06_40_45_9645.jpg
/home/nano/Desktop/images/09122025/06/40/image_09122025_06_40_15_9651.jpg
/home/nano/Desktop/images/09122025/06/38/image_09122025_06_38_34_9636.jpg
/home/nano/Desktop/images/09122025/06/38/image_09122025_06_38_25_9650.jpg
/home/nano/Desktop/images/09122025/06/37/image_09122025_06_38_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":["1401220439","1401220448","1401220441","1401220446","1401220449","1401220443"],"photo_ids_order":["1401220439","1401220441","1401220443","1401220446","1401220448","1401220449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/763793bfd0395c70d67b4312e8576399.jpg","text":"TemporaryFile(/tmp/multipartBody6028463159977875030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811332981,"filename":"image_09122025_06_41_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/741aa4f21d8f276ffdeef9c6bc1408ba.jpg","text":"TemporaryFile(/tmp/multipartBody5332085112885292971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811332981,"filename":"image_09122025_06_38_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13d0820884c0a615af0fe51b53178879.jpg","text":"TemporaryFile(/tmp/multipartBody781686411613656733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811332981,"filename":"image_09122025_06_40_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/230f18ad215ffe04c367a173a4b67df8.jpg","text":"TemporaryFile(/tmp/multipartBody3841939128485425572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811332981,"filename":"image_09122025_06_38_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/12/27/044dd7f2a4080ca79b7ca7b19de6b602.jpg","text":"TemporaryFile(/tmp/multipartBody2084877843007983916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811332981,"filename":"image_09122025_06_38_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/12/27/2f4caedf933e9da876c0c65c8cf6757a.jpg","text":"TemporaryFile(/tmp/multipartBody4262519757801555367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811332981,"filename":"image_09122025_06_40_15_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220443","file1":"1401220441","file0":"1401220439","file4":"1401220448","file5":"1401220449","file3":"1401220446"},"map_files_photo_id_array":[{"photo_id":"1401220449","filename":"file5"},{"photo_id":"1401220443","filename":"file2"},{"photo_id":"1401220448","filename":"file4"},{"photo_id":"1401220441","filename":"file1"},{"photo_id":"1401220439","filename":"file0"},{"photo_id":"1401220446","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220439":["hashtag1","hashtag2"]},{"1401220448":["hashtag1","hashtag2"]},{"1401220441":["hashtag1","hashtag2"]},{"1401220446":["hashtag1","hashtag2"]},{"1401220449":["hashtag1","hashtag2"]},{"1401220443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220439, 1401220448, 1401220441, 1401220446, 1401220449, 1401220443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.268577098846436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:55:17.211009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/37/image_09122025_06_37_45_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/06/37/image_09122025_06_37_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/36/image_09122025_06_37_04_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/06/36/image_09122025_06_36_25_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/06/36/image_09122025_06_36_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/06/35/image_09122025_06_36_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/37/image_09122025_06_37_45_10661.jpg', '/home/nano/Desktop/images/09122025/06/37/image_09122025_06_37_34_9635.jpg', '/home/nano/Desktop/images/09122025/06/36/image_09122025_06_37_04_9645.jpg', '/home/nano/Desktop/images/09122025/06/36/image_09122025_06_36_25_10646.jpg', '/home/nano/Desktop/images/09122025/06/36/image_09122025_06_36_14_9651.jpg', '/home/nano/Desktop/images/09122025/06/35/image_09122025_06_36_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/37/image_09122025_06_37_45_10661.jpg
/home/nano/Desktop/images/09122025/06/37/image_09122025_06_37_34_9635.jpg
/home/nano/Desktop/images/09122025/06/36/image_09122025_06_37_04_9645.jpg
/home/nano/Desktop/images/09122025/06/36/image_09122025_06_36_25_10646.jpg
/home/nano/Desktop/images/09122025/06/36/image_09122025_06_36_14_9651.jpg
/home/nano/Desktop/images/09122025/06/35/image_09122025_06_36_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":["1401220460","1401220454","1401220463","1401220457","1401220451","1401220450"],"photo_ids_order":["1401220450","1401220451","1401220454","1401220457","1401220460","1401220463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a07b430dcf5fcfe38d01f745b3d2932a.jpg","text":"TemporaryFile(/tmp/multipartBody1441981350311751905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811378047,"filename":"image_09122025_06_36_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/12/27/bfce72d5a112cbff16b76e2b66b36ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2896045417839375269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811378047,"filename":"image_09122025_06_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/12/27/5a1eafe3338949a209c60531504ea297.jpg","text":"TemporaryFile(/tmp/multipartBody2970448068597980041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811378047,"filename":"image_09122025_06_36_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/12/27/31b81df91ee8fbdd903903bbed44f453.jpg","text":"TemporaryFile(/tmp/multipartBody2323293907735165433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811378047,"filename":"image_09122025_06_36_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/083721d198f512a3ac47347d33f51e64.jpg","text":"TemporaryFile(/tmp/multipartBody2400843671909626899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811378047,"filename":"image_09122025_06_37_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/12/27/1ed8ae2e553c3d94d78d326dce1ec300.jpg","text":"TemporaryFile(/tmp/multipartBody5113404690088191787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811378047,"filename":"image_09122025_06_37_45_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220454","file1":"1401220451","file0":"1401220450","file4":"1401220460","file5":"1401220463","file3":"1401220457"},"map_files_photo_id_array":[{"photo_id":"1401220463","filename":"file5"},{"photo_id":"1401220454","filename":"file2"},{"photo_id":"1401220460","filename":"file4"},{"photo_id":"1401220451","filename":"file1"},{"photo_id":"1401220450","filename":"file0"},{"photo_id":"1401220457","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220460":["hashtag1","hashtag2"]},{"1401220454":["hashtag1","hashtag2"]},{"1401220463":["hashtag1","hashtag2"]},{"1401220457":["hashtag1","hashtag2"]},{"1401220451":["hashtag1","hashtag2"]},{"1401220450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220460, 1401220454, 1401220463, 1401220457, 1401220451, 1401220450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53994297981262 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:56:02.708422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/35/image_09122025_06_35_35_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/35/image_09122025_06_35_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_44_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/06/33/image_09122025_06_34_05_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/35/image_09122025_06_35_35_9633.jpg', '/home/nano/Desktop/images/09122025/06/35/image_09122025_06_35_14_9648.jpg', '/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_44_9651.jpg', '/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_25_10644.jpg', '/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_14_9648.jpg', '/home/nano/Desktop/images/09122025/06/33/image_09122025_06_34_05_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/35/image_09122025_06_35_35_9633.jpg
/home/nano/Desktop/images/09122025/06/35/image_09122025_06_35_14_9648.jpg
/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_44_9651.jpg
/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_25_10644.jpg
/home/nano/Desktop/images/09122025/06/34/image_09122025_06_34_14_9648.jpg
/home/nano/Desktop/images/09122025/06/33/image_09122025_06_34_05_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":["1401220472","1401220469","1401220466","1401220468","1401220470","1401220467"],"photo_ids_order":["1401220466","1401220467","1401220468","1401220469","1401220470","1401220472"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d84a5f9de79a6ebe1f93e1cb9bfb5c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8315785332313847610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811423589,"filename":"image_09122025_06_34_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be07d4dce0eec2fda61eb21b1ac0e858.jpg","text":"TemporaryFile(/tmp/multipartBody762549759373913499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811423589,"filename":"image_09122025_06_34_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf7aa4b33e4a5be0c7583566267d3ac8.jpg","text":"TemporaryFile(/tmp/multipartBody4866993730133669165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811423589,"filename":"image_09122025_06_35_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9bcf75f4baa0a103792dff3ccce923a3.jpg","text":"TemporaryFile(/tmp/multipartBody8975001138180718559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811423589,"filename":"image_09122025_06_34_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/12/27/59565ba239cf392bd1d0543fb76a1884.jpg","text":"TemporaryFile(/tmp/multipartBody3782999226266226058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811423589,"filename":"image_09122025_06_34_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/12/27/db14a62fe3f4dba0a60a56c874b079c7.jpg","text":"TemporaryFile(/tmp/multipartBody4447974983495376580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811423589,"filename":"image_09122025_06_35_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220468","file1":"1401220467","file0":"1401220466","file4":"1401220470","file5":"1401220472","file3":"1401220469"},"map_files_photo_id_array":[{"photo_id":"1401220472","filename":"file5"},{"photo_id":"1401220468","filename":"file2"},{"photo_id":"1401220470","filename":"file4"},{"photo_id":"1401220467","filename":"file1"},{"photo_id":"1401220466","filename":"file0"},{"photo_id":"1401220469","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220472":["hashtag1","hashtag2"]},{"1401220469":["hashtag1","hashtag2"]},{"1401220466":["hashtag1","hashtag2"]},{"1401220468":["hashtag1","hashtag2"]},{"1401220470":["hashtag1","hashtag2"]},{"1401220467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220472, 1401220469, 1401220466, 1401220468, 1401220470, 1401220467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68071389198303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:56:47.319404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_44_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_35_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_45_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_35_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_54_9633.jpg', '/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_44_9640.jpg', '/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_35_10644.jpg', '/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_24_9633.jpg', '/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_45_9638.jpg', '/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_35_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_54_9633.jpg
/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_44_9640.jpg
/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_35_10644.jpg
/home/nano/Desktop/images/09122025/06/33/image_09122025_06_33_24_9633.jpg
/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_45_9638.jpg
/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_35_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":["1401220481","1401220483","1401220486","1401220480","1401220482","1401220485"],"photo_ids_order":["1401220480","1401220481","1401220482","1401220483","1401220485","1401220486"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/535d541a87c3ad7385e4dcfc0061eec5.jpg","text":"TemporaryFile(/tmp/multipartBody3306601545639743785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811468187,"filename":"image_09122025_06_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/12/27/11544e78c6ac76ebbbe1a74b68a0eadd.jpg","text":"TemporaryFile(/tmp/multipartBody7403233275995771152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811468187,"filename":"image_09122025_06_33_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/12/27/ebb9db17b6aa705cb06fdee7f0a7f852.jpg","text":"TemporaryFile(/tmp/multipartBody254803619526528352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811468187,"filename":"image_09122025_06_32_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f1ea2bbb30673268c43946b1bc4343a.jpg","text":"TemporaryFile(/tmp/multipartBody957130494267383124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811468187,"filename":"image_09122025_06_33_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/12/27/ef72529315c1fe43097c8670adef5e9d.jpg","text":"TemporaryFile(/tmp/multipartBody384798584564841935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811468187,"filename":"image_09122025_06_33_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92edae025a641d2e9092b2501f9e4cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8831632374244102587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811468187,"filename":"image_09122025_06_32_45_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220482","file1":"1401220481","file0":"1401220480","file4":"1401220485","file5":"1401220486","file3":"1401220483"},"map_files_photo_id_array":[{"photo_id":"1401220486","filename":"file5"},{"photo_id":"1401220482","filename":"file2"},{"photo_id":"1401220485","filename":"file4"},{"photo_id":"1401220481","filename":"file1"},{"photo_id":"1401220480","filename":"file0"},{"photo_id":"1401220483","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220481":["hashtag1","hashtag2"]},{"1401220483":["hashtag1","hashtag2"]},{"1401220486":["hashtag1","hashtag2"]},{"1401220480":["hashtag1","hashtag2"]},{"1401220482":["hashtag1","hashtag2"]},{"1401220485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220481, 1401220483, 1401220486, 1401220480, 1401220482, 1401220485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22508692741394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:57:32.449413
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/05/56/image_27122025_05_57_05_10536.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/05/56/image_27122025_05_57_05_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/05/56/image_27122025_05_57_05_10536.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.13061308860778809 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:57:47.430917
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/05/56/image_27122025_05_57_05_10536.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/05/56/image_27122025_05_57_05_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/05/56/image_27122025_05_57_05_10536.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401220495"],"photo_id":"1401220495","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e3ce70dbfd9c20229f1185d892f0283.jpg","text":"TemporaryFile(/tmp/multipartBody6361459543548615272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811527673,"filename":"image_27122025_05_57_05_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401220495"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401220495"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.51801061630249 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:59:03.064116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/06/31/image_09122025_06_32_05_10655.jpg', 2), ('/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_34_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_15_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_24_9634.jpg', '/home/nano/Desktop/images/09122025/06/31/image_09122025_06_32_05_10655.jpg', '/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_54_9633.jpg', '/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_34_9637.jpg', '/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_24_9633.jpg', '/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_15_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/32/image_09122025_06_32_24_9634.jpg
/home/nano/Desktop/images/09122025/06/31/image_09122025_06_32_05_10655.jpg
/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_54_9633.jpg
/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_34_9637.jpg
/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_24_9633.jpg
/home/nano/Desktop/images/09122025/06/31/image_09122025_06_31_15_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":["1401220506","1401220496","1401220502","1401220512","1401220509","1401220499"],"photo_ids_order":["1401220496","1401220499","1401220502","1401220506","1401220509","1401220512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a58a18cc9a24f89f68293d32eb74c8f.jpg","text":"TemporaryFile(/tmp/multipartBody6543263626619050278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811603966,"filename":"image_09122025_06_31_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/12/27/07a9192f4ffa2e9b0f1e89628367af99.jpg","text":"TemporaryFile(/tmp/multipartBody1472362929589794743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811603966,"filename":"image_09122025_06_32_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/12/27/47036f913b2db439815c4e2cf8d37cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8961157400909368375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811603966,"filename":"image_09122025_06_31_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/12/27/772fb4dee3979f2409baa7f22b092650.jpg","text":"TemporaryFile(/tmp/multipartBody3901008344743948611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811603966,"filename":"image_09122025_06_31_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05c4aa973792676976c26dd354d5e621.jpg","text":"TemporaryFile(/tmp/multipartBody2788499197422330744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811603966,"filename":"image_09122025_06_31_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/12/27/0fd21cca48e513257a8a16289292e170.jpg","text":"TemporaryFile(/tmp/multipartBody8160631813616843021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811603966,"filename":"image_09122025_06_32_05_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220502","file1":"1401220499","file0":"1401220496","file4":"1401220509","file5":"1401220512","file3":"1401220506"},"map_files_photo_id_array":[{"photo_id":"1401220512","filename":"file5"},{"photo_id":"1401220502","filename":"file2"},{"photo_id":"1401220509","filename":"file4"},{"photo_id":"1401220499","filename":"file1"},{"photo_id":"1401220496","filename":"file0"},{"photo_id":"1401220506","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220506":["hashtag1","hashtag2"]},{"1401220496":["hashtag1","hashtag2"]},{"1401220502":["hashtag1","hashtag2"]},{"1401220512":["hashtag1","hashtag2"]},{"1401220509":["hashtag1","hashtag2"]},{"1401220499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220506, 1401220496, 1401220502, 1401220512, 1401220509, 1401220499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.620110273361206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 05:59:47.228140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/30/image_09122025_06_31_04_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_25_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/06/29/image_09122025_06_30_04_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_55_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/30/image_09122025_06_31_04_9640.jpg', '/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_45_10644.jpg', '/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_34_9634.jpg', '/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_25_9636.jpg', '/home/nano/Desktop/images/09122025/06/29/image_09122025_06_30_04_9644.jpg', '/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/30/image_09122025_06_31_04_9640.jpg
/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_45_10644.jpg
/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_34_9634.jpg
/home/nano/Desktop/images/09122025/06/30/image_09122025_06_30_25_9636.jpg
/home/nano/Desktop/images/09122025/06/29/image_09122025_06_30_04_9644.jpg
/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_55_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":["1401220518","1401220580","1401220517","1401220520","1401220519","1401220545"],"photo_ids_order":["1401220517","1401220518","1401220519","1401220520","1401220545","1401220580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/292e8f637dffb3a86cbc40212c6ce0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6809532130455154845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811648038,"filename":"image_09122025_06_30_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54f1f0c9da5b49fbc20013b531600808.jpg","text":"TemporaryFile(/tmp/multipartBody3728498415379532141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811648038,"filename":"image_09122025_06_29_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f043097e4189e3b5360b75677b5652b.jpg","text":"TemporaryFile(/tmp/multipartBody2916367237807074109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811648038,"filename":"image_09122025_06_31_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/12/27/78d7fdb0aa7df613b3f622d61bbb25e8.jpg","text":"TemporaryFile(/tmp/multipartBody1125811551371518434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811648038,"filename":"image_09122025_06_30_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/107d2942b56560275210fd8f3baa7567.jpg","text":"TemporaryFile(/tmp/multipartBody2379109835029357409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811648038,"filename":"image_09122025_06_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/12/27/fd2dc013441c07d2cb0c8668ef6fe91c.jpg","text":"TemporaryFile(/tmp/multipartBody1936851484564790261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811648038,"filename":"image_09122025_06_30_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401220519","file1":"1401220518","file0":"1401220517","file4":"1401220545","file5":"1401220580","file3":"1401220520"},"map_files_photo_id_array":[{"photo_id":"1401220580","filename":"file5"},{"photo_id":"1401220519","filename":"file2"},{"photo_id":"1401220545","filename":"file4"},{"photo_id":"1401220518","filename":"file1"},{"photo_id":"1401220517","filename":"file0"},{"photo_id":"1401220520","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401220518":["hashtag1","hashtag2"]},{"1401220580":["hashtag1","hashtag2"]},{"1401220517":["hashtag1","hashtag2"]},{"1401220520":["hashtag1","hashtag2"]},{"1401220519":["hashtag1","hashtag2"]},{"1401220545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401220518, 1401220580, 1401220517, 1401220520, 1401220519, 1401220545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.348806619644165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:00:32.359867
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_45_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_35_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_45_10650.jpg', '/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_34_9635.jpg', '/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_25_10643.jpg', '/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_14_9649.jpg', '/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_44_9641.jpg', '/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_35_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_45_10650.jpg
/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_34_9635.jpg
/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_25_10643.jpg
/home/nano/Desktop/images/09122025/06/29/image_09122025_06_29_14_9649.jpg
/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_44_9641.jpg
/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_35_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":["1401221210","1401220942","1401221145","1401221001","1401220875","1401221075"],"photo_ids_order":["1401220875","1401220942","1401221001","1401221075","1401221145","1401221210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cad9b87d81078e5d4a659ffd7135b32.jpg","text":"TemporaryFile(/tmp/multipartBody7538843637989861511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811693202,"filename":"image_09122025_06_28_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/431d20e18dd46879bdea8540d1c95153.jpg","text":"TemporaryFile(/tmp/multipartBody1744611143573009882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811693202,"filename":"image_09122025_06_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/12/27/86793af985683f9baba5f6102e6bfa25.jpg","text":"TemporaryFile(/tmp/multipartBody3212318942781049757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811693202,"filename":"image_09122025_06_28_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/12/27/2b6c60d794836868d5fdac7a52e81390.jpg","text":"TemporaryFile(/tmp/multipartBody5820829966123277316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811693202,"filename":"image_09122025_06_29_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d15c1d1cb65033f9a4edeec40d91456.jpg","text":"TemporaryFile(/tmp/multipartBody7691787847131504880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811693202,"filename":"image_09122025_06_29_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a1ccba69df9fc11632ca1b4274c549a.jpg","text":"TemporaryFile(/tmp/multipartBody3271911846772653210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811693202,"filename":"image_09122025_06_29_14_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401221001","file1":"1401220942","file0":"1401220875","file4":"1401221145","file5":"1401221210","file3":"1401221075"},"map_files_photo_id_array":[{"photo_id":"1401221210","filename":"file5"},{"photo_id":"1401221001","filename":"file2"},{"photo_id":"1401221145","filename":"file4"},{"photo_id":"1401220942","filename":"file1"},{"photo_id":"1401220875","filename":"file0"},{"photo_id":"1401221075","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401221210":["hashtag1","hashtag2"]},{"1401220942":["hashtag1","hashtag2"]},{"1401221145":["hashtag1","hashtag2"]},{"1401221001":["hashtag1","hashtag2"]},{"1401220875":["hashtag1","hashtag2"]},{"1401221075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401221210, 1401220942, 1401221145, 1401221001, 1401220875, 1401221075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50013303756714 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:01:17.441887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_35_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_14_9659.jpg', 2), ('/home/nano/Desktop/images/09122025/06/26/image_09122025_06_27_05_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_25_10643.jpg', '/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_14_9651.jpg', '/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_35_9631.jpg', '/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_25_10643.jpg', '/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_14_9659.jpg', '/home/nano/Desktop/images/09122025/06/26/image_09122025_06_27_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_25_10643.jpg
/home/nano/Desktop/images/09122025/06/28/image_09122025_06_28_14_9651.jpg
/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_35_9631.jpg
/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_25_10643.jpg
/home/nano/Desktop/images/09122025/06/27/image_09122025_06_27_14_9659.jpg
/home/nano/Desktop/images/09122025/06/26/image_09122025_06_27_05_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":["1401221828","1401221959","1401221689","1401221620","1401221757","1401221894"],"photo_ids_order":["1401221620","1401221689","1401221757","1401221828","1401221894","1401221959"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce42db988a35ef56b8a8cc74bcb21b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7773353988698722709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811738254,"filename":"image_09122025_06_27_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65678dbe6edf54d0d32cbf5b6edce3a3.jpg","text":"TemporaryFile(/tmp/multipartBody1764456946302093180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811738254,"filename":"image_09122025_06_27_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a2359985fa4800d306476615de2fcc9.jpg","text":"TemporaryFile(/tmp/multipartBody3273876920943087528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811738254,"filename":"image_09122025_06_28_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/12/27/986d479617695ddb4ec83edcfa122710.jpg","text":"TemporaryFile(/tmp/multipartBody4131460047085686753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811738254,"filename":"image_09122025_06_28_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f87f9c76fccea952e5ade43225822e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1617933945236801477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811738254,"filename":"image_09122025_06_27_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9499adb5141c89c8912821bf977b4386.jpg","text":"TemporaryFile(/tmp/multipartBody5460917365888307577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811738254,"filename":"image_09122025_06_27_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401221757","file1":"1401221689","file0":"1401221620","file4":"1401221894","file5":"1401221959","file3":"1401221828"},"map_files_photo_id_array":[{"photo_id":"1401221959","filename":"file5"},{"photo_id":"1401221757","filename":"file2"},{"photo_id":"1401221894","filename":"file4"},{"photo_id":"1401221689","filename":"file1"},{"photo_id":"1401221620","filename":"file0"},{"photo_id":"1401221828","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401221828":["hashtag1","hashtag2"]},{"1401221959":["hashtag1","hashtag2"]},{"1401221689":["hashtag1","hashtag2"]},{"1401221620":["hashtag1","hashtag2"]},{"1401221757":["hashtag1","hashtag2"]},{"1401221894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401221828, 1401221959, 1401221689, 1401221620, 1401221757, 1401221894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86466073989868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:02:02.974646
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/26/image_09122025_06_26_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/06/24/image_09122025_06_24_15_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/06/23/image_09122025_06_24_04_9663.jpg', 2), ('/home/nano/Desktop/images/09122025/06/23/image_09122025_06_23_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/23/image_09122025_06_23_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_55_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/26/image_09122025_06_26_54_9632.jpg', '/home/nano/Desktop/images/09122025/06/24/image_09122025_06_24_15_10663.jpg', '/home/nano/Desktop/images/09122025/06/23/image_09122025_06_24_04_9663.jpg', '/home/nano/Desktop/images/09122025/06/23/image_09122025_06_23_55_9633.jpg', '/home/nano/Desktop/images/09122025/06/23/image_09122025_06_23_45_10643.jpg', '/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/26/image_09122025_06_26_54_9632.jpg
/home/nano/Desktop/images/09122025/06/24/image_09122025_06_24_15_10663.jpg
/home/nano/Desktop/images/09122025/06/23/image_09122025_06_24_04_9663.jpg
/home/nano/Desktop/images/09122025/06/23/image_09122025_06_23_55_9633.jpg
/home/nano/Desktop/images/09122025/06/23/image_09122025_06_23_45_10643.jpg
/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_55_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":["1401222113","1401222034","1401222031","1401222078","1401222044","1401222032"],"photo_ids_order":["1401222031","1401222032","1401222034","1401222044","1401222078","1401222113"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/258109a65eb38b41198e6dfa622c76ad.jpg","text":"TemporaryFile(/tmp/multipartBody267600799565068216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811783865,"filename":"image_09122025_06_22_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c02f55b02f4e1ca65684a1be0802342b.jpg","text":"TemporaryFile(/tmp/multipartBody6509817046140149079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811783865,"filename":"image_09122025_06_24_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/12/27/01b3113151f84aeb6e5e4c484c377301.jpg","text":"TemporaryFile(/tmp/multipartBody6855868835986202627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811783865,"filename":"image_09122025_06_26_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/12/27/33bd27dfac79ed1ea4a3e439e3236667.jpg","text":"TemporaryFile(/tmp/multipartBody774040910900988210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811783865,"filename":"image_09122025_06_23_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/807a4868fb465abe01ea0a67824ed004.jpg","text":"TemporaryFile(/tmp/multipartBody5855301709435312359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811783865,"filename":"image_09122025_06_23_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f79f8b214ec24e835a250fc890bda69c.jpg","text":"TemporaryFile(/tmp/multipartBody4521847203685428550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811783865,"filename":"image_09122025_06_24_15_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222034","file1":"1401222032","file0":"1401222031","file4":"1401222078","file5":"1401222113","file3":"1401222044"},"map_files_photo_id_array":[{"photo_id":"1401222113","filename":"file5"},{"photo_id":"1401222034","filename":"file2"},{"photo_id":"1401222078","filename":"file4"},{"photo_id":"1401222032","filename":"file1"},{"photo_id":"1401222031","filename":"file0"},{"photo_id":"1401222044","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222113":["hashtag1","hashtag2"]},{"1401222034":["hashtag1","hashtag2"]},{"1401222031":["hashtag1","hashtag2"]},{"1401222078":["hashtag1","hashtag2"]},{"1401222044":["hashtag1","hashtag2"]},{"1401222032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222113, 1401222034, 1401222031, 1401222078, 1401222044, 1401222032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22666096687317 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:02:47.567121
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_25_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_15_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_34_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_25_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_14_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_34_9635.jpg', '/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_25_9639.jpg', '/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_15_10662.jpg', '/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_34_9637.jpg', '/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_25_10647.jpg', '/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_14_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_34_9635.jpg
/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_25_9639.jpg
/home/nano/Desktop/images/09122025/06/22/image_09122025_06_22_15_10662.jpg
/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_34_9637.jpg
/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_25_10647.jpg
/home/nano/Desktop/images/09122025/06/21/image_09122025_06_21_14_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":["1401222478","1401222514","1401222369","1401222441","1401222312","1401222408"],"photo_ids_order":["1401222312","1401222369","1401222408","1401222441","1401222478","1401222514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d92cdc90fc64f7fe29a102c5ca12a479.jpg","text":"TemporaryFile(/tmp/multipartBody3536825887793315715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811828398,"filename":"image_09122025_06_21_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3fd186c792c6d27f555b0c9229680770.jpg","text":"TemporaryFile(/tmp/multipartBody3171057021800658103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811828398,"filename":"image_09122025_06_21_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/12/27/bc7c67f1237f2762b2fe765e84699f7d.jpg","text":"TemporaryFile(/tmp/multipartBody7677115368159793213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811828398,"filename":"image_09122025_06_22_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94aba36450d7907b8ecb281c801fa8b4.jpg","text":"TemporaryFile(/tmp/multipartBody1943689569805999404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811828398,"filename":"image_09122025_06_21_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/12/27/6b79f17b28dad93deaa36725379bb65f.jpg","text":"TemporaryFile(/tmp/multipartBody3927408494180973275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811828398,"filename":"image_09122025_06_22_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/12/27/fc7bc12f3fcb41f9c7ea6875a631bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody8531914145092942843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811828398,"filename":"image_09122025_06_22_15_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222408","file1":"1401222369","file0":"1401222312","file4":"1401222478","file5":"1401222514","file3":"1401222441"},"map_files_photo_id_array":[{"photo_id":"1401222514","filename":"file5"},{"photo_id":"1401222408","filename":"file2"},{"photo_id":"1401222478","filename":"file4"},{"photo_id":"1401222369","filename":"file1"},{"photo_id":"1401222312","filename":"file0"},{"photo_id":"1401222441","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222478":["hashtag1","hashtag2"]},{"1401222514":["hashtag1","hashtag2"]},{"1401222369":["hashtag1","hashtag2"]},{"1401222441":["hashtag1","hashtag2"]},{"1401222312":["hashtag1","hashtag2"]},{"1401222408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222478, 1401222514, 1401222369, 1401222441, 1401222312, 1401222408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01632523536682 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:03:32.673002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/18/image_09122025_06_18_15_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_45_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_24_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_15_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/16/image_09122025_06_17_05_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_45_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/18/image_09122025_06_18_15_9645.jpg', '/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_45_9635.jpg', '/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_24_9637.jpg', '/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_15_9633.jpg', '/home/nano/Desktop/images/09122025/06/16/image_09122025_06_17_05_10658.jpg', '/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/18/image_09122025_06_18_15_9645.jpg
/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_45_9635.jpg
/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_24_9637.jpg
/home/nano/Desktop/images/09122025/06/17/image_09122025_06_17_15_9633.jpg
/home/nano/Desktop/images/09122025/06/16/image_09122025_06_17_05_10658.jpg
/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_45_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":["1401222652","1401222663","1401222621","1401222677","1401222605","1401222620"],"photo_ids_order":["1401222605","1401222620","1401222621","1401222652","1401222663","1401222677"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69c8fb5c28243c87035e12db839411e7.jpg","text":"TemporaryFile(/tmp/multipartBody7164234170062043204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811873484,"filename":"image_09122025_06_17_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/387a89ef4fa3c000d02f529832572a22.jpg","text":"TemporaryFile(/tmp/multipartBody8560680657534774786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811873484,"filename":"image_09122025_06_17_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb26d0102ae66955d0cc7439ab8d4238.jpg","text":"TemporaryFile(/tmp/multipartBody4466160656720985186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811873484,"filename":"image_09122025_06_17_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/12/27/a3984c9363963f304426c4a5f1c609d0.jpg","text":"TemporaryFile(/tmp/multipartBody2035613780335526564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811873484,"filename":"image_09122025_06_16_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49975be447eec0f80e73fe4c5558636e.jpg","text":"TemporaryFile(/tmp/multipartBody4647019966154100837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811873484,"filename":"image_09122025_06_18_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/caa1878b64a11793ea152c7eff6303bb.jpg","text":"TemporaryFile(/tmp/multipartBody7211025927419473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811873484,"filename":"image_09122025_06_17_45_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222621","file1":"1401222620","file0":"1401222605","file4":"1401222663","file5":"1401222677","file3":"1401222652"},"map_files_photo_id_array":[{"photo_id":"1401222677","filename":"file5"},{"photo_id":"1401222621","filename":"file2"},{"photo_id":"1401222663","filename":"file4"},{"photo_id":"1401222620","filename":"file1"},{"photo_id":"1401222605","filename":"file0"},{"photo_id":"1401222652","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222652":["hashtag1","hashtag2"]},{"1401222663":["hashtag1","hashtag2"]},{"1401222621":["hashtag1","hashtag2"]},{"1401222677":["hashtag1","hashtag2"]},{"1401222605":["hashtag1","hashtag2"]},{"1401222620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222652, 1401222663, 1401222621, 1401222677, 1401222605, 1401222620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03727388381958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:04:16.768951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_15_10664.jpg', 2), ('/home/nano/Desktop/images/09122025/06/15/image_09122025_06_16_04_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_25_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_24_9635.jpg', '/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_15_10664.jpg', '/home/nano/Desktop/images/09122025/06/15/image_09122025_06_16_04_9655.jpg', '/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_54_9635.jpg', '/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_34_9635.jpg', '/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_25_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_24_9635.jpg
/home/nano/Desktop/images/09122025/06/16/image_09122025_06_16_15_10664.jpg
/home/nano/Desktop/images/09122025/06/15/image_09122025_06_16_04_9655.jpg
/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_54_9635.jpg
/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_34_9635.jpg
/home/nano/Desktop/images/09122025/06/15/image_09122025_06_15_25_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":["1401222685","1401222694","1401222696","1401222692","1401222686","1401222689"],"photo_ids_order":["1401222685","1401222686","1401222689","1401222692","1401222694","1401222696"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bdca19b5e126546dc6581a2ea725080c.jpg","text":"TemporaryFile(/tmp/multipartBody7274561584120265835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811917582,"filename":"image_09122025_06_16_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/12/27/2249b97253aa008f50c82e70d21b9259.jpg","text":"TemporaryFile(/tmp/multipartBody6409981470655084617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811917582,"filename":"image_09122025_06_15_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/12/27/f1eba043aeb865985d81e5a9fef38c6b.jpg","text":"TemporaryFile(/tmp/multipartBody5994199755377335502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811917582,"filename":"image_09122025_06_15_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62fbe522c3db7bc996a2350fed80cc44.jpg","text":"TemporaryFile(/tmp/multipartBody1393921321511670123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811917582,"filename":"image_09122025_06_15_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/12/27/81cd88e4c25eb8e53ec6d6923bd859f4.jpg","text":"TemporaryFile(/tmp/multipartBody6636277943796277066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811917582,"filename":"image_09122025_06_16_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6835dbb19839b5d3f551b55f894167bd.jpg","text":"TemporaryFile(/tmp/multipartBody75024743410561725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811917582,"filename":"image_09122025_06_16_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222689","file1":"1401222686","file0":"1401222685","file4":"1401222694","file5":"1401222696","file3":"1401222692"},"map_files_photo_id_array":[{"photo_id":"1401222696","filename":"file5"},{"photo_id":"1401222689","filename":"file2"},{"photo_id":"1401222694","filename":"file4"},{"photo_id":"1401222686","filename":"file1"},{"photo_id":"1401222685","filename":"file0"},{"photo_id":"1401222692","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222685":["hashtag1","hashtag2"]},{"1401222694":["hashtag1","hashtag2"]},{"1401222696":["hashtag1","hashtag2"]},{"1401222692":["hashtag1","hashtag2"]},{"1401222686":["hashtag1","hashtag2"]},{"1401222689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222685, 1401222694, 1401222696, 1401222692, 1401222686, 1401222689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.953965187072754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:05:02.390588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_25_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_15_10678.jpg', 2), ('/home/nano/Desktop/images/09122025/06/13/image_09122025_06_14_04_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/13/image_09122025_06_13_25_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_45_10644.jpg', '/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_34_9636.jpg', '/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_25_9654.jpg', '/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_15_10678.jpg', '/home/nano/Desktop/images/09122025/06/13/image_09122025_06_14_04_9639.jpg', '/home/nano/Desktop/images/09122025/06/13/image_09122025_06_13_25_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_45_10644.jpg
/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_34_9636.jpg
/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_25_9654.jpg
/home/nano/Desktop/images/09122025/06/14/image_09122025_06_14_15_10678.jpg
/home/nano/Desktop/images/09122025/06/13/image_09122025_06_14_04_9639.jpg
/home/nano/Desktop/images/09122025/06/13/image_09122025_06_13_25_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":["1401222706","1401222700","1401222711","1401222708","1401222702","1401222704"],"photo_ids_order":["1401222700","1401222702","1401222704","1401222706","1401222708","1401222711"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/323aa8b585c28736b586944e461b4e92.jpg","text":"TemporaryFile(/tmp/multipartBody5874761376049680864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811963279,"filename":"image_09122025_06_14_15_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ee5ef823fc84e9d74a099ddada1013e.jpg","text":"TemporaryFile(/tmp/multipartBody4087196644015159215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811963279,"filename":"image_09122025_06_14_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/295f5d3f53e250190a1cd51c4a10fca2.jpg","text":"TemporaryFile(/tmp/multipartBody4446864258813451300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811963279,"filename":"image_09122025_06_13_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9698a0925b6c1b49142515cab398696.jpg","text":"TemporaryFile(/tmp/multipartBody2220652792688460216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811963279,"filename":"image_09122025_06_14_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/12/27/fadb921cb3f68d63c0ed9b4b104b5507.jpg","text":"TemporaryFile(/tmp/multipartBody7695060551228826558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811963279,"filename":"image_09122025_06_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/12/27/ef4b72379ec74800f6449ac76df3eb3c.jpg","text":"TemporaryFile(/tmp/multipartBody7335493861748556936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766811963279,"filename":"image_09122025_06_14_25_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222704","file1":"1401222702","file0":"1401222700","file4":"1401222708","file5":"1401222711","file3":"1401222706"},"map_files_photo_id_array":[{"photo_id":"1401222711","filename":"file5"},{"photo_id":"1401222704","filename":"file2"},{"photo_id":"1401222708","filename":"file4"},{"photo_id":"1401222702","filename":"file1"},{"photo_id":"1401222700","filename":"file0"},{"photo_id":"1401222706","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222706":["hashtag1","hashtag2"]},{"1401222700":["hashtag1","hashtag2"]},{"1401222711":["hashtag1","hashtag2"]},{"1401222708":["hashtag1","hashtag2"]},{"1401222702":["hashtag1","hashtag2"]},{"1401222704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222706, 1401222700, 1401222711, 1401222708, 1401222702, 1401222704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96843886375427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:05:46.892996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/13/image_09122025_06_13_14_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/06/12/image_09122025_06_13_04_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_44_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_35_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/11/image_09122025_06_11_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/13/image_09122025_06_13_14_9654.jpg', '/home/nano/Desktop/images/09122025/06/12/image_09122025_06_13_04_9650.jpg', '/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_55_10644.jpg', '/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_44_9652.jpg', '/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_35_9637.jpg', '/home/nano/Desktop/images/09122025/06/11/image_09122025_06_11_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/13/image_09122025_06_13_14_9654.jpg
/home/nano/Desktop/images/09122025/06/12/image_09122025_06_13_04_9650.jpg
/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_55_10644.jpg
/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_44_9652.jpg
/home/nano/Desktop/images/09122025/06/12/image_09122025_06_12_35_9637.jpg
/home/nano/Desktop/images/09122025/06/11/image_09122025_06_11_55_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":["1401222721","1401222718","1401222720","1401222723","1401222725","1401222719"],"photo_ids_order":["1401222718","1401222719","1401222720","1401222721","1401222723","1401222725"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74e53bc22ecce20f735b4f0f64015af9.jpg","text":"TemporaryFile(/tmp/multipartBody2933508315710529592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812007717,"filename":"image_09122025_06_12_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/12/27/89c02a2d9fc2679269544010a791dfcd.jpg","text":"TemporaryFile(/tmp/multipartBody5541755877300447020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812007717,"filename":"image_09122025_06_13_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/12/27/d1001ce74eb353a753895e7a420322fe.jpg","text":"TemporaryFile(/tmp/multipartBody6925172005966579100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812007717,"filename":"image_09122025_06_12_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76a270c0a4612f24be06259fd19890e3.jpg","text":"TemporaryFile(/tmp/multipartBody15539789606392760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812007717,"filename":"image_09122025_06_12_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef80852066563ed91ecd4e8613975962.jpg","text":"TemporaryFile(/tmp/multipartBody341019809358310153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812007717,"filename":"image_09122025_06_11_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10b769ddf0fb0a88801cc8fe84e1d2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5947144159868977370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812007717,"filename":"image_09122025_06_13_04_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222720","file1":"1401222719","file0":"1401222718","file4":"1401222723","file5":"1401222725","file3":"1401222721"},"map_files_photo_id_array":[{"photo_id":"1401222725","filename":"file5"},{"photo_id":"1401222720","filename":"file2"},{"photo_id":"1401222723","filename":"file4"},{"photo_id":"1401222719","filename":"file1"},{"photo_id":"1401222718","filename":"file0"},{"photo_id":"1401222721","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222721":["hashtag1","hashtag2"]},{"1401222718":["hashtag1","hashtag2"]},{"1401222720":["hashtag1","hashtag2"]},{"1401222723":["hashtag1","hashtag2"]},{"1401222725":["hashtag1","hashtag2"]},{"1401222719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222721, 1401222718, 1401222720, 1401222723, 1401222725, 1401222719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45429825782776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:06:31.987872
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/06/06/image_27122025_06_06_14_9507.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/06/06/image_27122025_06_06_14_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/06/06/image_27122025_06_06_14_9507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401222732"],"photo_id":"1401222732","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6234dd4447e02b4a0f91a04cd7e30f9.jpg","text":"TemporaryFile(/tmp/multipartBody4627905877985408630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812052247,"filename":"image_27122025_06_06_14_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401222732"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401222732"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.617158889770508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:06:46.970274
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/11/image_09122025_06_11_35_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/10/image_09122025_06_11_05_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_55_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_35_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/11/image_09122025_06_11_35_9637.jpg', '/home/nano/Desktop/images/09122025/06/10/image_09122025_06_11_05_9639.jpg', '/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_55_10646.jpg', '/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_44_9639.jpg', '/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_35_10649.jpg', '/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_24_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/11/image_09122025_06_11_35_9637.jpg
/home/nano/Desktop/images/09122025/06/10/image_09122025_06_11_05_9639.jpg
/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_55_10646.jpg
/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_44_9639.jpg
/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_35_10649.jpg
/home/nano/Desktop/images/09122025/06/10/image_09122025_06_10_24_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":["1401222742","1401222739","1401222738","1401222740","1401222743","1401222737"],"photo_ids_order":["1401222737","1401222738","1401222739","1401222740","1401222742","1401222743"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f5222074d45e9fb7d2caede76d1fbc7.jpg","text":"TemporaryFile(/tmp/multipartBody4167602480184198466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812067780,"filename":"image_09122025_06_10_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3296eb002bf94455ff43a2c83bdc89a6.jpg","text":"TemporaryFile(/tmp/multipartBody4000612607679237621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812067780,"filename":"image_09122025_06_10_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96a3a21e3ff4fb3a1f23af4fbc39b4ef.jpg","text":"TemporaryFile(/tmp/multipartBody5456094441385499550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812067780,"filename":"image_09122025_06_11_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/402b3539cc5a3a8238631b9f37cdd6fd.jpg","text":"TemporaryFile(/tmp/multipartBody8982110739816912364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812067780,"filename":"image_09122025_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/12/27/c6ac0bce76a7697d2b3ea5b568f08b86.jpg","text":"TemporaryFile(/tmp/multipartBody3847172703189079070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812067780,"filename":"image_09122025_06_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/12/27/9869a7fa44443e5de8c20e31bdca3897.jpg","text":"TemporaryFile(/tmp/multipartBody4924014581015402151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812067780,"filename":"image_09122025_06_11_35_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222739","file1":"1401222738","file0":"1401222737","file4":"1401222742","file5":"1401222743","file3":"1401222740"},"map_files_photo_id_array":[{"photo_id":"1401222743","filename":"file5"},{"photo_id":"1401222739","filename":"file2"},{"photo_id":"1401222742","filename":"file4"},{"photo_id":"1401222738","filename":"file1"},{"photo_id":"1401222737","filename":"file0"},{"photo_id":"1401222740","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222742":["hashtag1","hashtag2"]},{"1401222739":["hashtag1","hashtag2"]},{"1401222738":["hashtag1","hashtag2"]},{"1401222740":["hashtag1","hashtag2"]},{"1401222743":["hashtag1","hashtag2"]},{"1401222737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222742, 1401222739, 1401222738, 1401222740, 1401222743, 1401222737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.897902727127075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:07:32.082531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_54_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_45_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_24_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_15_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/06/08/image_09122025_06_09_05_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_54_9638.jpg', '/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_45_9635.jpg', '/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_35_10645.jpg', '/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_24_9636.jpg', '/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_15_9634.jpg', '/home/nano/Desktop/images/09122025/06/08/image_09122025_06_09_05_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_54_9638.jpg
/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_45_9635.jpg
/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_35_10645.jpg
/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_24_9636.jpg
/home/nano/Desktop/images/09122025/06/09/image_09122025_06_09_15_9634.jpg
/home/nano/Desktop/images/09122025/06/08/image_09122025_06_09_05_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":["1401222751","1401222754","1401222756","1401222759","1401222758","1401222752"],"photo_ids_order":["1401222751","1401222752","1401222754","1401222756","1401222758","1401222759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3370e05012d78ef1ff2545cc3bb88227.jpg","text":"TemporaryFile(/tmp/multipartBody4766394337993400491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812112894,"filename":"image_09122025_06_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/12/27/53985212c8530e2355f9cfaae16cf14c.jpg","text":"TemporaryFile(/tmp/multipartBody7975883237108122361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812112894,"filename":"image_09122025_06_09_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46c6fb4527809624d1e43ab5f083ca32.jpg","text":"TemporaryFile(/tmp/multipartBody5870962965290822290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812112894,"filename":"image_09122025_06_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/12/27/eb113f0be1dbb146a9c9692b92825d97.jpg","text":"TemporaryFile(/tmp/multipartBody434515594546866080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812112894,"filename":"image_09122025_06_09_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df4d8ae0aa7ebc31b76a3cdf8571795b.jpg","text":"TemporaryFile(/tmp/multipartBody6298709869022465211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812112894,"filename":"image_09122025_06_09_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7039a50f529c76d8bcd0ed916aaded64.jpg","text":"TemporaryFile(/tmp/multipartBody490962977818480544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812112894,"filename":"image_09122025_06_09_45_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222754","file1":"1401222752","file0":"1401222751","file4":"1401222758","file5":"1401222759","file3":"1401222756"},"map_files_photo_id_array":[{"photo_id":"1401222759","filename":"file5"},{"photo_id":"1401222754","filename":"file2"},{"photo_id":"1401222758","filename":"file4"},{"photo_id":"1401222752","filename":"file1"},{"photo_id":"1401222751","filename":"file0"},{"photo_id":"1401222756","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222751":["hashtag1","hashtag2"]},{"1401222754":["hashtag1","hashtag2"]},{"1401222756":["hashtag1","hashtag2"]},{"1401222759":["hashtag1","hashtag2"]},{"1401222758":["hashtag1","hashtag2"]},{"1401222752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222751, 1401222754, 1401222756, 1401222759, 1401222758, 1401222752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86301946640015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:08:17.238558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_45_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_08_05_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_45_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_54_9633.jpg', '/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_45_9649.jpg', '/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_35_10643.jpg', '/home/nano/Desktop/images/09122025/06/07/image_09122025_06_08_05_10646.jpg', '/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_54_9632.jpg', '/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_45_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_54_9633.jpg
/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_45_9649.jpg
/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_35_10643.jpg
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_08_05_10646.jpg
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_54_9632.jpg
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_45_10643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7309191226959229 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:08:32.202567
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_45_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_08_05_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_45_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_54_9633.jpg', '/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_45_9649.jpg', '/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_35_10643.jpg', '/home/nano/Desktop/images/09122025/06/07/image_09122025_06_08_05_10646.jpg', '/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_54_9632.jpg', '/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_45_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_54_9633.jpg
/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_45_9649.jpg
/home/nano/Desktop/images/09122025/06/08/image_09122025_06_08_35_10643.jpg
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_08_05_10646.jpg
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_54_9632.jpg
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_45_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":["1401222778","1401222772","1401222780","1401222774","1401222776","1401222781"],"photo_ids_order":["1401222772","1401222774","1401222776","1401222778","1401222780","1401222781"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78020542ed62ad432f98c0b2effd81cc.jpg","text":"TemporaryFile(/tmp/multipartBody673028558779738382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812173004,"filename":"image_09122025_06_08_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee3ce6cf160d58546137cb24c47836d8.jpg","text":"TemporaryFile(/tmp/multipartBody801808922978852276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812173004,"filename":"image_09122025_06_08_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/12/27/f956cc24af3b4d0aa1fed380dd0bc1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8991162474416459669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812173004,"filename":"image_09122025_06_07_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/12/27/3c722916349ddd5ccc03774856b7809b.jpg","text":"TemporaryFile(/tmp/multipartBody2919163387771325613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812173004,"filename":"image_09122025_06_08_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/477bb550f9b56b5f9df2f3fc0d0ae57e.jpg","text":"TemporaryFile(/tmp/multipartBody8987219964206528417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812173004,"filename":"image_09122025_06_08_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53331d945cec88732e2b91149ec7b7c3.jpg","text":"TemporaryFile(/tmp/multipartBody281405394232402635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812173004,"filename":"image_09122025_06_07_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222776","file1":"1401222774","file0":"1401222772","file4":"1401222780","file5":"1401222781","file3":"1401222778"},"map_files_photo_id_array":[{"photo_id":"1401222781","filename":"file5"},{"photo_id":"1401222776","filename":"file2"},{"photo_id":"1401222780","filename":"file4"},{"photo_id":"1401222774","filename":"file1"},{"photo_id":"1401222772","filename":"file0"},{"photo_id":"1401222778","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222778":["hashtag1","hashtag2"]},{"1401222772":["hashtag1","hashtag2"]},{"1401222780":["hashtag1","hashtag2"]},{"1401222774":["hashtag1","hashtag2"]},{"1401222776":["hashtag1","hashtag2"]},{"1401222781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222778, 1401222772, 1401222780, 1401222774, 1401222776, 1401222781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.262890100479126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:09:17.367328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_25_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_45_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_15_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/06/05/image_09122025_06_06_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_25_9633.jpg', '/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_15_10659.jpg', '/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_45_10647.jpg', '/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_34_9641.jpg', '/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_15_10665.jpg', '/home/nano/Desktop/images/09122025/06/05/image_09122025_06_06_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_25_9633.jpg
/home/nano/Desktop/images/09122025/06/07/image_09122025_06_07_15_10659.jpg
/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_45_10647.jpg
/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_34_9641.jpg
/home/nano/Desktop/images/09122025/06/06/image_09122025_06_06_15_10665.jpg
/home/nano/Desktop/images/09122025/06/05/image_09122025_06_06_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":["1401222787","1401222792","1401222789","1401222785","1401222794","1401222796"],"photo_ids_order":["1401222785","1401222787","1401222789","1401222792","1401222794","1401222796"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e4eb93e008e9fd650a9c680493080b6.jpg","text":"TemporaryFile(/tmp/multipartBody8669866630155365740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812218195,"filename":"image_09122025_06_07_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6adfc1cfa729dd0dbe9c06053118eee.jpg","text":"TemporaryFile(/tmp/multipartBody5355759068261154605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812218195,"filename":"image_09122025_06_06_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/12/27/ea7c335522d9c30eda69439ff25a8b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1021419917459771152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812218195,"filename":"image_09122025_06_06_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/355b3feed7ab582a344fb015c4463011.jpg","text":"TemporaryFile(/tmp/multipartBody9074974132734337859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812218195,"filename":"image_09122025_06_07_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/beab98b8e8b6c212f218211eb7bd5939.jpg","text":"TemporaryFile(/tmp/multipartBody922426817624587845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812218195,"filename":"image_09122025_06_06_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/514e5c60e1f5f8982087f0774e0d8457.jpg","text":"TemporaryFile(/tmp/multipartBody3870285147191538604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812218195,"filename":"image_09122025_06_06_04_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222789","file1":"1401222787","file0":"1401222785","file4":"1401222794","file5":"1401222796","file3":"1401222792"},"map_files_photo_id_array":[{"photo_id":"1401222796","filename":"file5"},{"photo_id":"1401222789","filename":"file2"},{"photo_id":"1401222794","filename":"file4"},{"photo_id":"1401222787","filename":"file1"},{"photo_id":"1401222785","filename":"file0"},{"photo_id":"1401222792","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222787":["hashtag1","hashtag2"]},{"1401222792":["hashtag1","hashtag2"]},{"1401222789":["hashtag1","hashtag2"]},{"1401222785":["hashtag1","hashtag2"]},{"1401222794":["hashtag1","hashtag2"]},{"1401222796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222787, 1401222792, 1401222789, 1401222785, 1401222794, 1401222796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55877733230591 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:10:02.713627
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/05/image_09122025_06_05_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/06/05/image_09122025_06_05_14_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_35_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_25_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/06/03/image_09122025_06_03_44_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/05/image_09122025_06_05_34_9634.jpg', '/home/nano/Desktop/images/09122025/06/05/image_09122025_06_05_14_9652.jpg', '/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_35_9652.jpg', '/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_25_10646.jpg', '/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_14_9651.jpg', '/home/nano/Desktop/images/09122025/06/03/image_09122025_06_03_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/05/image_09122025_06_05_34_9634.jpg
/home/nano/Desktop/images/09122025/06/05/image_09122025_06_05_14_9652.jpg
/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_35_9652.jpg
/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_25_10646.jpg
/home/nano/Desktop/images/09122025/06/04/image_09122025_06_04_14_9651.jpg
/home/nano/Desktop/images/09122025/06/03/image_09122025_06_03_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":["1401222815","1401222811","1401222810","1401222813","1401222807","1401222818"],"photo_ids_order":["1401222807","1401222810","1401222811","1401222813","1401222815","1401222818"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/975ba06a1396d0103492955d13bd3465.jpg","text":"TemporaryFile(/tmp/multipartBody2499962690253161937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812263554,"filename":"image_09122025_06_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/12/27/5a54de487a468652200d4905b2c7f188.jpg","text":"TemporaryFile(/tmp/multipartBody198106239958464677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812263554,"filename":"image_09122025_06_04_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a547591e100606f36c24ce18654b7461.jpg","text":"TemporaryFile(/tmp/multipartBody2989509745417075596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812263554,"filename":"image_09122025_06_05_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/12/27/1a2f2239053269f13dff39d017f50aa8.jpg","text":"TemporaryFile(/tmp/multipartBody8099008719413941585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812263554,"filename":"image_09122025_06_04_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca61d62a156f97bf49143410be8b1e58.jpg","text":"TemporaryFile(/tmp/multipartBody6527345372814509967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812263554,"filename":"image_09122025_06_05_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/12/27/1133a884097ffbec1a525eb654ff99bf.jpg","text":"TemporaryFile(/tmp/multipartBody8500819361166024630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812263554,"filename":"image_09122025_06_03_44_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222811","file1":"1401222810","file0":"1401222807","file4":"1401222815","file5":"1401222818","file3":"1401222813"},"map_files_photo_id_array":[{"photo_id":"1401222818","filename":"file5"},{"photo_id":"1401222811","filename":"file2"},{"photo_id":"1401222815","filename":"file4"},{"photo_id":"1401222810","filename":"file1"},{"photo_id":"1401222807","filename":"file0"},{"photo_id":"1401222813","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222815":["hashtag1","hashtag2"]},{"1401222811":["hashtag1","hashtag2"]},{"1401222810":["hashtag1","hashtag2"]},{"1401222813":["hashtag1","hashtag2"]},{"1401222807":["hashtag1","hashtag2"]},{"1401222818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222815, 1401222811, 1401222810, 1401222813, 1401222807, 1401222818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71885395050049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:10:47.424785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_54_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_45_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/00/image_09122025_06_01_05_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_44_9639.jpg', '/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_24_9635.jpg', '/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_54_9637.jpg', '/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_45_9633.jpg', '/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_24_9633.jpg', '/home/nano/Desktop/images/09122025/06/00/image_09122025_06_01_05_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_44_9639.jpg
/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_24_9635.jpg
/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_54_9637.jpg
/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_45_9633.jpg
/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_24_9633.jpg
/home/nano/Desktop/images/09122025/06/00/image_09122025_06_01_05_10648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7273154258728027 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:11:03.091710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_54_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_45_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/00/image_09122025_06_01_05_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_44_9639.jpg', '/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_24_9635.jpg', '/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_54_9637.jpg', '/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_45_9633.jpg', '/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_24_9633.jpg', '/home/nano/Desktop/images/09122025/06/00/image_09122025_06_01_05_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_44_9639.jpg
/home/nano/Desktop/images/09122025/06/02/image_09122025_06_02_24_9635.jpg
/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_54_9637.jpg
/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_45_9633.jpg
/home/nano/Desktop/images/09122025/06/01/image_09122025_06_01_24_9633.jpg
/home/nano/Desktop/images/09122025/06/00/image_09122025_06_01_05_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":["1401222832","1401222835","1401222829","1401222837","1401222834","1401222839"],"photo_ids_order":["1401222829","1401222832","1401222834","1401222835","1401222837","1401222839"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b29c0cf1ea6623ac470724efec470358.jpg","text":"TemporaryFile(/tmp/multipartBody3135291530009506831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812323974,"filename":"image_09122025_06_02_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/12/27/e1c8e034dec32e828205556932a55390.jpg","text":"TemporaryFile(/tmp/multipartBody9028529287649648077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812323974,"filename":"image_09122025_06_01_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5369eee4dc36849440e170abb2811552.jpg","text":"TemporaryFile(/tmp/multipartBody3515934032049722195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812323974,"filename":"image_09122025_06_02_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/12/27/0bd012a4ba0de870dfb61822fad487f4.jpg","text":"TemporaryFile(/tmp/multipartBody2519365999381387698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812323974,"filename":"image_09122025_06_01_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/12/27/ea1ea4c186affd422d1f74f8f281a515.jpg","text":"TemporaryFile(/tmp/multipartBody3090703729876038737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812323974,"filename":"image_09122025_06_01_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/12/27/93d8867854f631018042c0e02ed50f20.jpg","text":"TemporaryFile(/tmp/multipartBody5626465341987290838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812323974,"filename":"image_09122025_06_01_05_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222834","file1":"1401222832","file0":"1401222829","file4":"1401222837","file5":"1401222839","file3":"1401222835"},"map_files_photo_id_array":[{"photo_id":"1401222839","filename":"file5"},{"photo_id":"1401222834","filename":"file2"},{"photo_id":"1401222837","filename":"file4"},{"photo_id":"1401222832","filename":"file1"},{"photo_id":"1401222829","filename":"file0"},{"photo_id":"1401222835","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222832":["hashtag1","hashtag2"]},{"1401222835":["hashtag1","hashtag2"]},{"1401222829":["hashtag1","hashtag2"]},{"1401222837":["hashtag1","hashtag2"]},{"1401222834":["hashtag1","hashtag2"]},{"1401222839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222832, 1401222835, 1401222829, 1401222837, 1401222834, 1401222839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0799880027771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:11:47.504516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_45_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_35_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/05/59/image_09122025_06_00_05_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_34_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_54_9633.jpg', '/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_45_9639.jpg', '/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_35_10647.jpg', '/home/nano/Desktop/images/09122025/05/59/image_09122025_06_00_05_10661.jpg', '/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_45_10646.jpg', '/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_34_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_54_9633.jpg
/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_45_9639.jpg
/home/nano/Desktop/images/09122025/06/00/image_09122025_06_00_35_10647.jpg
/home/nano/Desktop/images/09122025/05/59/image_09122025_06_00_05_10661.jpg
/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_45_10646.jpg
/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_34_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":["1401222850","1401222853","1401222847","1401222849","1401222851","1401222848"],"photo_ids_order":["1401222847","1401222848","1401222849","1401222850","1401222851","1401222853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9fd20aa55f2fb153f96f7bf8f48a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody6984216913591821274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812368348,"filename":"image_09122025_06_00_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a4e5e823ff3f8e57125e20fa5eeca55.jpg","text":"TemporaryFile(/tmp/multipartBody4135730055200465244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812368348,"filename":"image_09122025_05_59_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/12/27/a4751a51c9f8973c45c1d813070ac10c.jpg","text":"TemporaryFile(/tmp/multipartBody4534537740790708098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812368348,"filename":"image_09122025_06_00_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/12/27/2cb136cde564f6755d67d022c534a231.jpg","text":"TemporaryFile(/tmp/multipartBody4444297639533866134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812368348,"filename":"image_09122025_06_00_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c370eff081e42653e72e3da157d07432.jpg","text":"TemporaryFile(/tmp/multipartBody8390486538697289614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812368348,"filename":"image_09122025_05_59_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d64b5f6d5353bb1f6662d9046e66e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5461774604819857140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812368348,"filename":"image_09122025_06_00_45_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222849","file1":"1401222848","file0":"1401222847","file4":"1401222851","file5":"1401222853","file3":"1401222850"},"map_files_photo_id_array":[{"photo_id":"1401222853","filename":"file5"},{"photo_id":"1401222849","filename":"file2"},{"photo_id":"1401222851","filename":"file4"},{"photo_id":"1401222848","filename":"file1"},{"photo_id":"1401222847","filename":"file0"},{"photo_id":"1401222850","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222850":["hashtag1","hashtag2"]},{"1401222853":["hashtag1","hashtag2"]},{"1401222847":["hashtag1","hashtag2"]},{"1401222849":["hashtag1","hashtag2"]},{"1401222851":["hashtag1","hashtag2"]},{"1401222848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222850, 1401222853, 1401222847, 1401222849, 1401222851, 1401222848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.943029165267944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:12:32.609519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_24_9684.jpg', 2), ('/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_15_10685.jpg', 2), ('/home/nano/Desktop/images/09122025/05/58/image_09122025_05_59_04_9665.jpg', 2), ('/home/nano/Desktop/images/09122025/05/58/image_09122025_05_58_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/57/image_09122025_05_57_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/57/image_09122025_05_57_15_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_24_9684.jpg', '/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_15_10685.jpg', '/home/nano/Desktop/images/09122025/05/58/image_09122025_05_59_04_9665.jpg', '/home/nano/Desktop/images/09122025/05/58/image_09122025_05_58_54_9635.jpg', '/home/nano/Desktop/images/09122025/05/57/image_09122025_05_57_25_9634.jpg', '/home/nano/Desktop/images/09122025/05/57/image_09122025_05_57_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_24_9684.jpg
/home/nano/Desktop/images/09122025/05/59/image_09122025_05_59_15_10685.jpg
/home/nano/Desktop/images/09122025/05/58/image_09122025_05_59_04_9665.jpg
/home/nano/Desktop/images/09122025/05/58/image_09122025_05_58_54_9635.jpg
/home/nano/Desktop/images/09122025/05/57/image_09122025_05_57_25_9634.jpg
/home/nano/Desktop/images/09122025/05/57/image_09122025_05_57_15_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":["1401222871","1401222873","1401222864","1401222867","1401222872","1401222869"],"photo_ids_order":["1401222864","1401222867","1401222869","1401222871","1401222872","1401222873"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87c20e43a92b9edce9fa09b6ea47dc87.jpg","text":"TemporaryFile(/tmp/multipartBody3241086738710463531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812413432,"filename":"image_09122025_05_58_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/12/27/4382c3eed96dbcebb7b6eb8012bd46bc.jpg","text":"TemporaryFile(/tmp/multipartBody2046275378717142927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812413432,"filename":"image_09122025_05_57_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75444fb57fc87b95b635da1b46414814.jpg","text":"TemporaryFile(/tmp/multipartBody8995826770744410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812413432,"filename":"image_09122025_05_59_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/12/27/744c28f0974dc777316f68183eb51fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5605544293874650604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812413432,"filename":"image_09122025_05_59_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b1aa7aa5d4737686e0a8d47b8c17516.jpg","text":"TemporaryFile(/tmp/multipartBody5472752606410680311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812413432,"filename":"image_09122025_05_57_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8cddaf9e03958ecfc7f2ac27138e507.jpg","text":"TemporaryFile(/tmp/multipartBody8513347855862108997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812413432,"filename":"image_09122025_05_59_04_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222869","file1":"1401222867","file0":"1401222864","file4":"1401222872","file5":"1401222873","file3":"1401222871"},"map_files_photo_id_array":[{"photo_id":"1401222873","filename":"file5"},{"photo_id":"1401222869","filename":"file2"},{"photo_id":"1401222872","filename":"file4"},{"photo_id":"1401222867","filename":"file1"},{"photo_id":"1401222864","filename":"file0"},{"photo_id":"1401222871","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222871":["hashtag1","hashtag2"]},{"1401222873":["hashtag1","hashtag2"]},{"1401222864":["hashtag1","hashtag2"]},{"1401222867":["hashtag1","hashtag2"]},{"1401222872":["hashtag1","hashtag2"]},{"1401222869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222871, 1401222873, 1401222864, 1401222867, 1401222872, 1401222869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24151945114136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:13:17.744176
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/56/image_09122025_05_57_04_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_45_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/05/55/image_09122025_05_56_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/56/image_09122025_05_57_04_9635.jpg', '/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_55_9635.jpg', '/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_45_10648.jpg', '/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_25_10643.jpg', '/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_14_9651.jpg', '/home/nano/Desktop/images/09122025/05/55/image_09122025_05_56_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/56/image_09122025_05_57_04_9635.jpg
/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_55_9635.jpg
/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_45_10648.jpg
/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_25_10643.jpg
/home/nano/Desktop/images/09122025/05/56/image_09122025_05_56_14_9651.jpg
/home/nano/Desktop/images/09122025/05/55/image_09122025_05_56_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":["1401222883","1401222885","1401222878","1401222887","1401222889","1401222880"],"photo_ids_order":["1401222878","1401222880","1401222883","1401222885","1401222887","1401222889"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15672841d3ad85fcc2f4f94ab9f90daa.jpg","text":"TemporaryFile(/tmp/multipartBody7490207002551332080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812458579,"filename":"image_09122025_05_56_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea9829fb12dd74ef8d47b41ab79e2325.jpg","text":"TemporaryFile(/tmp/multipartBody565144687222174838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812458579,"filename":"image_09122025_05_56_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c86bf534de55ec0ba9c96d7aca76735c.jpg","text":"TemporaryFile(/tmp/multipartBody8510266592723741126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812458579,"filename":"image_09122025_05_57_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/12/27/3c292b34a4c66788d7d57026818a22d5.jpg","text":"TemporaryFile(/tmp/multipartBody350467465223122847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812458579,"filename":"image_09122025_05_56_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/12/27/b4c36354122409bd1b610a2744f3dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody7493739253732662984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812458579,"filename":"image_09122025_05_56_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/12/27/6cc4dc88d4b31d02e65f5093544ca9f2.jpg","text":"TemporaryFile(/tmp/multipartBody768151697738739957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812458579,"filename":"image_09122025_05_56_55_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222883","file1":"1401222880","file0":"1401222878","file4":"1401222887","file5":"1401222889","file3":"1401222885"},"map_files_photo_id_array":[{"photo_id":"1401222889","filename":"file5"},{"photo_id":"1401222883","filename":"file2"},{"photo_id":"1401222887","filename":"file4"},{"photo_id":"1401222880","filename":"file1"},{"photo_id":"1401222878","filename":"file0"},{"photo_id":"1401222885","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222883":["hashtag1","hashtag2"]},{"1401222885":["hashtag1","hashtag2"]},{"1401222878":["hashtag1","hashtag2"]},{"1401222887":["hashtag1","hashtag2"]},{"1401222889":["hashtag1","hashtag2"]},{"1401222880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222883, 1401222885, 1401222878, 1401222887, 1401222889, 1401222880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.416425943374634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:14:02.483639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_35_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_25_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_14_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_55_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_44_9637.jpg', '/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_35_9633.jpg', '/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_25_10645.jpg', '/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_14_9653.jpg', '/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_55_10663.jpg', '/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_44_9637.jpg
/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_35_9633.jpg
/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_25_10645.jpg
/home/nano/Desktop/images/09122025/05/55/image_09122025_05_55_14_9653.jpg
/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_55_10663.jpg
/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_44_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":["1401222898","1401222894","1401222906","1401222896","1401222900","1401222902"],"photo_ids_order":["1401222894","1401222896","1401222898","1401222900","1401222902","1401222906"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9a327927f9036fa88ce4a958161e083.jpg","text":"TemporaryFile(/tmp/multipartBody2072132303609732576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812503324,"filename":"image_09122025_05_55_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c3cda3767a1619083b824eaea19a2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7982231343987612476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812503324,"filename":"image_09122025_05_55_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/12/27/1d8008cf11ba777f4ecc902cef6b1fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5537608601026630634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812503324,"filename":"image_09122025_05_54_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/12/27/74f1b129c3ca6b285aa44189b328e468.jpg","text":"TemporaryFile(/tmp/multipartBody8298739631279699177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812503324,"filename":"image_09122025_05_55_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d1e9118e052370afabb83e0a0b7c8e1.jpg","text":"TemporaryFile(/tmp/multipartBody4536547567588798048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812503324,"filename":"image_09122025_05_55_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/12/27/dcb2a8663725a3bf6a323699ffb49c92.jpg","text":"TemporaryFile(/tmp/multipartBody3217704193395344954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812503324,"filename":"image_09122025_05_54_55_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222898","file1":"1401222896","file0":"1401222894","file4":"1401222902","file5":"1401222906","file3":"1401222900"},"map_files_photo_id_array":[{"photo_id":"1401222906","filename":"file5"},{"photo_id":"1401222898","filename":"file2"},{"photo_id":"1401222902","filename":"file4"},{"photo_id":"1401222896","filename":"file1"},{"photo_id":"1401222894","filename":"file0"},{"photo_id":"1401222900","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222898":["hashtag1","hashtag2"]},{"1401222894":["hashtag1","hashtag2"]},{"1401222906":["hashtag1","hashtag2"]},{"1401222896":["hashtag1","hashtag2"]},{"1401222900":["hashtag1","hashtag2"]},{"1401222902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222898, 1401222894, 1401222906, 1401222896, 1401222900, 1401222902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01966738700867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:14:46.893231
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_25_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/05/53/image_09122025_05_54_05_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/53/image_09122025_05_53_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/53/image_09122025_05_53_15_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/05/52/image_09122025_05_53_05_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_54_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_25_10661.jpg', '/home/nano/Desktop/images/09122025/05/53/image_09122025_05_54_05_9634.jpg', '/home/nano/Desktop/images/09122025/05/53/image_09122025_05_53_44_9635.jpg', '/home/nano/Desktop/images/09122025/05/53/image_09122025_05_53_15_9658.jpg', '/home/nano/Desktop/images/09122025/05/52/image_09122025_05_53_05_10665.jpg', '/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_54_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/54/image_09122025_05_54_25_10661.jpg
/home/nano/Desktop/images/09122025/05/53/image_09122025_05_54_05_9634.jpg
/home/nano/Desktop/images/09122025/05/53/image_09122025_05_53_44_9635.jpg
/home/nano/Desktop/images/09122025/05/53/image_09122025_05_53_15_9658.jpg
/home/nano/Desktop/images/09122025/05/52/image_09122025_05_53_05_10665.jpg
/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_54_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":["1401222913","1401222919","1401222912","1401222915","1401222914","1401222917"],"photo_ids_order":["1401222912","1401222913","1401222914","1401222915","1401222917","1401222919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/005f28ccb641baf6d976c8a70dbd7d55.jpg","text":"TemporaryFile(/tmp/multipartBody6873223830422045167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812547709,"filename":"image_09122025_05_54_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa91b382766ea7d7f46982c984770863.jpg","text":"TemporaryFile(/tmp/multipartBody2941679311798888728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812547709,"filename":"image_09122025_05_52_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/12/27/0841d6ffafc0d7377d6ed80e778f0f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6344569551466708804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812547709,"filename":"image_09122025_05_54_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13996b35a173e4e0f005e1322d943030.jpg","text":"TemporaryFile(/tmp/multipartBody5573526960865947748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812547709,"filename":"image_09122025_05_53_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b25314cc908b4e5d1e3274e1fed4db4.jpg","text":"TemporaryFile(/tmp/multipartBody6238920827963303848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812547709,"filename":"image_09122025_05_53_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/12/27/a15af7568cee7374597412fcf2ce5598.jpg","text":"TemporaryFile(/tmp/multipartBody8948629048412490886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812547709,"filename":"image_09122025_05_53_05_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222914","file1":"1401222913","file0":"1401222912","file4":"1401222917","file5":"1401222919","file3":"1401222915"},"map_files_photo_id_array":[{"photo_id":"1401222919","filename":"file5"},{"photo_id":"1401222914","filename":"file2"},{"photo_id":"1401222917","filename":"file4"},{"photo_id":"1401222913","filename":"file1"},{"photo_id":"1401222912","filename":"file0"},{"photo_id":"1401222915","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222913":["hashtag1","hashtag2"]},{"1401222919":["hashtag1","hashtag2"]},{"1401222912":["hashtag1","hashtag2"]},{"1401222915":["hashtag1","hashtag2"]},{"1401222914":["hashtag1","hashtag2"]},{"1401222917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222913, 1401222919, 1401222912, 1401222915, 1401222914, 1401222917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.228047370910645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:15:32.044581
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/06/15/image_27122025_06_15_24_9507.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/06/15/image_27122025_06_15_24_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/06/15/image_27122025_06_15_24_9507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401222926"],"photo_id":"1401222926","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db1cff7a761873cff026af7160041453.jpg","text":"TemporaryFile(/tmp/multipartBody2448392579010156451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812592298,"filename":"image_27122025_06_15_24_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401222926"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401222926"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.006880521774292 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:15:47.011948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_15_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/05/51/image_09122025_05_52_05_10652.jpg', 2), ('/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_45_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_24_9634.jpg', '/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_15_9653.jpg', '/home/nano/Desktop/images/09122025/05/51/image_09122025_05_52_05_10652.jpg', '/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_54_9632.jpg', '/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_45_9637.jpg', '/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_35_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_24_9634.jpg
/home/nano/Desktop/images/09122025/05/52/image_09122025_05_52_15_9653.jpg
/home/nano/Desktop/images/09122025/05/51/image_09122025_05_52_05_10652.jpg
/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_54_9632.jpg
/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_45_9637.jpg
/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_35_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":["1401222931","1401222934","1401222937","1401222936","1401222933","1401222932"],"photo_ids_order":["1401222931","1401222932","1401222933","1401222934","1401222936","1401222937"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42bb33084a6fbed580c3c58b293e7395.jpg","text":"TemporaryFile(/tmp/multipartBody6229075681326574772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812607849,"filename":"image_09122025_05_52_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/12/27/ed87f46659f4a0e20d83bf4f7dd08dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5885076028562362819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812607849,"filename":"image_09122025_05_51_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/12/27/e1fcddc429172bdfb623ddac6ee56adb.jpg","text":"TemporaryFile(/tmp/multipartBody2562518829334974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812607849,"filename":"image_09122025_05_51_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/307281de7996abccecdd480171bd9dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2989355976583157766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812607849,"filename":"image_09122025_05_51_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71544f5bdf82565977bf5732316de50f.jpg","text":"TemporaryFile(/tmp/multipartBody3260781653416311203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812607849,"filename":"image_09122025_05_52_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f5a96a678bb22946df64f1edb4a4ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5360219256750859047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812607849,"filename":"image_09122025_05_52_15_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222933","file1":"1401222932","file0":"1401222931","file4":"1401222936","file5":"1401222937","file3":"1401222934"},"map_files_photo_id_array":[{"photo_id":"1401222937","filename":"file5"},{"photo_id":"1401222933","filename":"file2"},{"photo_id":"1401222936","filename":"file4"},{"photo_id":"1401222932","filename":"file1"},{"photo_id":"1401222931","filename":"file0"},{"photo_id":"1401222934","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222931":["hashtag1","hashtag2"]},{"1401222934":["hashtag1","hashtag2"]},{"1401222937":["hashtag1","hashtag2"]},{"1401222936":["hashtag1","hashtag2"]},{"1401222933":["hashtag1","hashtag2"]},{"1401222932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222931, 1401222934, 1401222937, 1401222936, 1401222933, 1401222932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.926480531692505 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:16:32.113117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_51_04_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_54_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_25_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_24_9635.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_51_04_9643.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_54_9638.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_45_10642.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_34_9634.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_24_9635.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_51_04_9643.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_54_9638.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_45_10642.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_34_9634.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_25_9634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7075517177581787 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:16:47.124701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_51_04_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_54_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_25_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_24_9635.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_51_04_9643.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_54_9638.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_45_10642.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_34_9634.jpg', '/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/51/image_09122025_05_51_24_9635.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_51_04_9643.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_54_9638.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_45_10642.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_34_9634.jpg
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_25_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":["1401222958","1401222955","1401222960","1401222957","1401222953","1401222956"],"photo_ids_order":["1401222953","1401222955","1401222956","1401222957","1401222958","1401222960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea5406d4688a682bd8d0b250a928b502.jpg","text":"TemporaryFile(/tmp/multipartBody5134719972488129345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812667943,"filename":"image_09122025_05_50_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/12/27/0e1abe525f498d8becb438fde37adb4a.jpg","text":"TemporaryFile(/tmp/multipartBody8156090412971092586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812667943,"filename":"image_09122025_05_51_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/12/27/9725293743124aa4b4b5d83d51fd50e2.jpg","text":"TemporaryFile(/tmp/multipartBody4240658037979870143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812667943,"filename":"image_09122025_05_50_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50b114566a23b4659bb99e3527e8eaf9.jpg","text":"TemporaryFile(/tmp/multipartBody2166182431039189999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812667943,"filename":"image_09122025_05_50_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2785f6e98d9583517316f836eed44cec.jpg","text":"TemporaryFile(/tmp/multipartBody6573174019454863257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812667943,"filename":"image_09122025_05_51_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/12/27/4f4f1f32c4e6bfa9a8d35d731e9aeb94.jpg","text":"TemporaryFile(/tmp/multipartBody2783749579683108256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812667943,"filename":"image_09122025_05_50_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222956","file1":"1401222955","file0":"1401222953","file4":"1401222958","file5":"1401222960","file3":"1401222957"},"map_files_photo_id_array":[{"photo_id":"1401222960","filename":"file5"},{"photo_id":"1401222956","filename":"file2"},{"photo_id":"1401222958","filename":"file4"},{"photo_id":"1401222955","filename":"file1"},{"photo_id":"1401222953","filename":"file0"},{"photo_id":"1401222957","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222958":["hashtag1","hashtag2"]},{"1401222955":["hashtag1","hashtag2"]},{"1401222960":["hashtag1","hashtag2"]},{"1401222957":["hashtag1","hashtag2"]},{"1401222953":["hashtag1","hashtag2"]},{"1401222956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222958, 1401222955, 1401222960, 1401222957, 1401222953, 1401222956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.963264226913452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:17:32.218147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_15_10682.jpg', 2), ('/home/nano/Desktop/images/09122025/05/49/image_09122025_05_50_04_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_25_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_15_10682.jpg', '/home/nano/Desktop/images/09122025/05/49/image_09122025_05_50_04_9641.jpg', '/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_55_9635.jpg', '/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_45_10645.jpg', '/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_34_9635.jpg', '/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/50/image_09122025_05_50_15_10682.jpg
/home/nano/Desktop/images/09122025/05/49/image_09122025_05_50_04_9641.jpg
/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_55_9635.jpg
/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_45_10645.jpg
/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_34_9635.jpg
/home/nano/Desktop/images/09122025/05/49/image_09122025_05_49_25_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":["1401222967","1401222972","1401222975","1401222969","1401222971","1401222974"],"photo_ids_order":["1401222967","1401222969","1401222971","1401222972","1401222974","1401222975"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3817dcf315d73a70038edb5a802e0154.jpg","text":"TemporaryFile(/tmp/multipartBody704021035006393957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812713037,"filename":"image_09122025_05_50_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ddb8be790174ff84508a05e7de1bee9.jpg","text":"TemporaryFile(/tmp/multipartBody8287422097914461974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812713037,"filename":"image_09122025_05_49_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/668c45de7cab8257fb416d7be195a23e.jpg","text":"TemporaryFile(/tmp/multipartBody3050694384106109705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812713037,"filename":"image_09122025_05_49_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45d06d013fa2a44026504f7032131a7b.jpg","text":"TemporaryFile(/tmp/multipartBody2662885817020821745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812713037,"filename":"image_09122025_05_50_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/12/27/74ab36c7a1346062e872ff5dd12b881b.jpg","text":"TemporaryFile(/tmp/multipartBody4579574651831402041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812713037,"filename":"image_09122025_05_49_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d5f99ffa7b6bb3790e6402c01bea5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4176426743593949770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812713037,"filename":"image_09122025_05_49_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222971","file1":"1401222969","file0":"1401222967","file4":"1401222974","file5":"1401222975","file3":"1401222972"},"map_files_photo_id_array":[{"photo_id":"1401222975","filename":"file5"},{"photo_id":"1401222971","filename":"file2"},{"photo_id":"1401222974","filename":"file4"},{"photo_id":"1401222969","filename":"file1"},{"photo_id":"1401222967","filename":"file0"},{"photo_id":"1401222972","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222967":["hashtag1","hashtag2"]},{"1401222972":["hashtag1","hashtag2"]},{"1401222975":["hashtag1","hashtag2"]},{"1401222969":["hashtag1","hashtag2"]},{"1401222971":["hashtag1","hashtag2"]},{"1401222974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222967, 1401222972, 1401222975, 1401222969, 1401222971, 1401222974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.230695486068726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:18:17.393893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/48/image_09122025_05_49_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/48/image_09122025_05_48_44_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/05/48/image_09122025_05_48_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/47/image_09122025_05_48_05_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_55_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_35_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/48/image_09122025_05_49_04_9637.jpg', '/home/nano/Desktop/images/09122025/05/48/image_09122025_05_48_44_9640.jpg', '/home/nano/Desktop/images/09122025/05/48/image_09122025_05_48_34_9636.jpg', '/home/nano/Desktop/images/09122025/05/47/image_09122025_05_48_05_9644.jpg', '/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_55_10662.jpg', '/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_35_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/48/image_09122025_05_49_04_9637.jpg
/home/nano/Desktop/images/09122025/05/48/image_09122025_05_48_44_9640.jpg
/home/nano/Desktop/images/09122025/05/48/image_09122025_05_48_34_9636.jpg
/home/nano/Desktop/images/09122025/05/47/image_09122025_05_48_05_9644.jpg
/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_55_10662.jpg
/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_35_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":["1401222982","1401222991","1401222984","1401222993","1401222986","1401222989"],"photo_ids_order":["1401222982","1401222984","1401222986","1401222989","1401222991","1401222993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afbb8d1695c408aac2f819ae764b550a.jpg","text":"TemporaryFile(/tmp/multipartBody6644988003397801212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812758276,"filename":"image_09122025_05_49_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/12/27/a64e4e87d8ac35148e99ef9428775f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2567223457405328225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812758276,"filename":"image_09122025_05_47_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/084afe8dd578e01945227280ef0165ef.jpg","text":"TemporaryFile(/tmp/multipartBody1517445980801234277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812758276,"filename":"image_09122025_05_48_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/12/27/8df469d58c40f182d4314739c93e0a39.jpg","text":"TemporaryFile(/tmp/multipartBody172226612375127195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812758276,"filename":"image_09122025_05_47_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0de43b96bdfd86fdd7472495e5f98de.jpg","text":"TemporaryFile(/tmp/multipartBody8786180237410657908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812758276,"filename":"image_09122025_05_48_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/12/27/18b4b8977845fb34dcc235ae3adfbdfe.jpg","text":"TemporaryFile(/tmp/multipartBody2190036940167762513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812758276,"filename":"image_09122025_05_48_05_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401222986","file1":"1401222984","file0":"1401222982","file4":"1401222991","file5":"1401222993","file3":"1401222989"},"map_files_photo_id_array":[{"photo_id":"1401222993","filename":"file5"},{"photo_id":"1401222986","filename":"file2"},{"photo_id":"1401222991","filename":"file4"},{"photo_id":"1401222984","filename":"file1"},{"photo_id":"1401222982","filename":"file0"},{"photo_id":"1401222989","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401222982":["hashtag1","hashtag2"]},{"1401222991":["hashtag1","hashtag2"]},{"1401222984":["hashtag1","hashtag2"]},{"1401222993":["hashtag1","hashtag2"]},{"1401222986":["hashtag1","hashtag2"]},{"1401222989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401222982, 1401222991, 1401222984, 1401222993, 1401222986, 1401222989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48809814453125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:19:03.223057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/46/image_09122025_05_47_05_9659.jpg', 2), ('/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_55_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_35_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_25_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_14_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_25_10643.jpg', '/home/nano/Desktop/images/09122025/05/46/image_09122025_05_47_05_9659.jpg', '/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_55_10662.jpg', '/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_35_9636.jpg', '/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_25_10648.jpg', '/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/47/image_09122025_05_47_25_10643.jpg
/home/nano/Desktop/images/09122025/05/46/image_09122025_05_47_05_9659.jpg
/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_55_10662.jpg
/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_35_9636.jpg
/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_25_10648.jpg
/home/nano/Desktop/images/09122025/05/46/image_09122025_05_46_14_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":["1401223003","1401222999","1401223005","1401222998","1401223001","1401223007"],"photo_ids_order":["1401222998","1401222999","1401223001","1401223003","1401223005","1401223007"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7e65f7204705428e9612c5acd1d68e4.jpg","text":"TemporaryFile(/tmp/multipartBody7225821702406824254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812804184,"filename":"image_09122025_05_46_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dbaf89f31baa8440cf142e5f4b32bc6.jpg","text":"TemporaryFile(/tmp/multipartBody9137846330460142261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812804184,"filename":"image_09122025_05_47_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52cdc1677f1a82dc1908d6b0070545e5.jpg","text":"TemporaryFile(/tmp/multipartBody9195510277822776396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812804184,"filename":"image_09122025_05_46_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96cb87bc38d5c5dae421fe9155078321.jpg","text":"TemporaryFile(/tmp/multipartBody4875377055418449042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812804184,"filename":"image_09122025_05_47_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/932e64dd9c43534621a8f82eb9c66015.jpg","text":"TemporaryFile(/tmp/multipartBody7308385459851309921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812804184,"filename":"image_09122025_05_46_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4abf0f3fb58d517b6c831df30f13968.jpg","text":"TemporaryFile(/tmp/multipartBody6499715048017680664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812804184,"filename":"image_09122025_05_46_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223001","file1":"1401222999","file0":"1401222998","file4":"1401223005","file5":"1401223007","file3":"1401223003"},"map_files_photo_id_array":[{"photo_id":"1401223007","filename":"file5"},{"photo_id":"1401223001","filename":"file2"},{"photo_id":"1401223005","filename":"file4"},{"photo_id":"1401222999","filename":"file1"},{"photo_id":"1401222998","filename":"file0"},{"photo_id":"1401223003","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223003":["hashtag1","hashtag2"]},{"1401222999":["hashtag1","hashtag2"]},{"1401223005":["hashtag1","hashtag2"]},{"1401222998":["hashtag1","hashtag2"]},{"1401223001":["hashtag1","hashtag2"]},{"1401223007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223003, 1401222999, 1401223005, 1401222998, 1401223001, 1401223007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.387935400009155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:19:47.456626
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/45/image_09122025_05_46_05_10655.jpg', 2), ('/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_44_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_15_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/05/44/image_09122025_05_44_15_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/45/image_09122025_05_46_05_10655.jpg', '/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_54_9635.jpg', '/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_44_9640.jpg', '/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_24_9634.jpg', '/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_15_9658.jpg', '/home/nano/Desktop/images/09122025/05/44/image_09122025_05_44_15_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/45/image_09122025_05_46_05_10655.jpg
/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_54_9635.jpg
/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_44_9640.jpg
/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_24_9634.jpg
/home/nano/Desktop/images/09122025/05/45/image_09122025_05_45_15_9658.jpg
/home/nano/Desktop/images/09122025/05/44/image_09122025_05_44_15_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":["1401223012","1401223015","1401223018","1401223017","1401223014","1401223013"],"photo_ids_order":["1401223012","1401223013","1401223014","1401223015","1401223017","1401223018"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d31f0c386c5eeaf0b69ec8a73410bea.jpg","text":"TemporaryFile(/tmp/multipartBody2714777972379583304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812848289,"filename":"image_09122025_05_46_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07a72215bca4b866ad3183277fec1949.jpg","text":"TemporaryFile(/tmp/multipartBody1695449578628863856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812848289,"filename":"image_09122025_05_45_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/12/27/fea42dac7217258b65b18dba8e311a95.jpg","text":"TemporaryFile(/tmp/multipartBody7024392234966393890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812848289,"filename":"image_09122025_05_44_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6eb6032d27d7ae3822c466a2aa9bf09.jpg","text":"TemporaryFile(/tmp/multipartBody6358152300269676537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812848289,"filename":"image_09122025_05_45_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c1788fd4275faf369ec5b1cd591c3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1722602869120082452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812848289,"filename":"image_09122025_05_45_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/12/27/7100fdba71c4facc1c32b41b0a20c497.jpg","text":"TemporaryFile(/tmp/multipartBody7264207728488717812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812848289,"filename":"image_09122025_05_45_54_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223014","file1":"1401223013","file0":"1401223012","file4":"1401223017","file5":"1401223018","file3":"1401223015"},"map_files_photo_id_array":[{"photo_id":"1401223018","filename":"file5"},{"photo_id":"1401223014","filename":"file2"},{"photo_id":"1401223017","filename":"file4"},{"photo_id":"1401223013","filename":"file1"},{"photo_id":"1401223012","filename":"file0"},{"photo_id":"1401223015","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223012":["hashtag1","hashtag2"]},{"1401223015":["hashtag1","hashtag2"]},{"1401223018":["hashtag1","hashtag2"]},{"1401223017":["hashtag1","hashtag2"]},{"1401223014":["hashtag1","hashtag2"]},{"1401223013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223012, 1401223015, 1401223018, 1401223017, 1401223014, 1401223013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27733063697815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:20:32.567328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/43/image_09122025_05_44_05_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/05/43/image_09122025_05_43_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/43/image_09122025_05_43_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_54_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_34_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/43/image_09122025_05_44_05_10651.jpg', '/home/nano/Desktop/images/09122025/05/43/image_09122025_05_43_54_9634.jpg', '/home/nano/Desktop/images/09122025/05/43/image_09122025_05_43_24_9635.jpg', '/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_54_9637.jpg', '/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_45_10643.jpg', '/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/43/image_09122025_05_44_05_10651.jpg
/home/nano/Desktop/images/09122025/05/43/image_09122025_05_43_54_9634.jpg
/home/nano/Desktop/images/09122025/05/43/image_09122025_05_43_24_9635.jpg
/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_54_9637.jpg
/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_45_10643.jpg
/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_34_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":["1401223024","1401223033","1401223032","1401223026","1401223031","1401223028"],"photo_ids_order":["1401223024","1401223026","1401223028","1401223031","1401223032","1401223033"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2e55d441246e1c60b9b6d9653eaa8dc.jpg","text":"TemporaryFile(/tmp/multipartBody4113652761266015902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812893403,"filename":"image_09122025_05_44_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a95ac71a820e1cabce3e8f06ec0f9442.jpg","text":"TemporaryFile(/tmp/multipartBody1448368536997459486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812893403,"filename":"image_09122025_05_42_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/12/27/237bdf01bd575c0970a9fdf3d9e70a88.jpg","text":"TemporaryFile(/tmp/multipartBody3593271061133140113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812893403,"filename":"image_09122025_05_42_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4afdf0ff08e62ffedc117f5b0a466c50.jpg","text":"TemporaryFile(/tmp/multipartBody919918479556168296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812893403,"filename":"image_09122025_05_43_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/12/27/bcfa5017800cd6e2fd06e436f046ca9e.jpg","text":"TemporaryFile(/tmp/multipartBody8375851347531880145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812893403,"filename":"image_09122025_05_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/12/27/b18fed753a2eaedf6a15d54215e38823.jpg","text":"TemporaryFile(/tmp/multipartBody6320279824372077746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812893403,"filename":"image_09122025_05_43_24_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223028","file1":"1401223026","file0":"1401223024","file4":"1401223032","file5":"1401223033","file3":"1401223031"},"map_files_photo_id_array":[{"photo_id":"1401223033","filename":"file5"},{"photo_id":"1401223028","filename":"file2"},{"photo_id":"1401223032","filename":"file4"},{"photo_id":"1401223026","filename":"file1"},{"photo_id":"1401223024","filename":"file0"},{"photo_id":"1401223031","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223024":["hashtag1","hashtag2"]},{"1401223033":["hashtag1","hashtag2"]},{"1401223032":["hashtag1","hashtag2"]},{"1401223026":["hashtag1","hashtag2"]},{"1401223031":["hashtag1","hashtag2"]},{"1401223028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223024, 1401223033, 1401223032, 1401223026, 1401223031, 1401223028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.498865842819214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:21:17.653215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_15_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/05/41/image_09122025_05_42_04_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/05/41/image_09122025_05_41_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/41/image_09122025_05_41_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/40/image_09122025_05_41_04_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_25_9634.jpg', '/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_15_10663.jpg', '/home/nano/Desktop/images/09122025/05/41/image_09122025_05_42_04_9657.jpg', '/home/nano/Desktop/images/09122025/05/41/image_09122025_05_41_55_9633.jpg', '/home/nano/Desktop/images/09122025/05/41/image_09122025_05_41_45_10644.jpg', '/home/nano/Desktop/images/09122025/05/40/image_09122025_05_41_04_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_25_9634.jpg
/home/nano/Desktop/images/09122025/05/42/image_09122025_05_42_15_10663.jpg
/home/nano/Desktop/images/09122025/05/41/image_09122025_05_42_04_9657.jpg
/home/nano/Desktop/images/09122025/05/41/image_09122025_05_41_55_9633.jpg
/home/nano/Desktop/images/09122025/05/41/image_09122025_05_41_45_10644.jpg
/home/nano/Desktop/images/09122025/05/40/image_09122025_05_41_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":["1401223048","1401223044","1401223038","1401223046","1401223040","1401223042"],"photo_ids_order":["1401223038","1401223040","1401223042","1401223044","1401223046","1401223048"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0de06d594f4d679899098986a99fd7c.jpg","text":"TemporaryFile(/tmp/multipartBody4460237452894717048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812938469,"filename":"image_09122025_05_41_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/12/27/5466064cd33e17d764b3c8a3866b2a76.jpg","text":"TemporaryFile(/tmp/multipartBody2451068735062497742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812938469,"filename":"image_09122025_05_41_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8aec132d80dc24db99f0fc64a634ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5749990439852232229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812938469,"filename":"image_09122025_05_42_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5143376bca08254c0f8b3d595c5d2fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5696570275590861487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812938469,"filename":"image_09122025_05_41_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/076df6a8990b41371ccde44cac85a741.jpg","text":"TemporaryFile(/tmp/multipartBody7553875707681755971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812938469,"filename":"image_09122025_05_42_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3daaa498e5e702d6df885ff854017a4f.jpg","text":"TemporaryFile(/tmp/multipartBody7096540512106390950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812938469,"filename":"image_09122025_05_42_04_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223042","file1":"1401223040","file0":"1401223038","file4":"1401223046","file5":"1401223048","file3":"1401223044"},"map_files_photo_id_array":[{"photo_id":"1401223048","filename":"file5"},{"photo_id":"1401223042","filename":"file2"},{"photo_id":"1401223046","filename":"file4"},{"photo_id":"1401223040","filename":"file1"},{"photo_id":"1401223038","filename":"file0"},{"photo_id":"1401223044","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223048":["hashtag1","hashtag2"]},{"1401223044":["hashtag1","hashtag2"]},{"1401223038":["hashtag1","hashtag2"]},{"1401223046":["hashtag1","hashtag2"]},{"1401223040":["hashtag1","hashtag2"]},{"1401223042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223048, 1401223044, 1401223038, 1401223046, 1401223040, 1401223042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.473273277282715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:22:03.082888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/40/image_09122025_05_40_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/39/image_09122025_05_40_05_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/05/39/image_09122025_05_39_44_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/39/image_09122025_05_39_14_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/05/38/image_09122025_05_39_05_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/05/37/image_09122025_05_37_24_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/40/image_09122025_05_40_55_10644.jpg', '/home/nano/Desktop/images/09122025/05/39/image_09122025_05_40_05_9667.jpg', '/home/nano/Desktop/images/09122025/05/39/image_09122025_05_39_44_9638.jpg', '/home/nano/Desktop/images/09122025/05/39/image_09122025_05_39_14_9656.jpg', '/home/nano/Desktop/images/09122025/05/38/image_09122025_05_39_05_9658.jpg', '/home/nano/Desktop/images/09122025/05/37/image_09122025_05_37_24_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/40/image_09122025_05_40_55_10644.jpg
/home/nano/Desktop/images/09122025/05/39/image_09122025_05_40_05_9667.jpg
/home/nano/Desktop/images/09122025/05/39/image_09122025_05_39_44_9638.jpg
/home/nano/Desktop/images/09122025/05/39/image_09122025_05_39_14_9656.jpg
/home/nano/Desktop/images/09122025/05/38/image_09122025_05_39_05_9658.jpg
/home/nano/Desktop/images/09122025/05/37/image_09122025_05_37_24_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":["1401223054","1401223056","1401223059","1401223058","1401223052","1401223061"],"photo_ids_order":["1401223052","1401223054","1401223056","1401223058","1401223059","1401223061"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7898621748524382facb3bfaac0f0454.jpg","text":"TemporaryFile(/tmp/multipartBody3899119621547746250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812983947,"filename":"image_09122025_05_40_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4896d272d11fe774a56bf2c3865ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody2184154734658078037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812983947,"filename":"image_09122025_05_39_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/12/27/d7255559689a9555a2e7a4ba9907f260.jpg","text":"TemporaryFile(/tmp/multipartBody7191126449850549412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812983947,"filename":"image_09122025_05_39_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6544abbf2cbb0af1437133b9f37da974.jpg","text":"TemporaryFile(/tmp/multipartBody9035375509943925633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812983947,"filename":"image_09122025_05_39_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/12/27/908885b4f84becc1e4929b4d9e28e1ff.jpg","text":"TemporaryFile(/tmp/multipartBody7538989532028037374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812983947,"filename":"image_09122025_05_40_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1a1280a3fa0d8df9f4816a131327379.jpg","text":"TemporaryFile(/tmp/multipartBody4284075776786626280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766812983947,"filename":"image_09122025_05_37_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223056","file1":"1401223054","file0":"1401223052","file4":"1401223059","file5":"1401223061","file3":"1401223058"},"map_files_photo_id_array":[{"photo_id":"1401223061","filename":"file5"},{"photo_id":"1401223056","filename":"file2"},{"photo_id":"1401223059","filename":"file4"},{"photo_id":"1401223054","filename":"file1"},{"photo_id":"1401223052","filename":"file0"},{"photo_id":"1401223058","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223054":["hashtag1","hashtag2"]},{"1401223056":["hashtag1","hashtag2"]},{"1401223059":["hashtag1","hashtag2"]},{"1401223058":["hashtag1","hashtag2"]},{"1401223052":["hashtag1","hashtag2"]},{"1401223061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223054, 1401223056, 1401223059, 1401223058, 1401223052, 1401223061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41283893585205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:22:47.742940
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/36/image_09122025_05_37_05_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_45_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_15_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/36/image_09122025_05_37_05_10659.jpg', '/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_54_9635.jpg', '/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_45_9635.jpg', '/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_35_10645.jpg', '/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_24_9635.jpg', '/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_15_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/36/image_09122025_05_37_05_10659.jpg
/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_54_9635.jpg
/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_45_9635.jpg
/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_35_10645.jpg
/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_24_9635.jpg
/home/nano/Desktop/images/09122025/05/36/image_09122025_05_36_15_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":["1401223072","1401223066","1401223068","1401223065","1401223070","1401223067"],"photo_ids_order":["1401223065","1401223066","1401223067","1401223068","1401223070","1401223072"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcfce16a93e14abc30e5d32c226e1ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3881044881102818469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813028554,"filename":"image_09122025_05_36_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b840abcbaa5edaed9f56afa1f2a8d62e.jpg","text":"TemporaryFile(/tmp/multipartBody2529054091391032650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813028554,"filename":"image_09122025_05_36_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/12/27/a8661eba482b145a8bd7f2a686838968.jpg","text":"TemporaryFile(/tmp/multipartBody2380655648345090138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813028554,"filename":"image_09122025_05_36_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a0d73bb0cb0cc679fa4c66203e51342.jpg","text":"TemporaryFile(/tmp/multipartBody4337381738461965804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813028554,"filename":"image_09122025_05_37_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d9769e92ceabb7917b32080c105c77d.jpg","text":"TemporaryFile(/tmp/multipartBody1808583663469031905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813028554,"filename":"image_09122025_05_36_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/12/27/03bdef3ba9007853bb7235a5314da672.jpg","text":"TemporaryFile(/tmp/multipartBody7720619826038156409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813028554,"filename":"image_09122025_05_36_45_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223067","file1":"1401223066","file0":"1401223065","file4":"1401223070","file5":"1401223072","file3":"1401223068"},"map_files_photo_id_array":[{"photo_id":"1401223072","filename":"file5"},{"photo_id":"1401223067","filename":"file2"},{"photo_id":"1401223070","filename":"file4"},{"photo_id":"1401223066","filename":"file1"},{"photo_id":"1401223065","filename":"file0"},{"photo_id":"1401223068","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223072":["hashtag1","hashtag2"]},{"1401223066":["hashtag1","hashtag2"]},{"1401223068":["hashtag1","hashtag2"]},{"1401223065":["hashtag1","hashtag2"]},{"1401223070":["hashtag1","hashtag2"]},{"1401223067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223072, 1401223066, 1401223068, 1401223065, 1401223070, 1401223067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52307200431824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:23:31.845606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/35/image_09122025_05_36_05_10669.jpg', 2), ('/home/nano/Desktop/images/09122025/05/35/image_09122025_05_35_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/35/image_09122025_05_35_15_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/05/34/image_09122025_05_34_34_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/34/image_09122025_05_34_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/33/image_09122025_05_34_04_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/35/image_09122025_05_36_05_10669.jpg', '/home/nano/Desktop/images/09122025/05/35/image_09122025_05_35_35_10643.jpg', '/home/nano/Desktop/images/09122025/05/35/image_09122025_05_35_15_10663.jpg', '/home/nano/Desktop/images/09122025/05/34/image_09122025_05_34_34_9637.jpg', '/home/nano/Desktop/images/09122025/05/34/image_09122025_05_34_25_9634.jpg', '/home/nano/Desktop/images/09122025/05/33/image_09122025_05_34_04_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/35/image_09122025_05_36_05_10669.jpg
/home/nano/Desktop/images/09122025/05/35/image_09122025_05_35_35_10643.jpg
/home/nano/Desktop/images/09122025/05/35/image_09122025_05_35_15_10663.jpg
/home/nano/Desktop/images/09122025/05/34/image_09122025_05_34_34_9637.jpg
/home/nano/Desktop/images/09122025/05/34/image_09122025_05_34_25_9634.jpg
/home/nano/Desktop/images/09122025/05/33/image_09122025_05_34_04_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":["1401223086","1401223089","1401223083","1401223079","1401223081","1401223090"],"photo_ids_order":["1401223079","1401223081","1401223083","1401223086","1401223089","1401223090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62b7570ec6a4855566c3413246950081.jpg","text":"TemporaryFile(/tmp/multipartBody4092798826343910627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813072666,"filename":"image_09122025_05_34_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/12/27/c196d09eff1f181b414e46ddcc389fd5.jpg","text":"TemporaryFile(/tmp/multipartBody372194319923636284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813072666,"filename":"image_09122025_05_34_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c83bc2161ac4da40af37622d400e1d1.jpg","text":"TemporaryFile(/tmp/multipartBody1790396116854164157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813072666,"filename":"image_09122025_05_35_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1794bb8c6e3004cefb82cc6b9e8f253.jpg","text":"TemporaryFile(/tmp/multipartBody4037493315613698978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813072666,"filename":"image_09122025_05_36_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b7cb37ff9c2e9c20546df5cd8570fe0.jpg","text":"TemporaryFile(/tmp/multipartBody2896938944761862499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813072666,"filename":"image_09122025_05_35_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51c10880ffbbd76ff891b59b4e87ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody7970814207456723057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813072666,"filename":"image_09122025_05_34_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223083","file1":"1401223081","file0":"1401223079","file4":"1401223089","file5":"1401223090","file3":"1401223086"},"map_files_photo_id_array":[{"photo_id":"1401223090","filename":"file5"},{"photo_id":"1401223083","filename":"file2"},{"photo_id":"1401223089","filename":"file4"},{"photo_id":"1401223081","filename":"file1"},{"photo_id":"1401223079","filename":"file0"},{"photo_id":"1401223086","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223086":["hashtag1","hashtag2"]},{"1401223089":["hashtag1","hashtag2"]},{"1401223083":["hashtag1","hashtag2"]},{"1401223079":["hashtag1","hashtag2"]},{"1401223081":["hashtag1","hashtag2"]},{"1401223090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223086, 1401223089, 1401223083, 1401223079, 1401223081, 1401223090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26926636695862 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:24:16.987426
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/06/24/image_27122025_06_24_35_10520.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/06/24/image_27122025_06_24_35_10520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/06/24/image_27122025_06_24_35_10520.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401223094"],"photo_id":"1401223094","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a84b751c4f981738579ad77119aec71.jpg","text":"TemporaryFile(/tmp/multipartBody5137713574765430635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813117229,"filename":"image_27122025_06_24_35_10520.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401223094"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401223094"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.098424196243286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:24:32.017462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_34_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/05/32/image_09122025_05_33_04_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_55_9635.jpg', '/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_45_10645.jpg', '/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_34_9638.jpg', '/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_15_10660.jpg', '/home/nano/Desktop/images/09122025/05/32/image_09122025_05_33_04_9645.jpg', '/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_55_9635.jpg
/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_45_10645.jpg
/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_34_9638.jpg
/home/nano/Desktop/images/09122025/05/33/image_09122025_05_33_15_10660.jpg
/home/nano/Desktop/images/09122025/05/32/image_09122025_05_33_04_9645.jpg
/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_55_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":["1401223108","1401223101","1401223109","1401223103","1401223106","1401223099"],"photo_ids_order":["1401223099","1401223101","1401223103","1401223106","1401223108","1401223109"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd3a1f5e0e2a95a6adeb2c13ad9cae3f.jpg","text":"TemporaryFile(/tmp/multipartBody1924617456863505643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813132833,"filename":"image_09122025_05_33_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/12/27/43d66ce51a4526e2988f404df6234367.jpg","text":"TemporaryFile(/tmp/multipartBody6184378472687215406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813132833,"filename":"image_09122025_05_33_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01aa87690cf9ef26c46f29537a3f7e7d.jpg","text":"TemporaryFile(/tmp/multipartBody7271000932819600105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813132833,"filename":"image_09122025_05_32_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92885fd2947939f458c25596acffbed5.jpg","text":"TemporaryFile(/tmp/multipartBody1434948422357164768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813132833,"filename":"image_09122025_05_33_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/12/27/691c6c0590d9a7a53e1990959967adf5.jpg","text":"TemporaryFile(/tmp/multipartBody3920477620373423436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813132833,"filename":"image_09122025_05_33_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61e2f1071e78154b8e38b00ecde03126.jpg","text":"TemporaryFile(/tmp/multipartBody2075709547053020453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813132833,"filename":"image_09122025_05_33_55_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223103","file1":"1401223101","file0":"1401223099","file4":"1401223108","file5":"1401223109","file3":"1401223106"},"map_files_photo_id_array":[{"photo_id":"1401223109","filename":"file5"},{"photo_id":"1401223103","filename":"file2"},{"photo_id":"1401223108","filename":"file4"},{"photo_id":"1401223101","filename":"file1"},{"photo_id":"1401223099","filename":"file0"},{"photo_id":"1401223106","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223108":["hashtag1","hashtag2"]},{"1401223101":["hashtag1","hashtag2"]},{"1401223109":["hashtag1","hashtag2"]},{"1401223103":["hashtag1","hashtag2"]},{"1401223106":["hashtag1","hashtag2"]},{"1401223099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223108, 1401223101, 1401223109, 1401223103, 1401223106, 1401223099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59177231788635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:25:17.102512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/31/image_09122025_05_32_05_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_44_9635.jpg', '/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_34_9632.jpg', '/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_25_10644.jpg', '/home/nano/Desktop/images/09122025/05/31/image_09122025_05_32_05_9648.jpg', '/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_55_10644.jpg', '/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_44_9635.jpg
/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_34_9632.jpg
/home/nano/Desktop/images/09122025/05/32/image_09122025_05_32_25_10644.jpg
/home/nano/Desktop/images/09122025/05/31/image_09122025_05_32_05_9648.jpg
/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_55_10644.jpg
/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_44_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":["1401223123","1401223117","1401223116","1401223125","1401223119","1401223121"],"photo_ids_order":["1401223116","1401223117","1401223119","1401223121","1401223123","1401223125"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e231406de6c068c72a516c6fbcd6de8.jpg","text":"TemporaryFile(/tmp/multipartBody2269335516012843813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813177933,"filename":"image_09122025_05_31_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1f399cfe7ece731cc0bad8b9ca82877.jpg","text":"TemporaryFile(/tmp/multipartBody7850764588170395160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813177933,"filename":"image_09122025_05_32_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/12/27/12cb9c70e17f7365539d4ee005d9c1ba.jpg","text":"TemporaryFile(/tmp/multipartBody3367262235937811354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813177933,"filename":"image_09122025_05_32_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/12/27/6d6b71ac660bb48dbe887d9b08f410cc.jpg","text":"TemporaryFile(/tmp/multipartBody8503075109977378524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813177933,"filename":"image_09122025_05_31_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/12/27/4cd232dd61a924d483f094b4d06eebff.jpg","text":"TemporaryFile(/tmp/multipartBody7422587575937818277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813177933,"filename":"image_09122025_05_32_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33f8b01f6e92beb1cb022633787bcd6c.jpg","text":"TemporaryFile(/tmp/multipartBody1315376179316819647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813177933,"filename":"image_09122025_05_32_05_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223119","file1":"1401223117","file0":"1401223116","file4":"1401223123","file5":"1401223125","file3":"1401223121"},"map_files_photo_id_array":[{"photo_id":"1401223125","filename":"file5"},{"photo_id":"1401223119","filename":"file2"},{"photo_id":"1401223123","filename":"file4"},{"photo_id":"1401223117","filename":"file1"},{"photo_id":"1401223116","filename":"file0"},{"photo_id":"1401223121","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223123":["hashtag1","hashtag2"]},{"1401223117":["hashtag1","hashtag2"]},{"1401223116":["hashtag1","hashtag2"]},{"1401223125":["hashtag1","hashtag2"]},{"1401223119":["hashtag1","hashtag2"]},{"1401223121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223123, 1401223117, 1401223116, 1401223125, 1401223119, 1401223121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.787960052490234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:26:02.525553
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_14_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/05/30/image_09122025_05_31_05_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_44_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_25_10643.jpg', '/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_14_9652.jpg', '/home/nano/Desktop/images/09122025/05/30/image_09122025_05_31_05_9649.jpg', '/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_44_9652.jpg', '/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_35_10643.jpg', '/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_24_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_25_10643.jpg
/home/nano/Desktop/images/09122025/05/31/image_09122025_05_31_14_9652.jpg
/home/nano/Desktop/images/09122025/05/30/image_09122025_05_31_05_9649.jpg
/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_44_9652.jpg
/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_35_10643.jpg
/home/nano/Desktop/images/09122025/05/30/image_09122025_05_30_24_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":["1401223132","1401223135","1401223137","1401223139","1401223130","1401223141"],"photo_ids_order":["1401223130","1401223132","1401223135","1401223137","1401223139","1401223141"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/357d9598310b0860c1629d3cc3025d91.jpg","text":"TemporaryFile(/tmp/multipartBody7753479412702774144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813223390,"filename":"image_09122025_05_31_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/12/27/12e7969199dcf4a3c6f7f7c157a1f870.jpg","text":"TemporaryFile(/tmp/multipartBody6029255384044163797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813223390,"filename":"image_09122025_05_31_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/854150e5814235c7d8f53bcf283bec1e.jpg","text":"TemporaryFile(/tmp/multipartBody1153484413204052677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813223390,"filename":"image_09122025_05_30_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/12/27/6f3864438294231c8c8fd0fa7e9e1bef.jpg","text":"TemporaryFile(/tmp/multipartBody4287504661431893431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813223390,"filename":"image_09122025_05_30_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7a678cddbc66a1a74e255f8ef496995.jpg","text":"TemporaryFile(/tmp/multipartBody5307397518238511265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813223390,"filename":"image_09122025_05_31_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/356e2c81afcf4b0bdd084af4c9cbdfaa.jpg","text":"TemporaryFile(/tmp/multipartBody1993514471189530240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813223390,"filename":"image_09122025_05_30_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223135","file1":"1401223132","file0":"1401223130","file4":"1401223139","file5":"1401223141","file3":"1401223137"},"map_files_photo_id_array":[{"photo_id":"1401223141","filename":"file5"},{"photo_id":"1401223135","filename":"file2"},{"photo_id":"1401223139","filename":"file4"},{"photo_id":"1401223132","filename":"file1"},{"photo_id":"1401223130","filename":"file0"},{"photo_id":"1401223137","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223132":["hashtag1","hashtag2"]},{"1401223135":["hashtag1","hashtag2"]},{"1401223137":["hashtag1","hashtag2"]},{"1401223139":["hashtag1","hashtag2"]},{"1401223130":["hashtag1","hashtag2"]},{"1401223141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223132, 1401223135, 1401223137, 1401223139, 1401223130, 1401223141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.961512327194214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:26:47.203946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_45_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_35_10667.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_15_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/05/28/image_09122025_05_29_05_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_54_9632.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_45_9636.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_35_10667.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_24_9635.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_15_9648.jpg', '/home/nano/Desktop/images/09122025/05/28/image_09122025_05_29_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_54_9632.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_45_9636.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_35_10667.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_24_9635.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_15_9648.jpg
/home/nano/Desktop/images/09122025/05/28/image_09122025_05_29_05_10656.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7100002765655518 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:27:02.777945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_45_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_35_10667.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_15_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/05/28/image_09122025_05_29_05_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_54_9632.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_45_9636.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_35_10667.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_24_9635.jpg', '/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_15_9648.jpg', '/home/nano/Desktop/images/09122025/05/28/image_09122025_05_29_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_54_9632.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_45_9636.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_35_10667.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_24_9635.jpg
/home/nano/Desktop/images/09122025/05/29/image_09122025_05_29_15_9648.jpg
/home/nano/Desktop/images/09122025/05/28/image_09122025_05_29_05_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":["1401223159","1401223161","1401223163","1401223157","1401223166","1401223154"],"photo_ids_order":["1401223154","1401223157","1401223159","1401223161","1401223163","1401223166"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2d3e97dc8fbb903473525c81f79b45f.jpg","text":"TemporaryFile(/tmp/multipartBody3375866538204650435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813283610,"filename":"image_09122025_05_29_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/693ceb56390fcbba72eef4c6b30869dd.jpg","text":"TemporaryFile(/tmp/multipartBody3019535664338107336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813283610,"filename":"image_09122025_05_29_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/12/27/8fb0be696b49ab7ffdd451817e0a8da1.jpg","text":"TemporaryFile(/tmp/multipartBody6827078449647538587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813283610,"filename":"image_09122025_05_29_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e6fa843d2ce46011da0c17d66382c73.jpg","text":"TemporaryFile(/tmp/multipartBody3464548402880415562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813283610,"filename":"image_09122025_05_29_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1e3a8e7812436c8e644cc0032478a6a.jpg","text":"TemporaryFile(/tmp/multipartBody8285429625443914951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813283610,"filename":"image_09122025_05_29_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3437c73afb0fb63476e903df37f9a0d7.jpg","text":"TemporaryFile(/tmp/multipartBody1818063942565552211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813283610,"filename":"image_09122025_05_29_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223159","file1":"1401223157","file0":"1401223154","file4":"1401223163","file5":"1401223166","file3":"1401223161"},"map_files_photo_id_array":[{"photo_id":"1401223166","filename":"file5"},{"photo_id":"1401223159","filename":"file2"},{"photo_id":"1401223163","filename":"file4"},{"photo_id":"1401223157","filename":"file1"},{"photo_id":"1401223154","filename":"file0"},{"photo_id":"1401223161","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223159":["hashtag1","hashtag2"]},{"1401223161":["hashtag1","hashtag2"]},{"1401223163":["hashtag1","hashtag2"]},{"1401223157":["hashtag1","hashtag2"]},{"1401223166":["hashtag1","hashtag2"]},{"1401223154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223159, 1401223161, 1401223163, 1401223157, 1401223166, 1401223154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61111927032471 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:27:47.335782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/28/image_09122025_05_28_54_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/27/image_09122025_05_28_05_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_25_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_15_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/28/image_09122025_05_28_54_9637.jpg', '/home/nano/Desktop/images/09122025/05/27/image_09122025_05_28_05_10649.jpg', '/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_45_10646.jpg', '/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_34_9634.jpg', '/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_25_9629.jpg', '/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_15_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/28/image_09122025_05_28_54_9637.jpg
/home/nano/Desktop/images/09122025/05/27/image_09122025_05_28_05_10649.jpg
/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_45_10646.jpg
/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_34_9634.jpg
/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_25_9629.jpg
/home/nano/Desktop/images/09122025/05/27/image_09122025_05_27_15_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":["1401223179","1401223176","1401223181","1401223175","1401223178","1401223177"],"photo_ids_order":["1401223175","1401223176","1401223177","1401223178","1401223179","1401223181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b03c046fb8606bbe2eb2b6827a4322ff.jpg","text":"TemporaryFile(/tmp/multipartBody6096475966970299801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813328164,"filename":"image_09122025_05_27_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b793d8d2f26ed9a8a29be232fc72ec87.jpg","text":"TemporaryFile(/tmp/multipartBody2849384062643279740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813328164,"filename":"image_09122025_05_28_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b98f0f3c2f2ce54c38ca4e6984c18e3c.jpg","text":"TemporaryFile(/tmp/multipartBody117991385837135098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813328164,"filename":"image_09122025_05_27_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9bf2664a6f529297c3617484d713ebd.jpg","text":"TemporaryFile(/tmp/multipartBody3275279400272249831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813328164,"filename":"image_09122025_05_28_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/12/27/6b4e9030118e5a17518adf32dc4cff50.jpg","text":"TemporaryFile(/tmp/multipartBody5519905546086211164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813328164,"filename":"image_09122025_05_27_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/12/27/8ef727df1d778c4db080e0b5e4a0a461.jpg","text":"TemporaryFile(/tmp/multipartBody3980669442834548910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813328164,"filename":"image_09122025_05_27_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223177","file1":"1401223176","file0":"1401223175","file4":"1401223179","file5":"1401223181","file3":"1401223178"},"map_files_photo_id_array":[{"photo_id":"1401223181","filename":"file5"},{"photo_id":"1401223177","filename":"file2"},{"photo_id":"1401223179","filename":"file4"},{"photo_id":"1401223176","filename":"file1"},{"photo_id":"1401223175","filename":"file0"},{"photo_id":"1401223178","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223179":["hashtag1","hashtag2"]},{"1401223176":["hashtag1","hashtag2"]},{"1401223181":["hashtag1","hashtag2"]},{"1401223175":["hashtag1","hashtag2"]},{"1401223178":["hashtag1","hashtag2"]},{"1401223177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223179, 1401223176, 1401223181, 1401223175, 1401223178, 1401223177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74287390708923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:28:32.413317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/26/image_09122025_05_27_04_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_25_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/25/image_09122025_05_26_04_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/26/image_09122025_05_27_04_9654.jpg', '/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_55_9633.jpg', '/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_45_10646.jpg', '/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_25_9635.jpg', '/home/nano/Desktop/images/09122025/05/25/image_09122025_05_26_04_9634.jpg', '/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/26/image_09122025_05_27_04_9654.jpg
/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_55_9633.jpg
/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_45_10646.jpg
/home/nano/Desktop/images/09122025/05/26/image_09122025_05_26_25_9635.jpg
/home/nano/Desktop/images/09122025/05/25/image_09122025_05_26_04_9634.jpg
/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_55_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":["1401223191","1401223203","1401223193","1401223196","1401223200","1401223202"],"photo_ids_order":["1401223191","1401223193","1401223196","1401223200","1401223202","1401223203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6618bb315292706c1a31a2f1df34a7d2.jpg","text":"TemporaryFile(/tmp/multipartBody816667431899999488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813373248,"filename":"image_09122025_05_27_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/12/27/e7324718aaccb0dcf34b692958aec322.jpg","text":"TemporaryFile(/tmp/multipartBody3815397729318424230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813373248,"filename":"image_09122025_05_25_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47f4a22a0a5be1942eeba07383adfeea.jpg","text":"TemporaryFile(/tmp/multipartBody6204709025348576775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813373248,"filename":"image_09122025_05_26_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b83d94db22766f74624476c70537e8eb.jpg","text":"TemporaryFile(/tmp/multipartBody249276501930601961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813373248,"filename":"image_09122025_05_26_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2c119fcf6ee100d02dea54b1e42664b.jpg","text":"TemporaryFile(/tmp/multipartBody7823784333859329660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813373248,"filename":"image_09122025_05_26_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/857cb82f41dd7ad5a5f29122d94a619f.jpg","text":"TemporaryFile(/tmp/multipartBody7613062174622808434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813373248,"filename":"image_09122025_05_26_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223196","file1":"1401223193","file0":"1401223191","file4":"1401223202","file5":"1401223203","file3":"1401223200"},"map_files_photo_id_array":[{"photo_id":"1401223203","filename":"file5"},{"photo_id":"1401223196","filename":"file2"},{"photo_id":"1401223202","filename":"file4"},{"photo_id":"1401223193","filename":"file1"},{"photo_id":"1401223191","filename":"file0"},{"photo_id":"1401223200","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223191":["hashtag1","hashtag2"]},{"1401223203":["hashtag1","hashtag2"]},{"1401223193":["hashtag1","hashtag2"]},{"1401223196":["hashtag1","hashtag2"]},{"1401223200":["hashtag1","hashtag2"]},{"1401223202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223191, 1401223203, 1401223193, 1401223196, 1401223200, 1401223202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34552788734436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:29:17.523851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_25_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/05/24/image_09122025_05_25_05_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_55_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_45_10645.jpg', '/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_25_10645.jpg', '/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_14_9651.jpg', '/home/nano/Desktop/images/09122025/05/24/image_09122025_05_25_05_9641.jpg', '/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_55_10648.jpg', '/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_44_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_45_10645.jpg
/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_25_10645.jpg
/home/nano/Desktop/images/09122025/05/25/image_09122025_05_25_14_9651.jpg
/home/nano/Desktop/images/09122025/05/24/image_09122025_05_25_05_9641.jpg
/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_55_10648.jpg
/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_44_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":["1401223216","1401223209","1401223218","1401223211","1401223214","1401223208"],"photo_ids_order":["1401223208","1401223209","1401223211","1401223214","1401223216","1401223218"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41331022d0b2f375c85c27bb2de5ab50.jpg","text":"TemporaryFile(/tmp/multipartBody533101049027572879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813418332,"filename":"image_09122025_05_24_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61732fb0137aba3365f5d6eba7aee8f0.jpg","text":"TemporaryFile(/tmp/multipartBody7500464834228935736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813418332,"filename":"image_09122025_05_25_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56f9f1df38567d2a1df36cf9ebb9c2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7557669446736177541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813418332,"filename":"image_09122025_05_24_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/12/27/48d13e898140c05e402360e3f5523f23.jpg","text":"TemporaryFile(/tmp/multipartBody5486324957370815927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813418332,"filename":"image_09122025_05_25_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/12/27/a016d015eb6be9fe0b04f65ed07cf9da.jpg","text":"TemporaryFile(/tmp/multipartBody2558789426674100630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813418332,"filename":"image_09122025_05_25_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/219a7cc92a3a91dd693014c1f2c7419f.jpg","text":"TemporaryFile(/tmp/multipartBody1914221057141208808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813418332,"filename":"image_09122025_05_25_45_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223211","file1":"1401223209","file0":"1401223208","file4":"1401223216","file5":"1401223218","file3":"1401223214"},"map_files_photo_id_array":[{"photo_id":"1401223218","filename":"file5"},{"photo_id":"1401223211","filename":"file2"},{"photo_id":"1401223216","filename":"file4"},{"photo_id":"1401223209","filename":"file1"},{"photo_id":"1401223208","filename":"file0"},{"photo_id":"1401223214","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223216":["hashtag1","hashtag2"]},{"1401223209":["hashtag1","hashtag2"]},{"1401223218":["hashtag1","hashtag2"]},{"1401223211":["hashtag1","hashtag2"]},{"1401223214":["hashtag1","hashtag2"]},{"1401223208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223216, 1401223209, 1401223218, 1401223211, 1401223214, 1401223208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.498992919921875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:30:03.078023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_35_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/05/23/image_09122025_05_24_05_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/05/23/image_09122025_05_23_44_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/05/23/image_09122025_05_23_35_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/22/image_09122025_05_23_05_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_35_9636.jpg', '/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_14_9651.jpg', '/home/nano/Desktop/images/09122025/05/23/image_09122025_05_24_05_9642.jpg', '/home/nano/Desktop/images/09122025/05/23/image_09122025_05_23_44_9640.jpg', '/home/nano/Desktop/images/09122025/05/23/image_09122025_05_23_35_9633.jpg', '/home/nano/Desktop/images/09122025/05/22/image_09122025_05_23_05_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_35_9636.jpg
/home/nano/Desktop/images/09122025/05/24/image_09122025_05_24_14_9651.jpg
/home/nano/Desktop/images/09122025/05/23/image_09122025_05_24_05_9642.jpg
/home/nano/Desktop/images/09122025/05/23/image_09122025_05_23_44_9640.jpg
/home/nano/Desktop/images/09122025/05/23/image_09122025_05_23_35_9633.jpg
/home/nano/Desktop/images/09122025/05/22/image_09122025_05_23_05_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":["1401223225","1401223228","1401223233","1401223230","1401223226","1401223223"],"photo_ids_order":["1401223223","1401223225","1401223226","1401223228","1401223230","1401223233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb09b361d39ae0c3a7d6b88c496f4a38.jpg","text":"TemporaryFile(/tmp/multipartBody1964849873336122326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813463950,"filename":"image_09122025_05_24_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/12/27/1c25fbd1c169f4286e2399c98fa90424.jpg","text":"TemporaryFile(/tmp/multipartBody8084139230696057347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813463950,"filename":"image_09122025_05_23_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/12/27/26db72b6be845b60eb1a39bba776f2a3.jpg","text":"TemporaryFile(/tmp/multipartBody2968042097982458099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813463950,"filename":"image_09122025_05_23_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54d5deb1bf37042fa6705175936a3803.jpg","text":"TemporaryFile(/tmp/multipartBody6015016854585033982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813463950,"filename":"image_09122025_05_23_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2552ed5f89db2ba8a9c21e88922da3e0.jpg","text":"TemporaryFile(/tmp/multipartBody5741828194077711170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813463950,"filename":"image_09122025_05_24_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b976c0290c8c96850caf7234d4dc0d67.jpg","text":"TemporaryFile(/tmp/multipartBody8495678011630532623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813463950,"filename":"image_09122025_05_24_35_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223226","file1":"1401223225","file0":"1401223223","file4":"1401223230","file5":"1401223233","file3":"1401223228"},"map_files_photo_id_array":[{"photo_id":"1401223233","filename":"file5"},{"photo_id":"1401223226","filename":"file2"},{"photo_id":"1401223230","filename":"file4"},{"photo_id":"1401223225","filename":"file1"},{"photo_id":"1401223223","filename":"file0"},{"photo_id":"1401223228","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223225":["hashtag1","hashtag2"]},{"1401223228":["hashtag1","hashtag2"]},{"1401223233":["hashtag1","hashtag2"]},{"1401223230":["hashtag1","hashtag2"]},{"1401223226":["hashtag1","hashtag2"]},{"1401223223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223225, 1401223228, 1401223233, 1401223230, 1401223226, 1401223223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83169889450073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:30:47.622061
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_24_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_15_9671.jpg', 2), ('/home/nano/Desktop/images/09122025/05/21/image_09122025_05_22_05_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_45_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_35_10643.jpg', '/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_24_9650.jpg', '/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_15_9671.jpg', '/home/nano/Desktop/images/09122025/05/21/image_09122025_05_22_05_10651.jpg', '/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_54_9632.jpg', '/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_45_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_35_10643.jpg
/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_24_9650.jpg
/home/nano/Desktop/images/09122025/05/22/image_09122025_05_22_15_9671.jpg
/home/nano/Desktop/images/09122025/05/21/image_09122025_05_22_05_10651.jpg
/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_54_9632.jpg
/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_45_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":["1401223243","1401223246","1401223242","1401223244","1401223247","1401223241"],"photo_ids_order":["1401223241","1401223242","1401223243","1401223244","1401223246","1401223247"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5900ebc07fa3743442becdb0753de50.jpg","text":"TemporaryFile(/tmp/multipartBody184428731702724206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813508476,"filename":"image_09122025_05_22_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13cc54d7ac41230f28b21ab82fd242eb.jpg","text":"TemporaryFile(/tmp/multipartBody888028727209910790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813508476,"filename":"image_09122025_05_21_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/12/27/155d22687cd90cc342bea78ab43c0596.jpg","text":"TemporaryFile(/tmp/multipartBody8941226477873172575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813508476,"filename":"image_09122025_05_22_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/12/27/843381395648a1469522e9cb77541fba.jpg","text":"TemporaryFile(/tmp/multipartBody3836298714829186877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813508476,"filename":"image_09122025_05_22_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f2b5ce6e304dd4b62eae19449962034.jpg","text":"TemporaryFile(/tmp/multipartBody598190389068972937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813508476,"filename":"image_09122025_05_21_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6d36cb20e5d92f71072210d98d2e638.jpg","text":"TemporaryFile(/tmp/multipartBody2671884515611149071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813508476,"filename":"image_09122025_05_22_35_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223243","file1":"1401223242","file0":"1401223241","file4":"1401223246","file5":"1401223247","file3":"1401223244"},"map_files_photo_id_array":[{"photo_id":"1401223247","filename":"file5"},{"photo_id":"1401223243","filename":"file2"},{"photo_id":"1401223246","filename":"file4"},{"photo_id":"1401223242","filename":"file1"},{"photo_id":"1401223241","filename":"file0"},{"photo_id":"1401223244","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223243":["hashtag1","hashtag2"]},{"1401223246":["hashtag1","hashtag2"]},{"1401223242":["hashtag1","hashtag2"]},{"1401223244":["hashtag1","hashtag2"]},{"1401223247":["hashtag1","hashtag2"]},{"1401223241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223243, 1401223246, 1401223242, 1401223244, 1401223247, 1401223241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75573182106018 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:31:32.708391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_45_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/19/image_09122025_05_20_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/18/image_09122025_05_18_34_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_24_9634.jpg', '/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_45_9653.jpg', '/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_35_10645.jpg', '/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_24_9633.jpg', '/home/nano/Desktop/images/09122025/05/19/image_09122025_05_20_04_9637.jpg', '/home/nano/Desktop/images/09122025/05/18/image_09122025_05_18_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/21/image_09122025_05_21_24_9634.jpg
/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_45_9653.jpg
/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_35_10645.jpg
/home/nano/Desktop/images/09122025/05/20/image_09122025_05_20_24_9633.jpg
/home/nano/Desktop/images/09122025/05/19/image_09122025_05_20_04_9637.jpg
/home/nano/Desktop/images/09122025/05/18/image_09122025_05_18_34_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":["1401223264","1401223263","1401223260","1401223254","1401223257","1401223256"],"photo_ids_order":["1401223254","1401223256","1401223257","1401223260","1401223263","1401223264"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36b6415c6ce0128c5dcc194b666f515b.jpg","text":"TemporaryFile(/tmp/multipartBody2551716615424140921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813553541,"filename":"image_09122025_05_18_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/12/27/3ea2889c722f1831ac05cce11ac2c788.jpg","text":"TemporaryFile(/tmp/multipartBody4399654158256797055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813553541,"filename":"image_09122025_05_20_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/12/27/8fe320931da2c256c71f1ad31a425c99.jpg","text":"TemporaryFile(/tmp/multipartBody1392317933246296818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813553541,"filename":"image_09122025_05_20_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/12/27/125853921bd4ea8604f1fb0d1877eacf.jpg","text":"TemporaryFile(/tmp/multipartBody4922068471128983841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813553541,"filename":"image_09122025_05_21_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/12/27/1db4c077d981aea6333455f142a6c6fa.jpg","text":"TemporaryFile(/tmp/multipartBody5263992074330152734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813553541,"filename":"image_09122025_05_20_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ef5a3775adec1a9f5c06fa4c0f3e948.jpg","text":"TemporaryFile(/tmp/multipartBody8050247212786093514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813553541,"filename":"image_09122025_05_20_45_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223257","file1":"1401223256","file0":"1401223254","file4":"1401223263","file5":"1401223264","file3":"1401223260"},"map_files_photo_id_array":[{"photo_id":"1401223264","filename":"file5"},{"photo_id":"1401223257","filename":"file2"},{"photo_id":"1401223263","filename":"file4"},{"photo_id":"1401223256","filename":"file1"},{"photo_id":"1401223254","filename":"file0"},{"photo_id":"1401223260","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223264":["hashtag1","hashtag2"]},{"1401223263":["hashtag1","hashtag2"]},{"1401223260":["hashtag1","hashtag2"]},{"1401223254":["hashtag1","hashtag2"]},{"1401223257":["hashtag1","hashtag2"]},{"1401223256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223264, 1401223263, 1401223260, 1401223254, 1401223257, 1401223256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34547972679138 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:32:16.812029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/18/image_09122025_05_18_25_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_25_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_14_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/18/image_09122025_05_18_25_9635.jpg', '/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_55_10642.jpg', '/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_44_9639.jpg', '/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_34_9636.jpg', '/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_25_10647.jpg', '/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_14_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/18/image_09122025_05_18_25_9635.jpg
/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_55_10642.jpg
/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_44_9639.jpg
/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_34_9636.jpg
/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_25_10647.jpg
/home/nano/Desktop/images/09122025/05/17/image_09122025_05_17_14_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":["1401223270","1401223278","1401223275","1401223269","1401223277","1401223273"],"photo_ids_order":["1401223269","1401223270","1401223273","1401223275","1401223277","1401223278"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c40f23eee8b0674bd16a5ca007af1da.jpg","text":"TemporaryFile(/tmp/multipartBody7359868950443846080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813597627,"filename":"image_09122025_05_17_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8938243c24fec004a843cb6e97acb63.jpg","text":"TemporaryFile(/tmp/multipartBody7104263430620235254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813597627,"filename":"image_09122025_05_17_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/12/27/68af931a09b84b33b3bd1789deee93fb.jpg","text":"TemporaryFile(/tmp/multipartBody867814572260268170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813597627,"filename":"image_09122025_05_17_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/12/27/81bc1887d9af52ce58ca6c956df0d556.jpg","text":"TemporaryFile(/tmp/multipartBody5103966163260008851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813597627,"filename":"image_09122025_05_18_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76a9f8f8be4c728fd55e1ddc761f3cc1.jpg","text":"TemporaryFile(/tmp/multipartBody1527734673307002633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813597627,"filename":"image_09122025_05_17_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2aae01e020d994091a29a4422f8f2522.jpg","text":"TemporaryFile(/tmp/multipartBody8385351483343346218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813597627,"filename":"image_09122025_05_17_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223273","file1":"1401223270","file0":"1401223269","file4":"1401223277","file5":"1401223278","file3":"1401223275"},"map_files_photo_id_array":[{"photo_id":"1401223278","filename":"file5"},{"photo_id":"1401223273","filename":"file2"},{"photo_id":"1401223277","filename":"file4"},{"photo_id":"1401223270","filename":"file1"},{"photo_id":"1401223269","filename":"file0"},{"photo_id":"1401223275","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223270":["hashtag1","hashtag2"]},{"1401223278":["hashtag1","hashtag2"]},{"1401223275":["hashtag1","hashtag2"]},{"1401223269":["hashtag1","hashtag2"]},{"1401223277":["hashtag1","hashtag2"]},{"1401223273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223270, 1401223278, 1401223275, 1401223269, 1401223277, 1401223273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18730711936951 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:33:02.533979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/16/image_09122025_05_17_05_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/16/image_09122025_05_16_35_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/05/16/image_09122025_05_16_25_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/05/15/image_09122025_05_16_05_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_35_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_25_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/16/image_09122025_05_17_05_9636.jpg', '/home/nano/Desktop/images/09122025/05/16/image_09122025_05_16_35_9651.jpg', '/home/nano/Desktop/images/09122025/05/16/image_09122025_05_16_25_10646.jpg', '/home/nano/Desktop/images/09122025/05/15/image_09122025_05_16_05_9647.jpg', '/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_35_9638.jpg', '/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/16/image_09122025_05_17_05_9636.jpg
/home/nano/Desktop/images/09122025/05/16/image_09122025_05_16_35_9651.jpg
/home/nano/Desktop/images/09122025/05/16/image_09122025_05_16_25_10646.jpg
/home/nano/Desktop/images/09122025/05/15/image_09122025_05_16_05_9647.jpg
/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_35_9638.jpg
/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_25_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":["1401223290","1401223284","1401223293","1401223283","1401223286","1401223288"],"photo_ids_order":["1401223283","1401223284","1401223286","1401223288","1401223290","1401223293"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6156dec245ad804d083de9f49ab570d.jpg","text":"TemporaryFile(/tmp/multipartBody251534220553242920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813643500,"filename":"image_09122025_05_15_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7161684b709dbe1050f607c061d2850e.jpg","text":"TemporaryFile(/tmp/multipartBody8995015650063470681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813643500,"filename":"image_09122025_05_16_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0649a6511ae5528ab4cd8a11fc651ded.jpg","text":"TemporaryFile(/tmp/multipartBody1472250740531086779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813643500,"filename":"image_09122025_05_15_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08640d0f9fe9acfb8f2a0742ca306d38.jpg","text":"TemporaryFile(/tmp/multipartBody2126017889382766700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813643500,"filename":"image_09122025_05_17_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53bf72431b0c4dec907117ac1b438870.jpg","text":"TemporaryFile(/tmp/multipartBody1180080079456825682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813643500,"filename":"image_09122025_05_16_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b5ab93adf5f71ed1bcbd40493b615c9.jpg","text":"TemporaryFile(/tmp/multipartBody8166315484059698811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813643500,"filename":"image_09122025_05_16_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223286","file1":"1401223284","file0":"1401223283","file4":"1401223290","file5":"1401223293","file3":"1401223288"},"map_files_photo_id_array":[{"photo_id":"1401223293","filename":"file5"},{"photo_id":"1401223286","filename":"file2"},{"photo_id":"1401223290","filename":"file4"},{"photo_id":"1401223284","filename":"file1"},{"photo_id":"1401223283","filename":"file0"},{"photo_id":"1401223288","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223290":["hashtag1","hashtag2"]},{"1401223284":["hashtag1","hashtag2"]},{"1401223293":["hashtag1","hashtag2"]},{"1401223283":["hashtag1","hashtag2"]},{"1401223286":["hashtag1","hashtag2"]},{"1401223288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223290, 1401223284, 1401223293, 1401223283, 1401223286, 1401223288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.992416858673096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:33:46.926049
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/06/33/image_27122025_06_33_44_9507.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/06/33/image_27122025_06_33_44_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/06/33/image_27122025_06_33_44_9507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401223300"],"photo_id":"1401223300","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c86c6547d347b791889456013bdeb15.jpg","text":"TemporaryFile(/tmp/multipartBody3429208836648281930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813687170,"filename":"image_27122025_06_33_44_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401223300"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401223300"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.939331769943237 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:34:02.829374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_14_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/14/image_09122025_05_15_05_10668.jpg', 2), ('/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_35_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/13/image_09122025_05_14_05_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_14_9644.jpg', '/home/nano/Desktop/images/09122025/05/14/image_09122025_05_15_05_10668.jpg', '/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_44_9637.jpg', '/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_35_10646.jpg', '/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_24_9633.jpg', '/home/nano/Desktop/images/09122025/05/13/image_09122025_05_14_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/15/image_09122025_05_15_14_9644.jpg
/home/nano/Desktop/images/09122025/05/14/image_09122025_05_15_05_10668.jpg
/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_44_9637.jpg
/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_35_10646.jpg
/home/nano/Desktop/images/09122025/05/14/image_09122025_05_14_24_9633.jpg
/home/nano/Desktop/images/09122025/05/13/image_09122025_05_14_05_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":["1401223303","1401223312","1401223309","1401223302","1401223305","1401223307"],"photo_ids_order":["1401223302","1401223303","1401223305","1401223307","1401223309","1401223312"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79131dfeb1153ac16e5a9e08a8fbd861.jpg","text":"TemporaryFile(/tmp/multipartBody7923284931568696931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813703782,"filename":"image_09122025_05_15_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2e0367b76a4d6038b28e8416fb85c96.jpg","text":"TemporaryFile(/tmp/multipartBody9092789615984211319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813703782,"filename":"image_09122025_05_14_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0a5d088fef7d13e97395415a5051b10.jpg","text":"TemporaryFile(/tmp/multipartBody16148596569002316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813703782,"filename":"image_09122025_05_14_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/12/27/96ec31a420f7eac06d2834d256b634ae.jpg","text":"TemporaryFile(/tmp/multipartBody6797137706754736617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813703782,"filename":"image_09122025_05_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/12/27/9c1b52cd5411cfed13b299d6d447d940.jpg","text":"TemporaryFile(/tmp/multipartBody5940095574966699465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813703782,"filename":"image_09122025_05_14_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/12/27/4e04fc2741e07cec65f44fa25ac90776.jpg","text":"TemporaryFile(/tmp/multipartBody986433091107283823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813703782,"filename":"image_09122025_05_14_35_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223305","file1":"1401223303","file0":"1401223302","file4":"1401223309","file5":"1401223312","file3":"1401223307"},"map_files_photo_id_array":[{"photo_id":"1401223312","filename":"file5"},{"photo_id":"1401223305","filename":"file2"},{"photo_id":"1401223309","filename":"file4"},{"photo_id":"1401223303","filename":"file1"},{"photo_id":"1401223302","filename":"file0"},{"photo_id":"1401223307","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223303":["hashtag1","hashtag2"]},{"1401223312":["hashtag1","hashtag2"]},{"1401223309":["hashtag1","hashtag2"]},{"1401223302":["hashtag1","hashtag2"]},{"1401223305":["hashtag1","hashtag2"]},{"1401223307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223303, 1401223312, 1401223309, 1401223302, 1401223305, 1401223307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13375473022461 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:34:47.035192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/13/image_09122025_05_13_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/13/image_09122025_05_13_15_9672.jpg', 2), ('/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_45_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_24_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_15_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/13/image_09122025_05_13_24_9632.jpg', '/home/nano/Desktop/images/09122025/05/13/image_09122025_05_13_15_9672.jpg', '/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_45_9638.jpg', '/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_35_10645.jpg', '/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_24_9636.jpg', '/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_15_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/13/image_09122025_05_13_24_9632.jpg
/home/nano/Desktop/images/09122025/05/13/image_09122025_05_13_15_9672.jpg
/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_45_9638.jpg
/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_35_10645.jpg
/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_24_9636.jpg
/home/nano/Desktop/images/09122025/05/12/image_09122025_05_12_15_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":["1401223321","1401223327","1401223320","1401223323","1401223325","1401223322"],"photo_ids_order":["1401223320","1401223321","1401223322","1401223323","1401223325","1401223327"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/967656630a1b004d7b23d39ca0cb6f53.jpg","text":"TemporaryFile(/tmp/multipartBody433966461973077415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813747855,"filename":"image_09122025_05_13_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc8d0f9f857f17daf0506ba4a552144b.jpg","text":"TemporaryFile(/tmp/multipartBody7823553074467121477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813747855,"filename":"image_09122025_05_12_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a9b581d978b4fdb8ff0b582a6e1aff5.jpg","text":"TemporaryFile(/tmp/multipartBody2746661908997707977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813747855,"filename":"image_09122025_05_13_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/12/27/c0daef31f4f04e030e4a780c3843bf47.jpg","text":"TemporaryFile(/tmp/multipartBody7506371148803187889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813747855,"filename":"image_09122025_05_12_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dee0220769cff66d0b49defa07be214.jpg","text":"TemporaryFile(/tmp/multipartBody7944781184894750846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813747855,"filename":"image_09122025_05_12_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/12/27/1c2fac76d06c357c67f44d9af80cff2b.jpg","text":"TemporaryFile(/tmp/multipartBody779803617506059704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813747855,"filename":"image_09122025_05_12_45_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223322","file1":"1401223321","file0":"1401223320","file4":"1401223325","file5":"1401223327","file3":"1401223323"},"map_files_photo_id_array":[{"photo_id":"1401223327","filename":"file5"},{"photo_id":"1401223322","filename":"file2"},{"photo_id":"1401223325","filename":"file4"},{"photo_id":"1401223321","filename":"file1"},{"photo_id":"1401223320","filename":"file0"},{"photo_id":"1401223323","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223321":["hashtag1","hashtag2"]},{"1401223327":["hashtag1","hashtag2"]},{"1401223320":["hashtag1","hashtag2"]},{"1401223323":["hashtag1","hashtag2"]},{"1401223325":["hashtag1","hashtag2"]},{"1401223322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223321, 1401223327, 1401223320, 1401223323, 1401223325, 1401223322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66861867904663 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:35:32.145517
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/11/image_09122025_05_12_04_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/05/11/image_09122025_05_11_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/11/image_09122025_05_11_25_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/05/10/image_09122025_05_11_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_25_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/11/image_09122025_05_12_04_9639.jpg', '/home/nano/Desktop/images/09122025/05/11/image_09122025_05_11_34_9635.jpg', '/home/nano/Desktop/images/09122025/05/11/image_09122025_05_11_25_9652.jpg', '/home/nano/Desktop/images/09122025/05/10/image_09122025_05_11_04_9638.jpg', '/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_34_9634.jpg', '/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/11/image_09122025_05_12_04_9639.jpg
/home/nano/Desktop/images/09122025/05/11/image_09122025_05_11_34_9635.jpg
/home/nano/Desktop/images/09122025/05/11/image_09122025_05_11_25_9652.jpg
/home/nano/Desktop/images/09122025/05/10/image_09122025_05_11_04_9638.jpg
/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_34_9634.jpg
/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_25_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":["1401223347","1401223335","1401223338","1401223343","1401223337","1401223346"],"photo_ids_order":["1401223335","1401223337","1401223338","1401223343","1401223346","1401223347"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb6ff84d3afeb90f6b835b6979724745.jpg","text":"TemporaryFile(/tmp/multipartBody5188850436682392987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813792969,"filename":"image_09122025_05_10_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/271e4796c2be3a10c4e1ef01a3c03052.jpg","text":"TemporaryFile(/tmp/multipartBody5906677176663751951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813792969,"filename":"image_09122025_05_12_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/12/27/ece4af25008ab06ed2f0506623496bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1646057912950902951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813792969,"filename":"image_09122025_05_11_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13d9746e1bb4a259208dedfbe6666170.jpg","text":"TemporaryFile(/tmp/multipartBody2987278073575951964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813792969,"filename":"image_09122025_05_11_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/12/27/79eb3d2270f9130de724daeb0eb87e66.jpg","text":"TemporaryFile(/tmp/multipartBody3119124751138247887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813792969,"filename":"image_09122025_05_11_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/12/27/f992edb3544d387751281fb9765c1932.jpg","text":"TemporaryFile(/tmp/multipartBody3341612653014909599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813792969,"filename":"image_09122025_05_10_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223338","file1":"1401223337","file0":"1401223335","file4":"1401223346","file5":"1401223347","file3":"1401223343"},"map_files_photo_id_array":[{"photo_id":"1401223347","filename":"file5"},{"photo_id":"1401223338","filename":"file2"},{"photo_id":"1401223346","filename":"file4"},{"photo_id":"1401223337","filename":"file1"},{"photo_id":"1401223335","filename":"file0"},{"photo_id":"1401223343","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223347":["hashtag1","hashtag2"]},{"1401223335":["hashtag1","hashtag2"]},{"1401223338":["hashtag1","hashtag2"]},{"1401223343":["hashtag1","hashtag2"]},{"1401223337":["hashtag1","hashtag2"]},{"1401223346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223347, 1401223335, 1401223338, 1401223343, 1401223337, 1401223346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51361966133118 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:36:17.296438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_15_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/05/09/image_09122025_05_10_04_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/05/09/image_09122025_05_09_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/09/image_09122025_05_09_44_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/05/08/image_09122025_05_08_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/05/07/image_09122025_05_08_05_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_15_10663.jpg', '/home/nano/Desktop/images/09122025/05/09/image_09122025_05_10_04_9635.jpg', '/home/nano/Desktop/images/09122025/05/09/image_09122025_05_09_55_10644.jpg', '/home/nano/Desktop/images/09122025/05/09/image_09122025_05_09_44_9640.jpg', '/home/nano/Desktop/images/09122025/05/08/image_09122025_05_08_44_9639.jpg', '/home/nano/Desktop/images/09122025/05/07/image_09122025_05_08_05_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/10/image_09122025_05_10_15_10663.jpg
/home/nano/Desktop/images/09122025/05/09/image_09122025_05_10_04_9635.jpg
/home/nano/Desktop/images/09122025/05/09/image_09122025_05_09_55_10644.jpg
/home/nano/Desktop/images/09122025/05/09/image_09122025_05_09_44_9640.jpg
/home/nano/Desktop/images/09122025/05/08/image_09122025_05_08_44_9639.jpg
/home/nano/Desktop/images/09122025/05/07/image_09122025_05_08_05_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":["1401223362","1401223355","1401223358","1401223352","1401223360","1401223354"],"photo_ids_order":["1401223352","1401223354","1401223355","1401223358","1401223360","1401223362"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c28e60756bcf449094c941d93fb960a9.jpg","text":"TemporaryFile(/tmp/multipartBody3339477021232766453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813838110,"filename":"image_09122025_05_08_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2fbc25a189fd4109ff5b5fd1a1df1584.jpg","text":"TemporaryFile(/tmp/multipartBody3232212247047771849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813838110,"filename":"image_09122025_05_09_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff65fcf2b0fcf6b6b5367a32b536462d.jpg","text":"TemporaryFile(/tmp/multipartBody2716048441867227773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813838110,"filename":"image_09122025_05_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/12/27/bfc41cfc67e9ab26ac417a018a3ea2dd.jpg","text":"TemporaryFile(/tmp/multipartBody7402653003207084275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813838110,"filename":"image_09122025_05_10_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8652f2a570aa614402977febc562a0d4.jpg","text":"TemporaryFile(/tmp/multipartBody1505581817696607582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813838110,"filename":"image_09122025_05_08_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/12/27/153ea2c61b20dd421bad0eca3db9b2a6.jpg","text":"TemporaryFile(/tmp/multipartBody7230487325486414826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813838110,"filename":"image_09122025_05_10_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223355","file1":"1401223354","file0":"1401223352","file4":"1401223360","file5":"1401223362","file3":"1401223358"},"map_files_photo_id_array":[{"photo_id":"1401223362","filename":"file5"},{"photo_id":"1401223355","filename":"file2"},{"photo_id":"1401223360","filename":"file4"},{"photo_id":"1401223354","filename":"file1"},{"photo_id":"1401223352","filename":"file0"},{"photo_id":"1401223358","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223362":["hashtag1","hashtag2"]},{"1401223355":["hashtag1","hashtag2"]},{"1401223358":["hashtag1","hashtag2"]},{"1401223352":["hashtag1","hashtag2"]},{"1401223360":["hashtag1","hashtag2"]},{"1401223354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223362, 1401223355, 1401223358, 1401223352, 1401223360, 1401223354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28796195983887 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:37:03.239945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/07/image_09122025_05_07_44_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/07/image_09122025_05_07_14_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/05/06/image_09122025_05_07_05_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_45_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_24_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/07/image_09122025_05_07_44_9638.jpg', '/home/nano/Desktop/images/09122025/05/07/image_09122025_05_07_14_9641.jpg', '/home/nano/Desktop/images/09122025/05/06/image_09122025_05_07_05_10658.jpg', '/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_54_9632.jpg', '/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_45_9633.jpg', '/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_24_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/07/image_09122025_05_07_44_9638.jpg
/home/nano/Desktop/images/09122025/05/07/image_09122025_05_07_14_9641.jpg
/home/nano/Desktop/images/09122025/05/06/image_09122025_05_07_05_10658.jpg
/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_54_9632.jpg
/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_45_9633.jpg
/home/nano/Desktop/images/09122025/05/06/image_09122025_05_06_24_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":["1401223380","1401223383","1401223376","1401223378","1401223372","1401223375"],"photo_ids_order":["1401223372","1401223375","1401223376","1401223378","1401223380","1401223383"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/919995f7368b3ebdc21401645fc2db19.jpg","text":"TemporaryFile(/tmp/multipartBody9107032805675541851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813884138,"filename":"image_09122025_05_06_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6647f91e24ad41a2d547fb10762c8743.jpg","text":"TemporaryFile(/tmp/multipartBody3262367270519037990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813884138,"filename":"image_09122025_05_06_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/12/27/f774d66911da7d25b644921166920f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3920464099838346048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813884138,"filename":"image_09122025_05_07_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59e5ce8f514d52bbafadcb8a9bcdac08.jpg","text":"TemporaryFile(/tmp/multipartBody1048694160372091699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813884138,"filename":"image_09122025_05_06_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/12/27/474aca8c6a3d739fe64f652202c5c80d.jpg","text":"TemporaryFile(/tmp/multipartBody1075824282275083376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813884138,"filename":"image_09122025_05_07_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/12/27/806e4b001f5c249879e656a09a476055.jpg","text":"TemporaryFile(/tmp/multipartBody5124723030497742869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813884138,"filename":"image_09122025_05_07_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223376","file1":"1401223375","file0":"1401223372","file4":"1401223380","file5":"1401223383","file3":"1401223378"},"map_files_photo_id_array":[{"photo_id":"1401223383","filename":"file5"},{"photo_id":"1401223376","filename":"file2"},{"photo_id":"1401223380","filename":"file4"},{"photo_id":"1401223375","filename":"file1"},{"photo_id":"1401223372","filename":"file0"},{"photo_id":"1401223378","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223380":["hashtag1","hashtag2"]},{"1401223383":["hashtag1","hashtag2"]},{"1401223376":["hashtag1","hashtag2"]},{"1401223378":["hashtag1","hashtag2"]},{"1401223372":["hashtag1","hashtag2"]},{"1401223375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223380, 1401223383, 1401223376, 1401223378, 1401223372, 1401223375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96989917755127 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:37:47.414251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_45_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_24_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/05/04/image_09122025_05_05_05_10667.jpg', 2), ('/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_54_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_45_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_54_9632.jpg', '/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_45_9636.jpg', '/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_24_9638.jpg', '/home/nano/Desktop/images/09122025/05/04/image_09122025_05_05_05_10667.jpg', '/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_54_9636.jpg', '/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_45_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_54_9632.jpg
/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_45_9636.jpg
/home/nano/Desktop/images/09122025/05/05/image_09122025_05_05_24_9638.jpg
/home/nano/Desktop/images/09122025/05/04/image_09122025_05_05_05_10667.jpg
/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_54_9636.jpg
/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_45_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":["1401223395","1401223392","1401223394","1401223397","1401223399","1401223393"],"photo_ids_order":["1401223392","1401223393","1401223394","1401223395","1401223397","1401223399"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3fc6b233538fbd2e707029cfd01c873b.jpg","text":"TemporaryFile(/tmp/multipartBody8902188478302832706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813928231,"filename":"image_09122025_05_05_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22c5e7d3ec6334f2727af93f65339f38.jpg","text":"TemporaryFile(/tmp/multipartBody5635968867853755493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813928231,"filename":"image_09122025_05_05_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/12/27/635520b80e31aeee139e8f3285ea04ef.jpg","text":"TemporaryFile(/tmp/multipartBody1665573744884375434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813928231,"filename":"image_09122025_05_05_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/12/27/54999704fa016f603d8dada3fdf85a80.jpg","text":"TemporaryFile(/tmp/multipartBody7502513380066822152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813928231,"filename":"image_09122025_05_04_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/12/27/628affc47a523cb6d59bdb5d601620a3.jpg","text":"TemporaryFile(/tmp/multipartBody4608406368494101285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813928231,"filename":"image_09122025_05_04_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cec2e1486a765b09dffcdd3f79299813.jpg","text":"TemporaryFile(/tmp/multipartBody1212601053455401255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813928231,"filename":"image_09122025_05_05_45_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223394","file1":"1401223393","file0":"1401223392","file4":"1401223397","file5":"1401223399","file3":"1401223395"},"map_files_photo_id_array":[{"photo_id":"1401223399","filename":"file5"},{"photo_id":"1401223394","filename":"file2"},{"photo_id":"1401223397","filename":"file4"},{"photo_id":"1401223393","filename":"file1"},{"photo_id":"1401223392","filename":"file0"},{"photo_id":"1401223395","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223395":["hashtag1","hashtag2"]},{"1401223392":["hashtag1","hashtag2"]},{"1401223394":["hashtag1","hashtag2"]},{"1401223397":["hashtag1","hashtag2"]},{"1401223399":["hashtag1","hashtag2"]},{"1401223393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223395, 1401223392, 1401223394, 1401223397, 1401223399, 1401223393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.576797008514404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:38:32.527198
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/05/03/image_09122025_05_04_04_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/05/03/image_09122025_05_03_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/05/03/image_09122025_05_03_15_10664.jpg', 2), ('/home/nano/Desktop/images/09122025/05/02/image_09122025_05_03_04_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_15_10660.jpg', '/home/nano/Desktop/images/09122025/05/03/image_09122025_05_04_04_9639.jpg', '/home/nano/Desktop/images/09122025/05/03/image_09122025_05_03_55_9633.jpg', '/home/nano/Desktop/images/09122025/05/03/image_09122025_05_03_15_10664.jpg', '/home/nano/Desktop/images/09122025/05/02/image_09122025_05_03_04_9645.jpg', '/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/04/image_09122025_05_04_15_10660.jpg
/home/nano/Desktop/images/09122025/05/03/image_09122025_05_04_04_9639.jpg
/home/nano/Desktop/images/09122025/05/03/image_09122025_05_03_55_9633.jpg
/home/nano/Desktop/images/09122025/05/03/image_09122025_05_03_15_10664.jpg
/home/nano/Desktop/images/09122025/05/02/image_09122025_05_03_04_9645.jpg
/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_55_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":["1401223414","1401223411","1401223407","1401223412","1401223415","1401223409"],"photo_ids_order":["1401223407","1401223409","1401223411","1401223412","1401223414","1401223415"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04f2e039166dfc3c69054ffbdb6b359a.jpg","text":"TemporaryFile(/tmp/multipartBody8801457813948222387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813973372,"filename":"image_09122025_05_03_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/12/27/379ec95c482cdaeb4d73379798a4e2bf.jpg","text":"TemporaryFile(/tmp/multipartBody6083597068552034668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813973372,"filename":"image_09122025_05_03_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b64d4ce12cb5dea5872578a929d7fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2703244372333344470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813973372,"filename":"image_09122025_05_04_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5aa1c5ddf5356bbee4a7532bef5f07ea.jpg","text":"TemporaryFile(/tmp/multipartBody3813483263879794329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813973372,"filename":"image_09122025_05_03_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85c7a258f42afe94120590c081e15196.jpg","text":"TemporaryFile(/tmp/multipartBody1791925218609640542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813973372,"filename":"image_09122025_05_02_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d78e7a67e7228a50f6c8b932d8d44cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2670060966839808508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766813973372,"filename":"image_09122025_05_04_04_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223411","file1":"1401223409","file0":"1401223407","file4":"1401223414","file5":"1401223415","file3":"1401223412"},"map_files_photo_id_array":[{"photo_id":"1401223415","filename":"file5"},{"photo_id":"1401223411","filename":"file2"},{"photo_id":"1401223414","filename":"file4"},{"photo_id":"1401223409","filename":"file1"},{"photo_id":"1401223407","filename":"file0"},{"photo_id":"1401223412","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223414":["hashtag1","hashtag2"]},{"1401223411":["hashtag1","hashtag2"]},{"1401223407":["hashtag1","hashtag2"]},{"1401223412":["hashtag1","hashtag2"]},{"1401223415":["hashtag1","hashtag2"]},{"1401223409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223414, 1401223411, 1401223407, 1401223412, 1401223415, 1401223409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25593161582947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:39:17.648140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/05/01/image_09122025_05_02_04_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_25_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_45_10642.jpg', '/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_14_9650.jpg', '/home/nano/Desktop/images/09122025/05/01/image_09122025_05_02_04_9644.jpg', '/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_55_10642.jpg', '/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_35_9634.jpg', '/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_25_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_45_10642.jpg
/home/nano/Desktop/images/09122025/05/02/image_09122025_05_02_14_9650.jpg
/home/nano/Desktop/images/09122025/05/01/image_09122025_05_02_04_9644.jpg
/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_55_10642.jpg
/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_35_9634.jpg
/home/nano/Desktop/images/09122025/05/01/image_09122025_05_01_25_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":["1401223429","1401223426","1401223428","1401223419","1401223424","1401223421"],"photo_ids_order":["1401223419","1401223421","1401223424","1401223426","1401223428","1401223429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72fa4ef3a74430b86e89943f6b0b8d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7156254246537908980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814018469,"filename":"image_09122025_05_01_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecd3de397bc190363bec6628b2bf9db1.jpg","text":"TemporaryFile(/tmp/multipartBody4362548590243005975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814018469,"filename":"image_09122025_05_01_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30a8e922c6f6c81ea101715a22f83b09.jpg","text":"TemporaryFile(/tmp/multipartBody6287650326219474289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814018469,"filename":"image_09122025_05_01_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dc6c2b717316714127137c7b1b6daeb.jpg","text":"TemporaryFile(/tmp/multipartBody867242950721719640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814018469,"filename":"image_09122025_05_02_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b8d0b1b19166520bd1f4b3f95b53856.jpg","text":"TemporaryFile(/tmp/multipartBody2751812132379272293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814018469,"filename":"image_09122025_05_02_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/12/27/1469cd1d8ccafdc24d7fc03c561acabb.jpg","text":"TemporaryFile(/tmp/multipartBody8319780636946447788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814018469,"filename":"image_09122025_05_02_14_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223424","file1":"1401223421","file0":"1401223419","file4":"1401223428","file5":"1401223429","file3":"1401223426"},"map_files_photo_id_array":[{"photo_id":"1401223429","filename":"file5"},{"photo_id":"1401223424","filename":"file2"},{"photo_id":"1401223428","filename":"file4"},{"photo_id":"1401223421","filename":"file1"},{"photo_id":"1401223419","filename":"file0"},{"photo_id":"1401223426","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223429":["hashtag1","hashtag2"]},{"1401223426":["hashtag1","hashtag2"]},{"1401223428":["hashtag1","hashtag2"]},{"1401223419":["hashtag1","hashtag2"]},{"1401223424":["hashtag1","hashtag2"]},{"1401223421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223429, 1401223426, 1401223428, 1401223419, 1401223424, 1401223421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84948492050171 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:40:02.315767
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/05/00/image_09122025_05_00_55_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/05/00/image_09122025_05_00_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/59/image_09122025_05_00_05_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_24_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/05/00/image_09122025_05_00_55_10646.jpg', '/home/nano/Desktop/images/09122025/05/00/image_09122025_05_00_44_9636.jpg', '/home/nano/Desktop/images/09122025/04/59/image_09122025_05_00_05_9641.jpg', '/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_55_10643.jpg', '/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_44_9636.jpg', '/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_24_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/05/00/image_09122025_05_00_55_10646.jpg
/home/nano/Desktop/images/09122025/05/00/image_09122025_05_00_44_9636.jpg
/home/nano/Desktop/images/09122025/04/59/image_09122025_05_00_05_9641.jpg
/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_55_10643.jpg
/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_44_9636.jpg
/home/nano/Desktop/images/09122025/04/59/image_09122025_04_59_24_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":["1401223435","1401223443","1401223440","1401223437","1401223439","1401223433"],"photo_ids_order":["1401223433","1401223435","1401223437","1401223439","1401223440","1401223443"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2187ef271767923a43271e6412d19589.jpg","text":"TemporaryFile(/tmp/multipartBody4907282588267798108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814063240,"filename":"image_09122025_05_00_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/12/27/891d018bfe78df0fc8988f1336cc32d4.jpg","text":"TemporaryFile(/tmp/multipartBody2244213355323053768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814063240,"filename":"image_09122025_04_59_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/12/27/916ead5888495edef67b4c50769cb52e.jpg","text":"TemporaryFile(/tmp/multipartBody6998671008343408503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814063240,"filename":"image_09122025_04_59_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/12/27/5765397b87694fd4563e8f5555c9514c.jpg","text":"TemporaryFile(/tmp/multipartBody6667408947327257307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814063240,"filename":"image_09122025_05_00_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adc465dcff4189e16600babf0129bfe6.jpg","text":"TemporaryFile(/tmp/multipartBody357177011689252154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814063240,"filename":"image_09122025_04_59_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0eefb25a4b580593ca6b501fe8db8ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5020791373416075250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814063240,"filename":"image_09122025_05_00_55_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223437","file1":"1401223435","file0":"1401223433","file4":"1401223440","file5":"1401223443","file3":"1401223439"},"map_files_photo_id_array":[{"photo_id":"1401223443","filename":"file5"},{"photo_id":"1401223437","filename":"file2"},{"photo_id":"1401223440","filename":"file4"},{"photo_id":"1401223435","filename":"file1"},{"photo_id":"1401223433","filename":"file0"},{"photo_id":"1401223439","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223435":["hashtag1","hashtag2"]},{"1401223443":["hashtag1","hashtag2"]},{"1401223440":["hashtag1","hashtag2"]},{"1401223437":["hashtag1","hashtag2"]},{"1401223439":["hashtag1","hashtag2"]},{"1401223433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223435, 1401223443, 1401223440, 1401223437, 1401223439, 1401223433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10199761390686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:40:46.896293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/58/image_09122025_04_59_05_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_15_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/04/57/image_09122025_04_57_15_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/04/56/image_09122025_04_57_04_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/58/image_09122025_04_59_05_10665.jpg', '/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_54_9633.jpg', '/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_24_9634.jpg', '/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_15_9647.jpg', '/home/nano/Desktop/images/09122025/04/57/image_09122025_04_57_15_10663.jpg', '/home/nano/Desktop/images/09122025/04/56/image_09122025_04_57_04_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/58/image_09122025_04_59_05_10665.jpg
/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_54_9633.jpg
/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_24_9634.jpg
/home/nano/Desktop/images/09122025/04/58/image_09122025_04_58_15_9647.jpg
/home/nano/Desktop/images/09122025/04/57/image_09122025_04_57_15_10663.jpg
/home/nano/Desktop/images/09122025/04/56/image_09122025_04_57_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":["1401223462","1401223456","1401223455","1401223454","1401223457","1401223459"],"photo_ids_order":["1401223454","1401223455","1401223456","1401223457","1401223459","1401223462"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73bbe6752158cf897a9ebc8d4c7f1d57.jpg","text":"TemporaryFile(/tmp/multipartBody2534411912097092872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814107730,"filename":"image_09122025_04_57_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/12/27/999ecef0c6f6fcab03d329615b63ebb9.jpg","text":"TemporaryFile(/tmp/multipartBody6742528092138918399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814107730,"filename":"image_09122025_04_58_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/12/27/fb0c3a3b48653f9adb357b5944da951e.jpg","text":"TemporaryFile(/tmp/multipartBody6575644596608089378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814107730,"filename":"image_09122025_04_58_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/12/27/9ada381af6f06a351d2b5f7bc21fc7cb.jpg","text":"TemporaryFile(/tmp/multipartBody984250747002406987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814107730,"filename":"image_09122025_04_59_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/316cb9667a3a2c963dd24099b76716c8.jpg","text":"TemporaryFile(/tmp/multipartBody576709090436589624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814107730,"filename":"image_09122025_04_58_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00a6027040451fd102a2b4a6ec467d83.jpg","text":"TemporaryFile(/tmp/multipartBody4055260667856036698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814107730,"filename":"image_09122025_04_57_15_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223456","file1":"1401223455","file0":"1401223454","file4":"1401223459","file5":"1401223462","file3":"1401223457"},"map_files_photo_id_array":[{"photo_id":"1401223462","filename":"file5"},{"photo_id":"1401223456","filename":"file2"},{"photo_id":"1401223459","filename":"file4"},{"photo_id":"1401223455","filename":"file1"},{"photo_id":"1401223454","filename":"file0"},{"photo_id":"1401223457","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223462":["hashtag1","hashtag2"]},{"1401223456":["hashtag1","hashtag2"]},{"1401223455":["hashtag1","hashtag2"]},{"1401223454":["hashtag1","hashtag2"]},{"1401223457":["hashtag1","hashtag2"]},{"1401223459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223462, 1401223456, 1401223455, 1401223454, 1401223457, 1401223459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97547435760498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:41:32.042147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_54_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_34_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/04/55/image_09122025_04_55_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/04/55/image_09122025_04_55_25_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/54/image_09122025_04_55_04_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_54_9650.jpg', '/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_34_9651.jpg', '/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_15_10659.jpg', '/home/nano/Desktop/images/09122025/04/55/image_09122025_04_55_45_10644.jpg', '/home/nano/Desktop/images/09122025/04/55/image_09122025_04_55_25_9635.jpg', '/home/nano/Desktop/images/09122025/04/54/image_09122025_04_55_04_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_54_9650.jpg
/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_34_9651.jpg
/home/nano/Desktop/images/09122025/04/56/image_09122025_04_56_15_10659.jpg
/home/nano/Desktop/images/09122025/04/55/image_09122025_04_55_45_10644.jpg
/home/nano/Desktop/images/09122025/04/55/image_09122025_04_55_25_9635.jpg
/home/nano/Desktop/images/09122025/04/54/image_09122025_04_55_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":["1401223473","1401223467","1401223469","1401223471","1401223474","1401223468"],"photo_ids_order":["1401223467","1401223468","1401223469","1401223471","1401223473","1401223474"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3147a459be26d3a59f74875b57fffd9.jpg","text":"TemporaryFile(/tmp/multipartBody3584479417938585028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814152884,"filename":"image_09122025_04_55_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4a453fdf204e673f4df72a1d48e02d9.jpg","text":"TemporaryFile(/tmp/multipartBody5858506772907168260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814152884,"filename":"image_09122025_04_56_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/12/27/5695af8f84c8c5f98efd5f46c2e4f327.jpg","text":"TemporaryFile(/tmp/multipartBody3038398011128356256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814152884,"filename":"image_09122025_04_56_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f99fc2b94d2cd8314b1c98d6821db797.jpg","text":"TemporaryFile(/tmp/multipartBody1804621709633459122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814152884,"filename":"image_09122025_04_55_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/840e36c7bf8104a66d849874cee0659b.jpg","text":"TemporaryFile(/tmp/multipartBody3275418564757265037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814152884,"filename":"image_09122025_04_55_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/12/27/ddd92e516df22c9947353dbc0a9d1120.jpg","text":"TemporaryFile(/tmp/multipartBody3869689123881516722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814152884,"filename":"image_09122025_04_56_34_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223469","file1":"1401223468","file0":"1401223467","file4":"1401223473","file5":"1401223474","file3":"1401223471"},"map_files_photo_id_array":[{"photo_id":"1401223474","filename":"file5"},{"photo_id":"1401223469","filename":"file2"},{"photo_id":"1401223473","filename":"file4"},{"photo_id":"1401223468","filename":"file1"},{"photo_id":"1401223467","filename":"file0"},{"photo_id":"1401223471","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223473":["hashtag1","hashtag2"]},{"1401223467":["hashtag1","hashtag2"]},{"1401223469":["hashtag1","hashtag2"]},{"1401223471":["hashtag1","hashtag2"]},{"1401223474":["hashtag1","hashtag2"]},{"1401223468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223473, 1401223467, 1401223469, 1401223471, 1401223474, 1401223468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.478437185287476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:42:17.105394
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/06/42/image_27122025_06_42_55_10518.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/06/42/image_27122025_06_42_55_10518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/06/42/image_27122025_06_42_55_10518.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401223479"],"photo_id":"1401223479","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4dd226a9238c7914fba2649cdb48ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2161602908705938116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814197348,"filename":"image_27122025_06_42_55_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401223479"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401223479"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.010246515274048 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:42:32.183422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/54/image_09122025_04_54_55_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/54/image_09122025_04_54_15_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/04/53/image_09122025_04_53_55_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_35_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/54/image_09122025_04_54_55_9650.jpg', '/home/nano/Desktop/images/09122025/04/54/image_09122025_04_54_15_10662.jpg', '/home/nano/Desktop/images/09122025/04/53/image_09122025_04_53_55_10647.jpg', '/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_35_9631.jpg', '/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_25_10643.jpg', '/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_14_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/54/image_09122025_04_54_55_9650.jpg
/home/nano/Desktop/images/09122025/04/54/image_09122025_04_54_15_10662.jpg
/home/nano/Desktop/images/09122025/04/53/image_09122025_04_53_55_10647.jpg
/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_35_9631.jpg
/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_25_10643.jpg
/home/nano/Desktop/images/09122025/04/52/image_09122025_04_52_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":["1401223488","1401223490","1401223484","1401223487","1401223486","1401223489"],"photo_ids_order":["1401223484","1401223486","1401223487","1401223488","1401223489","1401223490"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9a53dbb875797b0d268088b9f39f50e.jpg","text":"TemporaryFile(/tmp/multipartBody3448281392635951180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814213007,"filename":"image_09122025_04_52_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c81a5fbf3cc13dce3a93703e649c2521.jpg","text":"TemporaryFile(/tmp/multipartBody4030642956824521080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814213007,"filename":"image_09122025_04_52_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/12/27/a9c2d9847ca3381ca1ae9c616adfecdc.jpg","text":"TemporaryFile(/tmp/multipartBody6425824301691312629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814213007,"filename":"image_09122025_04_54_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb37e718541cb68fdce940877c6e506a.jpg","text":"TemporaryFile(/tmp/multipartBody1893937531912085905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814213007,"filename":"image_09122025_04_53_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52c0c9ca7ff841a34f703ad05947bb53.jpg","text":"TemporaryFile(/tmp/multipartBody2133096003726561490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814213007,"filename":"image_09122025_04_54_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/902a97ba29af1ababdd5253588920f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7549016953201577643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814213007,"filename":"image_09122025_04_52_25_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223487","file1":"1401223486","file0":"1401223484","file4":"1401223489","file5":"1401223490","file3":"1401223488"},"map_files_photo_id_array":[{"photo_id":"1401223490","filename":"file5"},{"photo_id":"1401223487","filename":"file2"},{"photo_id":"1401223489","filename":"file4"},{"photo_id":"1401223486","filename":"file1"},{"photo_id":"1401223484","filename":"file0"},{"photo_id":"1401223488","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223488":["hashtag1","hashtag2"]},{"1401223490":["hashtag1","hashtag2"]},{"1401223484":["hashtag1","hashtag2"]},{"1401223487":["hashtag1","hashtag2"]},{"1401223486":["hashtag1","hashtag2"]},{"1401223489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223488, 1401223490, 1401223484, 1401223487, 1401223486, 1401223489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33794283866882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:43:17.205172
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/51/image_09122025_04_51_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/04/51/image_09122025_04_51_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_54_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_24_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/51/image_09122025_04_51_55_10644.jpg', '/home/nano/Desktop/images/09122025/04/51/image_09122025_04_51_35_10643.jpg', '/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_54_9648.jpg', '/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_44_9633.jpg', '/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_35_10645.jpg', '/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/51/image_09122025_04_51_55_10644.jpg
/home/nano/Desktop/images/09122025/04/51/image_09122025_04_51_35_10643.jpg
/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_54_9648.jpg
/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_44_9633.jpg
/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_35_10645.jpg
/home/nano/Desktop/images/09122025/04/50/image_09122025_04_50_24_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":["1401223494","1401223497","1401223500","1401223499","1401223495","1401223498"],"photo_ids_order":["1401223494","1401223495","1401223497","1401223498","1401223499","1401223500"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4875afa9e86e5625aaae744576b9bd93.jpg","text":"TemporaryFile(/tmp/multipartBody871595746760637152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814258035,"filename":"image_09122025_04_51_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fcef08806887e14535e99dfa1cbe61f3.jpg","text":"TemporaryFile(/tmp/multipartBody1048172566076793718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814258035,"filename":"image_09122025_04_50_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/12/27/a6e4f1769300f36223871cd789983207.jpg","text":"TemporaryFile(/tmp/multipartBody1954404503399080750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814258035,"filename":"image_09122025_04_50_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/12/27/ce4c1005057004fedf54080e13c8cc92.jpg","text":"TemporaryFile(/tmp/multipartBody3971556781921645985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814258035,"filename":"image_09122025_04_50_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20ea08acbb5890610dd62e3e976fa8ae.jpg","text":"TemporaryFile(/tmp/multipartBody349937137594283156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814258035,"filename":"image_09122025_04_51_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78b15dde8a71dc0eb4ace51425a30fa2.jpg","text":"TemporaryFile(/tmp/multipartBody491271889777433262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814258035,"filename":"image_09122025_04_50_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223497","file1":"1401223495","file0":"1401223494","file4":"1401223499","file5":"1401223500","file3":"1401223498"},"map_files_photo_id_array":[{"photo_id":"1401223500","filename":"file5"},{"photo_id":"1401223497","filename":"file2"},{"photo_id":"1401223499","filename":"file4"},{"photo_id":"1401223495","filename":"file1"},{"photo_id":"1401223494","filename":"file0"},{"photo_id":"1401223498","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223494":["hashtag1","hashtag2"]},{"1401223497":["hashtag1","hashtag2"]},{"1401223500":["hashtag1","hashtag2"]},{"1401223499":["hashtag1","hashtag2"]},{"1401223495":["hashtag1","hashtag2"]},{"1401223498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223494, 1401223497, 1401223500, 1401223499, 1401223495, 1401223498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37284541130066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:44:03.116441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/49/image_09122025_04_50_05_10655.jpg', 2), ('/home/nano/Desktop/images/09122025/04/49/image_09122025_04_49_54_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/49/image_09122025_04_49_15_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/04/48/image_09122025_04_48_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_55_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_45_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/49/image_09122025_04_50_05_10655.jpg', '/home/nano/Desktop/images/09122025/04/49/image_09122025_04_49_54_9650.jpg', '/home/nano/Desktop/images/09122025/04/49/image_09122025_04_49_15_9640.jpg', '/home/nano/Desktop/images/09122025/04/48/image_09122025_04_48_34_9635.jpg', '/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_55_9632.jpg', '/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_45_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/49/image_09122025_04_50_05_10655.jpg
/home/nano/Desktop/images/09122025/04/49/image_09122025_04_49_54_9650.jpg
/home/nano/Desktop/images/09122025/04/49/image_09122025_04_49_15_9640.jpg
/home/nano/Desktop/images/09122025/04/48/image_09122025_04_48_34_9635.jpg
/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_55_9632.jpg
/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_45_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":["1401223510","1401223504","1401223507","1401223512","1401223506","1401223514"],"photo_ids_order":["1401223504","1401223506","1401223507","1401223510","1401223512","1401223514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d8c3a36966c6a89a5cabda2ee6780a1.jpg","text":"TemporaryFile(/tmp/multipartBody699804199019063364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814304035,"filename":"image_09122025_04_48_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/12/27/219b2cc464d1b04d71e12a17c27abf6c.jpg","text":"TemporaryFile(/tmp/multipartBody1867204510895445476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814304035,"filename":"image_09122025_04_50_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbcfd6e424ef8b756e7429b550742df9.jpg","text":"TemporaryFile(/tmp/multipartBody7033550400594585441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814304035,"filename":"image_09122025_04_49_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02fe47185544d6762d3ceb925cd61507.jpg","text":"TemporaryFile(/tmp/multipartBody265729901128188775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814304035,"filename":"image_09122025_04_47_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e99454577321b12375da7bcb948110fa.jpg","text":"TemporaryFile(/tmp/multipartBody3691306470859321877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814304035,"filename":"image_09122025_04_49_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/12/27/88333b2d81e404a94d8bab5b6bafe12a.jpg","text":"TemporaryFile(/tmp/multipartBody2048277827423930219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814304035,"filename":"image_09122025_04_47_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223507","file1":"1401223506","file0":"1401223504","file4":"1401223512","file5":"1401223514","file3":"1401223510"},"map_files_photo_id_array":[{"photo_id":"1401223514","filename":"file5"},{"photo_id":"1401223507","filename":"file2"},{"photo_id":"1401223512","filename":"file4"},{"photo_id":"1401223506","filename":"file1"},{"photo_id":"1401223504","filename":"file0"},{"photo_id":"1401223510","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223510":["hashtag1","hashtag2"]},{"1401223504":["hashtag1","hashtag2"]},{"1401223507":["hashtag1","hashtag2"]},{"1401223512":["hashtag1","hashtag2"]},{"1401223506":["hashtag1","hashtag2"]},{"1401223514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223510, 1401223504, 1401223507, 1401223512, 1401223506, 1401223514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.958595275878906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:44:47.280206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_55_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_14_9673.jpg', 2), ('/home/nano/Desktop/images/09122025/04/45/image_09122025_04_46_04_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/45/image_09122025_04_45_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_34_9634.jpg', '/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_55_9632.jpg', '/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_25_10643.jpg', '/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_14_9673.jpg', '/home/nano/Desktop/images/09122025/04/45/image_09122025_04_46_04_9649.jpg', '/home/nano/Desktop/images/09122025/04/45/image_09122025_04_45_44_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/47/image_09122025_04_47_34_9634.jpg
/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_55_9632.jpg
/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_25_10643.jpg
/home/nano/Desktop/images/09122025/04/46/image_09122025_04_46_14_9673.jpg
/home/nano/Desktop/images/09122025/04/45/image_09122025_04_46_04_9649.jpg
/home/nano/Desktop/images/09122025/04/45/image_09122025_04_45_44_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":["1401223528","1401223522","1401223521","1401223523","1401223526","1401223520"],"photo_ids_order":["1401223520","1401223521","1401223522","1401223523","1401223526","1401223528"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64b50f2a913521a5fe9ccb92a5bd4801.jpg","text":"TemporaryFile(/tmp/multipartBody6065168737102547431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814348125,"filename":"image_09122025_04_45_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/12/27/82ea64ab682a8486862f98206af92470.jpg","text":"TemporaryFile(/tmp/multipartBody7955293486783491363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814348125,"filename":"image_09122025_04_46_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06df874f6477d69db368a62cbd892469.jpg","text":"TemporaryFile(/tmp/multipartBody2885175910227891525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814348125,"filename":"image_09122025_04_46_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebbbd3f6b56d6cc41f0c1c41dc8c26f6.jpg","text":"TemporaryFile(/tmp/multipartBody8995096020239971675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814348125,"filename":"image_09122025_04_46_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/12/27/ce3546f9c4f4a3d34e149cedf8a4fe1e.jpg","text":"TemporaryFile(/tmp/multipartBody3999455379751218423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814348125,"filename":"image_09122025_04_46_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/12/27/b93fab85f946829e13553466ce180164.jpg","text":"TemporaryFile(/tmp/multipartBody8022457768844247031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814348125,"filename":"image_09122025_04_47_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223522","file1":"1401223521","file0":"1401223520","file4":"1401223526","file5":"1401223528","file3":"1401223523"},"map_files_photo_id_array":[{"photo_id":"1401223528","filename":"file5"},{"photo_id":"1401223522","filename":"file2"},{"photo_id":"1401223526","filename":"file4"},{"photo_id":"1401223521","filename":"file1"},{"photo_id":"1401223520","filename":"file0"},{"photo_id":"1401223523","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223528":["hashtag1","hashtag2"]},{"1401223522":["hashtag1","hashtag2"]},{"1401223521":["hashtag1","hashtag2"]},{"1401223523":["hashtag1","hashtag2"]},{"1401223526":["hashtag1","hashtag2"]},{"1401223520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223528, 1401223522, 1401223521, 1401223523, 1401223526, 1401223520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87644934654236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:45:32.392825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/45/image_09122025_04_45_14_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/04/43/image_09122025_04_44_05_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_55_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_24_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/45/image_09122025_04_45_14_9652.jpg', '/home/nano/Desktop/images/09122025/04/43/image_09122025_04_44_05_9651.jpg', '/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_55_10646.jpg', '/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_44_9632.jpg', '/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_35_10645.jpg', '/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_24_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/45/image_09122025_04_45_14_9652.jpg
/home/nano/Desktop/images/09122025/04/43/image_09122025_04_44_05_9651.jpg
/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_55_10646.jpg
/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_44_9632.jpg
/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_35_10645.jpg
/home/nano/Desktop/images/09122025/04/43/image_09122025_04_43_24_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":["1401223534","1401223537","1401223542","1401223539","1401223536","1401223541"],"photo_ids_order":["1401223534","1401223536","1401223537","1401223539","1401223541","1401223542"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b68b54c0e709bb27b9bc6438e85722e.jpg","text":"TemporaryFile(/tmp/multipartBody8476179780192980366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814393206,"filename":"image_09122025_04_45_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/12/27/b1e8e78c1c908a2997e5bbcb7f0edd9f.jpg","text":"TemporaryFile(/tmp/multipartBody8235570273069394884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814393206,"filename":"image_09122025_04_43_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91d2f93f02f0ad4a1d82786a2a65516a.jpg","text":"TemporaryFile(/tmp/multipartBody8705897552356441499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814393206,"filename":"image_09122025_04_43_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/12/27/2a0b28cb2bdef2bb32305bfe7fb197fc.jpg","text":"TemporaryFile(/tmp/multipartBody8962780884251451065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814393206,"filename":"image_09122025_04_43_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/12/27/1122a7087c7c3b40cc886876cfc3bb16.jpg","text":"TemporaryFile(/tmp/multipartBody2398683404147332895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814393206,"filename":"image_09122025_04_44_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/077131d7b4bab15036bf0f5bb6ebd46b.jpg","text":"TemporaryFile(/tmp/multipartBody4349719389036462759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814393206,"filename":"image_09122025_04_43_35_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223537","file1":"1401223536","file0":"1401223534","file4":"1401223541","file5":"1401223542","file3":"1401223539"},"map_files_photo_id_array":[{"photo_id":"1401223542","filename":"file5"},{"photo_id":"1401223537","filename":"file2"},{"photo_id":"1401223541","filename":"file4"},{"photo_id":"1401223536","filename":"file1"},{"photo_id":"1401223534","filename":"file0"},{"photo_id":"1401223539","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223534":["hashtag1","hashtag2"]},{"1401223537":["hashtag1","hashtag2"]},{"1401223542":["hashtag1","hashtag2"]},{"1401223539":["hashtag1","hashtag2"]},{"1401223536":["hashtag1","hashtag2"]},{"1401223541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223534, 1401223537, 1401223542, 1401223539, 1401223536, 1401223541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82140851020813 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:46:17.491951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_45_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_35_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_15_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/04/41/image_09122025_04_42_05_10677.jpg', 2), ('/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_54_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_35_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_45_9639.jpg', '/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_35_10663.jpg', '/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_15_9651.jpg', '/home/nano/Desktop/images/09122025/04/41/image_09122025_04_42_05_10677.jpg', '/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_54_9637.jpg', '/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_35_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_45_9639.jpg
/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_35_10663.jpg
/home/nano/Desktop/images/09122025/04/42/image_09122025_04_42_15_9651.jpg
/home/nano/Desktop/images/09122025/04/41/image_09122025_04_42_05_10677.jpg
/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_54_9637.jpg
/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_35_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":["1401223555","1401223549","1401223557","1401223551","1401223553","1401223547"],"photo_ids_order":["1401223547","1401223549","1401223551","1401223553","1401223555","1401223557"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/835bbbdac9b1ecfc083675133f39b232.jpg","text":"TemporaryFile(/tmp/multipartBody2289182234057884774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814438317,"filename":"image_09122025_04_41_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/12/27/9c710d65b4bc0647ed2003be551d7d4b.jpg","text":"TemporaryFile(/tmp/multipartBody1118547330042256703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814438317,"filename":"image_09122025_04_42_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2db659b69a5e92870b08eaefdc79fe96.jpg","text":"TemporaryFile(/tmp/multipartBody4514504920779585209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814438317,"filename":"image_09122025_04_41_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98decd9b5dfff0b4237576e0c2c4c1cb.jpg","text":"TemporaryFile(/tmp/multipartBody867889526496940629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814438317,"filename":"image_09122025_04_42_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cedd96260a6c5d03a0a6927b9b8f2ae7.jpg","text":"TemporaryFile(/tmp/multipartBody6126347207444197835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814438317,"filename":"image_09122025_04_42_05_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/719e653181b7e00167c27f31ce917973.jpg","text":"TemporaryFile(/tmp/multipartBody4008962820147310694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814438317,"filename":"image_09122025_04_42_45_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223551","file1":"1401223549","file0":"1401223547","file4":"1401223555","file5":"1401223557","file3":"1401223553"},"map_files_photo_id_array":[{"photo_id":"1401223557","filename":"file5"},{"photo_id":"1401223551","filename":"file2"},{"photo_id":"1401223555","filename":"file4"},{"photo_id":"1401223549","filename":"file1"},{"photo_id":"1401223547","filename":"file0"},{"photo_id":"1401223553","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223555":["hashtag1","hashtag2"]},{"1401223549":["hashtag1","hashtag2"]},{"1401223557":["hashtag1","hashtag2"]},{"1401223551":["hashtag1","hashtag2"]},{"1401223553":["hashtag1","hashtag2"]},{"1401223547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223555, 1401223549, 1401223557, 1401223551, 1401223553, 1401223547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.591453075408936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:47:03.233498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_24_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/04/40/image_09122025_04_41_05_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/04/40/image_09122025_04_40_54_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/40/image_09122025_04_40_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/04/39/image_09122025_04_40_04_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/04/39/image_09122025_04_39_55_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_24_9637.jpg', '/home/nano/Desktop/images/09122025/04/40/image_09122025_04_41_05_10662.jpg', '/home/nano/Desktop/images/09122025/04/40/image_09122025_04_40_54_9636.jpg', '/home/nano/Desktop/images/09122025/04/40/image_09122025_04_40_45_10642.jpg', '/home/nano/Desktop/images/09122025/04/39/image_09122025_04_40_04_9647.jpg', '/home/nano/Desktop/images/09122025/04/39/image_09122025_04_39_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/41/image_09122025_04_41_24_9637.jpg
/home/nano/Desktop/images/09122025/04/40/image_09122025_04_41_05_10662.jpg
/home/nano/Desktop/images/09122025/04/40/image_09122025_04_40_54_9636.jpg
/home/nano/Desktop/images/09122025/04/40/image_09122025_04_40_45_10642.jpg
/home/nano/Desktop/images/09122025/04/39/image_09122025_04_40_04_9647.jpg
/home/nano/Desktop/images/09122025/04/39/image_09122025_04_39_55_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":["1401223569","1401223572","1401223566","1401223571","1401223574","1401223567"],"photo_ids_order":["1401223566","1401223567","1401223569","1401223571","1401223572","1401223574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3556e54d560bf238c2b7b296265ac6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4362892583431299543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814484129,"filename":"image_09122025_04_40_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/12/27/afe504bb9b9ffa4308003d45cbbc35e8.jpg","text":"TemporaryFile(/tmp/multipartBody7611369352109282287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814484129,"filename":"image_09122025_04_40_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/12/27/46fbc34d0f389c9769b52759bbf9d93d.jpg","text":"TemporaryFile(/tmp/multipartBody523910598681074717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814484129,"filename":"image_09122025_04_41_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/12/27/9c69711fdaef1f0482371f4a366015bb.jpg","text":"TemporaryFile(/tmp/multipartBody3001439017402435655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814484129,"filename":"image_09122025_04_40_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00ce60d34d3c8ec6154c1c01c4c41c59.jpg","text":"TemporaryFile(/tmp/multipartBody1562646529993726773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814484129,"filename":"image_09122025_04_39_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dfe6f15faa96a12b052159c457060ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4937154747797493089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814484129,"filename":"image_09122025_04_41_05_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223569","file1":"1401223567","file0":"1401223566","file4":"1401223572","file5":"1401223574","file3":"1401223571"},"map_files_photo_id_array":[{"photo_id":"1401223574","filename":"file5"},{"photo_id":"1401223569","filename":"file2"},{"photo_id":"1401223572","filename":"file4"},{"photo_id":"1401223567","filename":"file1"},{"photo_id":"1401223566","filename":"file0"},{"photo_id":"1401223571","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223569":["hashtag1","hashtag2"]},{"1401223572":["hashtag1","hashtag2"]},{"1401223566":["hashtag1","hashtag2"]},{"1401223571":["hashtag1","hashtag2"]},{"1401223574":["hashtag1","hashtag2"]},{"1401223567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223569, 1401223572, 1401223566, 1401223571, 1401223574, 1401223567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24179935455322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:47:47.635753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/38/image_09122025_04_38_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/04/37/image_09122025_04_38_04_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/04/37/image_09122025_04_37_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/37/image_09122025_04_37_14_9672.jpg', 2), ('/home/nano/Desktop/images/09122025/04/36/image_09122025_04_37_05_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/04/36/image_09122025_04_36_35_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/38/image_09122025_04_38_25_10642.jpg', '/home/nano/Desktop/images/09122025/04/37/image_09122025_04_38_04_9631.jpg', '/home/nano/Desktop/images/09122025/04/37/image_09122025_04_37_44_9636.jpg', '/home/nano/Desktop/images/09122025/04/37/image_09122025_04_37_14_9672.jpg', '/home/nano/Desktop/images/09122025/04/36/image_09122025_04_37_05_9647.jpg', '/home/nano/Desktop/images/09122025/04/36/image_09122025_04_36_35_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/38/image_09122025_04_38_25_10642.jpg
/home/nano/Desktop/images/09122025/04/37/image_09122025_04_38_04_9631.jpg
/home/nano/Desktop/images/09122025/04/37/image_09122025_04_37_44_9636.jpg
/home/nano/Desktop/images/09122025/04/37/image_09122025_04_37_14_9672.jpg
/home/nano/Desktop/images/09122025/04/36/image_09122025_04_37_05_9647.jpg
/home/nano/Desktop/images/09122025/04/36/image_09122025_04_36_35_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":["1401223587","1401223584","1401223586","1401223594","1401223591","1401223588"],"photo_ids_order":["1401223584","1401223586","1401223587","1401223588","1401223591","1401223594"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f04e227bea469d68d33e55ebfdd1e557.jpg","text":"TemporaryFile(/tmp/multipartBody6683204289253276537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814528470,"filename":"image_09122025_04_37_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/12/27/dcc47a714ef7ac7b2fc362705b1c0e36.jpg","text":"TemporaryFile(/tmp/multipartBody4407995465165850858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814528470,"filename":"image_09122025_04_38_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38c625479cc693900dcf620bc6a1cad7.jpg","text":"TemporaryFile(/tmp/multipartBody6868574653030119450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814528470,"filename":"image_09122025_04_38_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/12/27/e53bdc1f4eba0e69fec05cd010deae49.jpg","text":"TemporaryFile(/tmp/multipartBody5185220582512816447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814528470,"filename":"image_09122025_04_36_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3e9f919d9b1ea0c0253ea86c9e91387.jpg","text":"TemporaryFile(/tmp/multipartBody8853809668298132713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814528470,"filename":"image_09122025_04_37_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f82e7a371f1e67267ed5a796a0a59d50.jpg","text":"TemporaryFile(/tmp/multipartBody1189213323878917273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814528470,"filename":"image_09122025_04_37_14_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223587","file1":"1401223586","file0":"1401223584","file4":"1401223591","file5":"1401223594","file3":"1401223588"},"map_files_photo_id_array":[{"photo_id":"1401223594","filename":"file5"},{"photo_id":"1401223587","filename":"file2"},{"photo_id":"1401223591","filename":"file4"},{"photo_id":"1401223586","filename":"file1"},{"photo_id":"1401223584","filename":"file0"},{"photo_id":"1401223588","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223587":["hashtag1","hashtag2"]},{"1401223584":["hashtag1","hashtag2"]},{"1401223586":["hashtag1","hashtag2"]},{"1401223594":["hashtag1","hashtag2"]},{"1401223591":["hashtag1","hashtag2"]},{"1401223588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223587, 1401223584, 1401223586, 1401223594, 1401223591, 1401223588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80585479736328 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:48:32.732369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/36/image_09122025_04_36_25_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/04/35/image_09122025_04_35_54_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/04/35/image_09122025_04_35_35_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/04/34/image_09122025_04_34_45_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/34/image_09122025_04_34_35_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/33/image_09122025_04_34_05_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/36/image_09122025_04_36_25_10661.jpg', '/home/nano/Desktop/images/09122025/04/35/image_09122025_04_35_54_9652.jpg', '/home/nano/Desktop/images/09122025/04/35/image_09122025_04_35_35_10644.jpg', '/home/nano/Desktop/images/09122025/04/34/image_09122025_04_34_45_9649.jpg', '/home/nano/Desktop/images/09122025/04/34/image_09122025_04_34_35_10649.jpg', '/home/nano/Desktop/images/09122025/04/33/image_09122025_04_34_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/36/image_09122025_04_36_25_10661.jpg
/home/nano/Desktop/images/09122025/04/35/image_09122025_04_35_54_9652.jpg
/home/nano/Desktop/images/09122025/04/35/image_09122025_04_35_35_10644.jpg
/home/nano/Desktop/images/09122025/04/34/image_09122025_04_34_45_9649.jpg
/home/nano/Desktop/images/09122025/04/34/image_09122025_04_34_35_10649.jpg
/home/nano/Desktop/images/09122025/04/33/image_09122025_04_34_05_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":["1401223600","1401223599","1401223603","1401223598","1401223602","1401223604"],"photo_ids_order":["1401223598","1401223599","1401223600","1401223602","1401223603","1401223604"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9de213d9c3fd4aa32b1e111e076df4d7.jpg","text":"TemporaryFile(/tmp/multipartBody8570652180454423739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814573567,"filename":"image_09122025_04_35_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/312b03e3a1b723220ee2498d3d557229.jpg","text":"TemporaryFile(/tmp/multipartBody6216290207350428290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814573567,"filename":"image_09122025_04_35_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/12/27/b7999bf5ec4614823fdd0e09e4e83ab7.jpg","text":"TemporaryFile(/tmp/multipartBody2278195418839326639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814573567,"filename":"image_09122025_04_34_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82ff4ea3ef009a382185b48ac4c25e44.jpg","text":"TemporaryFile(/tmp/multipartBody5756311196149994980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814573567,"filename":"image_09122025_04_36_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/469fa120de87d0f1d062f39c34ab78b1.jpg","text":"TemporaryFile(/tmp/multipartBody1384085671638825770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814573567,"filename":"image_09122025_04_34_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cc5bdece70094c6af7243e64aaab5eb.jpg","text":"TemporaryFile(/tmp/multipartBody2799978586734135624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814573567,"filename":"image_09122025_04_34_05_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223600","file1":"1401223599","file0":"1401223598","file4":"1401223603","file5":"1401223604","file3":"1401223602"},"map_files_photo_id_array":[{"photo_id":"1401223604","filename":"file5"},{"photo_id":"1401223600","filename":"file2"},{"photo_id":"1401223603","filename":"file4"},{"photo_id":"1401223599","filename":"file1"},{"photo_id":"1401223598","filename":"file0"},{"photo_id":"1401223602","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223600":["hashtag1","hashtag2"]},{"1401223599":["hashtag1","hashtag2"]},{"1401223603":["hashtag1","hashtag2"]},{"1401223598":["hashtag1","hashtag2"]},{"1401223602":["hashtag1","hashtag2"]},{"1401223604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223600, 1401223599, 1401223603, 1401223598, 1401223602, 1401223604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16680932044983 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:49:16.851653
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/33/image_09122025_04_33_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/32/image_09122025_04_33_05_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_34_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_15_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/04/31/image_09122025_04_32_04_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/33/image_09122025_04_33_54_9634.jpg', '/home/nano/Desktop/images/09122025/04/32/image_09122025_04_33_05_10650.jpg', '/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_34_9638.jpg', '/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_25_9634.jpg', '/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_15_10665.jpg', '/home/nano/Desktop/images/09122025/04/31/image_09122025_04_32_04_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/33/image_09122025_04_33_54_9634.jpg
/home/nano/Desktop/images/09122025/04/32/image_09122025_04_33_05_10650.jpg
/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_34_9638.jpg
/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_25_9634.jpg
/home/nano/Desktop/images/09122025/04/32/image_09122025_04_32_15_10665.jpg
/home/nano/Desktop/images/09122025/04/31/image_09122025_04_32_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":["1401223615","1401223609","1401223611","1401223608","1401223616","1401223613"],"photo_ids_order":["1401223608","1401223609","1401223611","1401223613","1401223615","1401223616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea8c362a592e49f79bc0269effdb92bb.jpg","text":"TemporaryFile(/tmp/multipartBody4850910905459939896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814617662,"filename":"image_09122025_04_32_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c19797e579e1015f2b75237c9d6d668.jpg","text":"TemporaryFile(/tmp/multipartBody2388946056751086530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814617662,"filename":"image_09122025_04_33_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccfa999c00e7a676a8c078bcc4dce393.jpg","text":"TemporaryFile(/tmp/multipartBody2299699213495823167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814617662,"filename":"image_09122025_04_32_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/12/27/7e82216904c200836991453cb12845c8.jpg","text":"TemporaryFile(/tmp/multipartBody5887066869373690405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814617662,"filename":"image_09122025_04_33_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/12/27/67fcbb2cdf2796f2ad492abe7af7e5bc.jpg","text":"TemporaryFile(/tmp/multipartBody97641010345830932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814617662,"filename":"image_09122025_04_32_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/12/27/12c339b1a99764e189cb441b2d1f9500.jpg","text":"TemporaryFile(/tmp/multipartBody6880119526257715579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814617662,"filename":"image_09122025_04_32_25_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223611","file1":"1401223609","file0":"1401223608","file4":"1401223615","file5":"1401223616","file3":"1401223613"},"map_files_photo_id_array":[{"photo_id":"1401223616","filename":"file5"},{"photo_id":"1401223611","filename":"file2"},{"photo_id":"1401223615","filename":"file4"},{"photo_id":"1401223609","filename":"file1"},{"photo_id":"1401223608","filename":"file0"},{"photo_id":"1401223613","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223615":["hashtag1","hashtag2"]},{"1401223609":["hashtag1","hashtag2"]},{"1401223611":["hashtag1","hashtag2"]},{"1401223608":["hashtag1","hashtag2"]},{"1401223616":["hashtag1","hashtag2"]},{"1401223613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223615, 1401223609, 1401223611, 1401223608, 1401223616, 1401223613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78011655807495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:50:02.658149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_55_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_45_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_55_9634.jpg', '/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_45_10660.jpg', '/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_34_9636.jpg', '/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_25_10643.jpg', '/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_14_9648.jpg', '/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_55_9634.jpg
/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_45_10660.jpg
/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_34_9636.jpg
/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_25_10643.jpg
/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_14_9648.jpg
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_55_10642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7852814197540283 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:50:17.036323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_55_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_45_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_55_9634.jpg', '/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_45_10660.jpg', '/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_34_9636.jpg', '/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_25_10643.jpg', '/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_14_9648.jpg', '/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_55_9634.jpg
/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_45_10660.jpg
/home/nano/Desktop/images/09122025/04/31/image_09122025_04_31_34_9636.jpg
/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_25_10643.jpg
/home/nano/Desktop/images/09122025/04/30/image_09122025_04_30_14_9648.jpg
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_55_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":["1401223636","1401223632","1401223626","1401223634","1401223628","1401223630"],"photo_ids_order":["1401223626","1401223628","1401223630","1401223632","1401223634","1401223636"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2f7ce04df463fa690f32619f63c2ed1.jpg","text":"TemporaryFile(/tmp/multipartBody4320148764173317563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814677896,"filename":"image_09122025_04_29_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/635a7f30eeecc5868a5f9ddc681b36d0.jpg","text":"TemporaryFile(/tmp/multipartBody8726705046354537610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814677896,"filename":"image_09122025_04_30_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99e5f3d384be7b1203389f99df7e99d1.jpg","text":"TemporaryFile(/tmp/multipartBody1749598816030151438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814677896,"filename":"image_09122025_04_31_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9116fbc8f06ab2c5410dfa1055962708.jpg","text":"TemporaryFile(/tmp/multipartBody8928993095214640323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814677896,"filename":"image_09122025_04_30_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/12/27/994339b640485b263d7537b6e7c8b0e8.jpg","text":"TemporaryFile(/tmp/multipartBody7914799777916353023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814677896,"filename":"image_09122025_04_31_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a125b3d7b0ccc19dd61640d8e82fdef.jpg","text":"TemporaryFile(/tmp/multipartBody7606354712875801033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814677896,"filename":"image_09122025_04_31_34_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223630","file1":"1401223628","file0":"1401223626","file4":"1401223634","file5":"1401223636","file3":"1401223632"},"map_files_photo_id_array":[{"photo_id":"1401223636","filename":"file5"},{"photo_id":"1401223630","filename":"file2"},{"photo_id":"1401223634","filename":"file4"},{"photo_id":"1401223628","filename":"file1"},{"photo_id":"1401223626","filename":"file0"},{"photo_id":"1401223632","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223636":["hashtag1","hashtag2"]},{"1401223632":["hashtag1","hashtag2"]},{"1401223626":["hashtag1","hashtag2"]},{"1401223634":["hashtag1","hashtag2"]},{"1401223628":["hashtag1","hashtag2"]},{"1401223630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223636, 1401223632, 1401223626, 1401223634, 1401223628, 1401223630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.997721910476685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:51:02.903636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_35_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/28/image_09122025_04_28_35_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_24_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_44_9636.jpg', '/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_35_9635.jpg', '/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_14_9650.jpg', '/home/nano/Desktop/images/09122025/04/28/image_09122025_04_28_35_9637.jpg', '/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_35_10643.jpg', '/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_44_9636.jpg
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_35_9635.jpg
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_14_9650.jpg
/home/nano/Desktop/images/09122025/04/28/image_09122025_04_28_35_9637.jpg
/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_35_10643.jpg
/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_24_9634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7265710830688477 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:51:17.122961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_35_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/28/image_09122025_04_28_35_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_24_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_44_9636.jpg', '/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_35_9635.jpg', '/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_14_9650.jpg', '/home/nano/Desktop/images/09122025/04/28/image_09122025_04_28_35_9637.jpg', '/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_35_10643.jpg', '/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_44_9636.jpg
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_35_9635.jpg
/home/nano/Desktop/images/09122025/04/29/image_09122025_04_29_14_9650.jpg
/home/nano/Desktop/images/09122025/04/28/image_09122025_04_28_35_9637.jpg
/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_35_10643.jpg
/home/nano/Desktop/images/09122025/04/27/image_09122025_04_27_24_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":["1401223660","1401223662","1401223656","1401223653","1401223658","1401223651"],"photo_ids_order":["1401223651","1401223653","1401223656","1401223658","1401223660","1401223662"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a07ced8f554d3a97fd6fa243819509b4.jpg","text":"TemporaryFile(/tmp/multipartBody5331934386619918507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814737940,"filename":"image_09122025_04_27_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40a5b206af77dd37f66d01cc0046f231.jpg","text":"TemporaryFile(/tmp/multipartBody4925608579853332639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814737940,"filename":"image_09122025_04_27_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/12/27/31584dbbc2cb4068816cfb1543097416.jpg","text":"TemporaryFile(/tmp/multipartBody7976192361387999198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814737940,"filename":"image_09122025_04_29_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/12/27/ed041c992f9ae257a1e57a806d18ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody7016186083094107547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814737940,"filename":"image_09122025_04_29_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45951502fec28714b46beeb2a8d67653.jpg","text":"TemporaryFile(/tmp/multipartBody4781550372042952565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814737940,"filename":"image_09122025_04_28_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5904dcdde0a7dced8532b1f56b0012e5.jpg","text":"TemporaryFile(/tmp/multipartBody2135948910501313059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814737940,"filename":"image_09122025_04_29_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223656","file1":"1401223653","file0":"1401223651","file4":"1401223660","file5":"1401223662","file3":"1401223658"},"map_files_photo_id_array":[{"photo_id":"1401223662","filename":"file5"},{"photo_id":"1401223656","filename":"file2"},{"photo_id":"1401223660","filename":"file4"},{"photo_id":"1401223653","filename":"file1"},{"photo_id":"1401223651","filename":"file0"},{"photo_id":"1401223658","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223660":["hashtag1","hashtag2"]},{"1401223662":["hashtag1","hashtag2"]},{"1401223656":["hashtag1","hashtag2"]},{"1401223653":["hashtag1","hashtag2"]},{"1401223658":["hashtag1","hashtag2"]},{"1401223651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223660, 1401223662, 1401223656, 1401223653, 1401223658, 1401223651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77788329124451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:52:02.728969
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/26/image_09122025_04_27_05_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_45_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_35_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/26/image_09122025_04_27_05_10660.jpg', '/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_54_9633.jpg', '/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_45_9631.jpg', '/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_35_10647.jpg', '/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_24_9635.jpg', '/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/26/image_09122025_04_27_05_10660.jpg
/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_54_9633.jpg
/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_45_9631.jpg
/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_35_10647.jpg
/home/nano/Desktop/images/09122025/04/26/image_09122025_04_26_24_9635.jpg
/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_55_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":["1401223668","1401223671","1401223665","1401223670","1401223673","1401223666"],"photo_ids_order":["1401223665","1401223666","1401223668","1401223670","1401223671","1401223673"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7edf21fa2568fd4b1f64b2bbd06c5426.jpg","text":"TemporaryFile(/tmp/multipartBody6065946343697132485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814783610,"filename":"image_09122025_04_26_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6674740a20be0aeeac2e7fabd9aaa231.jpg","text":"TemporaryFile(/tmp/multipartBody7969102175446037069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814783610,"filename":"image_09122025_04_26_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/12/27/acdbe62003a0666b64991f1bb6ac018a.jpg","text":"TemporaryFile(/tmp/multipartBody2534735360791630953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814783610,"filename":"image_09122025_04_27_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f04b83f0d798ac2db1a621964be1865.jpg","text":"TemporaryFile(/tmp/multipartBody6958362356618065368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814783610,"filename":"image_09122025_04_26_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/254e7b8d950afe0e434c239164a2dc93.jpg","text":"TemporaryFile(/tmp/multipartBody3811540283615684439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814783610,"filename":"image_09122025_04_24_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a4df782f670ef23f6b9069bcb78402c.jpg","text":"TemporaryFile(/tmp/multipartBody988645206129247122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814783610,"filename":"image_09122025_04_26_54_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223668","file1":"1401223666","file0":"1401223665","file4":"1401223671","file5":"1401223673","file3":"1401223670"},"map_files_photo_id_array":[{"photo_id":"1401223673","filename":"file5"},{"photo_id":"1401223668","filename":"file2"},{"photo_id":"1401223671","filename":"file4"},{"photo_id":"1401223666","filename":"file1"},{"photo_id":"1401223665","filename":"file0"},{"photo_id":"1401223670","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223668":["hashtag1","hashtag2"]},{"1401223671":["hashtag1","hashtag2"]},{"1401223665":["hashtag1","hashtag2"]},{"1401223670":["hashtag1","hashtag2"]},{"1401223673":["hashtag1","hashtag2"]},{"1401223666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223668, 1401223671, 1401223665, 1401223670, 1401223673, 1401223666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26803493499756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:52:47.218586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_45_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_34_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/04/23/image_09122025_04_23_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/04/23/image_09122025_04_23_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/04/22/image_09122025_04_23_04_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_45_10648.jpg', '/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_34_9651.jpg', '/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_15_10661.jpg', '/home/nano/Desktop/images/09122025/04/23/image_09122025_04_23_55_9633.jpg', '/home/nano/Desktop/images/09122025/04/23/image_09122025_04_23_14_9648.jpg', '/home/nano/Desktop/images/09122025/04/22/image_09122025_04_23_04_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_45_10648.jpg
/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_34_9651.jpg
/home/nano/Desktop/images/09122025/04/24/image_09122025_04_24_15_10661.jpg
/home/nano/Desktop/images/09122025/04/23/image_09122025_04_23_55_9633.jpg
/home/nano/Desktop/images/09122025/04/23/image_09122025_04_23_14_9648.jpg
/home/nano/Desktop/images/09122025/04/22/image_09122025_04_23_04_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":["1401223680","1401223683","1401223682","1401223685","1401223681","1401223684"],"photo_ids_order":["1401223680","1401223681","1401223682","1401223683","1401223684","1401223685"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/756a2eac9a24f58238eba2ccbb062b64.jpg","text":"TemporaryFile(/tmp/multipartBody3852966172490458772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814828047,"filename":"image_09122025_04_24_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15e5df0aa3d5fa4fa4e8282640b64f6c.jpg","text":"TemporaryFile(/tmp/multipartBody2999945437669226008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814828047,"filename":"image_09122025_04_23_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5938186237d986a89086e7dd3700ccd1.jpg","text":"TemporaryFile(/tmp/multipartBody7423890421568152040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814828047,"filename":"image_09122025_04_24_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84419b393f47454c5b44153a878219be.jpg","text":"TemporaryFile(/tmp/multipartBody4114481491483430899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814828047,"filename":"image_09122025_04_23_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/12/27/0f1df4528390676caf1d6049bc3b05a7.jpg","text":"TemporaryFile(/tmp/multipartBody7564137792771246838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814828047,"filename":"image_09122025_04_24_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/12/27/0b68e38fc25aa10f7ad118879752bec8.jpg","text":"TemporaryFile(/tmp/multipartBody225404717530333394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814828047,"filename":"image_09122025_04_23_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223682","file1":"1401223681","file0":"1401223680","file4":"1401223684","file5":"1401223685","file3":"1401223683"},"map_files_photo_id_array":[{"photo_id":"1401223685","filename":"file5"},{"photo_id":"1401223682","filename":"file2"},{"photo_id":"1401223684","filename":"file4"},{"photo_id":"1401223681","filename":"file1"},{"photo_id":"1401223680","filename":"file0"},{"photo_id":"1401223683","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223680":["hashtag1","hashtag2"]},{"1401223683":["hashtag1","hashtag2"]},{"1401223682":["hashtag1","hashtag2"]},{"1401223685":["hashtag1","hashtag2"]},{"1401223681":["hashtag1","hashtag2"]},{"1401223684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223680, 1401223683, 1401223682, 1401223685, 1401223681, 1401223684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13000965118408 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:53:32.321437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_35_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_25_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_14_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/04/21/image_09122025_04_22_05_9660.jpg', 2), ('/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_44_9635.jpg', '/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_35_9638.jpg', '/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_25_10645.jpg', '/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_14_9653.jpg', '/home/nano/Desktop/images/09122025/04/21/image_09122025_04_22_05_9660.jpg', '/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_44_9635.jpg
/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_35_9638.jpg
/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_25_10645.jpg
/home/nano/Desktop/images/09122025/04/22/image_09122025_04_22_14_9653.jpg
/home/nano/Desktop/images/09122025/04/21/image_09122025_04_22_05_9660.jpg
/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_44_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":["1401223698","1401223692","1401223705","1401223695","1401223704","1401223701"],"photo_ids_order":["1401223692","1401223695","1401223698","1401223701","1401223704","1401223705"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd47084160cd6b636ec50c2ddbf3cf61.jpg","text":"TemporaryFile(/tmp/multipartBody5183538446384252711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814873141,"filename":"image_09122025_04_22_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0174db57a0a18e3e5cbac5dca1bdd39.jpg","text":"TemporaryFile(/tmp/multipartBody581507884264264170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814873141,"filename":"image_09122025_04_22_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/12/27/1b1aad023bdd5024bc6b0b8ab8083af1.jpg","text":"TemporaryFile(/tmp/multipartBody3144350709895964345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814873141,"filename":"image_09122025_04_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/12/27/1ee14aa963f3678148bfa3f5261fa30f.jpg","text":"TemporaryFile(/tmp/multipartBody7827891609583156302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814873141,"filename":"image_09122025_04_22_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89c57c0e7b26e68c06b7b5ab1f1d585d.jpg","text":"TemporaryFile(/tmp/multipartBody4655398521635405563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814873141,"filename":"image_09122025_04_22_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14b30b8c82dc44deb54063f325292ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4804119614269748850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814873141,"filename":"image_09122025_04_22_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223698","file1":"1401223695","file0":"1401223692","file4":"1401223704","file5":"1401223705","file3":"1401223701"},"map_files_photo_id_array":[{"photo_id":"1401223705","filename":"file5"},{"photo_id":"1401223698","filename":"file2"},{"photo_id":"1401223704","filename":"file4"},{"photo_id":"1401223695","filename":"file1"},{"photo_id":"1401223692","filename":"file0"},{"photo_id":"1401223701","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223698":["hashtag1","hashtag2"]},{"1401223692":["hashtag1","hashtag2"]},{"1401223705":["hashtag1","hashtag2"]},{"1401223695":["hashtag1","hashtag2"]},{"1401223704":["hashtag1","hashtag2"]},{"1401223701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223698, 1401223692, 1401223705, 1401223695, 1401223704, 1401223701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.438448667526245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:54:17.440265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_35_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/20/image_09122025_04_20_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/04/20/image_09122025_04_20_14_9670.jpg', 2), ('/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_54_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_45_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_35_9635.jpg', '/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_14_9649.jpg', '/home/nano/Desktop/images/09122025/04/20/image_09122025_04_20_44_9633.jpg', '/home/nano/Desktop/images/09122025/04/20/image_09122025_04_20_14_9670.jpg', '/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_54_9650.jpg', '/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_45_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_35_9635.jpg
/home/nano/Desktop/images/09122025/04/21/image_09122025_04_21_14_9649.jpg
/home/nano/Desktop/images/09122025/04/20/image_09122025_04_20_44_9633.jpg
/home/nano/Desktop/images/09122025/04/20/image_09122025_04_20_14_9670.jpg
/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_54_9650.jpg
/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_45_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":["1401223711","1401223720","1401223714","1401223708","1401223717","1401223707"],"photo_ids_order":["1401223707","1401223708","1401223711","1401223714","1401223717","1401223720"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a87ca8bd76f52fc75ebf5cd53123dcd7.jpg","text":"TemporaryFile(/tmp/multipartBody1943706854082385848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814918255,"filename":"image_09122025_04_20_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/12/27/b18ea208de46f6c8c16a226dff41fc20.jpg","text":"TemporaryFile(/tmp/multipartBody5059505001657996442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814918255,"filename":"image_09122025_04_19_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96c5d32d987ba9e5c5eaab0cc1f1468a.jpg","text":"TemporaryFile(/tmp/multipartBody3782338206808071081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814918255,"filename":"image_09122025_04_20_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/12/27/6d6aa303365ddc8e7ee167079f60b625.jpg","text":"TemporaryFile(/tmp/multipartBody6348634517741154191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814918255,"filename":"image_09122025_04_21_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/12/27/8468b8a576b649be1acdfd93ec83ec12.jpg","text":"TemporaryFile(/tmp/multipartBody9134606123374768978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814918255,"filename":"image_09122025_04_19_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/12/27/7c861f2c4f00f56f8a0a3322b275c525.jpg","text":"TemporaryFile(/tmp/multipartBody1705118979303946144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814918255,"filename":"image_09122025_04_21_35_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223711","file1":"1401223708","file0":"1401223707","file4":"1401223717","file5":"1401223720","file3":"1401223714"},"map_files_photo_id_array":[{"photo_id":"1401223720","filename":"file5"},{"photo_id":"1401223711","filename":"file2"},{"photo_id":"1401223717","filename":"file4"},{"photo_id":"1401223708","filename":"file1"},{"photo_id":"1401223707","filename":"file0"},{"photo_id":"1401223714","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223711":["hashtag1","hashtag2"]},{"1401223720":["hashtag1","hashtag2"]},{"1401223714":["hashtag1","hashtag2"]},{"1401223708":["hashtag1","hashtag2"]},{"1401223717":["hashtag1","hashtag2"]},{"1401223707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223711, 1401223720, 1401223714, 1401223708, 1401223717, 1401223707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03750538825989 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:55:03.315433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_35_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_15_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/04/18/image_09122025_04_19_05_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/04/18/image_09122025_04_18_45_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/04/18/image_09122025_04_18_24_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_35_10644.jpg', '/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_24_9635.jpg', '/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_15_9640.jpg', '/home/nano/Desktop/images/09122025/04/18/image_09122025_04_19_05_10659.jpg', '/home/nano/Desktop/images/09122025/04/18/image_09122025_04_18_45_9632.jpg', '/home/nano/Desktop/images/09122025/04/18/image_09122025_04_18_24_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_35_10644.jpg
/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_24_9635.jpg
/home/nano/Desktop/images/09122025/04/19/image_09122025_04_19_15_9640.jpg
/home/nano/Desktop/images/09122025/04/18/image_09122025_04_19_05_10659.jpg
/home/nano/Desktop/images/09122025/04/18/image_09122025_04_18_45_9632.jpg
/home/nano/Desktop/images/09122025/04/18/image_09122025_04_18_24_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":["1401223726","1401223729","1401223728","1401223733","1401223727","1401223730"],"photo_ids_order":["1401223726","1401223727","1401223728","1401223729","1401223730","1401223733"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c21f736fe2fe95e2878eff594a09883e.jpg","text":"TemporaryFile(/tmp/multipartBody1498463613382651237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814964229,"filename":"image_09122025_04_19_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41f3844984a7c40208f290771f8b8013.jpg","text":"TemporaryFile(/tmp/multipartBody3873283274734052743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814964229,"filename":"image_09122025_04_19_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab61b4202179acd2136931b911b23be6.jpg","text":"TemporaryFile(/tmp/multipartBody9014761052630137734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814964229,"filename":"image_09122025_04_19_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69a29be318cf3f769a312571b5f88080.jpg","text":"TemporaryFile(/tmp/multipartBody5041649172460808801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814964229,"filename":"image_09122025_04_18_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/12/27/c8a91c24abfa8a355311164044374f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7236648954356805332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814964229,"filename":"image_09122025_04_19_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/12/27/e2b1663b10df670210c8dea599fbcd70.jpg","text":"TemporaryFile(/tmp/multipartBody7083798247537652678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766814964229,"filename":"image_09122025_04_18_45_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223728","file1":"1401223727","file0":"1401223726","file4":"1401223730","file5":"1401223733","file3":"1401223729"},"map_files_photo_id_array":[{"photo_id":"1401223733","filename":"file5"},{"photo_id":"1401223728","filename":"file2"},{"photo_id":"1401223730","filename":"file4"},{"photo_id":"1401223727","filename":"file1"},{"photo_id":"1401223726","filename":"file0"},{"photo_id":"1401223729","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223726":["hashtag1","hashtag2"]},{"1401223729":["hashtag1","hashtag2"]},{"1401223728":["hashtag1","hashtag2"]},{"1401223733":["hashtag1","hashtag2"]},{"1401223727":["hashtag1","hashtag2"]},{"1401223730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223726, 1401223729, 1401223728, 1401223733, 1401223727, 1401223730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90792226791382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:55:47.558800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/17/image_09122025_04_18_04_9663.jpg', 2), ('/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_54_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_45_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/04/16/image_09122025_04_17_04_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/17/image_09122025_04_18_04_9663.jpg', '/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_54_9651.jpg', '/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_45_10648.jpg', '/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_24_9635.jpg', '/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_15_10659.jpg', '/home/nano/Desktop/images/09122025/04/16/image_09122025_04_17_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/17/image_09122025_04_18_04_9663.jpg
/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_54_9651.jpg
/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_45_10648.jpg
/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_24_9635.jpg
/home/nano/Desktop/images/09122025/04/17/image_09122025_04_17_15_10659.jpg
/home/nano/Desktop/images/09122025/04/16/image_09122025_04_17_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":["1401223747","1401223749","1401223746","1401223745","1401223748","1401223744"],"photo_ids_order":["1401223744","1401223745","1401223746","1401223747","1401223748","1401223749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f57a45ae3b248a614e05c387a97aff45.jpg","text":"TemporaryFile(/tmp/multipartBody4030409110829322365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815008416,"filename":"image_09122025_04_17_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/12/27/8da2a27546410035186299bb4e6a9158.jpg","text":"TemporaryFile(/tmp/multipartBody7686504700928566454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815008416,"filename":"image_09122025_04_17_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/12/27/057abd8064af68f7eeb716835059bd60.jpg","text":"TemporaryFile(/tmp/multipartBody2329283003775578804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815008416,"filename":"image_09122025_04_17_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/894ef8422dac329669714ffe6669dfc5.jpg","text":"TemporaryFile(/tmp/multipartBody2259428165665229083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815008416,"filename":"image_09122025_04_17_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/12/27/4b46751e42bf7d5364c1d3788bac94e5.jpg","text":"TemporaryFile(/tmp/multipartBody6847061627151350427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815008416,"filename":"image_09122025_04_17_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f243ec8e677e56f318874c853eca6de3.jpg","text":"TemporaryFile(/tmp/multipartBody6422580990551929718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815008416,"filename":"image_09122025_04_18_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223746","file1":"1401223745","file0":"1401223744","file4":"1401223748","file5":"1401223749","file3":"1401223747"},"map_files_photo_id_array":[{"photo_id":"1401223749","filename":"file5"},{"photo_id":"1401223746","filename":"file2"},{"photo_id":"1401223748","filename":"file4"},{"photo_id":"1401223745","filename":"file1"},{"photo_id":"1401223744","filename":"file0"},{"photo_id":"1401223747","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223747":["hashtag1","hashtag2"]},{"1401223749":["hashtag1","hashtag2"]},{"1401223746":["hashtag1","hashtag2"]},{"1401223745":["hashtag1","hashtag2"]},{"1401223748":["hashtag1","hashtag2"]},{"1401223744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223747, 1401223749, 1401223746, 1401223745, 1401223748, 1401223744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15016770362854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:56:32.718887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/16/image_09122025_04_16_25_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/04/16/image_09122025_04_16_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_45_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_34_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_25_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/16/image_09122025_04_16_25_9652.jpg', '/home/nano/Desktop/images/09122025/04/16/image_09122025_04_16_15_10660.jpg', '/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_55_9633.jpg', '/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_45_10650.jpg', '/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_34_9655.jpg', '/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/16/image_09122025_04_16_25_9652.jpg
/home/nano/Desktop/images/09122025/04/16/image_09122025_04_16_15_10660.jpg
/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_55_9633.jpg
/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_45_10650.jpg
/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_34_9655.jpg
/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_25_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":["1401223761","1401223755","1401223764","1401223758","1401223766","1401223757"],"photo_ids_order":["1401223755","1401223757","1401223758","1401223761","1401223764","1401223766"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6852c0302aa7e3959736213abb250ea.jpg","text":"TemporaryFile(/tmp/multipartBody7672233680331500217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815053543,"filename":"image_09122025_04_15_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43824b59ed4641c36800c736195f6f60.jpg","text":"TemporaryFile(/tmp/multipartBody8238136110816230416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815053543,"filename":"image_09122025_04_16_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1ed0e0e3aced9b5cba04024de5220ea.jpg","text":"TemporaryFile(/tmp/multipartBody7702464020218532110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815053543,"filename":"image_09122025_04_15_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/12/27/3887e5e77b9d19435797f88bea824e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3520442048863024698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815053543,"filename":"image_09122025_04_15_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b9794ac019d2c940fd7c9ed5788e8a1.jpg","text":"TemporaryFile(/tmp/multipartBody9167999386321732715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815053543,"filename":"image_09122025_04_15_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/749d608133c85a7466a0f0b4ef0b4764.jpg","text":"TemporaryFile(/tmp/multipartBody4703390275382844393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815053543,"filename":"image_09122025_04_16_15_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223758","file1":"1401223757","file0":"1401223755","file4":"1401223764","file5":"1401223766","file3":"1401223761"},"map_files_photo_id_array":[{"photo_id":"1401223766","filename":"file5"},{"photo_id":"1401223758","filename":"file2"},{"photo_id":"1401223764","filename":"file4"},{"photo_id":"1401223757","filename":"file1"},{"photo_id":"1401223755","filename":"file0"},{"photo_id":"1401223761","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223761":["hashtag1","hashtag2"]},{"1401223755":["hashtag1","hashtag2"]},{"1401223764":["hashtag1","hashtag2"]},{"1401223758":["hashtag1","hashtag2"]},{"1401223766":["hashtag1","hashtag2"]},{"1401223757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223761, 1401223755, 1401223764, 1401223758, 1401223766, 1401223757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1803925037384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:57:16.842704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_55_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_34_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/04/13/image_09122025_04_13_14_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_15_10661.jpg', '/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_55_9644.jpg', '/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_45_10646.jpg', '/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_34_9649.jpg', '/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_14_9651.jpg', '/home/nano/Desktop/images/09122025/04/13/image_09122025_04_13_14_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/15/image_09122025_04_15_15_10661.jpg
/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_55_9644.jpg
/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_45_10646.jpg
/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_34_9649.jpg
/home/nano/Desktop/images/09122025/04/14/image_09122025_04_14_14_9651.jpg
/home/nano/Desktop/images/09122025/04/13/image_09122025_04_13_14_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":["1401223785","1401223773","1401223781","1401223778","1401223775","1401223783"],"photo_ids_order":["1401223773","1401223775","1401223778","1401223781","1401223783","1401223785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77289eb5a034eccb77c04127915b9134.jpg","text":"TemporaryFile(/tmp/multipartBody8419676816368956793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815097652,"filename":"image_09122025_04_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/12/27/9db485a9846bd96f83a7e2644a67116e.jpg","text":"TemporaryFile(/tmp/multipartBody6143226560294968761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815097652,"filename":"image_09122025_04_15_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0396ad6b490a1a1a82d7b7ab9f94f09.jpg","text":"TemporaryFile(/tmp/multipartBody3414580902113205746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815097652,"filename":"image_09122025_04_14_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/12/27/707f9fa247e7432192bf84a5853d1daa.jpg","text":"TemporaryFile(/tmp/multipartBody2693167923053278203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815097652,"filename":"image_09122025_04_14_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3fd58d21361545c8a916db1707d2982.jpg","text":"TemporaryFile(/tmp/multipartBody947573002072530778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815097652,"filename":"image_09122025_04_14_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3a33dca064a150f087215b8f9ccfd6b.jpg","text":"TemporaryFile(/tmp/multipartBody8487698492819127335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815097652,"filename":"image_09122025_04_14_14_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223778","file1":"1401223775","file0":"1401223773","file4":"1401223783","file5":"1401223785","file3":"1401223781"},"map_files_photo_id_array":[{"photo_id":"1401223785","filename":"file5"},{"photo_id":"1401223778","filename":"file2"},{"photo_id":"1401223783","filename":"file4"},{"photo_id":"1401223775","filename":"file1"},{"photo_id":"1401223773","filename":"file0"},{"photo_id":"1401223781","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223785":["hashtag1","hashtag2"]},{"1401223773":["hashtag1","hashtag2"]},{"1401223781":["hashtag1","hashtag2"]},{"1401223778":["hashtag1","hashtag2"]},{"1401223775":["hashtag1","hashtag2"]},{"1401223783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223785, 1401223773, 1401223781, 1401223778, 1401223775, 1401223783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88650131225586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:59:03.619763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/12/image_09122025_04_13_05_9659.jpg', 2), ('/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_55_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_44_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/11/image_09122025_04_12_05_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/04/10/image_09122025_04_10_15_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/12/image_09122025_04_13_05_9659.jpg', '/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_55_10662.jpg', '/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_44_9656.jpg', '/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_14_9649.jpg', '/home/nano/Desktop/images/09122025/04/11/image_09122025_04_12_05_9632.jpg', '/home/nano/Desktop/images/09122025/04/10/image_09122025_04_10_15_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/12/image_09122025_04_13_05_9659.jpg
/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_55_10662.jpg
/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_44_9656.jpg
/home/nano/Desktop/images/09122025/04/12/image_09122025_04_12_14_9649.jpg
/home/nano/Desktop/images/09122025/04/11/image_09122025_04_12_05_9632.jpg
/home/nano/Desktop/images/09122025/04/10/image_09122025_04_10_15_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":["1401223807","1401223804","1401223796","1401223800","1401223802","1401223798"],"photo_ids_order":["1401223796","1401223798","1401223800","1401223802","1401223804","1401223807"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c31ff85eb6565bfd6610dbff76c46ea.jpg","text":"TemporaryFile(/tmp/multipartBody1270822074802932327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815204466,"filename":"image_09122025_04_10_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbd78d5810ca93d70d88cb49ece1ffc0.jpg","text":"TemporaryFile(/tmp/multipartBody1346469744943431210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815204466,"filename":"image_09122025_04_12_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/279ea9ba2a8179e6c606c73cc18ce77d.jpg","text":"TemporaryFile(/tmp/multipartBody5095130087582487388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815204466,"filename":"image_09122025_04_13_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/955278051a3d363e2a11167a91f12a96.jpg","text":"TemporaryFile(/tmp/multipartBody2982738267972411268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815204466,"filename":"image_09122025_04_12_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92722035f241a38e1a92a9866011ef07.jpg","text":"TemporaryFile(/tmp/multipartBody1691468577885974487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815204466,"filename":"image_09122025_04_12_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/12/27/f86652167153aca88da9a9eb9442b457.jpg","text":"TemporaryFile(/tmp/multipartBody1455672896921625638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815204466,"filename":"image_09122025_04_12_55_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223800","file1":"1401223798","file0":"1401223796","file4":"1401223804","file5":"1401223807","file3":"1401223802"},"map_files_photo_id_array":[{"photo_id":"1401223807","filename":"file5"},{"photo_id":"1401223800","filename":"file2"},{"photo_id":"1401223804","filename":"file4"},{"photo_id":"1401223798","filename":"file1"},{"photo_id":"1401223796","filename":"file0"},{"photo_id":"1401223802","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223807":["hashtag1","hashtag2"]},{"1401223804":["hashtag1","hashtag2"]},{"1401223796":["hashtag1","hashtag2"]},{"1401223800":["hashtag1","hashtag2"]},{"1401223802":["hashtag1","hashtag2"]},{"1401223798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223807, 1401223804, 1401223796, 1401223800, 1401223802, 1401223798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9259147644043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 06:59:47.780732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/09/image_09122025_04_10_05_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/04/09/image_09122025_04_09_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/04/08/image_09122025_04_08_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/04/08/image_09122025_04_08_34_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/04/07/image_09122025_04_08_04_9659.jpg', 2), ('/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_45_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/09/image_09122025_04_10_05_10648.jpg', '/home/nano/Desktop/images/09122025/04/09/image_09122025_04_09_54_9633.jpg', '/home/nano/Desktop/images/09122025/04/08/image_09122025_04_08_45_10645.jpg', '/home/nano/Desktop/images/09122025/04/08/image_09122025_04_08_34_9646.jpg', '/home/nano/Desktop/images/09122025/04/07/image_09122025_04_08_04_9659.jpg', '/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_45_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/09/image_09122025_04_10_05_10648.jpg
/home/nano/Desktop/images/09122025/04/09/image_09122025_04_09_54_9633.jpg
/home/nano/Desktop/images/09122025/04/08/image_09122025_04_08_45_10645.jpg
/home/nano/Desktop/images/09122025/04/08/image_09122025_04_08_34_9646.jpg
/home/nano/Desktop/images/09122025/04/07/image_09122025_04_08_04_9659.jpg
/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_45_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":["1401223819","1401223857","1401223821","1401223818","1401223826","1401223820"],"photo_ids_order":["1401223818","1401223819","1401223820","1401223821","1401223826","1401223857"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2671d8f902fc35ef7194a84e48a92934.jpg","text":"TemporaryFile(/tmp/multipartBody4777549853201378236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815248598,"filename":"image_09122025_04_09_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/12/27/de1682c03aa60518703747fa7fd39a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7068222138278673352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815248598,"filename":"image_09122025_04_07_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01c4de9bc3d6439c1f3acdd48c80b246.jpg","text":"TemporaryFile(/tmp/multipartBody8023700178282896357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815248598,"filename":"image_09122025_04_08_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/12/27/9a049d725b75070eba8c0637d6edd116.jpg","text":"TemporaryFile(/tmp/multipartBody3513939264026031581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815248598,"filename":"image_09122025_04_10_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d607020ce8532384eabe756d20f988e.jpg","text":"TemporaryFile(/tmp/multipartBody2651508443808908866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815248598,"filename":"image_09122025_04_08_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/12/27/3cde0c52d512a46c9636a886e9ca0fbb.jpg","text":"TemporaryFile(/tmp/multipartBody8114222333790906401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815248598,"filename":"image_09122025_04_08_45_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401223820","file1":"1401223819","file0":"1401223818","file4":"1401223826","file5":"1401223857","file3":"1401223821"},"map_files_photo_id_array":[{"photo_id":"1401223857","filename":"file5"},{"photo_id":"1401223820","filename":"file2"},{"photo_id":"1401223826","filename":"file4"},{"photo_id":"1401223819","filename":"file1"},{"photo_id":"1401223818","filename":"file0"},{"photo_id":"1401223821","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401223819":["hashtag1","hashtag2"]},{"1401223857":["hashtag1","hashtag2"]},{"1401223821":["hashtag1","hashtag2"]},{"1401223818":["hashtag1","hashtag2"]},{"1401223826":["hashtag1","hashtag2"]},{"1401223820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401223819, 1401223857, 1401223821, 1401223818, 1401223826, 1401223820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59649682044983 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:00:31.909641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/04/06/image_09122025_04_07_04_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_14_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_34_9635.jpg', '/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_15_10660.jpg', '/home/nano/Desktop/images/09122025/04/06/image_09122025_04_07_04_9656.jpg', '/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_55_9635.jpg', '/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_45_10645.jpg', '/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_14_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_34_9635.jpg
/home/nano/Desktop/images/09122025/04/07/image_09122025_04_07_15_10660.jpg
/home/nano/Desktop/images/09122025/04/06/image_09122025_04_07_04_9656.jpg
/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_55_9635.jpg
/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_45_10645.jpg
/home/nano/Desktop/images/09122025/04/06/image_09122025_04_06_14_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":["1401224494","1401224170","1401224371","1401224233","1401224434","1401224308"],"photo_ids_order":["1401224170","1401224233","1401224308","1401224371","1401224434","1401224494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/970317cd2d25208e62a809088c3f70ca.jpg","text":"TemporaryFile(/tmp/multipartBody4074936477225988858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815292744,"filename":"image_09122025_04_06_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/12/27/64086c1f095b403a8a4e1aabf85f4494.jpg","text":"TemporaryFile(/tmp/multipartBody574862830405639725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815292744,"filename":"image_09122025_04_07_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/12/27/080f2d0aa1bc7a1e56dfbbf83cd2ce33.jpg","text":"TemporaryFile(/tmp/multipartBody2446241875256259490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815292744,"filename":"image_09122025_04_06_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8ebea661e528cb0abee0d08452ebd60.jpg","text":"TemporaryFile(/tmp/multipartBody8251359191494184496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815292744,"filename":"image_09122025_04_07_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8cb6517c3b603928af9b6d6bbe7fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody1846906663291644010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815292744,"filename":"image_09122025_04_06_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4db8a5f502c5b79cafab10ae51552a06.jpg","text":"TemporaryFile(/tmp/multipartBody4926047071396138756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815292744,"filename":"image_09122025_04_07_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401224308","file1":"1401224233","file0":"1401224170","file4":"1401224434","file5":"1401224494","file3":"1401224371"},"map_files_photo_id_array":[{"photo_id":"1401224494","filename":"file5"},{"photo_id":"1401224308","filename":"file2"},{"photo_id":"1401224434","filename":"file4"},{"photo_id":"1401224233","filename":"file1"},{"photo_id":"1401224170","filename":"file0"},{"photo_id":"1401224371","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401224494":["hashtag1","hashtag2"]},{"1401224170":["hashtag1","hashtag2"]},{"1401224371":["hashtag1","hashtag2"]},{"1401224233":["hashtag1","hashtag2"]},{"1401224434":["hashtag1","hashtag2"]},{"1401224308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401224494, 1401224170, 1401224371, 1401224233, 1401224434, 1401224308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.667086124420166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:01:16.988788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/05/image_09122025_04_05_44_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/04/05/image_09122025_04_05_34_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/04/image_09122025_04_05_05_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_25_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/05/image_09122025_04_05_44_9638.jpg', '/home/nano/Desktop/images/09122025/04/05/image_09122025_04_05_34_9649.jpg', '/home/nano/Desktop/images/09122025/04/04/image_09122025_04_05_05_9639.jpg', '/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_44_9634.jpg', '/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_35_9634.jpg', '/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_25_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/05/image_09122025_04_05_44_9638.jpg
/home/nano/Desktop/images/09122025/04/05/image_09122025_04_05_34_9649.jpg
/home/nano/Desktop/images/09122025/04/04/image_09122025_04_05_05_9639.jpg
/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_44_9634.jpg
/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_35_9634.jpg
/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_25_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":["1401225395","1401225005","1401224939","1401225232","1401225084","1401224874"],"photo_ids_order":["1401224874","1401224939","1401225005","1401225084","1401225232","1401225395"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cde6d6edd7564902f9fc050d1501a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7481434760555824091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815337816,"filename":"image_09122025_04_04_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5f42ef407e72de9d7bee312bb80c8cc.jpg","text":"TemporaryFile(/tmp/multipartBody7315501297174473342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815337816,"filename":"image_09122025_04_05_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57c4bc078edf337e293d4923681fa986.jpg","text":"TemporaryFile(/tmp/multipartBody72279210025550032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815337816,"filename":"image_09122025_04_05_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/12/27/46f79917ae8cb20343009e2b35d3df91.jpg","text":"TemporaryFile(/tmp/multipartBody8762526068333722370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815337816,"filename":"image_09122025_04_04_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/891d9f74ed8f322846004b8c6498e763.jpg","text":"TemporaryFile(/tmp/multipartBody552789219586178914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815337816,"filename":"image_09122025_04_04_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/12/27/24df3bfeb3ad1d338cb9f04fb5617840.jpg","text":"TemporaryFile(/tmp/multipartBody6963498329784695474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815337816,"filename":"image_09122025_04_05_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401225005","file1":"1401224939","file0":"1401224874","file4":"1401225232","file5":"1401225395","file3":"1401225084"},"map_files_photo_id_array":[{"photo_id":"1401225395","filename":"file5"},{"photo_id":"1401225005","filename":"file2"},{"photo_id":"1401225232","filename":"file4"},{"photo_id":"1401224939","filename":"file1"},{"photo_id":"1401224874","filename":"file0"},{"photo_id":"1401225084","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401225395":["hashtag1","hashtag2"]},{"1401225005":["hashtag1","hashtag2"]},{"1401224939":["hashtag1","hashtag2"]},{"1401225232":["hashtag1","hashtag2"]},{"1401225084":["hashtag1","hashtag2"]},{"1401224874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401225395, 1401225005, 1401224939, 1401225232, 1401225084, 1401224874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.583046197891235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:02:02.602761
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_14_9670.jpg', 2), ('/home/nano/Desktop/images/09122025/04/03/image_09122025_04_04_05_9665.jpg', 2), ('/home/nano/Desktop/images/09122025/04/03/image_09122025_04_03_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_45_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_24_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_14_9670.jpg', '/home/nano/Desktop/images/09122025/04/03/image_09122025_04_04_05_9665.jpg', '/home/nano/Desktop/images/09122025/04/03/image_09122025_04_03_44_9637.jpg', '/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_45_9634.jpg', '/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_35_10643.jpg', '/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_24_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/04/image_09122025_04_04_14_9670.jpg
/home/nano/Desktop/images/09122025/04/03/image_09122025_04_04_05_9665.jpg
/home/nano/Desktop/images/09122025/04/03/image_09122025_04_03_44_9637.jpg
/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_45_9634.jpg
/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_35_10643.jpg
/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_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":["1401225935","1401225737","1401225803","1401225707","1401225685","1401225870"],"photo_ids_order":["1401225685","1401225707","1401225737","1401225803","1401225870","1401225935"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20d5c554a52b550a3c21a9e5ba0c6a55.jpg","text":"TemporaryFile(/tmp/multipartBody7747679823072279815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815383499,"filename":"image_09122025_04_02_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/12/27/ff7f7aec956e77549c86620bf634e528.jpg","text":"TemporaryFile(/tmp/multipartBody4374113024872774630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815383499,"filename":"image_09122025_04_03_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/12/27/d1d6e8b76102b99e2b3c57f39149be42.jpg","text":"TemporaryFile(/tmp/multipartBody5498329977702956347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815383499,"filename":"image_09122025_04_02_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b047246b5e50350ae4e46c425ea80a13.jpg","text":"TemporaryFile(/tmp/multipartBody1578694866619933884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815383499,"filename":"image_09122025_04_04_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a410da295a4f2b1903c519b2c33e54dc.jpg","text":"TemporaryFile(/tmp/multipartBody8216791096623872737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815383499,"filename":"image_09122025_04_04_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/12/27/5f30e42ea2e9157c8115604783ab0e85.jpg","text":"TemporaryFile(/tmp/multipartBody7820423904284314466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815383499,"filename":"image_09122025_04_02_35_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401225737","file1":"1401225707","file0":"1401225685","file4":"1401225870","file5":"1401225935","file3":"1401225803"},"map_files_photo_id_array":[{"photo_id":"1401225935","filename":"file5"},{"photo_id":"1401225737","filename":"file2"},{"photo_id":"1401225870","filename":"file4"},{"photo_id":"1401225707","filename":"file1"},{"photo_id":"1401225685","filename":"file0"},{"photo_id":"1401225803","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401225935":["hashtag1","hashtag2"]},{"1401225737":["hashtag1","hashtag2"]},{"1401225803":["hashtag1","hashtag2"]},{"1401225707":["hashtag1","hashtag2"]},{"1401225685":["hashtag1","hashtag2"]},{"1401225870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401225935, 1401225737, 1401225803, 1401225707, 1401225685, 1401225870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51652503013611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:02:47.074599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_15_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/04/01/image_09122025_04_01_45_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/04/00/image_09122025_04_01_05_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_34_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_15_9652.jpg', '/home/nano/Desktop/images/09122025/04/01/image_09122025_04_01_45_9649.jpg', '/home/nano/Desktop/images/09122025/04/00/image_09122025_04_01_05_10647.jpg', '/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_54_9631.jpg', '/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_45_10642.jpg', '/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/02/image_09122025_04_02_15_9652.jpg
/home/nano/Desktop/images/09122025/04/01/image_09122025_04_01_45_9649.jpg
/home/nano/Desktop/images/09122025/04/00/image_09122025_04_01_05_10647.jpg
/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_54_9631.jpg
/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_45_10642.jpg
/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_34_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":["1401226436","1401226352","1401226288","1401226600","1401226519","1401226566"],"photo_ids_order":["1401226288","1401226352","1401226436","1401226519","1401226566","1401226600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45a867808b53b86b78f55b5fc0de02c4.jpg","text":"TemporaryFile(/tmp/multipartBody6032934138583350114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815427895,"filename":"image_09122025_04_01_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29f7815b8c9c70e20e2c953180452a00.jpg","text":"TemporaryFile(/tmp/multipartBody6570692272912747782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815427895,"filename":"image_09122025_04_01_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21423a3f9786faecd0194540d8eb20a3.jpg","text":"TemporaryFile(/tmp/multipartBody4500479864088496624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815427895,"filename":"image_09122025_04_02_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6272dd3a5c0f644e343b1392bf0c5b43.jpg","text":"TemporaryFile(/tmp/multipartBody4521880188558853373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815427895,"filename":"image_09122025_04_00_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/12/27/bc589149f19d70f48666328850726aec.jpg","text":"TemporaryFile(/tmp/multipartBody8692039636777194571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815427895,"filename":"image_09122025_04_00_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/12/27/d328045f6cb6a0408ea696c5d7290963.jpg","text":"TemporaryFile(/tmp/multipartBody5348606657280663984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815427895,"filename":"image_09122025_04_00_45_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226436","file1":"1401226352","file0":"1401226288","file4":"1401226566","file5":"1401226600","file3":"1401226519"},"map_files_photo_id_array":[{"photo_id":"1401226600","filename":"file5"},{"photo_id":"1401226436","filename":"file2"},{"photo_id":"1401226566","filename":"file4"},{"photo_id":"1401226352","filename":"file1"},{"photo_id":"1401226288","filename":"file0"},{"photo_id":"1401226519","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226436":["hashtag1","hashtag2"]},{"1401226352":["hashtag1","hashtag2"]},{"1401226288":["hashtag1","hashtag2"]},{"1401226600":["hashtag1","hashtag2"]},{"1401226519":["hashtag1","hashtag2"]},{"1401226566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226436, 1401226352, 1401226288, 1401226600, 1401226519, 1401226566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5192768573761 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:03:32.199446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_25_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/03/59/image_09122025_04_00_04_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/59/image_09122025_03_59_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/59/image_09122025_03_59_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/58/image_09122025_03_59_04_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_25_9636.jpg', '/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_15_10661.jpg', '/home/nano/Desktop/images/09122025/03/59/image_09122025_04_00_04_9634.jpg', '/home/nano/Desktop/images/09122025/03/59/image_09122025_03_59_55_9633.jpg', '/home/nano/Desktop/images/09122025/03/59/image_09122025_03_59_34_9634.jpg', '/home/nano/Desktop/images/09122025/03/58/image_09122025_03_59_04_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_25_9636.jpg
/home/nano/Desktop/images/09122025/04/00/image_09122025_04_00_15_10661.jpg
/home/nano/Desktop/images/09122025/03/59/image_09122025_04_00_04_9634.jpg
/home/nano/Desktop/images/09122025/03/59/image_09122025_03_59_55_9633.jpg
/home/nano/Desktop/images/09122025/03/59/image_09122025_03_59_34_9634.jpg
/home/nano/Desktop/images/09122025/03/58/image_09122025_03_59_04_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":["1401226814","1401226873","1401226863","1401226791","1401226848","1401226812"],"photo_ids_order":["1401226791","1401226812","1401226814","1401226848","1401226863","1401226873"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0023eda28131bfbfe0af3217279ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody3014169328726499708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815473015,"filename":"image_09122025_04_00_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/12/27/a55c5f272563633100ec54f1772e1d87.jpg","text":"TemporaryFile(/tmp/multipartBody1105905287032968493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815473015,"filename":"image_09122025_03_59_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/12/27/c5387d7924e225a0c70a67e60ec06aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7159061006595359726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815473015,"filename":"image_09122025_03_59_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/12/27/5f8a838dcf5a275b9e9e0f1c3ecbd942.jpg","text":"TemporaryFile(/tmp/multipartBody4491882219183701972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815473015,"filename":"image_09122025_04_00_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54264770666a36ad3bfcb48ab1ea0b34.jpg","text":"TemporaryFile(/tmp/multipartBody1290024287839152556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815473015,"filename":"image_09122025_03_59_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3229deebb68835344d33f70ca19410c9.jpg","text":"TemporaryFile(/tmp/multipartBody3434919408430147962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815473015,"filename":"image_09122025_04_00_15_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226814","file1":"1401226812","file0":"1401226791","file4":"1401226863","file5":"1401226873","file3":"1401226848"},"map_files_photo_id_array":[{"photo_id":"1401226873","filename":"file5"},{"photo_id":"1401226814","filename":"file2"},{"photo_id":"1401226863","filename":"file4"},{"photo_id":"1401226812","filename":"file1"},{"photo_id":"1401226791","filename":"file0"},{"photo_id":"1401226848","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226814":["hashtag1","hashtag2"]},{"1401226873":["hashtag1","hashtag2"]},{"1401226863":["hashtag1","hashtag2"]},{"1401226791":["hashtag1","hashtag2"]},{"1401226848":["hashtag1","hashtag2"]},{"1401226812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226814, 1401226873, 1401226863, 1401226791, 1401226848, 1401226812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38574528694153 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:04:17.268024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/58/image_09122025_03_58_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/58/image_09122025_03_58_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/03/57/image_09122025_03_57_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/03/57/image_09122025_03_57_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/56/image_09122025_03_57_05_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/03/56/image_09122025_03_56_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/58/image_09122025_03_58_55_10644.jpg', '/home/nano/Desktop/images/09122025/03/58/image_09122025_03_58_44_9637.jpg', '/home/nano/Desktop/images/09122025/03/57/image_09122025_03_57_55_10641.jpg', '/home/nano/Desktop/images/09122025/03/57/image_09122025_03_57_25_10644.jpg', '/home/nano/Desktop/images/09122025/03/56/image_09122025_03_57_05_9648.jpg', '/home/nano/Desktop/images/09122025/03/56/image_09122025_03_56_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/58/image_09122025_03_58_55_10644.jpg
/home/nano/Desktop/images/09122025/03/58/image_09122025_03_58_44_9637.jpg
/home/nano/Desktop/images/09122025/03/57/image_09122025_03_57_55_10641.jpg
/home/nano/Desktop/images/09122025/03/57/image_09122025_03_57_25_10644.jpg
/home/nano/Desktop/images/09122025/03/56/image_09122025_03_57_05_9648.jpg
/home/nano/Desktop/images/09122025/03/56/image_09122025_03_56_55_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":["1401226883","1401226886","1401226885","1401226888","1401226882","1401226887"],"photo_ids_order":["1401226882","1401226883","1401226885","1401226886","1401226887","1401226888"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01e6c1bca391d8d66b19d70761fdecca.jpg","text":"TemporaryFile(/tmp/multipartBody619422605444975843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815518099,"filename":"image_09122025_03_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/12/27/8347783f70d103f898d1953321f4086e.jpg","text":"TemporaryFile(/tmp/multipartBody499507202889831325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815518099,"filename":"image_09122025_03_57_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/090f9cc6186497bf0fc45108695dd35f.jpg","text":"TemporaryFile(/tmp/multipartBody4173650694261215286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815518099,"filename":"image_09122025_03_57_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78f0d4aa76d74720066c08d7234d8093.jpg","text":"TemporaryFile(/tmp/multipartBody7444232453593027816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815518099,"filename":"image_09122025_03_56_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45ca8ecf4070997b1fbc6e5ab6b51c2d.jpg","text":"TemporaryFile(/tmp/multipartBody8244566891805734727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815518099,"filename":"image_09122025_03_58_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27b655042133d8a20945658a91c23777.jpg","text":"TemporaryFile(/tmp/multipartBody2702535523013435951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815518099,"filename":"image_09122025_03_57_05_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226885","file1":"1401226883","file0":"1401226882","file4":"1401226887","file5":"1401226888","file3":"1401226886"},"map_files_photo_id_array":[{"photo_id":"1401226888","filename":"file5"},{"photo_id":"1401226885","filename":"file2"},{"photo_id":"1401226887","filename":"file4"},{"photo_id":"1401226883","filename":"file1"},{"photo_id":"1401226882","filename":"file0"},{"photo_id":"1401226886","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226883":["hashtag1","hashtag2"]},{"1401226886":["hashtag1","hashtag2"]},{"1401226885":["hashtag1","hashtag2"]},{"1401226888":["hashtag1","hashtag2"]},{"1401226882":["hashtag1","hashtag2"]},{"1401226887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226883, 1401226886, 1401226885, 1401226888, 1401226882, 1401226887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38083457946777 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:05:03.153578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/56/image_09122025_03_56_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/03/55/image_09122025_03_56_05_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_15_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/56/image_09122025_03_56_24_9631.jpg', '/home/nano/Desktop/images/09122025/03/55/image_09122025_03_56_05_10644.jpg', '/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_54_9632.jpg', '/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_24_9634.jpg', '/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_15_9646.jpg', '/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/56/image_09122025_03_56_24_9631.jpg
/home/nano/Desktop/images/09122025/03/55/image_09122025_03_56_05_10644.jpg
/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_54_9632.jpg
/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_24_9634.jpg
/home/nano/Desktop/images/09122025/03/55/image_09122025_03_55_15_9646.jpg
/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_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":["1401226904","1401226897","1401226906","1401226909","1401226899","1401226895"],"photo_ids_order":["1401226895","1401226897","1401226899","1401226904","1401226906","1401226909"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f3e43081598b2e7ff227f9ef9d5a25f.jpg","text":"TemporaryFile(/tmp/multipartBody7652513153212431177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815564057,"filename":"image_09122025_03_55_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/12/27/caae5e8179febc70907608f2c6b9fb1e.jpg","text":"TemporaryFile(/tmp/multipartBody2878720116852715410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815564057,"filename":"image_09122025_03_56_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6d564039da4c26ec98568b0175caa46.jpg","text":"TemporaryFile(/tmp/multipartBody8712570971220449800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815564057,"filename":"image_09122025_03_55_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a401e88367cbd24fddfec44ee501aece.jpg","text":"TemporaryFile(/tmp/multipartBody4217968672005727952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815564057,"filename":"image_09122025_03_54_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/12/27/b69ae979afadb466c1be611e5116eb7b.jpg","text":"TemporaryFile(/tmp/multipartBody1798841729886740425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815564057,"filename":"image_09122025_03_55_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/12/27/268f52c74eba00b201099c5deacaa51b.jpg","text":"TemporaryFile(/tmp/multipartBody8016504533245567074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815564057,"filename":"image_09122025_03_56_24_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226899","file1":"1401226897","file0":"1401226895","file4":"1401226906","file5":"1401226909","file3":"1401226904"},"map_files_photo_id_array":[{"photo_id":"1401226909","filename":"file5"},{"photo_id":"1401226899","filename":"file2"},{"photo_id":"1401226906","filename":"file4"},{"photo_id":"1401226897","filename":"file1"},{"photo_id":"1401226895","filename":"file0"},{"photo_id":"1401226904","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226904":["hashtag1","hashtag2"]},{"1401226897":["hashtag1","hashtag2"]},{"1401226906":["hashtag1","hashtag2"]},{"1401226909":["hashtag1","hashtag2"]},{"1401226899":["hashtag1","hashtag2"]},{"1401226895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226904, 1401226897, 1401226906, 1401226909, 1401226899, 1401226895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84322762489319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:05:47.353515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_45_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_24_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_15_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_34_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_45_9651.jpg', '/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_24_9651.jpg', '/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_15_9652.jpg', '/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_54_9634.jpg', '/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_45_10645.jpg', '/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_45_9651.jpg
/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_24_9651.jpg
/home/nano/Desktop/images/09122025/03/54/image_09122025_03_54_15_9652.jpg
/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_54_9634.jpg
/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_45_10645.jpg
/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_34_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":["1401226925","1401226919","1401226921","1401226918","1401226920","1401226923"],"photo_ids_order":["1401226918","1401226919","1401226920","1401226921","1401226923","1401226925"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/508ccf8bce6ded552e914069866d10e9.jpg","text":"TemporaryFile(/tmp/multipartBody5449151587884541247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815608171,"filename":"image_09122025_03_53_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/12/27/7deae7b63cd198ac7bd517aabdd4794f.jpg","text":"TemporaryFile(/tmp/multipartBody3292375522230484798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815608171,"filename":"image_09122025_03_54_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/12/27/0d1d66fd4e99c77520916f4a301d8039.jpg","text":"TemporaryFile(/tmp/multipartBody4354989747361876443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815608171,"filename":"image_09122025_03_53_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/12/27/2f55e1e441e5bbbe84601d1f850b6c21.jpg","text":"TemporaryFile(/tmp/multipartBody5143176666562702773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815608171,"filename":"image_09122025_03_54_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/898eb1217ab3614a380f151ac811ad2c.jpg","text":"TemporaryFile(/tmp/multipartBody5443842549325854406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815608171,"filename":"image_09122025_03_54_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebd480ac83cc32f0470d1e6366655f99.jpg","text":"TemporaryFile(/tmp/multipartBody5765500734853568355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815608171,"filename":"image_09122025_03_53_45_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226920","file1":"1401226919","file0":"1401226918","file4":"1401226923","file5":"1401226925","file3":"1401226921"},"map_files_photo_id_array":[{"photo_id":"1401226925","filename":"file5"},{"photo_id":"1401226920","filename":"file2"},{"photo_id":"1401226923","filename":"file4"},{"photo_id":"1401226919","filename":"file1"},{"photo_id":"1401226918","filename":"file0"},{"photo_id":"1401226921","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226925":["hashtag1","hashtag2"]},{"1401226919":["hashtag1","hashtag2"]},{"1401226921":["hashtag1","hashtag2"]},{"1401226918":["hashtag1","hashtag2"]},{"1401226920":["hashtag1","hashtag2"]},{"1401226923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226925, 1401226919, 1401226921, 1401226918, 1401226920, 1401226923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25632095336914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:06:32.461394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_25_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_25_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/03/51/image_09122025_03_51_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/50/image_09122025_03_51_05_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_55_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_25_9633.jpg', '/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_55_9635.jpg', '/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_25_9630.jpg', '/home/nano/Desktop/images/09122025/03/51/image_09122025_03_51_25_10642.jpg', '/home/nano/Desktop/images/09122025/03/50/image_09122025_03_51_05_9639.jpg', '/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_55_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_25_9633.jpg
/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_55_9635.jpg
/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_25_9630.jpg
/home/nano/Desktop/images/09122025/03/51/image_09122025_03_51_25_10642.jpg
/home/nano/Desktop/images/09122025/03/50/image_09122025_03_51_05_9639.jpg
/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_55_10643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.711829662322998 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:06:47.438558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_25_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_25_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/03/51/image_09122025_03_51_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/50/image_09122025_03_51_05_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_55_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_25_9633.jpg', '/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_55_9635.jpg', '/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_25_9630.jpg', '/home/nano/Desktop/images/09122025/03/51/image_09122025_03_51_25_10642.jpg', '/home/nano/Desktop/images/09122025/03/50/image_09122025_03_51_05_9639.jpg', '/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_55_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/53/image_09122025_03_53_25_9633.jpg
/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_55_9635.jpg
/home/nano/Desktop/images/09122025/03/52/image_09122025_03_52_25_9630.jpg
/home/nano/Desktop/images/09122025/03/51/image_09122025_03_51_25_10642.jpg
/home/nano/Desktop/images/09122025/03/50/image_09122025_03_51_05_9639.jpg
/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_55_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":["1401226943","1401226946","1401226948","1401226945","1401226944","1401226941"],"photo_ids_order":["1401226941","1401226943","1401226944","1401226945","1401226946","1401226948"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4159ba897ec7990abaf48adf7759043.jpg","text":"TemporaryFile(/tmp/multipartBody2104202419412100743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815668239,"filename":"image_09122025_03_52_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0fc20ce3127280494a238b826ad28472.jpg","text":"TemporaryFile(/tmp/multipartBody4262287230537851906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815668239,"filename":"image_09122025_03_51_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c7cd738b00a1958d5d46a1fec41cbca.jpg","text":"TemporaryFile(/tmp/multipartBody5020979594600778865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815668239,"filename":"image_09122025_03_50_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c39913c866ad7797b671722aa4c9ccf.jpg","text":"TemporaryFile(/tmp/multipartBody905249103631657826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815668239,"filename":"image_09122025_03_51_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46771190841b99e71152c07c32440bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7887033918147753500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815668239,"filename":"image_09122025_03_52_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e5ec44c629e6f29831761033edf7f33.jpg","text":"TemporaryFile(/tmp/multipartBody583210941524246422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815668239,"filename":"image_09122025_03_53_25_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226944","file1":"1401226943","file0":"1401226941","file4":"1401226946","file5":"1401226948","file3":"1401226945"},"map_files_photo_id_array":[{"photo_id":"1401226948","filename":"file5"},{"photo_id":"1401226944","filename":"file2"},{"photo_id":"1401226946","filename":"file4"},{"photo_id":"1401226943","filename":"file1"},{"photo_id":"1401226941","filename":"file0"},{"photo_id":"1401226945","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226943":["hashtag1","hashtag2"]},{"1401226946":["hashtag1","hashtag2"]},{"1401226948":["hashtag1","hashtag2"]},{"1401226945":["hashtag1","hashtag2"]},{"1401226944":["hashtag1","hashtag2"]},{"1401226941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226943, 1401226946, 1401226948, 1401226945, 1401226944, 1401226941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57994246482849 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:07:32.549587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_44_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_35_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/49/image_09122025_03_50_05_9670.jpg', 2), ('/home/nano/Desktop/images/09122025/03/49/image_09122025_03_49_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/49/image_09122025_03_49_14_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_44_9649.jpg', '/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_35_9651.jpg', '/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_25_10642.jpg', '/home/nano/Desktop/images/09122025/03/49/image_09122025_03_50_05_9670.jpg', '/home/nano/Desktop/images/09122025/03/49/image_09122025_03_49_25_10642.jpg', '/home/nano/Desktop/images/09122025/03/49/image_09122025_03_49_14_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_44_9649.jpg
/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_35_9651.jpg
/home/nano/Desktop/images/09122025/03/50/image_09122025_03_50_25_10642.jpg
/home/nano/Desktop/images/09122025/03/49/image_09122025_03_50_05_9670.jpg
/home/nano/Desktop/images/09122025/03/49/image_09122025_03_49_25_10642.jpg
/home/nano/Desktop/images/09122025/03/49/image_09122025_03_49_14_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":["1401226961","1401226964","1401226958","1401226960","1401226963","1401226956"],"photo_ids_order":["1401226956","1401226958","1401226960","1401226961","1401226963","1401226964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/051725c0e8e996169a52b10233a0f6cb.jpg","text":"TemporaryFile(/tmp/multipartBody897805399329543003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815713361,"filename":"image_09122025_03_50_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b16f49fbf11441ff635018cc95dc383.jpg","text":"TemporaryFile(/tmp/multipartBody8326798464567460626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815713361,"filename":"image_09122025_03_49_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/12/27/8b22f58485f1af168cfb69f5718253c7.jpg","text":"TemporaryFile(/tmp/multipartBody2545706388309622763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815713361,"filename":"image_09122025_03_50_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdd8e314242ddc48d0caf53e59e1aae1.jpg","text":"TemporaryFile(/tmp/multipartBody6206241686040522899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815713361,"filename":"image_09122025_03_50_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/deb1e4d24cb1a2f23ed4bc6c31f9b708.jpg","text":"TemporaryFile(/tmp/multipartBody2355304363884732973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815713361,"filename":"image_09122025_03_49_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bdc9d21061d954f66797615bf295e79.jpg","text":"TemporaryFile(/tmp/multipartBody3173462087887121043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815713361,"filename":"image_09122025_03_50_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226960","file1":"1401226958","file0":"1401226956","file4":"1401226963","file5":"1401226964","file3":"1401226961"},"map_files_photo_id_array":[{"photo_id":"1401226964","filename":"file5"},{"photo_id":"1401226960","filename":"file2"},{"photo_id":"1401226963","filename":"file4"},{"photo_id":"1401226958","filename":"file1"},{"photo_id":"1401226956","filename":"file0"},{"photo_id":"1401226961","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226961":["hashtag1","hashtag2"]},{"1401226964":["hashtag1","hashtag2"]},{"1401226958":["hashtag1","hashtag2"]},{"1401226960":["hashtag1","hashtag2"]},{"1401226963":["hashtag1","hashtag2"]},{"1401226956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226961, 1401226964, 1401226958, 1401226960, 1401226963, 1401226956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86246204376221 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:08:17.686503
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/48/image_09122025_03_49_05_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/03/48/image_09122025_03_48_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/03/48/image_09122025_03_48_15_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/47/image_09122025_03_47_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/47/image_09122025_03_47_15_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/03/46/image_09122025_03_47_05_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/48/image_09122025_03_49_05_10649.jpg', '/home/nano/Desktop/images/09122025/03/48/image_09122025_03_48_44_9635.jpg', '/home/nano/Desktop/images/09122025/03/48/image_09122025_03_48_15_9644.jpg', '/home/nano/Desktop/images/09122025/03/47/image_09122025_03_47_24_9633.jpg', '/home/nano/Desktop/images/09122025/03/47/image_09122025_03_47_15_9657.jpg', '/home/nano/Desktop/images/09122025/03/46/image_09122025_03_47_05_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/48/image_09122025_03_49_05_10649.jpg
/home/nano/Desktop/images/09122025/03/48/image_09122025_03_48_44_9635.jpg
/home/nano/Desktop/images/09122025/03/48/image_09122025_03_48_15_9644.jpg
/home/nano/Desktop/images/09122025/03/47/image_09122025_03_47_24_9633.jpg
/home/nano/Desktop/images/09122025/03/47/image_09122025_03_47_15_9657.jpg
/home/nano/Desktop/images/09122025/03/46/image_09122025_03_47_05_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":["1401226976","1401226978","1401226972","1401226980","1401226971","1401226974"],"photo_ids_order":["1401226971","1401226972","1401226974","1401226976","1401226978","1401226980"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a52771e6817d904b54f2d2ca51fe20cb.jpg","text":"TemporaryFile(/tmp/multipartBody3541038600367407216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815758537,"filename":"image_09122025_03_47_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/12/27/336c4c6f6800881942a3ef4fbb2c6017.jpg","text":"TemporaryFile(/tmp/multipartBody993226840350952548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815758537,"filename":"image_09122025_03_47_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed37493eee273fc237655db51c353b86.jpg","text":"TemporaryFile(/tmp/multipartBody4972327870228239979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815758537,"filename":"image_09122025_03_48_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/12/27/3bc5b2ec8dfdc4b2a6e8328efaf3a644.jpg","text":"TemporaryFile(/tmp/multipartBody8744187571333937829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815758537,"filename":"image_09122025_03_47_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51f7cdae880ec6d29ad61631e16b153b.jpg","text":"TemporaryFile(/tmp/multipartBody7490071880923421508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815758537,"filename":"image_09122025_03_49_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4d600515014155ace58363c252054c5.jpg","text":"TemporaryFile(/tmp/multipartBody9182959088898543398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815758537,"filename":"image_09122025_03_48_15_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401226974","file1":"1401226972","file0":"1401226971","file4":"1401226978","file5":"1401226980","file3":"1401226976"},"map_files_photo_id_array":[{"photo_id":"1401226980","filename":"file5"},{"photo_id":"1401226974","filename":"file2"},{"photo_id":"1401226978","filename":"file4"},{"photo_id":"1401226972","filename":"file1"},{"photo_id":"1401226971","filename":"file0"},{"photo_id":"1401226976","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401226976":["hashtag1","hashtag2"]},{"1401226978":["hashtag1","hashtag2"]},{"1401226972":["hashtag1","hashtag2"]},{"1401226980":["hashtag1","hashtag2"]},{"1401226971":["hashtag1","hashtag2"]},{"1401226974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401226976, 1401226978, 1401226972, 1401226980, 1401226971, 1401226974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.264848470687866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:09:02.995177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/03/45/image_09122025_03_45_45_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_54_9634.jpg', '/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_45_10643.jpg', '/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_34_9632.jpg', '/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_24_9635.jpg', '/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_15_10659.jpg', '/home/nano/Desktop/images/09122025/03/45/image_09122025_03_45_45_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_54_9634.jpg
/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_45_10643.jpg
/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_34_9632.jpg
/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_24_9635.jpg
/home/nano/Desktop/images/09122025/03/46/image_09122025_03_46_15_10659.jpg
/home/nano/Desktop/images/09122025/03/45/image_09122025_03_45_45_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":["1401227012","1401227006","1401227009","1401227005","1401227008","1401227007"],"photo_ids_order":["1401227005","1401227006","1401227007","1401227008","1401227009","1401227012"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdcb98aef438c7e4b2677f3d55a0e4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4313765246125283559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815803883,"filename":"image_09122025_03_45_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b714dd0a2d4876211f4f842f095adea7.jpg","text":"TemporaryFile(/tmp/multipartBody1357615340118221931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815803883,"filename":"image_09122025_03_46_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/550e0fda46a7b59b54d27d177e2320af.jpg","text":"TemporaryFile(/tmp/multipartBody2024706176001703060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815803883,"filename":"image_09122025_03_46_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b831f0a5e4c24c5946729e7e23ffa4bd.jpg","text":"TemporaryFile(/tmp/multipartBody5888125187108523422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815803883,"filename":"image_09122025_03_46_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/12/27/2e0faf01360b7d002a38af638c80b13b.jpg","text":"TemporaryFile(/tmp/multipartBody6014270651246883237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815803883,"filename":"image_09122025_03_46_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/12/27/5cfbd211cdd8e52cd0dd7aee6c30d56f.jpg","text":"TemporaryFile(/tmp/multipartBody5822661103874551158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815803883,"filename":"image_09122025_03_46_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227007","file1":"1401227006","file0":"1401227005","file4":"1401227009","file5":"1401227012","file3":"1401227008"},"map_files_photo_id_array":[{"photo_id":"1401227012","filename":"file5"},{"photo_id":"1401227007","filename":"file2"},{"photo_id":"1401227009","filename":"file4"},{"photo_id":"1401227006","filename":"file1"},{"photo_id":"1401227005","filename":"file0"},{"photo_id":"1401227008","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227012":["hashtag1","hashtag2"]},{"1401227006":["hashtag1","hashtag2"]},{"1401227009":["hashtag1","hashtag2"]},{"1401227005":["hashtag1","hashtag2"]},{"1401227008":["hashtag1","hashtag2"]},{"1401227007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227012, 1401227006, 1401227009, 1401227005, 1401227008, 1401227007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74332523345947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:09:46.778683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/44/image_09122025_03_45_04_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/03/44/image_09122025_03_44_55_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/03/44/image_09122025_03_44_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_35_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/44/image_09122025_03_45_04_9654.jpg', '/home/nano/Desktop/images/09122025/03/44/image_09122025_03_44_55_9636.jpg', '/home/nano/Desktop/images/09122025/03/44/image_09122025_03_44_14_9651.jpg', '/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_55_10643.jpg', '/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_44_9632.jpg', '/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_35_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/44/image_09122025_03_45_04_9654.jpg
/home/nano/Desktop/images/09122025/03/44/image_09122025_03_44_55_9636.jpg
/home/nano/Desktop/images/09122025/03/44/image_09122025_03_44_14_9651.jpg
/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_55_10643.jpg
/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_44_9632.jpg
/home/nano/Desktop/images/09122025/03/43/image_09122025_03_43_35_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":["1401227164","1401227050","1401227110","1401227163","1401227142","1401227079"],"photo_ids_order":["1401227050","1401227079","1401227110","1401227142","1401227163","1401227164"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a05bd62746361c348cdbfa070243ee29.jpg","text":"TemporaryFile(/tmp/multipartBody2086501382209214496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815847647,"filename":"image_09122025_03_43_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27ec276e53508b835a18798889dfd6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3158458369738636605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815847647,"filename":"image_09122025_03_45_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/12/27/3f1e5ff4675eb8ccff7c028f22e9cbd0.jpg","text":"TemporaryFile(/tmp/multipartBody1658819459816040775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815847647,"filename":"image_09122025_03_44_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/12/27/c93ee62496f315e0d2bd976dd52124dd.jpg","text":"TemporaryFile(/tmp/multipartBody3814231941713191726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815847647,"filename":"image_09122025_03_43_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/12/27/0440dcdd5ce0522fa024d565b8771364.jpg","text":"TemporaryFile(/tmp/multipartBody4597451614358617493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815847647,"filename":"image_09122025_03_43_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/edcac2d7bf9ef74513f4ef999d7f6692.jpg","text":"TemporaryFile(/tmp/multipartBody4043085160451420674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815847647,"filename":"image_09122025_03_44_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227110","file1":"1401227079","file0":"1401227050","file4":"1401227163","file5":"1401227164","file3":"1401227142"},"map_files_photo_id_array":[{"photo_id":"1401227164","filename":"file5"},{"photo_id":"1401227110","filename":"file2"},{"photo_id":"1401227163","filename":"file4"},{"photo_id":"1401227079","filename":"file1"},{"photo_id":"1401227050","filename":"file0"},{"photo_id":"1401227142","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227164":["hashtag1","hashtag2"]},{"1401227050":["hashtag1","hashtag2"]},{"1401227110":["hashtag1","hashtag2"]},{"1401227163":["hashtag1","hashtag2"]},{"1401227142":["hashtag1","hashtag2"]},{"1401227079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227164, 1401227050, 1401227110, 1401227163, 1401227142, 1401227079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.529929637908936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:10:31.901609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/42/image_09122025_03_43_05_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/03/42/image_09122025_03_42_14_9669.jpg', 2), ('/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_24_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_15_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/42/image_09122025_03_43_05_9637.jpg', '/home/nano/Desktop/images/09122025/03/42/image_09122025_03_42_14_9669.jpg', '/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_44_9633.jpg', '/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_35_10645.jpg', '/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_24_9636.jpg', '/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_15_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/42/image_09122025_03_43_05_9637.jpg
/home/nano/Desktop/images/09122025/03/42/image_09122025_03_42_14_9669.jpg
/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_44_9633.jpg
/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_35_10645.jpg
/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_24_9636.jpg
/home/nano/Desktop/images/09122025/03/41/image_09122025_03_41_15_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":["1401227182","1401227176","1401227179","1401227173","1401227181","1401227171"],"photo_ids_order":["1401227171","1401227173","1401227176","1401227179","1401227181","1401227182"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc01cacb11bcee79dcbaf10ef8517f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6390611455977254775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815892722,"filename":"image_09122025_03_41_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2bc0f1e45090a07c13a4951e4a711fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1608942943496484358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815892722,"filename":"image_09122025_03_41_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/12/27/aa0de100a750822db35c91d1da4ed7ce.jpg","text":"TemporaryFile(/tmp/multipartBody2180357515263035479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815892722,"filename":"image_09122025_03_41_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/009b2cc48c8283bb1e30931ff5af70a0.jpg","text":"TemporaryFile(/tmp/multipartBody1127866853721752958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815892722,"filename":"image_09122025_03_42_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/12/27/aeb45946f33a9d33285f51d37e1c66cc.jpg","text":"TemporaryFile(/tmp/multipartBody7292038872189753378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815892722,"filename":"image_09122025_03_41_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/12/27/0807492433e522fa7fcdccf365c84c5a.jpg","text":"TemporaryFile(/tmp/multipartBody5690330759136051623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815892722,"filename":"image_09122025_03_43_05_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227176","file1":"1401227173","file0":"1401227171","file4":"1401227181","file5":"1401227182","file3":"1401227179"},"map_files_photo_id_array":[{"photo_id":"1401227182","filename":"file5"},{"photo_id":"1401227176","filename":"file2"},{"photo_id":"1401227181","filename":"file4"},{"photo_id":"1401227173","filename":"file1"},{"photo_id":"1401227171","filename":"file0"},{"photo_id":"1401227179","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227182":["hashtag1","hashtag2"]},{"1401227176":["hashtag1","hashtag2"]},{"1401227179":["hashtag1","hashtag2"]},{"1401227173":["hashtag1","hashtag2"]},{"1401227181":["hashtag1","hashtag2"]},{"1401227171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227182, 1401227176, 1401227179, 1401227173, 1401227181, 1401227171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70073342323303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:11:16.986460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_54_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_45_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_35_10666.jpg', 2), ('/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/03/39/image_09122025_03_40_05_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_54_9636.jpg', '/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_45_9642.jpg', '/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_35_10666.jpg', '/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_15_9650.jpg', '/home/nano/Desktop/images/09122025/03/39/image_09122025_03_40_05_10660.jpg', '/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_54_9636.jpg
/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_45_9642.jpg
/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_35_10666.jpg
/home/nano/Desktop/images/09122025/03/40/image_09122025_03_40_15_9650.jpg
/home/nano/Desktop/images/09122025/03/39/image_09122025_03_40_05_10660.jpg
/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_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":["1401227185","1401227198","1401227192","1401227186","1401227195","1401227189"],"photo_ids_order":["1401227185","1401227186","1401227189","1401227192","1401227195","1401227198"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/218252faf488f6f770f96410ead7e25d.jpg","text":"TemporaryFile(/tmp/multipartBody6437239390648734831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815937827,"filename":"image_09122025_03_40_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/12/27/434789cb4ca99bac7e86e767313ae6a3.jpg","text":"TemporaryFile(/tmp/multipartBody359536314368707058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815937827,"filename":"image_09122025_03_39_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/12/27/83d009bfa39052e724a25435b5321c31.jpg","text":"TemporaryFile(/tmp/multipartBody5196258545704823335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815937827,"filename":"image_09122025_03_40_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/80b9a435b979de88b28775b4ba749e18.jpg","text":"TemporaryFile(/tmp/multipartBody6192243454485000939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815937827,"filename":"image_09122025_03_40_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f68be5fe7ec2776648ef06a9030fa66c.jpg","text":"TemporaryFile(/tmp/multipartBody1007924589890324886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815937827,"filename":"image_09122025_03_40_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e109f7e8fe4460fdccbb707e6670136.jpg","text":"TemporaryFile(/tmp/multipartBody308881498071439101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815937827,"filename":"image_09122025_03_40_35_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227189","file1":"1401227186","file0":"1401227185","file4":"1401227195","file5":"1401227198","file3":"1401227192"},"map_files_photo_id_array":[{"photo_id":"1401227198","filename":"file5"},{"photo_id":"1401227189","filename":"file2"},{"photo_id":"1401227195","filename":"file4"},{"photo_id":"1401227186","filename":"file1"},{"photo_id":"1401227185","filename":"file0"},{"photo_id":"1401227192","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227185":["hashtag1","hashtag2"]},{"1401227198":["hashtag1","hashtag2"]},{"1401227192":["hashtag1","hashtag2"]},{"1401227186":["hashtag1","hashtag2"]},{"1401227195":["hashtag1","hashtag2"]},{"1401227189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227185, 1401227198, 1401227192, 1401227186, 1401227195, 1401227189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04941391944885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:12:02.619870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_35_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_25_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_35_10647.jpg', '/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_24_9634.jpg', '/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_15_10661.jpg', '/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_45_10644.jpg', '/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_34_9632.jpg', '/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_35_10647.jpg
/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_24_9634.jpg
/home/nano/Desktop/images/09122025/03/39/image_09122025_03_39_15_10661.jpg
/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_45_10644.jpg
/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_34_9632.jpg
/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_25_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":["1401227342","1401227371","1401227373","1401227370","1401227372","1401227375"],"photo_ids_order":["1401227342","1401227370","1401227371","1401227372","1401227373","1401227375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/276fdd7dc1e5cbfeae5e51564ba239a4.jpg","text":"TemporaryFile(/tmp/multipartBody7204293644157504814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815983498,"filename":"image_09122025_03_39_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11eba962095ae6588c0873fe0838cbd6.jpg","text":"TemporaryFile(/tmp/multipartBody6639384529646859197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815983498,"filename":"image_09122025_03_39_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0bd4a3d8574da2c6e6aecd2dfd6a8b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5926356650025124955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815983498,"filename":"image_09122025_03_38_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/12/27/d0f1d2f82312a0d6ded228958ff03c91.jpg","text":"TemporaryFile(/tmp/multipartBody6821447832293550342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815983498,"filename":"image_09122025_03_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/12/27/f25858df35fb8208ac4279cd1262dba7.jpg","text":"TemporaryFile(/tmp/multipartBody8188678990293029648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815983498,"filename":"image_09122025_03_38_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/926ee0eed95b2f72a09e393ce3d480fd.jpg","text":"TemporaryFile(/tmp/multipartBody6518948643760322889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766815983498,"filename":"image_09122025_03_38_25_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227371","file1":"1401227370","file0":"1401227342","file4":"1401227373","file5":"1401227375","file3":"1401227372"},"map_files_photo_id_array":[{"photo_id":"1401227375","filename":"file5"},{"photo_id":"1401227371","filename":"file2"},{"photo_id":"1401227373","filename":"file4"},{"photo_id":"1401227370","filename":"file1"},{"photo_id":"1401227342","filename":"file0"},{"photo_id":"1401227372","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227342":["hashtag1","hashtag2"]},{"1401227371":["hashtag1","hashtag2"]},{"1401227373":["hashtag1","hashtag2"]},{"1401227370":["hashtag1","hashtag2"]},{"1401227372":["hashtag1","hashtag2"]},{"1401227375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227342, 1401227371, 1401227373, 1401227370, 1401227372, 1401227375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77762722969055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:12:47.135570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_15_10679.jpg', 2), ('/home/nano/Desktop/images/09122025/03/37/image_09122025_03_37_25_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/37/image_09122025_03_37_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/03/36/image_09122025_03_37_04_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/03/36/image_09122025_03_36_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/36/image_09122025_03_36_14_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_15_10679.jpg', '/home/nano/Desktop/images/09122025/03/37/image_09122025_03_37_25_9632.jpg', '/home/nano/Desktop/images/09122025/03/37/image_09122025_03_37_15_10659.jpg', '/home/nano/Desktop/images/09122025/03/36/image_09122025_03_37_04_9641.jpg', '/home/nano/Desktop/images/09122025/03/36/image_09122025_03_36_44_9634.jpg', '/home/nano/Desktop/images/09122025/03/36/image_09122025_03_36_14_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/38/image_09122025_03_38_15_10679.jpg
/home/nano/Desktop/images/09122025/03/37/image_09122025_03_37_25_9632.jpg
/home/nano/Desktop/images/09122025/03/37/image_09122025_03_37_15_10659.jpg
/home/nano/Desktop/images/09122025/03/36/image_09122025_03_37_04_9641.jpg
/home/nano/Desktop/images/09122025/03/36/image_09122025_03_36_44_9634.jpg
/home/nano/Desktop/images/09122025/03/36/image_09122025_03_36_14_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":["1401227389","1401227401","1401227388","1401227400","1401227399","1401227387"],"photo_ids_order":["1401227387","1401227388","1401227389","1401227399","1401227400","1401227401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3bf707a4397d561d9be6886185dfb66.jpg","text":"TemporaryFile(/tmp/multipartBody8057905753532387334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816027971,"filename":"image_09122025_03_37_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afd9d67650aab058efdf74fbf27d1812.jpg","text":"TemporaryFile(/tmp/multipartBody8173130310958227196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816027971,"filename":"image_09122025_03_36_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/12/27/df0ef5ff5ae4bb2c40514f4aefcfc957.jpg","text":"TemporaryFile(/tmp/multipartBody6011436053896554846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816027971,"filename":"image_09122025_03_37_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b460385d640f42b6d6cc96322e2b89c9.jpg","text":"TemporaryFile(/tmp/multipartBody3872788287267864581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816027971,"filename":"image_09122025_03_36_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/12/27/ce5239ccf8a79a8fb77974aa071678ba.jpg","text":"TemporaryFile(/tmp/multipartBody1037951561746327714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816027971,"filename":"image_09122025_03_37_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/12/27/8e5bc5fea3b306d09852d8b4b72fbe61.jpg","text":"TemporaryFile(/tmp/multipartBody7287243841919741830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816027971,"filename":"image_09122025_03_38_15_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227389","file1":"1401227388","file0":"1401227387","file4":"1401227400","file5":"1401227401","file3":"1401227399"},"map_files_photo_id_array":[{"photo_id":"1401227401","filename":"file5"},{"photo_id":"1401227389","filename":"file2"},{"photo_id":"1401227400","filename":"file4"},{"photo_id":"1401227388","filename":"file1"},{"photo_id":"1401227387","filename":"file0"},{"photo_id":"1401227399","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227389":["hashtag1","hashtag2"]},{"1401227401":["hashtag1","hashtag2"]},{"1401227388":["hashtag1","hashtag2"]},{"1401227400":["hashtag1","hashtag2"]},{"1401227399":["hashtag1","hashtag2"]},{"1401227387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227389, 1401227401, 1401227388, 1401227400, 1401227399, 1401227387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.869579792022705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:13:32.214815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_14_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_35_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_55_10642.jpg', '/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_35_9634.jpg', '/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_25_10643.jpg', '/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_14_9647.jpg', '/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_44_9633.jpg', '/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_55_10642.jpg
/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_35_9634.jpg
/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_25_10643.jpg
/home/nano/Desktop/images/09122025/03/35/image_09122025_03_35_14_9647.jpg
/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_44_9633.jpg
/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_35_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":["1401227408","1401227419","1401227410","1401227418","1401227412","1401227415"],"photo_ids_order":["1401227408","1401227410","1401227412","1401227415","1401227418","1401227419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87d7c5a404d3d3ed84b37107ef7b283f.jpg","text":"TemporaryFile(/tmp/multipartBody6447500698944886823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816073036,"filename":"image_09122025_03_35_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ba819ea62af2eb2d7cbac5b9e45bb74.jpg","text":"TemporaryFile(/tmp/multipartBody7391855277178604810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816073036,"filename":"image_09122025_03_34_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2ce4aed3153f8051469d01ad29a1ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1889618507304300607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816073036,"filename":"image_09122025_03_35_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c342d166fcc38d4eecf91fe1c9316e6.jpg","text":"TemporaryFile(/tmp/multipartBody3184180321050075868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816073036,"filename":"image_09122025_03_34_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/12/27/3377b682acacdb12b7d5a6713619439a.jpg","text":"TemporaryFile(/tmp/multipartBody7873103237710941806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816073036,"filename":"image_09122025_03_35_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79042d2e7e21c47f841450d1a6c882ac.jpg","text":"TemporaryFile(/tmp/multipartBody1227754848009947772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816073036,"filename":"image_09122025_03_35_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227412","file1":"1401227410","file0":"1401227408","file4":"1401227418","file5":"1401227419","file3":"1401227415"},"map_files_photo_id_array":[{"photo_id":"1401227419","filename":"file5"},{"photo_id":"1401227412","filename":"file2"},{"photo_id":"1401227418","filename":"file4"},{"photo_id":"1401227410","filename":"file1"},{"photo_id":"1401227408","filename":"file0"},{"photo_id":"1401227415","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227408":["hashtag1","hashtag2"]},{"1401227419":["hashtag1","hashtag2"]},{"1401227410":["hashtag1","hashtag2"]},{"1401227418":["hashtag1","hashtag2"]},{"1401227412":["hashtag1","hashtag2"]},{"1401227415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227408, 1401227419, 1401227410, 1401227418, 1401227412, 1401227415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69034028053284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:14:17.334830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/03/33/image_09122025_03_33_24_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/03/33/image_09122025_03_33_15_9670.jpg', 2), ('/home/nano/Desktop/images/09122025/03/32/image_09122025_03_32_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/32/image_09122025_03_32_45_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_24_9635.jpg', '/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_15_9650.jpg', '/home/nano/Desktop/images/09122025/03/33/image_09122025_03_33_24_9649.jpg', '/home/nano/Desktop/images/09122025/03/33/image_09122025_03_33_15_9670.jpg', '/home/nano/Desktop/images/09122025/03/32/image_09122025_03_32_54_9632.jpg', '/home/nano/Desktop/images/09122025/03/32/image_09122025_03_32_45_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_24_9635.jpg
/home/nano/Desktop/images/09122025/03/34/image_09122025_03_34_15_9650.jpg
/home/nano/Desktop/images/09122025/03/33/image_09122025_03_33_24_9649.jpg
/home/nano/Desktop/images/09122025/03/33/image_09122025_03_33_15_9670.jpg
/home/nano/Desktop/images/09122025/03/32/image_09122025_03_32_54_9632.jpg
/home/nano/Desktop/images/09122025/03/32/image_09122025_03_32_45_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":["1401227435","1401227429","1401227425","1401227422","1401227421","1401227432"],"photo_ids_order":["1401227421","1401227422","1401227425","1401227429","1401227432","1401227435"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8c207954f57b3590815ce9a84a47cee.jpg","text":"TemporaryFile(/tmp/multipartBody2108620617504167879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816118160,"filename":"image_09122025_03_32_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98501b763ca7138d5edca926f5955d59.jpg","text":"TemporaryFile(/tmp/multipartBody8467363609664509003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816118160,"filename":"image_09122025_03_33_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5f79beb45944d1f839cad5b4e84f739.jpg","text":"TemporaryFile(/tmp/multipartBody591741985964295225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816118160,"filename":"image_09122025_03_33_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/12/27/a30164289cc94b6417b3165fe541874a.jpg","text":"TemporaryFile(/tmp/multipartBody3556432042886455766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816118160,"filename":"image_09122025_03_34_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a602d69d1738b31b3c25d148aab245fe.jpg","text":"TemporaryFile(/tmp/multipartBody8078804882754588210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816118160,"filename":"image_09122025_03_34_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/12/27/24c5622fa970c49d717d495bdc2c6af1.jpg","text":"TemporaryFile(/tmp/multipartBody7284731218350273082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816118160,"filename":"image_09122025_03_32_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227425","file1":"1401227422","file0":"1401227421","file4":"1401227432","file5":"1401227435","file3":"1401227429"},"map_files_photo_id_array":[{"photo_id":"1401227435","filename":"file5"},{"photo_id":"1401227425","filename":"file2"},{"photo_id":"1401227432","filename":"file4"},{"photo_id":"1401227422","filename":"file1"},{"photo_id":"1401227421","filename":"file0"},{"photo_id":"1401227429","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227435":["hashtag1","hashtag2"]},{"1401227429":["hashtag1","hashtag2"]},{"1401227425":["hashtag1","hashtag2"]},{"1401227422":["hashtag1","hashtag2"]},{"1401227421":["hashtag1","hashtag2"]},{"1401227432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227435, 1401227429, 1401227425, 1401227422, 1401227421, 1401227432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55440139770508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:15:03.052701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/31/image_09122025_03_32_04_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_45_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/31/image_09122025_03_32_04_9639.jpg', '/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_54_9631.jpg', '/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_45_10640.jpg', '/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_34_9633.jpg', '/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_45_10643.jpg', '/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/31/image_09122025_03_32_04_9639.jpg
/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_54_9631.jpg
/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_45_10640.jpg
/home/nano/Desktop/images/09122025/03/31/image_09122025_03_31_34_9633.jpg
/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_45_10643.jpg
/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_34_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":["1401227441","1401227443","1401227440","1401227442","1401227444","1401227447"],"photo_ids_order":["1401227440","1401227441","1401227442","1401227443","1401227444","1401227447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aad531f316b3440a530a4301be20cd19.jpg","text":"TemporaryFile(/tmp/multipartBody8165279529345553992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816163971,"filename":"image_09122025_03_31_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/12/27/8b1373cdbacc3f99cbc998ab9e4419ce.jpg","text":"TemporaryFile(/tmp/multipartBody3148408953315242771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816163971,"filename":"image_09122025_03_31_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/12/27/34ea0f84dccfbcd8d4502492585c70b0.jpg","text":"TemporaryFile(/tmp/multipartBody2639850973631447514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816163971,"filename":"image_09122025_03_32_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/12/27/f9c5de2ed248216e5310f71287b81b4a.jpg","text":"TemporaryFile(/tmp/multipartBody709404468323968240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816163971,"filename":"image_09122025_03_31_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1199d1aba69aa8bbadcffeb2b66e73f8.jpg","text":"TemporaryFile(/tmp/multipartBody8336137344466318313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816163971,"filename":"image_09122025_03_30_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3229158fd287615a8d20b049ffbcda6a.jpg","text":"TemporaryFile(/tmp/multipartBody8332728952018161375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816163971,"filename":"image_09122025_03_30_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227442","file1":"1401227441","file0":"1401227440","file4":"1401227444","file5":"1401227447","file3":"1401227443"},"map_files_photo_id_array":[{"photo_id":"1401227447","filename":"file5"},{"photo_id":"1401227442","filename":"file2"},{"photo_id":"1401227444","filename":"file4"},{"photo_id":"1401227441","filename":"file1"},{"photo_id":"1401227440","filename":"file0"},{"photo_id":"1401227443","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227441":["hashtag1","hashtag2"]},{"1401227443":["hashtag1","hashtag2"]},{"1401227440":["hashtag1","hashtag2"]},{"1401227442":["hashtag1","hashtag2"]},{"1401227444":["hashtag1","hashtag2"]},{"1401227447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227441, 1401227443, 1401227440, 1401227442, 1401227444, 1401227447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71773386001587 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:15:47.445449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_25_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_15_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_14_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_25_9631.jpg', '/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_15_10656.jpg', '/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_55_10642.jpg', '/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_44_9634.jpg', '/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_25_10643.jpg', '/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_25_9631.jpg
/home/nano/Desktop/images/09122025/03/30/image_09122025_03_30_15_10656.jpg
/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_55_10642.jpg
/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_44_9634.jpg
/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_25_10643.jpg
/home/nano/Desktop/images/09122025/03/29/image_09122025_03_29_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":["1401227456","1401227455","1401227458","1401227460","1401227457","1401227459"],"photo_ids_order":["1401227455","1401227456","1401227457","1401227458","1401227459","1401227460"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98a80d88cc9a665905c7c2b37168807f.jpg","text":"TemporaryFile(/tmp/multipartBody971415158344441459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816208302,"filename":"image_09122025_03_30_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf3a27f335e5414fe6c93fd8a47aed31.jpg","text":"TemporaryFile(/tmp/multipartBody5034711428740245766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816208302,"filename":"image_09122025_03_30_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e10a74116f6b9dfb5ea857e3dd7ed1da.jpg","text":"TemporaryFile(/tmp/multipartBody4319302942177871396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816208302,"filename":"image_09122025_03_29_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/12/27/e0bace17f920966779b534a32d141da1.jpg","text":"TemporaryFile(/tmp/multipartBody4654571697997120452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816208302,"filename":"image_09122025_03_29_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/12/27/f71b38ce08bb5f748cdb2b58048aafdc.jpg","text":"TemporaryFile(/tmp/multipartBody2346979878739749797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816208302,"filename":"image_09122025_03_29_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/271546b407fa0830a0086509c986bdce.jpg","text":"TemporaryFile(/tmp/multipartBody709986198148778849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816208302,"filename":"image_09122025_03_29_25_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227457","file1":"1401227456","file0":"1401227455","file4":"1401227459","file5":"1401227460","file3":"1401227458"},"map_files_photo_id_array":[{"photo_id":"1401227460","filename":"file5"},{"photo_id":"1401227457","filename":"file2"},{"photo_id":"1401227459","filename":"file4"},{"photo_id":"1401227456","filename":"file1"},{"photo_id":"1401227455","filename":"file0"},{"photo_id":"1401227458","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227456":["hashtag1","hashtag2"]},{"1401227455":["hashtag1","hashtag2"]},{"1401227458":["hashtag1","hashtag2"]},{"1401227460":["hashtag1","hashtag2"]},{"1401227457":["hashtag1","hashtag2"]},{"1401227459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227456, 1401227455, 1401227458, 1401227460, 1401227457, 1401227459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10948848724365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:16:32.546939
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_35_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/03/27/image_09122025_03_28_05_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_55_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_55_10643.jpg', '/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_44_9637.jpg', '/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_35_9636.jpg', '/home/nano/Desktop/images/09122025/03/27/image_09122025_03_28_05_9634.jpg', '/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_55_10645.jpg', '/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_44_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_55_10643.jpg
/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_44_9637.jpg
/home/nano/Desktop/images/09122025/03/28/image_09122025_03_28_35_9636.jpg
/home/nano/Desktop/images/09122025/03/27/image_09122025_03_28_05_9634.jpg
/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_55_10645.jpg
/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_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":["1401227497","1401227470","1401227467","1401227496","1401227487","1401227472"],"photo_ids_order":["1401227467","1401227470","1401227472","1401227487","1401227496","1401227497"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/753129aace18f06c1baa4288b5b3285e.jpg","text":"TemporaryFile(/tmp/multipartBody6996845891692858907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816253369,"filename":"image_09122025_03_27_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/12/27/2f84a3554fbec909c236b451eda40014.jpg","text":"TemporaryFile(/tmp/multipartBody2203190962180880667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816253369,"filename":"image_09122025_03_28_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/12/27/5bb906f1660cf9183320d7dd9e86f005.jpg","text":"TemporaryFile(/tmp/multipartBody6208842305190721919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816253369,"filename":"image_09122025_03_28_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c7633bbcd62dbe94fc8edbf93a2b7ff.jpg","text":"TemporaryFile(/tmp/multipartBody5441129554173043274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816253369,"filename":"image_09122025_03_27_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f26697c1ad4b1d4c57dc20482f5da01.jpg","text":"TemporaryFile(/tmp/multipartBody4190012677219100636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816253369,"filename":"image_09122025_03_28_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4be43093b8cb03d24fdcf56e866ae30.jpg","text":"TemporaryFile(/tmp/multipartBody5260982238299888831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816253369,"filename":"image_09122025_03_28_35_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227472","file1":"1401227470","file0":"1401227467","file4":"1401227496","file5":"1401227497","file3":"1401227487"},"map_files_photo_id_array":[{"photo_id":"1401227497","filename":"file5"},{"photo_id":"1401227472","filename":"file2"},{"photo_id":"1401227496","filename":"file4"},{"photo_id":"1401227470","filename":"file1"},{"photo_id":"1401227467","filename":"file0"},{"photo_id":"1401227487","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227497":["hashtag1","hashtag2"]},{"1401227470":["hashtag1","hashtag2"]},{"1401227467":["hashtag1","hashtag2"]},{"1401227496":["hashtag1","hashtag2"]},{"1401227487":["hashtag1","hashtag2"]},{"1401227472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227497, 1401227470, 1401227467, 1401227496, 1401227487, 1401227472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.673102140426636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:17:17.655378
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_35_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/03/26/image_09122025_03_27_05_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_45_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_45_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_35_10658.jpg', '/home/nano/Desktop/images/09122025/03/26/image_09122025_03_27_05_10644.jpg', '/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_54_9633.jpg', '/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_45_9632.jpg', '/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_35_10645.jpg', '/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_45_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/27/image_09122025_03_27_35_10658.jpg
/home/nano/Desktop/images/09122025/03/26/image_09122025_03_27_05_10644.jpg
/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_54_9633.jpg
/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_45_9632.jpg
/home/nano/Desktop/images/09122025/03/26/image_09122025_03_26_35_10645.jpg
/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_45_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":["1401227596","1401227536","1401227502","1401227619","1401227508","1401227567"],"photo_ids_order":["1401227502","1401227508","1401227536","1401227567","1401227596","1401227619"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a24bc765b9b85038e5c639245db54cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2154058589829089246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816298496,"filename":"image_09122025_03_26_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2637485de23394dc9b4731b6524ebe23.jpg","text":"TemporaryFile(/tmp/multipartBody1719974331725804776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816298496,"filename":"image_09122025_03_26_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/12/27/99b04379c6559a564cd93386d5c43fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7366049135494754334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816298496,"filename":"image_09122025_03_27_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce89e4e9576f7ad84e9329e3db19aabc.jpg","text":"TemporaryFile(/tmp/multipartBody4893176148070135400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816298496,"filename":"image_09122025_03_25_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62e16e2118418973e0245a911025466c.jpg","text":"TemporaryFile(/tmp/multipartBody7830459881498586121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816298496,"filename":"image_09122025_03_27_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0738a85f55a3e9c90a60fc57dee323c2.jpg","text":"TemporaryFile(/tmp/multipartBody3830447442520674450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816298496,"filename":"image_09122025_03_26_45_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227536","file1":"1401227508","file0":"1401227502","file4":"1401227596","file5":"1401227619","file3":"1401227567"},"map_files_photo_id_array":[{"photo_id":"1401227619","filename":"file5"},{"photo_id":"1401227536","filename":"file2"},{"photo_id":"1401227596","filename":"file4"},{"photo_id":"1401227508","filename":"file1"},{"photo_id":"1401227502","filename":"file0"},{"photo_id":"1401227567","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227596":["hashtag1","hashtag2"]},{"1401227536":["hashtag1","hashtag2"]},{"1401227502":["hashtag1","hashtag2"]},{"1401227619":["hashtag1","hashtag2"]},{"1401227508":["hashtag1","hashtag2"]},{"1401227567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227596, 1401227536, 1401227502, 1401227619, 1401227508, 1401227567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98906421661377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:18:03.219580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_35_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_45_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_23_04_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_35_10665.jpg', '/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_55_9633.jpg', '/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_45_10641.jpg', '/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_15_10659.jpg', '/home/nano/Desktop/images/09122025/03/22/image_09122025_03_23_04_9646.jpg', '/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_35_10665.jpg
/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_55_9633.jpg
/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_45_10641.jpg
/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_15_10659.jpg
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_23_04_9646.jpg
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_55_9632.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7395186424255371 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:18:17.726151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_35_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_45_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_23_04_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_35_10665.jpg', '/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_55_9633.jpg', '/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_45_10641.jpg', '/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_15_10659.jpg', '/home/nano/Desktop/images/09122025/03/22/image_09122025_03_23_04_9646.jpg', '/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/25/image_09122025_03_25_35_10665.jpg
/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_55_9633.jpg
/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_45_10641.jpg
/home/nano/Desktop/images/09122025/03/23/image_09122025_03_23_15_10659.jpg
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_23_04_9646.jpg
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_55_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":["1401227627","1401227641","1401227634","1401227643","1401227637","1401227630"],"photo_ids_order":["1401227627","1401227630","1401227634","1401227637","1401227641","1401227643"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0a73cac4ab843dd4d3b90bd6279a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody3807668983919247701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816358533,"filename":"image_09122025_03_25_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be1a56930f7dfd7615682d60780f6708.jpg","text":"TemporaryFile(/tmp/multipartBody5292320861913472019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816358533,"filename":"image_09122025_03_23_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/12/27/2d5a602604b3aff4ca4fb220bfba8713.jpg","text":"TemporaryFile(/tmp/multipartBody7154633490040054123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816358533,"filename":"image_09122025_03_23_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c5cf41ce9ec20c0aebc891b421bbc4b.jpg","text":"TemporaryFile(/tmp/multipartBody3149111267390722071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816358533,"filename":"image_09122025_03_22_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfba64fa7b0faa2309a7afd229d264cc.jpg","text":"TemporaryFile(/tmp/multipartBody7692217325519028014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816358533,"filename":"image_09122025_03_23_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c206bfdfbf00b3587824d1a31957dec.jpg","text":"TemporaryFile(/tmp/multipartBody3545258802775054183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816358533,"filename":"image_09122025_03_23_55_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227634","file1":"1401227630","file0":"1401227627","file4":"1401227641","file5":"1401227643","file3":"1401227637"},"map_files_photo_id_array":[{"photo_id":"1401227643","filename":"file5"},{"photo_id":"1401227634","filename":"file2"},{"photo_id":"1401227641","filename":"file4"},{"photo_id":"1401227630","filename":"file1"},{"photo_id":"1401227627","filename":"file0"},{"photo_id":"1401227637","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227627":["hashtag1","hashtag2"]},{"1401227641":["hashtag1","hashtag2"]},{"1401227634":["hashtag1","hashtag2"]},{"1401227643":["hashtag1","hashtag2"]},{"1401227637":["hashtag1","hashtag2"]},{"1401227630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227627, 1401227641, 1401227634, 1401227643, 1401227637, 1401227630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.615755796432495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:19:02.782913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_45_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_34_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_25_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/03/21/image_09122025_03_22_04_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_45_10641.jpg', '/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_34_9645.jpg', '/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_25_10660.jpg', '/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_14_9649.jpg', '/home/nano/Desktop/images/09122025/03/21/image_09122025_03_22_04_9639.jpg', '/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_45_10641.jpg
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_34_9645.jpg
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_25_10660.jpg
/home/nano/Desktop/images/09122025/03/22/image_09122025_03_22_14_9649.jpg
/home/nano/Desktop/images/09122025/03/21/image_09122025_03_22_04_9639.jpg
/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_55_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":["1401227648","1401227647","1401227656","1401227650","1401227649","1401227651"],"photo_ids_order":["1401227647","1401227648","1401227649","1401227650","1401227651","1401227656"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b546d2f059a6f7ac1bcc4c38d320fcd7.jpg","text":"TemporaryFile(/tmp/multipartBody2337846303452741526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816403792,"filename":"image_09122025_03_22_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/12/27/6ae5915b7662fb62b98cb2876ff81707.jpg","text":"TemporaryFile(/tmp/multipartBody2004668665547380920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816403792,"filename":"image_09122025_03_22_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83f72679d47d5e60a268324f58cb2464.jpg","text":"TemporaryFile(/tmp/multipartBody1265765075648999098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816403792,"filename":"image_09122025_03_21_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3923d4338e928550c82df9b524ffeb76.jpg","text":"TemporaryFile(/tmp/multipartBody3148366159483471549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816403792,"filename":"image_09122025_03_22_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/12/27/7c792432624e16f3c25f3ffc9d8ef215.jpg","text":"TemporaryFile(/tmp/multipartBody7237872974304876518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816403792,"filename":"image_09122025_03_22_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82a74e12a73a3cc46dce80fcce0b3b63.jpg","text":"TemporaryFile(/tmp/multipartBody1593681077921759672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816403792,"filename":"image_09122025_03_22_04_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227649","file1":"1401227648","file0":"1401227647","file4":"1401227651","file5":"1401227656","file3":"1401227650"},"map_files_photo_id_array":[{"photo_id":"1401227656","filename":"file5"},{"photo_id":"1401227649","filename":"file2"},{"photo_id":"1401227651","filename":"file4"},{"photo_id":"1401227648","filename":"file1"},{"photo_id":"1401227647","filename":"file0"},{"photo_id":"1401227650","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227648":["hashtag1","hashtag2"]},{"1401227647":["hashtag1","hashtag2"]},{"1401227656":["hashtag1","hashtag2"]},{"1401227650":["hashtag1","hashtag2"]},{"1401227649":["hashtag1","hashtag2"]},{"1401227651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227648, 1401227647, 1401227656, 1401227650, 1401227649, 1401227651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.246371030807495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:19:46.899003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_35_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_14_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_35_9671.jpg', 2), ('/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_25_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_35_9651.jpg', '/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_25_10643.jpg', '/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_14_9652.jpg', '/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_44_9634.jpg', '/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_35_9671.jpg', '/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_35_9651.jpg
/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_25_10643.jpg
/home/nano/Desktop/images/09122025/03/21/image_09122025_03_21_14_9652.jpg
/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_44_9634.jpg
/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_35_9671.jpg
/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_25_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":["1401227683","1401227689","1401227680","1401227685","1401227687","1401227684"],"photo_ids_order":["1401227680","1401227683","1401227684","1401227685","1401227687","1401227689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b49e235fbf180a71bcd11e1ed4f2bf70.jpg","text":"TemporaryFile(/tmp/multipartBody2889840941665554580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816447735,"filename":"image_09122025_03_21_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ef8b805a1774a5329c8ed6f8f151a94.jpg","text":"TemporaryFile(/tmp/multipartBody3562768263626517231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816447735,"filename":"image_09122025_03_20_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6070bfacd591cb906d6d9ffcbcfa83d.jpg","text":"TemporaryFile(/tmp/multipartBody5052756277608731687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816447735,"filename":"image_09122025_03_21_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dfc1a76fbe5f4b5a6a093ac0d7e5e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody6480174857960325754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816447735,"filename":"image_09122025_03_20_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/12/27/5cba14d4fc43dfe5a7dac8baf1c84255.jpg","text":"TemporaryFile(/tmp/multipartBody8284192584200894385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816447735,"filename":"image_09122025_03_20_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81738996fcad454854fe207c126bc599.jpg","text":"TemporaryFile(/tmp/multipartBody4993731941606644238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816447735,"filename":"image_09122025_03_21_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227684","file1":"1401227683","file0":"1401227680","file4":"1401227687","file5":"1401227689","file3":"1401227685"},"map_files_photo_id_array":[{"photo_id":"1401227689","filename":"file5"},{"photo_id":"1401227684","filename":"file2"},{"photo_id":"1401227687","filename":"file4"},{"photo_id":"1401227683","filename":"file1"},{"photo_id":"1401227680","filename":"file0"},{"photo_id":"1401227685","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227683":["hashtag1","hashtag2"]},{"1401227689":["hashtag1","hashtag2"]},{"1401227680":["hashtag1","hashtag2"]},{"1401227685":["hashtag1","hashtag2"]},{"1401227687":["hashtag1","hashtag2"]},{"1401227684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227683, 1401227689, 1401227680, 1401227685, 1401227687, 1401227684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98610019683838 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:20:31.997196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/03/17/image_09122025_03_18_05_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_45_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/03/16/image_09122025_03_17_05_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_14_9650.jpg', '/home/nano/Desktop/images/09122025/03/17/image_09122025_03_18_05_10653.jpg', '/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_45_9632.jpg', '/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_24_9631.jpg', '/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_15_9650.jpg', '/home/nano/Desktop/images/09122025/03/16/image_09122025_03_17_05_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/20/image_09122025_03_20_14_9650.jpg
/home/nano/Desktop/images/09122025/03/17/image_09122025_03_18_05_10653.jpg
/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_45_9632.jpg
/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_24_9631.jpg
/home/nano/Desktop/images/09122025/03/17/image_09122025_03_17_15_9650.jpg
/home/nano/Desktop/images/09122025/03/16/image_09122025_03_17_05_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":["1401227705","1401227702","1401227704","1401227694","1401227697","1401227696"],"photo_ids_order":["1401227694","1401227696","1401227697","1401227702","1401227704","1401227705"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc05c3c7b0b5ecbf6605c16effbb4fba.jpg","text":"TemporaryFile(/tmp/multipartBody6007070217606673085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816492834,"filename":"image_09122025_03_17_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76cb455af345dddcc3248956083d7264.jpg","text":"TemporaryFile(/tmp/multipartBody5467360432011335398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816492834,"filename":"image_09122025_03_17_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/12/27/b1730994f29776011e11ec115c6190cb.jpg","text":"TemporaryFile(/tmp/multipartBody6344385321012484631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816492834,"filename":"image_09122025_03_17_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60d103380748d4617ef78cdaba0cb7d9.jpg","text":"TemporaryFile(/tmp/multipartBody2638398364174621700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816492834,"filename":"image_09122025_03_20_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/12/27/59e6bf392e1f0f653943d9d460e628eb.jpg","text":"TemporaryFile(/tmp/multipartBody2875253274538487146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816492834,"filename":"image_09122025_03_17_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/391c1a2a92864a89c60a19a122ccb38e.jpg","text":"TemporaryFile(/tmp/multipartBody3819762475872427631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816492834,"filename":"image_09122025_03_18_05_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227697","file1":"1401227696","file0":"1401227694","file4":"1401227704","file5":"1401227705","file3":"1401227702"},"map_files_photo_id_array":[{"photo_id":"1401227705","filename":"file5"},{"photo_id":"1401227697","filename":"file2"},{"photo_id":"1401227704","filename":"file4"},{"photo_id":"1401227696","filename":"file1"},{"photo_id":"1401227694","filename":"file0"},{"photo_id":"1401227702","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227705":["hashtag1","hashtag2"]},{"1401227702":["hashtag1","hashtag2"]},{"1401227704":["hashtag1","hashtag2"]},{"1401227694":["hashtag1","hashtag2"]},{"1401227697":["hashtag1","hashtag2"]},{"1401227696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227705, 1401227702, 1401227704, 1401227694, 1401227697, 1401227696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36445450782776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:21:17.086477
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/16/image_09122025_03_16_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/03/15/image_09122025_03_16_04_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/03/15/image_09122025_03_15_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/15/image_09122025_03_15_25_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_55_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/16/image_09122025_03_16_15_10658.jpg', '/home/nano/Desktop/images/09122025/03/15/image_09122025_03_16_04_9648.jpg', '/home/nano/Desktop/images/09122025/03/15/image_09122025_03_15_34_9634.jpg', '/home/nano/Desktop/images/09122025/03/15/image_09122025_03_15_25_9649.jpg', '/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_55_9647.jpg', '/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/16/image_09122025_03_16_15_10658.jpg
/home/nano/Desktop/images/09122025/03/15/image_09122025_03_16_04_9648.jpg
/home/nano/Desktop/images/09122025/03/15/image_09122025_03_15_34_9634.jpg
/home/nano/Desktop/images/09122025/03/15/image_09122025_03_15_25_9649.jpg
/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_55_9647.jpg
/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_45_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":["1401227711","1401227717","1401227719","1401227710","1401227713","1401227715"],"photo_ids_order":["1401227710","1401227711","1401227713","1401227715","1401227717","1401227719"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7e2c0b4693ab26c16f09a01a0f3885a.jpg","text":"TemporaryFile(/tmp/multipartBody251473606932348260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816537905,"filename":"image_09122025_03_16_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/12/27/9fd9362482783c76b156909e3ccfe458.jpg","text":"TemporaryFile(/tmp/multipartBody4584817540295678234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816537905,"filename":"image_09122025_03_14_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c65140c04577d617fdbfbbb31d133c81.jpg","text":"TemporaryFile(/tmp/multipartBody3212150966407993997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816537905,"filename":"image_09122025_03_14_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/665292ef92397f035935a41e8ba15800.jpg","text":"TemporaryFile(/tmp/multipartBody7358145647962099218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816537905,"filename":"image_09122025_03_16_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cb233729a5c3e380d33fff62322f38f.jpg","text":"TemporaryFile(/tmp/multipartBody664590295286874406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816537905,"filename":"image_09122025_03_15_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/12/27/28cfa08c6f078549b07e5272475eea34.jpg","text":"TemporaryFile(/tmp/multipartBody7293821673272595195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816537905,"filename":"image_09122025_03_15_25_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227713","file1":"1401227711","file0":"1401227710","file4":"1401227717","file5":"1401227719","file3":"1401227715"},"map_files_photo_id_array":[{"photo_id":"1401227719","filename":"file5"},{"photo_id":"1401227713","filename":"file2"},{"photo_id":"1401227717","filename":"file4"},{"photo_id":"1401227711","filename":"file1"},{"photo_id":"1401227710","filename":"file0"},{"photo_id":"1401227715","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227711":["hashtag1","hashtag2"]},{"1401227717":["hashtag1","hashtag2"]},{"1401227719":["hashtag1","hashtag2"]},{"1401227710":["hashtag1","hashtag2"]},{"1401227713":["hashtag1","hashtag2"]},{"1401227715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227711, 1401227717, 1401227719, 1401227710, 1401227713, 1401227715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77469205856323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:22:02.788443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_25_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_14_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/03/13/image_09122025_03_14_04_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_55_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_44_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_34_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_25_10658.jpg', '/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_14_9667.jpg', '/home/nano/Desktop/images/09122025/03/13/image_09122025_03_14_04_9636.jpg', '/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_55_10659.jpg', '/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_44_9650.jpg', '/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_25_10658.jpg
/home/nano/Desktop/images/09122025/03/14/image_09122025_03_14_14_9667.jpg
/home/nano/Desktop/images/09122025/03/13/image_09122025_03_14_04_9636.jpg
/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_55_10659.jpg
/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_44_9650.jpg
/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_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":["1401227729","1401227731","1401227725","1401227730","1401227727","1401227723"],"photo_ids_order":["1401227723","1401227725","1401227727","1401227729","1401227730","1401227731"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90e14a606b3ce0a0cba5c5bfeb47224d.jpg","text":"TemporaryFile(/tmp/multipartBody8768703666421890234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816583680,"filename":"image_09122025_03_13_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d17592d8a2c68b37a40def7da1f951f0.jpg","text":"TemporaryFile(/tmp/multipartBody4661690783060527453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816583680,"filename":"image_09122025_03_13_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/12/27/59d9e2cb05c5ba64b257947e277c24d1.jpg","text":"TemporaryFile(/tmp/multipartBody8060387356581414698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816583680,"filename":"image_09122025_03_14_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/12/27/25e7c60ae1715ea225aeb530668e1720.jpg","text":"TemporaryFile(/tmp/multipartBody4053468737644564299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816583680,"filename":"image_09122025_03_13_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/12/27/283345ee2c9fe22b921f8a547ba7c731.jpg","text":"TemporaryFile(/tmp/multipartBody6607574595479942566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816583680,"filename":"image_09122025_03_14_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/12/27/ea0227fe63313b155b991f5488c965c7.jpg","text":"TemporaryFile(/tmp/multipartBody5954596408907891082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816583680,"filename":"image_09122025_03_14_25_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227727","file1":"1401227725","file0":"1401227723","file4":"1401227730","file5":"1401227731","file3":"1401227729"},"map_files_photo_id_array":[{"photo_id":"1401227731","filename":"file5"},{"photo_id":"1401227727","filename":"file2"},{"photo_id":"1401227730","filename":"file4"},{"photo_id":"1401227725","filename":"file1"},{"photo_id":"1401227723","filename":"file0"},{"photo_id":"1401227729","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227729":["hashtag1","hashtag2"]},{"1401227731":["hashtag1","hashtag2"]},{"1401227725":["hashtag1","hashtag2"]},{"1401227730":["hashtag1","hashtag2"]},{"1401227727":["hashtag1","hashtag2"]},{"1401227723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227729, 1401227731, 1401227725, 1401227730, 1401227727, 1401227723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75299286842346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:22:47.193476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/03/12/image_09122025_03_13_05_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_44_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_35_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_25_10644.jpg', '/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_14_9648.jpg', '/home/nano/Desktop/images/09122025/03/12/image_09122025_03_13_05_9644.jpg', '/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_55_10644.jpg', '/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_44_9638.jpg', '/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_35_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_25_10644.jpg
/home/nano/Desktop/images/09122025/03/13/image_09122025_03_13_14_9648.jpg
/home/nano/Desktop/images/09122025/03/12/image_09122025_03_13_05_9644.jpg
/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_55_10644.jpg
/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_44_9638.jpg
/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_35_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":["1401227743","1401227745","1401227739","1401227748","1401227741","1401227750"],"photo_ids_order":["1401227739","1401227741","1401227743","1401227745","1401227748","1401227750"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/899b1745318897209920723429b1aad6.jpg","text":"TemporaryFile(/tmp/multipartBody7096729534336042702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816628025,"filename":"image_09122025_03_13_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8aa88f1681b58dbb5994b24ce7b066ad.jpg","text":"TemporaryFile(/tmp/multipartBody8552586681234958080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816628025,"filename":"image_09122025_03_12_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbef292b92c11636aaa044b84db8cec7.jpg","text":"TemporaryFile(/tmp/multipartBody4351294159454023513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816628025,"filename":"image_09122025_03_13_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96edebbf92fc35a59dcb04c4dec0f6c6.jpg","text":"TemporaryFile(/tmp/multipartBody1031576512104810100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816628025,"filename":"image_09122025_03_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/12/27/f211b330d941d64ccdd41e4063bcbe54.jpg","text":"TemporaryFile(/tmp/multipartBody3669067476250245647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816628025,"filename":"image_09122025_03_13_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/12/27/59e76bb3120cf9f6188a1a7747e2f008.jpg","text":"TemporaryFile(/tmp/multipartBody8791193771417077400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816628025,"filename":"image_09122025_03_12_35_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227743","file1":"1401227741","file0":"1401227739","file4":"1401227748","file5":"1401227750","file3":"1401227745"},"map_files_photo_id_array":[{"photo_id":"1401227750","filename":"file5"},{"photo_id":"1401227743","filename":"file2"},{"photo_id":"1401227748","filename":"file4"},{"photo_id":"1401227741","filename":"file1"},{"photo_id":"1401227739","filename":"file0"},{"photo_id":"1401227745","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227743":["hashtag1","hashtag2"]},{"1401227745":["hashtag1","hashtag2"]},{"1401227739":["hashtag1","hashtag2"]},{"1401227748":["hashtag1","hashtag2"]},{"1401227741":["hashtag1","hashtag2"]},{"1401227750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227743, 1401227745, 1401227739, 1401227748, 1401227741, 1401227750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49022674560547 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:23:32.284511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_25_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/03/11/image_09122025_03_12_05_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_55_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_35_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/03/10/image_09122025_03_11_05_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_25_10647.jpg', '/home/nano/Desktop/images/09122025/03/11/image_09122025_03_12_05_9643.jpg', '/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_55_10663.jpg', '/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_35_10642.jpg', '/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_14_9650.jpg', '/home/nano/Desktop/images/09122025/03/10/image_09122025_03_11_05_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/12/image_09122025_03_12_25_10647.jpg
/home/nano/Desktop/images/09122025/03/11/image_09122025_03_12_05_9643.jpg
/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_55_10663.jpg
/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_35_10642.jpg
/home/nano/Desktop/images/09122025/03/11/image_09122025_03_11_14_9650.jpg
/home/nano/Desktop/images/09122025/03/10/image_09122025_03_11_05_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":["1401227767","1401227768","1401227762","1401227756","1401227765","1401227759"],"photo_ids_order":["1401227756","1401227759","1401227762","1401227765","1401227767","1401227768"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/caae83e03542dc43503efb5d6ad4a244.jpg","text":"TemporaryFile(/tmp/multipartBody4520754005917130356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816673122,"filename":"image_09122025_03_11_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/12/27/1f8536c5bc755fa8a5af10c9d9f6feb6.jpg","text":"TemporaryFile(/tmp/multipartBody5258240474429462888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816673122,"filename":"image_09122025_03_11_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc082f0b3955ea15ff52742ce04978d9.jpg","text":"TemporaryFile(/tmp/multipartBody2079488041838962472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816673122,"filename":"image_09122025_03_11_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb24a33f9bf4219dd1bec4e92783d8c8.jpg","text":"TemporaryFile(/tmp/multipartBody4217017179976975938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816673122,"filename":"image_09122025_03_12_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf00a857f519670843cd3f479345df1c.jpg","text":"TemporaryFile(/tmp/multipartBody4681492356918929465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816673122,"filename":"image_09122025_03_11_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39da276e816f8b6e774c10678ae045fa.jpg","text":"TemporaryFile(/tmp/multipartBody7228104944445348438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816673122,"filename":"image_09122025_03_12_05_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227762","file1":"1401227759","file0":"1401227756","file4":"1401227767","file5":"1401227768","file3":"1401227765"},"map_files_photo_id_array":[{"photo_id":"1401227768","filename":"file5"},{"photo_id":"1401227762","filename":"file2"},{"photo_id":"1401227767","filename":"file4"},{"photo_id":"1401227759","filename":"file1"},{"photo_id":"1401227756","filename":"file0"},{"photo_id":"1401227765","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227767":["hashtag1","hashtag2"]},{"1401227768":["hashtag1","hashtag2"]},{"1401227762":["hashtag1","hashtag2"]},{"1401227756":["hashtag1","hashtag2"]},{"1401227765":["hashtag1","hashtag2"]},{"1401227759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227767, 1401227768, 1401227762, 1401227756, 1401227765, 1401227759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36941576004028 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:24:17.384168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_45_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_15_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/03/09/image_09122025_03_10_05_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_45_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_45_9638.jpg', '/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_24_9633.jpg', '/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_15_9648.jpg', '/home/nano/Desktop/images/09122025/03/09/image_09122025_03_10_05_10643.jpg', '/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_54_9633.jpg', '/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_45_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_45_9638.jpg
/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_24_9633.jpg
/home/nano/Desktop/images/09122025/03/10/image_09122025_03_10_15_9648.jpg
/home/nano/Desktop/images/09122025/03/09/image_09122025_03_10_05_10643.jpg
/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_54_9633.jpg
/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_45_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":["1401227770","1401227780","1401227774","1401227783","1401227777","1401227771"],"photo_ids_order":["1401227770","1401227771","1401227774","1401227777","1401227780","1401227783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5959d9dfd569b501a2478653991dea33.jpg","text":"TemporaryFile(/tmp/multipartBody5715232070301270029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816718209,"filename":"image_09122025_03_10_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23e26e7cd1a368f63532240354d28223.jpg","text":"TemporaryFile(/tmp/multipartBody2735586642573205857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816718209,"filename":"image_09122025_03_09_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/12/27/1292316a317167637b30ded552029c71.jpg","text":"TemporaryFile(/tmp/multipartBody7340349110079707433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816718209,"filename":"image_09122025_03_10_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb7447ea89e3aed2efe48cae263e4567.jpg","text":"TemporaryFile(/tmp/multipartBody7442487610141087719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816718209,"filename":"image_09122025_03_09_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a249441118cb9f88c6b2071075541f5.jpg","text":"TemporaryFile(/tmp/multipartBody514778303780136771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816718209,"filename":"image_09122025_03_10_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b579f1f92b17c161fdc8a67792e3f6b.jpg","text":"TemporaryFile(/tmp/multipartBody3714987308335021964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816718209,"filename":"image_09122025_03_10_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227774","file1":"1401227771","file0":"1401227770","file4":"1401227780","file5":"1401227783","file3":"1401227777"},"map_files_photo_id_array":[{"photo_id":"1401227783","filename":"file5"},{"photo_id":"1401227774","filename":"file2"},{"photo_id":"1401227780","filename":"file4"},{"photo_id":"1401227771","filename":"file1"},{"photo_id":"1401227770","filename":"file0"},{"photo_id":"1401227777","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227770":["hashtag1","hashtag2"]},{"1401227780":["hashtag1","hashtag2"]},{"1401227774":["hashtag1","hashtag2"]},{"1401227783":["hashtag1","hashtag2"]},{"1401227777":["hashtag1","hashtag2"]},{"1401227771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227770, 1401227780, 1401227774, 1401227783, 1401227777, 1401227771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62764382362366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:25:03.075233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_24_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_15_10682.jpg', 2), ('/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_45_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_25_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/03/07/image_09122025_03_07_25_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_24_9647.jpg', '/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_15_10682.jpg', '/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_54_9634.jpg', '/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_45_10641.jpg', '/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_25_9636.jpg', '/home/nano/Desktop/images/09122025/03/07/image_09122025_03_07_25_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_24_9647.jpg
/home/nano/Desktop/images/09122025/03/09/image_09122025_03_09_15_10682.jpg
/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_54_9634.jpg
/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_45_10641.jpg
/home/nano/Desktop/images/09122025/03/08/image_09122025_03_08_25_9636.jpg
/home/nano/Desktop/images/09122025/03/07/image_09122025_03_07_25_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":["1401227791","1401227788","1401227790","1401227792","1401227795","1401227789"],"photo_ids_order":["1401227788","1401227789","1401227790","1401227791","1401227792","1401227795"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab58a4d3c216eddec7f74bec4185c5ea.jpg","text":"TemporaryFile(/tmp/multipartBody6584677176671681410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816763926,"filename":"image_09122025_03_08_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ce3140011b0206b40cf2bd5018b7789.jpg","text":"TemporaryFile(/tmp/multipartBody5047987925373083523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816763926,"filename":"image_09122025_03_09_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/12/27/f82a58462ddda1d77a960a00d0ab3aea.jpg","text":"TemporaryFile(/tmp/multipartBody3534479324918491559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816763926,"filename":"image_09122025_03_08_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/12/27/bdedb180f96f6b74018e5c4f12fb780a.jpg","text":"TemporaryFile(/tmp/multipartBody5993786344222337270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816763926,"filename":"image_09122025_03_08_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64ec475bb8ac18b7d6bbaf29f6a8f75f.jpg","text":"TemporaryFile(/tmp/multipartBody7398975048864527016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816763926,"filename":"image_09122025_03_07_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76d86c1d32fdaf0058cda4159befefab.jpg","text":"TemporaryFile(/tmp/multipartBody1404580305634534718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816763926,"filename":"image_09122025_03_09_15_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227790","file1":"1401227789","file0":"1401227788","file4":"1401227792","file5":"1401227795","file3":"1401227791"},"map_files_photo_id_array":[{"photo_id":"1401227795","filename":"file5"},{"photo_id":"1401227790","filename":"file2"},{"photo_id":"1401227792","filename":"file4"},{"photo_id":"1401227789","filename":"file1"},{"photo_id":"1401227788","filename":"file0"},{"photo_id":"1401227791","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227791":["hashtag1","hashtag2"]},{"1401227788":["hashtag1","hashtag2"]},{"1401227790":["hashtag1","hashtag2"]},{"1401227792":["hashtag1","hashtag2"]},{"1401227795":["hashtag1","hashtag2"]},{"1401227789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227791, 1401227788, 1401227790, 1401227792, 1401227795, 1401227789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33375692367554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:25:47.531989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/07/image_09122025_03_07_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/03/06/image_09122025_03_07_04_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_55_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_14_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/03/05/image_09122025_03_06_05_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/07/image_09122025_03_07_15_10658.jpg', '/home/nano/Desktop/images/09122025/03/06/image_09122025_03_07_04_9633.jpg', '/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_55_10659.jpg', '/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_44_9637.jpg', '/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_14_9638.jpg', '/home/nano/Desktop/images/09122025/03/05/image_09122025_03_06_05_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/07/image_09122025_03_07_15_10658.jpg
/home/nano/Desktop/images/09122025/03/06/image_09122025_03_07_04_9633.jpg
/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_55_10659.jpg
/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_44_9637.jpg
/home/nano/Desktop/images/09122025/03/06/image_09122025_03_06_14_9638.jpg
/home/nano/Desktop/images/09122025/03/05/image_09122025_03_06_05_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":["1401227810","1401227807","1401227809","1401227806","1401227811","1401227808"],"photo_ids_order":["1401227806","1401227807","1401227808","1401227809","1401227810","1401227811"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4cd64df9ee4deeee1c6f11e95a095f8a.jpg","text":"TemporaryFile(/tmp/multipartBody5050641272695068742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816808358,"filename":"image_09122025_03_06_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/12/27/700554c2d802b122fc3f038334404c34.jpg","text":"TemporaryFile(/tmp/multipartBody5488367520033673603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816808358,"filename":"image_09122025_03_07_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/12/27/0f678999819f425dc4247ac2551a82f9.jpg","text":"TemporaryFile(/tmp/multipartBody2913329647386805175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816808358,"filename":"image_09122025_03_06_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/12/27/f1ebe7890e4fb7ddfba53489571d211b.jpg","text":"TemporaryFile(/tmp/multipartBody7085796306164003323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816808358,"filename":"image_09122025_03_07_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/106414b96dd26aaa4e319ffba21c6f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1585043867876379458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816808358,"filename":"image_09122025_03_06_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81653cae35c4f01c8e62453af1b4b670.jpg","text":"TemporaryFile(/tmp/multipartBody3474826704446025190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816808358,"filename":"image_09122025_03_06_55_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227808","file1":"1401227807","file0":"1401227806","file4":"1401227810","file5":"1401227811","file3":"1401227809"},"map_files_photo_id_array":[{"photo_id":"1401227811","filename":"file5"},{"photo_id":"1401227808","filename":"file2"},{"photo_id":"1401227810","filename":"file4"},{"photo_id":"1401227807","filename":"file1"},{"photo_id":"1401227806","filename":"file0"},{"photo_id":"1401227809","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227810":["hashtag1","hashtag2"]},{"1401227807":["hashtag1","hashtag2"]},{"1401227809":["hashtag1","hashtag2"]},{"1401227806":["hashtag1","hashtag2"]},{"1401227811":["hashtag1","hashtag2"]},{"1401227808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227810, 1401227807, 1401227809, 1401227806, 1401227811, 1401227808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54784297943115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:26:32.634343
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/05/image_09122025_03_05_14_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/03/04/image_09122025_03_05_05_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/04/image_09122025_03_04_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/03/04/image_09122025_03_04_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/03/03/image_09122025_03_03_35_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/03/03/image_09122025_03_03_15_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/05/image_09122025_03_05_14_9652.jpg', '/home/nano/Desktop/images/09122025/03/04/image_09122025_03_05_05_9634.jpg', '/home/nano/Desktop/images/09122025/03/04/image_09122025_03_04_55_10643.jpg', '/home/nano/Desktop/images/09122025/03/04/image_09122025_03_04_24_9630.jpg', '/home/nano/Desktop/images/09122025/03/03/image_09122025_03_03_35_10644.jpg', '/home/nano/Desktop/images/09122025/03/03/image_09122025_03_03_15_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/05/image_09122025_03_05_14_9652.jpg
/home/nano/Desktop/images/09122025/03/04/image_09122025_03_05_05_9634.jpg
/home/nano/Desktop/images/09122025/03/04/image_09122025_03_04_55_10643.jpg
/home/nano/Desktop/images/09122025/03/04/image_09122025_03_04_24_9630.jpg
/home/nano/Desktop/images/09122025/03/03/image_09122025_03_03_35_10644.jpg
/home/nano/Desktop/images/09122025/03/03/image_09122025_03_03_15_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":["1401227831","1401227828","1401227821","1401227830","1401227824","1401227818"],"photo_ids_order":["1401227818","1401227821","1401227824","1401227828","1401227830","1401227831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8398bbb8c1f223455e73f603d253f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody2177887615273724215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816853466,"filename":"image_09122025_03_03_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/376202e0693e6d838a0b4712e9757719.jpg","text":"TemporaryFile(/tmp/multipartBody1180230329055602597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816853466,"filename":"image_09122025_03_04_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/12/27/658a5d70ef5a8d5fc98528f528c17749.jpg","text":"TemporaryFile(/tmp/multipartBody5685476496188932193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816853466,"filename":"image_09122025_03_05_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d73401ae578a21e62541b59ba441d945.jpg","text":"TemporaryFile(/tmp/multipartBody5905649808210290329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816853466,"filename":"image_09122025_03_03_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9926308ca6365cd09d3addb2b4f32bb.jpg","text":"TemporaryFile(/tmp/multipartBody543945382881323253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816853466,"filename":"image_09122025_03_04_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33fdb776f4cc1ca9a85ff614088ede14.jpg","text":"TemporaryFile(/tmp/multipartBody2984838294723194119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816853466,"filename":"image_09122025_03_05_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227824","file1":"1401227821","file0":"1401227818","file4":"1401227830","file5":"1401227831","file3":"1401227828"},"map_files_photo_id_array":[{"photo_id":"1401227831","filename":"file5"},{"photo_id":"1401227824","filename":"file2"},{"photo_id":"1401227830","filename":"file4"},{"photo_id":"1401227821","filename":"file1"},{"photo_id":"1401227818","filename":"file0"},{"photo_id":"1401227828","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227831":["hashtag1","hashtag2"]},{"1401227828":["hashtag1","hashtag2"]},{"1401227821":["hashtag1","hashtag2"]},{"1401227830":["hashtag1","hashtag2"]},{"1401227824":["hashtag1","hashtag2"]},{"1401227818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227831, 1401227828, 1401227821, 1401227830, 1401227824, 1401227818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.427396297454834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:27:17.715869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/02/image_09122025_03_03_05_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_45_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_35_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_15_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/02/image_09122025_03_03_05_10656.jpg', '/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_54_9634.jpg', '/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_45_9633.jpg', '/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_35_10641.jpg', '/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_24_9630.jpg', '/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/02/image_09122025_03_03_05_10656.jpg
/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_54_9634.jpg
/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_45_9633.jpg
/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_35_10641.jpg
/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_24_9630.jpg
/home/nano/Desktop/images/09122025/03/02/image_09122025_03_02_15_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":["1401227833","1401227842","1401227836","1401227839","1401227844","1401227832"],"photo_ids_order":["1401227832","1401227833","1401227836","1401227839","1401227842","1401227844"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4be1caff5c639a28838ee0226a320b91.jpg","text":"TemporaryFile(/tmp/multipartBody2291916210231064812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816898544,"filename":"image_09122025_03_02_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/12/27/8360288206d659b78b6a46cf070e7689.jpg","text":"TemporaryFile(/tmp/multipartBody5724268166587338674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816898544,"filename":"image_09122025_03_02_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/12/27/22a4c719762c0257499b9cfc01dec9d8.jpg","text":"TemporaryFile(/tmp/multipartBody3607502432715667864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816898544,"filename":"image_09122025_03_02_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccac1ec0f20043d9dc9b00c8e170fd64.jpg","text":"TemporaryFile(/tmp/multipartBody8166716452557783749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816898544,"filename":"image_09122025_03_02_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3722bc5a7761d4679e86a12f3e41c5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1158664317836365046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816898544,"filename":"image_09122025_03_02_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a79d7b37fb86237b46da68317343e60d.jpg","text":"TemporaryFile(/tmp/multipartBody1384476695025914643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816898544,"filename":"image_09122025_03_03_05_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227836","file1":"1401227833","file0":"1401227832","file4":"1401227842","file5":"1401227844","file3":"1401227839"},"map_files_photo_id_array":[{"photo_id":"1401227844","filename":"file5"},{"photo_id":"1401227836","filename":"file2"},{"photo_id":"1401227842","filename":"file4"},{"photo_id":"1401227833","filename":"file1"},{"photo_id":"1401227832","filename":"file0"},{"photo_id":"1401227839","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227833":["hashtag1","hashtag2"]},{"1401227842":["hashtag1","hashtag2"]},{"1401227836":["hashtag1","hashtag2"]},{"1401227839":["hashtag1","hashtag2"]},{"1401227844":["hashtag1","hashtag2"]},{"1401227832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227833, 1401227842, 1401227836, 1401227839, 1401227844, 1401227832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89961886405945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:28:02.373041
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/03/01/image_09122025_03_02_04_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/03/01/image_09122025_03_01_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/03/00/image_09122025_03_00_55_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/58/image_09122025_02_58_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/58/image_09122025_02_58_35_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/03/01/image_09122025_03_02_04_9640.jpg', '/home/nano/Desktop/images/09122025/03/01/image_09122025_03_01_55_9633.jpg', '/home/nano/Desktop/images/09122025/03/00/image_09122025_03_00_55_9631.jpg', '/home/nano/Desktop/images/09122025/02/58/image_09122025_02_58_55_10643.jpg', '/home/nano/Desktop/images/09122025/02/58/image_09122025_02_58_35_9649.jpg', '/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/03/01/image_09122025_03_02_04_9640.jpg
/home/nano/Desktop/images/09122025/03/01/image_09122025_03_01_55_9633.jpg
/home/nano/Desktop/images/09122025/03/00/image_09122025_03_00_55_9631.jpg
/home/nano/Desktop/images/09122025/02/58/image_09122025_02_58_55_10643.jpg
/home/nano/Desktop/images/09122025/02/58/image_09122025_02_58_35_9649.jpg
/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_55_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":["1401227851","1401227848","1401227850","1401227853","1401227847","1401227849"],"photo_ids_order":["1401227847","1401227848","1401227849","1401227850","1401227851","1401227853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/088d56c86c5d0f67bdf820f9ed0ccb15.jpg","text":"TemporaryFile(/tmp/multipartBody973367080695563461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816943228,"filename":"image_09122025_02_58_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f32c723cbf6e4dca2fcf4541fd12a67.jpg","text":"TemporaryFile(/tmp/multipartBody1629738140548926297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816943228,"filename":"image_09122025_03_01_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/590ac9650e5714066aa0b086d998f9ad.jpg","text":"TemporaryFile(/tmp/multipartBody4195239901683430356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816943228,"filename":"image_09122025_02_58_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a000bc7ee878abe353930b6304d4462d.jpg","text":"TemporaryFile(/tmp/multipartBody2789264702172867963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816943228,"filename":"image_09122025_02_57_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa6c43fc206194d61d05f867f134ee98.jpg","text":"TemporaryFile(/tmp/multipartBody1351797303690828710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816943228,"filename":"image_09122025_03_02_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/12/27/225f2d2d33a36fc8925c85b3c90bef11.jpg","text":"TemporaryFile(/tmp/multipartBody4906316603586854588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816943228,"filename":"image_09122025_03_00_55_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227849","file1":"1401227848","file0":"1401227847","file4":"1401227851","file5":"1401227853","file3":"1401227850"},"map_files_photo_id_array":[{"photo_id":"1401227853","filename":"file5"},{"photo_id":"1401227849","filename":"file2"},{"photo_id":"1401227851","filename":"file4"},{"photo_id":"1401227848","filename":"file1"},{"photo_id":"1401227847","filename":"file0"},{"photo_id":"1401227850","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227851":["hashtag1","hashtag2"]},{"1401227848":["hashtag1","hashtag2"]},{"1401227850":["hashtag1","hashtag2"]},{"1401227853":["hashtag1","hashtag2"]},{"1401227847":["hashtag1","hashtag2"]},{"1401227849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227851, 1401227848, 1401227850, 1401227853, 1401227847, 1401227849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.472033977508545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:28:46.930791
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_45_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_35_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_24_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_44_9635.jpg', '/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_35_10643.jpg', '/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_54_9634.jpg', '/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_45_9649.jpg', '/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_35_10660.jpg', '/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_24_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_44_9635.jpg
/home/nano/Desktop/images/09122025/02/57/image_09122025_02_57_35_10643.jpg
/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_54_9634.jpg
/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_45_9649.jpg
/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_35_10660.jpg
/home/nano/Desktop/images/09122025/02/56/image_09122025_02_56_24_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":["1401227866","1401227875","1401227869","1401227871","1401227873","1401227867"],"photo_ids_order":["1401227866","1401227867","1401227869","1401227871","1401227873","1401227875"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42b38f8a3fe9801a4e0de1836d906d7b.jpg","text":"TemporaryFile(/tmp/multipartBody8812819902487774427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816987793,"filename":"image_09122025_02_57_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/12/27/57b9598239fc09c2d15b4d65fc82136a.jpg","text":"TemporaryFile(/tmp/multipartBody78754904215784547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816987793,"filename":"image_09122025_02_56_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/12/27/202c3ff193eeb04ab6390898ab294177.jpg","text":"TemporaryFile(/tmp/multipartBody2318309065633632520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816987793,"filename":"image_09122025_02_56_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/12/27/2739cd8deda8dd9e02930d85ccf0b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2569611009896710214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816987793,"filename":"image_09122025_02_56_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/028d06d75a4681f774a5375c39a2f092.jpg","text":"TemporaryFile(/tmp/multipartBody3331904781743652910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816987793,"filename":"image_09122025_02_56_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db2c8729f62ae9cde7263b52588d74f4.jpg","text":"TemporaryFile(/tmp/multipartBody4796801838367608395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766816987793,"filename":"image_09122025_02_57_35_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227869","file1":"1401227867","file0":"1401227866","file4":"1401227873","file5":"1401227875","file3":"1401227871"},"map_files_photo_id_array":[{"photo_id":"1401227875","filename":"file5"},{"photo_id":"1401227869","filename":"file2"},{"photo_id":"1401227873","filename":"file4"},{"photo_id":"1401227867","filename":"file1"},{"photo_id":"1401227866","filename":"file0"},{"photo_id":"1401227871","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227866":["hashtag1","hashtag2"]},{"1401227875":["hashtag1","hashtag2"]},{"1401227869":["hashtag1","hashtag2"]},{"1401227871":["hashtag1","hashtag2"]},{"1401227873":["hashtag1","hashtag2"]},{"1401227867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227866, 1401227875, 1401227869, 1401227871, 1401227873, 1401227867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.629329204559326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:29:32.018654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/55/image_09122025_02_56_05_10655.jpg', 2), ('/home/nano/Desktop/images/09122025/02/55/image_09122025_02_55_54_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/02/55/image_09122025_02_55_45_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/02/54/image_09122025_02_55_05_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_25_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/55/image_09122025_02_56_05_10655.jpg', '/home/nano/Desktop/images/09122025/02/55/image_09122025_02_55_54_9629.jpg', '/home/nano/Desktop/images/09122025/02/55/image_09122025_02_55_45_9637.jpg', '/home/nano/Desktop/images/09122025/02/54/image_09122025_02_55_05_10645.jpg', '/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_54_9632.jpg', '/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_25_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/55/image_09122025_02_56_05_10655.jpg
/home/nano/Desktop/images/09122025/02/55/image_09122025_02_55_54_9629.jpg
/home/nano/Desktop/images/09122025/02/55/image_09122025_02_55_45_9637.jpg
/home/nano/Desktop/images/09122025/02/54/image_09122025_02_55_05_10645.jpg
/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_54_9632.jpg
/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_25_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":["1401227884","1401227892","1401227889","1401227883","1401227886","1401227891"],"photo_ids_order":["1401227883","1401227884","1401227886","1401227889","1401227891","1401227892"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3f0526b0f2a959af459760ae775f1b8.jpg","text":"TemporaryFile(/tmp/multipartBody2355572927796825269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817032851,"filename":"image_09122025_02_55_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/12/27/8beec4e9e5828533265752f0c6f0ce3f.jpg","text":"TemporaryFile(/tmp/multipartBody6107626883497687311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817032851,"filename":"image_09122025_02_54_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7daa2ee70b90069f9ac6da067339e7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3629345485887959489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817032851,"filename":"image_09122025_02_55_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/371b1c7fc239cc9436118c7421a4d91e.jpg","text":"TemporaryFile(/tmp/multipartBody7889614827244785403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817032851,"filename":"image_09122025_02_56_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adf07674aafc45ab55247724ef26e4fc.jpg","text":"TemporaryFile(/tmp/multipartBody4616054448935722518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817032851,"filename":"image_09122025_02_55_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d9d88b41dc41182f3101ce376c6d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8746376109533410707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817032851,"filename":"image_09122025_02_54_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227886","file1":"1401227884","file0":"1401227883","file4":"1401227891","file5":"1401227892","file3":"1401227889"},"map_files_photo_id_array":[{"photo_id":"1401227892","filename":"file5"},{"photo_id":"1401227886","filename":"file2"},{"photo_id":"1401227891","filename":"file4"},{"photo_id":"1401227884","filename":"file1"},{"photo_id":"1401227883","filename":"file0"},{"photo_id":"1401227889","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227884":["hashtag1","hashtag2"]},{"1401227892":["hashtag1","hashtag2"]},{"1401227889":["hashtag1","hashtag2"]},{"1401227883":["hashtag1","hashtag2"]},{"1401227886":["hashtag1","hashtag2"]},{"1401227891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227884, 1401227892, 1401227889, 1401227883, 1401227886, 1401227891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540629386901855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:30:17.147636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_15_10681.jpg', 2), ('/home/nano/Desktop/images/09122025/02/53/image_09122025_02_54_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_45_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_34_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_25_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_15_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_15_10681.jpg', '/home/nano/Desktop/images/09122025/02/53/image_09122025_02_54_04_9638.jpg', '/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_45_10641.jpg', '/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_34_9630.jpg', '/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_25_9650.jpg', '/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_15_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/54/image_09122025_02_54_15_10681.jpg
/home/nano/Desktop/images/09122025/02/53/image_09122025_02_54_04_9638.jpg
/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_45_10641.jpg
/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_34_9630.jpg
/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_25_9650.jpg
/home/nano/Desktop/images/09122025/02/53/image_09122025_02_53_15_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":["1401227903","1401227896","1401227899","1401227905","1401227897","1401227901"],"photo_ids_order":["1401227896","1401227897","1401227899","1401227901","1401227903","1401227905"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14fb9dbde9358943699419f029e303b5.jpg","text":"TemporaryFile(/tmp/multipartBody2942864752963569309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817077957,"filename":"image_09122025_02_53_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cc93d346d64d6be71af0beba90442ee.jpg","text":"TemporaryFile(/tmp/multipartBody4673562185927911804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817077957,"filename":"image_09122025_02_54_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4376b37cba89b7bf014245b65d343e95.jpg","text":"TemporaryFile(/tmp/multipartBody2643987110836768782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817077957,"filename":"image_09122025_02_53_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88adfab8aba22ccbf8bb7265f373712c.jpg","text":"TemporaryFile(/tmp/multipartBody7268418278536591187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817077957,"filename":"image_09122025_02_53_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94128f49b365ca5b4c960bb9b963f50d.jpg","text":"TemporaryFile(/tmp/multipartBody31293892539524183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817077957,"filename":"image_09122025_02_54_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/12/27/259b533f26a44f81f9fdafff8f2b4622.jpg","text":"TemporaryFile(/tmp/multipartBody2439318933039440404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817077957,"filename":"image_09122025_02_53_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227899","file1":"1401227897","file0":"1401227896","file4":"1401227903","file5":"1401227905","file3":"1401227901"},"map_files_photo_id_array":[{"photo_id":"1401227905","filename":"file5"},{"photo_id":"1401227899","filename":"file2"},{"photo_id":"1401227903","filename":"file4"},{"photo_id":"1401227897","filename":"file1"},{"photo_id":"1401227896","filename":"file0"},{"photo_id":"1401227901","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227903":["hashtag1","hashtag2"]},{"1401227896":["hashtag1","hashtag2"]},{"1401227899":["hashtag1","hashtag2"]},{"1401227905":["hashtag1","hashtag2"]},{"1401227897":["hashtag1","hashtag2"]},{"1401227901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227903, 1401227896, 1401227899, 1401227905, 1401227897, 1401227901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42866563796997 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:31:02.911668
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/52/image_09122025_02_53_04_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_45_10666.jpg', 2), ('/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_35_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/52/image_09122025_02_53_04_9648.jpg', '/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_55_9633.jpg', '/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_45_10666.jpg', '/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_25_10644.jpg', '/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_44_9634.jpg', '/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_35_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/52/image_09122025_02_53_04_9648.jpg
/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_55_9633.jpg
/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_45_10666.jpg
/home/nano/Desktop/images/09122025/02/52/image_09122025_02_52_25_10644.jpg
/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_44_9634.jpg
/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_35_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":["1401227912","1401227909","1401227914","1401227917","1401227911","1401227913"],"photo_ids_order":["1401227909","1401227911","1401227912","1401227913","1401227914","1401227917"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05edd91d795920afc509aee1c2b3cac3.jpg","text":"TemporaryFile(/tmp/multipartBody4546712325879590029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817123815,"filename":"image_09122025_02_52_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2657dfcc9e9f06614cde7d094a19cde6.jpg","text":"TemporaryFile(/tmp/multipartBody6329234560754450768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817123815,"filename":"image_09122025_02_53_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/12/27/2b1dd84264cd272b1ee9c8d87fcfd999.jpg","text":"TemporaryFile(/tmp/multipartBody8314766881623031739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817123815,"filename":"image_09122025_02_51_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/12/27/4a6a16a678eda2b1068e26ae81db6d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4100066532746269161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817123815,"filename":"image_09122025_02_51_35_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba0e41f0fdf174e8ea3f6e50eb27320b.jpg","text":"TemporaryFile(/tmp/multipartBody6923034231986951887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817123815,"filename":"image_09122025_02_52_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be4f3248cf5309fe12e3f52df93732fc.jpg","text":"TemporaryFile(/tmp/multipartBody1183581396723037109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817123815,"filename":"image_09122025_02_52_25_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227912","file1":"1401227911","file0":"1401227909","file4":"1401227914","file5":"1401227917","file3":"1401227913"},"map_files_photo_id_array":[{"photo_id":"1401227917","filename":"file5"},{"photo_id":"1401227912","filename":"file2"},{"photo_id":"1401227914","filename":"file4"},{"photo_id":"1401227911","filename":"file1"},{"photo_id":"1401227909","filename":"file0"},{"photo_id":"1401227913","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227912":["hashtag1","hashtag2"]},{"1401227909":["hashtag1","hashtag2"]},{"1401227914":["hashtag1","hashtag2"]},{"1401227917":["hashtag1","hashtag2"]},{"1401227911":["hashtag1","hashtag2"]},{"1401227913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227912, 1401227909, 1401227914, 1401227917, 1401227911, 1401227913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19919180870056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:31:47.281828
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_55_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_14_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_55_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_15_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_25_10643.jpg', '/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_55_10645.jpg', '/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_14_9647.jpg', '/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_55_10640.jpg', '/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_24_9631.jpg', '/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_15_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_25_10643.jpg
/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_55_10645.jpg
/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_14_9647.jpg
/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_55_10640.jpg
/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_24_9631.jpg
/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_15_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.723365068435669 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:32:03.054388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_55_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_14_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_55_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_15_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_25_10643.jpg', '/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_55_10645.jpg', '/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_14_9647.jpg', '/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_55_10640.jpg', '/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_24_9631.jpg', '/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_15_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/51/image_09122025_02_51_25_10643.jpg
/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_55_10645.jpg
/home/nano/Desktop/images/09122025/02/50/image_09122025_02_50_14_9647.jpg
/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_55_10640.jpg
/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_24_9631.jpg
/home/nano/Desktop/images/09122025/02/49/image_09122025_02_49_15_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":["1401227939","1401227935","1401227938","1401227937","1401227933","1401227936"],"photo_ids_order":["1401227933","1401227935","1401227936","1401227937","1401227938","1401227939"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3fe8066fa4c511059a78a78fb979b787.jpg","text":"TemporaryFile(/tmp/multipartBody4992865354266897253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817183939,"filename":"image_09122025_02_49_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32831e1e3caa4364c27bb5845734a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody7397389062755580920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817183939,"filename":"image_09122025_02_50_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1b723ddfd49921907736069336e9e53.jpg","text":"TemporaryFile(/tmp/multipartBody3251746276352430621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817183939,"filename":"image_09122025_02_49_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/12/27/134743d4c314d6f791d1b0fcd1e84b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5708339655268247785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817183939,"filename":"image_09122025_02_49_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5875c0572ae02ad48efc31b9358143a6.jpg","text":"TemporaryFile(/tmp/multipartBody8284145260871320750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817183939,"filename":"image_09122025_02_51_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f393497075ff486a3066a621d05b7d58.jpg","text":"TemporaryFile(/tmp/multipartBody3494683005665458301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817183939,"filename":"image_09122025_02_50_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227936","file1":"1401227935","file0":"1401227933","file4":"1401227938","file5":"1401227939","file3":"1401227937"},"map_files_photo_id_array":[{"photo_id":"1401227939","filename":"file5"},{"photo_id":"1401227936","filename":"file2"},{"photo_id":"1401227938","filename":"file4"},{"photo_id":"1401227935","filename":"file1"},{"photo_id":"1401227933","filename":"file0"},{"photo_id":"1401227937","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227939":["hashtag1","hashtag2"]},{"1401227935":["hashtag1","hashtag2"]},{"1401227938":["hashtag1","hashtag2"]},{"1401227937":["hashtag1","hashtag2"]},{"1401227933":["hashtag1","hashtag2"]},{"1401227936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227939, 1401227935, 1401227938, 1401227937, 1401227933, 1401227936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.864317178726196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:32:47.363455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/48/image_09122025_02_49_05_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_45_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_24_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_15_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/47/image_09122025_02_48_05_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/48/image_09122025_02_49_05_10647.jpg', '/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_45_9632.jpg', '/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_35_10645.jpg', '/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_24_9634.jpg', '/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_15_9632.jpg', '/home/nano/Desktop/images/09122025/02/47/image_09122025_02_48_05_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/48/image_09122025_02_49_05_10647.jpg
/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_45_9632.jpg
/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_35_10645.jpg
/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_24_9634.jpg
/home/nano/Desktop/images/09122025/02/48/image_09122025_02_48_15_9632.jpg
/home/nano/Desktop/images/09122025/02/47/image_09122025_02_48_05_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":["1401227953","1401227956","1401227955","1401227958","1401227954","1401227957"],"photo_ids_order":["1401227953","1401227954","1401227955","1401227956","1401227957","1401227958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03e9da2aa3b01159534794d38e104078.jpg","text":"TemporaryFile(/tmp/multipartBody1217858521862020154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817228203,"filename":"image_09122025_02_49_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f88e198b8fff271a25d1b03a79ce2f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6502370191756827765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817228203,"filename":"image_09122025_02_48_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/12/27/22458c19ae229051130edbed18dd099f.jpg","text":"TemporaryFile(/tmp/multipartBody5578051991741343578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817228203,"filename":"image_09122025_02_48_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a94095cbe724e0c19c605f6550a8d8b7.jpg","text":"TemporaryFile(/tmp/multipartBody3200403967869191501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817228203,"filename":"image_09122025_02_48_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00fcf33d9fd0f46dfdfb14ff123a1f27.jpg","text":"TemporaryFile(/tmp/multipartBody4472262283738295484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817228203,"filename":"image_09122025_02_48_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92b7b90a7de4807d49b345b8aa7d21e3.jpg","text":"TemporaryFile(/tmp/multipartBody3042508972386537535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817228203,"filename":"image_09122025_02_48_15_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227955","file1":"1401227954","file0":"1401227953","file4":"1401227957","file5":"1401227958","file3":"1401227956"},"map_files_photo_id_array":[{"photo_id":"1401227958","filename":"file5"},{"photo_id":"1401227955","filename":"file2"},{"photo_id":"1401227957","filename":"file4"},{"photo_id":"1401227954","filename":"file1"},{"photo_id":"1401227953","filename":"file0"},{"photo_id":"1401227956","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227953":["hashtag1","hashtag2"]},{"1401227956":["hashtag1","hashtag2"]},{"1401227955":["hashtag1","hashtag2"]},{"1401227958":["hashtag1","hashtag2"]},{"1401227954":["hashtag1","hashtag2"]},{"1401227957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227953, 1401227956, 1401227955, 1401227958, 1401227954, 1401227957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23585820198059 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:33:32.524441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/02/46/image_09122025_02_47_04_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_55_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_34_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_45_10643.jpg', '/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_34_9634.jpg', '/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_15_10657.jpg', '/home/nano/Desktop/images/09122025/02/46/image_09122025_02_47_04_9635.jpg', '/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_55_9630.jpg', '/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_45_10643.jpg
/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_34_9634.jpg
/home/nano/Desktop/images/09122025/02/47/image_09122025_02_47_15_10657.jpg
/home/nano/Desktop/images/09122025/02/46/image_09122025_02_47_04_9635.jpg
/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_55_9630.jpg
/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_34_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":["1401227977","1401227974","1401227976","1401227970","1401227964","1401227967"],"photo_ids_order":["1401227964","1401227967","1401227970","1401227974","1401227976","1401227977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f01bbcc2871ec296af8fba5cad301c8.jpg","text":"TemporaryFile(/tmp/multipartBody2221096591586168709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817273415,"filename":"image_09122025_02_46_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/12/27/4b2c9003ff061d131453e077f5f66b58.jpg","text":"TemporaryFile(/tmp/multipartBody2313585433923607509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817273415,"filename":"image_09122025_02_47_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/12/27/1ddc7b8383ade460ff2ef5267b7388c5.jpg","text":"TemporaryFile(/tmp/multipartBody6437638147704816275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817273415,"filename":"image_09122025_02_46_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c641afea32bae758f58494a690a1032f.jpg","text":"TemporaryFile(/tmp/multipartBody6209340512618183641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817273415,"filename":"image_09122025_02_47_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ad1fdf161d47a6269a16b6c2d8a69a3.jpg","text":"TemporaryFile(/tmp/multipartBody4528100432421688535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817273415,"filename":"image_09122025_02_47_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51db704b97e91fee3618cf9e19c13fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6738766244366647228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817273415,"filename":"image_09122025_02_47_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227970","file1":"1401227967","file0":"1401227964","file4":"1401227976","file5":"1401227977","file3":"1401227974"},"map_files_photo_id_array":[{"photo_id":"1401227977","filename":"file5"},{"photo_id":"1401227970","filename":"file2"},{"photo_id":"1401227976","filename":"file4"},{"photo_id":"1401227967","filename":"file1"},{"photo_id":"1401227964","filename":"file0"},{"photo_id":"1401227974","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227977":["hashtag1","hashtag2"]},{"1401227974":["hashtag1","hashtag2"]},{"1401227976":["hashtag1","hashtag2"]},{"1401227970":["hashtag1","hashtag2"]},{"1401227964":["hashtag1","hashtag2"]},{"1401227967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227977, 1401227974, 1401227976, 1401227970, 1401227964, 1401227967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.697853803634644 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:34:17.606208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_25_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/02/45/image_09122025_02_46_04_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_45_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_34_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_25_9631.jpg', '/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_15_10661.jpg', '/home/nano/Desktop/images/09122025/02/45/image_09122025_02_46_04_9649.jpg', '/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_45_10640.jpg', '/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_34_9650.jpg', '/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_14_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_25_9631.jpg
/home/nano/Desktop/images/09122025/02/46/image_09122025_02_46_15_10661.jpg
/home/nano/Desktop/images/09122025/02/45/image_09122025_02_46_04_9649.jpg
/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_45_10640.jpg
/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_34_9650.jpg
/home/nano/Desktop/images/09122025/02/45/image_09122025_02_45_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":["1401227991","1401227988","1401227982","1401227985","1401227979","1401227978"],"photo_ids_order":["1401227978","1401227979","1401227982","1401227985","1401227988","1401227991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6170eaf893982de1ebfbe311ec3e6feb.jpg","text":"TemporaryFile(/tmp/multipartBody8443182910250092663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817318451,"filename":"image_09122025_02_45_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/12/27/c3049ad18c6838fa5ef93570102741b4.jpg","text":"TemporaryFile(/tmp/multipartBody3731266793027365050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817318451,"filename":"image_09122025_02_45_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/12/27/21a8d384312a6d3babbc36d58f6288ce.jpg","text":"TemporaryFile(/tmp/multipartBody8088354054566994422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817318451,"filename":"image_09122025_02_46_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/12/27/c192d7f0d35df1fcd57d23b05f9a2f32.jpg","text":"TemporaryFile(/tmp/multipartBody3956944308383617715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817318451,"filename":"image_09122025_02_45_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbf4f88509ad6ef44fb293189b34a377.jpg","text":"TemporaryFile(/tmp/multipartBody3937148732822714629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817318451,"filename":"image_09122025_02_46_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da91914be39c5c64461733702d211dca.jpg","text":"TemporaryFile(/tmp/multipartBody830489158541872619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817318451,"filename":"image_09122025_02_46_25_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227982","file1":"1401227979","file0":"1401227978","file4":"1401227988","file5":"1401227991","file3":"1401227985"},"map_files_photo_id_array":[{"photo_id":"1401227991","filename":"file5"},{"photo_id":"1401227982","filename":"file2"},{"photo_id":"1401227988","filename":"file4"},{"photo_id":"1401227979","filename":"file1"},{"photo_id":"1401227978","filename":"file0"},{"photo_id":"1401227985","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227991":["hashtag1","hashtag2"]},{"1401227988":["hashtag1","hashtag2"]},{"1401227982":["hashtag1","hashtag2"]},{"1401227985":["hashtag1","hashtag2"]},{"1401227979":["hashtag1","hashtag2"]},{"1401227978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227991, 1401227988, 1401227982, 1401227985, 1401227979, 1401227978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00308871269226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:35:03.378937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/44/image_09122025_02_45_05_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_35_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_14_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/02/43/image_09122025_02_44_05_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/44/image_09122025_02_45_05_9639.jpg', '/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_35_9636.jpg', '/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_25_10644.jpg', '/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_14_9646.jpg', '/home/nano/Desktop/images/09122025/02/43/image_09122025_02_44_05_9636.jpg', '/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/44/image_09122025_02_45_05_9639.jpg
/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_35_9636.jpg
/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_25_10644.jpg
/home/nano/Desktop/images/09122025/02/44/image_09122025_02_44_14_9646.jpg
/home/nano/Desktop/images/09122025/02/43/image_09122025_02_44_05_9636.jpg
/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_55_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":["1401227995","1401227994","1401227997","1401228000","1401227996","1401227993"],"photo_ids_order":["1401227993","1401227994","1401227995","1401227996","1401227997","1401228000"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/864555e2f53f29403e75b2daf7dbc52c.jpg","text":"TemporaryFile(/tmp/multipartBody4474960734964320970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817364255,"filename":"image_09122025_02_44_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/873ea723ff71e48cbb7a0155ecf065cf.jpg","text":"TemporaryFile(/tmp/multipartBody7209400279975580139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817364255,"filename":"image_09122025_02_44_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/039b184259544b01d35d6ffaf6a18be2.jpg","text":"TemporaryFile(/tmp/multipartBody2651066154096378533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817364255,"filename":"image_09122025_02_44_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b799bb9109754b40e6f5b587a4f3e28a.jpg","text":"TemporaryFile(/tmp/multipartBody2552564815988483774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817364255,"filename":"image_09122025_02_43_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d37c9a1dad3772df821875be83dddd2.jpg","text":"TemporaryFile(/tmp/multipartBody4802952787450891421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817364255,"filename":"image_09122025_02_44_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/12/27/5eb0d9bb181f45102e89048345b874a2.jpg","text":"TemporaryFile(/tmp/multipartBody8336204481081105333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817364255,"filename":"image_09122025_02_45_05_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401227995","file1":"1401227994","file0":"1401227993","file4":"1401227997","file5":"1401228000","file3":"1401227996"},"map_files_photo_id_array":[{"photo_id":"1401228000","filename":"file5"},{"photo_id":"1401227995","filename":"file2"},{"photo_id":"1401227997","filename":"file4"},{"photo_id":"1401227994","filename":"file1"},{"photo_id":"1401227993","filename":"file0"},{"photo_id":"1401227996","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401227995":["hashtag1","hashtag2"]},{"1401227994":["hashtag1","hashtag2"]},{"1401227997":["hashtag1","hashtag2"]},{"1401228000":["hashtag1","hashtag2"]},{"1401227996":["hashtag1","hashtag2"]},{"1401227993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401227995, 1401227994, 1401227997, 1401228000, 1401227996, 1401227993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.186030626297 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:35:47.718094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_14_9660.jpg', 2), ('/home/nano/Desktop/images/09122025/02/42/image_09122025_02_43_05_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_44_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_15_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_25_10642.jpg', '/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_14_9660.jpg', '/home/nano/Desktop/images/09122025/02/42/image_09122025_02_43_05_10657.jpg', '/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_54_9632.jpg', '/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_44_9630.jpg', '/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_15_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_25_10642.jpg
/home/nano/Desktop/images/09122025/02/43/image_09122025_02_43_14_9660.jpg
/home/nano/Desktop/images/09122025/02/42/image_09122025_02_43_05_10657.jpg
/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_54_9632.jpg
/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_44_9630.jpg
/home/nano/Desktop/images/09122025/02/42/image_09122025_02_42_15_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":["1401228014","1401228016","1401228019","1401228018","1401228015","1401228017"],"photo_ids_order":["1401228014","1401228015","1401228016","1401228017","1401228018","1401228019"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f50122e4185487486526f1d7549e7feb.jpg","text":"TemporaryFile(/tmp/multipartBody3347808434342636922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817408541,"filename":"image_09122025_02_43_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4a160bed288a8df1b753b809afeeac4.jpg","text":"TemporaryFile(/tmp/multipartBody3437486606002404240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817408541,"filename":"image_09122025_02_43_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/caf4df1638b19904fe941582ff67c196.jpg","text":"TemporaryFile(/tmp/multipartBody5374053825077277497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817408541,"filename":"image_09122025_02_42_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e4bdac9d481a2db1fd75364c6731e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7987785031585829051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817408541,"filename":"image_09122025_02_42_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/12/27/78d90a192b7e79e7edf8375c3e3eab06.jpg","text":"TemporaryFile(/tmp/multipartBody7824996641177160778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817408541,"filename":"image_09122025_02_43_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/12/27/f10239530f99645fc91f383eec8a3b0c.jpg","text":"TemporaryFile(/tmp/multipartBody3251520212481594977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817408541,"filename":"image_09122025_02_42_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228016","file1":"1401228015","file0":"1401228014","file4":"1401228018","file5":"1401228019","file3":"1401228017"},"map_files_photo_id_array":[{"photo_id":"1401228019","filename":"file5"},{"photo_id":"1401228016","filename":"file2"},{"photo_id":"1401228018","filename":"file4"},{"photo_id":"1401228015","filename":"file1"},{"photo_id":"1401228014","filename":"file0"},{"photo_id":"1401228017","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228014":["hashtag1","hashtag2"]},{"1401228016":["hashtag1","hashtag2"]},{"1401228019":["hashtag1","hashtag2"]},{"1401228018":["hashtag1","hashtag2"]},{"1401228015":["hashtag1","hashtag2"]},{"1401228017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228014, 1401228016, 1401228019, 1401228018, 1401228015, 1401228017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81156539916992 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:36:31.820179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/41/image_09122025_02_42_05_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_35_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_15_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/02/40/image_09122025_02_41_05_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/41/image_09122025_02_42_05_10654.jpg', '/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_54_9634.jpg', '/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_35_10646.jpg', '/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_24_9633.jpg', '/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_15_9651.jpg', '/home/nano/Desktop/images/09122025/02/40/image_09122025_02_41_05_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/41/image_09122025_02_42_05_10654.jpg
/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_54_9634.jpg
/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_35_10646.jpg
/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_24_9633.jpg
/home/nano/Desktop/images/09122025/02/41/image_09122025_02_41_15_9651.jpg
/home/nano/Desktop/images/09122025/02/40/image_09122025_02_41_05_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":["1401228025","1401228034","1401228027","1401228035","1401228029","1401228032"],"photo_ids_order":["1401228025","1401228027","1401228029","1401228032","1401228034","1401228035"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd0fd64d8583acf1ce0b0cf398a9d490.jpg","text":"TemporaryFile(/tmp/multipartBody4782347387725778641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817452662,"filename":"image_09122025_02_42_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33fe1fcf6c77bd5f1bae1d6ad8679716.jpg","text":"TemporaryFile(/tmp/multipartBody3648609141075521522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817452662,"filename":"image_09122025_02_41_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf4a32059d69416de9980464150df192.jpg","text":"TemporaryFile(/tmp/multipartBody6557164578099045506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817452662,"filename":"image_09122025_02_41_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/12/27/90db1faac2496cef9fdb28d55d7b35d1.jpg","text":"TemporaryFile(/tmp/multipartBody5930637776123093535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817452662,"filename":"image_09122025_02_41_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4511a4835935093285bf763cdb1b6687.jpg","text":"TemporaryFile(/tmp/multipartBody5795474820684490064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817452662,"filename":"image_09122025_02_41_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d6cc561297a6dfbc678aa074dd96e0d.jpg","text":"TemporaryFile(/tmp/multipartBody3147716296011675042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817452662,"filename":"image_09122025_02_41_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228029","file1":"1401228027","file0":"1401228025","file4":"1401228034","file5":"1401228035","file3":"1401228032"},"map_files_photo_id_array":[{"photo_id":"1401228035","filename":"file5"},{"photo_id":"1401228029","filename":"file2"},{"photo_id":"1401228034","filename":"file4"},{"photo_id":"1401228027","filename":"file1"},{"photo_id":"1401228025","filename":"file0"},{"photo_id":"1401228032","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228025":["hashtag1","hashtag2"]},{"1401228034":["hashtag1","hashtag2"]},{"1401228027":["hashtag1","hashtag2"]},{"1401228035":["hashtag1","hashtag2"]},{"1401228029":["hashtag1","hashtag2"]},{"1401228032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228025, 1401228034, 1401228027, 1401228035, 1401228029, 1401228032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54942083358765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:37:16.897371
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/07/36/image_27122025_07_37_04_9515.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/07/36/image_27122025_07_37_04_9515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/07/36/image_27122025_07_37_04_9515.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401228036"],"photo_id":"1401228036","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad3b2276c047e28e155bfe46a5acb09a.jpg","text":"TemporaryFile(/tmp/multipartBody4594334869718120778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817497150,"filename":"image_27122025_07_37_04_9515.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401228036"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401228036"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.364174365997314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:37:31.929481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/40/image_09122025_02_40_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/40/image_09122025_02_40_25_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/39/image_09122025_02_40_04_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_45_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_34_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_25_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/40/image_09122025_02_40_34_9634.jpg', '/home/nano/Desktop/images/09122025/02/40/image_09122025_02_40_25_9635.jpg', '/home/nano/Desktop/images/09122025/02/39/image_09122025_02_40_04_9640.jpg', '/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_45_10650.jpg', '/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_34_9650.jpg', '/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_25_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/40/image_09122025_02_40_34_9634.jpg
/home/nano/Desktop/images/09122025/02/40/image_09122025_02_40_25_9635.jpg
/home/nano/Desktop/images/09122025/02/39/image_09122025_02_40_04_9640.jpg
/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_45_10650.jpg
/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_34_9650.jpg
/home/nano/Desktop/images/09122025/02/39/image_09122025_02_39_25_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":["1401228043","1401228046","1401228055","1401228049","1401228053","1401228056"],"photo_ids_order":["1401228043","1401228046","1401228049","1401228053","1401228055","1401228056"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ff2e554552a6056e3a233d8e10c21fa.jpg","text":"TemporaryFile(/tmp/multipartBody5084736495413055498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817512740,"filename":"image_09122025_02_40_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/12/27/ddca2ac8ea22342c9eff5130d4d8baf1.jpg","text":"TemporaryFile(/tmp/multipartBody3301433995734762580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817512740,"filename":"image_09122025_02_40_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd323fb6e8336b33354d22304d9f5528.jpg","text":"TemporaryFile(/tmp/multipartBody8261487173098526947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817512740,"filename":"image_09122025_02_39_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/12/27/437ab05ea0a24da2391cab37e8ff8f66.jpg","text":"TemporaryFile(/tmp/multipartBody3919087444883833768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817512740,"filename":"image_09122025_02_40_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/12/27/5e903633ed175fb2745b4f7dbc3c04a7.jpg","text":"TemporaryFile(/tmp/multipartBody2728164367662141563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817512740,"filename":"image_09122025_02_39_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a71181be661580f05aea57d29c9e3d45.jpg","text":"TemporaryFile(/tmp/multipartBody2289719871542263886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817512740,"filename":"image_09122025_02_39_25_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228049","file1":"1401228046","file0":"1401228043","file4":"1401228055","file5":"1401228056","file3":"1401228053"},"map_files_photo_id_array":[{"photo_id":"1401228056","filename":"file5"},{"photo_id":"1401228049","filename":"file2"},{"photo_id":"1401228055","filename":"file4"},{"photo_id":"1401228046","filename":"file1"},{"photo_id":"1401228043","filename":"file0"},{"photo_id":"1401228053","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228043":["hashtag1","hashtag2"]},{"1401228046":["hashtag1","hashtag2"]},{"1401228055":["hashtag1","hashtag2"]},{"1401228049":["hashtag1","hashtag2"]},{"1401228053":["hashtag1","hashtag2"]},{"1401228056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228043, 1401228046, 1401228055, 1401228049, 1401228053, 1401228056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34824752807617 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:38:17.049074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/38/image_09122025_02_39_04_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_55_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_14_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/38/image_09122025_02_39_04_9647.jpg', '/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_55_9636.jpg', '/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_45_10643.jpg', '/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_34_9634.jpg', '/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_25_10643.jpg', '/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/38/image_09122025_02_39_04_9647.jpg
/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_55_9636.jpg
/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_45_10643.jpg
/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_34_9634.jpg
/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_25_10643.jpg
/home/nano/Desktop/images/09122025/02/38/image_09122025_02_38_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":["1401228058","1401228067","1401228060","1401228057","1401228065","1401228062"],"photo_ids_order":["1401228057","1401228058","1401228060","1401228062","1401228065","1401228067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea00db840121fcd657500b8d30a96c59.jpg","text":"TemporaryFile(/tmp/multipartBody709749546192254841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817557898,"filename":"image_09122025_02_38_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a4fa43d9f71a8720b7233ecd599752e.jpg","text":"TemporaryFile(/tmp/multipartBody5421912521769523740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817557898,"filename":"image_09122025_02_38_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/12/27/716ed4617bfcdff0e2d3dc4a54e5d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1333296571203816359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817557898,"filename":"image_09122025_02_38_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/331fc74c949a5b30e6bdbd148c4eb8e9.jpg","text":"TemporaryFile(/tmp/multipartBody8856634703853907970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817557898,"filename":"image_09122025_02_39_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/12/27/4c894dc30cf7c31adeaa20fcbb0b963d.jpg","text":"TemporaryFile(/tmp/multipartBody8805265977502258796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817557898,"filename":"image_09122025_02_38_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/372b260e850ed0d92886122bc6ac104e.jpg","text":"TemporaryFile(/tmp/multipartBody9215633218142226451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817557898,"filename":"image_09122025_02_38_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228060","file1":"1401228058","file0":"1401228057","file4":"1401228065","file5":"1401228067","file3":"1401228062"},"map_files_photo_id_array":[{"photo_id":"1401228067","filename":"file5"},{"photo_id":"1401228060","filename":"file2"},{"photo_id":"1401228065","filename":"file4"},{"photo_id":"1401228058","filename":"file1"},{"photo_id":"1401228057","filename":"file0"},{"photo_id":"1401228062","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228058":["hashtag1","hashtag2"]},{"1401228067":["hashtag1","hashtag2"]},{"1401228060":["hashtag1","hashtag2"]},{"1401228057":["hashtag1","hashtag2"]},{"1401228065":["hashtag1","hashtag2"]},{"1401228062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228058, 1401228067, 1401228060, 1401228057, 1401228065, 1401228062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74503183364868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:39:03.061703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/37/image_09122025_02_38_04_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_35_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_14_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/37/image_09122025_02_38_04_9647.jpg', '/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_55_10641.jpg', '/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_44_9634.jpg', '/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_35_9631.jpg', '/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_25_10644.jpg', '/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/37/image_09122025_02_38_04_9647.jpg
/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_55_10641.jpg
/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_44_9634.jpg
/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_35_9631.jpg
/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_25_10644.jpg
/home/nano/Desktop/images/09122025/02/37/image_09122025_02_37_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":["1401228082","1401228079","1401228087","1401228081","1401228084","1401228083"],"photo_ids_order":["1401228079","1401228081","1401228082","1401228083","1401228084","1401228087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78f0c2c682f61fdec819407c3c18000c.jpg","text":"TemporaryFile(/tmp/multipartBody7795388300177470293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817603956,"filename":"image_09122025_02_37_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/12/27/30a4be5fd9c8deac3913b4b36412cecc.jpg","text":"TemporaryFile(/tmp/multipartBody3551677972536828155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817603956,"filename":"image_09122025_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/12/27/774f6fa2cfb6fde18f689357b9be336d.jpg","text":"TemporaryFile(/tmp/multipartBody5794800608680301862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817603956,"filename":"image_09122025_02_37_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/12/27/36e8bee89a3e133b88d14878d98a0b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6215496059277255791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817603956,"filename":"image_09122025_02_37_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/462a0aa8cef4422d5b67a329ec02111f.jpg","text":"TemporaryFile(/tmp/multipartBody4272891313039927322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817603956,"filename":"image_09122025_02_37_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4238477f7869cc09dc0bc97ff7fab532.jpg","text":"TemporaryFile(/tmp/multipartBody2358099441040385501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817603956,"filename":"image_09122025_02_37_35_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228082","file1":"1401228081","file0":"1401228079","file4":"1401228084","file5":"1401228087","file3":"1401228083"},"map_files_photo_id_array":[{"photo_id":"1401228087","filename":"file5"},{"photo_id":"1401228082","filename":"file2"},{"photo_id":"1401228084","filename":"file4"},{"photo_id":"1401228081","filename":"file1"},{"photo_id":"1401228079","filename":"file0"},{"photo_id":"1401228083","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228082":["hashtag1","hashtag2"]},{"1401228079":["hashtag1","hashtag2"]},{"1401228087":["hashtag1","hashtag2"]},{"1401228081":["hashtag1","hashtag2"]},{"1401228084":["hashtag1","hashtag2"]},{"1401228083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228082, 1401228079, 1401228087, 1401228081, 1401228084, 1401228083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68736219406128 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:39:47.112437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/36/image_09122025_02_37_05_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_35_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/02/35/image_09122025_02_36_05_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/36/image_09122025_02_37_05_9633.jpg', '/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_55_10641.jpg', '/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_35_9649.jpg', '/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_25_10643.jpg', '/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_14_9651.jpg', '/home/nano/Desktop/images/09122025/02/35/image_09122025_02_36_05_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/36/image_09122025_02_37_05_9633.jpg
/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_55_10641.jpg
/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_35_9649.jpg
/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_25_10643.jpg
/home/nano/Desktop/images/09122025/02/36/image_09122025_02_36_14_9651.jpg
/home/nano/Desktop/images/09122025/02/35/image_09122025_02_36_05_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":["1401228097","1401228100","1401228099","1401228098","1401228102","1401228104"],"photo_ids_order":["1401228097","1401228098","1401228099","1401228100","1401228102","1401228104"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06ee4ceb5cd65678dfb54201aa33dcdf.jpg","text":"TemporaryFile(/tmp/multipartBody6939034320978613050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817648000,"filename":"image_09122025_02_37_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f46e43aca011a314769c8687bd9bc59.jpg","text":"TemporaryFile(/tmp/multipartBody9040191213329904210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817648000,"filename":"image_09122025_02_36_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c750828d07864df790a5e776beb9a150.jpg","text":"TemporaryFile(/tmp/multipartBody4163449857550465203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817648000,"filename":"image_09122025_02_36_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23308808cd6b890f728ce0e7c9d1138c.jpg","text":"TemporaryFile(/tmp/multipartBody64364390473620507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817648000,"filename":"image_09122025_02_36_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/356d527fe342f2f8de14037017d1d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody4004338696702469519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817648000,"filename":"image_09122025_02_36_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/12/27/2594c346496e0a60e292a9090a4feb69.jpg","text":"TemporaryFile(/tmp/multipartBody2293724620749252905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817648000,"filename":"image_09122025_02_36_05_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228099","file1":"1401228098","file0":"1401228097","file4":"1401228102","file5":"1401228104","file3":"1401228100"},"map_files_photo_id_array":[{"photo_id":"1401228104","filename":"file5"},{"photo_id":"1401228099","filename":"file2"},{"photo_id":"1401228102","filename":"file4"},{"photo_id":"1401228098","filename":"file1"},{"photo_id":"1401228097","filename":"file0"},{"photo_id":"1401228100","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228097":["hashtag1","hashtag2"]},{"1401228100":["hashtag1","hashtag2"]},{"1401228099":["hashtag1","hashtag2"]},{"1401228098":["hashtag1","hashtag2"]},{"1401228102":["hashtag1","hashtag2"]},{"1401228104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228097, 1401228100, 1401228099, 1401228098, 1401228102, 1401228104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29530882835388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:40:32.226335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/35/image_09122025_02_35_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/02/35/image_09122025_02_35_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_15_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/33/image_09122025_02_33_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/35/image_09122025_02_35_24_9630.jpg', '/home/nano/Desktop/images/09122025/02/35/image_09122025_02_35_15_9650.jpg', '/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_35_10645.jpg', '/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_24_9632.jpg', '/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_15_9641.jpg', '/home/nano/Desktop/images/09122025/02/33/image_09122025_02_33_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/35/image_09122025_02_35_24_9630.jpg
/home/nano/Desktop/images/09122025/02/35/image_09122025_02_35_15_9650.jpg
/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_35_10645.jpg
/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_24_9632.jpg
/home/nano/Desktop/images/09122025/02/34/image_09122025_02_34_15_9641.jpg
/home/nano/Desktop/images/09122025/02/33/image_09122025_02_33_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":["1401228115","1401228109","1401228118","1401228117","1401228111","1401228113"],"photo_ids_order":["1401228109","1401228111","1401228113","1401228115","1401228117","1401228118"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46e1c08327ad684b9e4e2c06a082602d.jpg","text":"TemporaryFile(/tmp/multipartBody1248500825357602678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817693057,"filename":"image_09122025_02_34_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/12/27/9cee96403e6051a68116f763d6b36ada.jpg","text":"TemporaryFile(/tmp/multipartBody8251097902103468239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817693057,"filename":"image_09122025_02_35_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/12/27/ddae0625da0c90ada33bf215014b3405.jpg","text":"TemporaryFile(/tmp/multipartBody5679968783831513761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817693057,"filename":"image_09122025_02_33_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/12/27/39e8ed6e3211feb7d96e7a6653ec5cbc.jpg","text":"TemporaryFile(/tmp/multipartBody5658854159439061160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817693057,"filename":"image_09122025_02_34_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6db460044147d563b56869b1c6ba7640.jpg","text":"TemporaryFile(/tmp/multipartBody8178995189634736134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817693057,"filename":"image_09122025_02_35_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc46a2a18fc2292648601063ae434bac.jpg","text":"TemporaryFile(/tmp/multipartBody1050854151290180477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817693057,"filename":"image_09122025_02_34_35_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228113","file1":"1401228111","file0":"1401228109","file4":"1401228117","file5":"1401228118","file3":"1401228115"},"map_files_photo_id_array":[{"photo_id":"1401228118","filename":"file5"},{"photo_id":"1401228113","filename":"file2"},{"photo_id":"1401228117","filename":"file4"},{"photo_id":"1401228111","filename":"file1"},{"photo_id":"1401228109","filename":"file0"},{"photo_id":"1401228115","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228115":["hashtag1","hashtag2"]},{"1401228109":["hashtag1","hashtag2"]},{"1401228118":["hashtag1","hashtag2"]},{"1401228117":["hashtag1","hashtag2"]},{"1401228111":["hashtag1","hashtag2"]},{"1401228113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228115, 1401228109, 1401228118, 1401228117, 1401228111, 1401228113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69196629524231 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:41:17.339489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/32/image_09122025_02_32_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/32/image_09122025_02_32_25_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/31/image_09122025_02_31_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/31/image_09122025_02_31_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/32/image_09122025_02_32_34_9635.jpg', '/home/nano/Desktop/images/09122025/02/32/image_09122025_02_32_25_9632.jpg', '/home/nano/Desktop/images/09122025/02/31/image_09122025_02_31_45_10644.jpg', '/home/nano/Desktop/images/09122025/02/31/image_09122025_02_31_25_10644.jpg', '/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_55_10644.jpg', '/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/32/image_09122025_02_32_34_9635.jpg
/home/nano/Desktop/images/09122025/02/32/image_09122025_02_32_25_9632.jpg
/home/nano/Desktop/images/09122025/02/31/image_09122025_02_31_45_10644.jpg
/home/nano/Desktop/images/09122025/02/31/image_09122025_02_31_25_10644.jpg
/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_55_10644.jpg
/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_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":["1401228130","1401228124","1401228123","1401228132","1401228126","1401228128"],"photo_ids_order":["1401228123","1401228124","1401228126","1401228128","1401228130","1401228132"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e76c144eb55aea79757596239588860f.jpg","text":"TemporaryFile(/tmp/multipartBody2620749055721672676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817738172,"filename":"image_09122025_02_30_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e42aedc8048ff7184d8ec29b508af2ce.jpg","text":"TemporaryFile(/tmp/multipartBody497307039428309028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817738172,"filename":"image_09122025_02_32_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0787fe02bfdb7a6c221ca6fd6390dc4.jpg","text":"TemporaryFile(/tmp/multipartBody90650839451219663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817738172,"filename":"image_09122025_02_32_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/12/27/0f322cb69c0611502ac6a1b75e106027.jpg","text":"TemporaryFile(/tmp/multipartBody1712757139384134594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817738172,"filename":"image_09122025_02_30_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/12/27/ca1915b42b8d5dbefd736e27a362b640.jpg","text":"TemporaryFile(/tmp/multipartBody7795481173273826754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817738172,"filename":"image_09122025_02_31_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4e1dd7785143dc20b3d2041a51c6c67.jpg","text":"TemporaryFile(/tmp/multipartBody6314345083751330265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817738172,"filename":"image_09122025_02_31_25_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228126","file1":"1401228124","file0":"1401228123","file4":"1401228130","file5":"1401228132","file3":"1401228128"},"map_files_photo_id_array":[{"photo_id":"1401228132","filename":"file5"},{"photo_id":"1401228126","filename":"file2"},{"photo_id":"1401228130","filename":"file4"},{"photo_id":"1401228124","filename":"file1"},{"photo_id":"1401228123","filename":"file0"},{"photo_id":"1401228128","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228130":["hashtag1","hashtag2"]},{"1401228124":["hashtag1","hashtag2"]},{"1401228123":["hashtag1","hashtag2"]},{"1401228132":["hashtag1","hashtag2"]},{"1401228126":["hashtag1","hashtag2"]},{"1401228128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228130, 1401228124, 1401228123, 1401228132, 1401228126, 1401228128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.307141065597534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:42:02.970446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_30_05_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_55_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_44_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_25_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_14_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_14_9650.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_30_05_9657.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_55_10661.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_44_9641.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_25_10661.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_14_9650.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_30_05_9657.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_55_10661.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_44_9641.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_25_10661.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_14_9652.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7874996662139893 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:42:17.431593
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_30_05_9657.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_55_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_44_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_25_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_14_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_14_9650.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_30_05_9657.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_55_10661.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_44_9641.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_25_10661.jpg', '/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/30/image_09122025_02_30_14_9650.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_30_05_9657.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_55_10661.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_44_9641.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_25_10661.jpg
/home/nano/Desktop/images/09122025/02/29/image_09122025_02_29_14_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":["1401228154","1401228147","1401228156","1401228158","1401228152","1401228149"],"photo_ids_order":["1401228147","1401228149","1401228152","1401228154","1401228156","1401228158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/098fa1aabd4c82cdca5fcee24fc16aca.jpg","text":"TemporaryFile(/tmp/multipartBody6905935481679725196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817798243,"filename":"image_09122025_02_29_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/12/27/31b7be4d7d9e3181ffffd8d4289ebada.jpg","text":"TemporaryFile(/tmp/multipartBody7780678882131664914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817798243,"filename":"image_09122025_02_30_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/12/27/a64ac154d5ed1072c9cee27e98e3bfd6.jpg","text":"TemporaryFile(/tmp/multipartBody1030861660836785737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817798243,"filename":"image_09122025_02_29_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e03729458c0700ad283348f796592c4.jpg","text":"TemporaryFile(/tmp/multipartBody5543496567179470566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817798243,"filename":"image_09122025_02_29_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/12/27/6e9b80b0fd7b8463b6956268a8035d99.jpg","text":"TemporaryFile(/tmp/multipartBody7197024477961769296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817798243,"filename":"image_09122025_02_29_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa8183429aa0ed6c2a21f109a2b20297.jpg","text":"TemporaryFile(/tmp/multipartBody766105359839068517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817798243,"filename":"image_09122025_02_30_05_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228152","file1":"1401228149","file0":"1401228147","file4":"1401228156","file5":"1401228158","file3":"1401228154"},"map_files_photo_id_array":[{"photo_id":"1401228158","filename":"file5"},{"photo_id":"1401228152","filename":"file2"},{"photo_id":"1401228156","filename":"file4"},{"photo_id":"1401228149","filename":"file1"},{"photo_id":"1401228147","filename":"file0"},{"photo_id":"1401228154","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228154":["hashtag1","hashtag2"]},{"1401228147":["hashtag1","hashtag2"]},{"1401228156":["hashtag1","hashtag2"]},{"1401228158":["hashtag1","hashtag2"]},{"1401228152":["hashtag1","hashtag2"]},{"1401228149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228154, 1401228147, 1401228156, 1401228158, 1401228152, 1401228149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56385684013367 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:43:03.225987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/28/image_09122025_02_29_05_9668.jpg', 2), ('/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_55_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_44_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_25_10664.jpg', 2), ('/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_14_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/02/27/image_09122025_02_28_05_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/28/image_09122025_02_29_05_9668.jpg', '/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_55_10661.jpg', '/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_44_9653.jpg', '/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_25_10664.jpg', '/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_14_9652.jpg', '/home/nano/Desktop/images/09122025/02/27/image_09122025_02_28_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/28/image_09122025_02_29_05_9668.jpg
/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_55_10661.jpg
/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_44_9653.jpg
/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_25_10664.jpg
/home/nano/Desktop/images/09122025/02/28/image_09122025_02_28_14_9652.jpg
/home/nano/Desktop/images/09122025/02/27/image_09122025_02_28_05_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":["1401228163","1401228166","1401228165","1401228168","1401228170","1401228173"],"photo_ids_order":["1401228163","1401228165","1401228166","1401228168","1401228170","1401228173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b53e5c84c86f7a55aea2032c7b406fb.jpg","text":"TemporaryFile(/tmp/multipartBody3701584355854302169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817844102,"filename":"image_09122025_02_29_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/877f9aa090e0a7c074062f6731ab1eba.jpg","text":"TemporaryFile(/tmp/multipartBody1382332792354534360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817844102,"filename":"image_09122025_02_28_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/12/27/3179e5686e4dd451322bb5af63b64bf9.jpg","text":"TemporaryFile(/tmp/multipartBody5561983812501871927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817844102,"filename":"image_09122025_02_28_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d646cb314bb513512ca61ea63a00cbc.jpg","text":"TemporaryFile(/tmp/multipartBody8354102610669312126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817844102,"filename":"image_09122025_02_28_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54ddfaa28effd8201f1f1ad485b8afbd.jpg","text":"TemporaryFile(/tmp/multipartBody7504222377198756632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817844102,"filename":"image_09122025_02_28_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/12/27/1c703a974f802046a67e7280abd54872.jpg","text":"TemporaryFile(/tmp/multipartBody3538397525666565338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817844102,"filename":"image_09122025_02_28_05_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228166","file1":"1401228165","file0":"1401228163","file4":"1401228170","file5":"1401228173","file3":"1401228168"},"map_files_photo_id_array":[{"photo_id":"1401228173","filename":"file5"},{"photo_id":"1401228166","filename":"file2"},{"photo_id":"1401228170","filename":"file4"},{"photo_id":"1401228165","filename":"file1"},{"photo_id":"1401228163","filename":"file0"},{"photo_id":"1401228168","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228163":["hashtag1","hashtag2"]},{"1401228166":["hashtag1","hashtag2"]},{"1401228165":["hashtag1","hashtag2"]},{"1401228168":["hashtag1","hashtag2"]},{"1401228170":["hashtag1","hashtag2"]},{"1401228173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228163, 1401228166, 1401228165, 1401228168, 1401228170, 1401228173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.111035108566284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:43:47.530349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_15_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/02/26/image_09122025_02_27_05_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_45_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_54_9635.jpg', '/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_35_10643.jpg', '/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_15_9649.jpg', '/home/nano/Desktop/images/09122025/02/26/image_09122025_02_27_05_10643.jpg', '/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_54_9635.jpg', '/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_54_9635.jpg
/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_35_10643.jpg
/home/nano/Desktop/images/09122025/02/27/image_09122025_02_27_15_9649.jpg
/home/nano/Desktop/images/09122025/02/26/image_09122025_02_27_05_10643.jpg
/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_54_9635.jpg
/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_45_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":["1401228181","1401228184","1401228183","1401228186","1401228182","1401228187"],"photo_ids_order":["1401228181","1401228182","1401228183","1401228184","1401228186","1401228187"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26a51181489922d1646ecc9458d045de.jpg","text":"TemporaryFile(/tmp/multipartBody757640296876415424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817888367,"filename":"image_09122025_02_27_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/12/27/706d917e825862460d4421c7633d3621.jpg","text":"TemporaryFile(/tmp/multipartBody4166536889580015242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817888367,"filename":"image_09122025_02_27_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eea04efd89b651b12d65d734bcabd4fb.jpg","text":"TemporaryFile(/tmp/multipartBody2791969714195789134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817888367,"filename":"image_09122025_02_27_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a084a95a8ba119e6cbc3df3e290aaca.jpg","text":"TemporaryFile(/tmp/multipartBody1783857294266596792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817888367,"filename":"image_09122025_02_26_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/12/27/d8ef24ca04c540c33addc8b4652fcd4a.jpg","text":"TemporaryFile(/tmp/multipartBody8913820554066585351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817888367,"filename":"image_09122025_02_27_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f5a14b429dffc7a6974e1eb97b71b8d.jpg","text":"TemporaryFile(/tmp/multipartBody4886320795108067101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817888367,"filename":"image_09122025_02_26_45_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228183","file1":"1401228182","file0":"1401228181","file4":"1401228186","file5":"1401228187","file3":"1401228184"},"map_files_photo_id_array":[{"photo_id":"1401228187","filename":"file5"},{"photo_id":"1401228183","filename":"file2"},{"photo_id":"1401228186","filename":"file4"},{"photo_id":"1401228182","filename":"file1"},{"photo_id":"1401228181","filename":"file0"},{"photo_id":"1401228184","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228181":["hashtag1","hashtag2"]},{"1401228184":["hashtag1","hashtag2"]},{"1401228183":["hashtag1","hashtag2"]},{"1401228186":["hashtag1","hashtag2"]},{"1401228182":["hashtag1","hashtag2"]},{"1401228187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228181, 1401228184, 1401228183, 1401228186, 1401228182, 1401228187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45818257331848 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:44:32.670716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_24_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_15_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/02/25/image_09122025_02_26_05_10655.jpg', 2), ('/home/nano/Desktop/images/09122025/02/25/image_09122025_02_25_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/25/image_09122025_02_25_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/02/24/image_09122025_02_25_04_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_24_9654.jpg', '/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_15_9648.jpg', '/home/nano/Desktop/images/09122025/02/25/image_09122025_02_26_05_10655.jpg', '/home/nano/Desktop/images/09122025/02/25/image_09122025_02_25_54_9631.jpg', '/home/nano/Desktop/images/09122025/02/25/image_09122025_02_25_15_10660.jpg', '/home/nano/Desktop/images/09122025/02/24/image_09122025_02_25_04_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_24_9654.jpg
/home/nano/Desktop/images/09122025/02/26/image_09122025_02_26_15_9648.jpg
/home/nano/Desktop/images/09122025/02/25/image_09122025_02_26_05_10655.jpg
/home/nano/Desktop/images/09122025/02/25/image_09122025_02_25_54_9631.jpg
/home/nano/Desktop/images/09122025/02/25/image_09122025_02_25_15_10660.jpg
/home/nano/Desktop/images/09122025/02/24/image_09122025_02_25_04_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":["1401228199","1401228211","1401228210","1401228197","1401228201","1401228209"],"photo_ids_order":["1401228197","1401228199","1401228201","1401228209","1401228210","1401228211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8de02875baafad1561487fc139d4899e.jpg","text":"TemporaryFile(/tmp/multipartBody4838287386296524445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817933524,"filename":"image_09122025_02_26_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b735ad7b8f6d6a015b193d2effc41f1.jpg","text":"TemporaryFile(/tmp/multipartBody468827085086962723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817933524,"filename":"image_09122025_02_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/12/27/edaa867b08f443db6c7c06f30c276f5b.jpg","text":"TemporaryFile(/tmp/multipartBody2643572053722475387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817933524,"filename":"image_09122025_02_25_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dbd773a4f2cfef24546e379b06ceb54.jpg","text":"TemporaryFile(/tmp/multipartBody6303731809946698659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817933524,"filename":"image_09122025_02_26_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/12/27/f772006ba48534f4a518fa2deda59607.jpg","text":"TemporaryFile(/tmp/multipartBody5019732461395690466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817933524,"filename":"image_09122025_02_26_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e512886a1629c730373f4c6591c8ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3680167808076083941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817933524,"filename":"image_09122025_02_25_54_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228201","file1":"1401228199","file0":"1401228197","file4":"1401228210","file5":"1401228211","file3":"1401228209"},"map_files_photo_id_array":[{"photo_id":"1401228211","filename":"file5"},{"photo_id":"1401228201","filename":"file2"},{"photo_id":"1401228210","filename":"file4"},{"photo_id":"1401228199","filename":"file1"},{"photo_id":"1401228197","filename":"file0"},{"photo_id":"1401228209","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228199":["hashtag1","hashtag2"]},{"1401228211":["hashtag1","hashtag2"]},{"1401228210":["hashtag1","hashtag2"]},{"1401228197":["hashtag1","hashtag2"]},{"1401228201":["hashtag1","hashtag2"]},{"1401228209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228199, 1401228211, 1401228210, 1401228197, 1401228201, 1401228209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.464229106903076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:45:17.721194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_15_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_54_9634.jpg', '/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_45_10644.jpg', '/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_34_9632.jpg', '/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_55_9633.jpg', '/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_34_9632.jpg', '/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_15_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_54_9634.jpg
/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_45_10644.jpg
/home/nano/Desktop/images/09122025/02/24/image_09122025_02_24_34_9632.jpg
/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_55_9633.jpg
/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_34_9632.jpg
/home/nano/Desktop/images/09122025/02/23/image_09122025_02_23_15_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":["1401228226","1401228220","1401228222","1401228216","1401228224","1401228218"],"photo_ids_order":["1401228216","1401228218","1401228220","1401228222","1401228224","1401228226"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/660d3423db8969737a345048ac78cfaa.jpg","text":"TemporaryFile(/tmp/multipartBody3023658969330970395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817978564,"filename":"image_09122025_02_23_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5db9da83f8551db7c784705d4416ee03.jpg","text":"TemporaryFile(/tmp/multipartBody6510044599682216515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817978564,"filename":"image_09122025_02_24_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/12/27/5a0f6114c84d698f53482aa9d7b0deba.jpg","text":"TemporaryFile(/tmp/multipartBody6479102719329400444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817978564,"filename":"image_09122025_02_23_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0971f56ce51aceeea99ae81010afc3e0.jpg","text":"TemporaryFile(/tmp/multipartBody6413367446833400117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817978564,"filename":"image_09122025_02_24_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/12/27/c1cdb4a0682d0a881e8c86283cdd8c23.jpg","text":"TemporaryFile(/tmp/multipartBody7966517940154135509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817978564,"filename":"image_09122025_02_23_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/12/27/5a30cf40a4f487d24d48aed305a5bb3e.jpg","text":"TemporaryFile(/tmp/multipartBody6008029819737345922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766817978564,"filename":"image_09122025_02_24_45_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228220","file1":"1401228218","file0":"1401228216","file4":"1401228224","file5":"1401228226","file3":"1401228222"},"map_files_photo_id_array":[{"photo_id":"1401228226","filename":"file5"},{"photo_id":"1401228220","filename":"file2"},{"photo_id":"1401228224","filename":"file4"},{"photo_id":"1401228218","filename":"file1"},{"photo_id":"1401228216","filename":"file0"},{"photo_id":"1401228222","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228226":["hashtag1","hashtag2"]},{"1401228220":["hashtag1","hashtag2"]},{"1401228222":["hashtag1","hashtag2"]},{"1401228216":["hashtag1","hashtag2"]},{"1401228224":["hashtag1","hashtag2"]},{"1401228218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228226, 1401228220, 1401228222, 1401228216, 1401228224, 1401228218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.010977268218994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:46:02.452031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/22/image_09122025_02_23_04_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_55_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_14_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/22/image_09122025_02_23_04_9635.jpg', '/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_55_10659.jpg', '/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_44_9639.jpg', '/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_34_9634.jpg', '/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_25_10641.jpg', '/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/22/image_09122025_02_23_04_9635.jpg
/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_55_10659.jpg
/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_44_9639.jpg
/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_34_9634.jpg
/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_25_10641.jpg
/home/nano/Desktop/images/09122025/02/22/image_09122025_02_22_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":["1401228235","1401228229","1401228240","1401228237","1401228231","1401228233"],"photo_ids_order":["1401228229","1401228231","1401228233","1401228235","1401228237","1401228240"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d60c8d88e49304a75d90a8d1165d418.jpg","text":"TemporaryFile(/tmp/multipartBody443039825410577724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818023337,"filename":"image_09122025_02_22_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/12/27/2fe8d68e7fd5973cc7bc33eeadb5f726.jpg","text":"TemporaryFile(/tmp/multipartBody9184547554079630264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818023337,"filename":"image_09122025_02_23_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/12/27/cf1a7e276da065cf8b6b9b1a10309766.jpg","text":"TemporaryFile(/tmp/multipartBody4992604992403346883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818023337,"filename":"image_09122025_02_22_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/12/27/cb5a8ff7b4fd7008798ed82abdf99d65.jpg","text":"TemporaryFile(/tmp/multipartBody4984055823648907095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818023337,"filename":"image_09122025_02_22_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3ed4c6694cd79de88da344f00a624aa.jpg","text":"TemporaryFile(/tmp/multipartBody4845730731449425596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818023337,"filename":"image_09122025_02_22_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00543024d62412ff7f214cee84a0ba43.jpg","text":"TemporaryFile(/tmp/multipartBody850989228361558596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818023337,"filename":"image_09122025_02_22_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228233","file1":"1401228231","file0":"1401228229","file4":"1401228237","file5":"1401228240","file3":"1401228235"},"map_files_photo_id_array":[{"photo_id":"1401228240","filename":"file5"},{"photo_id":"1401228233","filename":"file2"},{"photo_id":"1401228237","filename":"file4"},{"photo_id":"1401228231","filename":"file1"},{"photo_id":"1401228229","filename":"file0"},{"photo_id":"1401228235","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228235":["hashtag1","hashtag2"]},{"1401228229":["hashtag1","hashtag2"]},{"1401228240":["hashtag1","hashtag2"]},{"1401228237":["hashtag1","hashtag2"]},{"1401228231":["hashtag1","hashtag2"]},{"1401228233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228235, 1401228229, 1401228240, 1401228237, 1401228231, 1401228233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06295132637024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:46:46.926624
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/07/46/image_27122025_07_46_15_10538.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/07/46/image_27122025_07_46_15_10538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/07/46/image_27122025_07_46_15_10538.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.13109731674194336 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:47:02.677062
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/07/46/image_27122025_07_46_15_10538.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/07/46/image_27122025_07_46_15_10538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/07/46/image_27122025_07_46_15_10538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401228247"],"photo_id":"1401228247","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc0d964d8712abe08ce53a66ca117f98.jpg","text":"TemporaryFile(/tmp/multipartBody1510031451940074661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818082942,"filename":"image_27122025_07_46_15_10538.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401228247"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401228247"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.25234317779541 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:47:17.031147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_44_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_35_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_14_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/02/20/image_09122025_02_21_05_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_55_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_24_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_44_9630.jpg', '/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_35_9631.jpg', '/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_14_9639.jpg', '/home/nano/Desktop/images/09122025/02/20/image_09122025_02_21_05_9655.jpg', '/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_55_10645.jpg', '/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_24_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_44_9630.jpg
/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_35_9631.jpg
/home/nano/Desktop/images/09122025/02/21/image_09122025_02_21_14_9639.jpg
/home/nano/Desktop/images/09122025/02/20/image_09122025_02_21_05_9655.jpg
/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_55_10645.jpg
/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_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":["1401228262","1401228256","1401228259","1401228250","1401228253","1401228249"],"photo_ids_order":["1401228249","1401228250","1401228253","1401228256","1401228259","1401228262"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1f440b9dd03913f0dbc442162813444.jpg","text":"TemporaryFile(/tmp/multipartBody5845905696985872302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818097871,"filename":"image_09122025_02_20_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/12/27/af3fcb338636ff512d32f98c276df0fe.jpg","text":"TemporaryFile(/tmp/multipartBody4621215710778628536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818097871,"filename":"image_09122025_02_21_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8a9d0c7676731d467c8aac712570769.jpg","text":"TemporaryFile(/tmp/multipartBody3771529337548792340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818097871,"filename":"image_09122025_02_20_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47b840ee88a15f0bd6a079c15d39a21e.jpg","text":"TemporaryFile(/tmp/multipartBody3640146662762961353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818097871,"filename":"image_09122025_02_21_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/caa54baa7e87b35dbff34eee340c8316.jpg","text":"TemporaryFile(/tmp/multipartBody2908807916199658860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818097871,"filename":"image_09122025_02_21_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/12/27/2715b3008957c14a7c93fceafea2e044.jpg","text":"TemporaryFile(/tmp/multipartBody7396343829459035352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818097871,"filename":"image_09122025_02_21_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228253","file1":"1401228250","file0":"1401228249","file4":"1401228259","file5":"1401228262","file3":"1401228256"},"map_files_photo_id_array":[{"photo_id":"1401228262","filename":"file5"},{"photo_id":"1401228253","filename":"file2"},{"photo_id":"1401228259","filename":"file4"},{"photo_id":"1401228250","filename":"file1"},{"photo_id":"1401228249","filename":"file0"},{"photo_id":"1401228256","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228262":["hashtag1","hashtag2"]},{"1401228256":["hashtag1","hashtag2"]},{"1401228259":["hashtag1","hashtag2"]},{"1401228250":["hashtag1","hashtag2"]},{"1401228253":["hashtag1","hashtag2"]},{"1401228249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228262, 1401228256, 1401228259, 1401228250, 1401228253, 1401228249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37376594543457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:48:02.704156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_15_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_20_05_10681.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_45_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_15_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_15_9656.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_20_05_10681.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_54_9634.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_45_9654.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_35_10643.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_15_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_15_9656.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_20_05_10681.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_54_9634.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_45_9654.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_35_10643.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_15_9648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7870187759399414 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:48:17.116771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_15_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_20_05_10681.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_45_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_15_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_15_9656.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_20_05_10681.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_54_9634.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_45_9654.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_35_10643.jpg', '/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_15_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/20/image_09122025_02_20_15_9656.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_20_05_10681.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_54_9634.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_45_9654.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_35_10643.jpg
/home/nano/Desktop/images/09122025/02/19/image_09122025_02_19_15_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":["1401228271","1401228282","1401228285","1401228279","1401228273","1401228276"],"photo_ids_order":["1401228271","1401228273","1401228276","1401228279","1401228282","1401228285"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e7895785d0c34db2790ca4a1f8d2519.jpg","text":"TemporaryFile(/tmp/multipartBody9095345967530760810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818157923,"filename":"image_09122025_02_20_15_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/493afefd97f5a6e565245a071d8d49e4.jpg","text":"TemporaryFile(/tmp/multipartBody3874331955452033545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818157923,"filename":"image_09122025_02_19_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eae9ef4f6a973ef68e30968e160fb9c9.jpg","text":"TemporaryFile(/tmp/multipartBody5201959201713060840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818157923,"filename":"image_09122025_02_19_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16a2bb4409cc675674d20da4646c7b29.jpg","text":"TemporaryFile(/tmp/multipartBody5925522198639193707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818157923,"filename":"image_09122025_02_19_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03277e3e86fd6f9531a8f2786292e2b8.jpg","text":"TemporaryFile(/tmp/multipartBody4049931584801406720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818157923,"filename":"image_09122025_02_20_05_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/151573da92ec090becac56a7d8bccefe.jpg","text":"TemporaryFile(/tmp/multipartBody7629674203190160457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818157923,"filename":"image_09122025_02_19_54_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228276","file1":"1401228273","file0":"1401228271","file4":"1401228282","file5":"1401228285","file3":"1401228279"},"map_files_photo_id_array":[{"photo_id":"1401228285","filename":"file5"},{"photo_id":"1401228276","filename":"file2"},{"photo_id":"1401228282","filename":"file4"},{"photo_id":"1401228273","filename":"file1"},{"photo_id":"1401228271","filename":"file0"},{"photo_id":"1401228279","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228271":["hashtag1","hashtag2"]},{"1401228282":["hashtag1","hashtag2"]},{"1401228285":["hashtag1","hashtag2"]},{"1401228279":["hashtag1","hashtag2"]},{"1401228273":["hashtag1","hashtag2"]},{"1401228276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228271, 1401228282, 1401228285, 1401228279, 1401228273, 1401228276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72176194190979 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:49:03.193982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/18/image_09122025_02_19_05_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/02/18/image_09122025_02_18_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/17/image_09122025_02_18_04_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_25_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/18/image_09122025_02_19_05_10644.jpg', '/home/nano/Desktop/images/09122025/02/18/image_09122025_02_18_54_9632.jpg', '/home/nano/Desktop/images/09122025/02/17/image_09122025_02_18_04_9633.jpg', '/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_54_9634.jpg', '/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_34_9633.jpg', '/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_25_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/18/image_09122025_02_19_05_10644.jpg
/home/nano/Desktop/images/09122025/02/18/image_09122025_02_18_54_9632.jpg
/home/nano/Desktop/images/09122025/02/17/image_09122025_02_18_04_9633.jpg
/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_54_9634.jpg
/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_34_9633.jpg
/home/nano/Desktop/images/09122025/02/17/image_09122025_02_17_25_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":["1401228295","1401228297","1401228300","1401228293","1401228298","1401228292"],"photo_ids_order":["1401228292","1401228293","1401228295","1401228297","1401228298","1401228300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c733128a4f96c6c1f8c86d77c856c87e.jpg","text":"TemporaryFile(/tmp/multipartBody8632236619878367449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818204053,"filename":"image_09122025_02_18_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/12/27/bb9d24eab475bf25b564df18f5340956.jpg","text":"TemporaryFile(/tmp/multipartBody7158704086325848861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818204053,"filename":"image_09122025_02_17_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/12/27/49ec24678010134cb249a1bfe981091a.jpg","text":"TemporaryFile(/tmp/multipartBody9116594108695516516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818204053,"filename":"image_09122025_02_17_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1df1e9db0b58c3d5d26018a9eba50df.jpg","text":"TemporaryFile(/tmp/multipartBody9090241418239458698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818204053,"filename":"image_09122025_02_18_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/12/27/4e96757e54ea052ca64a679915d05436.jpg","text":"TemporaryFile(/tmp/multipartBody8962449350569427801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818204053,"filename":"image_09122025_02_17_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/12/27/f4779d2b6deb4f932ade158a23a3400d.jpg","text":"TemporaryFile(/tmp/multipartBody7760975867771887437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818204053,"filename":"image_09122025_02_19_05_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228295","file1":"1401228293","file0":"1401228292","file4":"1401228298","file5":"1401228300","file3":"1401228297"},"map_files_photo_id_array":[{"photo_id":"1401228300","filename":"file5"},{"photo_id":"1401228295","filename":"file2"},{"photo_id":"1401228298","filename":"file4"},{"photo_id":"1401228293","filename":"file1"},{"photo_id":"1401228292","filename":"file0"},{"photo_id":"1401228297","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228295":["hashtag1","hashtag2"]},{"1401228297":["hashtag1","hashtag2"]},{"1401228300":["hashtag1","hashtag2"]},{"1401228293":["hashtag1","hashtag2"]},{"1401228298":["hashtag1","hashtag2"]},{"1401228292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228295, 1401228297, 1401228300, 1401228293, 1401228298, 1401228292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02359414100647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:49:47.248336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/16/image_09122025_02_17_04_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_55_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/16/image_09122025_02_17_04_9639.jpg', '/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_55_9632.jpg', '/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_45_10643.jpg', '/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_34_9634.jpg', '/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_25_10642.jpg', '/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_14_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/16/image_09122025_02_17_04_9639.jpg
/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_55_9632.jpg
/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_45_10643.jpg
/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_34_9634.jpg
/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_25_10642.jpg
/home/nano/Desktop/images/09122025/02/16/image_09122025_02_16_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":["1401228310","1401228313","1401228315","1401228309","1401228311","1401228308"],"photo_ids_order":["1401228308","1401228309","1401228310","1401228311","1401228313","1401228315"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cd06846d47a78ee8741aebae9ad1c38.jpg","text":"TemporaryFile(/tmp/multipartBody7175527283882124167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818248073,"filename":"image_09122025_02_16_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92e99a65eee147ce658d63b61a71f394.jpg","text":"TemporaryFile(/tmp/multipartBody4157446997931608048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818248073,"filename":"image_09122025_02_16_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3aaa12eded56fb33be0192d49067f6c.jpg","text":"TemporaryFile(/tmp/multipartBody2820924719888688212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818248073,"filename":"image_09122025_02_16_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/12/27/2ab4ebeaf59d765c4f1494b5bdc445bf.jpg","text":"TemporaryFile(/tmp/multipartBody8926794376173040412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818248073,"filename":"image_09122025_02_16_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1787d7b1f692366c4e8070dd88fe6821.jpg","text":"TemporaryFile(/tmp/multipartBody7779319332103652210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818248073,"filename":"image_09122025_02_16_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/12/27/1f00adc283e67a92e0b7072eea414d96.jpg","text":"TemporaryFile(/tmp/multipartBody358831428630131453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818248073,"filename":"image_09122025_02_17_04_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228310","file1":"1401228309","file0":"1401228308","file4":"1401228313","file5":"1401228315","file3":"1401228311"},"map_files_photo_id_array":[{"photo_id":"1401228315","filename":"file5"},{"photo_id":"1401228310","filename":"file2"},{"photo_id":"1401228313","filename":"file4"},{"photo_id":"1401228309","filename":"file1"},{"photo_id":"1401228308","filename":"file0"},{"photo_id":"1401228311","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228310":["hashtag1","hashtag2"]},{"1401228313":["hashtag1","hashtag2"]},{"1401228315":["hashtag1","hashtag2"]},{"1401228309":["hashtag1","hashtag2"]},{"1401228311":["hashtag1","hashtag2"]},{"1401228308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228310, 1401228313, 1401228315, 1401228309, 1401228311, 1401228308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79478645324707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:50:32.334127
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/15/image_09122025_02_16_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/02/15/image_09122025_02_15_55_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/02/15/image_09122025_02_15_44_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/02/14/image_09122025_02_15_05_9665.jpg', 2), ('/home/nano/Desktop/images/09122025/02/14/image_09122025_02_14_55_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/02/13/image_09122025_02_14_05_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/15/image_09122025_02_16_04_9638.jpg', '/home/nano/Desktop/images/09122025/02/15/image_09122025_02_15_55_10659.jpg', '/home/nano/Desktop/images/09122025/02/15/image_09122025_02_15_44_9653.jpg', '/home/nano/Desktop/images/09122025/02/14/image_09122025_02_15_05_9665.jpg', '/home/nano/Desktop/images/09122025/02/14/image_09122025_02_14_55_10646.jpg', '/home/nano/Desktop/images/09122025/02/13/image_09122025_02_14_05_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/15/image_09122025_02_16_04_9638.jpg
/home/nano/Desktop/images/09122025/02/15/image_09122025_02_15_55_10659.jpg
/home/nano/Desktop/images/09122025/02/15/image_09122025_02_15_44_9653.jpg
/home/nano/Desktop/images/09122025/02/14/image_09122025_02_15_05_9665.jpg
/home/nano/Desktop/images/09122025/02/14/image_09122025_02_14_55_10646.jpg
/home/nano/Desktop/images/09122025/02/13/image_09122025_02_14_05_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":["1401228322","1401228331","1401228328","1401228330","1401228324","1401228326"],"photo_ids_order":["1401228322","1401228324","1401228326","1401228328","1401228330","1401228331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a4b14c54f53524903bad62e47d45b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2789225520647550026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818293161,"filename":"image_09122025_02_16_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/12/27/f63a3e2581a3d762b4edc319a1b583fd.jpg","text":"TemporaryFile(/tmp/multipartBody4452120738989740632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818293161,"filename":"image_09122025_02_14_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c696f1f4540cd148761741f19dd56770.jpg","text":"TemporaryFile(/tmp/multipartBody4142858030918218511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818293161,"filename":"image_09122025_02_15_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0047e2559297eda9c1756e460e28eabe.jpg","text":"TemporaryFile(/tmp/multipartBody1063387733727166026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818293161,"filename":"image_09122025_02_14_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37c66ca873ae9c2270de25c416233300.jpg","text":"TemporaryFile(/tmp/multipartBody8649945402215506948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818293161,"filename":"image_09122025_02_15_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9981706295b1cc89e455d5d68daf9fe.jpg","text":"TemporaryFile(/tmp/multipartBody8416598308532215532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818293161,"filename":"image_09122025_02_15_44_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228326","file1":"1401228324","file0":"1401228322","file4":"1401228330","file5":"1401228331","file3":"1401228328"},"map_files_photo_id_array":[{"photo_id":"1401228331","filename":"file5"},{"photo_id":"1401228326","filename":"file2"},{"photo_id":"1401228330","filename":"file4"},{"photo_id":"1401228324","filename":"file1"},{"photo_id":"1401228322","filename":"file0"},{"photo_id":"1401228328","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228322":["hashtag1","hashtag2"]},{"1401228331":["hashtag1","hashtag2"]},{"1401228328":["hashtag1","hashtag2"]},{"1401228330":["hashtag1","hashtag2"]},{"1401228324":["hashtag1","hashtag2"]},{"1401228326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228322, 1401228331, 1401228328, 1401228330, 1401228324, 1401228326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36215925216675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:51:17.429361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_35_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_15_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_55_10641.jpg', '/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_35_10645.jpg', '/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_24_9635.jpg', '/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_35_10659.jpg', '/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_24_9635.jpg', '/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_15_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_55_10641.jpg
/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_35_10645.jpg
/home/nano/Desktop/images/09122025/02/13/image_09122025_02_13_24_9635.jpg
/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_35_10659.jpg
/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_24_9635.jpg
/home/nano/Desktop/images/09122025/02/12/image_09122025_02_12_15_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":["1401228343","1401228337","1401228345","1401228336","1401228339","1401228341"],"photo_ids_order":["1401228336","1401228337","1401228339","1401228341","1401228343","1401228345"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ac21b291dd6ffdbd044fc745ffac98c.jpg","text":"TemporaryFile(/tmp/multipartBody5084547400971086248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818338276,"filename":"image_09122025_02_12_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/12/27/c6f2ff639737b29ab7d267dd7bb99440.jpg","text":"TemporaryFile(/tmp/multipartBody8651455010491712973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818338276,"filename":"image_09122025_02_13_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6d872a3d9dde9d2142f96d5679069c7.jpg","text":"TemporaryFile(/tmp/multipartBody9006814671718253013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818338276,"filename":"image_09122025_02_12_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4937fdbf453b99ded23b45e8b80ea739.jpg","text":"TemporaryFile(/tmp/multipartBody2188531080661417784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818338276,"filename":"image_09122025_02_13_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01b9020c33d730794d16504fca1f18ab.jpg","text":"TemporaryFile(/tmp/multipartBody6676454691565394595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818338276,"filename":"image_09122025_02_13_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/12/27/10577170963f225d6c803f2d880111b2.jpg","text":"TemporaryFile(/tmp/multipartBody3753732544053618612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818338276,"filename":"image_09122025_02_12_35_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228339","file1":"1401228337","file0":"1401228336","file4":"1401228343","file5":"1401228345","file3":"1401228341"},"map_files_photo_id_array":[{"photo_id":"1401228345","filename":"file5"},{"photo_id":"1401228339","filename":"file2"},{"photo_id":"1401228343","filename":"file4"},{"photo_id":"1401228337","filename":"file1"},{"photo_id":"1401228336","filename":"file0"},{"photo_id":"1401228341","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228343":["hashtag1","hashtag2"]},{"1401228337":["hashtag1","hashtag2"]},{"1401228345":["hashtag1","hashtag2"]},{"1401228336":["hashtag1","hashtag2"]},{"1401228339":["hashtag1","hashtag2"]},{"1401228341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228343, 1401228337, 1401228345, 1401228336, 1401228339, 1401228341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.694037675857544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:52:03.033008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/11/image_09122025_02_12_05_10653.jpg', 2), ('/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_35_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/02/10/image_09122025_02_10_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/02/09/image_09122025_02_09_45_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/11/image_09122025_02_12_05_10653.jpg', '/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_35_10646.jpg', '/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_24_9631.jpg', '/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_15_10657.jpg', '/home/nano/Desktop/images/09122025/02/10/image_09122025_02_10_15_10659.jpg', '/home/nano/Desktop/images/09122025/02/09/image_09122025_02_09_45_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/11/image_09122025_02_12_05_10653.jpg
/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_35_10646.jpg
/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_24_9631.jpg
/home/nano/Desktop/images/09122025/02/11/image_09122025_02_11_15_10657.jpg
/home/nano/Desktop/images/09122025/02/10/image_09122025_02_10_15_10659.jpg
/home/nano/Desktop/images/09122025/02/09/image_09122025_02_09_45_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":["1401228355","1401228352","1401228360","1401228357","1401228350","1401228353"],"photo_ids_order":["1401228350","1401228352","1401228353","1401228355","1401228357","1401228360"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d85389ef9227584be691ef1e42773224.jpg","text":"TemporaryFile(/tmp/multipartBody2248712656030564870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818383949,"filename":"image_09122025_02_11_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abae5fcf847e9708892bb4b34aef5097.jpg","text":"TemporaryFile(/tmp/multipartBody1489152252121981998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818383949,"filename":"image_09122025_02_11_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9698a812b008d53c53dc6cb59a69ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2889360749368044400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818383949,"filename":"image_09122025_02_09_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f4333ac18947ac20c90276f7284003a.jpg","text":"TemporaryFile(/tmp/multipartBody1256243296188923861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818383949,"filename":"image_09122025_02_10_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10fb41d6c26d53519d7f95cd724273a1.jpg","text":"TemporaryFile(/tmp/multipartBody8622881789314020109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818383949,"filename":"image_09122025_02_12_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/918e5d84a11193e753ddc398d24d87dd.jpg","text":"TemporaryFile(/tmp/multipartBody7460430881689551957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818383949,"filename":"image_09122025_02_11_24_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228353","file1":"1401228352","file0":"1401228350","file4":"1401228357","file5":"1401228360","file3":"1401228355"},"map_files_photo_id_array":[{"photo_id":"1401228360","filename":"file5"},{"photo_id":"1401228353","filename":"file2"},{"photo_id":"1401228357","filename":"file4"},{"photo_id":"1401228352","filename":"file1"},{"photo_id":"1401228350","filename":"file0"},{"photo_id":"1401228355","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228355":["hashtag1","hashtag2"]},{"1401228352":["hashtag1","hashtag2"]},{"1401228360":["hashtag1","hashtag2"]},{"1401228357":["hashtag1","hashtag2"]},{"1401228350":["hashtag1","hashtag2"]},{"1401228353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228355, 1401228352, 1401228360, 1401228357, 1401228350, 1401228353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88824415206909 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:52:47.534946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/09/image_09122025_02_09_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/02/08/image_09122025_02_09_04_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_44_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/07/image_09122025_02_08_05_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/09/image_09122025_02_09_15_10658.jpg', '/home/nano/Desktop/images/09122025/02/08/image_09122025_02_09_04_9647.jpg', '/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_44_9650.jpg', '/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_34_9633.jpg', '/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_14_9650.jpg', '/home/nano/Desktop/images/09122025/02/07/image_09122025_02_08_05_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/09/image_09122025_02_09_15_10658.jpg
/home/nano/Desktop/images/09122025/02/08/image_09122025_02_09_04_9647.jpg
/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_44_9650.jpg
/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_34_9633.jpg
/home/nano/Desktop/images/09122025/02/08/image_09122025_02_08_14_9650.jpg
/home/nano/Desktop/images/09122025/02/07/image_09122025_02_08_05_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":["1401228373","1401228367","1401228370","1401228375","1401228369","1401228368"],"photo_ids_order":["1401228367","1401228368","1401228369","1401228370","1401228373","1401228375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cddb2637b5f0cf23df7251081c862ea.jpg","text":"TemporaryFile(/tmp/multipartBody4632250700188440926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818428355,"filename":"image_09122025_02_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/12/27/41c21c89d0ec70c7354fbaa220c8f5be.jpg","text":"TemporaryFile(/tmp/multipartBody6618658282794328789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818428355,"filename":"image_09122025_02_09_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b7cada2618366ac28b9e02fa5b71174.jpg","text":"TemporaryFile(/tmp/multipartBody8454888328550842113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818428355,"filename":"image_09122025_02_08_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/12/27/1d47065cf0c606e3d1b0f93134941ecb.jpg","text":"TemporaryFile(/tmp/multipartBody4487263866220122194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818428355,"filename":"image_09122025_02_08_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acc9d7bea6cd1721431d07c0b7668806.jpg","text":"TemporaryFile(/tmp/multipartBody6149884209345084838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818428355,"filename":"image_09122025_02_08_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/12/27/d3f3d79f3d648deda631f2fd758a12bb.jpg","text":"TemporaryFile(/tmp/multipartBody4281019585584731730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818428355,"filename":"image_09122025_02_09_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228369","file1":"1401228368","file0":"1401228367","file4":"1401228373","file5":"1401228375","file3":"1401228370"},"map_files_photo_id_array":[{"photo_id":"1401228375","filename":"file5"},{"photo_id":"1401228369","filename":"file2"},{"photo_id":"1401228373","filename":"file4"},{"photo_id":"1401228368","filename":"file1"},{"photo_id":"1401228367","filename":"file0"},{"photo_id":"1401228370","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228373":["hashtag1","hashtag2"]},{"1401228367":["hashtag1","hashtag2"]},{"1401228370":["hashtag1","hashtag2"]},{"1401228375":["hashtag1","hashtag2"]},{"1401228369":["hashtag1","hashtag2"]},{"1401228368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228373, 1401228367, 1401228370, 1401228375, 1401228369, 1401228368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.918787717819214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:53:32.631266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_35_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/06/image_09122025_02_07_05_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_44_9634.jpg', '/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_35_9633.jpg', '/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_25_10641.jpg', '/home/nano/Desktop/images/09122025/02/06/image_09122025_02_07_05_9641.jpg', '/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_55_10642.jpg', '/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_44_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_44_9634.jpg
/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_35_9633.jpg
/home/nano/Desktop/images/09122025/02/07/image_09122025_02_07_25_10641.jpg
/home/nano/Desktop/images/09122025/02/06/image_09122025_02_07_05_9641.jpg
/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_55_10642.jpg
/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_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":["1401228382","1401228384","1401228392","1401228389","1401228386","1401228391"],"photo_ids_order":["1401228382","1401228384","1401228386","1401228389","1401228391","1401228392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0aa2729a2b53f1b5addefbc2257befeb.jpg","text":"TemporaryFile(/tmp/multipartBody7539900390340781788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818473458,"filename":"image_09122025_02_07_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/12/27/2026bf1ee3931c7149730027fb74c531.jpg","text":"TemporaryFile(/tmp/multipartBody383188270480658929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818473458,"filename":"image_09122025_02_07_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50970d51c29b32e02ed6a7eda8f09451.jpg","text":"TemporaryFile(/tmp/multipartBody4250758808703148599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818473458,"filename":"image_09122025_02_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/12/27/7f5384f0a9a69630595c29cd745cb242.jpg","text":"TemporaryFile(/tmp/multipartBody872340717771149342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818473458,"filename":"image_09122025_02_07_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4dfac17961194331cc7a6e7de5239359.jpg","text":"TemporaryFile(/tmp/multipartBody382950462077392971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818473458,"filename":"image_09122025_02_07_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee9308c47592a23aa62be38973550fc8.jpg","text":"TemporaryFile(/tmp/multipartBody3566234498966497992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818473458,"filename":"image_09122025_02_06_55_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228386","file1":"1401228384","file0":"1401228382","file4":"1401228391","file5":"1401228392","file3":"1401228389"},"map_files_photo_id_array":[{"photo_id":"1401228392","filename":"file5"},{"photo_id":"1401228386","filename":"file2"},{"photo_id":"1401228391","filename":"file4"},{"photo_id":"1401228384","filename":"file1"},{"photo_id":"1401228382","filename":"file0"},{"photo_id":"1401228389","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228382":["hashtag1","hashtag2"]},{"1401228384":["hashtag1","hashtag2"]},{"1401228392":["hashtag1","hashtag2"]},{"1401228389":["hashtag1","hashtag2"]},{"1401228386":["hashtag1","hashtag2"]},{"1401228391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228382, 1401228384, 1401228392, 1401228389, 1401228386, 1401228391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83668613433838 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:54:17.779058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_35_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/02/05/image_09122025_02_06_05_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_45_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_35_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_35_10642.jpg', '/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_24_9632.jpg', '/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_15_9650.jpg', '/home/nano/Desktop/images/09122025/02/05/image_09122025_02_06_05_10646.jpg', '/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_45_9638.jpg', '/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_35_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_35_10642.jpg
/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_24_9632.jpg
/home/nano/Desktop/images/09122025/02/06/image_09122025_02_06_15_9650.jpg
/home/nano/Desktop/images/09122025/02/05/image_09122025_02_06_05_10646.jpg
/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_45_9638.jpg
/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_35_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":["1401228399","1401228408","1401228402","1401228411","1401228405","1401228397"],"photo_ids_order":["1401228397","1401228399","1401228402","1401228405","1401228408","1401228411"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e92937add143d419d261eeeb2bb5b486.jpg","text":"TemporaryFile(/tmp/multipartBody9200764846553615985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818518648,"filename":"image_09122025_02_06_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/12/27/4003f0234bec403b7dd17f68911fccb3.jpg","text":"TemporaryFile(/tmp/multipartBody7610996928992325512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818518648,"filename":"image_09122025_02_05_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51798a36019ce858e845e307daf10b9d.jpg","text":"TemporaryFile(/tmp/multipartBody48108427489754096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818518648,"filename":"image_09122025_02_06_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf72cb3a176f0d45433ca82f7e7d3613.jpg","text":"TemporaryFile(/tmp/multipartBody5132700623882767158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818518648,"filename":"image_09122025_02_05_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/832c7b2e08d949b5c6c53cd971e94657.jpg","text":"TemporaryFile(/tmp/multipartBody7275182140474728511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818518648,"filename":"image_09122025_02_06_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f6d1183b7001e74579cddfe67da0ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5528745400445806764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818518648,"filename":"image_09122025_02_06_35_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228402","file1":"1401228399","file0":"1401228397","file4":"1401228408","file5":"1401228411","file3":"1401228405"},"map_files_photo_id_array":[{"photo_id":"1401228411","filename":"file5"},{"photo_id":"1401228402","filename":"file2"},{"photo_id":"1401228408","filename":"file4"},{"photo_id":"1401228399","filename":"file1"},{"photo_id":"1401228397","filename":"file0"},{"photo_id":"1401228405","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228399":["hashtag1","hashtag2"]},{"1401228408":["hashtag1","hashtag2"]},{"1401228402":["hashtag1","hashtag2"]},{"1401228411":["hashtag1","hashtag2"]},{"1401228405":["hashtag1","hashtag2"]},{"1401228397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228399, 1401228408, 1401228402, 1401228411, 1401228405, 1401228397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50448489189148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:55:02.571722
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/07/55/image_27122025_07_55_24_9508.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/07/55/image_27122025_07_55_24_9508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/07/55/image_27122025_07_55_24_9508.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401228415"],"photo_id":"1401228415","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68914d33756c9d176a15570276269a33.jpg","text":"TemporaryFile(/tmp/multipartBody5936001100901070875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818562834,"filename":"image_27122025_07_55_24_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401228415"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401228415"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.83185863494873 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:55:16.834077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_24_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_15_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/02/04/image_09122025_02_04_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/02/03/image_09122025_02_04_04_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_25_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_24_9648.jpg', '/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_15_9653.jpg', '/home/nano/Desktop/images/09122025/02/04/image_09122025_02_04_15_10659.jpg', '/home/nano/Desktop/images/09122025/02/03/image_09122025_02_04_04_9653.jpg', '/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_54_9632.jpg', '/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_25_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_24_9648.jpg
/home/nano/Desktop/images/09122025/02/05/image_09122025_02_05_15_9653.jpg
/home/nano/Desktop/images/09122025/02/04/image_09122025_02_04_15_10659.jpg
/home/nano/Desktop/images/09122025/02/03/image_09122025_02_04_04_9653.jpg
/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_54_9632.jpg
/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_25_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":["1401228421","1401228427","1401228429","1401228420","1401228423","1401228425"],"photo_ids_order":["1401228420","1401228421","1401228423","1401228425","1401228427","1401228429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6956929cd2c9ff1f946af8d666e466d8.jpg","text":"TemporaryFile(/tmp/multipartBody2421768723693769428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818577659,"filename":"image_09122025_02_05_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/038d964b7425c842deadcf45eb85e1ed.jpg","text":"TemporaryFile(/tmp/multipartBody828579220865234699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818577659,"filename":"image_09122025_02_03_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/12/27/bd333641cd9ffd51675353a8ff9b86ae.jpg","text":"TemporaryFile(/tmp/multipartBody5933366412723558732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818577659,"filename":"image_09122025_02_03_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/833e17bbeb589f966e7871d16b106292.jpg","text":"TemporaryFile(/tmp/multipartBody2860174564055371269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818577659,"filename":"image_09122025_02_05_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/12/27/c6fcb48026d099dcc7308668a59914b0.jpg","text":"TemporaryFile(/tmp/multipartBody3886037513749593327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818577659,"filename":"image_09122025_02_04_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70d24a7fc735202be527e9468cf0b280.jpg","text":"TemporaryFile(/tmp/multipartBody8885868335706868914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818577659,"filename":"image_09122025_02_04_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228423","file1":"1401228421","file0":"1401228420","file4":"1401228427","file5":"1401228429","file3":"1401228425"},"map_files_photo_id_array":[{"photo_id":"1401228429","filename":"file5"},{"photo_id":"1401228423","filename":"file2"},{"photo_id":"1401228427","filename":"file4"},{"photo_id":"1401228421","filename":"file1"},{"photo_id":"1401228420","filename":"file0"},{"photo_id":"1401228425","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228421":["hashtag1","hashtag2"]},{"1401228427":["hashtag1","hashtag2"]},{"1401228429":["hashtag1","hashtag2"]},{"1401228420":["hashtag1","hashtag2"]},{"1401228423":["hashtag1","hashtag2"]},{"1401228425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228421, 1401228427, 1401228429, 1401228420, 1401228423, 1401228425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.867133378982544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:56:02.481371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/02/02/image_09122025_02_03_04_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_14_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/02/01/image_09122025_02_02_04_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_15_10658.jpg', '/home/nano/Desktop/images/09122025/02/02/image_09122025_02_03_04_9647.jpg', '/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_45_10642.jpg', '/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_25_10641.jpg', '/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_14_9651.jpg', '/home/nano/Desktop/images/09122025/02/01/image_09122025_02_02_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/03/image_09122025_02_03_15_10658.jpg
/home/nano/Desktop/images/09122025/02/02/image_09122025_02_03_04_9647.jpg
/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_45_10642.jpg
/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_25_10641.jpg
/home/nano/Desktop/images/09122025/02/02/image_09122025_02_02_14_9651.jpg
/home/nano/Desktop/images/09122025/02/01/image_09122025_02_02_04_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":["1401228436","1401228439","1401228432","1401228438","1401228440","1401228434"],"photo_ids_order":["1401228432","1401228434","1401228436","1401228438","1401228439","1401228440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/127bcc2d56f110634b0afcf487d4e443.jpg","text":"TemporaryFile(/tmp/multipartBody5636262193019181176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818623383,"filename":"image_09122025_02_02_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/350e2173d440be414883a9a1f30d10b2.jpg","text":"TemporaryFile(/tmp/multipartBody7981058060363246851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818623383,"filename":"image_09122025_02_02_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/12/27/3c2dc394a6228b02dbdea0a3c861d68a.jpg","text":"TemporaryFile(/tmp/multipartBody7434176246567138484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818623383,"filename":"image_09122025_02_03_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b244c418c903fa0ce97a74abe2b86dac.jpg","text":"TemporaryFile(/tmp/multipartBody8686931159979802996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818623383,"filename":"image_09122025_02_02_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf6d443e3e890401bd98b8db18c99f05.jpg","text":"TemporaryFile(/tmp/multipartBody6920978727013933902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818623383,"filename":"image_09122025_02_02_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/12/27/d22a0c8f42810ea9f7520716d045d2d7.jpg","text":"TemporaryFile(/tmp/multipartBody2998548017940428041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818623383,"filename":"image_09122025_02_03_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228436","file1":"1401228434","file0":"1401228432","file4":"1401228439","file5":"1401228440","file3":"1401228438"},"map_files_photo_id_array":[{"photo_id":"1401228440","filename":"file5"},{"photo_id":"1401228436","filename":"file2"},{"photo_id":"1401228439","filename":"file4"},{"photo_id":"1401228434","filename":"file1"},{"photo_id":"1401228432","filename":"file0"},{"photo_id":"1401228438","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228436":["hashtag1","hashtag2"]},{"1401228439":["hashtag1","hashtag2"]},{"1401228432":["hashtag1","hashtag2"]},{"1401228438":["hashtag1","hashtag2"]},{"1401228440":["hashtag1","hashtag2"]},{"1401228434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228436, 1401228439, 1401228432, 1401228438, 1401228440, 1401228434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11234092712402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:56:46.968237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_55_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_35_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_14_9660.jpg', 2), ('/home/nano/Desktop/images/09122025/02/00/image_09122025_02_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_55_10639.jpg', '/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_35_9632.jpg', '/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_14_9660.jpg', '/home/nano/Desktop/images/09122025/02/00/image_09122025_02_01_05_9634.jpg', '/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_55_10642.jpg', '/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_55_10639.jpg
/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_35_9632.jpg
/home/nano/Desktop/images/09122025/02/01/image_09122025_02_01_14_9660.jpg
/home/nano/Desktop/images/09122025/02/00/image_09122025_02_01_05_9634.jpg
/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_55_10642.jpg
/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_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":["1401228451","1401228448","1401228453","1401228447","1401228446","1401228449"],"photo_ids_order":["1401228446","1401228447","1401228448","1401228449","1401228451","1401228453"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b20532e27114515cecaa318def8eb0d.jpg","text":"TemporaryFile(/tmp/multipartBody6162124395186864337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818667812,"filename":"image_09122025_02_00_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31d0d185e35158dcbd4ee838a5c5a03a.jpg","text":"TemporaryFile(/tmp/multipartBody3020143476736509785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818667812,"filename":"image_09122025_02_01_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/12/27/bc55bd7a748dd318ab04299afa9aace3.jpg","text":"TemporaryFile(/tmp/multipartBody2815225791197774951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818667812,"filename":"image_09122025_02_00_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/12/27/ebbe22fb8596f964ed95b4167ff97745.jpg","text":"TemporaryFile(/tmp/multipartBody3535725550399146595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818667812,"filename":"image_09122025_02_01_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6c6a7176481d286fef66ef0a80876ce.jpg","text":"TemporaryFile(/tmp/multipartBody7349948717431656406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818667812,"filename":"image_09122025_02_01_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0103c0513ef07e41a7840d4729079bfe.jpg","text":"TemporaryFile(/tmp/multipartBody1573661436789604660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818667812,"filename":"image_09122025_02_01_05_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228448","file1":"1401228447","file0":"1401228446","file4":"1401228451","file5":"1401228453","file3":"1401228449"},"map_files_photo_id_array":[{"photo_id":"1401228453","filename":"file5"},{"photo_id":"1401228448","filename":"file2"},{"photo_id":"1401228451","filename":"file4"},{"photo_id":"1401228447","filename":"file1"},{"photo_id":"1401228446","filename":"file0"},{"photo_id":"1401228449","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228451":["hashtag1","hashtag2"]},{"1401228448":["hashtag1","hashtag2"]},{"1401228453":["hashtag1","hashtag2"]},{"1401228447":["hashtag1","hashtag2"]},{"1401228446":["hashtag1","hashtag2"]},{"1401228449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228451, 1401228448, 1401228453, 1401228447, 1401228446, 1401228449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86025023460388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:57:32.041246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_35_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_02_00_05_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_54_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_35_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_35_9635.jpg', '/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_25_10642.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_02_00_05_10656.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_54_9650.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_44_9636.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_35_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_35_9635.jpg
/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_25_10642.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_02_00_05_10656.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_54_9650.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_44_9636.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_35_10640.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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:58:17.147959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_35_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_02_00_05_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_54_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_35_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_35_9635.jpg', '/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_25_10642.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_02_00_05_10656.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_54_9650.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_44_9636.jpg', '/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_35_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_35_9635.jpg
/home/nano/Desktop/images/09122025/02/00/image_09122025_02_00_25_10642.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_02_00_05_10656.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_54_9650.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_44_9636.jpg
/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_35_10640.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401228472","1401228469","1401228471","1401228474","1401228473","1401228470"],"photo_ids_order":["1401228469","1401228470","1401228471","1401228472","1401228473","1401228474"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bdee1b851c000a896c95ed22f70ebdfa.jpg","text":"TemporaryFile(/tmp/multipartBody7983793190426253627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818757967,"filename":"image_09122025_01_59_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/12/27/f32a623c3f9838fd7076f0e0564a58f1.jpg","text":"TemporaryFile(/tmp/multipartBody8878340629559693243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818757967,"filename":"image_09122025_02_00_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df0a1822ed2b8b3223e1938384b4de45.jpg","text":"TemporaryFile(/tmp/multipartBody7741722077616999625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818757967,"filename":"image_09122025_02_00_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe4726623df5845cce4a5ebeb414bf61.jpg","text":"TemporaryFile(/tmp/multipartBody1438965515887540150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818757967,"filename":"image_09122025_01_59_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d354e62c75ec8f94a45a03b68e862136.jpg","text":"TemporaryFile(/tmp/multipartBody7299328500704193416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818757967,"filename":"image_09122025_01_59_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/12/27/60740fd70b18b51e5bfa7fbe535ff825.jpg","text":"TemporaryFile(/tmp/multipartBody6927779473434943562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818757967,"filename":"image_09122025_02_00_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228471","file1":"1401228470","file0":"1401228469","file4":"1401228473","file5":"1401228474","file3":"1401228472"},"map_files_photo_id_array":[{"photo_id":"1401228474","filename":"file5"},{"photo_id":"1401228471","filename":"file2"},{"photo_id":"1401228473","filename":"file4"},{"photo_id":"1401228470","filename":"file1"},{"photo_id":"1401228469","filename":"file0"},{"photo_id":"1401228472","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228472":["hashtag1","hashtag2"]},{"1401228469":["hashtag1","hashtag2"]},{"1401228471":["hashtag1","hashtag2"]},{"1401228474":["hashtag1","hashtag2"]},{"1401228473":["hashtag1","hashtag2"]},{"1401228470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228472, 1401228469, 1401228471, 1401228474, 1401228473, 1401228470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52063608169556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:59:03.307676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 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 283, 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 07:59:17.267694
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_15_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/58/image_09122025_01_59_05_10671.jpg', 2), ('/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_35_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_24_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_15_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/57/image_09122025_01_58_05_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_15_9635.jpg', '/home/nano/Desktop/images/09122025/01/58/image_09122025_01_59_05_10671.jpg', '/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_35_10650.jpg', '/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_24_9638.jpg', '/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_15_9641.jpg', '/home/nano/Desktop/images/09122025/01/57/image_09122025_01_58_05_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/59/image_09122025_01_59_15_9635.jpg
/home/nano/Desktop/images/09122025/01/58/image_09122025_01_59_05_10671.jpg
/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_35_10650.jpg
/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_24_9638.jpg
/home/nano/Desktop/images/09122025/01/58/image_09122025_01_58_15_9641.jpg
/home/nano/Desktop/images/09122025/01/57/image_09122025_01_58_05_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":["1401228493","1401228489","1401228480","1401228486","1401228491","1401228482"],"photo_ids_order":["1401228480","1401228482","1401228486","1401228489","1401228491","1401228493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c524ece8eef89724fd5f59d4bd64a813.jpg","text":"TemporaryFile(/tmp/multipartBody578526414535445969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818818018,"filename":"image_09122025_01_58_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffb5b51d372015ef3e7184244a3a7cd3.jpg","text":"TemporaryFile(/tmp/multipartBody9093041926558339620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818818018,"filename":"image_09122025_01_58_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/12/27/11d36f18810dbb80c28bd366e8425729.jpg","text":"TemporaryFile(/tmp/multipartBody75933499235287605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818818018,"filename":"image_09122025_01_59_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/538be0876c69e3f8b55e148dc8145ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3035214455832929165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818818018,"filename":"image_09122025_01_58_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc103eecb6aa8729688629ca4da8cf33.jpg","text":"TemporaryFile(/tmp/multipartBody365309717295281905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818818018,"filename":"image_09122025_01_58_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ede7df969361d889a107b50078283238.jpg","text":"TemporaryFile(/tmp/multipartBody6812810690778629610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818818018,"filename":"image_09122025_01_59_05_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228486","file1":"1401228482","file0":"1401228480","file4":"1401228491","file5":"1401228493","file3":"1401228489"},"map_files_photo_id_array":[{"photo_id":"1401228493","filename":"file5"},{"photo_id":"1401228486","filename":"file2"},{"photo_id":"1401228491","filename":"file4"},{"photo_id":"1401228482","filename":"file1"},{"photo_id":"1401228480","filename":"file0"},{"photo_id":"1401228489","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228493":["hashtag1","hashtag2"]},{"1401228489":["hashtag1","hashtag2"]},{"1401228480":["hashtag1","hashtag2"]},{"1401228486":["hashtag1","hashtag2"]},{"1401228491":["hashtag1","hashtag2"]},{"1401228482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228493, 1401228489, 1401228480, 1401228486, 1401228491, 1401228482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.092565298080444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:00:02.729071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_45_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_35_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/01/56/image_09122025_01_56_25_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_54_9631.jpg', '/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_45_9631.jpg', '/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_35_10640.jpg', '/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_24_9631.jpg', '/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_15_10657.jpg', '/home/nano/Desktop/images/09122025/01/56/image_09122025_01_56_25_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_54_9631.jpg
/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_45_9631.jpg
/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_35_10640.jpg
/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_24_9631.jpg
/home/nano/Desktop/images/09122025/01/57/image_09122025_01_57_15_10657.jpg
/home/nano/Desktop/images/09122025/01/56/image_09122025_01_56_25_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":["1401228503","1401228513","1401228507","1401228516","1401228510","1401228504"],"photo_ids_order":["1401228503","1401228504","1401228507","1401228510","1401228513","1401228516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d19b63bca42b65cf04dbd4d1ff0285bd.jpg","text":"TemporaryFile(/tmp/multipartBody2774384233393185094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818863534,"filename":"image_09122025_01_57_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/12/27/bb177f6376d3e2d038b63475acd9b5b2.jpg","text":"TemporaryFile(/tmp/multipartBody1054223355568820553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818863534,"filename":"image_09122025_01_57_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d7cb4ffaeb12d03497fb3fe2afab162.jpg","text":"TemporaryFile(/tmp/multipartBody5149745263934848737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818863534,"filename":"image_09122025_01_57_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77d71ed6eb2f957b666528f8ada3af1b.jpg","text":"TemporaryFile(/tmp/multipartBody4418975689519378389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818863534,"filename":"image_09122025_01_56_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecf1522958e0b74040a7ad4c64ab2bd3.jpg","text":"TemporaryFile(/tmp/multipartBody6509077640425287648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818863534,"filename":"image_09122025_01_57_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/12/27/8223c382070f4c9661bf797ae7e2305c.jpg","text":"TemporaryFile(/tmp/multipartBody3517598968828696268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818863534,"filename":"image_09122025_01_57_45_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228507","file1":"1401228504","file0":"1401228503","file4":"1401228513","file5":"1401228516","file3":"1401228510"},"map_files_photo_id_array":[{"photo_id":"1401228516","filename":"file5"},{"photo_id":"1401228507","filename":"file2"},{"photo_id":"1401228513","filename":"file4"},{"photo_id":"1401228504","filename":"file1"},{"photo_id":"1401228503","filename":"file0"},{"photo_id":"1401228510","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228503":["hashtag1","hashtag2"]},{"1401228513":["hashtag1","hashtag2"]},{"1401228507":["hashtag1","hashtag2"]},{"1401228516":["hashtag1","hashtag2"]},{"1401228510":["hashtag1","hashtag2"]},{"1401228504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228503, 1401228513, 1401228507, 1401228516, 1401228510, 1401228504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57694935798645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:00:47.376869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/56/image_09122025_01_56_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/01/55/image_09122025_01_56_04_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/01/55/image_09122025_01_55_14_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/01/54/image_09122025_01_55_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/56/image_09122025_01_56_15_10657.jpg', '/home/nano/Desktop/images/09122025/01/55/image_09122025_01_56_04_9661.jpg', '/home/nano/Desktop/images/09122025/01/55/image_09122025_01_55_14_9646.jpg', '/home/nano/Desktop/images/09122025/01/54/image_09122025_01_55_04_9637.jpg', '/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_55_10641.jpg', '/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/56/image_09122025_01_56_15_10657.jpg
/home/nano/Desktop/images/09122025/01/55/image_09122025_01_56_04_9661.jpg
/home/nano/Desktop/images/09122025/01/55/image_09122025_01_55_14_9646.jpg
/home/nano/Desktop/images/09122025/01/54/image_09122025_01_55_04_9637.jpg
/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_55_10641.jpg
/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_44_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":["1401228529","1401228525","1401228522","1401228524","1401228527","1401228521"],"photo_ids_order":["1401228521","1401228522","1401228524","1401228525","1401228527","1401228529"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e682aac4962a092bdcdfedcc9df78a89.jpg","text":"TemporaryFile(/tmp/multipartBody1333776507772891196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818908142,"filename":"image_09122025_01_54_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/12/27/a95d94f6e036ff262e28845e5d870985.jpg","text":"TemporaryFile(/tmp/multipartBody2298264374708962246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818908142,"filename":"image_09122025_01_55_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/12/27/ff1c24dbb18df607e63df09e94c5b5e1.jpg","text":"TemporaryFile(/tmp/multipartBody7801842069487763187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818908142,"filename":"image_09122025_01_56_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/12/27/63275924d8e9a1ef3de456c4524238c6.jpg","text":"TemporaryFile(/tmp/multipartBody6921885477481035026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818908142,"filename":"image_09122025_01_55_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/12/27/d792ffc5673411a5092ee55e8aa4c320.jpg","text":"TemporaryFile(/tmp/multipartBody8956795120064129964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818908142,"filename":"image_09122025_01_54_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3408a137c712ae78c6597f2668b87167.jpg","text":"TemporaryFile(/tmp/multipartBody6914493818415914813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818908142,"filename":"image_09122025_01_56_15_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228524","file1":"1401228522","file0":"1401228521","file4":"1401228527","file5":"1401228529","file3":"1401228525"},"map_files_photo_id_array":[{"photo_id":"1401228529","filename":"file5"},{"photo_id":"1401228524","filename":"file2"},{"photo_id":"1401228527","filename":"file4"},{"photo_id":"1401228522","filename":"file1"},{"photo_id":"1401228521","filename":"file0"},{"photo_id":"1401228525","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228529":["hashtag1","hashtag2"]},{"1401228525":["hashtag1","hashtag2"]},{"1401228522":["hashtag1","hashtag2"]},{"1401228524":["hashtag1","hashtag2"]},{"1401228527":["hashtag1","hashtag2"]},{"1401228521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228529, 1401228525, 1401228522, 1401228524, 1401228527, 1401228521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28369426727295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:01:32.557179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_35_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_55_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_35_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_35_9651.jpg', '/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_25_10641.jpg', '/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_14_9649.jpg', '/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_55_10657.jpg', '/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_44_9637.jpg', '/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_35_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_35_9651.jpg
/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_25_10641.jpg
/home/nano/Desktop/images/09122025/01/54/image_09122025_01_54_14_9649.jpg
/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_55_10657.jpg
/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_44_9637.jpg
/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_35_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":["1401228871","1401228808","1401228693","1401228753","1401228932","1401228629"],"photo_ids_order":["1401228629","1401228693","1401228753","1401228808","1401228871","1401228932"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a0c29756265f16c44d6c1c14a522f42.jpg","text":"TemporaryFile(/tmp/multipartBody8024549580269071196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818953336,"filename":"image_09122025_01_53_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/12/27/117dbfdb37fd54479272c8f59b9870a7.jpg","text":"TemporaryFile(/tmp/multipartBody4586981416060720942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818953336,"filename":"image_09122025_01_53_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89b39789aea97e9027cf1dc69be85492.jpg","text":"TemporaryFile(/tmp/multipartBody8095041992571356115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818953336,"filename":"image_09122025_01_54_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fbd4a10db22a6e15dbe410f4b82b7cd.jpg","text":"TemporaryFile(/tmp/multipartBody6322881381829438403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818953336,"filename":"image_09122025_01_54_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/12/27/12c9965fac3d7d9ebe80e6a64e61f4f2.jpg","text":"TemporaryFile(/tmp/multipartBody6198829004811807375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818953336,"filename":"image_09122025_01_53_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/805959f2aea072c8490ff05ed5871ca0.jpg","text":"TemporaryFile(/tmp/multipartBody313665761613485652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818953336,"filename":"image_09122025_01_54_35_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401228753","file1":"1401228693","file0":"1401228629","file4":"1401228871","file5":"1401228932","file3":"1401228808"},"map_files_photo_id_array":[{"photo_id":"1401228932","filename":"file5"},{"photo_id":"1401228753","filename":"file2"},{"photo_id":"1401228871","filename":"file4"},{"photo_id":"1401228693","filename":"file1"},{"photo_id":"1401228629","filename":"file0"},{"photo_id":"1401228808","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401228871":["hashtag1","hashtag2"]},{"1401228808":["hashtag1","hashtag2"]},{"1401228693":["hashtag1","hashtag2"]},{"1401228753":["hashtag1","hashtag2"]},{"1401228932":["hashtag1","hashtag2"]},{"1401228629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401228871, 1401228808, 1401228693, 1401228753, 1401228932, 1401228629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.642691135406494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:02:17.571606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_25_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_14_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/01/52/image_09122025_01_53_05_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/01/52/image_09122025_01_52_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/51/image_09122025_01_51_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/51/image_09122025_01_51_45_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_25_10657.jpg', '/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_14_9647.jpg', '/home/nano/Desktop/images/09122025/01/52/image_09122025_01_53_05_9638.jpg', '/home/nano/Desktop/images/09122025/01/52/image_09122025_01_52_35_10645.jpg', '/home/nano/Desktop/images/09122025/01/51/image_09122025_01_51_54_9633.jpg', '/home/nano/Desktop/images/09122025/01/51/image_09122025_01_51_45_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_25_10657.jpg
/home/nano/Desktop/images/09122025/01/53/image_09122025_01_53_14_9647.jpg
/home/nano/Desktop/images/09122025/01/52/image_09122025_01_53_05_9638.jpg
/home/nano/Desktop/images/09122025/01/52/image_09122025_01_52_35_10645.jpg
/home/nano/Desktop/images/09122025/01/51/image_09122025_01_51_54_9633.jpg
/home/nano/Desktop/images/09122025/01/51/image_09122025_01_51_45_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":["1401229299","1401229196","1401229262","1401229364","1401229331","1401229228"],"photo_ids_order":["1401229196","1401229228","1401229262","1401229299","1401229331","1401229364"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a53d35c2658ecaabae0f0ce19c84bbd7.jpg","text":"TemporaryFile(/tmp/multipartBody5772074334834181240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818998322,"filename":"image_09122025_01_52_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51113842d89cfaa987044e7a8983fe4e.jpg","text":"TemporaryFile(/tmp/multipartBody4126483037108753987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818998322,"filename":"image_09122025_01_53_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c74c85abcdb64269b4f3bd02fc08bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6741093043597827342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818998322,"filename":"image_09122025_01_53_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38698c898a9b72345e2fbf31eddbe0fd.jpg","text":"TemporaryFile(/tmp/multipartBody5211816400401311378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818998322,"filename":"image_09122025_01_51_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5db3dc9a65ba439d37798a623d32ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody4862052394644376304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818998322,"filename":"image_09122025_01_51_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/12/27/832c4ec0cb7c8d4dc7a890af0855382a.jpg","text":"TemporaryFile(/tmp/multipartBody7862557155595352720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766818998322,"filename":"image_09122025_01_53_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401229262","file1":"1401229228","file0":"1401229196","file4":"1401229331","file5":"1401229364","file3":"1401229299"},"map_files_photo_id_array":[{"photo_id":"1401229364","filename":"file5"},{"photo_id":"1401229262","filename":"file2"},{"photo_id":"1401229331","filename":"file4"},{"photo_id":"1401229228","filename":"file1"},{"photo_id":"1401229196","filename":"file0"},{"photo_id":"1401229299","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401229299":["hashtag1","hashtag2"]},{"1401229196":["hashtag1","hashtag2"]},{"1401229262":["hashtag1","hashtag2"]},{"1401229364":["hashtag1","hashtag2"]},{"1401229331":["hashtag1","hashtag2"]},{"1401229228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401229299, 1401229196, 1401229262, 1401229364, 1401229331, 1401229228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.657806158065796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:03:03.263054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/50/image_09122025_01_51_05_10654.jpg', 2), ('/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_15_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/01/49/image_09122025_01_50_04_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/01/49/image_09122025_01_49_15_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/50/image_09122025_01_51_05_10654.jpg', '/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_54_9631.jpg', '/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_45_10642.jpg', '/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_15_10656.jpg', '/home/nano/Desktop/images/09122025/01/49/image_09122025_01_50_04_9654.jpg', '/home/nano/Desktop/images/09122025/01/49/image_09122025_01_49_15_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/50/image_09122025_01_51_05_10654.jpg
/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_54_9631.jpg
/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_45_10642.jpg
/home/nano/Desktop/images/09122025/01/50/image_09122025_01_50_15_10656.jpg
/home/nano/Desktop/images/09122025/01/49/image_09122025_01_50_04_9654.jpg
/home/nano/Desktop/images/09122025/01/49/image_09122025_01_49_15_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":["1401229875","1401229988","1401230273","1401230249","1401229771","1401230129"],"photo_ids_order":["1401229771","1401229875","1401229988","1401230129","1401230249","1401230273"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5622773fb1bc805b5a13bccdb25d64f6.jpg","text":"TemporaryFile(/tmp/multipartBody8222576421385784503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819044083,"filename":"image_09122025_01_50_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/12/27/075a23f6963977403edb104b5d358ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3480212542506929226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819044083,"filename":"image_09122025_01_50_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c0be340585d517d868d89e7007bbfd3.jpg","text":"TemporaryFile(/tmp/multipartBody8100518555409241115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819044083,"filename":"image_09122025_01_49_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a482bac1af625ca03d42813276741937.jpg","text":"TemporaryFile(/tmp/multipartBody8404146364575385862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819044083,"filename":"image_09122025_01_50_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/12/27/b5db101587b043a760a04c1036ea3019.jpg","text":"TemporaryFile(/tmp/multipartBody8361460231779306333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819044083,"filename":"image_09122025_01_51_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d872f31af60b9d52f702fab70d41a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3904822610854401839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819044083,"filename":"image_09122025_01_50_15_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401229988","file1":"1401229875","file0":"1401229771","file4":"1401230249","file5":"1401230273","file3":"1401230129"},"map_files_photo_id_array":[{"photo_id":"1401230273","filename":"file5"},{"photo_id":"1401229988","filename":"file2"},{"photo_id":"1401230249","filename":"file4"},{"photo_id":"1401229875","filename":"file1"},{"photo_id":"1401229771","filename":"file0"},{"photo_id":"1401230129","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401229875":["hashtag1","hashtag2"]},{"1401229988":["hashtag1","hashtag2"]},{"1401230273":["hashtag1","hashtag2"]},{"1401230249":["hashtag1","hashtag2"]},{"1401229771":["hashtag1","hashtag2"]},{"1401230129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401229875, 1401229988, 1401230273, 1401230249, 1401229771, 1401230129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25120401382446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:03:47.668636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/48/image_09122025_01_48_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/47/image_09122025_01_48_04_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/01/47/image_09122025_01_47_55_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_35_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/48/image_09122025_01_48_45_10645.jpg', '/home/nano/Desktop/images/09122025/01/47/image_09122025_01_48_04_9636.jpg', '/home/nano/Desktop/images/09122025/01/47/image_09122025_01_47_55_10639.jpg', '/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_55_10644.jpg', '/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_44_9632.jpg', '/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_35_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/48/image_09122025_01_48_45_10645.jpg
/home/nano/Desktop/images/09122025/01/47/image_09122025_01_48_04_9636.jpg
/home/nano/Desktop/images/09122025/01/47/image_09122025_01_47_55_10639.jpg
/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_55_10644.jpg
/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_44_9632.jpg
/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_35_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":["1401230377","1401230434","1401230466","1401230436","1401230379","1401230380"],"photo_ids_order":["1401230377","1401230379","1401230380","1401230434","1401230436","1401230466"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3491e9c9c896df0ec0d1a10465aad912.jpg","text":"TemporaryFile(/tmp/multipartBody2507078226598808270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819088459,"filename":"image_09122025_01_48_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8c0f4903726ebc52987689cd030c2ef.jpg","text":"TemporaryFile(/tmp/multipartBody5356714264333794959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819088459,"filename":"image_09122025_01_46_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9234af675f85a5b4968c8581a5328715.jpg","text":"TemporaryFile(/tmp/multipartBody3538024601295772142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819088459,"filename":"image_09122025_01_46_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/597fe6e0774ae68a4f469bf3d13cc23f.jpg","text":"TemporaryFile(/tmp/multipartBody6896742682553631520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819088459,"filename":"image_09122025_01_46_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/12/27/a05d8f112488f69f62e9144a0ef2fc86.jpg","text":"TemporaryFile(/tmp/multipartBody1048766869223385901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819088459,"filename":"image_09122025_01_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/12/27/5b760135ff1e165b2a14ba1c357164c7.jpg","text":"TemporaryFile(/tmp/multipartBody3435984043250634888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819088459,"filename":"image_09122025_01_47_55_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401230380","file1":"1401230379","file0":"1401230377","file4":"1401230436","file5":"1401230466","file3":"1401230434"},"map_files_photo_id_array":[{"photo_id":"1401230466","filename":"file5"},{"photo_id":"1401230380","filename":"file2"},{"photo_id":"1401230436","filename":"file4"},{"photo_id":"1401230379","filename":"file1"},{"photo_id":"1401230377","filename":"file0"},{"photo_id":"1401230434","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401230377":["hashtag1","hashtag2"]},{"1401230434":["hashtag1","hashtag2"]},{"1401230466":["hashtag1","hashtag2"]},{"1401230436":["hashtag1","hashtag2"]},{"1401230379":["hashtag1","hashtag2"]},{"1401230380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401230377, 1401230434, 1401230466, 1401230436, 1401230379, 1401230380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.994983434677124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:04:31.796647
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/08/04/image_27122025_08_04_35_10519.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/08/04/image_27122025_08_04_35_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/08/04/image_27122025_08_04_35_10519.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401230595"],"photo_id":"1401230595","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/026e898e9ceb62d689be76c7add5bba1.jpg","text":"TemporaryFile(/tmp/multipartBody3219055679138545137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819132095,"filename":"image_27122025_08_04_35_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401230595"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401230595"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.075680255889893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:04:46.874208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/01/45/image_09122025_01_46_05_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_35_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_25_10642.jpg', '/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_14_9648.jpg', '/home/nano/Desktop/images/09122025/01/45/image_09122025_01_46_05_10651.jpg', '/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_54_9635.jpg', '/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_44_9632.jpg', '/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_35_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_25_10642.jpg
/home/nano/Desktop/images/09122025/01/46/image_09122025_01_46_14_9648.jpg
/home/nano/Desktop/images/09122025/01/45/image_09122025_01_46_05_10651.jpg
/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_54_9635.jpg
/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_44_9632.jpg
/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_35_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":["1401230767","1401230761","1401230736","1401230768","1401230765","1401230764"],"photo_ids_order":["1401230736","1401230761","1401230764","1401230765","1401230767","1401230768"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/137212bdb64b0c391c4dcda480bde82d.jpg","text":"TemporaryFile(/tmp/multipartBody9109569761984022767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819147646,"filename":"image_09122025_01_45_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/12/27/f84ae26046009c109fd69edca65f1226.jpg","text":"TemporaryFile(/tmp/multipartBody7469846639206048241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819147646,"filename":"image_09122025_01_46_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/12/27/fcd0d114deb18c66814e0bfe9818b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody8503482098585619590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819147646,"filename":"image_09122025_01_46_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1997c50291b7b7c27d95160ab8976a7.jpg","text":"TemporaryFile(/tmp/multipartBody8237856104791063303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819147646,"filename":"image_09122025_01_45_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4d523cfef764a849e255c8a4f5920d8.jpg","text":"TemporaryFile(/tmp/multipartBody4559285017243718540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819147646,"filename":"image_09122025_01_45_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/12/27/7ce15aa994760ec604a86f45718eea8b.jpg","text":"TemporaryFile(/tmp/multipartBody5234261133922007190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819147646,"filename":"image_09122025_01_46_05_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401230764","file1":"1401230761","file0":"1401230736","file4":"1401230767","file5":"1401230768","file3":"1401230765"},"map_files_photo_id_array":[{"photo_id":"1401230768","filename":"file5"},{"photo_id":"1401230764","filename":"file2"},{"photo_id":"1401230767","filename":"file4"},{"photo_id":"1401230761","filename":"file1"},{"photo_id":"1401230736","filename":"file0"},{"photo_id":"1401230765","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401230767":["hashtag1","hashtag2"]},{"1401230761":["hashtag1","hashtag2"]},{"1401230736":["hashtag1","hashtag2"]},{"1401230768":["hashtag1","hashtag2"]},{"1401230765":["hashtag1","hashtag2"]},{"1401230764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401230767, 1401230761, 1401230736, 1401230768, 1401230765, 1401230764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.108322620391846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:05:32.033556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_45_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_35_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_24_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_15_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_15_9650.jpg', '/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_54_9634.jpg', '/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_45_9635.jpg', '/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_35_10657.jpg', '/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_24_9649.jpg', '/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_15_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/45/image_09122025_01_45_15_9650.jpg
/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_54_9634.jpg
/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_45_9635.jpg
/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_35_10657.jpg
/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_24_9649.jpg
/home/nano/Desktop/images/09122025/01/44/image_09122025_01_44_15_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":["1401230908","1401230917","1401230910","1401230913","1401230916","1401230896"],"photo_ids_order":["1401230896","1401230908","1401230910","1401230913","1401230916","1401230917"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86dee7d67cda047e257c5d19cf1f62b0.jpg","text":"TemporaryFile(/tmp/multipartBody4484535222244031895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819192805,"filename":"image_09122025_01_44_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/12/27/c118c4734763377474264e11991eef7d.jpg","text":"TemporaryFile(/tmp/multipartBody7069572117880371291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819192805,"filename":"image_09122025_01_44_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fcf937f6b3a0f6d81d7d6649e92ddaff.jpg","text":"TemporaryFile(/tmp/multipartBody7344247494179319074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819192805,"filename":"image_09122025_01_44_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab6f5d18b36e49a2714fa444931dcf76.jpg","text":"TemporaryFile(/tmp/multipartBody8902223453359702004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819192805,"filename":"image_09122025_01_44_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/425beda4d18acf10ab53c790dd034b6b.jpg","text":"TemporaryFile(/tmp/multipartBody3517963565924794895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819192805,"filename":"image_09122025_01_44_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/12/27/41b09fcc24aa0b597af67f9042f2bf07.jpg","text":"TemporaryFile(/tmp/multipartBody2983003533498425530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819192805,"filename":"image_09122025_01_45_15_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401230910","file1":"1401230908","file0":"1401230896","file4":"1401230916","file5":"1401230917","file3":"1401230913"},"map_files_photo_id_array":[{"photo_id":"1401230917","filename":"file5"},{"photo_id":"1401230910","filename":"file2"},{"photo_id":"1401230916","filename":"file4"},{"photo_id":"1401230908","filename":"file1"},{"photo_id":"1401230896","filename":"file0"},{"photo_id":"1401230913","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401230908":["hashtag1","hashtag2"]},{"1401230917":["hashtag1","hashtag2"]},{"1401230910":["hashtag1","hashtag2"]},{"1401230913":["hashtag1","hashtag2"]},{"1401230916":["hashtag1","hashtag2"]},{"1401230896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401230908, 1401230917, 1401230910, 1401230913, 1401230916, 1401230896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18363332748413 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:06:17.070286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/43/image_09122025_01_44_05_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/01/43/image_09122025_01_43_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/42/image_09122025_01_43_04_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_55_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_34_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/43/image_09122025_01_44_05_10648.jpg', '/home/nano/Desktop/images/09122025/01/43/image_09122025_01_43_54_9631.jpg', '/home/nano/Desktop/images/09122025/01/42/image_09122025_01_43_04_9640.jpg', '/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_55_9634.jpg', '/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_45_10643.jpg', '/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_34_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/43/image_09122025_01_44_05_10648.jpg
/home/nano/Desktop/images/09122025/01/43/image_09122025_01_43_54_9631.jpg
/home/nano/Desktop/images/09122025/01/42/image_09122025_01_43_04_9640.jpg
/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_55_9634.jpg
/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_45_10643.jpg
/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_34_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":["1401230929","1401230923","1401230931","1401230925","1401230922","1401230927"],"photo_ids_order":["1401230922","1401230923","1401230925","1401230927","1401230929","1401230931"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22e56ab8f69cac56edb0bf7994c67fd3.jpg","text":"TemporaryFile(/tmp/multipartBody8882213055852490912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819237841,"filename":"image_09122025_01_42_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42b7ffbc584fd50ce16c028d24bd2034.jpg","text":"TemporaryFile(/tmp/multipartBody5996649018363251703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819237841,"filename":"image_09122025_01_43_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/12/27/632cb349e07b3d1a5fc0b67589115c25.jpg","text":"TemporaryFile(/tmp/multipartBody5521787428808576850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819237841,"filename":"image_09122025_01_42_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/12/27/fda4d3ae428134678b5c1256b7fdbb84.jpg","text":"TemporaryFile(/tmp/multipartBody5562575365405046591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819237841,"filename":"image_09122025_01_43_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/12/27/e5c22f3df408edc83c5de9f97af14981.jpg","text":"TemporaryFile(/tmp/multipartBody5443589437503057466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819237841,"filename":"image_09122025_01_44_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0285994bbb5685567be87744bb15eea9.jpg","text":"TemporaryFile(/tmp/multipartBody9066270902320012634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819237841,"filename":"image_09122025_01_42_55_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401230925","file1":"1401230923","file0":"1401230922","file4":"1401230929","file5":"1401230931","file3":"1401230927"},"map_files_photo_id_array":[{"photo_id":"1401230931","filename":"file5"},{"photo_id":"1401230925","filename":"file2"},{"photo_id":"1401230929","filename":"file4"},{"photo_id":"1401230923","filename":"file1"},{"photo_id":"1401230922","filename":"file0"},{"photo_id":"1401230927","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401230929":["hashtag1","hashtag2"]},{"1401230923":["hashtag1","hashtag2"]},{"1401230931":["hashtag1","hashtag2"]},{"1401230925":["hashtag1","hashtag2"]},{"1401230922":["hashtag1","hashtag2"]},{"1401230927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401230929, 1401230923, 1401230931, 1401230925, 1401230922, 1401230927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.745259523391724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:07:02.964848
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/01/41/image_09122025_01_42_04_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_55_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_45_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_34_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_25_9634.jpg', '/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_15_10660.jpg', '/home/nano/Desktop/images/09122025/01/41/image_09122025_01_42_04_9647.jpg', '/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_55_9654.jpg', '/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_45_10642.jpg', '/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_25_9634.jpg
/home/nano/Desktop/images/09122025/01/42/image_09122025_01_42_15_10660.jpg
/home/nano/Desktop/images/09122025/01/41/image_09122025_01_42_04_9647.jpg
/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_55_9654.jpg
/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_45_10642.jpg
/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_34_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":["1401230944","1401230941","1401230937","1401230946","1401230936","1401230939"],"photo_ids_order":["1401230936","1401230937","1401230939","1401230941","1401230944","1401230946"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea4921c766c9e64d179dbdf7388250b8.jpg","text":"TemporaryFile(/tmp/multipartBody5167352531335912231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819283744,"filename":"image_09122025_01_41_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/935b058c9c78466511ec48148f82c79f.jpg","text":"TemporaryFile(/tmp/multipartBody3287435494036872731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819283744,"filename":"image_09122025_01_41_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af1ac770aa3ae03a98a8eeee8e7078aa.jpg","text":"TemporaryFile(/tmp/multipartBody8865612738599021243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819283744,"filename":"image_09122025_01_42_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/024e28e5b53d250f9e43f5cb6bf3ac84.jpg","text":"TemporaryFile(/tmp/multipartBody7674660385172982445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819283744,"filename":"image_09122025_01_41_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/12/27/4cbce8d431a6485d2005c0b96a6e1bb3.jpg","text":"TemporaryFile(/tmp/multipartBody929733404752141402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819283744,"filename":"image_09122025_01_42_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1daf74163718f57a232b6b5ed5a49a8.jpg","text":"TemporaryFile(/tmp/multipartBody3917740856062606150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819283744,"filename":"image_09122025_01_42_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401230939","file1":"1401230937","file0":"1401230936","file4":"1401230944","file5":"1401230946","file3":"1401230941"},"map_files_photo_id_array":[{"photo_id":"1401230946","filename":"file5"},{"photo_id":"1401230939","filename":"file2"},{"photo_id":"1401230944","filename":"file4"},{"photo_id":"1401230937","filename":"file1"},{"photo_id":"1401230936","filename":"file0"},{"photo_id":"1401230941","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401230944":["hashtag1","hashtag2"]},{"1401230941":["hashtag1","hashtag2"]},{"1401230937":["hashtag1","hashtag2"]},{"1401230946":["hashtag1","hashtag2"]},{"1401230936":["hashtag1","hashtag2"]},{"1401230939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401230944, 1401230941, 1401230937, 1401230946, 1401230936, 1401230939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.854960203170776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:07:47.151105
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/01/40/image_09122025_01_41_04_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/01/40/image_09122025_01_40_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/40/image_09122025_01_40_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/39/image_09122025_01_40_05_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_25_10641.jpg', '/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_14_9648.jpg', '/home/nano/Desktop/images/09122025/01/40/image_09122025_01_41_04_9636.jpg', '/home/nano/Desktop/images/09122025/01/40/image_09122025_01_40_25_10641.jpg', '/home/nano/Desktop/images/09122025/01/40/image_09122025_01_40_14_9649.jpg', '/home/nano/Desktop/images/09122025/01/39/image_09122025_01_40_05_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_25_10641.jpg
/home/nano/Desktop/images/09122025/01/41/image_09122025_01_41_14_9648.jpg
/home/nano/Desktop/images/09122025/01/40/image_09122025_01_41_04_9636.jpg
/home/nano/Desktop/images/09122025/01/40/image_09122025_01_40_25_10641.jpg
/home/nano/Desktop/images/09122025/01/40/image_09122025_01_40_14_9649.jpg
/home/nano/Desktop/images/09122025/01/39/image_09122025_01_40_05_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":["1401230953","1401230956","1401230955","1401230958","1401230952","1401230954"],"photo_ids_order":["1401230952","1401230953","1401230954","1401230955","1401230956","1401230958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b3f265a9fcc625f69a9cea4259cc544.jpg","text":"TemporaryFile(/tmp/multipartBody4492067178641364222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819327937,"filename":"image_09122025_01_41_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/12/27/dd0698e9f67dbb3fcacc900f4e493f0e.jpg","text":"TemporaryFile(/tmp/multipartBody93288294295530701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819327937,"filename":"image_09122025_01_40_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/12/27/12c4e73287e8dcd12d73b11305c7bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody4109721136879578390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819327937,"filename":"image_09122025_01_40_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec5c78b8bf65d96226d252fd8dba69d7.jpg","text":"TemporaryFile(/tmp/multipartBody2914046716080971023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819327937,"filename":"image_09122025_01_40_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a57852121a81a79f7e2c33ff662b2ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5713255749938511713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819327937,"filename":"image_09122025_01_41_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0500b897a67226955f2d0f071ef9f2aa.jpg","text":"TemporaryFile(/tmp/multipartBody2340670984986060345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819327937,"filename":"image_09122025_01_41_04_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401230954","file1":"1401230953","file0":"1401230952","file4":"1401230956","file5":"1401230958","file3":"1401230955"},"map_files_photo_id_array":[{"photo_id":"1401230958","filename":"file5"},{"photo_id":"1401230954","filename":"file2"},{"photo_id":"1401230956","filename":"file4"},{"photo_id":"1401230953","filename":"file1"},{"photo_id":"1401230952","filename":"file0"},{"photo_id":"1401230955","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401230953":["hashtag1","hashtag2"]},{"1401230956":["hashtag1","hashtag2"]},{"1401230955":["hashtag1","hashtag2"]},{"1401230958":["hashtag1","hashtag2"]},{"1401230952":["hashtag1","hashtag2"]},{"1401230954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401230953, 1401230956, 1401230955, 1401230958, 1401230952, 1401230954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3088812828064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:08:32.249735
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_14_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_35_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_55_10644.jpg', '/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_44_9635.jpg', '/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_14_9641.jpg', '/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_54_9634.jpg', '/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_44_9633.jpg', '/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_35_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_55_10644.jpg
/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_44_9635.jpg
/home/nano/Desktop/images/09122025/01/39/image_09122025_01_39_14_9641.jpg
/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_54_9634.jpg
/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_44_9633.jpg
/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_35_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":["1401230988","1401231051","1401230997","1401231035","1401231038","1401231025"],"photo_ids_order":["1401230988","1401230997","1401231025","1401231035","1401231038","1401231051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2a5bbddd56bd419408f27933d3aca18.jpg","text":"TemporaryFile(/tmp/multipartBody7413680207499899797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819373007,"filename":"image_09122025_01_39_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/202c67ee592d4c2600ff3a6c6f41ec7d.jpg","text":"TemporaryFile(/tmp/multipartBody5210000661763666978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819373007,"filename":"image_09122025_01_38_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5613676547a243ec9640b9bcf750a2ba.jpg","text":"TemporaryFile(/tmp/multipartBody7793148624063357181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819373007,"filename":"image_09122025_01_39_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/12/27/df54d5ef1e599544b6646256a190b35a.jpg","text":"TemporaryFile(/tmp/multipartBody4453477018221518799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819373007,"filename":"image_09122025_01_38_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/12/27/dd7aee200ab2e4f95c53320c80593b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8034539094867802590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819373007,"filename":"image_09122025_01_38_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/12/27/998601238c95da2bcb3b68f126e8cdc5.jpg","text":"TemporaryFile(/tmp/multipartBody6709360238819495905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819373007,"filename":"image_09122025_01_39_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231025","file1":"1401230997","file0":"1401230988","file4":"1401231038","file5":"1401231051","file3":"1401231035"},"map_files_photo_id_array":[{"photo_id":"1401231051","filename":"file5"},{"photo_id":"1401231025","filename":"file2"},{"photo_id":"1401231038","filename":"file4"},{"photo_id":"1401230997","filename":"file1"},{"photo_id":"1401230988","filename":"file0"},{"photo_id":"1401231035","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401230988":["hashtag1","hashtag2"]},{"1401231051":["hashtag1","hashtag2"]},{"1401230997":["hashtag1","hashtag2"]},{"1401231035":["hashtag1","hashtag2"]},{"1401231038":["hashtag1","hashtag2"]},{"1401231025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401230988, 1401231051, 1401230997, 1401231035, 1401231038, 1401231025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.267512798309326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:09:17.415006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_15_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/37/image_09122025_01_38_05_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_54_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_45_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_35_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/36/image_09122025_01_37_05_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_15_9642.jpg', '/home/nano/Desktop/images/09122025/01/37/image_09122025_01_38_05_10661.jpg', '/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_54_9630.jpg', '/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_45_9630.jpg', '/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_35_10640.jpg', '/home/nano/Desktop/images/09122025/01/36/image_09122025_01_37_05_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/38/image_09122025_01_38_15_9642.jpg
/home/nano/Desktop/images/09122025/01/37/image_09122025_01_38_05_10661.jpg
/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_54_9630.jpg
/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_45_9630.jpg
/home/nano/Desktop/images/09122025/01/37/image_09122025_01_37_35_10640.jpg
/home/nano/Desktop/images/09122025/01/36/image_09122025_01_37_05_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":["1401231220","1401231216","1401231194","1401231218","1401231169","1401231184"],"photo_ids_order":["1401231169","1401231184","1401231194","1401231216","1401231218","1401231220"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42aca8b75d98ebe6785dfc5bb2725e47.jpg","text":"TemporaryFile(/tmp/multipartBody2572571031194286596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819418193,"filename":"image_09122025_01_37_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfdd42f30c4e52dbc4b8ab21373b48d4.jpg","text":"TemporaryFile(/tmp/multipartBody8946038301248864463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819418193,"filename":"image_09122025_01_37_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0eb534754796e2c982ef5fbd5b963ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7112378515604354675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819418193,"filename":"image_09122025_01_37_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/12/27/205a6061d12ae5580bab40c337e4d4db.jpg","text":"TemporaryFile(/tmp/multipartBody6216825069412632025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819418193,"filename":"image_09122025_01_37_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6262fa68400fce2855093f397fbf8896.jpg","text":"TemporaryFile(/tmp/multipartBody7530709009538425146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819418193,"filename":"image_09122025_01_38_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0df80192e7302c4bb503fbc5b6c55d8.jpg","text":"TemporaryFile(/tmp/multipartBody8494597370440909457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819418193,"filename":"image_09122025_01_38_05_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231194","file1":"1401231184","file0":"1401231169","file4":"1401231218","file5":"1401231220","file3":"1401231216"},"map_files_photo_id_array":[{"photo_id":"1401231220","filename":"file5"},{"photo_id":"1401231194","filename":"file2"},{"photo_id":"1401231218","filename":"file4"},{"photo_id":"1401231184","filename":"file1"},{"photo_id":"1401231169","filename":"file0"},{"photo_id":"1401231216","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231220":["hashtag1","hashtag2"]},{"1401231216":["hashtag1","hashtag2"]},{"1401231194":["hashtag1","hashtag2"]},{"1401231218":["hashtag1","hashtag2"]},{"1401231169":["hashtag1","hashtag2"]},{"1401231184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231220, 1401231216, 1401231194, 1401231218, 1401231169, 1401231184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98405456542969 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:10:03.062331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_45_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_25_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/35/image_09122025_01_35_55_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/01/35/image_09122025_01_35_15_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/01/34/image_09122025_01_35_04_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_54_9633.jpg', '/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_45_10645.jpg', '/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_25_9632.jpg', '/home/nano/Desktop/images/09122025/01/35/image_09122025_01_35_55_9646.jpg', '/home/nano/Desktop/images/09122025/01/35/image_09122025_01_35_15_10660.jpg', '/home/nano/Desktop/images/09122025/01/34/image_09122025_01_35_04_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_54_9633.jpg
/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_45_10645.jpg
/home/nano/Desktop/images/09122025/01/36/image_09122025_01_36_25_9632.jpg
/home/nano/Desktop/images/09122025/01/35/image_09122025_01_35_55_9646.jpg
/home/nano/Desktop/images/09122025/01/35/image_09122025_01_35_15_10660.jpg
/home/nano/Desktop/images/09122025/01/34/image_09122025_01_35_04_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":["1401231276","1401231318","1401231320","1401231323","1401231302","1401231274"],"photo_ids_order":["1401231274","1401231276","1401231302","1401231318","1401231320","1401231323"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d578e01b5a674536750e776feacdf61.jpg","text":"TemporaryFile(/tmp/multipartBody5415945814981669519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819463829,"filename":"image_09122025_01_36_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f6758888e8ea49cba9c4993b01bf59b.jpg","text":"TemporaryFile(/tmp/multipartBody1627973900874842965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819463829,"filename":"image_09122025_01_35_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ae647c8398bf0875b1af685d80f8572.jpg","text":"TemporaryFile(/tmp/multipartBody7889097754430150229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819463829,"filename":"image_09122025_01_35_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/673e0314eb1233e3b69eb696ebdc4647.jpg","text":"TemporaryFile(/tmp/multipartBody6346094207950210443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819463829,"filename":"image_09122025_01_35_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/12/27/93e02ce31e6f4f09606c6e4815a0886b.jpg","text":"TemporaryFile(/tmp/multipartBody7479214378175564037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819463829,"filename":"image_09122025_01_36_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b25d84b74cf3065c22c11d0e8325379.jpg","text":"TemporaryFile(/tmp/multipartBody4065622950034317053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819463829,"filename":"image_09122025_01_36_54_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231302","file1":"1401231276","file0":"1401231274","file4":"1401231320","file5":"1401231323","file3":"1401231318"},"map_files_photo_id_array":[{"photo_id":"1401231323","filename":"file5"},{"photo_id":"1401231302","filename":"file2"},{"photo_id":"1401231320","filename":"file4"},{"photo_id":"1401231276","filename":"file1"},{"photo_id":"1401231274","filename":"file0"},{"photo_id":"1401231318","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231276":["hashtag1","hashtag2"]},{"1401231318":["hashtag1","hashtag2"]},{"1401231320":["hashtag1","hashtag2"]},{"1401231323":["hashtag1","hashtag2"]},{"1401231302":["hashtag1","hashtag2"]},{"1401231274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231276, 1401231318, 1401231320, 1401231323, 1401231302, 1401231274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54249954223633 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:10:47.550110
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/34/image_09122025_01_34_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/33/image_09122025_01_34_05_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/34/image_09122025_01_34_34_9633.jpg', '/home/nano/Desktop/images/09122025/01/33/image_09122025_01_34_05_9645.jpg', '/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_55_10642.jpg', '/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_25_10643.jpg', '/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_14_9648.jpg', '/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/34/image_09122025_01_34_34_9633.jpg
/home/nano/Desktop/images/09122025/01/33/image_09122025_01_34_05_9645.jpg
/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_55_10642.jpg
/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_25_10643.jpg
/home/nano/Desktop/images/09122025/01/33/image_09122025_01_33_14_9648.jpg
/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_55_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":["1401231331","1401231334","1401231333","1401231336","1401231338","1401231332"],"photo_ids_order":["1401231331","1401231332","1401231333","1401231334","1401231336","1401231338"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98cbf915485cd9b266bbcbe76fc0e6cb.jpg","text":"TemporaryFile(/tmp/multipartBody3588053231771000133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819508320,"filename":"image_09122025_01_34_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/12/27/56769ed60df328eaa1aef57e4a06f2f4.jpg","text":"TemporaryFile(/tmp/multipartBody8171109371936394602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819508320,"filename":"image_09122025_01_33_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c5cfe81df47e305293fd770176ca88c.jpg","text":"TemporaryFile(/tmp/multipartBody6200025530053852560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819508320,"filename":"image_09122025_01_33_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7674d9d2c69f0daff24a8a0ec4a3eb87.jpg","text":"TemporaryFile(/tmp/multipartBody4672258368797838567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819508320,"filename":"image_09122025_01_33_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/12/27/8b7db08d847f2fcaa33f393bb978b6d0.jpg","text":"TemporaryFile(/tmp/multipartBody7178538565455043097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819508320,"filename":"image_09122025_01_32_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e84135263aedcb2425912a112d31833b.jpg","text":"TemporaryFile(/tmp/multipartBody9108365112556324757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819508320,"filename":"image_09122025_01_34_05_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231333","file1":"1401231332","file0":"1401231331","file4":"1401231336","file5":"1401231338","file3":"1401231334"},"map_files_photo_id_array":[{"photo_id":"1401231338","filename":"file5"},{"photo_id":"1401231333","filename":"file2"},{"photo_id":"1401231336","filename":"file4"},{"photo_id":"1401231332","filename":"file1"},{"photo_id":"1401231331","filename":"file0"},{"photo_id":"1401231334","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231331":["hashtag1","hashtag2"]},{"1401231334":["hashtag1","hashtag2"]},{"1401231333":["hashtag1","hashtag2"]},{"1401231336":["hashtag1","hashtag2"]},{"1401231338":["hashtag1","hashtag2"]},{"1401231332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231331, 1401231334, 1401231333, 1401231336, 1401231338, 1401231332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.972660303115845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:11:32.632012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/01/31/image_09122025_01_32_05_10664.jpg', 2), ('/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_44_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_35_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_24_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_44_9633.jpg', '/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_14_9648.jpg', '/home/nano/Desktop/images/09122025/01/31/image_09122025_01_32_05_10664.jpg', '/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_44_9661.jpg', '/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_35_10642.jpg', '/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_24_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_44_9633.jpg
/home/nano/Desktop/images/09122025/01/32/image_09122025_01_32_14_9648.jpg
/home/nano/Desktop/images/09122025/01/31/image_09122025_01_32_05_10664.jpg
/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_44_9661.jpg
/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_35_10642.jpg
/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_24_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":["1401231424","1401231418","1401231427","1401231426","1401231419","1401231421"],"photo_ids_order":["1401231418","1401231419","1401231421","1401231424","1401231426","1401231427"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ec38bd70f026e22b4657f611a50c796.jpg","text":"TemporaryFile(/tmp/multipartBody3768733899774990077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819553395,"filename":"image_09122025_01_31_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/12/27/98469cb6f30381db04f015a99ecd2265.jpg","text":"TemporaryFile(/tmp/multipartBody59962641069334061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819553395,"filename":"image_09122025_01_32_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/12/27/5029aa8ebd6e5e6c8fccd89a9d8c0465.jpg","text":"TemporaryFile(/tmp/multipartBody5095852958683299617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819553395,"filename":"image_09122025_01_31_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/12/27/d401da68a9145ff2b6c89f461421c9bd.jpg","text":"TemporaryFile(/tmp/multipartBody430097749404754657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819553395,"filename":"image_09122025_01_31_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab21b6bf14f5e75933b9cdd448e9dbdc.jpg","text":"TemporaryFile(/tmp/multipartBody4150358843657930861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819553395,"filename":"image_09122025_01_32_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/12/27/53b2eda3185575f9ae805c555d896053.jpg","text":"TemporaryFile(/tmp/multipartBody6609083091555459835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819553395,"filename":"image_09122025_01_32_05_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231421","file1":"1401231419","file0":"1401231418","file4":"1401231426","file5":"1401231427","file3":"1401231424"},"map_files_photo_id_array":[{"photo_id":"1401231427","filename":"file5"},{"photo_id":"1401231421","filename":"file2"},{"photo_id":"1401231426","filename":"file4"},{"photo_id":"1401231419","filename":"file1"},{"photo_id":"1401231418","filename":"file0"},{"photo_id":"1401231424","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231424":["hashtag1","hashtag2"]},{"1401231418":["hashtag1","hashtag2"]},{"1401231427":["hashtag1","hashtag2"]},{"1401231426":["hashtag1","hashtag2"]},{"1401231419":["hashtag1","hashtag2"]},{"1401231421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231424, 1401231418, 1401231427, 1401231426, 1401231419, 1401231421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.746280908584595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:12:17.734151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_15_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/01/30/image_09122025_01_31_05_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/01/30/image_09122025_01_30_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/30/image_09122025_01_30_15_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/29/image_09122025_01_30_05_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_54_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_15_9639.jpg', '/home/nano/Desktop/images/09122025/01/30/image_09122025_01_31_05_10646.jpg', '/home/nano/Desktop/images/09122025/01/30/image_09122025_01_30_54_9633.jpg', '/home/nano/Desktop/images/09122025/01/30/image_09122025_01_30_15_9640.jpg', '/home/nano/Desktop/images/09122025/01/29/image_09122025_01_30_05_10650.jpg', '/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_54_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/31/image_09122025_01_31_15_9639.jpg
/home/nano/Desktop/images/09122025/01/30/image_09122025_01_31_05_10646.jpg
/home/nano/Desktop/images/09122025/01/30/image_09122025_01_30_54_9633.jpg
/home/nano/Desktop/images/09122025/01/30/image_09122025_01_30_15_9640.jpg
/home/nano/Desktop/images/09122025/01/29/image_09122025_01_30_05_10650.jpg
/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_54_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":["1401231439","1401231432","1401231441","1401231435","1401231437","1401231434"],"photo_ids_order":["1401231432","1401231434","1401231435","1401231437","1401231439","1401231441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1513fac6cffadc04a8f6994d3776a9f1.jpg","text":"TemporaryFile(/tmp/multipartBody495953907275153891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819598484,"filename":"image_09122025_01_30_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cf65ecd8f83ab9df45227530fa7cf70.jpg","text":"TemporaryFile(/tmp/multipartBody2524268478108739510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819598484,"filename":"image_09122025_01_31_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e925532e791d69a6bbe21569a2ff3ca4.jpg","text":"TemporaryFile(/tmp/multipartBody596621223792158803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819598484,"filename":"image_09122025_01_29_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/12/27/71ac5815afcc059f5067c41b4af7d6f2.jpg","text":"TemporaryFile(/tmp/multipartBody2722470317254595194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819598484,"filename":"image_09122025_01_30_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/12/27/6d48a048534bb8cf72793b02014ffd2d.jpg","text":"TemporaryFile(/tmp/multipartBody6191783267581062172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819598484,"filename":"image_09122025_01_30_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cae7532ece126f9f6fb2d17309875951.jpg","text":"TemporaryFile(/tmp/multipartBody395206875322811401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819598484,"filename":"image_09122025_01_31_05_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231435","file1":"1401231434","file0":"1401231432","file4":"1401231439","file5":"1401231441","file3":"1401231437"},"map_files_photo_id_array":[{"photo_id":"1401231441","filename":"file5"},{"photo_id":"1401231435","filename":"file2"},{"photo_id":"1401231439","filename":"file4"},{"photo_id":"1401231434","filename":"file1"},{"photo_id":"1401231432","filename":"file0"},{"photo_id":"1401231437","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231439":["hashtag1","hashtag2"]},{"1401231432":["hashtag1","hashtag2"]},{"1401231441":["hashtag1","hashtag2"]},{"1401231435":["hashtag1","hashtag2"]},{"1401231437":["hashtag1","hashtag2"]},{"1401231434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231439, 1401231432, 1401231441, 1401231435, 1401231437, 1401231434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.743298292160034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:13:02.496028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_25_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_15_10682.jpg', 2), ('/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_55_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_45_10644.jpg', '/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_34_9632.jpg', '/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_25_9632.jpg', '/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_15_10682.jpg', '/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_55_9634.jpg', '/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_34_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_45_10644.jpg
/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_34_9632.jpg
/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_25_9632.jpg
/home/nano/Desktop/images/09122025/01/29/image_09122025_01_29_15_10682.jpg
/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_55_9634.jpg
/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_34_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":["1401231483","1401231471","1401231518","1401231521","1401231490","1401231481"],"photo_ids_order":["1401231471","1401231481","1401231483","1401231490","1401231518","1401231521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e91671e37b3e20dcda4cfee9a98c8a32.jpg","text":"TemporaryFile(/tmp/multipartBody4604762127900230402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819643298,"filename":"image_09122025_01_29_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18b548ba0f21617518e341cb587f8dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2171294985415267002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819643298,"filename":"image_09122025_01_29_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d31029e0dec4fae12b394840bdc4e751.jpg","text":"TemporaryFile(/tmp/multipartBody8644405266107122023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819643298,"filename":"image_09122025_01_28_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afd74facd82165b610819396f6e50c33.jpg","text":"TemporaryFile(/tmp/multipartBody4471951895885613514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819643298,"filename":"image_09122025_01_28_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/12/27/d7427b5ce79513ea5f626e3b564f8a60.jpg","text":"TemporaryFile(/tmp/multipartBody46394205102745670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819643298,"filename":"image_09122025_01_29_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34e48ee65017398fe65fddc90d9230ef.jpg","text":"TemporaryFile(/tmp/multipartBody3519279289278132669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819643298,"filename":"image_09122025_01_29_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231483","file1":"1401231481","file0":"1401231471","file4":"1401231518","file5":"1401231521","file3":"1401231490"},"map_files_photo_id_array":[{"photo_id":"1401231521","filename":"file5"},{"photo_id":"1401231483","filename":"file2"},{"photo_id":"1401231518","filename":"file4"},{"photo_id":"1401231481","filename":"file1"},{"photo_id":"1401231471","filename":"file0"},{"photo_id":"1401231490","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231483":["hashtag1","hashtag2"]},{"1401231471":["hashtag1","hashtag2"]},{"1401231518":["hashtag1","hashtag2"]},{"1401231521":["hashtag1","hashtag2"]},{"1401231490":["hashtag1","hashtag2"]},{"1401231481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231483, 1401231471, 1401231518, 1401231521, 1401231490, 1401231481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51600670814514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:13:46.862353
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/08/13/image_27122025_08_13_44_9509.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/08/13/image_27122025_08_13_44_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/08/13/image_27122025_08_13_44_9509.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401231527"],"photo_id":"1401231527","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8132d0eb15fb2c18f3dafa59e1bab7a.jpg","text":"TemporaryFile(/tmp/multipartBody2179149264005556356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819687123,"filename":"image_27122025_08_13_44_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401231527"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401231527"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.870172262191772 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:14:02.711650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_25_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/27/image_09122025_01_28_04_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_25_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_25_9633.jpg', '/home/nano/Desktop/images/09122025/01/27/image_09122025_01_28_04_9635.jpg', '/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_55_10644.jpg', '/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_34_9632.jpg', '/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_25_10660.jpg', '/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_14_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/28/image_09122025_01_28_25_9633.jpg
/home/nano/Desktop/images/09122025/01/27/image_09122025_01_28_04_9635.jpg
/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_55_10644.jpg
/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_34_9632.jpg
/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_25_10660.jpg
/home/nano/Desktop/images/09122025/01/27/image_09122025_01_27_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":["1401231538","1401231540","1401231534","1401231528","1401231536","1401231532"],"photo_ids_order":["1401231528","1401231532","1401231534","1401231536","1401231538","1401231540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b4e2efd0e670602718e3e6710d08697.jpg","text":"TemporaryFile(/tmp/multipartBody2141649647877829350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819703591,"filename":"image_09122025_01_27_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e57c800348873dc29a2a2913e552e844.jpg","text":"TemporaryFile(/tmp/multipartBody7032042205257072827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819703591,"filename":"image_09122025_01_27_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/12/27/ea06821ade3fb9aba8b05f0e9278dd23.jpg","text":"TemporaryFile(/tmp/multipartBody1691238111633772691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819703591,"filename":"image_09122025_01_27_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40448970e924a4bdc8f31dd0b37ebaeb.jpg","text":"TemporaryFile(/tmp/multipartBody2344949160865478463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819703591,"filename":"image_09122025_01_28_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8803dfeea9b6ed1413fdabbe78069fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4883686905684064894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819703591,"filename":"image_09122025_01_27_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/12/27/dd0dfaaa20aaf02b1e1ca0678f81eb6f.jpg","text":"TemporaryFile(/tmp/multipartBody8040197056323184252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819703591,"filename":"image_09122025_01_28_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231534","file1":"1401231532","file0":"1401231528","file4":"1401231538","file5":"1401231540","file3":"1401231536"},"map_files_photo_id_array":[{"photo_id":"1401231540","filename":"file5"},{"photo_id":"1401231534","filename":"file2"},{"photo_id":"1401231538","filename":"file4"},{"photo_id":"1401231532","filename":"file1"},{"photo_id":"1401231528","filename":"file0"},{"photo_id":"1401231536","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231538":["hashtag1","hashtag2"]},{"1401231540":["hashtag1","hashtag2"]},{"1401231534":["hashtag1","hashtag2"]},{"1401231528":["hashtag1","hashtag2"]},{"1401231536":["hashtag1","hashtag2"]},{"1401231532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231538, 1401231540, 1401231534, 1401231528, 1401231536, 1401231532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.542956590652466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:14:46.950316
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/25/image_09122025_01_26_05_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_55_10643.jpg', '/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_44_9634.jpg', '/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_25_10643.jpg', '/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_14_9650.jpg', '/home/nano/Desktop/images/09122025/01/25/image_09122025_01_26_05_9644.jpg', '/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_55_10643.jpg
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_44_9634.jpg
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_25_10643.jpg
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_14_9650.jpg
/home/nano/Desktop/images/09122025/01/25/image_09122025_01_26_05_9644.jpg
/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_55_10642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6932530403137207 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:15:02.840260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/25/image_09122025_01_26_05_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_55_10643.jpg', '/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_44_9634.jpg', '/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_25_10643.jpg', '/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_14_9650.jpg', '/home/nano/Desktop/images/09122025/01/25/image_09122025_01_26_05_9644.jpg', '/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_55_10643.jpg
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_44_9634.jpg
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_25_10643.jpg
/home/nano/Desktop/images/09122025/01/26/image_09122025_01_26_14_9650.jpg
/home/nano/Desktop/images/09122025/01/25/image_09122025_01_26_05_9644.jpg
/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_55_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":["1401231561","1401231564","1401231555","1401231557","1401231559","1401231553"],"photo_ids_order":["1401231553","1401231555","1401231557","1401231559","1401231561","1401231564"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db28cac560ad2aeccda9e509347b609a.jpg","text":"TemporaryFile(/tmp/multipartBody2577026042345596084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819763625,"filename":"image_09122025_01_26_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a67dcf3334118634fb2590d06f755f99.jpg","text":"TemporaryFile(/tmp/multipartBody7281624457649998675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819763625,"filename":"image_09122025_01_25_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca596f9a9dd57fdfa4e3895c16a4397a.jpg","text":"TemporaryFile(/tmp/multipartBody5423852452704456787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819763625,"filename":"image_09122025_01_26_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/12/27/5485d64f40fb1d6dc9d33120f0e577dc.jpg","text":"TemporaryFile(/tmp/multipartBody4429385403090399969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819763625,"filename":"image_09122025_01_26_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f97c2eed358763b149af12a41913dcd.jpg","text":"TemporaryFile(/tmp/multipartBody3423498247005872735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819763625,"filename":"image_09122025_01_26_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/12/27/b987a344371e4161c3aa9b4b2daad5e7.jpg","text":"TemporaryFile(/tmp/multipartBody9221708355321978546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819763625,"filename":"image_09122025_01_26_55_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231557","file1":"1401231555","file0":"1401231553","file4":"1401231561","file5":"1401231564","file3":"1401231559"},"map_files_photo_id_array":[{"photo_id":"1401231564","filename":"file5"},{"photo_id":"1401231557","filename":"file2"},{"photo_id":"1401231561","filename":"file4"},{"photo_id":"1401231555","filename":"file1"},{"photo_id":"1401231553","filename":"file0"},{"photo_id":"1401231559","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231561":["hashtag1","hashtag2"]},{"1401231564":["hashtag1","hashtag2"]},{"1401231555":["hashtag1","hashtag2"]},{"1401231557":["hashtag1","hashtag2"]},{"1401231559":["hashtag1","hashtag2"]},{"1401231553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231561, 1401231564, 1401231555, 1401231557, 1401231559, 1401231553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46666955947876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:15:47.058546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_24_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/24/image_09122025_01_24_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/24/image_09122025_01_24_15_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/01/23/image_09122025_01_24_05_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_44_9632.jpg', '/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_24_9649.jpg', '/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_14_9650.jpg', '/home/nano/Desktop/images/09122025/01/24/image_09122025_01_24_24_9631.jpg', '/home/nano/Desktop/images/09122025/01/24/image_09122025_01_24_15_9653.jpg', '/home/nano/Desktop/images/09122025/01/23/image_09122025_01_24_05_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_44_9632.jpg
/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_24_9649.jpg
/home/nano/Desktop/images/09122025/01/25/image_09122025_01_25_14_9650.jpg
/home/nano/Desktop/images/09122025/01/24/image_09122025_01_24_24_9631.jpg
/home/nano/Desktop/images/09122025/01/24/image_09122025_01_24_15_9653.jpg
/home/nano/Desktop/images/09122025/01/23/image_09122025_01_24_05_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":["1401231588","1401231585","1401231590","1401231587","1401231592","1401231586"],"photo_ids_order":["1401231585","1401231586","1401231587","1401231588","1401231590","1401231592"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bab02c49b72d402fa3b8ff7ac6111c99.jpg","text":"TemporaryFile(/tmp/multipartBody4474582231408634558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819807836,"filename":"image_09122025_01_24_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/12/27/5232d518bd3110c01d156b986ff89bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8246085458525252137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819807836,"filename":"image_09122025_01_25_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/12/27/b9598cb32394356594da2b2aff0f069e.jpg","text":"TemporaryFile(/tmp/multipartBody6238353838959096167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819807836,"filename":"image_09122025_01_24_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1730c7f7eab99f5d319be5a660f43266.jpg","text":"TemporaryFile(/tmp/multipartBody226638140155109047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819807836,"filename":"image_09122025_01_25_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/12/27/403b9925afaf46163f7b6f116e7a9aa8.jpg","text":"TemporaryFile(/tmp/multipartBody2059132959412776718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819807836,"filename":"image_09122025_01_24_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21cef540dc0e35c1a64fd8c71e86e598.jpg","text":"TemporaryFile(/tmp/multipartBody3957349665519602625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819807836,"filename":"image_09122025_01_25_24_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231587","file1":"1401231586","file0":"1401231585","file4":"1401231590","file5":"1401231592","file3":"1401231588"},"map_files_photo_id_array":[{"photo_id":"1401231592","filename":"file5"},{"photo_id":"1401231587","filename":"file2"},{"photo_id":"1401231590","filename":"file4"},{"photo_id":"1401231586","filename":"file1"},{"photo_id":"1401231585","filename":"file0"},{"photo_id":"1401231588","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231588":["hashtag1","hashtag2"]},{"1401231585":["hashtag1","hashtag2"]},{"1401231590":["hashtag1","hashtag2"]},{"1401231587":["hashtag1","hashtag2"]},{"1401231592":["hashtag1","hashtag2"]},{"1401231586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231588, 1401231585, 1401231590, 1401231587, 1401231592, 1401231586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54284596443176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:16:32.172900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_24_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_15_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/22/image_09122025_01_23_05_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_54_9635.jpg', '/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_35_10645.jpg', '/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_24_9630.jpg', '/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_15_9640.jpg', '/home/nano/Desktop/images/09122025/01/22/image_09122025_01_23_05_10647.jpg', '/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_54_9635.jpg
/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_35_10645.jpg
/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_24_9630.jpg
/home/nano/Desktop/images/09122025/01/23/image_09122025_01_23_15_9640.jpg
/home/nano/Desktop/images/09122025/01/22/image_09122025_01_23_05_10647.jpg
/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_54_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":["1401231746","1401231680","1401231611","1401231614","1401231646","1401231712"],"photo_ids_order":["1401231611","1401231614","1401231646","1401231680","1401231712","1401231746"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/165c6b8cbe8ee76913bb51d1ae316543.jpg","text":"TemporaryFile(/tmp/multipartBody6717214239693123216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819852934,"filename":"image_09122025_01_22_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/12/27/bd9a4849e1e3d145d0b9a61a70baf7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1144225269131784920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819852934,"filename":"image_09122025_01_23_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d0b04884cfff083f100c4ac58ef77c1.jpg","text":"TemporaryFile(/tmp/multipartBody6681650721324604060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819852934,"filename":"image_09122025_01_23_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/12/27/34294408e17df4149f35a3bb4af740d5.jpg","text":"TemporaryFile(/tmp/multipartBody7064897712058117027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819852934,"filename":"image_09122025_01_23_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c71972868830e730a0642239b6e08a88.jpg","text":"TemporaryFile(/tmp/multipartBody8635428680443325524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819852934,"filename":"image_09122025_01_23_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/12/27/83b203fd6a7046d1b00d307c585b2448.jpg","text":"TemporaryFile(/tmp/multipartBody7756077583563686875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819852934,"filename":"image_09122025_01_23_05_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231646","file1":"1401231614","file0":"1401231611","file4":"1401231712","file5":"1401231746","file3":"1401231680"},"map_files_photo_id_array":[{"photo_id":"1401231746","filename":"file5"},{"photo_id":"1401231646","filename":"file2"},{"photo_id":"1401231712","filename":"file4"},{"photo_id":"1401231614","filename":"file1"},{"photo_id":"1401231611","filename":"file0"},{"photo_id":"1401231680","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231746":["hashtag1","hashtag2"]},{"1401231680":["hashtag1","hashtag2"]},{"1401231611":["hashtag1","hashtag2"]},{"1401231614":["hashtag1","hashtag2"]},{"1401231646":["hashtag1","hashtag2"]},{"1401231712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231746, 1401231680, 1401231611, 1401231614, 1401231646, 1401231712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97358441352844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:17:17.274756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_25_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/01/21/image_09122025_01_22_04_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_45_10644.jpg', '/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_34_9632.jpg', '/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_25_9631.jpg', '/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_15_10658.jpg', '/home/nano/Desktop/images/09122025/01/21/image_09122025_01_22_04_9638.jpg', '/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_45_10644.jpg
/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_34_9632.jpg
/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_25_9631.jpg
/home/nano/Desktop/images/09122025/01/22/image_09122025_01_22_15_10658.jpg
/home/nano/Desktop/images/09122025/01/21/image_09122025_01_22_04_9638.jpg
/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_55_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":["1401231870","1401231792","1401231795","1401231807","1401231791","1401231929"],"photo_ids_order":["1401231791","1401231792","1401231795","1401231807","1401231870","1401231929"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e5d05dd764ee01bfde9891fd87864c3.jpg","text":"TemporaryFile(/tmp/multipartBody8673814515044738340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819898049,"filename":"image_09122025_01_22_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/12/27/bdb46b50b6152fd563dd61453247d595.jpg","text":"TemporaryFile(/tmp/multipartBody9065634287974839784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819898049,"filename":"image_09122025_01_22_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/12/27/48eb696fb449f4d6d2be3148bf3efee9.jpg","text":"TemporaryFile(/tmp/multipartBody7372315025732289479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819898049,"filename":"image_09122025_01_22_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2aa26099f5a5b21461480a2a190e5437.jpg","text":"TemporaryFile(/tmp/multipartBody6622413004693336501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819898049,"filename":"image_09122025_01_22_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b29c2fec4b33a98020b9368c1aad24ae.jpg","text":"TemporaryFile(/tmp/multipartBody9200443567258666997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819898049,"filename":"image_09122025_01_22_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5db09bf19bc78febe273ff653ace7ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3405516332952792241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819898049,"filename":"image_09122025_01_21_55_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401231795","file1":"1401231792","file0":"1401231791","file4":"1401231870","file5":"1401231929","file3":"1401231807"},"map_files_photo_id_array":[{"photo_id":"1401231929","filename":"file5"},{"photo_id":"1401231795","filename":"file2"},{"photo_id":"1401231870","filename":"file4"},{"photo_id":"1401231792","filename":"file1"},{"photo_id":"1401231791","filename":"file0"},{"photo_id":"1401231807","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401231870":["hashtag1","hashtag2"]},{"1401231792":["hashtag1","hashtag2"]},{"1401231795":["hashtag1","hashtag2"]},{"1401231807":["hashtag1","hashtag2"]},{"1401231791":["hashtag1","hashtag2"]},{"1401231929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401231870, 1401231792, 1401231795, 1401231807, 1401231791, 1401231929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89086365699768 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:18:02.829449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_45_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_25_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_44_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_45_10647.jpg', '/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_34_9632.jpg', '/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_25_9631.jpg', '/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_15_10657.jpg', '/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_55_10644.jpg', '/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_45_10647.jpg
/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_34_9632.jpg
/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_25_9631.jpg
/home/nano/Desktop/images/09122025/01/21/image_09122025_01_21_15_10657.jpg
/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_55_10644.jpg
/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_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":["1401232107","1401232076","1401231965","1401232136","1401232016","1401232168"],"photo_ids_order":["1401231965","1401232016","1401232076","1401232107","1401232136","1401232168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e14fa5caf27cde08e040918981626965.jpg","text":"TemporaryFile(/tmp/multipartBody566770238505858343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819943614,"filename":"image_09122025_01_21_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b034555fe6f206d36b87920da2fdeb41.jpg","text":"TemporaryFile(/tmp/multipartBody7290735337764386149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819943614,"filename":"image_09122025_01_21_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd20c21cabee3a0e81f033cbef1c255e.jpg","text":"TemporaryFile(/tmp/multipartBody2197809042022074246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819943614,"filename":"image_09122025_01_21_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a453ec0347158fa4fa1e8a80633181c2.jpg","text":"TemporaryFile(/tmp/multipartBody7654936428634133118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819943614,"filename":"image_09122025_01_20_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/873c589626f1e80a342d97ba83219008.jpg","text":"TemporaryFile(/tmp/multipartBody3025529384335346504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819943614,"filename":"image_09122025_01_21_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/12/27/b7c1dd81c4cf1231301d0a5979b7c063.jpg","text":"TemporaryFile(/tmp/multipartBody3084268531747831814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819943614,"filename":"image_09122025_01_20_44_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401232076","file1":"1401232016","file0":"1401231965","file4":"1401232136","file5":"1401232168","file3":"1401232107"},"map_files_photo_id_array":[{"photo_id":"1401232168","filename":"file5"},{"photo_id":"1401232076","filename":"file2"},{"photo_id":"1401232136","filename":"file4"},{"photo_id":"1401232016","filename":"file1"},{"photo_id":"1401231965","filename":"file0"},{"photo_id":"1401232107","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401232107":["hashtag1","hashtag2"]},{"1401232076":["hashtag1","hashtag2"]},{"1401231965":["hashtag1","hashtag2"]},{"1401232136":["hashtag1","hashtag2"]},{"1401232016":["hashtag1","hashtag2"]},{"1401232168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401232107, 1401232076, 1401231965, 1401232136, 1401232016, 1401232168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24374175071716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:18:47.356935
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/19/image_09122025_01_20_05_9658.jpg', 2), ('/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_55_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_35_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_25_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_14_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_34_9635.jpg', '/home/nano/Desktop/images/09122025/01/19/image_09122025_01_20_05_9658.jpg', '/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_55_10649.jpg', '/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_35_9650.jpg', '/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_25_10644.jpg', '/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_14_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/20/image_09122025_01_20_34_9635.jpg
/home/nano/Desktop/images/09122025/01/19/image_09122025_01_20_05_9658.jpg
/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_55_10649.jpg
/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_35_9650.jpg
/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_25_10644.jpg
/home/nano/Desktop/images/09122025/01/19/image_09122025_01_19_14_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":["1401232287","1401232286","1401232289","1401232390","1401232294","1401232288"],"photo_ids_order":["1401232286","1401232287","1401232288","1401232289","1401232294","1401232390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69b0ac385e327b89f36ed40a9b97e337.jpg","text":"TemporaryFile(/tmp/multipartBody949823054729014557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819988110,"filename":"image_09122025_01_20_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3bb6f65335da17c842fe7600fc373f2.jpg","text":"TemporaryFile(/tmp/multipartBody1852088385459253587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819988110,"filename":"image_09122025_01_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/12/27/7acd0d01881352f0ddac0738b97e3b2c.jpg","text":"TemporaryFile(/tmp/multipartBody7835910764505814259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819988110,"filename":"image_09122025_01_19_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bbb9af36c331f1cdb6586066e5495cc.jpg","text":"TemporaryFile(/tmp/multipartBody1314828627717909154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819988110,"filename":"image_09122025_01_19_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/12/27/32df4496770c19e4c932e7dfa0c74728.jpg","text":"TemporaryFile(/tmp/multipartBody785236855084648826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819988110,"filename":"image_09122025_01_19_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22e78277068fadb3119b19db9222bdfc.jpg","text":"TemporaryFile(/tmp/multipartBody7600990098208061191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766819988110,"filename":"image_09122025_01_19_55_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401232288","file1":"1401232287","file0":"1401232286","file4":"1401232294","file5":"1401232390","file3":"1401232289"},"map_files_photo_id_array":[{"photo_id":"1401232390","filename":"file5"},{"photo_id":"1401232288","filename":"file2"},{"photo_id":"1401232294","filename":"file4"},{"photo_id":"1401232287","filename":"file1"},{"photo_id":"1401232286","filename":"file0"},{"photo_id":"1401232289","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401232287":["hashtag1","hashtag2"]},{"1401232286":["hashtag1","hashtag2"]},{"1401232289":["hashtag1","hashtag2"]},{"1401232390":["hashtag1","hashtag2"]},{"1401232294":["hashtag1","hashtag2"]},{"1401232288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401232287, 1401232286, 1401232289, 1401232390, 1401232294, 1401232288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27995777130127 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:19:32.472800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/18/image_09122025_01_19_05_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/18/image_09122025_01_18_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/01/18/image_09122025_01_18_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_24_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/18/image_09122025_01_19_05_9642.jpg', '/home/nano/Desktop/images/09122025/01/18/image_09122025_01_18_55_10644.jpg', '/home/nano/Desktop/images/09122025/01/18/image_09122025_01_18_44_9632.jpg', '/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_44_9636.jpg', '/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_35_10645.jpg', '/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_24_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/18/image_09122025_01_19_05_9642.jpg
/home/nano/Desktop/images/09122025/01/18/image_09122025_01_18_55_10644.jpg
/home/nano/Desktop/images/09122025/01/18/image_09122025_01_18_44_9632.jpg
/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_44_9636.jpg
/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_35_10645.jpg
/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_24_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":["1401232484","1401232489","1401232492","1401232486","1401232540","1401232537"],"photo_ids_order":["1401232484","1401232486","1401232489","1401232492","1401232537","1401232540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf54b379cc2082f3843cf8822f1f0397.jpg","text":"TemporaryFile(/tmp/multipartBody6177844854865251115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820033236,"filename":"image_09122025_01_19_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cad9273719a10e0562beb648637dc436.jpg","text":"TemporaryFile(/tmp/multipartBody8973371435506280677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820033236,"filename":"image_09122025_01_18_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/12/27/05ab6987a41d738f70b76732687f75fb.jpg","text":"TemporaryFile(/tmp/multipartBody6679524433398115434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820033236,"filename":"image_09122025_01_17_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/12/27/6310b02af4f188fe935dbf458f2ace16.jpg","text":"TemporaryFile(/tmp/multipartBody5060403204956201457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820033236,"filename":"image_09122025_01_18_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae0a8ef9eb2b9bf192fee4568e813431.jpg","text":"TemporaryFile(/tmp/multipartBody7904841600803645890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820033236,"filename":"image_09122025_01_17_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/12/27/942ef558a7337beec64bf229693292d8.jpg","text":"TemporaryFile(/tmp/multipartBody7771793380213782087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820033236,"filename":"image_09122025_01_17_35_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401232489","file1":"1401232486","file0":"1401232484","file4":"1401232537","file5":"1401232540","file3":"1401232492"},"map_files_photo_id_array":[{"photo_id":"1401232540","filename":"file5"},{"photo_id":"1401232489","filename":"file2"},{"photo_id":"1401232537","filename":"file4"},{"photo_id":"1401232486","filename":"file1"},{"photo_id":"1401232484","filename":"file0"},{"photo_id":"1401232492","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401232484":["hashtag1","hashtag2"]},{"1401232489":["hashtag1","hashtag2"]},{"1401232492":["hashtag1","hashtag2"]},{"1401232486":["hashtag1","hashtag2"]},{"1401232540":["hashtag1","hashtag2"]},{"1401232537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401232484, 1401232489, 1401232492, 1401232486, 1401232540, 1401232537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30870580673218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:20:17.548704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_15_9671.jpg', 2), ('/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_45_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_15_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_45_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_15_9671.jpg', '/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_54_9632.jpg', '/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_45_9638.jpg', '/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_15_9650.jpg', '/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_54_9632.jpg', '/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/17/image_09122025_01_17_15_9671.jpg
/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_54_9632.jpg
/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_45_9638.jpg
/home/nano/Desktop/images/09122025/01/16/image_09122025_01_16_15_9650.jpg
/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_54_9632.jpg
/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_45_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":["1401232722","1401232716","1401232719","1401232682","1401232679","1401232678"],"photo_ids_order":["1401232678","1401232679","1401232682","1401232716","1401232719","1401232722"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7409ad3260bb998c408d873f069f449.jpg","text":"TemporaryFile(/tmp/multipartBody6667741138981727723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820078305,"filename":"image_09122025_01_15_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/085f5ff9914638f84e4e30ca454b7bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8004989589405482020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820078305,"filename":"image_09122025_01_16_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45567ba63e17e0dd0bdbc7e98f9409dd.jpg","text":"TemporaryFile(/tmp/multipartBody7921752381755392200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820078305,"filename":"image_09122025_01_15_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/12/27/a27a9af169f2610811470b01da0102e7.jpg","text":"TemporaryFile(/tmp/multipartBody6049839393102023820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820078305,"filename":"image_09122025_01_16_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd8ed0c0b2862d3450fc8f60a8f15b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5050656008353080235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820078305,"filename":"image_09122025_01_16_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/12/27/1bc957f5ac44584d4d8ee38044b33037.jpg","text":"TemporaryFile(/tmp/multipartBody4287879671047287850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820078305,"filename":"image_09122025_01_17_15_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401232682","file1":"1401232679","file0":"1401232678","file4":"1401232719","file5":"1401232722","file3":"1401232716"},"map_files_photo_id_array":[{"photo_id":"1401232722","filename":"file5"},{"photo_id":"1401232682","filename":"file2"},{"photo_id":"1401232719","filename":"file4"},{"photo_id":"1401232679","filename":"file1"},{"photo_id":"1401232678","filename":"file0"},{"photo_id":"1401232716","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401232722":["hashtag1","hashtag2"]},{"1401232716":["hashtag1","hashtag2"]},{"1401232719":["hashtag1","hashtag2"]},{"1401232682":["hashtag1","hashtag2"]},{"1401232679":["hashtag1","hashtag2"]},{"1401232678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401232722, 1401232716, 1401232719, 1401232682, 1401232679, 1401232678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.202131271362305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:21:03.297472
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_34_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_15_10684.jpg', 2), ('/home/nano/Desktop/images/09122025/01/14/image_09122025_01_15_04_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_55_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_45_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_34_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_34_9635.jpg', '/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_15_10684.jpg', '/home/nano/Desktop/images/09122025/01/14/image_09122025_01_15_04_9635.jpg', '/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_55_9634.jpg', '/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_45_10662.jpg', '/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_34_9635.jpg
/home/nano/Desktop/images/09122025/01/15/image_09122025_01_15_15_10684.jpg
/home/nano/Desktop/images/09122025/01/14/image_09122025_01_15_04_9635.jpg
/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_55_9634.jpg
/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_45_10662.jpg
/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_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":["1401232857","1401232758","1401232824","1401232730","1401232729","1401232791"],"photo_ids_order":["1401232729","1401232730","1401232758","1401232791","1401232824","1401232857"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a46838182e8587f712163b1c3d0b3344.jpg","text":"TemporaryFile(/tmp/multipartBody1435172875994410673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820124116,"filename":"image_09122025_01_14_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/12/27/003cf929e4e495f718c91b20942bbe90.jpg","text":"TemporaryFile(/tmp/multipartBody1362312186578947763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820124116,"filename":"image_09122025_01_15_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/12/27/35f3d21fd1a0d672610488e4524abd3d.jpg","text":"TemporaryFile(/tmp/multipartBody3925630991444710192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820124116,"filename":"image_09122025_01_14_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6234946929f6457fceeff24f3181a905.jpg","text":"TemporaryFile(/tmp/multipartBody7691641379428477451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820124116,"filename":"image_09122025_01_15_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/524ca1ef4f407b00172e7380f7c8aad0.jpg","text":"TemporaryFile(/tmp/multipartBody3653298000320206355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820124116,"filename":"image_09122025_01_15_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/12/27/0ae5188483243547ee92a6e652f8c586.jpg","text":"TemporaryFile(/tmp/multipartBody281344360386452614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820124116,"filename":"image_09122025_01_14_55_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401232758","file1":"1401232730","file0":"1401232729","file4":"1401232824","file5":"1401232857","file3":"1401232791"},"map_files_photo_id_array":[{"photo_id":"1401232857","filename":"file5"},{"photo_id":"1401232758","filename":"file2"},{"photo_id":"1401232824","filename":"file4"},{"photo_id":"1401232730","filename":"file1"},{"photo_id":"1401232729","filename":"file0"},{"photo_id":"1401232791","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401232857":["hashtag1","hashtag2"]},{"1401232758":["hashtag1","hashtag2"]},{"1401232824":["hashtag1","hashtag2"]},{"1401232730":["hashtag1","hashtag2"]},{"1401232729":["hashtag1","hashtag2"]},{"1401232791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401232857, 1401232758, 1401232824, 1401232730, 1401232729, 1401232791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76277017593384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:21:47.657211
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_25_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_15_10682.jpg', 2), ('/home/nano/Desktop/images/09122025/01/13/image_09122025_01_14_04_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_55_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_45_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_25_9637.jpg', '/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_15_10682.jpg', '/home/nano/Desktop/images/09122025/01/13/image_09122025_01_14_04_9652.jpg', '/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_55_9631.jpg', '/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_45_10647.jpg', '/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_25_9637.jpg
/home/nano/Desktop/images/09122025/01/14/image_09122025_01_14_15_10682.jpg
/home/nano/Desktop/images/09122025/01/13/image_09122025_01_14_04_9652.jpg
/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_55_9631.jpg
/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_45_10647.jpg
/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_34_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":["1401232965","1401232968","1401232967","1401232978","1401232966","1401232963"],"photo_ids_order":["1401232963","1401232965","1401232966","1401232967","1401232968","1401232978"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0b0ac48d3b0d5ed6361bb8a3a701efc.jpg","text":"TemporaryFile(/tmp/multipartBody8354726911614597309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820168490,"filename":"image_09122025_01_14_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebeca8f0137472e73435d9a8393c8564.jpg","text":"TemporaryFile(/tmp/multipartBody4820542107264393551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820168490,"filename":"image_09122025_01_13_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/169b53968ea21ad16fcb1e7a9e14d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody667971147534217654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820168490,"filename":"image_09122025_01_13_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e90a26fbb5af9964aa1a7e7eb47e0fd4.jpg","text":"TemporaryFile(/tmp/multipartBody657158394639586813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820168490,"filename":"image_09122025_01_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/12/27/a6d630f98d6110fc770aa02279f51cc6.jpg","text":"TemporaryFile(/tmp/multipartBody8606627740878363172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820168490,"filename":"image_09122025_01_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/12/27/395909b257485af1682dd7df8bb8b0bb.jpg","text":"TemporaryFile(/tmp/multipartBody1060639710494065446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820168490,"filename":"image_09122025_01_14_25_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401232966","file1":"1401232965","file0":"1401232963","file4":"1401232968","file5":"1401232978","file3":"1401232967"},"map_files_photo_id_array":[{"photo_id":"1401232978","filename":"file5"},{"photo_id":"1401232966","filename":"file2"},{"photo_id":"1401232968","filename":"file4"},{"photo_id":"1401232965","filename":"file1"},{"photo_id":"1401232963","filename":"file0"},{"photo_id":"1401232967","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401232965":["hashtag1","hashtag2"]},{"1401232968":["hashtag1","hashtag2"]},{"1401232967":["hashtag1","hashtag2"]},{"1401232978":["hashtag1","hashtag2"]},{"1401232966":["hashtag1","hashtag2"]},{"1401232963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401232965, 1401232968, 1401232967, 1401232978, 1401232966, 1401232963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.499412298202515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:22:32.763878
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/08/22/image_27122025_08_22_55_10516.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/08/22/image_27122025_08_22_55_10516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/08/22/image_27122025_08_22_55_10516.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401233034"],"photo_id":"1401233034","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0eb66bd5e9af84308f2ed472d7063239.jpg","text":"TemporaryFile(/tmp/multipartBody5593918099874151143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820213023,"filename":"image_27122025_08_22_55_10516.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401233034"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401233034"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.240931987762451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:22:47.731664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_25_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_55_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_35_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_15_10661.jpg', '/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_55_9633.jpg', '/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_25_10640.jpg', '/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_14_9649.jpg', '/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_55_10662.jpg', '/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_35_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/13/image_09122025_01_13_15_10661.jpg
/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_55_9633.jpg
/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_25_10640.jpg
/home/nano/Desktop/images/09122025/01/12/image_09122025_01_12_14_9649.jpg
/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_55_10662.jpg
/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_35_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":["1401233090","1401233087","1401233092","1401233086","1401233088","1401233085"],"photo_ids_order":["1401233085","1401233086","1401233087","1401233088","1401233090","1401233092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/211420980da7527987888174f162bfd0.jpg","text":"TemporaryFile(/tmp/multipartBody8478950012023234415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820228501,"filename":"image_09122025_01_11_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9462278370862ddcf89f6498c0b07ba3.jpg","text":"TemporaryFile(/tmp/multipartBody2223234477033092352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820228501,"filename":"image_09122025_01_12_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75882fdd1cba7140744b010fa5eb219f.jpg","text":"TemporaryFile(/tmp/multipartBody7183117845190047859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820228501,"filename":"image_09122025_01_11_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9d6e3a9a77bf4c0a84876b02971fe7e.jpg","text":"TemporaryFile(/tmp/multipartBody873668447416951595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820228501,"filename":"image_09122025_01_12_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97a08b9507a4b4c00862359e0f83f82f.jpg","text":"TemporaryFile(/tmp/multipartBody4168632991282487044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820228501,"filename":"image_09122025_01_12_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/12/27/9dc63fa45dd65c63b6f75e216dfefdd4.jpg","text":"TemporaryFile(/tmp/multipartBody3901175598665271176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820228501,"filename":"image_09122025_01_13_15_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233087","file1":"1401233086","file0":"1401233085","file4":"1401233090","file5":"1401233092","file3":"1401233088"},"map_files_photo_id_array":[{"photo_id":"1401233092","filename":"file5"},{"photo_id":"1401233087","filename":"file2"},{"photo_id":"1401233090","filename":"file4"},{"photo_id":"1401233086","filename":"file1"},{"photo_id":"1401233085","filename":"file0"},{"photo_id":"1401233088","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233090":["hashtag1","hashtag2"]},{"1401233087":["hashtag1","hashtag2"]},{"1401233092":["hashtag1","hashtag2"]},{"1401233086":["hashtag1","hashtag2"]},{"1401233088":["hashtag1","hashtag2"]},{"1401233085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233090, 1401233087, 1401233092, 1401233086, 1401233088, 1401233085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75042247772217 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:23:31.823700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_14_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/10/image_09122025_01_11_05_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_25_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_25_10642.jpg', '/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_14_9645.jpg', '/home/nano/Desktop/images/09122025/01/10/image_09122025_01_11_05_9638.jpg', '/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_44_9637.jpg', '/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_35_9634.jpg', '/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_25_10642.jpg
/home/nano/Desktop/images/09122025/01/11/image_09122025_01_11_14_9645.jpg
/home/nano/Desktop/images/09122025/01/10/image_09122025_01_11_05_9638.jpg
/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_44_9637.jpg
/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_35_9634.jpg
/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_25_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":["1401233109","1401233099","1401233105","1401233108","1401233101","1401233097"],"photo_ids_order":["1401233097","1401233099","1401233101","1401233105","1401233108","1401233109"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7b670f58e5529854f96b592341eee7a.jpg","text":"TemporaryFile(/tmp/multipartBody303109543419848863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820272586,"filename":"image_09122025_01_10_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95c19e513e8a9de2e9f07982c2d48fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3902745807006686228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820272586,"filename":"image_09122025_01_11_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/12/27/2cbc9bc8376428e89fa0cac42b876b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6244527355647762119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820272586,"filename":"image_09122025_01_10_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/12/27/484feadc3ac68bf520eea6b43fa8bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody7460546995228443523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820272586,"filename":"image_09122025_01_10_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae3c21818f374e3c4462a09e0ea1f964.jpg","text":"TemporaryFile(/tmp/multipartBody3224511863585246187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820272586,"filename":"image_09122025_01_11_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d4d3a93d8cfecdc73b88b14ec802afa.jpg","text":"TemporaryFile(/tmp/multipartBody4446932032688535974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820272586,"filename":"image_09122025_01_11_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233101","file1":"1401233099","file0":"1401233097","file4":"1401233108","file5":"1401233109","file3":"1401233105"},"map_files_photo_id_array":[{"photo_id":"1401233109","filename":"file5"},{"photo_id":"1401233101","filename":"file2"},{"photo_id":"1401233108","filename":"file4"},{"photo_id":"1401233099","filename":"file1"},{"photo_id":"1401233097","filename":"file0"},{"photo_id":"1401233105","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233109":["hashtag1","hashtag2"]},{"1401233099":["hashtag1","hashtag2"]},{"1401233105":["hashtag1","hashtag2"]},{"1401233108":["hashtag1","hashtag2"]},{"1401233101":["hashtag1","hashtag2"]},{"1401233097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233109, 1401233099, 1401233105, 1401233108, 1401233101, 1401233097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1851601600647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:24:16.995484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_14_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/09/image_09122025_01_10_05_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_15_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_14_9650.jpg', '/home/nano/Desktop/images/09122025/01/09/image_09122025_01_10_05_10659.jpg', '/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_54_9633.jpg', '/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_35_10645.jpg', '/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_24_9633.jpg', '/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_15_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/10/image_09122025_01_10_14_9650.jpg
/home/nano/Desktop/images/09122025/01/09/image_09122025_01_10_05_10659.jpg
/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_54_9633.jpg
/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_35_10645.jpg
/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_24_9633.jpg
/home/nano/Desktop/images/09122025/01/09/image_09122025_01_09_15_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":["1401233165","1401233267","1401233231","1401233199","1401233302","1401233340"],"photo_ids_order":["1401233165","1401233199","1401233231","1401233267","1401233302","1401233340"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b5eb2c95a9dcc6b9cb206742bab3238.jpg","text":"TemporaryFile(/tmp/multipartBody2653237693375351267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820317755,"filename":"image_09122025_01_10_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/12/27/812a4deb40308f580d61acc08a5a184b.jpg","text":"TemporaryFile(/tmp/multipartBody115308008537933871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820317755,"filename":"image_09122025_01_09_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cc36a959c28237c42c5a42cc195df09.jpg","text":"TemporaryFile(/tmp/multipartBody6900995314743774139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820317755,"filename":"image_09122025_01_09_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/12/27/38ab19ecfb87ab62961d193bdb1e5de2.jpg","text":"TemporaryFile(/tmp/multipartBody2191451785984823217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820317755,"filename":"image_09122025_01_10_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0676536f0665de2fa417d591567144c9.jpg","text":"TemporaryFile(/tmp/multipartBody7363573140589763338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820317755,"filename":"image_09122025_01_09_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/12/27/6505d1ebcd509226f9991b2d251e8940.jpg","text":"TemporaryFile(/tmp/multipartBody3886708105486006061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820317755,"filename":"image_09122025_01_09_15_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233231","file1":"1401233199","file0":"1401233165","file4":"1401233302","file5":"1401233340","file3":"1401233267"},"map_files_photo_id_array":[{"photo_id":"1401233340","filename":"file5"},{"photo_id":"1401233231","filename":"file2"},{"photo_id":"1401233302","filename":"file4"},{"photo_id":"1401233199","filename":"file1"},{"photo_id":"1401233165","filename":"file0"},{"photo_id":"1401233267","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233165":["hashtag1","hashtag2"]},{"1401233267":["hashtag1","hashtag2"]},{"1401233231":["hashtag1","hashtag2"]},{"1401233199":["hashtag1","hashtag2"]},{"1401233302":["hashtag1","hashtag2"]},{"1401233340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233165, 1401233267, 1401233231, 1401233199, 1401233302, 1401233340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18412804603577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:25:02.760336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/08/image_09122025_01_09_05_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_45_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_35_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/07/image_09122025_01_08_04_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/08/image_09122025_01_09_05_10647.jpg', '/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_54_9631.jpg', '/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_45_9631.jpg', '/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_35_10650.jpg', '/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_24_9632.jpg', '/home/nano/Desktop/images/09122025/01/07/image_09122025_01_08_04_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/08/image_09122025_01_09_05_10647.jpg
/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_54_9631.jpg
/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_45_9631.jpg
/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_35_10650.jpg
/home/nano/Desktop/images/09122025/01/08/image_09122025_01_08_24_9632.jpg
/home/nano/Desktop/images/09122025/01/07/image_09122025_01_08_04_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":["1401233468","1401233507","1401233461","1401233464","1401233466","1401233457"],"photo_ids_order":["1401233457","1401233461","1401233464","1401233466","1401233468","1401233507"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d99f3679bb6fd79884c783d1f61b0b10.jpg","text":"TemporaryFile(/tmp/multipartBody8761460973324492498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820363538,"filename":"image_09122025_01_08_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/12/27/cdb9d5627eb7f4eca163d736f840616f.jpg","text":"TemporaryFile(/tmp/multipartBody8723900798205570536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820363538,"filename":"image_09122025_01_08_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/12/27/bb35f066a60d451e8a642a7bf4fdec83.jpg","text":"TemporaryFile(/tmp/multipartBody7838135003952638825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820363538,"filename":"image_09122025_01_08_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/12/27/10b4a3cc0ac9897ff83f48f7b435fc5d.jpg","text":"TemporaryFile(/tmp/multipartBody7625893394067958830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820363538,"filename":"image_09122025_01_08_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abf4ac6bf67e1f299c9584e7c42a9251.jpg","text":"TemporaryFile(/tmp/multipartBody7150823374660008588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820363538,"filename":"image_09122025_01_08_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07988e1e01babbcc6712111cae4e17de.jpg","text":"TemporaryFile(/tmp/multipartBody7413436385567164415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820363538,"filename":"image_09122025_01_09_05_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233464","file1":"1401233461","file0":"1401233457","file4":"1401233468","file5":"1401233507","file3":"1401233466"},"map_files_photo_id_array":[{"photo_id":"1401233507","filename":"file5"},{"photo_id":"1401233464","filename":"file2"},{"photo_id":"1401233468","filename":"file4"},{"photo_id":"1401233461","filename":"file1"},{"photo_id":"1401233457","filename":"file0"},{"photo_id":"1401233466","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233468":["hashtag1","hashtag2"]},{"1401233507":["hashtag1","hashtag2"]},{"1401233461":["hashtag1","hashtag2"]},{"1401233464":["hashtag1","hashtag2"]},{"1401233466":["hashtag1","hashtag2"]},{"1401233457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233468, 1401233507, 1401233461, 1401233464, 1401233466, 1401233457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14556622505188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:25:47.022504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/07/image_09122025_01_07_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/07/image_09122025_01_07_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/01/06/image_09122025_01_07_04_9645.jpg', 2), ('/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_55_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_45_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_34_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/07/image_09122025_01_07_54_9635.jpg', '/home/nano/Desktop/images/09122025/01/07/image_09122025_01_07_15_10659.jpg', '/home/nano/Desktop/images/09122025/01/06/image_09122025_01_07_04_9645.jpg', '/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_55_9630.jpg', '/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_45_10640.jpg', '/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/07/image_09122025_01_07_54_9635.jpg
/home/nano/Desktop/images/09122025/01/07/image_09122025_01_07_15_10659.jpg
/home/nano/Desktop/images/09122025/01/06/image_09122025_01_07_04_9645.jpg
/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_55_9630.jpg
/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_45_10640.jpg
/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_34_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":["1401233561","1401233558","1401233540","1401233560","1401233557","1401233556"],"photo_ids_order":["1401233540","1401233556","1401233557","1401233558","1401233560","1401233561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff7ee8b3931757876008067422c047f9.jpg","text":"TemporaryFile(/tmp/multipartBody3839426189573521721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820407813,"filename":"image_09122025_01_06_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/12/27/6ff258ef9070fe58a804ace9c346aa7a.jpg","text":"TemporaryFile(/tmp/multipartBody1669595776543280387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820407813,"filename":"image_09122025_01_06_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/737adac723ed66fd0680a231f619c4f7.jpg","text":"TemporaryFile(/tmp/multipartBody7800130341360932642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820407813,"filename":"image_09122025_01_07_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/12/27/d6cd87938e9642e6b99291e20b8a20c4.jpg","text":"TemporaryFile(/tmp/multipartBody2217590996329302260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820407813,"filename":"image_09122025_01_06_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51d98b71cbabfab1422f9262e14012ae.jpg","text":"TemporaryFile(/tmp/multipartBody8890407358867406326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820407813,"filename":"image_09122025_01_07_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/12/27/e76e70afcf0e51352896d672c1f8d6ca.jpg","text":"TemporaryFile(/tmp/multipartBody1652383576239243969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820407813,"filename":"image_09122025_01_07_15_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233557","file1":"1401233556","file0":"1401233540","file4":"1401233560","file5":"1401233561","file3":"1401233558"},"map_files_photo_id_array":[{"photo_id":"1401233561","filename":"file5"},{"photo_id":"1401233557","filename":"file2"},{"photo_id":"1401233560","filename":"file4"},{"photo_id":"1401233556","filename":"file1"},{"photo_id":"1401233540","filename":"file0"},{"photo_id":"1401233558","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233561":["hashtag1","hashtag2"]},{"1401233558":["hashtag1","hashtag2"]},{"1401233540":["hashtag1","hashtag2"]},{"1401233560":["hashtag1","hashtag2"]},{"1401233557":["hashtag1","hashtag2"]},{"1401233556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233561, 1401233558, 1401233540, 1401233560, 1401233557, 1401233556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31832456588745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:26:32.149041
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/01/05/image_09122025_01_06_04_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_55_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_44_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_35_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_25_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_15_10657.jpg', '/home/nano/Desktop/images/09122025/01/05/image_09122025_01_06_04_9642.jpg', '/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_55_10640.jpg', '/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_44_9633.jpg', '/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_35_9651.jpg', '/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_25_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/06/image_09122025_01_06_15_10657.jpg
/home/nano/Desktop/images/09122025/01/05/image_09122025_01_06_04_9642.jpg
/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_55_10640.jpg
/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_44_9633.jpg
/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_35_9651.jpg
/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_25_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":["1401233573","1401233576","1401233570","1401233572","1401233575","1401233577"],"photo_ids_order":["1401233570","1401233572","1401233573","1401233575","1401233576","1401233577"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab7047825531765d795a64a3101dce57.jpg","text":"TemporaryFile(/tmp/multipartBody6528248511579783022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820452912,"filename":"image_09122025_01_05_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b0c6f8765d216559bb39adeab197e02.jpg","text":"TemporaryFile(/tmp/multipartBody3910353776972948802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820452912,"filename":"image_09122025_01_05_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac2108a5b4567492b2251479e9aa7320.jpg","text":"TemporaryFile(/tmp/multipartBody8693163100524758481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820452912,"filename":"image_09122025_01_06_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77cbc22d1141498355d54fb03bcb320c.jpg","text":"TemporaryFile(/tmp/multipartBody3171968470372228290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820452912,"filename":"image_09122025_01_06_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/12/27/f9b1fe38eefa22e7e22520c76b809475.jpg","text":"TemporaryFile(/tmp/multipartBody7750758211564880493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820452912,"filename":"image_09122025_01_05_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/12/27/01070921213059bcabff75c179abb406.jpg","text":"TemporaryFile(/tmp/multipartBody4960551060528467581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820452912,"filename":"image_09122025_01_05_25_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233573","file1":"1401233572","file0":"1401233570","file4":"1401233576","file5":"1401233577","file3":"1401233575"},"map_files_photo_id_array":[{"photo_id":"1401233577","filename":"file5"},{"photo_id":"1401233573","filename":"file2"},{"photo_id":"1401233576","filename":"file4"},{"photo_id":"1401233572","filename":"file1"},{"photo_id":"1401233570","filename":"file0"},{"photo_id":"1401233575","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233573":["hashtag1","hashtag2"]},{"1401233576":["hashtag1","hashtag2"]},{"1401233570":["hashtag1","hashtag2"]},{"1401233572":["hashtag1","hashtag2"]},{"1401233575":["hashtag1","hashtag2"]},{"1401233577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233573, 1401233576, 1401233570, 1401233572, 1401233575, 1401233577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.049652099609375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:27:17.204725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_14_9667.jpg', 2), ('/home/nano/Desktop/images/09122025/01/04/image_09122025_01_05_05_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_35_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_25_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_14_9667.jpg', '/home/nano/Desktop/images/09122025/01/04/image_09122025_01_05_05_9635.jpg', '/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_55_10643.jpg', '/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_44_9634.jpg', '/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_35_9632.jpg', '/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/05/image_09122025_01_05_14_9667.jpg
/home/nano/Desktop/images/09122025/01/04/image_09122025_01_05_05_9635.jpg
/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_55_10643.jpg
/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_44_9634.jpg
/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_35_9632.jpg
/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_25_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":["1401233591","1401233582","1401233585","1401233587","1401233583","1401233589"],"photo_ids_order":["1401233582","1401233583","1401233585","1401233587","1401233589","1401233591"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6af5ee7763b3c01d407578bc7713a306.jpg","text":"TemporaryFile(/tmp/multipartBody1155350586875821395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820497954,"filename":"image_09122025_01_04_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26f2c400003c8c856c8bf3a5c86051a3.jpg","text":"TemporaryFile(/tmp/multipartBody482775530209366409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820497954,"filename":"image_09122025_01_05_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/12/27/57b5073b4256d9e8132da8913c78f436.jpg","text":"TemporaryFile(/tmp/multipartBody7748083595734925857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820497954,"filename":"image_09122025_01_04_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f7e6c164703cfa1b95febecbe056104.jpg","text":"TemporaryFile(/tmp/multipartBody6530937917246496610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820497954,"filename":"image_09122025_01_04_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/12/27/a1c3e815de4cf3040a54ca61b341fc60.jpg","text":"TemporaryFile(/tmp/multipartBody8527382109851059335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820497954,"filename":"image_09122025_01_05_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f91cd3b8051b9998ae0df3deaf8f5382.jpg","text":"TemporaryFile(/tmp/multipartBody4708456012276599681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820497954,"filename":"image_09122025_01_04_35_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233585","file1":"1401233583","file0":"1401233582","file4":"1401233589","file5":"1401233591","file3":"1401233587"},"map_files_photo_id_array":[{"photo_id":"1401233591","filename":"file5"},{"photo_id":"1401233585","filename":"file2"},{"photo_id":"1401233589","filename":"file4"},{"photo_id":"1401233583","filename":"file1"},{"photo_id":"1401233582","filename":"file0"},{"photo_id":"1401233587","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233591":["hashtag1","hashtag2"]},{"1401233582":["hashtag1","hashtag2"]},{"1401233585":["hashtag1","hashtag2"]},{"1401233587":["hashtag1","hashtag2"]},{"1401233583":["hashtag1","hashtag2"]},{"1401233589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233591, 1401233582, 1401233585, 1401233587, 1401233583, 1401233589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61552023887634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:28:02.882531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_14_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_55_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_44_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_35_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/01/02/image_09122025_01_03_05_10649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_45_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_14_9648.jpg', '/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_55_10640.jpg', '/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_44_9636.jpg', '/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_35_10647.jpg', '/home/nano/Desktop/images/09122025/01/02/image_09122025_01_03_05_10649.jpg', '/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/04/image_09122025_01_04_14_9648.jpg
/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_55_10640.jpg
/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_44_9636.jpg
/home/nano/Desktop/images/09122025/01/03/image_09122025_01_03_35_10647.jpg
/home/nano/Desktop/images/09122025/01/02/image_09122025_01_03_05_10649.jpg
/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_45_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":["1401233604","1401233607","1401233600","1401233596","1401233602","1401233598"],"photo_ids_order":["1401233596","1401233598","1401233600","1401233602","1401233604","1401233607"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db18b29de3fe78ebeab142574a9b3fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1886902880590801926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820543683,"filename":"image_09122025_01_03_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52dfbe0b282fd235189df8752e527cb0.jpg","text":"TemporaryFile(/tmp/multipartBody5131719990938391666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820543683,"filename":"image_09122025_01_02_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dbcee44585473b5048cbea88298ff5c.jpg","text":"TemporaryFile(/tmp/multipartBody3664188022123521060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820543683,"filename":"image_09122025_01_03_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/12/27/f29a5625055f5e76353941dafbe4dc9e.jpg","text":"TemporaryFile(/tmp/multipartBody1118922448273489678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820543683,"filename":"image_09122025_01_04_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/12/27/cd9ede9729bdad3fa627ff6e27a0e1b2.jpg","text":"TemporaryFile(/tmp/multipartBody2014492343901301363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820543683,"filename":"image_09122025_01_03_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d34a4043e8873f365ab1ebe298ad3f05.jpg","text":"TemporaryFile(/tmp/multipartBody2127343985856044685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820543683,"filename":"image_09122025_01_03_55_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233600","file1":"1401233598","file0":"1401233596","file4":"1401233604","file5":"1401233607","file3":"1401233602"},"map_files_photo_id_array":[{"photo_id":"1401233607","filename":"file5"},{"photo_id":"1401233600","filename":"file2"},{"photo_id":"1401233604","filename":"file4"},{"photo_id":"1401233598","filename":"file1"},{"photo_id":"1401233596","filename":"file0"},{"photo_id":"1401233602","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233604":["hashtag1","hashtag2"]},{"1401233607":["hashtag1","hashtag2"]},{"1401233600":["hashtag1","hashtag2"]},{"1401233596":["hashtag1","hashtag2"]},{"1401233602":["hashtag1","hashtag2"]},{"1401233598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233604, 1401233607, 1401233600, 1401233596, 1401233602, 1401233598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66750431060791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:28:47.394019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_35_10660.jpg', 2), ('/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_15_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_35_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_24_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_35_10660.jpg', '/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_15_9649.jpg', '/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_35_10641.jpg', '/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_24_9649.jpg', '/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_15_10659.jpg', '/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_35_10660.jpg
/home/nano/Desktop/images/09122025/01/02/image_09122025_01_02_15_9649.jpg
/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_35_10641.jpg
/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_24_9649.jpg
/home/nano/Desktop/images/09122025/01/01/image_09122025_01_01_15_10659.jpg
/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_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":["1401233622","1401233625","1401233621","1401233620","1401233623","1401233628"],"photo_ids_order":["1401233620","1401233621","1401233622","1401233623","1401233625","1401233628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3aba8f1206ddacf5f03096e728cf2957.jpg","text":"TemporaryFile(/tmp/multipartBody3318615007425889714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820588164,"filename":"image_09122025_01_01_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f45cbc8e381d5ce1263c48f4668cb44.jpg","text":"TemporaryFile(/tmp/multipartBody1459848852864691424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820588164,"filename":"image_09122025_01_01_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7f41ed37edf37741b030eca6f008f64.jpg","text":"TemporaryFile(/tmp/multipartBody8097936417646474002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820588164,"filename":"image_09122025_01_02_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e0db59d91bf39077bc3af6a20ed165c.jpg","text":"TemporaryFile(/tmp/multipartBody4188637164598258635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820588164,"filename":"image_09122025_01_02_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39eb3505d2109993f0f2380a4685eabb.jpg","text":"TemporaryFile(/tmp/multipartBody5371885653459154336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820588164,"filename":"image_09122025_01_01_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/12/27/9f95075712547db21ed1da07d76823b9.jpg","text":"TemporaryFile(/tmp/multipartBody515841539135036790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820588164,"filename":"image_09122025_01_00_54_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233622","file1":"1401233621","file0":"1401233620","file4":"1401233625","file5":"1401233628","file3":"1401233623"},"map_files_photo_id_array":[{"photo_id":"1401233628","filename":"file5"},{"photo_id":"1401233622","filename":"file2"},{"photo_id":"1401233625","filename":"file4"},{"photo_id":"1401233621","filename":"file1"},{"photo_id":"1401233620","filename":"file0"},{"photo_id":"1401233623","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233622":["hashtag1","hashtag2"]},{"1401233625":["hashtag1","hashtag2"]},{"1401233621":["hashtag1","hashtag2"]},{"1401233620":["hashtag1","hashtag2"]},{"1401233623":["hashtag1","hashtag2"]},{"1401233628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233622, 1401233625, 1401233621, 1401233620, 1401233623, 1401233628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.897072315216064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:29:32.540194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_45_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_34_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_25_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/59/image_09122025_01_00_04_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_45_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_45_10641.jpg', '/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_34_9631.jpg', '/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_25_9635.jpg', '/home/nano/Desktop/images/09122025/00/59/image_09122025_01_00_04_9652.jpg', '/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_55_9633.jpg', '/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_45_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_45_10641.jpg
/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_34_9631.jpg
/home/nano/Desktop/images/09122025/01/00/image_09122025_01_00_25_9635.jpg
/home/nano/Desktop/images/09122025/00/59/image_09122025_01_00_04_9652.jpg
/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_55_9633.jpg
/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_45_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":["1401233643","1401233636","1401233645","1401233641","1401233638","1401233646"],"photo_ids_order":["1401233636","1401233638","1401233641","1401233643","1401233645","1401233646"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/081c3afe2c682ce50b3bb4b202b8d308.jpg","text":"TemporaryFile(/tmp/multipartBody6571283019917972162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820633300,"filename":"image_09122025_01_00_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/12/27/c0450aced36dd56c56fc98bf2a42afb7.jpg","text":"TemporaryFile(/tmp/multipartBody4495919096622589671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820633300,"filename":"image_09122025_01_00_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfb39adb327d6ff52f889b983fef4bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2261399466394039969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820633300,"filename":"image_09122025_00_59_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a1758a31198b5a545b1d43dde9a15d2.jpg","text":"TemporaryFile(/tmp/multipartBody7823845857562366816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820633300,"filename":"image_09122025_01_00_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcf4415db3b25ed3f715bf6ce818fa1f.jpg","text":"TemporaryFile(/tmp/multipartBody4726031416952968156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820633300,"filename":"image_09122025_01_00_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/12/27/0dfd072557ea7ed79770d110a41466c4.jpg","text":"TemporaryFile(/tmp/multipartBody1548669283638140326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820633300,"filename":"image_09122025_00_59_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233641","file1":"1401233638","file0":"1401233636","file4":"1401233645","file5":"1401233646","file3":"1401233643"},"map_files_photo_id_array":[{"photo_id":"1401233646","filename":"file5"},{"photo_id":"1401233641","filename":"file2"},{"photo_id":"1401233645","filename":"file4"},{"photo_id":"1401233638","filename":"file1"},{"photo_id":"1401233636","filename":"file0"},{"photo_id":"1401233643","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233643":["hashtag1","hashtag2"]},{"1401233636":["hashtag1","hashtag2"]},{"1401233645":["hashtag1","hashtag2"]},{"1401233641":["hashtag1","hashtag2"]},{"1401233638":["hashtag1","hashtag2"]},{"1401233646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233643, 1401233636, 1401233645, 1401233641, 1401233638, 1401233646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0183162689209 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:30:17.615706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_25_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_15_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/58/image_09122025_00_59_04_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_55_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_34_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_34_9632.jpg', '/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_25_9632.jpg', '/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_15_10641.jpg', '/home/nano/Desktop/images/09122025/00/58/image_09122025_00_59_04_9642.jpg', '/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_55_10640.jpg', '/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_34_9632.jpg
/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_25_9632.jpg
/home/nano/Desktop/images/09122025/00/59/image_09122025_00_59_15_10641.jpg
/home/nano/Desktop/images/09122025/00/58/image_09122025_00_59_04_9642.jpg
/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_55_10640.jpg
/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_34_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":["1401233660","1401233654","1401233651","1401233656","1401233658","1401233652"],"photo_ids_order":["1401233651","1401233652","1401233654","1401233656","1401233658","1401233660"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e756945c8a9ded2018108ea407a32d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4430072596087491480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820678378,"filename":"image_09122025_00_58_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/12/27/495f921ce71b9e11e849e94233c00ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6053101086679442469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820678378,"filename":"image_09122025_00_59_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d18cccb459c9190d8ba731199367559e.jpg","text":"TemporaryFile(/tmp/multipartBody3112802618973153188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820678378,"filename":"image_09122025_00_59_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/12/27/c798996d35d52530a60f74beae2f87b9.jpg","text":"TemporaryFile(/tmp/multipartBody955051828771874563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820678378,"filename":"image_09122025_00_59_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/12/27/2f9308529cddfb37ae9411e6fdb2da45.jpg","text":"TemporaryFile(/tmp/multipartBody2618250224966208581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820678378,"filename":"image_09122025_00_58_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/961969e7c0dfb6200c165f9d95bbaefd.jpg","text":"TemporaryFile(/tmp/multipartBody9040820557396457874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820678378,"filename":"image_09122025_00_59_25_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233654","file1":"1401233652","file0":"1401233651","file4":"1401233658","file5":"1401233660","file3":"1401233656"},"map_files_photo_id_array":[{"photo_id":"1401233660","filename":"file5"},{"photo_id":"1401233654","filename":"file2"},{"photo_id":"1401233658","filename":"file4"},{"photo_id":"1401233652","filename":"file1"},{"photo_id":"1401233651","filename":"file0"},{"photo_id":"1401233656","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233660":["hashtag1","hashtag2"]},{"1401233654":["hashtag1","hashtag2"]},{"1401233651":["hashtag1","hashtag2"]},{"1401233656":["hashtag1","hashtag2"]},{"1401233658":["hashtag1","hashtag2"]},{"1401233652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233660, 1401233654, 1401233651, 1401233656, 1401233658, 1401233652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41816020011902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:31:03.469095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_35_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_25_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_14_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_25_10641.jpg', '/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_55_10642.jpg', '/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_44_9637.jpg', '/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_35_9631.jpg', '/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_25_10656.jpg', '/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/58/image_09122025_00_58_25_10641.jpg
/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_55_10642.jpg
/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_44_9637.jpg
/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_35_9631.jpg
/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_25_10656.jpg
/home/nano/Desktop/images/09122025/00/57/image_09122025_00_57_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":["1401233672","1401233675","1401233665","1401233668","1401233670","1401233667"],"photo_ids_order":["1401233665","1401233667","1401233668","1401233670","1401233672","1401233675"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cce1cd0dc57a9bbf92fae33c1e705be2.jpg","text":"TemporaryFile(/tmp/multipartBody4747903150949767689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820724316,"filename":"image_09122025_00_57_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9efeac791304193bc9b0d8c7de91c3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6704951625218412798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820724316,"filename":"image_09122025_00_57_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/12/27/fbf1a75bb3a9e5dfefb1a0c0b76613e8.jpg","text":"TemporaryFile(/tmp/multipartBody5664876841255337720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820724316,"filename":"image_09122025_00_58_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a9e0d421ae7a54f51d87c858c9ff247.jpg","text":"TemporaryFile(/tmp/multipartBody6008104712802399814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820724316,"filename":"image_09122025_00_57_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/12/27/a875ac1db4f90f2bf3c12e151baed732.jpg","text":"TemporaryFile(/tmp/multipartBody563847529683927573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820724316,"filename":"image_09122025_00_57_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a97800e77ee6d4534fac11acfcb8a89c.jpg","text":"TemporaryFile(/tmp/multipartBody7613630591201469450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820724316,"filename":"image_09122025_00_57_55_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233668","file1":"1401233667","file0":"1401233665","file4":"1401233672","file5":"1401233675","file3":"1401233670"},"map_files_photo_id_array":[{"photo_id":"1401233675","filename":"file5"},{"photo_id":"1401233668","filename":"file2"},{"photo_id":"1401233672","filename":"file4"},{"photo_id":"1401233667","filename":"file1"},{"photo_id":"1401233665","filename":"file0"},{"photo_id":"1401233670","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233672":["hashtag1","hashtag2"]},{"1401233675":["hashtag1","hashtag2"]},{"1401233665":["hashtag1","hashtag2"]},{"1401233668":["hashtag1","hashtag2"]},{"1401233670":["hashtag1","hashtag2"]},{"1401233667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233672, 1401233675, 1401233665, 1401233668, 1401233670, 1401233667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.148632526397705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:31:47.695188
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/56/image_09122025_00_57_05_9644.jpg', 2), ('/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_44_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_35_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_14_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/56/image_09122025_00_57_05_9644.jpg', '/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_44_9634.jpg', '/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_35_10642.jpg', '/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_24_9632.jpg', '/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_14_9643.jpg', '/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/56/image_09122025_00_57_05_9644.jpg
/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_44_9634.jpg
/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_35_10642.jpg
/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_24_9632.jpg
/home/nano/Desktop/images/09122025/00/56/image_09122025_00_56_14_9643.jpg
/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_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":["1401233684","1401233683","1401233686","1401233689","1401233688","1401233685"],"photo_ids_order":["1401233683","1401233684","1401233685","1401233686","1401233688","1401233689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9692d63bfdd337f1afb402bd097c708.jpg","text":"TemporaryFile(/tmp/multipartBody5582978811658756669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820768489,"filename":"image_09122025_00_56_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/12/27/84d7c510c20a459ed07dbbabe21de38f.jpg","text":"TemporaryFile(/tmp/multipartBody9220155179352704444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820768489,"filename":"image_09122025_00_57_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78e25a56412f17a67251b7ca7f30b964.jpg","text":"TemporaryFile(/tmp/multipartBody5602625828106061869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820768489,"filename":"image_09122025_00_56_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/12/27/1cebaafa59cb25d9cec896aed08c21b3.jpg","text":"TemporaryFile(/tmp/multipartBody5158149292583490490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820768489,"filename":"image_09122025_00_55_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/12/27/c0b9f5a1764b8f0b0e1b27a2f0bf3dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3769485503769375083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820768489,"filename":"image_09122025_00_56_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/12/27/fb0ee996712205dc15da54588baceea6.jpg","text":"TemporaryFile(/tmp/multipartBody572324587859240409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820768489,"filename":"image_09122025_00_56_35_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233685","file1":"1401233684","file0":"1401233683","file4":"1401233688","file5":"1401233689","file3":"1401233686"},"map_files_photo_id_array":[{"photo_id":"1401233689","filename":"file5"},{"photo_id":"1401233685","filename":"file2"},{"photo_id":"1401233688","filename":"file4"},{"photo_id":"1401233684","filename":"file1"},{"photo_id":"1401233683","filename":"file0"},{"photo_id":"1401233686","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233684":["hashtag1","hashtag2"]},{"1401233683":["hashtag1","hashtag2"]},{"1401233686":["hashtag1","hashtag2"]},{"1401233689":["hashtag1","hashtag2"]},{"1401233688":["hashtag1","hashtag2"]},{"1401233685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233684, 1401233683, 1401233686, 1401233689, 1401233688, 1401233685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21660876274109 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:32:31.826534
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_45_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_15_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/54/image_09122025_00_55_05_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/54/image_09122025_00_54_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/54/image_09122025_00_54_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/00/53/image_09122025_00_54_04_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_45_9631.jpg', '/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_15_9641.jpg', '/home/nano/Desktop/images/09122025/00/54/image_09122025_00_55_05_10658.jpg', '/home/nano/Desktop/images/09122025/00/54/image_09122025_00_54_54_9631.jpg', '/home/nano/Desktop/images/09122025/00/54/image_09122025_00_54_15_10657.jpg', '/home/nano/Desktop/images/09122025/00/53/image_09122025_00_54_04_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_45_9631.jpg
/home/nano/Desktop/images/09122025/00/55/image_09122025_00_55_15_9641.jpg
/home/nano/Desktop/images/09122025/00/54/image_09122025_00_55_05_10658.jpg
/home/nano/Desktop/images/09122025/00/54/image_09122025_00_54_54_9631.jpg
/home/nano/Desktop/images/09122025/00/54/image_09122025_00_54_15_10657.jpg
/home/nano/Desktop/images/09122025/00/53/image_09122025_00_54_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":["1401233700","1401233706","1401233698","1401233702","1401233704","1401233707"],"photo_ids_order":["1401233698","1401233700","1401233702","1401233704","1401233706","1401233707"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70fc573bcdfdf02b69afeeff6bb951e9.jpg","text":"TemporaryFile(/tmp/multipartBody360522629108647387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820812591,"filename":"image_09122025_00_55_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/265bdbd32ba76e3194e2f2bfad0fe619.jpg","text":"TemporaryFile(/tmp/multipartBody6031624757077770569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820812591,"filename":"image_09122025_00_54_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/591e938da6cb6a6f7031c1e9e8a7b6e8.jpg","text":"TemporaryFile(/tmp/multipartBody7440035157525512305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820812591,"filename":"image_09122025_00_55_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/412d0424cddda8a374ecc67258ba2d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7713893899156265155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820812591,"filename":"image_09122025_00_55_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6789e785d5c62be5eff5e9e363a0e63.jpg","text":"TemporaryFile(/tmp/multipartBody7099098142837693159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820812591,"filename":"image_09122025_00_54_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/12/27/5c255b46348df338f62725f4c5542deb.jpg","text":"TemporaryFile(/tmp/multipartBody5613994060659974511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820812591,"filename":"image_09122025_00_54_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233702","file1":"1401233700","file0":"1401233698","file4":"1401233706","file5":"1401233707","file3":"1401233704"},"map_files_photo_id_array":[{"photo_id":"1401233707","filename":"file5"},{"photo_id":"1401233702","filename":"file2"},{"photo_id":"1401233706","filename":"file4"},{"photo_id":"1401233700","filename":"file1"},{"photo_id":"1401233698","filename":"file0"},{"photo_id":"1401233704","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233700":["hashtag1","hashtag2"]},{"1401233706":["hashtag1","hashtag2"]},{"1401233698":["hashtag1","hashtag2"]},{"1401233702":["hashtag1","hashtag2"]},{"1401233704":["hashtag1","hashtag2"]},{"1401233707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233700, 1401233706, 1401233698, 1401233702, 1401233704, 1401233707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.952406883239746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:33:16.866536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_54_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_45_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_25_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/52/image_09122025_00_53_04_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_54_9632.jpg', '/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_45_10640.jpg', '/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_34_9633.jpg', '/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_25_9630.jpg', '/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_15_10658.jpg', '/home/nano/Desktop/images/09122025/00/52/image_09122025_00_53_04_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_54_9632.jpg
/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_45_10640.jpg
/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_34_9633.jpg
/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_25_9630.jpg
/home/nano/Desktop/images/09122025/00/53/image_09122025_00_53_15_10658.jpg
/home/nano/Desktop/images/09122025/00/52/image_09122025_00_53_04_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":["1401233721","1401233718","1401233714","1401233716","1401233719","1401233712"],"photo_ids_order":["1401233712","1401233714","1401233716","1401233718","1401233719","1401233721"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7b7f0b36c5991b1903eaf67828b02ef.jpg","text":"TemporaryFile(/tmp/multipartBody3497356665138621240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820857641,"filename":"image_09122025_00_53_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/12/27/0075a5a6d70316fe6debef3f27949599.jpg","text":"TemporaryFile(/tmp/multipartBody1066411930911564547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820857641,"filename":"image_09122025_00_53_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/993fb44ec14a4b327198ee67a19de362.jpg","text":"TemporaryFile(/tmp/multipartBody7045396916026610731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820857641,"filename":"image_09122025_00_53_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d5a0396796173928ad46254b48db53e.jpg","text":"TemporaryFile(/tmp/multipartBody2775596856484858140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820857641,"filename":"image_09122025_00_53_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/12/27/802a00ab58d12d153444734c132df14b.jpg","text":"TemporaryFile(/tmp/multipartBody1084555159825804892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820857641,"filename":"image_09122025_00_53_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3894f4eba0ec272b9400c20fa4d334c.jpg","text":"TemporaryFile(/tmp/multipartBody5509775559476427930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820857641,"filename":"image_09122025_00_53_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233716","file1":"1401233714","file0":"1401233712","file4":"1401233719","file5":"1401233721","file3":"1401233718"},"map_files_photo_id_array":[{"photo_id":"1401233721","filename":"file5"},{"photo_id":"1401233716","filename":"file2"},{"photo_id":"1401233719","filename":"file4"},{"photo_id":"1401233714","filename":"file1"},{"photo_id":"1401233712","filename":"file0"},{"photo_id":"1401233718","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233721":["hashtag1","hashtag2"]},{"1401233718":["hashtag1","hashtag2"]},{"1401233714":["hashtag1","hashtag2"]},{"1401233716":["hashtag1","hashtag2"]},{"1401233719":["hashtag1","hashtag2"]},{"1401233712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233721, 1401233718, 1401233714, 1401233716, 1401233719, 1401233712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77538728713989 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:34:03.028259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/52/image_09122025_00_52_25_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/51/image_09122025_00_52_04_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_55_10640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/50/image_09122025_00_51_05_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/52/image_09122025_00_52_25_9633.jpg', '/home/nano/Desktop/images/09122025/00/51/image_09122025_00_52_04_9640.jpg', '/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_55_10640.jpg', '/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_34_9634.jpg', '/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_25_10641.jpg', '/home/nano/Desktop/images/09122025/00/50/image_09122025_00_51_05_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/52/image_09122025_00_52_25_9633.jpg
/home/nano/Desktop/images/09122025/00/51/image_09122025_00_52_04_9640.jpg
/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_55_10640.jpg
/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_34_9634.jpg
/home/nano/Desktop/images/09122025/00/51/image_09122025_00_51_25_10641.jpg
/home/nano/Desktop/images/09122025/00/50/image_09122025_00_51_05_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":["1401233762","1401233764","1401233769","1401233757","1401233766","1401233760"],"photo_ids_order":["1401233757","1401233760","1401233762","1401233764","1401233766","1401233769"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53d8a7dd30e6ab355ce7af41faf6088d.jpg","text":"TemporaryFile(/tmp/multipartBody8312476264853014756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820903851,"filename":"image_09122025_00_51_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8971b225ec514c8753232277ac6e76a.jpg","text":"TemporaryFile(/tmp/multipartBody2622546652706741847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820903851,"filename":"image_09122025_00_51_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/12/27/074c30ffb582b7ddcbb716f16e5fca18.jpg","text":"TemporaryFile(/tmp/multipartBody725952490137186499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820903851,"filename":"image_09122025_00_51_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/105bddb844241a669c1e969fe86f27b7.jpg","text":"TemporaryFile(/tmp/multipartBody7387038259275591303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820903851,"filename":"image_09122025_00_52_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d19cde4b6e18cb9f65f1757919afaa2.jpg","text":"TemporaryFile(/tmp/multipartBody302426504946578170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820903851,"filename":"image_09122025_00_51_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecb9ea183289aaf7e24ea8b3474ec64d.jpg","text":"TemporaryFile(/tmp/multipartBody3831611260929328472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820903851,"filename":"image_09122025_00_52_04_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233762","file1":"1401233760","file0":"1401233757","file4":"1401233766","file5":"1401233769","file3":"1401233764"},"map_files_photo_id_array":[{"photo_id":"1401233769","filename":"file5"},{"photo_id":"1401233762","filename":"file2"},{"photo_id":"1401233766","filename":"file4"},{"photo_id":"1401233760","filename":"file1"},{"photo_id":"1401233757","filename":"file0"},{"photo_id":"1401233764","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233762":["hashtag1","hashtag2"]},{"1401233764":["hashtag1","hashtag2"]},{"1401233769":["hashtag1","hashtag2"]},{"1401233757":["hashtag1","hashtag2"]},{"1401233766":["hashtag1","hashtag2"]},{"1401233760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233762, 1401233764, 1401233769, 1401233757, 1401233766, 1401233760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.273022174835205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:34:47.057004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/00/49/image_09122025_00_50_05_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_44_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_35_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_35_9634.jpg', '/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_25_10643.jpg', '/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_14_9649.jpg', '/home/nano/Desktop/images/09122025/00/49/image_09122025_00_50_05_9636.jpg', '/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_44_9647.jpg', '/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_35_9634.jpg
/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_25_10643.jpg
/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_14_9649.jpg
/home/nano/Desktop/images/09122025/00/49/image_09122025_00_50_05_9636.jpg
/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_44_9647.jpg
/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_35_10643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6442737579345703 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:35:02.879306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/00/49/image_09122025_00_50_05_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_44_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_35_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_35_9634.jpg', '/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_25_10643.jpg', '/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_14_9649.jpg', '/home/nano/Desktop/images/09122025/00/49/image_09122025_00_50_05_9636.jpg', '/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_44_9647.jpg', '/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_35_9634.jpg
/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_25_10643.jpg
/home/nano/Desktop/images/09122025/00/50/image_09122025_00_50_14_9649.jpg
/home/nano/Desktop/images/09122025/00/49/image_09122025_00_50_05_9636.jpg
/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_44_9647.jpg
/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_35_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":["1401233808","1401233802","1401233810","1401233804","1401233813","1401233806"],"photo_ids_order":["1401233802","1401233804","1401233806","1401233808","1401233810","1401233813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3986470b2816c80cb0a17777f8eeeaa4.jpg","text":"TemporaryFile(/tmp/multipartBody3517956364377619888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820963688,"filename":"image_09122025_00_50_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ddfa3d0b1a09de0be9418e59aca93117.jpg","text":"TemporaryFile(/tmp/multipartBody8360454967368357802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820963688,"filename":"image_09122025_00_50_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3a4587f141c4a3660dfb90c8fe93663.jpg","text":"TemporaryFile(/tmp/multipartBody4048408407055703537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820963688,"filename":"image_09122025_00_49_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/12/27/fa7fdab369e09bfe6183ccc1e899df02.jpg","text":"TemporaryFile(/tmp/multipartBody8984280452773804763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820963688,"filename":"image_09122025_00_50_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/144a0694a645c0d07a2dcd3045625b23.jpg","text":"TemporaryFile(/tmp/multipartBody5038423015529871084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820963688,"filename":"image_09122025_00_49_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad0dfe14c6a9c60d273f8d228ffa062e.jpg","text":"TemporaryFile(/tmp/multipartBody3505455193393114054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766820963688,"filename":"image_09122025_00_50_14_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233806","file1":"1401233804","file0":"1401233802","file4":"1401233810","file5":"1401233813","file3":"1401233808"},"map_files_photo_id_array":[{"photo_id":"1401233813","filename":"file5"},{"photo_id":"1401233806","filename":"file2"},{"photo_id":"1401233810","filename":"file4"},{"photo_id":"1401233804","filename":"file1"},{"photo_id":"1401233802","filename":"file0"},{"photo_id":"1401233808","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233808":["hashtag1","hashtag2"]},{"1401233802":["hashtag1","hashtag2"]},{"1401233810":["hashtag1","hashtag2"]},{"1401233804":["hashtag1","hashtag2"]},{"1401233813":["hashtag1","hashtag2"]},{"1401233806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233808, 1401233802, 1401233810, 1401233804, 1401233813, 1401233806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28503060340881 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:35:47.158028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_24_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/48/image_09122025_00_48_24_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/48/image_09122025_00_48_15_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/00/47/image_09122025_00_47_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/47/image_09122025_00_47_45_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/46/image_09122025_00_47_04_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_24_9631.jpg', '/home/nano/Desktop/images/09122025/00/48/image_09122025_00_48_24_9636.jpg', '/home/nano/Desktop/images/09122025/00/48/image_09122025_00_48_15_9630.jpg', '/home/nano/Desktop/images/09122025/00/47/image_09122025_00_47_54_9631.jpg', '/home/nano/Desktop/images/09122025/00/47/image_09122025_00_47_45_9632.jpg', '/home/nano/Desktop/images/09122025/00/46/image_09122025_00_47_04_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/49/image_09122025_00_49_24_9631.jpg
/home/nano/Desktop/images/09122025/00/48/image_09122025_00_48_24_9636.jpg
/home/nano/Desktop/images/09122025/00/48/image_09122025_00_48_15_9630.jpg
/home/nano/Desktop/images/09122025/00/47/image_09122025_00_47_54_9631.jpg
/home/nano/Desktop/images/09122025/00/47/image_09122025_00_47_45_9632.jpg
/home/nano/Desktop/images/09122025/00/46/image_09122025_00_47_04_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":["1401233861","1401233840","1401233837","1401233841","1401233859","1401233847"],"photo_ids_order":["1401233837","1401233840","1401233841","1401233847","1401233859","1401233861"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfbc925d45fb3a0ec0a3112c3eb68aac.jpg","text":"TemporaryFile(/tmp/multipartBody5413086815538790138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821007912,"filename":"image_09122025_00_47_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/12/27/dba07a4673a4b2de781b4a3efb729207.jpg","text":"TemporaryFile(/tmp/multipartBody7786249319802919932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821007912,"filename":"image_09122025_00_48_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/12/27/8975730b7d422d297b817e45d2b0080c.jpg","text":"TemporaryFile(/tmp/multipartBody4241483170257032776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821007912,"filename":"image_09122025_00_49_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/12/27/be6ecd540557cf27ff11906cfee165ca.jpg","text":"TemporaryFile(/tmp/multipartBody821790889926795382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821007912,"filename":"image_09122025_00_48_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd5b00b1c684a709e1d1a45a2738c9c6.jpg","text":"TemporaryFile(/tmp/multipartBody4308756476631117489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821007912,"filename":"image_09122025_00_47_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5b812c1b8ffab5dfdb31019ac4b82ad.jpg","text":"TemporaryFile(/tmp/multipartBody8070464600328359073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821007912,"filename":"image_09122025_00_47_54_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233841","file1":"1401233840","file0":"1401233837","file4":"1401233859","file5":"1401233861","file3":"1401233847"},"map_files_photo_id_array":[{"photo_id":"1401233861","filename":"file5"},{"photo_id":"1401233841","filename":"file2"},{"photo_id":"1401233859","filename":"file4"},{"photo_id":"1401233840","filename":"file1"},{"photo_id":"1401233837","filename":"file0"},{"photo_id":"1401233847","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233861":["hashtag1","hashtag2"]},{"1401233840":["hashtag1","hashtag2"]},{"1401233837":["hashtag1","hashtag2"]},{"1401233841":["hashtag1","hashtag2"]},{"1401233859":["hashtag1","hashtag2"]},{"1401233847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233861, 1401233840, 1401233837, 1401233841, 1401233859, 1401233847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3387930393219 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:36:32.278481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_45_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_34_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_25_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_15_10680.jpg', 2), ('/home/nano/Desktop/images/09122025/00/45/image_09122025_00_46_04_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_55_9633.jpg', '/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_45_10643.jpg', '/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_34_9640.jpg', '/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_25_9633.jpg', '/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_15_10680.jpg', '/home/nano/Desktop/images/09122025/00/45/image_09122025_00_46_04_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_55_9633.jpg
/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_45_10643.jpg
/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_34_9640.jpg
/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_25_9633.jpg
/home/nano/Desktop/images/09122025/00/46/image_09122025_00_46_15_10680.jpg
/home/nano/Desktop/images/09122025/00/45/image_09122025_00_46_04_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":["1401233873","1401233878","1401233887","1401233869","1401233892","1401233871"],"photo_ids_order":["1401233869","1401233871","1401233873","1401233878","1401233887","1401233892"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/63ba9fd5e5008565e28dc1d35fa53803.jpg","text":"TemporaryFile(/tmp/multipartBody1410128879194275269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821053047,"filename":"image_09122025_00_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/12/27/736b44e1e6804bf1eb609ecfe6117f1f.jpg","text":"TemporaryFile(/tmp/multipartBody3530456491791549133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821053047,"filename":"image_09122025_00_46_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dea0763caad314540788f8b429137de.jpg","text":"TemporaryFile(/tmp/multipartBody4390645315330922932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821053047,"filename":"image_09122025_00_46_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd8438363895d3aa0ffec6a3769bb95d.jpg","text":"TemporaryFile(/tmp/multipartBody3632726427538425401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821053047,"filename":"image_09122025_00_46_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e0b46231bf3044e654fa1a7c1d5c335.jpg","text":"TemporaryFile(/tmp/multipartBody5616261440017386178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821053047,"filename":"image_09122025_00_46_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/12/27/2e6e5aceeed43671ce9d2cd590486b37.jpg","text":"TemporaryFile(/tmp/multipartBody1885504779029989052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821053047,"filename":"image_09122025_00_46_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401233873","file1":"1401233871","file0":"1401233869","file4":"1401233887","file5":"1401233892","file3":"1401233878"},"map_files_photo_id_array":[{"photo_id":"1401233892","filename":"file5"},{"photo_id":"1401233873","filename":"file2"},{"photo_id":"1401233887","filename":"file4"},{"photo_id":"1401233871","filename":"file1"},{"photo_id":"1401233869","filename":"file0"},{"photo_id":"1401233878","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233873":["hashtag1","hashtag2"]},{"1401233878":["hashtag1","hashtag2"]},{"1401233887":["hashtag1","hashtag2"]},{"1401233869":["hashtag1","hashtag2"]},{"1401233892":["hashtag1","hashtag2"]},{"1401233871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233873, 1401233878, 1401233887, 1401233869, 1401233892, 1401233871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56896209716797 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:37:17.356190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_55_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_45_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/44/image_09122025_00_45_04_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_55_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_55_9635.jpg', '/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_45_10661.jpg', '/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_34_9636.jpg', '/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_25_9634.jpg', '/home/nano/Desktop/images/09122025/00/44/image_09122025_00_45_04_9639.jpg', '/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_55_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_55_9635.jpg
/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_45_10661.jpg
/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_34_9636.jpg
/home/nano/Desktop/images/09122025/00/45/image_09122025_00_45_25_9634.jpg
/home/nano/Desktop/images/09122025/00/44/image_09122025_00_45_04_9639.jpg
/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_55_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":["1401233972","1401234094","1401234043","1401234096","1401234006","1401234077"],"photo_ids_order":["1401233972","1401234006","1401234043","1401234077","1401234094","1401234096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13b2ee8363a6f06d9821253480c94ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3260975207860192532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821098111,"filename":"image_09122025_00_45_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8ed2959652c7d982522689a1d6a069e.jpg","text":"TemporaryFile(/tmp/multipartBody5898111814888197998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821098111,"filename":"image_09122025_00_45_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/12/27/20f341cc01572f69b026dc47ebc0505c.jpg","text":"TemporaryFile(/tmp/multipartBody3425834286903127167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821098111,"filename":"image_09122025_00_45_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/12/27/036e81fd9757d6d7ec063ab67de053da.jpg","text":"TemporaryFile(/tmp/multipartBody6263424189348214648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821098111,"filename":"image_09122025_00_44_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4a06cb7676b0dda682c39b50a2a165f.jpg","text":"TemporaryFile(/tmp/multipartBody5069839704550527173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821098111,"filename":"image_09122025_00_45_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0df290ef5f7e7ae03fac51f2dcc3aa0.jpg","text":"TemporaryFile(/tmp/multipartBody2769590484317247543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821098111,"filename":"image_09122025_00_45_25_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234043","file1":"1401234006","file0":"1401233972","file4":"1401234094","file5":"1401234096","file3":"1401234077"},"map_files_photo_id_array":[{"photo_id":"1401234096","filename":"file5"},{"photo_id":"1401234043","filename":"file2"},{"photo_id":"1401234094","filename":"file4"},{"photo_id":"1401234006","filename":"file1"},{"photo_id":"1401233972","filename":"file0"},{"photo_id":"1401234077","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401233972":["hashtag1","hashtag2"]},{"1401234094":["hashtag1","hashtag2"]},{"1401234043":["hashtag1","hashtag2"]},{"1401234096":["hashtag1","hashtag2"]},{"1401234006":["hashtag1","hashtag2"]},{"1401234077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401233972, 1401234094, 1401234043, 1401234096, 1401234006, 1401234077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.954912185668945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:38:02.979455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_44_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_14_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/00/43/image_09122025_00_44_05_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_44_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_35_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_44_9632.jpg', '/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_14_9649.jpg', '/home/nano/Desktop/images/09122025/00/43/image_09122025_00_44_05_9633.jpg', '/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_55_10643.jpg', '/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_44_9640.jpg', '/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_35_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_44_9632.jpg
/home/nano/Desktop/images/09122025/00/44/image_09122025_00_44_14_9649.jpg
/home/nano/Desktop/images/09122025/00/43/image_09122025_00_44_05_9633.jpg
/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_55_10643.jpg
/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_44_9640.jpg
/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_35_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":["1401234116","1401234118","1401234115","1401234120","1401234123","1401234111"],"photo_ids_order":["1401234111","1401234115","1401234116","1401234118","1401234120","1401234123"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc840aaeb69d5e4f9f6281f020469b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1895627337774970512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821143787,"filename":"image_09122025_00_44_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8c135840f6442b7e0a96a231d771fde.jpg","text":"TemporaryFile(/tmp/multipartBody2614578315906354327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821143787,"filename":"image_09122025_00_43_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20b8bca8e9f696d5ab21eec607e9805f.jpg","text":"TemporaryFile(/tmp/multipartBody6751776464259322666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821143787,"filename":"image_09122025_00_44_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/12/27/bf5fe0685b65d9d9561462f5bc30cbd1.jpg","text":"TemporaryFile(/tmp/multipartBody3750453048876916080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821143787,"filename":"image_09122025_00_43_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/12/27/268b1d7d221880c3d01219ee2c98c785.jpg","text":"TemporaryFile(/tmp/multipartBody2338423166391506778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821143787,"filename":"image_09122025_00_43_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d247248097c94d89145bc3c0f38ed8a9.jpg","text":"TemporaryFile(/tmp/multipartBody7027142063637697008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821143787,"filename":"image_09122025_00_44_44_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234116","file1":"1401234115","file0":"1401234111","file4":"1401234120","file5":"1401234123","file3":"1401234118"},"map_files_photo_id_array":[{"photo_id":"1401234123","filename":"file5"},{"photo_id":"1401234116","filename":"file2"},{"photo_id":"1401234120","filename":"file4"},{"photo_id":"1401234115","filename":"file1"},{"photo_id":"1401234111","filename":"file0"},{"photo_id":"1401234118","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234116":["hashtag1","hashtag2"]},{"1401234118":["hashtag1","hashtag2"]},{"1401234115":["hashtag1","hashtag2"]},{"1401234120":["hashtag1","hashtag2"]},{"1401234123":["hashtag1","hashtag2"]},{"1401234111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234116, 1401234118, 1401234115, 1401234120, 1401234123, 1401234111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10820722579956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:38:47.447344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/42/image_09122025_00_43_05_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_55_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_35_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_14_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_25_10641.jpg', '/home/nano/Desktop/images/09122025/00/42/image_09122025_00_43_05_9650.jpg', '/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_55_10645.jpg', '/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_35_10643.jpg', '/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_24_9633.jpg', '/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/43/image_09122025_00_43_25_10641.jpg
/home/nano/Desktop/images/09122025/00/42/image_09122025_00_43_05_9650.jpg
/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_55_10645.jpg
/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_35_10643.jpg
/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_24_9633.jpg
/home/nano/Desktop/images/09122025/00/42/image_09122025_00_42_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":["1401234131","1401234134","1401234136","1401234133","1401234138","1401234132"],"photo_ids_order":["1401234131","1401234132","1401234133","1401234134","1401234136","1401234138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7901dd61714c8b54b9230337397f9505.jpg","text":"TemporaryFile(/tmp/multipartBody7591887518727624597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821188215,"filename":"image_09122025_00_43_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca3d73274a3e99f1906dcdb872c2a8ce.jpg","text":"TemporaryFile(/tmp/multipartBody6365184540518597740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821188215,"filename":"image_09122025_00_42_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9b947adf54e0e5b61967221816b430d.jpg","text":"TemporaryFile(/tmp/multipartBody5085930388454714246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821188215,"filename":"image_09122025_00_42_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/12/27/352489f0f3a3d0e050eef01335670263.jpg","text":"TemporaryFile(/tmp/multipartBody1636510431146866981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821188215,"filename":"image_09122025_00_42_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8524643e64a10c6a824111bc2a5372c2.jpg","text":"TemporaryFile(/tmp/multipartBody704970867308889848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821188215,"filename":"image_09122025_00_42_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/12/27/4ad1d8b036df79b5b2f3cadfc0b0d559.jpg","text":"TemporaryFile(/tmp/multipartBody894053840055440313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821188215,"filename":"image_09122025_00_43_05_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234133","file1":"1401234132","file0":"1401234131","file4":"1401234136","file5":"1401234138","file3":"1401234134"},"map_files_photo_id_array":[{"photo_id":"1401234138","filename":"file5"},{"photo_id":"1401234133","filename":"file2"},{"photo_id":"1401234136","filename":"file4"},{"photo_id":"1401234132","filename":"file1"},{"photo_id":"1401234131","filename":"file0"},{"photo_id":"1401234134","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234131":["hashtag1","hashtag2"]},{"1401234134":["hashtag1","hashtag2"]},{"1401234136":["hashtag1","hashtag2"]},{"1401234133":["hashtag1","hashtag2"]},{"1401234138":["hashtag1","hashtag2"]},{"1401234132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234131, 1401234134, 1401234136, 1401234133, 1401234138, 1401234132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78325366973877 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:39:32.540806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/41/image_09122025_00_42_05_10663.jpg', 2), ('/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_54_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_45_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_35_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_24_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_15_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/41/image_09122025_00_42_05_10663.jpg', '/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_54_9636.jpg', '/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_45_9635.jpg', '/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_35_10641.jpg', '/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_24_9650.jpg', '/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/41/image_09122025_00_42_05_10663.jpg
/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_54_9636.jpg
/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_45_9635.jpg
/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_35_10641.jpg
/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_24_9650.jpg
/home/nano/Desktop/images/09122025/00/41/image_09122025_00_41_15_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":["1401234158","1401234155","1401234181","1401234184","1401234157","1401234186"],"photo_ids_order":["1401234155","1401234157","1401234158","1401234181","1401234184","1401234186"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/611c722558d742f1e6b3b4b2b57c8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody695749339643264405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821233315,"filename":"image_09122025_00_41_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2891b6fe9d96e66959e9d35fbfb61d32.jpg","text":"TemporaryFile(/tmp/multipartBody5424163973434585626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821233315,"filename":"image_09122025_00_42_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f90a51ef0167b0eb8d3ead299e41f5d.jpg","text":"TemporaryFile(/tmp/multipartBody790467773380949630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821233315,"filename":"image_09122025_00_41_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d75eb5971f54663878cad4b8da9840c.jpg","text":"TemporaryFile(/tmp/multipartBody806183359219991731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821233315,"filename":"image_09122025_00_41_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/12/27/49cb59253c98a7ae7092df8b483fdc31.jpg","text":"TemporaryFile(/tmp/multipartBody4706935453803962773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821233315,"filename":"image_09122025_00_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/12/27/9d42a2458efc7654b41d925675d88779.jpg","text":"TemporaryFile(/tmp/multipartBody2322106341755612810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821233315,"filename":"image_09122025_00_41_15_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234158","file1":"1401234157","file0":"1401234155","file4":"1401234184","file5":"1401234186","file3":"1401234181"},"map_files_photo_id_array":[{"photo_id":"1401234186","filename":"file5"},{"photo_id":"1401234158","filename":"file2"},{"photo_id":"1401234184","filename":"file4"},{"photo_id":"1401234157","filename":"file1"},{"photo_id":"1401234155","filename":"file0"},{"photo_id":"1401234181","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234158":["hashtag1","hashtag2"]},{"1401234155":["hashtag1","hashtag2"]},{"1401234181":["hashtag1","hashtag2"]},{"1401234184":["hashtag1","hashtag2"]},{"1401234157":["hashtag1","hashtag2"]},{"1401234186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234158, 1401234155, 1401234181, 1401234184, 1401234157, 1401234186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.868918657302856 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:40:17.698710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/40/image_09122025_00_41_05_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_45_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_15_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_40_04_9664.jpg', 2), ('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_54_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_45_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/40/image_09122025_00_41_05_10657.jpg', '/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_45_9639.jpg', '/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_15_10662.jpg', '/home/nano/Desktop/images/09122025/00/39/image_09122025_00_40_04_9664.jpg', '/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_54_9629.jpg', '/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_45_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/40/image_09122025_00_41_05_10657.jpg
/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_45_9639.jpg
/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_15_10662.jpg
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_40_04_9664.jpg
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_54_9629.jpg
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_45_10645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6604146957397461 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:40:32.704316
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/40/image_09122025_00_41_05_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_45_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_15_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_40_04_9664.jpg', 2), ('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_54_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_45_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/40/image_09122025_00_41_05_10657.jpg', '/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_45_9639.jpg', '/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_15_10662.jpg', '/home/nano/Desktop/images/09122025/00/39/image_09122025_00_40_04_9664.jpg', '/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_54_9629.jpg', '/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_45_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/40/image_09122025_00_41_05_10657.jpg
/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_45_9639.jpg
/home/nano/Desktop/images/09122025/00/40/image_09122025_00_40_15_10662.jpg
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_40_04_9664.jpg
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_54_9629.jpg
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_45_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":["1401234289","1401234322","1401234331","1401234198","1401234255","1401234222"],"photo_ids_order":["1401234198","1401234222","1401234255","1401234289","1401234322","1401234331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a99324f03ea94ff9e86cf2939e353e74.jpg","text":"TemporaryFile(/tmp/multipartBody2463179631083602750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821293450,"filename":"image_09122025_00_40_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/12/27/e5f24e02e7437c5b46e40449f0fb3b18.jpg","text":"TemporaryFile(/tmp/multipartBody9118258231673090944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821293450,"filename":"image_09122025_00_39_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/12/27/f9108b3aeda78fcf41d15982a9b384ec.jpg","text":"TemporaryFile(/tmp/multipartBody6131770378949606430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821293450,"filename":"image_09122025_00_39_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0dc0d03b61553419232c2d88992bfbf0.jpg","text":"TemporaryFile(/tmp/multipartBody8709896236997327289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821293450,"filename":"image_09122025_00_41_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a82c6b528a17221acedb7729e37e609.jpg","text":"TemporaryFile(/tmp/multipartBody7744672306412718146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821293450,"filename":"image_09122025_00_40_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31380292aa710a97f7f9c533c8c659ee.jpg","text":"TemporaryFile(/tmp/multipartBody5938722758328970182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821293450,"filename":"image_09122025_00_40_45_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234255","file1":"1401234222","file0":"1401234198","file4":"1401234322","file5":"1401234331","file3":"1401234289"},"map_files_photo_id_array":[{"photo_id":"1401234331","filename":"file5"},{"photo_id":"1401234255","filename":"file2"},{"photo_id":"1401234322","filename":"file4"},{"photo_id":"1401234222","filename":"file1"},{"photo_id":"1401234198","filename":"file0"},{"photo_id":"1401234289","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234289":["hashtag1","hashtag2"]},{"1401234322":["hashtag1","hashtag2"]},{"1401234331":["hashtag1","hashtag2"]},{"1401234198":["hashtag1","hashtag2"]},{"1401234255":["hashtag1","hashtag2"]},{"1401234222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234289, 1401234322, 1401234331, 1401234198, 1401234255, 1401234222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31074261665344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:41:16.778804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/00/38/image_09122025_00_39_04_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_34_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_25_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_15_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_34_9633.jpg', '/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_15_10657.jpg', '/home/nano/Desktop/images/09122025/00/38/image_09122025_00_39_04_9637.jpg', '/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_34_9632.jpg', '/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_25_9631.jpg', '/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_15_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_34_9633.jpg
/home/nano/Desktop/images/09122025/00/39/image_09122025_00_39_15_10657.jpg
/home/nano/Desktop/images/09122025/00/38/image_09122025_00_39_04_9637.jpg
/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_34_9632.jpg
/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_25_9631.jpg
/home/nano/Desktop/images/09122025/00/38/image_09122025_00_38_15_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":["1401234464","1401234568","1401234502","1401234537","1401234432","1401234603"],"photo_ids_order":["1401234432","1401234464","1401234502","1401234537","1401234568","1401234603"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf386d29c564eec9d96c60941f628f44.jpg","text":"TemporaryFile(/tmp/multipartBody8599767007642711533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821337524,"filename":"image_09122025_00_39_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5ee999c8ff344f2c89d88fd3ece6afd.jpg","text":"TemporaryFile(/tmp/multipartBody1244491710990724478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821337524,"filename":"image_09122025_00_38_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/465e593b54a9e1e51b5ca9fd2fb60974.jpg","text":"TemporaryFile(/tmp/multipartBody4555903851700024453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821337524,"filename":"image_09122025_00_39_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/12/27/6cead56d14ea32192c3b6ba77b91d416.jpg","text":"TemporaryFile(/tmp/multipartBody1235589512730035782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821337524,"filename":"image_09122025_00_38_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/12/27/fb061d38e3052c1779caae19c69644bb.jpg","text":"TemporaryFile(/tmp/multipartBody6872994731098885963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821337524,"filename":"image_09122025_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/12/27/c4044dce7e389945d1744c934eac24e8.jpg","text":"TemporaryFile(/tmp/multipartBody628384910830009889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821337524,"filename":"image_09122025_00_38_15_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234502","file1":"1401234464","file0":"1401234432","file4":"1401234568","file5":"1401234603","file3":"1401234537"},"map_files_photo_id_array":[{"photo_id":"1401234603","filename":"file5"},{"photo_id":"1401234502","filename":"file2"},{"photo_id":"1401234568","filename":"file4"},{"photo_id":"1401234464","filename":"file1"},{"photo_id":"1401234432","filename":"file0"},{"photo_id":"1401234537","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234464":["hashtag1","hashtag2"]},{"1401234568":["hashtag1","hashtag2"]},{"1401234502":["hashtag1","hashtag2"]},{"1401234537":["hashtag1","hashtag2"]},{"1401234432":["hashtag1","hashtag2"]},{"1401234603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234464, 1401234568, 1401234502, 1401234537, 1401234432, 1401234603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6141722202301 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:42:02.392220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/37/image_09122025_00_38_04_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_14_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/36/image_09122025_00_37_05_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/37/image_09122025_00_38_04_9635.jpg', '/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_55_10641.jpg', '/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_34_9633.jpg', '/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_25_10643.jpg', '/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_14_9639.jpg', '/home/nano/Desktop/images/09122025/00/36/image_09122025_00_37_05_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/37/image_09122025_00_38_04_9635.jpg
/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_55_10641.jpg
/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_34_9633.jpg
/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_25_10643.jpg
/home/nano/Desktop/images/09122025/00/37/image_09122025_00_37_14_9639.jpg
/home/nano/Desktop/images/09122025/00/36/image_09122025_00_37_05_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":["1401234701","1401234676","1401234685","1401234673","1401234683","1401234671"],"photo_ids_order":["1401234671","1401234673","1401234676","1401234683","1401234685","1401234701"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d6ec248bc728a6ca0114f660027eab5.jpg","text":"TemporaryFile(/tmp/multipartBody2775452820117094555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821383165,"filename":"image_09122025_00_37_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58398028761fea4b0b374efed4b1d239.jpg","text":"TemporaryFile(/tmp/multipartBody5138903427215281249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821383165,"filename":"image_09122025_00_37_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/12/27/325f59e0720b2a52f339c41d7735bd24.jpg","text":"TemporaryFile(/tmp/multipartBody1570194228456029620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821383165,"filename":"image_09122025_00_37_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/12/27/3f8bd1ff545e442d0809b24b6c7bda78.jpg","text":"TemporaryFile(/tmp/multipartBody2144477979769259049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821383165,"filename":"image_09122025_00_37_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76d4a6036c75daa86948babc27b4f51d.jpg","text":"TemporaryFile(/tmp/multipartBody5321613341160271386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821383165,"filename":"image_09122025_00_37_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e408ad45d289bca59a385c463ad1f59b.jpg","text":"TemporaryFile(/tmp/multipartBody7657242899147806445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821383165,"filename":"image_09122025_00_38_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234676","file1":"1401234673","file0":"1401234671","file4":"1401234685","file5":"1401234701","file3":"1401234683"},"map_files_photo_id_array":[{"photo_id":"1401234701","filename":"file5"},{"photo_id":"1401234676","filename":"file2"},{"photo_id":"1401234685","filename":"file4"},{"photo_id":"1401234673","filename":"file1"},{"photo_id":"1401234671","filename":"file0"},{"photo_id":"1401234683","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234701":["hashtag1","hashtag2"]},{"1401234676":["hashtag1","hashtag2"]},{"1401234685":["hashtag1","hashtag2"]},{"1401234673":["hashtag1","hashtag2"]},{"1401234683":["hashtag1","hashtag2"]},{"1401234671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234701, 1401234676, 1401234685, 1401234673, 1401234683, 1401234671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24970459938049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:42:46.912222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_44_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_35_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_14_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_55_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_44_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_44_9630.jpg', '/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_35_9633.jpg', '/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_25_10642.jpg', '/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_14_9656.jpg', '/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_55_10641.jpg', '/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_44_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_44_9630.jpg
/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_35_9633.jpg
/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_25_10642.jpg
/home/nano/Desktop/images/09122025/00/36/image_09122025_00_36_14_9656.jpg
/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_55_10641.jpg
/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_44_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":["1401234716","1401234710","1401234713","1401234712","1401234711","1401234714"],"photo_ids_order":["1401234710","1401234711","1401234712","1401234713","1401234714","1401234716"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/718f5b59ff00652f7e40cdaf1d57d31b.jpg","text":"TemporaryFile(/tmp/multipartBody7483889169607993472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821427682,"filename":"image_09122025_00_35_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/12/27/4ba406572a649c9b425c9f35d63b95dd.jpg","text":"TemporaryFile(/tmp/multipartBody6022148798517808058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821427682,"filename":"image_09122025_00_36_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/12/27/f63eec8c856fc6360ef08d440ad1e94a.jpg","text":"TemporaryFile(/tmp/multipartBody8909635674282132037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821427682,"filename":"image_09122025_00_36_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/12/27/74b3fedc7e82a8152ec5040d61324dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5616313467975261460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821427682,"filename":"image_09122025_00_36_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1a00a651456365cd81d91b0ab71deaf.jpg","text":"TemporaryFile(/tmp/multipartBody3073224721656003111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821427682,"filename":"image_09122025_00_36_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f984e53a43b753b564239f209214aaa.jpg","text":"TemporaryFile(/tmp/multipartBody9037723018496469873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821427682,"filename":"image_09122025_00_35_55_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234712","file1":"1401234711","file0":"1401234710","file4":"1401234714","file5":"1401234716","file3":"1401234713"},"map_files_photo_id_array":[{"photo_id":"1401234716","filename":"file5"},{"photo_id":"1401234712","filename":"file2"},{"photo_id":"1401234714","filename":"file4"},{"photo_id":"1401234711","filename":"file1"},{"photo_id":"1401234710","filename":"file0"},{"photo_id":"1401234713","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234716":["hashtag1","hashtag2"]},{"1401234710":["hashtag1","hashtag2"]},{"1401234713":["hashtag1","hashtag2"]},{"1401234712":["hashtag1","hashtag2"]},{"1401234711":["hashtag1","hashtag2"]},{"1401234714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234716, 1401234710, 1401234713, 1401234712, 1401234711, 1401234714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.236743450164795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:43:31.984659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_35_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_24_9632.jpg', 2), ('/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_14_9646.jpg', 2), ('/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_35_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_24_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_15_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_35_10658.jpg', '/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_24_9632.jpg', '/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_14_9646.jpg', '/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_35_10641.jpg', '/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_24_9629.jpg', '/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_15_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_35_10658.jpg
/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_24_9632.jpg
/home/nano/Desktop/images/09122025/00/35/image_09122025_00_35_14_9646.jpg
/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_35_10641.jpg
/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_24_9629.jpg
/home/nano/Desktop/images/09122025/00/34/image_09122025_00_34_15_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":["1401234932","1401234931","1401234891","1401234882","1401234893","1401234899"],"photo_ids_order":["1401234882","1401234891","1401234893","1401234899","1401234931","1401234932"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c444271c0afeeb564ef654950363771.jpg","text":"TemporaryFile(/tmp/multipartBody2183140631767661554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821472755,"filename":"image_09122025_00_34_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a765c9f4ce56fa8bbd46b1796743f721.jpg","text":"TemporaryFile(/tmp/multipartBody7365875140231512774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821472755,"filename":"image_09122025_00_34_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/12/27/c50c174491b19662ba5dded4c9bd5a04.jpg","text":"TemporaryFile(/tmp/multipartBody3424741229029851148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821472755,"filename":"image_09122025_00_35_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/12/27/c553b329ddc2a2de8fd299aae574dced.jpg","text":"TemporaryFile(/tmp/multipartBody6220067348096463999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821472755,"filename":"image_09122025_00_35_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b45db5859cdd1e9d26b94dfffc31a9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7475979741630348910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821472755,"filename":"image_09122025_00_35_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/12/27/b98518f701c304b446e437b4adfd3dfb.jpg","text":"TemporaryFile(/tmp/multipartBody8208689015710575014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821472755,"filename":"image_09122025_00_34_35_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234893","file1":"1401234891","file0":"1401234882","file4":"1401234931","file5":"1401234932","file3":"1401234899"},"map_files_photo_id_array":[{"photo_id":"1401234932","filename":"file5"},{"photo_id":"1401234893","filename":"file2"},{"photo_id":"1401234931","filename":"file4"},{"photo_id":"1401234891","filename":"file1"},{"photo_id":"1401234882","filename":"file0"},{"photo_id":"1401234899","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401234932":["hashtag1","hashtag2"]},{"1401234931":["hashtag1","hashtag2"]},{"1401234891":["hashtag1","hashtag2"]},{"1401234882":["hashtag1","hashtag2"]},{"1401234893":["hashtag1","hashtag2"]},{"1401234899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401234932, 1401234931, 1401234891, 1401234882, 1401234893, 1401234899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.425697326660156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:44:17.132059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/33/image_09122025_00_34_05_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_45_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_35_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_15_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/00/32/image_09122025_00_33_04_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/33/image_09122025_00_34_05_10646.jpg', '/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_54_9635.jpg', '/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_45_9634.jpg', '/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_35_10641.jpg', '/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_15_10659.jpg', '/home/nano/Desktop/images/09122025/00/32/image_09122025_00_33_04_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/33/image_09122025_00_34_05_10646.jpg
/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_54_9635.jpg
/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_45_9634.jpg
/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_35_10641.jpg
/home/nano/Desktop/images/09122025/00/33/image_09122025_00_33_15_10659.jpg
/home/nano/Desktop/images/09122025/00/32/image_09122025_00_33_04_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":["1401235040","1401234971","1401235057","1401234969","1401235008","1401234974"],"photo_ids_order":["1401234969","1401234971","1401234974","1401235008","1401235040","1401235057"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a457f79d54772da74040f456380536e0.jpg","text":"TemporaryFile(/tmp/multipartBody3199956300178132069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821517890,"filename":"image_09122025_00_33_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f62574ca994b1878d1eea971673f8f7.jpg","text":"TemporaryFile(/tmp/multipartBody1428354755896346536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821517890,"filename":"image_09122025_00_33_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/12/27/3756d06610b587533c5a7d64157329c3.jpg","text":"TemporaryFile(/tmp/multipartBody3891033654270955210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821517890,"filename":"image_09122025_00_33_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/12/27/4c88aea5161f26fbe90cbf506dcc7b67.jpg","text":"TemporaryFile(/tmp/multipartBody4544512638628745087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821517890,"filename":"image_09122025_00_34_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/63002d9e989a4d2adcd53a00fa034594.jpg","text":"TemporaryFile(/tmp/multipartBody7597827531102761162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821517890,"filename":"image_09122025_00_33_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89ae1f96fe06aed226ed97974d08b34e.jpg","text":"TemporaryFile(/tmp/multipartBody418811817848971152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821517890,"filename":"image_09122025_00_33_45_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401234974","file1":"1401234971","file0":"1401234969","file4":"1401235040","file5":"1401235057","file3":"1401235008"},"map_files_photo_id_array":[{"photo_id":"1401235057","filename":"file5"},{"photo_id":"1401234974","filename":"file2"},{"photo_id":"1401235040","filename":"file4"},{"photo_id":"1401234971","filename":"file1"},{"photo_id":"1401234969","filename":"file0"},{"photo_id":"1401235008","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235040":["hashtag1","hashtag2"]},{"1401234971":["hashtag1","hashtag2"]},{"1401235057":["hashtag1","hashtag2"]},{"1401234969":["hashtag1","hashtag2"]},{"1401235008":["hashtag1","hashtag2"]},{"1401234974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235040, 1401234971, 1401235057, 1401234969, 1401235008, 1401234974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46483325958252 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:45:02.980449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_45_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_34_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_25_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_15_10680.jpg', 2), ('/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_55_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_54_9633.jpg', '/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_45_10658.jpg', '/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_34_9648.jpg', '/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_25_9649.jpg', '/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_15_10680.jpg', '/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_54_9633.jpg
/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_45_10658.jpg
/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_34_9648.jpg
/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_25_9649.jpg
/home/nano/Desktop/images/09122025/00/32/image_09122025_00_32_15_10680.jpg
/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_55_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":["1401235072","1401235066","1401235078","1401235083","1401235080","1401235064"],"photo_ids_order":["1401235064","1401235066","1401235072","1401235078","1401235080","1401235083"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/039f88ad3a03dc6a24b0d8a8e1a97f15.jpg","text":"TemporaryFile(/tmp/multipartBody6796527279557076620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821563759,"filename":"image_09122025_00_32_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/12/27/02003bf506bb3bebb5d73843ac065ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1167415338447137011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821563759,"filename":"image_09122025_00_32_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef29396e5a69756a6866f1b245e8bc42.jpg","text":"TemporaryFile(/tmp/multipartBody8988522034678345646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821563759,"filename":"image_09122025_00_32_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/175c76588bef6a4e6f8a54a947621367.jpg","text":"TemporaryFile(/tmp/multipartBody4261007506598876369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821563759,"filename":"image_09122025_00_31_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b92c1a7492f2d0f7a9c5d22e853a3239.jpg","text":"TemporaryFile(/tmp/multipartBody3498633479443907826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821563759,"filename":"image_09122025_00_32_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/215d238ef57090538349d9ed9d791fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8026463364818000586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821563759,"filename":"image_09122025_00_32_54_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235072","file1":"1401235066","file0":"1401235064","file4":"1401235080","file5":"1401235083","file3":"1401235078"},"map_files_photo_id_array":[{"photo_id":"1401235083","filename":"file5"},{"photo_id":"1401235072","filename":"file2"},{"photo_id":"1401235080","filename":"file4"},{"photo_id":"1401235066","filename":"file1"},{"photo_id":"1401235064","filename":"file0"},{"photo_id":"1401235078","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235072":["hashtag1","hashtag2"]},{"1401235066":["hashtag1","hashtag2"]},{"1401235078":["hashtag1","hashtag2"]},{"1401235083":["hashtag1","hashtag2"]},{"1401235080":["hashtag1","hashtag2"]},{"1401235064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235072, 1401235066, 1401235078, 1401235083, 1401235080, 1401235064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14266109466553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:45:47.236946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_45_10664.jpg', 2), ('/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_34_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/00/30/image_09122025_00_31_04_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/00/30/image_09122025_00_30_55_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_55_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_45_10664.jpg', '/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_34_9630.jpg', '/home/nano/Desktop/images/09122025/00/30/image_09122025_00_31_04_9654.jpg', '/home/nano/Desktop/images/09122025/00/30/image_09122025_00_30_55_9652.jpg', '/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_55_10658.jpg', '/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_45_10664.jpg
/home/nano/Desktop/images/09122025/00/31/image_09122025_00_31_34_9630.jpg
/home/nano/Desktop/images/09122025/00/30/image_09122025_00_31_04_9654.jpg
/home/nano/Desktop/images/09122025/00/30/image_09122025_00_30_55_9652.jpg
/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_55_10658.jpg
/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_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":["1401235226","1401235228","1401235231","1401235225","1401235230","1401235227"],"photo_ids_order":["1401235225","1401235226","1401235227","1401235228","1401235230","1401235231"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77377767f5ca9d7701d35cd18bba9a88.jpg","text":"TemporaryFile(/tmp/multipartBody8470535242178189198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821607996,"filename":"image_09122025_00_31_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/12/27/1721ceab05b51246a35a1fba7021b100.jpg","text":"TemporaryFile(/tmp/multipartBody5925739885435913727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821607996,"filename":"image_09122025_00_30_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c324efe23a3878692030a63cc33a407.jpg","text":"TemporaryFile(/tmp/multipartBody1992029886394501114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821607996,"filename":"image_09122025_00_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/12/27/649d27b8043964eed51bbaf27b855737.jpg","text":"TemporaryFile(/tmp/multipartBody6082186390796860323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821607996,"filename":"image_09122025_00_31_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9986a80282d3437e6bc2255bf9cdb433.jpg","text":"TemporaryFile(/tmp/multipartBody1485628574865773732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821607996,"filename":"image_09122025_00_29_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4dcb6d832bb806d694937412d045a7e.jpg","text":"TemporaryFile(/tmp/multipartBody6912686671654271403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821607996,"filename":"image_09122025_00_31_04_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235227","file1":"1401235226","file0":"1401235225","file4":"1401235230","file5":"1401235231","file3":"1401235228"},"map_files_photo_id_array":[{"photo_id":"1401235231","filename":"file5"},{"photo_id":"1401235227","filename":"file2"},{"photo_id":"1401235230","filename":"file4"},{"photo_id":"1401235226","filename":"file1"},{"photo_id":"1401235225","filename":"file0"},{"photo_id":"1401235228","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235226":["hashtag1","hashtag2"]},{"1401235228":["hashtag1","hashtag2"]},{"1401235231":["hashtag1","hashtag2"]},{"1401235225":["hashtag1","hashtag2"]},{"1401235230":["hashtag1","hashtag2"]},{"1401235227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235226, 1401235228, 1401235231, 1401235225, 1401235230, 1401235227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11705732345581 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:46:32.436901
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_25_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_14_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/00/28/image_09122025_00_29_05_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_55_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_35_9634.jpg', '/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_25_10643.jpg', '/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_14_9652.jpg', '/home/nano/Desktop/images/09122025/00/28/image_09122025_00_29_05_9642.jpg', '/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_55_10642.jpg', '/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_35_9634.jpg
/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_25_10643.jpg
/home/nano/Desktop/images/09122025/00/29/image_09122025_00_29_14_9652.jpg
/home/nano/Desktop/images/09122025/00/28/image_09122025_00_29_05_9642.jpg
/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_55_10642.jpg
/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_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":["1401235247","1401235246","1401235240","1401235242","1401235248","1401235244"],"photo_ids_order":["1401235240","1401235242","1401235244","1401235246","1401235247","1401235248"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c1b51fab4065f1e8996a76fd1f0e07b.jpg","text":"TemporaryFile(/tmp/multipartBody6869056123763977199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821653227,"filename":"image_09122025_00_28_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7826da0f821d932c74c731569d66bf4f.jpg","text":"TemporaryFile(/tmp/multipartBody3736639777142060219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821653227,"filename":"image_09122025_00_29_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/024dae295f4cede92d2a2a43122fa337.jpg","text":"TemporaryFile(/tmp/multipartBody7221500865676439515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821653227,"filename":"image_09122025_00_29_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ec79c5166e54d2e7190461f44394733.jpg","text":"TemporaryFile(/tmp/multipartBody1832798217865913644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821653227,"filename":"image_09122025_00_29_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/069cf7bb94fb0b9220d2d59b14a2fe70.jpg","text":"TemporaryFile(/tmp/multipartBody9130254589501337859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821653227,"filename":"image_09122025_00_28_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/12/27/d3e36d28cd7b47195323630b331f5be9.jpg","text":"TemporaryFile(/tmp/multipartBody6553092323091926638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821653227,"filename":"image_09122025_00_29_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235244","file1":"1401235242","file0":"1401235240","file4":"1401235247","file5":"1401235248","file3":"1401235246"},"map_files_photo_id_array":[{"photo_id":"1401235248","filename":"file5"},{"photo_id":"1401235244","filename":"file2"},{"photo_id":"1401235247","filename":"file4"},{"photo_id":"1401235242","filename":"file1"},{"photo_id":"1401235240","filename":"file0"},{"photo_id":"1401235246","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235247":["hashtag1","hashtag2"]},{"1401235246":["hashtag1","hashtag2"]},{"1401235240":["hashtag1","hashtag2"]},{"1401235242":["hashtag1","hashtag2"]},{"1401235248":["hashtag1","hashtag2"]},{"1401235244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235247, 1401235246, 1401235240, 1401235242, 1401235248, 1401235244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79579186439514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:47:17.458273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_35_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_14_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/27/image_09122025_00_28_05_10651.jpg', 2), ('/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_54_9656.jpg', 2), ('/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_35_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_35_9635.jpg', '/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_25_10642.jpg', '/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_14_9642.jpg', '/home/nano/Desktop/images/09122025/00/27/image_09122025_00_28_05_10651.jpg', '/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_54_9656.jpg', '/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_35_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_35_9635.jpg
/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_25_10642.jpg
/home/nano/Desktop/images/09122025/00/28/image_09122025_00_28_14_9642.jpg
/home/nano/Desktop/images/09122025/00/27/image_09122025_00_28_05_10651.jpg
/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_54_9656.jpg
/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_35_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":["1401235264","1401235258","1401235255","1401235260","1401235253","1401235262"],"photo_ids_order":["1401235253","1401235255","1401235258","1401235260","1401235262","1401235264"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/571fd0b457419da14a185d5770154b7f.jpg","text":"TemporaryFile(/tmp/multipartBody9052950061978160144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821698238,"filename":"image_09122025_00_27_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57e44e119d7bc36a2f748b51fca498ce.jpg","text":"TemporaryFile(/tmp/multipartBody3238550626685819837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821698238,"filename":"image_09122025_00_28_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/12/27/9c362963a71d295e7e9326481af80ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4451924803371582415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821698238,"filename":"image_09122025_00_28_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/504c1fdba8cb2f3d721203b1c2d83d59.jpg","text":"TemporaryFile(/tmp/multipartBody5669736451985015887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821698238,"filename":"image_09122025_00_28_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e722002e09d8e7d952e07d0d660d599.jpg","text":"TemporaryFile(/tmp/multipartBody8309204984867804505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821698238,"filename":"image_09122025_00_28_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/887eabb7248d900d202c2ad38c18ab86.jpg","text":"TemporaryFile(/tmp/multipartBody6499508285919922200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821698238,"filename":"image_09122025_00_27_54_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235258","file1":"1401235255","file0":"1401235253","file4":"1401235262","file5":"1401235264","file3":"1401235260"},"map_files_photo_id_array":[{"photo_id":"1401235264","filename":"file5"},{"photo_id":"1401235258","filename":"file2"},{"photo_id":"1401235262","filename":"file4"},{"photo_id":"1401235255","filename":"file1"},{"photo_id":"1401235253","filename":"file0"},{"photo_id":"1401235260","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235264":["hashtag1","hashtag2"]},{"1401235258":["hashtag1","hashtag2"]},{"1401235255":["hashtag1","hashtag2"]},{"1401235260":["hashtag1","hashtag2"]},{"1401235253":["hashtag1","hashtag2"]},{"1401235262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235264, 1401235258, 1401235255, 1401235260, 1401235253, 1401235262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.869201183319092 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:48:03.171591
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_15_9638.jpg', 2), ('/home/nano/Desktop/images/09122025/00/26/image_09122025_00_26_54_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/26/image_09122025_00_26_45_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/25/image_09122025_00_26_05_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/00/25/image_09122025_00_25_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_24_9635.jpg', '/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_15_9638.jpg', '/home/nano/Desktop/images/09122025/00/26/image_09122025_00_26_54_9634.jpg', '/home/nano/Desktop/images/09122025/00/26/image_09122025_00_26_45_9640.jpg', '/home/nano/Desktop/images/09122025/00/25/image_09122025_00_26_05_10665.jpg', '/home/nano/Desktop/images/09122025/00/25/image_09122025_00_25_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_24_9635.jpg
/home/nano/Desktop/images/09122025/00/27/image_09122025_00_27_15_9638.jpg
/home/nano/Desktop/images/09122025/00/26/image_09122025_00_26_54_9634.jpg
/home/nano/Desktop/images/09122025/00/26/image_09122025_00_26_45_9640.jpg
/home/nano/Desktop/images/09122025/00/25/image_09122025_00_26_05_10665.jpg
/home/nano/Desktop/images/09122025/00/25/image_09122025_00_25_54_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":["1401235276","1401235281","1401235278","1401235272","1401235271","1401235274"],"photo_ids_order":["1401235271","1401235272","1401235274","1401235276","1401235278","1401235281"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa48ad2c2c786644e58135d19cfe6bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8982382226584034140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821743933,"filename":"image_09122025_00_26_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e93236a10d702cc319498d9a11942c7c.jpg","text":"TemporaryFile(/tmp/multipartBody683803755918052547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821743933,"filename":"image_09122025_00_25_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/12/27/d9759153184952f4a93358a8bc4c0a50.jpg","text":"TemporaryFile(/tmp/multipartBody6620760720581668324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821743933,"filename":"image_09122025_00_26_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2718f15378864a63fadffa91a383f9d0.jpg","text":"TemporaryFile(/tmp/multipartBody468211711444006643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821743933,"filename":"image_09122025_00_27_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e90d826dc687475c2f5650986fe190d.jpg","text":"TemporaryFile(/tmp/multipartBody5183561722874382779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821743933,"filename":"image_09122025_00_27_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/12/27/202923ab064ea558ab5dbc2ed538cb40.jpg","text":"TemporaryFile(/tmp/multipartBody5695444409742003615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821743933,"filename":"image_09122025_00_26_54_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235274","file1":"1401235272","file0":"1401235271","file4":"1401235278","file5":"1401235281","file3":"1401235276"},"map_files_photo_id_array":[{"photo_id":"1401235281","filename":"file5"},{"photo_id":"1401235274","filename":"file2"},{"photo_id":"1401235278","filename":"file4"},{"photo_id":"1401235272","filename":"file1"},{"photo_id":"1401235271","filename":"file0"},{"photo_id":"1401235276","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235276":["hashtag1","hashtag2"]},{"1401235281":["hashtag1","hashtag2"]},{"1401235278":["hashtag1","hashtag2"]},{"1401235272":["hashtag1","hashtag2"]},{"1401235271":["hashtag1","hashtag2"]},{"1401235274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235276, 1401235281, 1401235278, 1401235272, 1401235271, 1401235274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02981424331665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:48:47.545476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/25/image_09122025_00_25_15_10665.jpg', 2), ('/home/nano/Desktop/images/09122025/00/24/image_09122025_00_25_04_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_54_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_34_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_25_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/25/image_09122025_00_25_15_10665.jpg', '/home/nano/Desktop/images/09122025/00/24/image_09122025_00_25_04_9651.jpg', '/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_54_9636.jpg', '/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_45_10646.jpg', '/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_34_9650.jpg', '/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_25_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/25/image_09122025_00_25_15_10665.jpg
/home/nano/Desktop/images/09122025/00/24/image_09122025_00_25_04_9651.jpg
/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_54_9636.jpg
/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_45_10646.jpg
/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_34_9650.jpg
/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_25_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":["1401235294","1401235291","1401235296","1401235290","1401235292","1401235289"],"photo_ids_order":["1401235289","1401235290","1401235291","1401235292","1401235294","1401235296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/657bbf7e5830b8b5395aed4ebec64f65.jpg","text":"TemporaryFile(/tmp/multipartBody8997733176836862624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821788298,"filename":"image_09122025_00_24_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/12/27/b7908aeef66430a3a8db39c8db6dea9d.jpg","text":"TemporaryFile(/tmp/multipartBody7753410443825802994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821788298,"filename":"image_09122025_00_24_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/12/27/c0f7dbbf9f14b701092a9d760f2095f5.jpg","text":"TemporaryFile(/tmp/multipartBody8147242500566673091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821788298,"filename":"image_09122025_00_24_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5c1a3c8c5eb56e8e144bccc2a00701f.jpg","text":"TemporaryFile(/tmp/multipartBody9091101074510844403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821788298,"filename":"image_09122025_00_25_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/12/27/045d7ff00146d79a94bbb3ec5664d2d5.jpg","text":"TemporaryFile(/tmp/multipartBody7769176372673442772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821788298,"filename":"image_09122025_00_24_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0f98c3c2448ab7032f3d90a5e049dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6139505254420646509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821788298,"filename":"image_09122025_00_25_15_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235291","file1":"1401235290","file0":"1401235289","file4":"1401235294","file5":"1401235296","file3":"1401235292"},"map_files_photo_id_array":[{"photo_id":"1401235296","filename":"file5"},{"photo_id":"1401235291","filename":"file2"},{"photo_id":"1401235294","filename":"file4"},{"photo_id":"1401235290","filename":"file1"},{"photo_id":"1401235289","filename":"file0"},{"photo_id":"1401235292","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235294":["hashtag1","hashtag2"]},{"1401235291":["hashtag1","hashtag2"]},{"1401235296":["hashtag1","hashtag2"]},{"1401235290":["hashtag1","hashtag2"]},{"1401235292":["hashtag1","hashtag2"]},{"1401235289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235294, 1401235291, 1401235296, 1401235290, 1401235292, 1401235289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94205832481384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:49:32.650050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_34_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_25_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_45_10648.jpg', 2), ('/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_34_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_15_10661.jpg', '/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_45_10644.jpg', '/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_34_9641.jpg', '/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_25_9634.jpg', '/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_45_10648.jpg', '/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/24/image_09122025_00_24_15_10661.jpg
/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_45_10644.jpg
/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_34_9641.jpg
/home/nano/Desktop/images/09122025/00/23/image_09122025_00_23_25_9634.jpg
/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_45_10648.jpg
/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_34_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":["1401235310","1401235304","1401235313","1401235307","1401235305","1401235314"],"photo_ids_order":["1401235304","1401235305","1401235307","1401235310","1401235313","1401235314"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/004e9a7a7c4ec1d0aaba3340fe994b6b.jpg","text":"TemporaryFile(/tmp/multipartBody5704666010689827731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821833435,"filename":"image_09122025_00_23_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b622bda52b0ab6a39a9daa25d66918b2.jpg","text":"TemporaryFile(/tmp/multipartBody8891517123120980543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821833435,"filename":"image_09122025_00_24_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45d0e0c368bcf47d69b75707decc3130.jpg","text":"TemporaryFile(/tmp/multipartBody2563020209228589694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821833435,"filename":"image_09122025_00_22_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4feae8d46b6b82ccc3e82615151d71ab.jpg","text":"TemporaryFile(/tmp/multipartBody1887027400534252738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821833435,"filename":"image_09122025_00_23_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/12/27/e1994020c328a8ca8cd01d2b4aa40ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4552322877049601174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821833435,"filename":"image_09122025_00_23_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1b0ef91c03dcbe720399d721ba30440.jpg","text":"TemporaryFile(/tmp/multipartBody489809028612860030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821833435,"filename":"image_09122025_00_22_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235307","file1":"1401235305","file0":"1401235304","file4":"1401235313","file5":"1401235314","file3":"1401235310"},"map_files_photo_id_array":[{"photo_id":"1401235314","filename":"file5"},{"photo_id":"1401235307","filename":"file2"},{"photo_id":"1401235313","filename":"file4"},{"photo_id":"1401235305","filename":"file1"},{"photo_id":"1401235304","filename":"file0"},{"photo_id":"1401235310","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235310":["hashtag1","hashtag2"]},{"1401235304":["hashtag1","hashtag2"]},{"1401235313":["hashtag1","hashtag2"]},{"1401235307":["hashtag1","hashtag2"]},{"1401235305":["hashtag1","hashtag2"]},{"1401235314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235310, 1401235304, 1401235313, 1401235307, 1401235305, 1401235314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26031827926636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:50:16.824874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_25_9652.jpg', 2), ('/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_15_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/00/21/image_09122025_00_22_04_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_55_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_34_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_14_9673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_25_9652.jpg', '/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_15_10661.jpg', '/home/nano/Desktop/images/09122025/00/21/image_09122025_00_22_04_9648.jpg', '/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_55_10644.jpg', '/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_34_9637.jpg', '/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_14_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_25_9652.jpg
/home/nano/Desktop/images/09122025/00/22/image_09122025_00_22_15_10661.jpg
/home/nano/Desktop/images/09122025/00/21/image_09122025_00_22_04_9648.jpg
/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_55_10644.jpg
/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_34_9637.jpg
/home/nano/Desktop/images/09122025/00/21/image_09122025_00_21_14_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":["1401235456","1401235459","1401235414","1401235461","1401235431","1401235428"],"photo_ids_order":["1401235414","1401235428","1401235431","1401235456","1401235459","1401235461"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89eb3860b0298e14347bcd4367635034.jpg","text":"TemporaryFile(/tmp/multipartBody6186647820312919318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821877578,"filename":"image_09122025_00_21_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ba5eb7779bba134150bd09825fa7a02.jpg","text":"TemporaryFile(/tmp/multipartBody1993703669617031537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821877578,"filename":"image_09122025_00_21_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/12/27/17ac19cf9a08e4d8a8476834aebedfb9.jpg","text":"TemporaryFile(/tmp/multipartBody4921828885388658384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821877578,"filename":"image_09122025_00_22_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5833ae912a7f398c510b42f403ffef15.jpg","text":"TemporaryFile(/tmp/multipartBody5854775451561640715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821877578,"filename":"image_09122025_00_21_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/12/27/0351790824642b9af6b9acdaf766bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody8479847280050416690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821877578,"filename":"image_09122025_00_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/12/27/3b68832dba4af9e5e48dc99fbc8373de.jpg","text":"TemporaryFile(/tmp/multipartBody1478869176310172152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821877578,"filename":"image_09122025_00_22_15_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235431","file1":"1401235428","file0":"1401235414","file4":"1401235459","file5":"1401235461","file3":"1401235456"},"map_files_photo_id_array":[{"photo_id":"1401235461","filename":"file5"},{"photo_id":"1401235431","filename":"file2"},{"photo_id":"1401235459","filename":"file4"},{"photo_id":"1401235428","filename":"file1"},{"photo_id":"1401235414","filename":"file0"},{"photo_id":"1401235456","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235456":["hashtag1","hashtag2"]},{"1401235459":["hashtag1","hashtag2"]},{"1401235414":["hashtag1","hashtag2"]},{"1401235461":["hashtag1","hashtag2"]},{"1401235431":["hashtag1","hashtag2"]},{"1401235428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235456, 1401235459, 1401235414, 1401235461, 1401235431, 1401235428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47209882736206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:51:02.526560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/20/image_09122025_00_21_05_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_55_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_35_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_25_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_14_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/20/image_09122025_00_21_05_9651.jpg', '/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_55_10647.jpg', '/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_44_9639.jpg', '/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_35_9636.jpg', '/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_25_10645.jpg', '/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_14_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/20/image_09122025_00_21_05_9651.jpg
/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_55_10647.jpg
/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_44_9639.jpg
/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_35_9636.jpg
/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_25_10645.jpg
/home/nano/Desktop/images/09122025/00/20/image_09122025_00_20_14_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":["1401235480","1401235477","1401235473","1401235479","1401235470","1401235475"],"photo_ids_order":["1401235470","1401235473","1401235475","1401235477","1401235479","1401235480"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44ae4790332ff8b26b93e428f5c6efb2.jpg","text":"TemporaryFile(/tmp/multipartBody3488328974649281030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821923307,"filename":"image_09122025_00_20_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/12/27/f5ed6d01d74c024f047a526e04f3c648.jpg","text":"TemporaryFile(/tmp/multipartBody7569214356534545570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821923307,"filename":"image_09122025_00_20_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb11effe76db7434cb02d5832c8b031e.jpg","text":"TemporaryFile(/tmp/multipartBody5267736265777473899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821923307,"filename":"image_09122025_00_20_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b47d5948cf76381e954edce68a8cf82.jpg","text":"TemporaryFile(/tmp/multipartBody4340673456909822483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821923307,"filename":"image_09122025_00_20_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95d591db2efb5deb18fddd4823cabdd7.jpg","text":"TemporaryFile(/tmp/multipartBody3267383953409595895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821923307,"filename":"image_09122025_00_21_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dad31878644b30ecf96e29c79a61440.jpg","text":"TemporaryFile(/tmp/multipartBody6457815783893850814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821923307,"filename":"image_09122025_00_20_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235475","file1":"1401235473","file0":"1401235470","file4":"1401235479","file5":"1401235480","file3":"1401235477"},"map_files_photo_id_array":[{"photo_id":"1401235480","filename":"file5"},{"photo_id":"1401235475","filename":"file2"},{"photo_id":"1401235479","filename":"file4"},{"photo_id":"1401235473","filename":"file1"},{"photo_id":"1401235470","filename":"file0"},{"photo_id":"1401235477","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235480":["hashtag1","hashtag2"]},{"1401235477":["hashtag1","hashtag2"]},{"1401235473":["hashtag1","hashtag2"]},{"1401235479":["hashtag1","hashtag2"]},{"1401235470":["hashtag1","hashtag2"]},{"1401235475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235480, 1401235477, 1401235473, 1401235479, 1401235470, 1401235475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68626928329468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:51:47.009834
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/19/image_09122025_00_20_05_9643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_55_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_44_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_25_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/00/18/image_09122025_00_19_05_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_35_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/19/image_09122025_00_20_05_9643.jpg', '/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_55_10661.jpg', '/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_44_9639.jpg', '/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_25_10645.jpg', '/home/nano/Desktop/images/09122025/00/18/image_09122025_00_19_05_10658.jpg', '/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/19/image_09122025_00_20_05_9643.jpg
/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_55_10661.jpg
/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_44_9639.jpg
/home/nano/Desktop/images/09122025/00/19/image_09122025_00_19_25_10645.jpg
/home/nano/Desktop/images/09122025/00/18/image_09122025_00_19_05_10658.jpg
/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_35_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":["1401235492","1401235489","1401235491","1401235496","1401235490","1401235493"],"photo_ids_order":["1401235489","1401235490","1401235491","1401235492","1401235493","1401235496"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2afded6c6cd397c91e6560dcaa6b7ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5154558415144268757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821967770,"filename":"image_09122025_00_19_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bed5aa7050f1d41f59b4eb9910b7daf9.jpg","text":"TemporaryFile(/tmp/multipartBody5071448887907514177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821967770,"filename":"image_09122025_00_20_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3cd1869823e900eca5046f73f3aa4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6423327219394873925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821967770,"filename":"image_09122025_00_19_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/12/27/30d72ca657d0f8ea582dcdc0ac7b9ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4717256019053793228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821967770,"filename":"image_09122025_00_18_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ee684abae7531debb510e829b7ca63c.jpg","text":"TemporaryFile(/tmp/multipartBody6555131335933597288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821967770,"filename":"image_09122025_00_19_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1878d8e72b0e80f7f38b57fd72e9f7cc.jpg","text":"TemporaryFile(/tmp/multipartBody8624979167283089504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766821967770,"filename":"image_09122025_00_19_05_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235491","file1":"1401235490","file0":"1401235489","file4":"1401235493","file5":"1401235496","file3":"1401235492"},"map_files_photo_id_array":[{"photo_id":"1401235496","filename":"file5"},{"photo_id":"1401235491","filename":"file2"},{"photo_id":"1401235493","filename":"file4"},{"photo_id":"1401235490","filename":"file1"},{"photo_id":"1401235489","filename":"file0"},{"photo_id":"1401235492","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235492":["hashtag1","hashtag2"]},{"1401235489":["hashtag1","hashtag2"]},{"1401235491":["hashtag1","hashtag2"]},{"1401235496":["hashtag1","hashtag2"]},{"1401235490":["hashtag1","hashtag2"]},{"1401235493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235492, 1401235489, 1401235491, 1401235496, 1401235490, 1401235493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54738998413086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:52:32.128955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_24_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_15_9642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/17/image_09122025_00_18_05_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_54_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_45_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_35_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_24_9636.jpg', '/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_15_9642.jpg', '/home/nano/Desktop/images/09122025/00/17/image_09122025_00_18_05_10650.jpg', '/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_54_9653.jpg', '/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_45_9639.jpg', '/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_24_9636.jpg
/home/nano/Desktop/images/09122025/00/18/image_09122025_00_18_15_9642.jpg
/home/nano/Desktop/images/09122025/00/17/image_09122025_00_18_05_10650.jpg
/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_54_9653.jpg
/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_45_9639.jpg
/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_35_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":["1401235511","1401235505","1401235513","1401235506","1401235514","1401235508"],"photo_ids_order":["1401235505","1401235506","1401235508","1401235511","1401235513","1401235514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60a185d383c7ac549860190e4de15248.jpg","text":"TemporaryFile(/tmp/multipartBody3793500302388836841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822012895,"filename":"image_09122025_00_17_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/12/27/65ddb6a7330ba057e28187b40dac00da.jpg","text":"TemporaryFile(/tmp/multipartBody1731248539866092645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822012895,"filename":"image_09122025_00_18_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/12/27/cda584673d6f92710fcb0b8b03e38a4f.jpg","text":"TemporaryFile(/tmp/multipartBody825457722139617445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822012895,"filename":"image_09122025_00_17_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19b848a02c6b327bb57d2d2499ffbd06.jpg","text":"TemporaryFile(/tmp/multipartBody124166629919660144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822012895,"filename":"image_09122025_00_18_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed9bf22031f7b0bf5469d6db9064bf22.jpg","text":"TemporaryFile(/tmp/multipartBody8639864918534138530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822012895,"filename":"image_09122025_00_17_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb567f59b8014d96bdb1453cfac2faaf.jpg","text":"TemporaryFile(/tmp/multipartBody8578410272952159333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822012895,"filename":"image_09122025_00_18_05_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235508","file1":"1401235506","file0":"1401235505","file4":"1401235513","file5":"1401235514","file3":"1401235511"},"map_files_photo_id_array":[{"photo_id":"1401235514","filename":"file5"},{"photo_id":"1401235508","filename":"file2"},{"photo_id":"1401235513","filename":"file4"},{"photo_id":"1401235506","filename":"file1"},{"photo_id":"1401235505","filename":"file0"},{"photo_id":"1401235511","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235511":["hashtag1","hashtag2"]},{"1401235505":["hashtag1","hashtag2"]},{"1401235513":["hashtag1","hashtag2"]},{"1401235506":["hashtag1","hashtag2"]},{"1401235514":["hashtag1","hashtag2"]},{"1401235508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235511, 1401235505, 1401235513, 1401235506, 1401235514, 1401235508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.205206394195557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:53:17.302852
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_24_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_15_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/00/16/image_09122025_00_17_05_10659.jpg', 2), ('/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_54_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_45_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_35_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_24_9633.jpg', '/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_15_9653.jpg', '/home/nano/Desktop/images/09122025/00/16/image_09122025_00_17_05_10659.jpg', '/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_54_9654.jpg', '/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_45_9641.jpg', '/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_35_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_24_9633.jpg
/home/nano/Desktop/images/09122025/00/17/image_09122025_00_17_15_9653.jpg
/home/nano/Desktop/images/09122025/00/16/image_09122025_00_17_05_10659.jpg
/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_54_9654.jpg
/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_45_9641.jpg
/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_35_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":["1401235945","1401235780","1401235876","1401235912","1401235947","1401235826"],"photo_ids_order":["1401235780","1401235826","1401235876","1401235912","1401235945","1401235947"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ad1ca42cc6dc79f2a800602c0937df9.jpg","text":"TemporaryFile(/tmp/multipartBody2430096742052307123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822058064,"filename":"image_09122025_00_16_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4320c739af72b8e898b32d354bb01bc8.jpg","text":"TemporaryFile(/tmp/multipartBody3970025281909511997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822058064,"filename":"image_09122025_00_17_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/12/27/2b5c138530e49fdb84281fce1d55182c.jpg","text":"TemporaryFile(/tmp/multipartBody5096829970955413541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822058064,"filename":"image_09122025_00_17_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a13bf4136ea2f7661909fa70816a4c2.jpg","text":"TemporaryFile(/tmp/multipartBody7204940243615271371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822058064,"filename":"image_09122025_00_16_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/12/27/95abc736a2c3649a2460315886e9e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody695113263715279939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822058064,"filename":"image_09122025_00_16_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/053caeefbd31e9ef46e09df9e126bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1327976596900147687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822058064,"filename":"image_09122025_00_17_15_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401235876","file1":"1401235826","file0":"1401235780","file4":"1401235945","file5":"1401235947","file3":"1401235912"},"map_files_photo_id_array":[{"photo_id":"1401235947","filename":"file5"},{"photo_id":"1401235876","filename":"file2"},{"photo_id":"1401235945","filename":"file4"},{"photo_id":"1401235826","filename":"file1"},{"photo_id":"1401235780","filename":"file0"},{"photo_id":"1401235912","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401235945":["hashtag1","hashtag2"]},{"1401235780":["hashtag1","hashtag2"]},{"1401235876":["hashtag1","hashtag2"]},{"1401235912":["hashtag1","hashtag2"]},{"1401235947":["hashtag1","hashtag2"]},{"1401235826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401235945, 1401235780, 1401235876, 1401235912, 1401235947, 1401235826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5642466545105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:54:03.294001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_24_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_15_10686.jpg', 2), ('/home/nano/Desktop/images/09122025/00/15/image_09122025_00_16_04_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_45_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_34_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_25_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_24_9637.jpg', '/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_15_10686.jpg', '/home/nano/Desktop/images/09122025/00/15/image_09122025_00_16_04_9648.jpg', '/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_45_10646.jpg', '/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_34_9637.jpg', '/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_25_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_24_9637.jpg
/home/nano/Desktop/images/09122025/00/16/image_09122025_00_16_15_10686.jpg
/home/nano/Desktop/images/09122025/00/15/image_09122025_00_16_04_9648.jpg
/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_45_10646.jpg
/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_34_9637.jpg
/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_25_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":["1401236020","1401236064","1401236031","1401236022","1401236129","1401236024"],"photo_ids_order":["1401236020","1401236022","1401236024","1401236031","1401236064","1401236129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6d94c92bb0f3d722d3cfcba97744b2c.jpg","text":"TemporaryFile(/tmp/multipartBody7980998993862161383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822104145,"filename":"image_09122025_00_16_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/12/27/fc6c43fa153a54c602538cc459bf7f51.jpg","text":"TemporaryFile(/tmp/multipartBody3609995204458616801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822104145,"filename":"image_09122025_00_15_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/12/27/0e6b30d28a8e4b7ab668e5cb3d9d4bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3699466042198638150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822104145,"filename":"image_09122025_00_15_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d81f75d34e6612ffc8f114b567109038.jpg","text":"TemporaryFile(/tmp/multipartBody2606439733194882551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822104145,"filename":"image_09122025_00_16_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c066d381feaea53627990564e7a1bea8.jpg","text":"TemporaryFile(/tmp/multipartBody4975041503088400506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822104145,"filename":"image_09122025_00_15_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8017cd6613d8691973b17c29c14f9b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1671010301078845051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822104145,"filename":"image_09122025_00_16_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401236024","file1":"1401236022","file0":"1401236020","file4":"1401236064","file5":"1401236129","file3":"1401236031"},"map_files_photo_id_array":[{"photo_id":"1401236129","filename":"file5"},{"photo_id":"1401236024","filename":"file2"},{"photo_id":"1401236064","filename":"file4"},{"photo_id":"1401236022","filename":"file1"},{"photo_id":"1401236020","filename":"file0"},{"photo_id":"1401236031","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401236020":["hashtag1","hashtag2"]},{"1401236064":["hashtag1","hashtag2"]},{"1401236031":["hashtag1","hashtag2"]},{"1401236022":["hashtag1","hashtag2"]},{"1401236129":["hashtag1","hashtag2"]},{"1401236024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401236020, 1401236064, 1401236031, 1401236022, 1401236129, 1401236024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78125882148743 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:54:47.400935
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_15_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_45_10644.jpg', 2), ('/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_34_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_15_10662.jpg', 2), ('/home/nano/Desktop/images/09122025/00/13/image_09122025_00_14_04_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_15_10662.jpg', '/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_55_9633.jpg', '/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_45_10644.jpg', '/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_34_9651.jpg', '/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_15_10662.jpg', '/home/nano/Desktop/images/09122025/00/13/image_09122025_00_14_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/15/image_09122025_00_15_15_10662.jpg
/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_55_9633.jpg
/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_45_10644.jpg
/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_34_9651.jpg
/home/nano/Desktop/images/09122025/00/14/image_09122025_00_14_15_10662.jpg
/home/nano/Desktop/images/09122025/00/13/image_09122025_00_14_04_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":["1401236470","1401236539","1401236571","1401236508","1401236601","1401236406"],"photo_ids_order":["1401236406","1401236470","1401236508","1401236539","1401236571","1401236601"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e7274eea041fd7dff24f137df30b7b3.jpg","text":"TemporaryFile(/tmp/multipartBody6932055535607741833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822148177,"filename":"image_09122025_00_14_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12452d3672dae4314d040073323d00d8.jpg","text":"TemporaryFile(/tmp/multipartBody2920070617406936092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822148177,"filename":"image_09122025_00_14_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/12/27/2d7612b91c0af04ec20392d1ad1b39d2.jpg","text":"TemporaryFile(/tmp/multipartBody2583486141228953985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822148177,"filename":"image_09122025_00_14_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59bb95f463dadda975287acd8cbf10f3.jpg","text":"TemporaryFile(/tmp/multipartBody7652912678766530047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822148177,"filename":"image_09122025_00_14_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11097164384d45afb19bb06590226590.jpg","text":"TemporaryFile(/tmp/multipartBody7020839528287908501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822148177,"filename":"image_09122025_00_14_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/12/27/8fdf006b4fbe72c68c767fcb6e67955e.jpg","text":"TemporaryFile(/tmp/multipartBody5995890598323525668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822148177,"filename":"image_09122025_00_15_15_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401236508","file1":"1401236470","file0":"1401236406","file4":"1401236571","file5":"1401236601","file3":"1401236539"},"map_files_photo_id_array":[{"photo_id":"1401236601","filename":"file5"},{"photo_id":"1401236508","filename":"file2"},{"photo_id":"1401236571","filename":"file4"},{"photo_id":"1401236470","filename":"file1"},{"photo_id":"1401236406","filename":"file0"},{"photo_id":"1401236539","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401236470":["hashtag1","hashtag2"]},{"1401236539":["hashtag1","hashtag2"]},{"1401236571":["hashtag1","hashtag2"]},{"1401236508":["hashtag1","hashtag2"]},{"1401236601":["hashtag1","hashtag2"]},{"1401236406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401236470, 1401236539, 1401236571, 1401236508, 1401236601, 1401236406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20309782028198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:55:32.465020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_55_9651.jpg', 2), ('/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_45_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_25_10647.jpg', 2), ('/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_14_9654.jpg', 2), ('/home/nano/Desktop/images/09122025/00/12/image_09122025_00_13_04_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_55_9651.jpg', '/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_45_10647.jpg', '/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_34_9634.jpg', '/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_25_10647.jpg', '/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_14_9654.jpg', '/home/nano/Desktop/images/09122025/00/12/image_09122025_00_13_04_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_55_9651.jpg
/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_45_10647.jpg
/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_34_9634.jpg
/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_25_10647.jpg
/home/nano/Desktop/images/09122025/00/13/image_09122025_00_13_14_9654.jpg
/home/nano/Desktop/images/09122025/00/12/image_09122025_00_13_04_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":["1401237084","1401237234","1401237254","1401237203","1401237163","1401237025"],"photo_ids_order":["1401237025","1401237084","1401237163","1401237203","1401237234","1401237254"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a16636b0ed0698ef68f2d8c4278550ff.jpg","text":"TemporaryFile(/tmp/multipartBody4695440542551237283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822193222,"filename":"image_09122025_00_13_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/457974682589c173dddf6d5685af5fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1855517963846651105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822193222,"filename":"image_09122025_00_13_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/12/27/96c30975a13b131a0e1f47495cba6e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2272299689211652097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822193222,"filename":"image_09122025_00_13_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/12/27/7aafe4c3e9fdb08c1650384d9d940544.jpg","text":"TemporaryFile(/tmp/multipartBody1826573680612967441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822193222,"filename":"image_09122025_00_13_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c87d8f44a457e42e51c7bb43030607b.jpg","text":"TemporaryFile(/tmp/multipartBody2293621045832439978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822193222,"filename":"image_09122025_00_13_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/12/27/1916b208d470df68a7be716ac160af5b.jpg","text":"TemporaryFile(/tmp/multipartBody4976340567180739812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822193222,"filename":"image_09122025_00_13_55_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401237163","file1":"1401237084","file0":"1401237025","file4":"1401237234","file5":"1401237254","file3":"1401237203"},"map_files_photo_id_array":[{"photo_id":"1401237254","filename":"file5"},{"photo_id":"1401237163","filename":"file2"},{"photo_id":"1401237234","filename":"file4"},{"photo_id":"1401237084","filename":"file1"},{"photo_id":"1401237025","filename":"file0"},{"photo_id":"1401237203","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401237084":["hashtag1","hashtag2"]},{"1401237234":["hashtag1","hashtag2"]},{"1401237254":["hashtag1","hashtag2"]},{"1401237203":["hashtag1","hashtag2"]},{"1401237163":["hashtag1","hashtag2"]},{"1401237025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401237084, 1401237234, 1401237254, 1401237203, 1401237163, 1401237025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.248234033584595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:56:17.601964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_44_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_35_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_25_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_14_9655.jpg', 2), ('/home/nano/Desktop/images/09122025/00/11/image_09122025_00_12_05_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_55_10643.jpg', '/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_44_9637.jpg', '/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_35_9634.jpg', '/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_25_10646.jpg', '/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_14_9655.jpg', '/home/nano/Desktop/images/09122025/00/11/image_09122025_00_12_05_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_55_10643.jpg
/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_44_9637.jpg
/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_35_9634.jpg
/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_25_10646.jpg
/home/nano/Desktop/images/09122025/00/12/image_09122025_00_12_14_9655.jpg
/home/nano/Desktop/images/09122025/00/11/image_09122025_00_12_05_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":["1401237492","1401237439","1401237434","1401237458","1401237437","1401237401"],"photo_ids_order":["1401237401","1401237434","1401237437","1401237439","1401237458","1401237492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51f46823abc397e20ebf91e652069ca7.jpg","text":"TemporaryFile(/tmp/multipartBody3523820414605353335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822238369,"filename":"image_09122025_00_12_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cbaff502753d13182b54ac681ae99b8.jpg","text":"TemporaryFile(/tmp/multipartBody8032681756602515965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822238369,"filename":"image_09122025_00_12_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f06fcd75e81e5afbdb0bc2a071597f34.jpg","text":"TemporaryFile(/tmp/multipartBody3445096072263284716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822238369,"filename":"image_09122025_00_12_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/12/27/8f8be8357bd7c6a19874bf2137601ff2.jpg","text":"TemporaryFile(/tmp/multipartBody6471372202371901187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822238369,"filename":"image_09122025_00_12_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/12/27/893dc7c7ad0bc41142905dba3f3ac1ce.jpg","text":"TemporaryFile(/tmp/multipartBody6897539524318235794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822238369,"filename":"image_09122025_00_12_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8bb4cc0bfc457c59aeff26cf3bfdf03.jpg","text":"TemporaryFile(/tmp/multipartBody6507774422304694274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822238369,"filename":"image_09122025_00_12_55_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401237437","file1":"1401237434","file0":"1401237401","file4":"1401237458","file5":"1401237492","file3":"1401237439"},"map_files_photo_id_array":[{"photo_id":"1401237492","filename":"file5"},{"photo_id":"1401237437","filename":"file2"},{"photo_id":"1401237458","filename":"file4"},{"photo_id":"1401237434","filename":"file1"},{"photo_id":"1401237401","filename":"file0"},{"photo_id":"1401237439","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401237492":["hashtag1","hashtag2"]},{"1401237439":["hashtag1","hashtag2"]},{"1401237434":["hashtag1","hashtag2"]},{"1401237458":["hashtag1","hashtag2"]},{"1401237437":["hashtag1","hashtag2"]},{"1401237401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401237492, 1401237439, 1401237434, 1401237458, 1401237437, 1401237401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99091553688049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:57:03.359656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/11/image_09122025_00_11_25_10646.jpg', 2), ('/home/nano/Desktop/images/09122025/00/11/image_09122025_00_11_14_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/10/image_09122025_00_11_05_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_55_10643.jpg', 2), ('/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_44_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_35_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/11/image_09122025_00_11_25_10646.jpg', '/home/nano/Desktop/images/09122025/00/11/image_09122025_00_11_14_9639.jpg', '/home/nano/Desktop/images/09122025/00/10/image_09122025_00_11_05_9653.jpg', '/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_55_10643.jpg', '/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_44_9635.jpg', '/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_35_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/11/image_09122025_00_11_25_10646.jpg
/home/nano/Desktop/images/09122025/00/11/image_09122025_00_11_14_9639.jpg
/home/nano/Desktop/images/09122025/00/10/image_09122025_00_11_05_9653.jpg
/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_55_10643.jpg
/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_44_9635.jpg
/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_35_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":["1401237505","1401237543","1401237510","1401237504","1401237506","1401237508"],"photo_ids_order":["1401237504","1401237505","1401237506","1401237508","1401237510","1401237543"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d2a3edce06fcb0d9e2caee551458704.jpg","text":"TemporaryFile(/tmp/multipartBody4753129921775698145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822284130,"filename":"image_09122025_00_11_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/12/27/fdc06a4a6f6a6730a5b6e07654546e49.jpg","text":"TemporaryFile(/tmp/multipartBody3727677034124983333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822284130,"filename":"image_09122025_00_10_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c8d0577d2a993bb9d966fc70e1aab3e.jpg","text":"TemporaryFile(/tmp/multipartBody589671066304123302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822284130,"filename":"image_09122025_00_10_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/12/27/fe2151a2ad7db22269436d9849a7846c.jpg","text":"TemporaryFile(/tmp/multipartBody4379528907567487407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822284130,"filename":"image_09122025_00_11_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33c2bfe65b2e8c7a67c9c0e12d5f4435.jpg","text":"TemporaryFile(/tmp/multipartBody3426725957457668404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822284130,"filename":"image_09122025_00_11_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a96819e11bfc399ecab21e7b4455dfe8.jpg","text":"TemporaryFile(/tmp/multipartBody8884999890288315459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822284130,"filename":"image_09122025_00_10_55_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401237506","file1":"1401237505","file0":"1401237504","file4":"1401237510","file5":"1401237543","file3":"1401237508"},"map_files_photo_id_array":[{"photo_id":"1401237543","filename":"file5"},{"photo_id":"1401237506","filename":"file2"},{"photo_id":"1401237510","filename":"file4"},{"photo_id":"1401237505","filename":"file1"},{"photo_id":"1401237504","filename":"file0"},{"photo_id":"1401237508","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401237505":["hashtag1","hashtag2"]},{"1401237543":["hashtag1","hashtag2"]},{"1401237510":["hashtag1","hashtag2"]},{"1401237504":["hashtag1","hashtag2"]},{"1401237506":["hashtag1","hashtag2"]},{"1401237508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401237505, 1401237543, 1401237510, 1401237504, 1401237506, 1401237508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30465221405029 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:57:47.705904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_15_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_10_05_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_45_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_15_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_15_9661.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_10_05_10656.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_54_9635.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_45_9640.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_24_9635.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_15_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_15_9661.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_10_05_10656.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_54_9635.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_45_9640.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_24_9635.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_15_9651.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:59:02.685170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_15_9661.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_10_05_10656.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_45_9640.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_24_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_15_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_15_9661.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_10_05_10656.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_54_9635.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_45_9640.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_24_9635.jpg', '/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_15_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/10/image_09122025_00_10_15_9661.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_10_05_10656.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_54_9635.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_45_9640.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_24_9635.jpg
/home/nano/Desktop/images/09122025/00/09/image_09122025_00_09_15_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":["1401238251","1401238187","1401238151","1401238309","1401238371","1401238111"],"photo_ids_order":["1401238111","1401238151","1401238187","1401238251","1401238309","1401238371"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc384f6571ac672a1a4ffdd4a3e86571.jpg","text":"TemporaryFile(/tmp/multipartBody7076842218845118311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822403491,"filename":"image_09122025_00_09_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1c4d9ef2a7e81e11664ef3d9e2bfe1d.jpg","text":"TemporaryFile(/tmp/multipartBody2550799829586742578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822403491,"filename":"image_09122025_00_09_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/12/27/d928d61f409d67e95258589bb8f23ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5148294499251364376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822403491,"filename":"image_09122025_00_10_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96f8adaf507ae1dcaee53ba6abaacaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2424458329563959873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822403491,"filename":"image_09122025_00_09_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/12/27/1654be675d67162f6ae0f060a4047f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5901557793848568997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822403491,"filename":"image_09122025_00_09_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/907746548fa3c7547f3b65c691ba0f91.jpg","text":"TemporaryFile(/tmp/multipartBody5537478955644059602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822403491,"filename":"image_09122025_00_10_15_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401238187","file1":"1401238151","file0":"1401238111","file4":"1401238309","file5":"1401238371","file3":"1401238251"},"map_files_photo_id_array":[{"photo_id":"1401238371","filename":"file5"},{"photo_id":"1401238187","filename":"file2"},{"photo_id":"1401238309","filename":"file4"},{"photo_id":"1401238151","filename":"file1"},{"photo_id":"1401238111","filename":"file0"},{"photo_id":"1401238251","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401238251":["hashtag1","hashtag2"]},{"1401238187":["hashtag1","hashtag2"]},{"1401238151":["hashtag1","hashtag2"]},{"1401238309":["hashtag1","hashtag2"]},{"1401238371":["hashtag1","hashtag2"]},{"1401238111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401238251, 1401238187, 1401238151, 1401238309, 1401238371, 1401238111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88084626197815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 08:59:46.796978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/08/image_09122025_00_08_54_9635.jpg', 2), ('/home/nano/Desktop/images/09122025/00/08/image_09122025_00_08_45_9653.jpg', 2), ('/home/nano/Desktop/images/09122025/00/07/image_09122025_00_08_05_10661.jpg', 2), ('/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_34_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_15_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/08/image_09122025_00_08_54_9635.jpg', '/home/nano/Desktop/images/09122025/00/08/image_09122025_00_08_45_9653.jpg', '/home/nano/Desktop/images/09122025/00/07/image_09122025_00_08_05_10661.jpg', '/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_54_9631.jpg', '/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_34_9633.jpg', '/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_15_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/08/image_09122025_00_08_54_9635.jpg
/home/nano/Desktop/images/09122025/00/08/image_09122025_00_08_45_9653.jpg
/home/nano/Desktop/images/09122025/00/07/image_09122025_00_08_05_10661.jpg
/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_54_9631.jpg
/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_34_9633.jpg
/home/nano/Desktop/images/09122025/00/07/image_09122025_00_07_15_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":["1401238749","1401238952","1401238882","1401238816","1401239079","1401239037"],"photo_ids_order":["1401238749","1401238816","1401238882","1401238952","1401239037","1401239079"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23a21201ae9300198bb95120cdb2337f.jpg","text":"TemporaryFile(/tmp/multipartBody4850557076197141912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822447577,"filename":"image_09122025_00_08_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/12/27/9a75aedd05c22c276e14f07d65e181b2.jpg","text":"TemporaryFile(/tmp/multipartBody6456965007067952342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822447577,"filename":"image_09122025_00_07_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/12/27/49d2377272931fb92650b1eaa57f7ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5238402249177009606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822447577,"filename":"image_09122025_00_08_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f45702048350a182feb0e85366bc162a.jpg","text":"TemporaryFile(/tmp/multipartBody7119715127379357852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822447577,"filename":"image_09122025_00_08_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/512536e1b08c9743034cedad2b53d083.jpg","text":"TemporaryFile(/tmp/multipartBody6712687985894763766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822447577,"filename":"image_09122025_00_07_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/804d9303e1f6a9c7f53e12192c1019a4.jpg","text":"TemporaryFile(/tmp/multipartBody3091465437255768832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822447577,"filename":"image_09122025_00_07_34_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401238882","file1":"1401238816","file0":"1401238749","file4":"1401239037","file5":"1401239079","file3":"1401238952"},"map_files_photo_id_array":[{"photo_id":"1401239079","filename":"file5"},{"photo_id":"1401238882","filename":"file2"},{"photo_id":"1401239037","filename":"file4"},{"photo_id":"1401238816","filename":"file1"},{"photo_id":"1401238749","filename":"file0"},{"photo_id":"1401238952","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401238749":["hashtag1","hashtag2"]},{"1401238952":["hashtag1","hashtag2"]},{"1401238882":["hashtag1","hashtag2"]},{"1401238816":["hashtag1","hashtag2"]},{"1401239079":["hashtag1","hashtag2"]},{"1401239037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401238749, 1401238952, 1401238882, 1401238816, 1401239079, 1401239037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.675233364105225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:00:31.904245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/06/image_09122025_00_07_04_9648.jpg', 2), ('/home/nano/Desktop/images/09122025/00/06/image_09122025_00_06_34_9634.jpg', 2), ('/home/nano/Desktop/images/09122025/00/06/image_09122025_00_06_15_10657.jpg', 2), ('/home/nano/Desktop/images/09122025/00/05/image_09122025_00_06_04_9659.jpg', 2), ('/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_55_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/06/image_09122025_00_07_04_9648.jpg', '/home/nano/Desktop/images/09122025/00/06/image_09122025_00_06_34_9634.jpg', '/home/nano/Desktop/images/09122025/00/06/image_09122025_00_06_15_10657.jpg', '/home/nano/Desktop/images/09122025/00/05/image_09122025_00_06_04_9659.jpg', '/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_55_9633.jpg', '/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/06/image_09122025_00_07_04_9648.jpg
/home/nano/Desktop/images/09122025/00/06/image_09122025_00_06_34_9634.jpg
/home/nano/Desktop/images/09122025/00/06/image_09122025_00_06_15_10657.jpg
/home/nano/Desktop/images/09122025/00/05/image_09122025_00_06_04_9659.jpg
/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_55_9633.jpg
/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_45_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":["1401239468","1401239596","1401239356","1401239401","1401239751","1401239433"],"photo_ids_order":["1401239356","1401239401","1401239433","1401239468","1401239596","1401239751"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba337164436f7a93e9826bcad833faf4.jpg","text":"TemporaryFile(/tmp/multipartBody758435114302432732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822492681,"filename":"image_09122025_00_06_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/12/27/d57c8990819f5f8efa3747ea97562a51.jpg","text":"TemporaryFile(/tmp/multipartBody7364931736241878795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822492681,"filename":"image_09122025_00_05_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d24a544a8452a78ad2e86c03e65cd085.jpg","text":"TemporaryFile(/tmp/multipartBody5050946932807237334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822492681,"filename":"image_09122025_00_07_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/12/27/c1df27e2181fcfd214bb99db89a41609.jpg","text":"TemporaryFile(/tmp/multipartBody4639012286501328273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822492681,"filename":"image_09122025_00_06_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/12/27/795ec6f0f8c88f6e3c716a99744b0cea.jpg","text":"TemporaryFile(/tmp/multipartBody9048618163260651594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822492681,"filename":"image_09122025_00_05_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/806bcf114d468c802af560be31fb6268.jpg","text":"TemporaryFile(/tmp/multipartBody2749716883978654172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822492681,"filename":"image_09122025_00_06_15_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401239433","file1":"1401239401","file0":"1401239356","file4":"1401239596","file5":"1401239751","file3":"1401239468"},"map_files_photo_id_array":[{"photo_id":"1401239751","filename":"file5"},{"photo_id":"1401239433","filename":"file2"},{"photo_id":"1401239596","filename":"file4"},{"photo_id":"1401239401","filename":"file1"},{"photo_id":"1401239356","filename":"file0"},{"photo_id":"1401239468","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401239468":["hashtag1","hashtag2"]},{"1401239596":["hashtag1","hashtag2"]},{"1401239356":["hashtag1","hashtag2"]},{"1401239401":["hashtag1","hashtag2"]},{"1401239751":["hashtag1","hashtag2"]},{"1401239433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401239468, 1401239596, 1401239356, 1401239401, 1401239751, 1401239433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86013722419739 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:01:17.002811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_34_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_25_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_14_9647.jpg', 2), ('/home/nano/Desktop/images/09122025/00/04/image_09122025_00_05_05_9664.jpg', 2), ('/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_55_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_34_9636.jpg', '/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_25_10641.jpg', '/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_14_9647.jpg', '/home/nano/Desktop/images/09122025/00/04/image_09122025_00_05_05_9664.jpg', '/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_55_10658.jpg', '/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_44_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_34_9636.jpg
/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_25_10641.jpg
/home/nano/Desktop/images/09122025/00/05/image_09122025_00_05_14_9647.jpg
/home/nano/Desktop/images/09122025/00/04/image_09122025_00_05_05_9664.jpg
/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_55_10658.jpg
/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_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":["1401240342","1401240500","1401240658","1401240571","1401240418","1401240462"],"photo_ids_order":["1401240342","1401240418","1401240462","1401240500","1401240571","1401240658"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56cf41178b4d3f4f24f1889ed0777d94.jpg","text":"TemporaryFile(/tmp/multipartBody5879650426192237751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822537756,"filename":"image_09122025_00_05_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/12/27/6a30daed55388402c237de3022f7986f.jpg","text":"TemporaryFile(/tmp/multipartBody3978576309316173108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822537756,"filename":"image_09122025_00_05_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d646de55381e3dcf383c4c9f36bbdd0b.jpg","text":"TemporaryFile(/tmp/multipartBody1764560820303437417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822537756,"filename":"image_09122025_00_04_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/12/27/98ba2a9549f1084a75dabf7e78c0a999.jpg","text":"TemporaryFile(/tmp/multipartBody4620641944109753673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822537756,"filename":"image_09122025_00_04_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9672ecb4d9447e6ca9b96ea12eca87f0.jpg","text":"TemporaryFile(/tmp/multipartBody503847351778715218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822537756,"filename":"image_09122025_00_05_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47e875af1eb642b2161a6c188d2e6fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6772950808477797305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822537756,"filename":"image_09122025_00_05_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401240462","file1":"1401240418","file0":"1401240342","file4":"1401240571","file5":"1401240658","file3":"1401240500"},"map_files_photo_id_array":[{"photo_id":"1401240658","filename":"file5"},{"photo_id":"1401240462","filename":"file2"},{"photo_id":"1401240571","filename":"file4"},{"photo_id":"1401240418","filename":"file1"},{"photo_id":"1401240342","filename":"file0"},{"photo_id":"1401240500","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401240342":["hashtag1","hashtag2"]},{"1401240500":["hashtag1","hashtag2"]},{"1401240658":["hashtag1","hashtag2"]},{"1401240571":["hashtag1","hashtag2"]},{"1401240418":["hashtag1","hashtag2"]},{"1401240462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401240342, 1401240500, 1401240658, 1401240571, 1401240418, 1401240462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.642935037612915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:02:02.549709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_35_9637.jpg', 2), ('/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_25_10642.jpg', 2), ('/home/nano/Desktop/images/09122025/00/03/image_09122025_00_04_05_9641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_44_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_35_9649.jpg', 2), ('/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_25_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_35_9637.jpg', '/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_25_10642.jpg', '/home/nano/Desktop/images/09122025/00/03/image_09122025_00_04_05_9641.jpg', '/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_44_9629.jpg', '/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_35_9649.jpg', '/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_25_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_35_9637.jpg
/home/nano/Desktop/images/09122025/00/04/image_09122025_00_04_25_10642.jpg
/home/nano/Desktop/images/09122025/00/03/image_09122025_00_04_05_9641.jpg
/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_44_9629.jpg
/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_35_9649.jpg
/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_25_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":["1401240767","1401240818","1401240883","1401240790","1401240847","1401240768"],"photo_ids_order":["1401240767","1401240768","1401240790","1401240818","1401240847","1401240883"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31870b851a8f7bd05a96ee0ff74b6dad.jpg","text":"TemporaryFile(/tmp/multipartBody4610993634778610738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822583326,"filename":"image_09122025_00_04_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e65b19080bf884b7c7e96409319fc399.jpg","text":"TemporaryFile(/tmp/multipartBody399794136050336044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822583326,"filename":"image_09122025_00_03_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/12/27/7837f30b85c1436e5fed893df21b7c2d.jpg","text":"TemporaryFile(/tmp/multipartBody5462333514678969703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822583326,"filename":"image_09122025_00_03_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd271563434fdd225557b03991c1b9f1.jpg","text":"TemporaryFile(/tmp/multipartBody3914856331910753879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822583326,"filename":"image_09122025_00_04_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b30e0d21085c75825e874cd947f6f56.jpg","text":"TemporaryFile(/tmp/multipartBody4284453032710607223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822583326,"filename":"image_09122025_00_03_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3596283334281830d3a26c0c7475973.jpg","text":"TemporaryFile(/tmp/multipartBody3821035357398219351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822583326,"filename":"image_09122025_00_04_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401240790","file1":"1401240768","file0":"1401240767","file4":"1401240847","file5":"1401240883","file3":"1401240818"},"map_files_photo_id_array":[{"photo_id":"1401240883","filename":"file5"},{"photo_id":"1401240790","filename":"file2"},{"photo_id":"1401240847","filename":"file4"},{"photo_id":"1401240768","filename":"file1"},{"photo_id":"1401240767","filename":"file0"},{"photo_id":"1401240818","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401240767":["hashtag1","hashtag2"]},{"1401240818":["hashtag1","hashtag2"]},{"1401240883":["hashtag1","hashtag2"]},{"1401240790":["hashtag1","hashtag2"]},{"1401240847":["hashtag1","hashtag2"]},{"1401240768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401240767, 1401240818, 1401240883, 1401240790, 1401240847, 1401240768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40757989883423 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:02:47.099867
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_14_9639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/02/image_09122025_00_03_05_10650.jpg', 2), ('/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_54_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_45_9630.jpg', 2), ('/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_35_10639.jpg', 2), ('/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_24_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_14_9639.jpg', '/home/nano/Desktop/images/09122025/00/02/image_09122025_00_03_05_10650.jpg', '/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_54_9631.jpg', '/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_45_9630.jpg', '/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_35_10639.jpg', '/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/03/image_09122025_00_03_14_9639.jpg
/home/nano/Desktop/images/09122025/00/02/image_09122025_00_03_05_10650.jpg
/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_54_9631.jpg
/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_45_9630.jpg
/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_35_10639.jpg
/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_24_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":["1401240975","1401240974","1401240998","1401241007","1401241006","1401241009"],"photo_ids_order":["1401240974","1401240975","1401240998","1401241006","1401241007","1401241009"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fc9dd6422c1112628994d53a34062d6.jpg","text":"TemporaryFile(/tmp/multipartBody964384789515506918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822627874,"filename":"image_09122025_00_03_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56598c045c8cff89a1ac8a6cd0c11809.jpg","text":"TemporaryFile(/tmp/multipartBody7357542727078304038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822627874,"filename":"image_09122025_00_03_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/12/27/49bd75a95c2ca00bfa6acb9ada0f13d0.jpg","text":"TemporaryFile(/tmp/multipartBody4840928065264057637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822627874,"filename":"image_09122025_00_02_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/12/27/a20cffc678aad5df8d3cb31f0a499e89.jpg","text":"TemporaryFile(/tmp/multipartBody8794156966564764058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822627874,"filename":"image_09122025_00_02_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f0a070fa1a30c17e89f9874d667ef6b.jpg","text":"TemporaryFile(/tmp/multipartBody260307196686098950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822627874,"filename":"image_09122025_00_02_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d09228238620474d211deeb4c4fa131e.jpg","text":"TemporaryFile(/tmp/multipartBody5455261835387207307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822627874,"filename":"image_09122025_00_02_24_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401240998","file1":"1401240975","file0":"1401240974","file4":"1401241007","file5":"1401241009","file3":"1401241006"},"map_files_photo_id_array":[{"photo_id":"1401241009","filename":"file5"},{"photo_id":"1401240998","filename":"file2"},{"photo_id":"1401241007","filename":"file4"},{"photo_id":"1401240975","filename":"file1"},{"photo_id":"1401240974","filename":"file0"},{"photo_id":"1401241006","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401240975":["hashtag1","hashtag2"]},{"1401240974":["hashtag1","hashtag2"]},{"1401240998":["hashtag1","hashtag2"]},{"1401241007":["hashtag1","hashtag2"]},{"1401241006":["hashtag1","hashtag2"]},{"1401241009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401240975, 1401240974, 1401240998, 1401241007, 1401241006, 1401241009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.683384895324707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:03:32.176360
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_15_9629.jpg', 2), ('/home/nano/Desktop/images/09122025/00/01/image_09122025_00_02_05_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_54_9636.jpg', 2), ('/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_45_9631.jpg', 2), ('/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_35_10645.jpg', 2), ('/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_24_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_15_9629.jpg', '/home/nano/Desktop/images/09122025/00/01/image_09122025_00_02_05_10645.jpg', '/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_54_9636.jpg', '/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_45_9631.jpg', '/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_35_10645.jpg', '/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_24_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/02/image_09122025_00_02_15_9629.jpg
/home/nano/Desktop/images/09122025/00/01/image_09122025_00_02_05_10645.jpg
/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_54_9636.jpg
/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_45_9631.jpg
/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_35_10645.jpg
/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_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":["1401241023","1401241019","1401241022","1401241016","1401241024","1401241018"],"photo_ids_order":["1401241016","1401241018","1401241019","1401241022","1401241023","1401241024"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/385f8040762c3cc97428e708ec501f35.jpg","text":"TemporaryFile(/tmp/multipartBody2232937410480679414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822672932,"filename":"image_09122025_00_01_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06728afaedd45a7f8e5af29ba105a46f.jpg","text":"TemporaryFile(/tmp/multipartBody6862810698709075925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822672932,"filename":"image_09122025_00_01_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/12/27/ec0e201fc3929371ec7e3fec619beaff.jpg","text":"TemporaryFile(/tmp/multipartBody8791514913979918427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822672932,"filename":"image_09122025_00_01_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a19b34bca533b14ce5e41994d044d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody370549979139010891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822672932,"filename":"image_09122025_00_02_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a97b3caeaa1a6649e51aa753b8c6c1e.jpg","text":"TemporaryFile(/tmp/multipartBody422780582775486891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822672932,"filename":"image_09122025_00_01_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/12/27/b0534c807268c99dfc2d31a6cf71c206.jpg","text":"TemporaryFile(/tmp/multipartBody272391484553925740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822672932,"filename":"image_09122025_00_02_05_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241019","file1":"1401241018","file0":"1401241016","file4":"1401241023","file5":"1401241024","file3":"1401241022"},"map_files_photo_id_array":[{"photo_id":"1401241024","filename":"file5"},{"photo_id":"1401241019","filename":"file2"},{"photo_id":"1401241023","filename":"file4"},{"photo_id":"1401241018","filename":"file1"},{"photo_id":"1401241016","filename":"file0"},{"photo_id":"1401241022","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401241023":["hashtag1","hashtag2"]},{"1401241019":["hashtag1","hashtag2"]},{"1401241022":["hashtag1","hashtag2"]},{"1401241016":["hashtag1","hashtag2"]},{"1401241024":["hashtag1","hashtag2"]},{"1401241018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401241023, 1401241019, 1401241022, 1401241016, 1401241024, 1401241018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36021041870117 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:04:17.375338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_15_10658.jpg', 2), ('/home/nano/Desktop/images/09122025/00/00/image_09122025_00_01_04_9659.jpg', 2), ('/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_54_9633.jpg', 2), ('/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_45_10641.jpg', 2), ('/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_34_9650.jpg', 2), ('/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_25_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_15_10658.jpg', '/home/nano/Desktop/images/09122025/00/00/image_09122025_00_01_04_9659.jpg', '/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_54_9633.jpg', '/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_45_10641.jpg', '/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_34_9650.jpg', '/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_25_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/09122025/00/01/image_09122025_00_01_15_10658.jpg
/home/nano/Desktop/images/09122025/00/00/image_09122025_00_01_04_9659.jpg
/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_54_9633.jpg
/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_45_10641.jpg
/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_34_9650.jpg
/home/nano/Desktop/images/09122025/00/00/image_09122025_00_00_25_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":["1401241200","1401241190","1401241145","1401241198","1401241168","1401241167"],"photo_ids_order":["1401241145","1401241167","1401241168","1401241190","1401241198","1401241200"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acddf202a4e94911127dc3df526894b3.jpg","text":"TemporaryFile(/tmp/multipartBody6505140250885632958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822718156,"filename":"image_09122025_00_00_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e38647a539cdf7a72c57777c5ca6eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8120731145872127976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822718156,"filename":"image_09122025_00_00_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d567e44c5546eadf3c9fab399db1b2c.jpg","text":"TemporaryFile(/tmp/multipartBody978315525074770086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822718156,"filename":"image_09122025_00_01_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c45b0a8a8dade1ffe633cc54c610620.jpg","text":"TemporaryFile(/tmp/multipartBody4231321683108324410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822718156,"filename":"image_09122025_00_00_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/12/27/cb8a967b639f8c0c48519d13ae68fac8.jpg","text":"TemporaryFile(/tmp/multipartBody4709697836106467964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822718156,"filename":"image_09122025_00_00_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/12/27/0ca941a122abac52a2c6e36e976c50b2.jpg","text":"TemporaryFile(/tmp/multipartBody2484800701922287464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822718156,"filename":"image_09122025_00_01_04_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241168","file1":"1401241167","file0":"1401241145","file4":"1401241198","file5":"1401241200","file3":"1401241190"},"map_files_photo_id_array":[{"photo_id":"1401241200","filename":"file5"},{"photo_id":"1401241168","filename":"file2"},{"photo_id":"1401241198","filename":"file4"},{"photo_id":"1401241167","filename":"file1"},{"photo_id":"1401241145","filename":"file0"},{"photo_id":"1401241190","filename":"file3"}],"portfolio_id":29724859,"hashtag_by_photo_ids":[{"1401241200":["hashtag1","hashtag2"]},{"1401241190":["hashtag1","hashtag2"]},{"1401241145":["hashtag1","hashtag2"]},{"1401241198":["hashtag1","hashtag2"]},{"1401241168":["hashtag1","hashtag2"]},{"1401241167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29724859 used, photo_id : ArrayBuffer(1401241200, 1401241190, 1401241145, 1401241198, 1401241168, 1401241167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.108184576034546 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:05:03.131575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
  port_id : 29724859
  datou_current_id : 4276480
in upload_from_sqlite, uploading in 29724859
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08122025/23/59/image_09122025_00_00_04_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08122025/23/59/image_09122025_00_00_04_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4276480&datou=0
/home/nano/Desktop/images/08122025/23/59/image_09122025_00_00_04_9655.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401241211"],"photo_id":"1401241211","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea242f32179b74b62db99141728df030.jpg","text":"TemporaryFile(/tmp/multipartBody4101201567347939721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822763910,"filename":"image_09122025_00_00_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401241211"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401241211"}],"hashtags":[],"portfolio_id":"29724859","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.55786418914795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:05:17.398624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_10122025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
4892
4279599
4892
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/59/image_10122025_23_59_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/59/image_10122025_23_59_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/58/image_10122025_23_59_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/58/image_10122025_23_58_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/58/image_10122025_23_58_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/57/image_10122025_23_58_04_9619.jpg', 2)]
{'portfolio_id': 29743183, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1766822778000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/59/image_10122025_23_59_45_10626.jpg', '/home/nano/Desktop/images/10122025/23/59/image_10122025_23_59_24_9616.jpg', '/home/nano/Desktop/images/10122025/23/58/image_10122025_23_59_04_9630.jpg', '/home/nano/Desktop/images/10122025/23/58/image_10122025_23_58_34_9618.jpg', '/home/nano/Desktop/images/10122025/23/58/image_10122025_23_58_14_9634.jpg', '/home/nano/Desktop/images/10122025/23/57/image_10122025_23_58_04_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/59/image_10122025_23_59_45_10626.jpg
/home/nano/Desktop/images/10122025/23/59/image_10122025_23_59_24_9616.jpg
/home/nano/Desktop/images/10122025/23/58/image_10122025_23_59_04_9630.jpg
/home/nano/Desktop/images/10122025/23/58/image_10122025_23_58_34_9618.jpg
/home/nano/Desktop/images/10122025/23/58/image_10122025_23_58_14_9634.jpg
/home/nano/Desktop/images/10122025/23/57/image_10122025_23_58_04_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":["1401241302","1401241445","1401241355","1401241400","1401241266","1401241233"],"photo_ids_order":["1401241233","1401241266","1401241302","1401241355","1401241400","1401241445"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25000292daaddeac8fbac69145bccc3c.jpg","text":"TemporaryFile(/tmp/multipartBody4226518284038303036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822779091,"filename":"image_10122025_23_59_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/12/27/813444110049f2999a855e45dd89bbd2.jpg","text":"TemporaryFile(/tmp/multipartBody9144855163924198651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822779091,"filename":"image_10122025_23_58_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/12/27/725741d0317cc9f47840c6bb136b5ace.jpg","text":"TemporaryFile(/tmp/multipartBody1405601392324747705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822779091,"filename":"image_10122025_23_58_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/12/27/2e1f3dc376467246a0952f5a88d2e894.jpg","text":"TemporaryFile(/tmp/multipartBody8258390772587223633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822779091,"filename":"image_10122025_23_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/12/27/c8f316bdf91f52d5748def7661eb3e89.jpg","text":"TemporaryFile(/tmp/multipartBody1447900471166805021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822779091,"filename":"image_10122025_23_59_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/12/27/33ce01fd3515dd35e88897246ca8833c.jpg","text":"TemporaryFile(/tmp/multipartBody4545994847511761857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822779091,"filename":"image_10122025_23_59_45_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241302","file1":"1401241266","file0":"1401241233","file4":"1401241400","file5":"1401241445","file3":"1401241355"},"map_files_photo_id_array":[{"photo_id":"1401241445","filename":"file5"},{"photo_id":"1401241302","filename":"file2"},{"photo_id":"1401241400","filename":"file4"},{"photo_id":"1401241266","filename":"file1"},{"photo_id":"1401241233","filename":"file0"},{"photo_id":"1401241355","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401241302":["hashtag1","hashtag2"]},{"1401241445":["hashtag1","hashtag2"]},{"1401241355":["hashtag1","hashtag2"]},{"1401241400":["hashtag1","hashtag2"]},{"1401241266":["hashtag1","hashtag2"]},{"1401241233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401241302, 1401241445, 1401241355, 1401241400, 1401241266, 1401241233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84004807472229 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:06:03.025203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/57/image_10122025_23_57_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/57/image_10122025_23_57_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_56_05_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/57/image_10122025_23_57_44_9636.jpg', '/home/nano/Desktop/images/10122025/23/57/image_10122025_23_57_35_9617.jpg', '/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_35_10627.jpg', '/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_24_9618.jpg', '/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_15_9617.jpg', '/home/nano/Desktop/images/10122025/23/55/image_10122025_23_56_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/57/image_10122025_23_57_44_9636.jpg
/home/nano/Desktop/images/10122025/23/57/image_10122025_23_57_35_9617.jpg
/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_35_10627.jpg
/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_24_9618.jpg
/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_15_9617.jpg
/home/nano/Desktop/images/10122025/23/55/image_10122025_23_56_05_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":["1401241550","1401241547","1401241555","1401241552","1401241548","1401241545"],"photo_ids_order":["1401241545","1401241547","1401241548","1401241550","1401241552","1401241555"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c080079097ea0f5e98c78fa198a664dc.jpg","text":"TemporaryFile(/tmp/multipartBody3204741465119049211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822823891,"filename":"image_10122025_23_56_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/12/27/2449a41cdf068464bd87a9751b4c2097.jpg","text":"TemporaryFile(/tmp/multipartBody8420299448159119168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822823891,"filename":"image_10122025_23_57_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/244719b1d3090a54c32ca3f7c1411d34.jpg","text":"TemporaryFile(/tmp/multipartBody5947415550393186681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822823891,"filename":"image_10122025_23_56_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46f78a1ad9c77b72bb150c5d458a105d.jpg","text":"TemporaryFile(/tmp/multipartBody2330198018910537724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822823891,"filename":"image_10122025_23_56_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d12c52b6e16492a74c307e1820877110.jpg","text":"TemporaryFile(/tmp/multipartBody7681214347486700493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822823891,"filename":"image_10122025_23_56_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0db556886c5a8f70ab684b97a7274138.jpg","text":"TemporaryFile(/tmp/multipartBody3227529448718637518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822823891,"filename":"image_10122025_23_57_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241548","file1":"1401241547","file0":"1401241545","file4":"1401241552","file5":"1401241555","file3":"1401241550"},"map_files_photo_id_array":[{"photo_id":"1401241555","filename":"file5"},{"photo_id":"1401241548","filename":"file2"},{"photo_id":"1401241552","filename":"file4"},{"photo_id":"1401241547","filename":"file1"},{"photo_id":"1401241545","filename":"file0"},{"photo_id":"1401241550","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401241550":["hashtag1","hashtag2"]},{"1401241547":["hashtag1","hashtag2"]},{"1401241555":["hashtag1","hashtag2"]},{"1401241552":["hashtag1","hashtag2"]},{"1401241548":["hashtag1","hashtag2"]},{"1401241545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401241550, 1401241547, 1401241555, 1401241552, 1401241548, 1401241545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88863706588745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:06:47.546145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_54_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_55_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_55_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_54_9616.jpg', '/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_35_10629.jpg', '/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_24_9616.jpg', '/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_15_10645.jpg', '/home/nano/Desktop/images/10122025/23/54/image_10122025_23_55_04_9627.jpg', '/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_55_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_54_9616.jpg
/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_35_10629.jpg
/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_24_9616.jpg
/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_15_10645.jpg
/home/nano/Desktop/images/10122025/23/54/image_10122025_23_55_04_9627.jpg
/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_55_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":["1401241565","1401241568","1401241564","1401241566","1401241569","1401241563"],"photo_ids_order":["1401241563","1401241564","1401241565","1401241566","1401241568","1401241569"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69075d9a53c71d9d9f47b8d3d2f0200b.jpg","text":"TemporaryFile(/tmp/multipartBody6174115334076252118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822868408,"filename":"image_10122025_23_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/12/27/e1d883671b75d9f7afecd5010bd63de1.jpg","text":"TemporaryFile(/tmp/multipartBody176630442197351220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822868408,"filename":"image_10122025_23_55_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/12/27/9d10937f3b692ecf361ab0be70a69ce5.jpg","text":"TemporaryFile(/tmp/multipartBody825254938797401834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822868408,"filename":"image_10122025_23_55_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/736fe2454432630ac9cd9dc89a380b52.jpg","text":"TemporaryFile(/tmp/multipartBody5183696593986713233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822868408,"filename":"image_10122025_23_55_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/604f3b2825bdb420ebe3482967375ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6744373373715143616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822868408,"filename":"image_10122025_23_54_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4718bbad4cf5edb1739ffe3f39d3a740.jpg","text":"TemporaryFile(/tmp/multipartBody791680242620060677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822868408,"filename":"image_10122025_23_55_54_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241565","file1":"1401241564","file0":"1401241563","file4":"1401241568","file5":"1401241569","file3":"1401241566"},"map_files_photo_id_array":[{"photo_id":"1401241569","filename":"file5"},{"photo_id":"1401241565","filename":"file2"},{"photo_id":"1401241568","filename":"file4"},{"photo_id":"1401241564","filename":"file1"},{"photo_id":"1401241563","filename":"file0"},{"photo_id":"1401241566","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401241565":["hashtag1","hashtag2"]},{"1401241568":["hashtag1","hashtag2"]},{"1401241564":["hashtag1","hashtag2"]},{"1401241566":["hashtag1","hashtag2"]},{"1401241569":["hashtag1","hashtag2"]},{"1401241563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401241565, 1401241568, 1401241564, 1401241566, 1401241569, 1401241563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.611684799194336 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:07:32.615575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_54_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_53_05_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_45_10626.jpg', '/home/nano/Desktop/images/10122025/23/53/image_10122025_23_54_04_9619.jpg', '/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_55_10626.jpg', '/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_25_10633.jpg', '/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_14_9634.jpg', '/home/nano/Desktop/images/10122025/23/52/image_10122025_23_53_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_45_10626.jpg
/home/nano/Desktop/images/10122025/23/53/image_10122025_23_54_04_9619.jpg
/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_55_10626.jpg
/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_25_10633.jpg
/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_14_9634.jpg
/home/nano/Desktop/images/10122025/23/52/image_10122025_23_53_05_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":["1401241580","1401241586","1401241585","1401241582","1401241578","1401241587"],"photo_ids_order":["1401241578","1401241580","1401241582","1401241585","1401241586","1401241587"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23307b7177bd0863813c9ab31d54545d.jpg","text":"TemporaryFile(/tmp/multipartBody9202574053753762148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822913411,"filename":"image_10122025_23_54_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/12/27/df5924d32dbbfccd44df632e9258452b.jpg","text":"TemporaryFile(/tmp/multipartBody1768982907846993416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822913411,"filename":"image_10122025_23_53_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/12/27/ead636e78df2525a75020ccd71137466.jpg","text":"TemporaryFile(/tmp/multipartBody6079358988441981394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822913411,"filename":"image_10122025_23_53_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f24a5db9d8b392e5bc28ae2867a7a19.jpg","text":"TemporaryFile(/tmp/multipartBody4902781833785813549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822913411,"filename":"image_10122025_23_53_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3495ee05c1158ce995d44f0528be843f.jpg","text":"TemporaryFile(/tmp/multipartBody3269491054738845716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822913411,"filename":"image_10122025_23_54_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f52460332be9f0afc4e7d68314bf6a8d.jpg","text":"TemporaryFile(/tmp/multipartBody4084057489103621819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822913411,"filename":"image_10122025_23_53_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241582","file1":"1401241580","file0":"1401241578","file4":"1401241586","file5":"1401241587","file3":"1401241585"},"map_files_photo_id_array":[{"photo_id":"1401241587","filename":"file5"},{"photo_id":"1401241582","filename":"file2"},{"photo_id":"1401241586","filename":"file4"},{"photo_id":"1401241580","filename":"file1"},{"photo_id":"1401241578","filename":"file0"},{"photo_id":"1401241585","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401241580":["hashtag1","hashtag2"]},{"1401241586":["hashtag1","hashtag2"]},{"1401241585":["hashtag1","hashtag2"]},{"1401241582":["hashtag1","hashtag2"]},{"1401241578":["hashtag1","hashtag2"]},{"1401241587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401241580, 1401241586, 1401241585, 1401241582, 1401241578, 1401241587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.895504236221313 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:08:17.769560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/51/image_10122025_23_52_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/51/image_10122025_23_51_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_55_10628.jpg', '/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_44_9618.jpg', '/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_35_10627.jpg', '/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_24_9619.jpg', '/home/nano/Desktop/images/10122025/23/51/image_10122025_23_52_05_10646.jpg', '/home/nano/Desktop/images/10122025/23/51/image_10122025_23_51_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_55_10628.jpg
/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_44_9618.jpg
/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_35_10627.jpg
/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_24_9619.jpg
/home/nano/Desktop/images/10122025/23/51/image_10122025_23_52_05_10646.jpg
/home/nano/Desktop/images/10122025/23/51/image_10122025_23_51_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":["1401241601","1401241591","1401241603","1401241596","1401241599","1401241593"],"photo_ids_order":["1401241591","1401241593","1401241596","1401241599","1401241601","1401241603"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97c9aee77373c4cfb1e25e0eac1f0cda.jpg","text":"TemporaryFile(/tmp/multipartBody8192789781867147805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822958544,"filename":"image_10122025_23_52_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e5d7e952f973f8e38c22fd0f64f7214.jpg","text":"TemporaryFile(/tmp/multipartBody4623810599097005068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822958544,"filename":"image_10122025_23_52_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae0060d57d70cb00352c0b6a354e5c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8898349599995336500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822958544,"filename":"image_10122025_23_51_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/12/27/33bb4ebfd8352c6fc778d9e2f7b49e55.jpg","text":"TemporaryFile(/tmp/multipartBody5375220797166830986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822958544,"filename":"image_10122025_23_52_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abfe683b243443fae73b95b389cb8182.jpg","text":"TemporaryFile(/tmp/multipartBody2419149065314831350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822958544,"filename":"image_10122025_23_52_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/12/27/006d74586d5853c9feb290e5e8d2f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody308909040126149127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766822958544,"filename":"image_10122025_23_52_44_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241596","file1":"1401241593","file0":"1401241591","file4":"1401241601","file5":"1401241603","file3":"1401241599"},"map_files_photo_id_array":[{"photo_id":"1401241603","filename":"file5"},{"photo_id":"1401241596","filename":"file2"},{"photo_id":"1401241601","filename":"file4"},{"photo_id":"1401241593","filename":"file1"},{"photo_id":"1401241591","filename":"file0"},{"photo_id":"1401241599","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401241601":["hashtag1","hashtag2"]},{"1401241591":["hashtag1","hashtag2"]},{"1401241603":["hashtag1","hashtag2"]},{"1401241596":["hashtag1","hashtag2"]},{"1401241599":["hashtag1","hashtag2"]},{"1401241593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401241601, 1401241591, 1401241603, 1401241596, 1401241599, 1401241593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.114373207092285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:09:02.754405
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_51_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_50_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_55_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/50/image_10122025_23_51_04_9629.jpg', '/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_55_9617.jpg', '/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_45_10627.jpg', '/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_34_9634.jpg', '/home/nano/Desktop/images/10122025/23/49/image_10122025_23_50_04_9642.jpg', '/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_55_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/50/image_10122025_23_51_04_9629.jpg
/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_55_9617.jpg
/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_45_10627.jpg
/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_34_9634.jpg
/home/nano/Desktop/images/10122025/23/49/image_10122025_23_50_04_9642.jpg
/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_55_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":["1401241864","1401241802","1401241945","1401241834","1401241899","1401241770"],"photo_ids_order":["1401241770","1401241802","1401241834","1401241864","1401241899","1401241945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/271486a9f86d0291adc93d773096540f.jpg","text":"TemporaryFile(/tmp/multipartBody333174592079920683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823003692,"filename":"image_10122025_23_50_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/12/27/067aa5dc1e254f2fea6b464b5485f08b.jpg","text":"TemporaryFile(/tmp/multipartBody7689870841866629165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823003692,"filename":"image_10122025_23_50_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88e1bbdfb02f775657be665f87b56812.jpg","text":"TemporaryFile(/tmp/multipartBody5393724906766652532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823003692,"filename":"image_10122025_23_49_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24f16088a1505754a35b08bf218e17cd.jpg","text":"TemporaryFile(/tmp/multipartBody2004970136902880938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823003692,"filename":"image_10122025_23_50_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a133f8b5b472ae809638167d74bca97.jpg","text":"TemporaryFile(/tmp/multipartBody61355595890660055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823003692,"filename":"image_10122025_23_50_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/12/27/7ab5c04ecb183a4bed2dfa5eadf42e98.jpg","text":"TemporaryFile(/tmp/multipartBody8978974495510400836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823003692,"filename":"image_10122025_23_51_04_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401241834","file1":"1401241802","file0":"1401241770","file4":"1401241899","file5":"1401241945","file3":"1401241864"},"map_files_photo_id_array":[{"photo_id":"1401241945","filename":"file5"},{"photo_id":"1401241834","filename":"file2"},{"photo_id":"1401241899","filename":"file4"},{"photo_id":"1401241802","filename":"file1"},{"photo_id":"1401241770","filename":"file0"},{"photo_id":"1401241864","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401241864":["hashtag1","hashtag2"]},{"1401241802":["hashtag1","hashtag2"]},{"1401241945":["hashtag1","hashtag2"]},{"1401241834":["hashtag1","hashtag2"]},{"1401241899":["hashtag1","hashtag2"]},{"1401241770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401241864, 1401241802, 1401241945, 1401241834, 1401241899, 1401241770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.137094259262085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:09:46.837473
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_49_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_35_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_34_9618.jpg', '/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_14_9633.jpg', '/home/nano/Desktop/images/10122025/23/48/image_10122025_23_49_05_9632.jpg', '/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_55_10624.jpg', '/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_44_9621.jpg', '/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_35_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_34_9618.jpg
/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_14_9633.jpg
/home/nano/Desktop/images/10122025/23/48/image_10122025_23_49_05_9632.jpg
/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_55_10624.jpg
/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_44_9621.jpg
/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_35_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":["1401242075","1401242158","1401242074","1401242128","1401242097","1401242072"],"photo_ids_order":["1401242072","1401242074","1401242075","1401242097","1401242128","1401242158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a15bf074796693178f8ad496b1d9ce5.jpg","text":"TemporaryFile(/tmp/multipartBody513400401634797424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823047623,"filename":"image_10122025_23_49_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f29a6802a7945e6311c87cba79bed237.jpg","text":"TemporaryFile(/tmp/multipartBody4090085319317782195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823047623,"filename":"image_10122025_23_48_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/047dc9b3e4f246132bb22731ff967d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6357518391004503565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823047623,"filename":"image_10122025_23_49_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/12/27/62bfefb6ff1d65f48feb7b16af979b14.jpg","text":"TemporaryFile(/tmp/multipartBody3023730489252686873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823047623,"filename":"image_10122025_23_48_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/12/27/1a1c1e16306d866c4e55a1380c922994.jpg","text":"TemporaryFile(/tmp/multipartBody1432058252919775412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823047623,"filename":"image_10122025_23_48_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59a9cfc8d38d08e1c39a712357999610.jpg","text":"TemporaryFile(/tmp/multipartBody7691887163074230385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823047623,"filename":"image_10122025_23_49_34_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401242075","file1":"1401242074","file0":"1401242072","file4":"1401242128","file5":"1401242158","file3":"1401242097"},"map_files_photo_id_array":[{"photo_id":"1401242158","filename":"file5"},{"photo_id":"1401242075","filename":"file2"},{"photo_id":"1401242128","filename":"file4"},{"photo_id":"1401242074","filename":"file1"},{"photo_id":"1401242072","filename":"file0"},{"photo_id":"1401242097","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401242075":["hashtag1","hashtag2"]},{"1401242158":["hashtag1","hashtag2"]},{"1401242074":["hashtag1","hashtag2"]},{"1401242128":["hashtag1","hashtag2"]},{"1401242097":["hashtag1","hashtag2"]},{"1401242072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401242075, 1401242158, 1401242074, 1401242128, 1401242097, 1401242072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04071617126465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:10:31.921084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_35_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_47_05_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_45_9617.jpg', '/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_35_10642.jpg', '/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_24_9619.jpg', '/home/nano/Desktop/images/10122025/23/46/image_10122025_23_47_05_10654.jpg', '/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_45_10627.jpg', '/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_45_9617.jpg
/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_35_10642.jpg
/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_24_9619.jpg
/home/nano/Desktop/images/10122025/23/46/image_10122025_23_47_05_10654.jpg
/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_45_10627.jpg
/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_34_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":["1401242318","1401242341","1401242338","1401242370","1401242316","1401242399"],"photo_ids_order":["1401242316","1401242318","1401242338","1401242341","1401242370","1401242399"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1075d4d503353f938b831e32de67898f.jpg","text":"TemporaryFile(/tmp/multipartBody1317758227503405722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823092702,"filename":"image_10122025_23_47_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23ae738eeecd8edd6d1983d958b267da.jpg","text":"TemporaryFile(/tmp/multipartBody3742221002755675580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823092702,"filename":"image_10122025_23_47_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4329758022a026460548d4910d3bcb7.jpg","text":"TemporaryFile(/tmp/multipartBody707042463817377129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823092702,"filename":"image_10122025_23_47_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/12/27/7a7fed381b6db3bed0c8119e70c20c0a.jpg","text":"TemporaryFile(/tmp/multipartBody5310252670549557765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823092702,"filename":"image_10122025_23_46_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6a2dc2ad0cc1c6df899f49e1c702302.jpg","text":"TemporaryFile(/tmp/multipartBody7161999395431214473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823092702,"filename":"image_10122025_23_47_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5ab8d5ab74ff0463a77d6f7fce6b3ab.jpg","text":"TemporaryFile(/tmp/multipartBody4768638375234733581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823092702,"filename":"image_10122025_23_46_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401242338","file1":"1401242318","file0":"1401242316","file4":"1401242370","file5":"1401242399","file3":"1401242341"},"map_files_photo_id_array":[{"photo_id":"1401242399","filename":"file5"},{"photo_id":"1401242338","filename":"file2"},{"photo_id":"1401242370","filename":"file4"},{"photo_id":"1401242318","filename":"file1"},{"photo_id":"1401242316","filename":"file0"},{"photo_id":"1401242341","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401242318":["hashtag1","hashtag2"]},{"1401242341":["hashtag1","hashtag2"]},{"1401242338":["hashtag1","hashtag2"]},{"1401242370":["hashtag1","hashtag2"]},{"1401242316":["hashtag1","hashtag2"]},{"1401242399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401242318, 1401242341, 1401242338, 1401242370, 1401242316, 1401242399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.789329528808594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:11:17.027787
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_45_05_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_25_9617.jpg', '/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_15_10664.jpg', '/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_55_9619.jpg', '/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_34_9617.jpg', '/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_14_9636.jpg', '/home/nano/Desktop/images/10122025/23/44/image_10122025_23_45_05_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_25_9617.jpg
/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_15_10664.jpg
/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_55_9619.jpg
/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_34_9617.jpg
/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_14_9636.jpg
/home/nano/Desktop/images/10122025/23/44/image_10122025_23_45_05_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":["1401242447","1401242566","1401242533","1401242449","1401242500","1401242466"],"photo_ids_order":["1401242447","1401242449","1401242466","1401242500","1401242533","1401242566"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5e5fce693f6fce05a5c3dc3590432c1.jpg","text":"TemporaryFile(/tmp/multipartBody1420578745188287786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823137807,"filename":"image_10122025_23_46_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/782c658826d0779b2e62bfe91c50094e.jpg","text":"TemporaryFile(/tmp/multipartBody7892350964777646288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823137807,"filename":"image_10122025_23_45_05_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30370179d23dd839db32210b9a44b180.jpg","text":"TemporaryFile(/tmp/multipartBody4220055715570393286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823137807,"filename":"image_10122025_23_45_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/12/27/851ce9b9b14871bad05350af877c60a1.jpg","text":"TemporaryFile(/tmp/multipartBody4220039775528269713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823137807,"filename":"image_10122025_23_46_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c1afbce443e520d4b9806443bfe59b1.jpg","text":"TemporaryFile(/tmp/multipartBody7100864524466328758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823137807,"filename":"image_10122025_23_45_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/12/27/c1354c5460d904cbf2abd8fbe9e04fc5.jpg","text":"TemporaryFile(/tmp/multipartBody4893843368752909828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823137807,"filename":"image_10122025_23_45_55_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401242466","file1":"1401242449","file0":"1401242447","file4":"1401242533","file5":"1401242566","file3":"1401242500"},"map_files_photo_id_array":[{"photo_id":"1401242566","filename":"file5"},{"photo_id":"1401242466","filename":"file2"},{"photo_id":"1401242533","filename":"file4"},{"photo_id":"1401242449","filename":"file1"},{"photo_id":"1401242447","filename":"file0"},{"photo_id":"1401242500","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401242447":["hashtag1","hashtag2"]},{"1401242566":["hashtag1","hashtag2"]},{"1401242533":["hashtag1","hashtag2"]},{"1401242449":["hashtag1","hashtag2"]},{"1401242500":["hashtag1","hashtag2"]},{"1401242466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401242447, 1401242566, 1401242533, 1401242449, 1401242500, 1401242466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.909833431243896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:12:02.690086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_44_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_55_10628.jpg', '/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_44_9614.jpg', '/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_25_10625.jpg', '/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_14_9636.jpg', '/home/nano/Desktop/images/10122025/23/43/image_10122025_23_44_05_10631.jpg', '/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_55_10628.jpg
/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_44_9614.jpg
/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_25_10625.jpg
/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_14_9636.jpg
/home/nano/Desktop/images/10122025/23/43/image_10122025_23_44_05_10631.jpg
/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_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":["1401242855","1401242822","1401242896","1401242790","1401242853","1401242862"],"photo_ids_order":["1401242790","1401242822","1401242853","1401242855","1401242862","1401242896"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9866c63a283e47d706e061d05d5bcc2.jpg","text":"TemporaryFile(/tmp/multipartBody2921349909616610071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823183479,"filename":"image_10122025_23_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/12/27/a1ceba7bfdb7f4559f89da704fc9d97d.jpg","text":"TemporaryFile(/tmp/multipartBody5223249187240832262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823183479,"filename":"image_10122025_23_44_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/12/27/2c532eb7bfc16a7eecc5528d4b16c246.jpg","text":"TemporaryFile(/tmp/multipartBody3585660116824766115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823183479,"filename":"image_10122025_23_43_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/12/27/9eab78fb9ea8f82590a842788889b3de.jpg","text":"TemporaryFile(/tmp/multipartBody7743196379108876565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823183479,"filename":"image_10122025_23_44_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c23ef0a920052490ac74ad0c7621506e.jpg","text":"TemporaryFile(/tmp/multipartBody9085065381235235059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823183479,"filename":"image_10122025_23_44_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a4e7e60b3062b172531da3e716d97b6.jpg","text":"TemporaryFile(/tmp/multipartBody1899079940080763273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823183479,"filename":"image_10122025_23_44_05_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401242853","file1":"1401242822","file0":"1401242790","file4":"1401242862","file5":"1401242896","file3":"1401242855"},"map_files_photo_id_array":[{"photo_id":"1401242896","filename":"file5"},{"photo_id":"1401242853","filename":"file2"},{"photo_id":"1401242862","filename":"file4"},{"photo_id":"1401242822","filename":"file1"},{"photo_id":"1401242790","filename":"file0"},{"photo_id":"1401242855","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401242855":["hashtag1","hashtag2"]},{"1401242822":["hashtag1","hashtag2"]},{"1401242896":["hashtag1","hashtag2"]},{"1401242790":["hashtag1","hashtag2"]},{"1401242853":["hashtag1","hashtag2"]},{"1401242862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401242855, 1401242822, 1401242896, 1401242790, 1401242853, 1401242862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71614384651184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:12:47.142498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', '/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg', '/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg', '/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', '/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', '/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg
/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg
/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg
/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg
/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg
/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6649570465087891 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:13:02.825684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', '/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg', '/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg', '/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', '/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', '/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg
/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg
/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg
/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg
/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg
/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_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":["1401243586","1401243497","1401243501","1401243644","1401243551","1401243467"],"photo_ids_order":["1401243467","1401243497","1401243501","1401243551","1401243586","1401243644"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a3fe9f495006544a8727e054ff7ee0c.jpg","text":"TemporaryFile(/tmp/multipartBody3795536464960036038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823243631,"filename":"image_10122025_23_41_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2349030389f717061ceb1d40a998416.jpg","text":"TemporaryFile(/tmp/multipartBody6527462016653246752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823243631,"filename":"image_10122025_23_43_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e54df5e097d86d821c499e026461e84.jpg","text":"TemporaryFile(/tmp/multipartBody5664463089504227458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823243631,"filename":"image_10122025_23_42_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/12/27/991ae079309c9ae9671520c7ca16f287.jpg","text":"TemporaryFile(/tmp/multipartBody2190269514715323494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823243631,"filename":"image_10122025_23_41_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/12/27/827596611addcca78d2e555045c8e755.jpg","text":"TemporaryFile(/tmp/multipartBody3200852130543472057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823243631,"filename":"image_10122025_23_42_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ee9e6c979632845dfcf48f9b1eac7df.jpg","text":"TemporaryFile(/tmp/multipartBody3977603763704802814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823243631,"filename":"image_10122025_23_43_45_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401243501","file1":"1401243497","file0":"1401243467","file4":"1401243586","file5":"1401243644","file3":"1401243551"},"map_files_photo_id_array":[{"photo_id":"1401243644","filename":"file5"},{"photo_id":"1401243501","filename":"file2"},{"photo_id":"1401243586","filename":"file4"},{"photo_id":"1401243497","filename":"file1"},{"photo_id":"1401243467","filename":"file0"},{"photo_id":"1401243551","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401243586":["hashtag1","hashtag2"]},{"1401243497":["hashtag1","hashtag2"]},{"1401243501":["hashtag1","hashtag2"]},{"1401243644":["hashtag1","hashtag2"]},{"1401243551":["hashtag1","hashtag2"]},{"1401243467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401243586, 1401243497, 1401243501, 1401243644, 1401243551, 1401243467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49652338027954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:13:47.253254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_41_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_40_05_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_14_9643.jpg', '/home/nano/Desktop/images/10122025/23/40/image_10122025_23_41_04_9633.jpg', '/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_44_9617.jpg', '/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_35_9617.jpg', '/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_25_10645.jpg', '/home/nano/Desktop/images/10122025/23/39/image_10122025_23_40_05_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_14_9643.jpg
/home/nano/Desktop/images/10122025/23/40/image_10122025_23_41_04_9633.jpg
/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_44_9617.jpg
/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_35_9617.jpg
/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_25_10645.jpg
/home/nano/Desktop/images/10122025/23/39/image_10122025_23_40_05_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":["1401243862","1401243829","1401243828","1401243831","1401243797","1401243827"],"photo_ids_order":["1401243797","1401243827","1401243828","1401243829","1401243831","1401243862"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4db341af8f27df168a2337c2090b0cc.jpg","text":"TemporaryFile(/tmp/multipartBody6023252580657809038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823288031,"filename":"image_10122025_23_40_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7dea2eb4f05ba9ebd3abc8379db863f1.jpg","text":"TemporaryFile(/tmp/multipartBody651502480927471217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823288031,"filename":"image_10122025_23_40_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08b6d4485a9a57890902cf8acd954b07.jpg","text":"TemporaryFile(/tmp/multipartBody7590478226473924175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823288031,"filename":"image_10122025_23_40_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/12/27/41275e80def9db548bf6b19a235266b8.jpg","text":"TemporaryFile(/tmp/multipartBody5211887441784656234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823288031,"filename":"image_10122025_23_40_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b38ed09f5d46dbc2426bc1431234603f.jpg","text":"TemporaryFile(/tmp/multipartBody1721348078846853810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823288031,"filename":"image_10122025_23_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/12/27/f5bf05ecb34ec58d33ae81b7bf3c4946.jpg","text":"TemporaryFile(/tmp/multipartBody7527139808893748175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823288031,"filename":"image_10122025_23_41_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401243828","file1":"1401243827","file0":"1401243797","file4":"1401243831","file5":"1401243862","file3":"1401243829"},"map_files_photo_id_array":[{"photo_id":"1401243862","filename":"file5"},{"photo_id":"1401243828","filename":"file2"},{"photo_id":"1401243831","filename":"file4"},{"photo_id":"1401243827","filename":"file1"},{"photo_id":"1401243797","filename":"file0"},{"photo_id":"1401243829","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401243862":["hashtag1","hashtag2"]},{"1401243829":["hashtag1","hashtag2"]},{"1401243828":["hashtag1","hashtag2"]},{"1401243831":["hashtag1","hashtag2"]},{"1401243797":["hashtag1","hashtag2"]},{"1401243827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401243862, 1401243829, 1401243828, 1401243831, 1401243797, 1401243827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9764199256897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:14:32.334023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_24_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_55_10628.jpg', '/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_44_9619.jpg', '/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_24_9617.jpg', '/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_15_9626.jpg', '/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_54_9635.jpg', '/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_24_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_55_10628.jpg
/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_44_9619.jpg
/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_24_9617.jpg
/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_15_9626.jpg
/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_54_9635.jpg
/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_24_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":["1401243925","1401243907","1401243912","1401243909","1401243906","1401243926"],"photo_ids_order":["1401243906","1401243907","1401243909","1401243912","1401243925","1401243926"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39a25e3b4fbad3d4a68417bf27ae0086.jpg","text":"TemporaryFile(/tmp/multipartBody2177885727219540642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823333112,"filename":"image_10122025_23_38_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/12/27/afd0211737451d471ebc6e9905e432bd.jpg","text":"TemporaryFile(/tmp/multipartBody1038502366116961056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823333112,"filename":"image_10122025_23_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/12/27/fd1b19168f046fceef52749ad6d64a62.jpg","text":"TemporaryFile(/tmp/multipartBody3158875939332232445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823333112,"filename":"image_10122025_23_39_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4062072da3f532295a0f4b50b95b11eb.jpg","text":"TemporaryFile(/tmp/multipartBody4211643092199367675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823333112,"filename":"image_10122025_23_39_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/12/27/2446988a6359904b751e542fa31f511f.jpg","text":"TemporaryFile(/tmp/multipartBody7845639778712965770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823333112,"filename":"image_10122025_23_39_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/734522e7bfc8142a535fdd7ff445b608.jpg","text":"TemporaryFile(/tmp/multipartBody5155230764445831524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823333112,"filename":"image_10122025_23_38_24_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401243909","file1":"1401243907","file0":"1401243906","file4":"1401243925","file5":"1401243926","file3":"1401243912"},"map_files_photo_id_array":[{"photo_id":"1401243926","filename":"file5"},{"photo_id":"1401243909","filename":"file2"},{"photo_id":"1401243925","filename":"file4"},{"photo_id":"1401243907","filename":"file1"},{"photo_id":"1401243906","filename":"file0"},{"photo_id":"1401243912","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401243925":["hashtag1","hashtag2"]},{"1401243907":["hashtag1","hashtag2"]},{"1401243912":["hashtag1","hashtag2"]},{"1401243909":["hashtag1","hashtag2"]},{"1401243906":["hashtag1","hashtag2"]},{"1401243926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401243925, 1401243907, 1401243912, 1401243909, 1401243906, 1401243926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99565863609314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:15:17.435614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_15_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_38_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_15_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_15_10661.jpg', '/home/nano/Desktop/images/10122025/23/37/image_10122025_23_38_04_9620.jpg', '/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_55_9615.jpg', '/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_34_9635.jpg', '/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_25_9617.jpg', '/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_15_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_15_10661.jpg
/home/nano/Desktop/images/10122025/23/37/image_10122025_23_38_04_9620.jpg
/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_55_9615.jpg
/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_34_9635.jpg
/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_25_9617.jpg
/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_15_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":["1401244033","1401244015","1401244074","1401244128","1401244035","1401244031"],"photo_ids_order":["1401244015","1401244031","1401244033","1401244035","1401244074","1401244128"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/843925eaf6c74fc3c6c00c48a2ee2566.jpg","text":"TemporaryFile(/tmp/multipartBody466531603297914550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823378217,"filename":"image_10122025_23_37_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34f61f4334a3d801bf7f8184623c4062.jpg","text":"TemporaryFile(/tmp/multipartBody3336481526796229845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823378217,"filename":"image_10122025_23_38_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efd25ed8f89b6d085a06c26b09af221a.jpg","text":"TemporaryFile(/tmp/multipartBody6996595600282358801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823378217,"filename":"image_10122025_23_37_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c966d5852dd217e784fddd489ae8866.jpg","text":"TemporaryFile(/tmp/multipartBody7419796957590509507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823378217,"filename":"image_10122025_23_37_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d20c6dfe7088bf70785eb7fa539df7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5167408128937852489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823378217,"filename":"image_10122025_23_37_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/12/27/6d9398c0efbf9a6b9f7ccaa3e729d19f.jpg","text":"TemporaryFile(/tmp/multipartBody1023206768594474147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823378217,"filename":"image_10122025_23_38_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244033","file1":"1401244031","file0":"1401244015","file4":"1401244074","file5":"1401244128","file3":"1401244035"},"map_files_photo_id_array":[{"photo_id":"1401244128","filename":"file5"},{"photo_id":"1401244033","filename":"file2"},{"photo_id":"1401244074","filename":"file4"},{"photo_id":"1401244031","filename":"file1"},{"photo_id":"1401244015","filename":"file0"},{"photo_id":"1401244035","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244033":["hashtag1","hashtag2"]},{"1401244015":["hashtag1","hashtag2"]},{"1401244074":["hashtag1","hashtag2"]},{"1401244128":["hashtag1","hashtag2"]},{"1401244035":["hashtag1","hashtag2"]},{"1401244031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244033, 1401244015, 1401244074, 1401244128, 1401244035, 1401244031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28762245178223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:16:03.078604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_37_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_35_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/36/image_10122025_23_37_04_9619.jpg', '/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_44_9617.jpg', '/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_35_9618.jpg', '/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_25_10627.jpg', '/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_44_9615.jpg', '/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_35_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/36/image_10122025_23_37_04_9619.jpg
/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_44_9617.jpg
/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_35_9618.jpg
/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_25_10627.jpg
/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_44_9615.jpg
/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_35_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":["1401244281","1401244278","1401244263","1401244277","1401244259","1401244276"],"photo_ids_order":["1401244259","1401244263","1401244276","1401244277","1401244278","1401244281"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f606131a9c19a7c7fe60faff8bb954ba.jpg","text":"TemporaryFile(/tmp/multipartBody8044980466086276284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823423868,"filename":"image_10122025_23_35_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59ad6243709c54a4ac2997ec58a11402.jpg","text":"TemporaryFile(/tmp/multipartBody7472565294189122827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823423868,"filename":"image_10122025_23_35_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/12/27/f5321d263f7e54ce2c0dcd8741a21349.jpg","text":"TemporaryFile(/tmp/multipartBody6685864190411471149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823423868,"filename":"image_10122025_23_36_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/12/27/e30f7fd4f0261d286d36e4eed0d507d2.jpg","text":"TemporaryFile(/tmp/multipartBody8330548197620175898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823423868,"filename":"image_10122025_23_36_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4325baa12e912e8223af544afabbcb93.jpg","text":"TemporaryFile(/tmp/multipartBody2878456805693565470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823423868,"filename":"image_10122025_23_37_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/12/27/22e12ea759a6d40946d3005a6a4a23a6.jpg","text":"TemporaryFile(/tmp/multipartBody8705266106019739870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823423868,"filename":"image_10122025_23_36_35_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244276","file1":"1401244263","file0":"1401244259","file4":"1401244278","file5":"1401244281","file3":"1401244277"},"map_files_photo_id_array":[{"photo_id":"1401244281","filename":"file5"},{"photo_id":"1401244276","filename":"file2"},{"photo_id":"1401244278","filename":"file4"},{"photo_id":"1401244263","filename":"file1"},{"photo_id":"1401244259","filename":"file0"},{"photo_id":"1401244277","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244281":["hashtag1","hashtag2"]},{"1401244278":["hashtag1","hashtag2"]},{"1401244263":["hashtag1","hashtag2"]},{"1401244277":["hashtag1","hashtag2"]},{"1401244259":["hashtag1","hashtag2"]},{"1401244276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244281, 1401244278, 1401244263, 1401244277, 1401244259, 1401244276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94698214530945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:16:47.549750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_35_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_15_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/34/image_10122025_23_35_05_10632.jpg', '/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_54_9618.jpg', '/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_45_9619.jpg', '/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_24_9618.jpg', '/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_15_9653.jpg', '/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/34/image_10122025_23_35_05_10632.jpg
/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_54_9618.jpg
/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_45_9619.jpg
/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_24_9618.jpg
/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_15_9653.jpg
/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_34_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":["1401244351","1401244339","1401244309","1401244295","1401244294","1401244363"],"photo_ids_order":["1401244294","1401244295","1401244309","1401244339","1401244351","1401244363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b733a805eba58d5c002cdaff0a8d054.jpg","text":"TemporaryFile(/tmp/multipartBody6070338756767952996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823468323,"filename":"image_10122025_23_34_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b6c2a66882c7404019549f0ced54abc.jpg","text":"TemporaryFile(/tmp/multipartBody4040977025709605938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823468323,"filename":"image_10122025_23_34_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/12/27/15030cd9d67d82f01a3be9cf3e14f8f5.jpg","text":"TemporaryFile(/tmp/multipartBody3134817207009924374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823468323,"filename":"image_10122025_23_34_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bef6fa124f4d871424edbbd34c9e3087.jpg","text":"TemporaryFile(/tmp/multipartBody8919762228007211841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823468323,"filename":"image_10122025_23_34_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/12/27/120ef9b56ec39c1024b2995190acc6d7.jpg","text":"TemporaryFile(/tmp/multipartBody7843610916432992843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823468323,"filename":"image_10122025_23_35_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0d6758ecd917f940ee8ffb7ea619c06.jpg","text":"TemporaryFile(/tmp/multipartBody7974466046822192060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823468323,"filename":"image_10122025_23_33_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244309","file1":"1401244295","file0":"1401244294","file4":"1401244351","file5":"1401244363","file3":"1401244339"},"map_files_photo_id_array":[{"photo_id":"1401244363","filename":"file5"},{"photo_id":"1401244309","filename":"file2"},{"photo_id":"1401244351","filename":"file4"},{"photo_id":"1401244295","filename":"file1"},{"photo_id":"1401244294","filename":"file0"},{"photo_id":"1401244339","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244351":["hashtag1","hashtag2"]},{"1401244339":["hashtag1","hashtag2"]},{"1401244309":["hashtag1","hashtag2"]},{"1401244295":["hashtag1","hashtag2"]},{"1401244294":["hashtag1","hashtag2"]},{"1401244363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244351, 1401244339, 1401244309, 1401244295, 1401244294, 1401244363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.689091205596924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:17:32.646996
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/09/16/image_27122025_09_17_04_9514.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/09/16/image_27122025_09_17_04_9514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/09/16/image_27122025_09_17_04_9514.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401244371"],"photo_id":"1401244371","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68bd14c04426b492bf9387df5a747867.jpg","text":"TemporaryFile(/tmp/multipartBody4821646118385349675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823512885,"filename":"image_27122025_09_17_04_9514.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401244371"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401244371"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.811869382858276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:17:47.647649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_15_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_32_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_25_9619.jpg', '/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_25_9618.jpg', '/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_15_10656.jpg', '/home/nano/Desktop/images/10122025/23/31/image_10122025_23_32_04_9624.jpg', '/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_55_10630.jpg', '/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_25_9619.jpg
/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_25_9618.jpg
/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_15_10656.jpg
/home/nano/Desktop/images/10122025/23/31/image_10122025_23_32_04_9624.jpg
/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_55_10630.jpg
/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_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":["1401244405","1401244398","1401244410","1401244407","1401244412","1401244375"],"photo_ids_order":["1401244375","1401244398","1401244405","1401244407","1401244410","1401244412"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91e85a5c64f5efa77d558867bbe261f2.jpg","text":"TemporaryFile(/tmp/multipartBody7246604983475450272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823528417,"filename":"image_10122025_23_32_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9af296bf4f1af6245c547298a75f0484.jpg","text":"TemporaryFile(/tmp/multipartBody2538148715439646476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823528417,"filename":"image_10122025_23_32_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a3703306edc2fd704699ca00ad19b76.jpg","text":"TemporaryFile(/tmp/multipartBody2260092818954017469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823528417,"filename":"image_10122025_23_31_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c13aa4f40c945a0f26b33ae15e6d0185.jpg","text":"TemporaryFile(/tmp/multipartBody935890743012458487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823528417,"filename":"image_10122025_23_32_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/12/27/fe35a06c4193169c1a0ad73bf67f1fd8.jpg","text":"TemporaryFile(/tmp/multipartBody10046241325921494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823528417,"filename":"image_10122025_23_31_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/12/27/42b3424e2f84af4054c23a65a33f8a6e.jpg","text":"TemporaryFile(/tmp/multipartBody215759113732141937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823528417,"filename":"image_10122025_23_33_25_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244405","file1":"1401244398","file0":"1401244375","file4":"1401244410","file5":"1401244412","file3":"1401244407"},"map_files_photo_id_array":[{"photo_id":"1401244412","filename":"file5"},{"photo_id":"1401244405","filename":"file2"},{"photo_id":"1401244410","filename":"file4"},{"photo_id":"1401244398","filename":"file1"},{"photo_id":"1401244375","filename":"file0"},{"photo_id":"1401244407","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244405":["hashtag1","hashtag2"]},{"1401244398":["hashtag1","hashtag2"]},{"1401244410":["hashtag1","hashtag2"]},{"1401244407":["hashtag1","hashtag2"]},{"1401244412":["hashtag1","hashtag2"]},{"1401244375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244405, 1401244398, 1401244410, 1401244407, 1401244412, 1401244375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.084269285202026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:18:32.837612
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_31_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_15_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_30_05_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_25_10626.jpg', '/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_14_9626.jpg', '/home/nano/Desktop/images/10122025/23/30/image_10122025_23_31_05_9620.jpg', '/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_24_9616.jpg', '/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_15_9633.jpg', '/home/nano/Desktop/images/10122025/23/29/image_10122025_23_30_05_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_25_10626.jpg
/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_14_9626.jpg
/home/nano/Desktop/images/10122025/23/30/image_10122025_23_31_05_9620.jpg
/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_24_9616.jpg
/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_15_9633.jpg
/home/nano/Desktop/images/10122025/23/29/image_10122025_23_30_05_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":["1401244438","1401244420","1401244422","1401244478","1401244469","1401244424"],"photo_ids_order":["1401244420","1401244422","1401244424","1401244438","1401244469","1401244478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d64e3a5f09ad83b542d18d72427ebfe.jpg","text":"TemporaryFile(/tmp/multipartBody2422611648912152757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823573612,"filename":"image_10122025_23_30_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/12/27/4955199b111e83ca814fda7c177423e0.jpg","text":"TemporaryFile(/tmp/multipartBody6497305803666955232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823573612,"filename":"image_10122025_23_31_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3933af82c70df1753c68550aff86b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody5317829079386520878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823573612,"filename":"image_10122025_23_31_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/12/27/5e75699cb005673d6507354c3d3dc27e.jpg","text":"TemporaryFile(/tmp/multipartBody3442642134186289478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823573612,"filename":"image_10122025_23_30_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e230a8140e27d60cd3f56ff681bb2395.jpg","text":"TemporaryFile(/tmp/multipartBody7157456366953413361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823573612,"filename":"image_10122025_23_30_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28fe5103d99aa0983d6cb7c793516407.jpg","text":"TemporaryFile(/tmp/multipartBody8686674163747503440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823573612,"filename":"image_10122025_23_31_05_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244424","file1":"1401244422","file0":"1401244420","file4":"1401244469","file5":"1401244478","file3":"1401244438"},"map_files_photo_id_array":[{"photo_id":"1401244478","filename":"file5"},{"photo_id":"1401244424","filename":"file2"},{"photo_id":"1401244469","filename":"file4"},{"photo_id":"1401244422","filename":"file1"},{"photo_id":"1401244420","filename":"file0"},{"photo_id":"1401244438","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244438":["hashtag1","hashtag2"]},{"1401244420":["hashtag1","hashtag2"]},{"1401244422":["hashtag1","hashtag2"]},{"1401244478":["hashtag1","hashtag2"]},{"1401244469":["hashtag1","hashtag2"]},{"1401244424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244438, 1401244420, 1401244422, 1401244478, 1401244469, 1401244424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.028496503829956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:19:16.844240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_15_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_54_9617.jpg', '/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_24_9617.jpg', '/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_15_10644.jpg', '/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_34_9620.jpg', '/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_25_9617.jpg', '/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_15_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_54_9617.jpg
/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_24_9617.jpg
/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_15_10644.jpg
/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_34_9620.jpg
/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_25_9617.jpg
/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_15_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":["1401244621","1401244612","1401244614","1401244623","1401244619","1401244616"],"photo_ids_order":["1401244612","1401244614","1401244616","1401244619","1401244621","1401244623"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3c3f0b54419f22c7ef851045ec1ca7e.jpg","text":"TemporaryFile(/tmp/multipartBody4258226607974027122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823617621,"filename":"image_10122025_23_28_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ff8efd36e5a7e5a279e53c452a15c0d.jpg","text":"TemporaryFile(/tmp/multipartBody2579305785807894791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823617621,"filename":"image_10122025_23_29_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/12/27/201ab4ff83ff0380830f3adcf105fa18.jpg","text":"TemporaryFile(/tmp/multipartBody1470959683396514202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823617621,"filename":"image_10122025_23_29_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/12/27/9d7ddad5896d76ea45cd3a2780f97156.jpg","text":"TemporaryFile(/tmp/multipartBody5771527535564416021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823617621,"filename":"image_10122025_23_28_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2428c1341982a0329dfc46b5e4e4ca9.jpg","text":"TemporaryFile(/tmp/multipartBody3756981526772472142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823617621,"filename":"image_10122025_23_28_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/12/27/f9d453e7ba22d528c834444b2f045002.jpg","text":"TemporaryFile(/tmp/multipartBody5241462883206783941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823617621,"filename":"image_10122025_23_29_15_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244616","file1":"1401244614","file0":"1401244612","file4":"1401244621","file5":"1401244623","file3":"1401244619"},"map_files_photo_id_array":[{"photo_id":"1401244623","filename":"file5"},{"photo_id":"1401244616","filename":"file2"},{"photo_id":"1401244621","filename":"file4"},{"photo_id":"1401244614","filename":"file1"},{"photo_id":"1401244612","filename":"file0"},{"photo_id":"1401244619","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244621":["hashtag1","hashtag2"]},{"1401244612":["hashtag1","hashtag2"]},{"1401244614":["hashtag1","hashtag2"]},{"1401244623":["hashtag1","hashtag2"]},{"1401244619":["hashtag1","hashtag2"]},{"1401244616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244621, 1401244612, 1401244614, 1401244623, 1401244619, 1401244616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55285978317261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:20:02.417713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_28_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_27_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_26_05_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/27/image_10122025_23_28_04_9620.jpg', '/home/nano/Desktop/images/10122025/23/27/image_10122025_23_27_55_10632.jpg', '/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_55_10629.jpg', '/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', '/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_35_10626.jpg', '/home/nano/Desktop/images/10122025/23/25/image_10122025_23_26_05_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/27/image_10122025_23_28_04_9620.jpg
/home/nano/Desktop/images/10122025/23/27/image_10122025_23_27_55_10632.jpg
/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_55_10629.jpg
/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg
/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_35_10626.jpg
/home/nano/Desktop/images/10122025/23/25/image_10122025_23_26_05_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":["1401244633","1401244635","1401244629","1401244638","1401244631","1401244628"],"photo_ids_order":["1401244628","1401244629","1401244631","1401244633","1401244635","1401244638"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6232e0371f5aa37ecbaad86b574b314f.jpg","text":"TemporaryFile(/tmp/multipartBody8194920111983050850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823663223,"filename":"image_10122025_23_26_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/12/27/d6d9d3989e7d439fe3691de498eaa86f.jpg","text":"TemporaryFile(/tmp/multipartBody1681111970972819135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823663223,"filename":"image_10122025_23_26_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8086c7159108fb74bf0d6bc7738a257c.jpg","text":"TemporaryFile(/tmp/multipartBody6794345348689152430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823663223,"filename":"image_10122025_23_27_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d549d3741b5e3a91d0966f82377dac77.jpg","text":"TemporaryFile(/tmp/multipartBody6756363645951113858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823663223,"filename":"image_10122025_23_26_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b406988d5f7f0124b17d607b4b2b8885.jpg","text":"TemporaryFile(/tmp/multipartBody5316005105928541933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823663223,"filename":"image_10122025_23_26_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0ac989a44aa3dee6cf17d514e7d278b.jpg","text":"TemporaryFile(/tmp/multipartBody5142402334327851207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823663223,"filename":"image_10122025_23_28_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244631","file1":"1401244629","file0":"1401244628","file4":"1401244635","file5":"1401244638","file3":"1401244633"},"map_files_photo_id_array":[{"photo_id":"1401244638","filename":"file5"},{"photo_id":"1401244631","filename":"file2"},{"photo_id":"1401244635","filename":"file4"},{"photo_id":"1401244629","filename":"file1"},{"photo_id":"1401244628","filename":"file0"},{"photo_id":"1401244633","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244633":["hashtag1","hashtag2"]},{"1401244635":["hashtag1","hashtag2"]},{"1401244629":["hashtag1","hashtag2"]},{"1401244638":["hashtag1","hashtag2"]},{"1401244631":["hashtag1","hashtag2"]},{"1401244628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244633, 1401244635, 1401244629, 1401244638, 1401244631, 1401244628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19740414619446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:20:46.937075
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_35_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_15_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_24_04_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_35_10643.jpg', '/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', '/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_15_9641.jpg', '/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_54_9620.jpg', '/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_45_10625.jpg', '/home/nano/Desktop/images/10122025/23/23/image_10122025_23_24_04_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_35_10643.jpg
/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg
/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_15_9641.jpg
/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_54_9620.jpg
/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_45_10625.jpg
/home/nano/Desktop/images/10122025/23/23/image_10122025_23_24_04_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":["1401244645","1401244650","1401244653","1401244647","1401244649","1401244648"],"photo_ids_order":["1401244645","1401244647","1401244648","1401244649","1401244650","1401244653"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/232c69b7aea0744ced23eddc579fc08f.jpg","text":"TemporaryFile(/tmp/multipartBody8662360849267039298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823707726,"filename":"image_10122025_23_25_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7908c2307d652f7c81ad02b0f212f9fd.jpg","text":"TemporaryFile(/tmp/multipartBody8560733705876841808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823707726,"filename":"image_10122025_23_24_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/141dfe6d03915da92ddde2f67bfd8b55.jpg","text":"TemporaryFile(/tmp/multipartBody8122647716842559444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823707726,"filename":"image_10122025_23_24_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/12/27/f836358b1198272e21043d85614b4492.jpg","text":"TemporaryFile(/tmp/multipartBody7713627051316307099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823707726,"filename":"image_10122025_23_25_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/12/27/9d1597174f14c65d0604344faff0496a.jpg","text":"TemporaryFile(/tmp/multipartBody376808909957760417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823707726,"filename":"image_10122025_23_24_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/12/27/d644462fb8c952a08e3f65384e2420f0.jpg","text":"TemporaryFile(/tmp/multipartBody3583861267095747491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823707726,"filename":"image_10122025_23_25_15_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244648","file1":"1401244647","file0":"1401244645","file4":"1401244650","file5":"1401244653","file3":"1401244649"},"map_files_photo_id_array":[{"photo_id":"1401244653","filename":"file5"},{"photo_id":"1401244648","filename":"file2"},{"photo_id":"1401244650","filename":"file4"},{"photo_id":"1401244647","filename":"file1"},{"photo_id":"1401244645","filename":"file0"},{"photo_id":"1401244649","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244645":["hashtag1","hashtag2"]},{"1401244650":["hashtag1","hashtag2"]},{"1401244653":["hashtag1","hashtag2"]},{"1401244647":["hashtag1","hashtag2"]},{"1401244649":["hashtag1","hashtag2"]},{"1401244648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244645, 1401244650, 1401244653, 1401244647, 1401244649, 1401244648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09340858459473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:21:32.143528
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_25_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_45_10652.jpg', '/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_25_10627.jpg', '/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_14_9630.jpg', '/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_55_10626.jpg', '/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_35_9618.jpg', '/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_45_10652.jpg
/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_25_10627.jpg
/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_14_9630.jpg
/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_55_10626.jpg
/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_35_9618.jpg
/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_25_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":["1401244663","1401244668","1401244728","1401244664","1401244696","1401244666"],"photo_ids_order":["1401244663","1401244664","1401244666","1401244668","1401244696","1401244728"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f57aa835fe2b96bec10bcc6163cbfd3.jpg","text":"TemporaryFile(/tmp/multipartBody9019247262572009780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823752925,"filename":"image_10122025_23_23_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e57785e8a0ca2cd377bb22b841e54ce0.jpg","text":"TemporaryFile(/tmp/multipartBody311647474271298493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823752925,"filename":"image_10122025_23_22_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9668ad3d23a6cfa0cf460ba5eaa45d8.jpg","text":"TemporaryFile(/tmp/multipartBody1448606647202084393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823752925,"filename":"image_10122025_23_22_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8a4f161ba28d5680a29d9697b7dd503.jpg","text":"TemporaryFile(/tmp/multipartBody5504092493486299333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823752925,"filename":"image_10122025_23_23_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8331959caab9de82261f1307d8ebd283.jpg","text":"TemporaryFile(/tmp/multipartBody4077063991276531702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823752925,"filename":"image_10122025_23_22_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbde2326f821becda0f98cf4555efdc2.jpg","text":"TemporaryFile(/tmp/multipartBody8005179464844154304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823752925,"filename":"image_10122025_23_23_14_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244666","file1":"1401244664","file0":"1401244663","file4":"1401244696","file5":"1401244728","file3":"1401244668"},"map_files_photo_id_array":[{"photo_id":"1401244728","filename":"file5"},{"photo_id":"1401244666","filename":"file2"},{"photo_id":"1401244696","filename":"file4"},{"photo_id":"1401244664","filename":"file1"},{"photo_id":"1401244663","filename":"file0"},{"photo_id":"1401244668","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244663":["hashtag1","hashtag2"]},{"1401244668":["hashtag1","hashtag2"]},{"1401244728":["hashtag1","hashtag2"]},{"1401244664":["hashtag1","hashtag2"]},{"1401244696":["hashtag1","hashtag2"]},{"1401244666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244663, 1401244668, 1401244728, 1401244664, 1401244696, 1401244666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00253248214722 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:22:17.253825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_14_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_45_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_14_9651.jpg', '/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_44_9619.jpg', '/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_35_10629.jpg', '/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg', '/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_54_9635.jpg', '/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_45_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_14_9651.jpg
/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_44_9619.jpg
/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_35_10629.jpg
/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg
/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_54_9635.jpg
/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_45_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":["1401244776","1401244778","1401244783","1401244786","1401244789","1401244780"],"photo_ids_order":["1401244776","1401244778","1401244780","1401244783","1401244786","1401244789"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d110f2b9a3e1bb25e4c5b799b402e9cb.jpg","text":"TemporaryFile(/tmp/multipartBody6568966432785176836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823798040,"filename":"image_10122025_23_22_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/12/27/7a644101de0a017710e839e3ee431c89.jpg","text":"TemporaryFile(/tmp/multipartBody6341495185684230732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823798040,"filename":"image_10122025_23_21_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/12/27/50d7ed22d4e1175beb5a311b9d516f7f.jpg","text":"TemporaryFile(/tmp/multipartBody7570825365515135242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823798040,"filename":"image_10122025_23_21_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98e472c55bc698542d633cd75ede61a3.jpg","text":"TemporaryFile(/tmp/multipartBody8377823420242631798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823798040,"filename":"image_10122025_23_20_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/12/27/6c2f43deb98db36bba5ac94ca52f7b6b.jpg","text":"TemporaryFile(/tmp/multipartBody4036466392133999291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823798040,"filename":"image_10122025_23_20_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b9375d98aa64ffc80868aba789b88cd.jpg","text":"TemporaryFile(/tmp/multipartBody3211098485064419126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823798040,"filename":"image_10122025_23_21_35_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401244780","file1":"1401244778","file0":"1401244776","file4":"1401244786","file5":"1401244789","file3":"1401244783"},"map_files_photo_id_array":[{"photo_id":"1401244789","filename":"file5"},{"photo_id":"1401244780","filename":"file2"},{"photo_id":"1401244786","filename":"file4"},{"photo_id":"1401244778","filename":"file1"},{"photo_id":"1401244776","filename":"file0"},{"photo_id":"1401244783","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401244776":["hashtag1","hashtag2"]},{"1401244778":["hashtag1","hashtag2"]},{"1401244783":["hashtag1","hashtag2"]},{"1401244786":["hashtag1","hashtag2"]},{"1401244789":["hashtag1","hashtag2"]},{"1401244780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401244776, 1401244778, 1401244783, 1401244786, 1401244789, 1401244780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.906635761260986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:23:02.896943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_15_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_20_04_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_55_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_45_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_35_10628.jpg', '/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_24_9620.jpg', '/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_15_10680.jpg', '/home/nano/Desktop/images/10122025/23/19/image_10122025_23_20_04_9645.jpg', '/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_55_9636.jpg', '/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_45_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_35_10628.jpg
/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_24_9620.jpg
/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_15_10680.jpg
/home/nano/Desktop/images/10122025/23/19/image_10122025_23_20_04_9645.jpg
/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_55_9636.jpg
/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_45_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":["1401245286","1401245241","1401245343","1401245276","1401245147","1401245309"],"photo_ids_order":["1401245147","1401245241","1401245276","1401245286","1401245309","1401245343"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b68d36bd4f0d843fd47ce18e0a87e057.jpg","text":"TemporaryFile(/tmp/multipartBody4020499075437889547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823843715,"filename":"image_10122025_23_20_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/12/27/d9bf194b95a44c5052542ee81b645c4c.jpg","text":"TemporaryFile(/tmp/multipartBody4177309532866714891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823843715,"filename":"image_10122025_23_20_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/12/27/872276dab140cda4aafef22962efeb98.jpg","text":"TemporaryFile(/tmp/multipartBody4428597257899097331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823843715,"filename":"image_10122025_23_19_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60ff9b0df99c4ae2a67c3ff8d06e9b42.jpg","text":"TemporaryFile(/tmp/multipartBody8753235664103895411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823843715,"filename":"image_10122025_23_20_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a419a1010966671c78eb1ef7d1155fa.jpg","text":"TemporaryFile(/tmp/multipartBody4918158377067118729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823843715,"filename":"image_10122025_23_20_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84073668ae65be0abb87e827035015a1.jpg","text":"TemporaryFile(/tmp/multipartBody7540605356307362389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823843715,"filename":"image_10122025_23_19_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401245276","file1":"1401245241","file0":"1401245147","file4":"1401245309","file5":"1401245343","file3":"1401245286"},"map_files_photo_id_array":[{"photo_id":"1401245343","filename":"file5"},{"photo_id":"1401245276","filename":"file2"},{"photo_id":"1401245309","filename":"file4"},{"photo_id":"1401245241","filename":"file1"},{"photo_id":"1401245147","filename":"file0"},{"photo_id":"1401245286","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401245286":["hashtag1","hashtag2"]},{"1401245241":["hashtag1","hashtag2"]},{"1401245343":["hashtag1","hashtag2"]},{"1401245276":["hashtag1","hashtag2"]},{"1401245147":["hashtag1","hashtag2"]},{"1401245309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401245286, 1401245241, 1401245343, 1401245276, 1401245147, 1401245309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.693279504776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:23:47.295414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/18/image_10122025_23_18_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_18_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_25_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_34_9619.jpg', '/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_25_9618.jpg', '/home/nano/Desktop/images/10122025/23/18/image_10122025_23_18_14_9637.jpg', '/home/nano/Desktop/images/10122025/23/17/image_10122025_23_18_05_9647.jpg', '/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_35_9620.jpg', '/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_25_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_34_9619.jpg
/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_25_9618.jpg
/home/nano/Desktop/images/10122025/23/18/image_10122025_23_18_14_9637.jpg
/home/nano/Desktop/images/10122025/23/17/image_10122025_23_18_05_9647.jpg
/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_35_9620.jpg
/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_25_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":["1401245856","1401245730","1401245652","1401245822","1401245890","1401245790"],"photo_ids_order":["1401245652","1401245730","1401245790","1401245822","1401245856","1401245890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7409b8e79fc4506ba93228880a4761e.jpg","text":"TemporaryFile(/tmp/multipartBody2133506570454020142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823888075,"filename":"image_10122025_23_17_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cfa68ac2d2367443bdd6e801de40431.jpg","text":"TemporaryFile(/tmp/multipartBody6804072712612460794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823888075,"filename":"image_10122025_23_19_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd2d384d4edc9b3fec56c0015800f4c5.jpg","text":"TemporaryFile(/tmp/multipartBody1516368646044927921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823888075,"filename":"image_10122025_23_19_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/12/27/0df91f124cc719241269842809d6ec27.jpg","text":"TemporaryFile(/tmp/multipartBody3006651657796152310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823888075,"filename":"image_10122025_23_18_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07e14459e6c426143213f37d1afb2443.jpg","text":"TemporaryFile(/tmp/multipartBody1075670435322023953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823888075,"filename":"image_10122025_23_17_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2b83d8bd01b77915d1f59335303d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody4273513683342172676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823888075,"filename":"image_10122025_23_18_14_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401245790","file1":"1401245730","file0":"1401245652","file4":"1401245856","file5":"1401245890","file3":"1401245822"},"map_files_photo_id_array":[{"photo_id":"1401245890","filename":"file5"},{"photo_id":"1401245790","filename":"file2"},{"photo_id":"1401245856","filename":"file4"},{"photo_id":"1401245730","filename":"file1"},{"photo_id":"1401245652","filename":"file0"},{"photo_id":"1401245822","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401245856":["hashtag1","hashtag2"]},{"1401245730":["hashtag1","hashtag2"]},{"1401245652":["hashtag1","hashtag2"]},{"1401245822":["hashtag1","hashtag2"]},{"1401245890":["hashtag1","hashtag2"]},{"1401245790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401245856, 1401245730, 1401245652, 1401245822, 1401245890, 1401245790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52838087081909 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:24:32.400786
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_17_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_16_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_15_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/16/image_10122025_23_17_05_10633.jpg', '/home/nano/Desktop/images/10122025/23/16/image_10122025_23_16_54_9619.jpg', '/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', '/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', '/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', '/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_15_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/16/image_10122025_23_17_05_10633.jpg
/home/nano/Desktop/images/10122025/23/16/image_10122025_23_16_54_9619.jpg
/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg
/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg
/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg
/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_15_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":["1401246228","1401246097","1401246169","1401246130","1401246096","1401246099"],"photo_ids_order":["1401246096","1401246097","1401246099","1401246130","1401246169","1401246228"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cb610aeb609efbeb5e1fc7e3a5d9364.jpg","text":"TemporaryFile(/tmp/multipartBody119608327771140927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823933177,"filename":"image_10122025_23_15_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45dbbbd32292c7bdd435efd6c3c43681.jpg","text":"TemporaryFile(/tmp/multipartBody1199725866075191832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823933177,"filename":"image_10122025_23_16_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/12/27/ca55e143f720d7bd6b9f9b76eb8be76c.jpg","text":"TemporaryFile(/tmp/multipartBody537972766719620810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823933177,"filename":"image_10122025_23_15_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cbaef490dd2ac4b10a060dd4b1988d3.jpg","text":"TemporaryFile(/tmp/multipartBody4081204681693212073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823933177,"filename":"image_10122025_23_15_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b064860518df46d2dbd1a647cb7f91d.jpg","text":"TemporaryFile(/tmp/multipartBody8010219973193179896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823933177,"filename":"image_10122025_23_17_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3d013178de01f812a5a7b1696cdbc58.jpg","text":"TemporaryFile(/tmp/multipartBody8380036428993544165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823933177,"filename":"image_10122025_23_15_54_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246099","file1":"1401246097","file0":"1401246096","file4":"1401246169","file5":"1401246228","file3":"1401246130"},"map_files_photo_id_array":[{"photo_id":"1401246228","filename":"file5"},{"photo_id":"1401246099","filename":"file2"},{"photo_id":"1401246169","filename":"file4"},{"photo_id":"1401246097","filename":"file1"},{"photo_id":"1401246096","filename":"file0"},{"photo_id":"1401246130","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246228":["hashtag1","hashtag2"]},{"1401246097":["hashtag1","hashtag2"]},{"1401246169":["hashtag1","hashtag2"]},{"1401246130":["hashtag1","hashtag2"]},{"1401246096":["hashtag1","hashtag2"]},{"1401246099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246228, 1401246097, 1401246169, 1401246130, 1401246096, 1401246099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.840954065322876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:25:17.519113
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_15_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_14_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_55_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/14/image_10122025_23_15_04_9643.jpg', '/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_55_9620.jpg', '/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_45_10646.jpg', '/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_25_9620.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_14_04_9619.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_55_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/14/image_10122025_23_15_04_9643.jpg
/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_55_9620.jpg
/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_45_10646.jpg
/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_25_9620.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_14_04_9619.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_55_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":["1401246600","1401246469","1401246577","1401246538","1401246597","1401246561"],"photo_ids_order":["1401246469","1401246538","1401246561","1401246577","1401246597","1401246600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/109ecbdf9816bcaf0771ef155250a6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6029774609693474050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823978321,"filename":"image_10122025_23_13_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8036f4f7e6825880fbfa2fb0670759a6.jpg","text":"TemporaryFile(/tmp/multipartBody2843026153150873744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823978321,"filename":"image_10122025_23_15_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/12/27/956df6ab1af205017b728e3a2ed812ea.jpg","text":"TemporaryFile(/tmp/multipartBody2334564960567684018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823978321,"filename":"image_10122025_23_14_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53e4f295172e09a839ba4babcf5093fd.jpg","text":"TemporaryFile(/tmp/multipartBody5352947963401440628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823978321,"filename":"image_10122025_23_14_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97fa5d2a91ba1dacf573188f856d1c75.jpg","text":"TemporaryFile(/tmp/multipartBody2305203553992567254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823978321,"filename":"image_10122025_23_14_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/12/27/cbecd8c7919a5b6d183828477263d2b3.jpg","text":"TemporaryFile(/tmp/multipartBody564924705748074718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766823978321,"filename":"image_10122025_23_14_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246561","file1":"1401246538","file0":"1401246469","file4":"1401246597","file5":"1401246600","file3":"1401246577"},"map_files_photo_id_array":[{"photo_id":"1401246600","filename":"file5"},{"photo_id":"1401246561","filename":"file2"},{"photo_id":"1401246597","filename":"file4"},{"photo_id":"1401246538","filename":"file1"},{"photo_id":"1401246469","filename":"file0"},{"photo_id":"1401246577","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246600":["hashtag1","hashtag2"]},{"1401246469":["hashtag1","hashtag2"]},{"1401246577":["hashtag1","hashtag2"]},{"1401246538":["hashtag1","hashtag2"]},{"1401246597":["hashtag1","hashtag2"]},{"1401246561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246600, 1401246469, 1401246577, 1401246538, 1401246597, 1401246561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27121186256409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:26:03.330879
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/09/26/image_27122025_09_26_15_10527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/09/26/image_27122025_09_26_15_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/09/26/image_27122025_09_26_15_10527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401246733"],"photo_id":"1401246733","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ac2a89607c5dd0cb2081a00051ecf9f.jpg","text":"TemporaryFile(/tmp/multipartBody4893380631213835771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824023575,"filename":"image_27122025_09_26_15_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401246733"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401246733"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.826274156570435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:26:17.606337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg', '/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg', '/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg
/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg
/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6790475845336914 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:26:32.598078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg', '/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg', '/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg', '/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg
/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg
/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg
/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_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":["1401246744","1401246758","1401246754","1401246757","1401246750","1401246747"],"photo_ids_order":["1401246744","1401246747","1401246750","1401246754","1401246757","1401246758"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/868448a6142e9e6b751cf1fb76cd4888.jpg","text":"TemporaryFile(/tmp/multipartBody1712485670172037098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824053356,"filename":"image_10122025_23_13_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/12/27/50f480eb490ac35881a5dbd9f2fc8db3.jpg","text":"TemporaryFile(/tmp/multipartBody8175711666516606262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824053356,"filename":"image_10122025_23_12_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f77cbee0982998752d689317f69e54db.jpg","text":"TemporaryFile(/tmp/multipartBody8149361680274470489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824053356,"filename":"image_10122025_23_13_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/12/27/9440b415c42fd519d5eaa39b454b3f34.jpg","text":"TemporaryFile(/tmp/multipartBody6401278459367510910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824053356,"filename":"image_10122025_23_12_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66833ccf545cdba4082016f62674812f.jpg","text":"TemporaryFile(/tmp/multipartBody6869373049437788187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824053356,"filename":"image_10122025_23_13_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59b48dde414ebfae48569f6b6b263cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5939911740396297774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824053356,"filename":"image_10122025_23_13_35_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246750","file1":"1401246747","file0":"1401246744","file4":"1401246757","file5":"1401246758","file3":"1401246754"},"map_files_photo_id_array":[{"photo_id":"1401246758","filename":"file5"},{"photo_id":"1401246750","filename":"file2"},{"photo_id":"1401246757","filename":"file4"},{"photo_id":"1401246747","filename":"file1"},{"photo_id":"1401246744","filename":"file0"},{"photo_id":"1401246754","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246744":["hashtag1","hashtag2"]},{"1401246758":["hashtag1","hashtag2"]},{"1401246754":["hashtag1","hashtag2"]},{"1401246757":["hashtag1","hashtag2"]},{"1401246750":["hashtag1","hashtag2"]},{"1401246747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246744, 1401246758, 1401246754, 1401246757, 1401246750, 1401246747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61509871482849 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:27:16.753406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_11_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_11_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_10_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/11/image_10122025_23_11_45_9622.jpg', '/home/nano/Desktop/images/10122025/23/10/image_10122025_23_11_05_10645.jpg', '/home/nano/Desktop/images/10122025/23/10/image_10122025_23_10_54_9617.jpg', '/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', '/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', '/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/11/image_10122025_23_11_45_9622.jpg
/home/nano/Desktop/images/10122025/23/10/image_10122025_23_11_05_10645.jpg
/home/nano/Desktop/images/10122025/23/10/image_10122025_23_10_54_9617.jpg
/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg
/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg
/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.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":["1401246762","1401246770","1401246764","1401246767","1401246772","1401246774"],"photo_ids_order":["1401246762","1401246764","1401246767","1401246770","1401246772","1401246774"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/354ba7ee33ffa6fb63a37a3af5f4f79d.jpg","text":"TemporaryFile(/tmp/multipartBody922140621063811851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824097550,"filename":"image_10122025_23_11_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b9d119366bd9a04712635a2139391d2.jpg","text":"TemporaryFile(/tmp/multipartBody243795575765937396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824097550,"filename":"image_10122025_23_08_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab45052a3374d3f1e2b7a1786296e35b.jpg","text":"TemporaryFile(/tmp/multipartBody2302616735563280723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824097550,"filename":"image_10122025_23_11_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fde5b2262b71c3dbfa8997ac2970fbda.jpg","text":"TemporaryFile(/tmp/multipartBody4272142353757627578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824097550,"filename":"image_10122025_23_10_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/12/27/fbf8365f488286289951658179128144.jpg","text":"TemporaryFile(/tmp/multipartBody159759839491268987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824097550,"filename":"image_10122025_23_08_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/12/27/07b207ed4f27a844b8a870b3cc58e742.jpg","text":"TemporaryFile(/tmp/multipartBody3890414074693869325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824097550,"filename":"image_10122025_23_08_05_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246767","file1":"1401246764","file0":"1401246762","file4":"1401246772","file5":"1401246774","file3":"1401246770"},"map_files_photo_id_array":[{"photo_id":"1401246774","filename":"file5"},{"photo_id":"1401246767","filename":"file2"},{"photo_id":"1401246772","filename":"file4"},{"photo_id":"1401246764","filename":"file1"},{"photo_id":"1401246762","filename":"file0"},{"photo_id":"1401246770","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246762":["hashtag1","hashtag2"]},{"1401246770":["hashtag1","hashtag2"]},{"1401246764":["hashtag1","hashtag2"]},{"1401246767":["hashtag1","hashtag2"]},{"1401246772":["hashtag1","hashtag2"]},{"1401246774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246762, 1401246770, 1401246764, 1401246767, 1401246772, 1401246774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.42706108093262 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:28:16.851167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', '/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', '/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', '/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', '/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_54_9619.jpg', '/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg
/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg
/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg
/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg
/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_54_9619.jpg
/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_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":["1401246791","1401246782","1401246784","1401246793","1401246787","1401246789"],"photo_ids_order":["1401246782","1401246784","1401246787","1401246789","1401246791","1401246793"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90082a20dbbad344f73d3c973b20288e.jpg","text":"TemporaryFile(/tmp/multipartBody8166547054428368318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824157633,"filename":"image_10122025_23_05_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/12/27/fc9a02d4e939ab835994d5f461d2a7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5718855529837207701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824157633,"filename":"image_10122025_23_07_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/12/27/98d35ed63e8d6b69ab44fb9fad1fbc54.jpg","text":"TemporaryFile(/tmp/multipartBody8900582802358195588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824157633,"filename":"image_10122025_23_07_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eded46148f7f9f04cc5fe9b4e0226307.jpg","text":"TemporaryFile(/tmp/multipartBody4414633479996951125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824157633,"filename":"image_10122025_23_05_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/12/27/d34ea4846ab5c94418a35f0c7cb06019.jpg","text":"TemporaryFile(/tmp/multipartBody7840361310313871998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824157633,"filename":"image_10122025_23_06_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72d434311232559b132a2ec0382b655f.jpg","text":"TemporaryFile(/tmp/multipartBody8341197511858724916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824157633,"filename":"image_10122025_23_06_35_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246787","file1":"1401246784","file0":"1401246782","file4":"1401246791","file5":"1401246793","file3":"1401246789"},"map_files_photo_id_array":[{"photo_id":"1401246793","filename":"file5"},{"photo_id":"1401246787","filename":"file2"},{"photo_id":"1401246791","filename":"file4"},{"photo_id":"1401246784","filename":"file1"},{"photo_id":"1401246782","filename":"file0"},{"photo_id":"1401246789","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246791":["hashtag1","hashtag2"]},{"1401246782":["hashtag1","hashtag2"]},{"1401246784":["hashtag1","hashtag2"]},{"1401246793":["hashtag1","hashtag2"]},{"1401246787":["hashtag1","hashtag2"]},{"1401246789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246791, 1401246782, 1401246784, 1401246793, 1401246787, 1401246789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.50082755088806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:29:03.020622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_04_05_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', '/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_15_10646.jpg', '/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_55_9621.jpg', '/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_34_9618.jpg', '/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_25_10628.jpg', '/home/nano/Desktop/images/10122025/23/03/image_10122025_23_04_05_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg
/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_15_10646.jpg
/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_55_9621.jpg
/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_34_9618.jpg
/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_25_10628.jpg
/home/nano/Desktop/images/10122025/23/03/image_10122025_23_04_05_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":["1401246810","1401246807","1401246800","1401246803","1401246805","1401246798"],"photo_ids_order":["1401246798","1401246800","1401246803","1401246805","1401246807","1401246810"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bc979c37b57930b91be0b9448a0b99f.jpg","text":"TemporaryFile(/tmp/multipartBody6750819632556120521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824203821,"filename":"image_10122025_23_04_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c55b09344e38570954d54bdf6a85fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4993088939775157924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824203821,"filename":"image_10122025_23_04_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/988736d2474ebcebfa2641c0dc90e3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5464284633317328206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824203821,"filename":"image_10122025_23_05_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8a7c0db11aa984540f491e5e1fc5733.jpg","text":"TemporaryFile(/tmp/multipartBody6560576181965323497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824203821,"filename":"image_10122025_23_04_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52063a71cc6e75fb1f0e1d01d88a88ef.jpg","text":"TemporaryFile(/tmp/multipartBody501256815132555173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824203821,"filename":"image_10122025_23_04_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/12/27/a80ccf612e06e0535e6261e2ce9c2eb6.jpg","text":"TemporaryFile(/tmp/multipartBody998806330022144407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824203821,"filename":"image_10122025_23_05_25_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246803","file1":"1401246800","file0":"1401246798","file4":"1401246807","file5":"1401246810","file3":"1401246805"},"map_files_photo_id_array":[{"photo_id":"1401246810","filename":"file5"},{"photo_id":"1401246803","filename":"file2"},{"photo_id":"1401246807","filename":"file4"},{"photo_id":"1401246800","filename":"file1"},{"photo_id":"1401246798","filename":"file0"},{"photo_id":"1401246805","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246810":["hashtag1","hashtag2"]},{"1401246807":["hashtag1","hashtag2"]},{"1401246800":["hashtag1","hashtag2"]},{"1401246803":["hashtag1","hashtag2"]},{"1401246805":["hashtag1","hashtag2"]},{"1401246798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246810, 1401246807, 1401246800, 1401246803, 1401246805, 1401246798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.218424558639526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:29:46.925581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/23/02/image_10122025_23_03_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/02/image_10122025_23_02_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_35_9619.jpg', '/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_25_10635.jpg', '/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_14_9658.jpg', '/home/nano/Desktop/images/10122025/23/02/image_10122025_23_03_05_10645.jpg', '/home/nano/Desktop/images/10122025/23/02/image_10122025_23_02_35_10628.jpg', '/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_35_9619.jpg
/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_25_10635.jpg
/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_14_9658.jpg
/home/nano/Desktop/images/10122025/23/02/image_10122025_23_03_05_10645.jpg
/home/nano/Desktop/images/10122025/23/02/image_10122025_23_02_35_10628.jpg
/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_54_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":["1401246822","1401246824","1401246821","1401246820","1401246823","1401246826"],"photo_ids_order":["1401246820","1401246821","1401246822","1401246823","1401246824","1401246826"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2601008d396c11b8c1e8748d634c189.jpg","text":"TemporaryFile(/tmp/multipartBody947108864542475443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824247696,"filename":"image_10122025_23_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/12/27/71d99b8d93985bdd5f4535e53acd8a75.jpg","text":"TemporaryFile(/tmp/multipartBody4268531266739651840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824247696,"filename":"image_10122025_23_02_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27df8ba17cff40d10d38bfaefcf9ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody5991836829601035041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824247696,"filename":"image_10122025_23_03_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39f98240c4559d01dfaed27ede841aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3359606870826028460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824247696,"filename":"image_10122025_23_03_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e2d64676583712f085cae7070947972.jpg","text":"TemporaryFile(/tmp/multipartBody2580634571364006674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824247696,"filename":"image_10122025_23_03_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/669c5058b89c8ca3af518d00796414b3.jpg","text":"TemporaryFile(/tmp/multipartBody1271675540411325356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824247696,"filename":"image_10122025_23_01_54_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246822","file1":"1401246821","file0":"1401246820","file4":"1401246824","file5":"1401246826","file3":"1401246823"},"map_files_photo_id_array":[{"photo_id":"1401246826","filename":"file5"},{"photo_id":"1401246822","filename":"file2"},{"photo_id":"1401246824","filename":"file4"},{"photo_id":"1401246821","filename":"file1"},{"photo_id":"1401246820","filename":"file0"},{"photo_id":"1401246823","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246822":["hashtag1","hashtag2"]},{"1401246824":["hashtag1","hashtag2"]},{"1401246821":["hashtag1","hashtag2"]},{"1401246820":["hashtag1","hashtag2"]},{"1401246823":["hashtag1","hashtag2"]},{"1401246826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246822, 1401246824, 1401246821, 1401246820, 1401246823, 1401246826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06017303466797 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:30:32.042175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', '/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_45_10627.jpg', '/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', '/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', '/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', '/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg
/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_45_10627.jpg
/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg
/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg
/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg
/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_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":["1401246834","1401246842","1401246836","1401246848","1401246838","1401246846"],"photo_ids_order":["1401246834","1401246836","1401246838","1401246842","1401246846","1401246848"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c2772d8038aab3ff5f552c8f017986e.jpg","text":"TemporaryFile(/tmp/multipartBody2536031861208304830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824292812,"filename":"image_10122025_23_01_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e2e44f635b2559cde2024b54f9df90a.jpg","text":"TemporaryFile(/tmp/multipartBody1542933461153013349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824292812,"filename":"image_10122025_23_00_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/12/27/6d11800d0cf892c452c3d0e46346f1de.jpg","text":"TemporaryFile(/tmp/multipartBody4801742596566512195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824292812,"filename":"image_10122025_23_00_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95f03057ff949d017ccc6f524ac60c29.jpg","text":"TemporaryFile(/tmp/multipartBody4902958944127848201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824292812,"filename":"image_10122025_22_59_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/12/27/073c102d312e6038091b75dd5c13f2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3083836444393275577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824292812,"filename":"image_10122025_23_00_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/12/27/7b06ba5276a90b8ac38337a6d26e46a8.jpg","text":"TemporaryFile(/tmp/multipartBody3851121537145825118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824292812,"filename":"image_10122025_22_59_55_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246838","file1":"1401246836","file0":"1401246834","file4":"1401246846","file5":"1401246848","file3":"1401246842"},"map_files_photo_id_array":[{"photo_id":"1401246848","filename":"file5"},{"photo_id":"1401246838","filename":"file2"},{"photo_id":"1401246846","filename":"file4"},{"photo_id":"1401246836","filename":"file1"},{"photo_id":"1401246834","filename":"file0"},{"photo_id":"1401246842","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246834":["hashtag1","hashtag2"]},{"1401246842":["hashtag1","hashtag2"]},{"1401246836":["hashtag1","hashtag2"]},{"1401246848":["hashtag1","hashtag2"]},{"1401246838":["hashtag1","hashtag2"]},{"1401246846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246834, 1401246842, 1401246836, 1401246848, 1401246838, 1401246846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74753475189209 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:31:17.090752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_14_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/56/image_10122025_22_56_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_25_10627.jpg', '/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_24_9620.jpg', '/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_14_9654.jpg', '/home/nano/Desktop/images/10122025/22/56/image_10122025_22_56_34_9640.jpg', '/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', '/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_25_10627.jpg
/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_24_9620.jpg
/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_14_9654.jpg
/home/nano/Desktop/images/10122025/22/56/image_10122025_22_56_34_9640.jpg
/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg
/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_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":["1401246854","1401246865","1401246868","1401246862","1401246856","1401246859"],"photo_ids_order":["1401246854","1401246856","1401246859","1401246862","1401246865","1401246868"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/854305acb3001274fcb9a5ea40291218.jpg","text":"TemporaryFile(/tmp/multipartBody825661787962517321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824337867,"filename":"image_10122025_22_59_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4e92e9c452c0c66f6cba31f4beb9831.jpg","text":"TemporaryFile(/tmp/multipartBody3659322093082135754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824337867,"filename":"image_10122025_22_55_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64eb56876b7d05e71a72995426a34ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7801574528454860266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824337867,"filename":"image_10122025_22_55_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0d33779487ac11091edb66d6ecb06a7.jpg","text":"TemporaryFile(/tmp/multipartBody6591666967563063350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824337867,"filename":"image_10122025_22_56_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/12/27/661c8ad3af04d94b6bdfa5580e39498b.jpg","text":"TemporaryFile(/tmp/multipartBody4951907416656444621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824337867,"filename":"image_10122025_22_58_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/12/27/f360a95e39f90502ebacfcb5782ed8b6.jpg","text":"TemporaryFile(/tmp/multipartBody5890040418794004844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824337867,"filename":"image_10122025_22_58_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246859","file1":"1401246856","file0":"1401246854","file4":"1401246865","file5":"1401246868","file3":"1401246862"},"map_files_photo_id_array":[{"photo_id":"1401246868","filename":"file5"},{"photo_id":"1401246859","filename":"file2"},{"photo_id":"1401246865","filename":"file4"},{"photo_id":"1401246856","filename":"file1"},{"photo_id":"1401246854","filename":"file0"},{"photo_id":"1401246862","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246854":["hashtag1","hashtag2"]},{"1401246865":["hashtag1","hashtag2"]},{"1401246868":["hashtag1","hashtag2"]},{"1401246862":["hashtag1","hashtag2"]},{"1401246856":["hashtag1","hashtag2"]},{"1401246859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246854, 1401246865, 1401246868, 1401246862, 1401246856, 1401246859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11940288543701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:32:02.877473
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_53_05_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', '/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', '/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', '/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', '/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_14_9635.jpg', '/home/nano/Desktop/images/10122025/22/52/image_10122025_22_53_05_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg
/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg
/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg
/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg
/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_14_9635.jpg
/home/nano/Desktop/images/10122025/22/52/image_10122025_22_53_05_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":["1401246875","1401246880","1401246877","1401246882","1401246885","1401246879"],"photo_ids_order":["1401246875","1401246877","1401246879","1401246880","1401246882","1401246885"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83107eea7833c79081dbc2d2d88225b2.jpg","text":"TemporaryFile(/tmp/multipartBody8787030109039525693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824383747,"filename":"image_10122025_22_55_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/12/27/a64877f7f6dc7b62ddd19a2f0a925fd3.jpg","text":"TemporaryFile(/tmp/multipartBody8454055310547486448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824383747,"filename":"image_10122025_22_54_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ad1af743fafa5448351639ff08fdb29.jpg","text":"TemporaryFile(/tmp/multipartBody8315058127623372352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824383747,"filename":"image_10122025_22_54_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/12/27/9d546e889bd5610c0be4dbf65a0ca7f9.jpg","text":"TemporaryFile(/tmp/multipartBody109767702351889142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824383747,"filename":"image_10122025_22_54_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/12/27/7fc4eea6789717c966055f8bb2153e2f.jpg","text":"TemporaryFile(/tmp/multipartBody7373834562493675234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824383747,"filename":"image_10122025_22_53_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37e2969675b40abfa75c620eca3c0c23.jpg","text":"TemporaryFile(/tmp/multipartBody313240042597533476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824383747,"filename":"image_10122025_22_54_35_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246879","file1":"1401246877","file0":"1401246875","file4":"1401246882","file5":"1401246885","file3":"1401246880"},"map_files_photo_id_array":[{"photo_id":"1401246885","filename":"file5"},{"photo_id":"1401246879","filename":"file2"},{"photo_id":"1401246882","filename":"file4"},{"photo_id":"1401246877","filename":"file1"},{"photo_id":"1401246875","filename":"file0"},{"photo_id":"1401246880","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246875":["hashtag1","hashtag2"]},{"1401246880":["hashtag1","hashtag2"]},{"1401246877":["hashtag1","hashtag2"]},{"1401246882":["hashtag1","hashtag2"]},{"1401246885":["hashtag1","hashtag2"]},{"1401246879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246875, 1401246880, 1401246877, 1401246882, 1401246885, 1401246879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17044019699097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:32:47.206462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_52_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_51_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_54_9621.jpg', '/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', '/home/nano/Desktop/images/10122025/22/51/image_10122025_22_52_04_9618.jpg', '/home/nano/Desktop/images/10122025/22/51/image_10122025_22_51_55_9620.jpg', '/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', '/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_54_9621.jpg
/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg
/home/nano/Desktop/images/10122025/22/51/image_10122025_22_52_04_9618.jpg
/home/nano/Desktop/images/10122025/22/51/image_10122025_22_51_55_9620.jpg
/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg
/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_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":["1401246936","1401246893","1401246905","1401246970","1401246895","1401246894"],"photo_ids_order":["1401246893","1401246894","1401246895","1401246905","1401246936","1401246970"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/182530986fa6be29be145743c6f10399.jpg","text":"TemporaryFile(/tmp/multipartBody2599011903752648307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824427991,"filename":"image_10122025_22_49_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/12/27/a29245e489bbaf1d51dc0b46196ae016.jpg","text":"TemporaryFile(/tmp/multipartBody2249127442145460089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824427991,"filename":"image_10122025_22_52_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/12/27/4dfc677d04a3235af7fc85832074430f.jpg","text":"TemporaryFile(/tmp/multipartBody5222579152283579431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824427991,"filename":"image_10122025_22_51_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17abd846167d234cd9c39d1b589f487e.jpg","text":"TemporaryFile(/tmp/multipartBody1699653339167231082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824427991,"filename":"image_10122025_22_49_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c3916f46599ca635956bc7b8e1f040b.jpg","text":"TemporaryFile(/tmp/multipartBody2227464005823700426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824427991,"filename":"image_10122025_22_52_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/12/27/fb5b18863107373025b561c8b50af01e.jpg","text":"TemporaryFile(/tmp/multipartBody3912658666890514394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824427991,"filename":"image_10122025_22_52_45_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401246895","file1":"1401246894","file0":"1401246893","file4":"1401246936","file5":"1401246970","file3":"1401246905"},"map_files_photo_id_array":[{"photo_id":"1401246970","filename":"file5"},{"photo_id":"1401246895","filename":"file2"},{"photo_id":"1401246936","filename":"file4"},{"photo_id":"1401246894","filename":"file1"},{"photo_id":"1401246893","filename":"file0"},{"photo_id":"1401246905","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401246936":["hashtag1","hashtag2"]},{"1401246893":["hashtag1","hashtag2"]},{"1401246905":["hashtag1","hashtag2"]},{"1401246970":["hashtag1","hashtag2"]},{"1401246895":["hashtag1","hashtag2"]},{"1401246894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401246936, 1401246893, 1401246905, 1401246970, 1401246895, 1401246894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85797667503357 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:33:32.341809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_24_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', '/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', '/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', '/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', '/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', '/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg
/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg
/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg
/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg
/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg
/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_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":["1401247022","1401247016","1401247031","1401247019","1401247024","1401247018"],"photo_ids_order":["1401247016","1401247018","1401247019","1401247022","1401247024","1401247031"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/070c7b10e2dce23b5d29697b99739ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6685691503848315631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824473134,"filename":"image_10122025_22_48_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f86cd06904ab16880ad9565f72159da.jpg","text":"TemporaryFile(/tmp/multipartBody5115016124368812136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824473134,"filename":"image_10122025_22_49_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/12/27/2b32dcf56b1a6e633ef0247a2409460d.jpg","text":"TemporaryFile(/tmp/multipartBody8997415112960154893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824473134,"filename":"image_10122025_22_48_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/12/27/761163f5779db527e634bf64623a86a3.jpg","text":"TemporaryFile(/tmp/multipartBody8125412817729146304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824473134,"filename":"image_10122025_22_48_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/12/27/fe9cfcfa73a8a65338408fb22c61fff8.jpg","text":"TemporaryFile(/tmp/multipartBody895124437998969753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824473134,"filename":"image_10122025_22_48_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb951db47ceed8bb8a3c75ad2165cab9.jpg","text":"TemporaryFile(/tmp/multipartBody328637590566727046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824473134,"filename":"image_10122025_22_49_05_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247019","file1":"1401247018","file0":"1401247016","file4":"1401247024","file5":"1401247031","file3":"1401247022"},"map_files_photo_id_array":[{"photo_id":"1401247031","filename":"file5"},{"photo_id":"1401247019","filename":"file2"},{"photo_id":"1401247024","filename":"file4"},{"photo_id":"1401247018","filename":"file1"},{"photo_id":"1401247016","filename":"file0"},{"photo_id":"1401247022","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247022":["hashtag1","hashtag2"]},{"1401247016":["hashtag1","hashtag2"]},{"1401247031":["hashtag1","hashtag2"]},{"1401247019":["hashtag1","hashtag2"]},{"1401247024":["hashtag1","hashtag2"]},{"1401247018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247022, 1401247016, 1401247031, 1401247019, 1401247024, 1401247018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56073236465454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:34:17.543562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_47_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_46_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/46/image_10122025_22_47_04_9637.jpg', '/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_55_9621.jpg', '/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', '/home/nano/Desktop/images/10122025/22/45/image_10122025_22_46_04_9622.jpg', '/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_55_10626.jpg', '/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/46/image_10122025_22_47_04_9637.jpg
/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_55_9621.jpg
/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg
/home/nano/Desktop/images/10122025/22/45/image_10122025_22_46_04_9622.jpg
/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_55_10626.jpg
/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_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":["1401247151","1401247148","1401247157","1401247144","1401247153","1401247155"],"photo_ids_order":["1401247144","1401247148","1401247151","1401247153","1401247155","1401247157"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4653e76dfe94e57fe1e8bdab3ed8ae1e.jpg","text":"TemporaryFile(/tmp/multipartBody7882180648848551723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824518347,"filename":"image_10122025_22_46_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/12/27/a45325e9667407e880c8b198c1a0c923.jpg","text":"TemporaryFile(/tmp/multipartBody4248135475448379910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824518347,"filename":"image_10122025_22_46_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cac20fbf4bb844918e4ae106a23a4a57.jpg","text":"TemporaryFile(/tmp/multipartBody2069485403007346705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824518347,"filename":"image_10122025_22_45_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/12/27/f93c3811e64891228303b98cc74e2f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5319440368432394495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824518347,"filename":"image_10122025_22_47_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/12/27/34b2985cf149d719b164abb0c37079bf.jpg","text":"TemporaryFile(/tmp/multipartBody138632611392814929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824518347,"filename":"image_10122025_22_46_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/12/27/a6dd82fc811ebe6417af81c11bb456ce.jpg","text":"TemporaryFile(/tmp/multipartBody7310972206277628677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824518347,"filename":"image_10122025_22_45_55_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247151","file1":"1401247148","file0":"1401247144","file4":"1401247155","file5":"1401247157","file3":"1401247153"},"map_files_photo_id_array":[{"photo_id":"1401247157","filename":"file5"},{"photo_id":"1401247151","filename":"file2"},{"photo_id":"1401247155","filename":"file4"},{"photo_id":"1401247148","filename":"file1"},{"photo_id":"1401247144","filename":"file0"},{"photo_id":"1401247153","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247151":["hashtag1","hashtag2"]},{"1401247148":["hashtag1","hashtag2"]},{"1401247157":["hashtag1","hashtag2"]},{"1401247144":["hashtag1","hashtag2"]},{"1401247153":["hashtag1","hashtag2"]},{"1401247155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247151, 1401247148, 1401247157, 1401247144, 1401247153, 1401247155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.747071743011475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:35:03.265571
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_45_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_55_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_24_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', '/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_14_9637.jpg', '/home/nano/Desktop/images/10122025/22/44/image_10122025_22_45_05_9628.jpg', '/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_55_10645.jpg', '/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_35_10628.jpg', '/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_24_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg
/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_14_9637.jpg
/home/nano/Desktop/images/10122025/22/44/image_10122025_22_45_05_9628.jpg
/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_55_10645.jpg
/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_35_10628.jpg
/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_24_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":["1401247237","1401247171","1401247168","1401247222","1401247173","1401247170"],"photo_ids_order":["1401247168","1401247170","1401247171","1401247173","1401247222","1401247237"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54cc9b97fc6f803f929d4525b3078b97.jpg","text":"TemporaryFile(/tmp/multipartBody8991735083349982419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824564139,"filename":"image_10122025_22_44_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/12/27/15414cc627ebca9c9c631e89c4d05ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2999083394155357906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824564139,"filename":"image_10122025_22_45_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee82cb1d5a81258c0b9af50ec4009c28.jpg","text":"TemporaryFile(/tmp/multipartBody6543421000511652733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824564139,"filename":"image_10122025_22_45_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60e58166090f5d6c1db8bca4fa6c1e11.jpg","text":"TemporaryFile(/tmp/multipartBody983713325027173807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824564139,"filename":"image_10122025_22_44_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f951644512554020e837fae24971c20e.jpg","text":"TemporaryFile(/tmp/multipartBody2094562910004012267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824564139,"filename":"image_10122025_22_44_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6680354d569407bbd61284d534c4809.jpg","text":"TemporaryFile(/tmp/multipartBody5899446935674861466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824564139,"filename":"image_10122025_22_45_14_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247171","file1":"1401247170","file0":"1401247168","file4":"1401247222","file5":"1401247237","file3":"1401247173"},"map_files_photo_id_array":[{"photo_id":"1401247237","filename":"file5"},{"photo_id":"1401247171","filename":"file2"},{"photo_id":"1401247222","filename":"file4"},{"photo_id":"1401247170","filename":"file1"},{"photo_id":"1401247168","filename":"file0"},{"photo_id":"1401247173","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247237":["hashtag1","hashtag2"]},{"1401247171":["hashtag1","hashtag2"]},{"1401247168":["hashtag1","hashtag2"]},{"1401247222":["hashtag1","hashtag2"]},{"1401247173":["hashtag1","hashtag2"]},{"1401247170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247237, 1401247171, 1401247168, 1401247222, 1401247173, 1401247170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08394122123718 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:35:47.627359
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/09/35/image_27122025_09_35_24_9508.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/09/35/image_27122025_09_35_24_9508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/09/35/image_27122025_09_35_24_9508.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401247277"],"photo_id":"1401247277","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/376934259b8bbdf7ac3fcb730c2e39e8.jpg","text":"TemporaryFile(/tmp/multipartBody5602378040367343913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824607866,"filename":"image_27122025_09_35_24_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401247277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401247277"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.489233493804932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:36:03.185024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_43_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_34_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_24_9617.jpg', '/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_15_10674.jpg', '/home/nano/Desktop/images/10122025/22/42/image_10122025_22_43_04_9624.jpg', '/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_54_9618.jpg', '/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_45_10626.jpg', '/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_34_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_24_9617.jpg
/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_15_10674.jpg
/home/nano/Desktop/images/10122025/22/42/image_10122025_22_43_04_9624.jpg
/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_54_9618.jpg
/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_45_10626.jpg
/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_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":["1401247283","1401247291","1401247288","1401247285","1401247279","1401247287"],"photo_ids_order":["1401247279","1401247283","1401247285","1401247287","1401247288","1401247291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ab1a05b3f7465cd24565d0bc55e33d3.jpg","text":"TemporaryFile(/tmp/multipartBody6580215571709889145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824624142,"filename":"image_10122025_22_43_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51d33535894929d1d3c42c70970b4472.jpg","text":"TemporaryFile(/tmp/multipartBody6086445818753845990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824624142,"filename":"image_10122025_22_42_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/12/27/3739978bee775d8427a1be9cac9a57ad.jpg","text":"TemporaryFile(/tmp/multipartBody7552166428935572312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824624142,"filename":"image_10122025_22_42_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c09454de08b2aa6ea62b2fc0ebc3d1fd.jpg","text":"TemporaryFile(/tmp/multipartBody7457245943536073777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824624142,"filename":"image_10122025_22_43_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/12/27/12fb724a5a7a66d7b2b54ba3578afc89.jpg","text":"TemporaryFile(/tmp/multipartBody6938953544101340254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824624142,"filename":"image_10122025_22_43_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/12/27/803935d6d1fb7674a2d3c2b974765fb2.jpg","text":"TemporaryFile(/tmp/multipartBody60225981831690829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824624142,"filename":"image_10122025_22_42_54_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247285","file1":"1401247283","file0":"1401247279","file4":"1401247288","file5":"1401247291","file3":"1401247287"},"map_files_photo_id_array":[{"photo_id":"1401247291","filename":"file5"},{"photo_id":"1401247285","filename":"file2"},{"photo_id":"1401247288","filename":"file4"},{"photo_id":"1401247283","filename":"file1"},{"photo_id":"1401247279","filename":"file0"},{"photo_id":"1401247287","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247283":["hashtag1","hashtag2"]},{"1401247291":["hashtag1","hashtag2"]},{"1401247288":["hashtag1","hashtag2"]},{"1401247285":["hashtag1","hashtag2"]},{"1401247279":["hashtag1","hashtag2"]},{"1401247287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247283, 1401247291, 1401247288, 1401247285, 1401247279, 1401247287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99356698989868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:36:47.706214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', '/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', '/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', '/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', '/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', '/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg
/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg
/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg
/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6797385215759277 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:37:02.406220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', '/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', '/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', '/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', '/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', '/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg
/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg
/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg
/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_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":["1401247308","1401247340","1401247306","1401247429","1401247383","1401247302"],"photo_ids_order":["1401247302","1401247306","1401247308","1401247340","1401247383","1401247429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5602efa90a17c3fcce7b4c491c9bd59f.jpg","text":"TemporaryFile(/tmp/multipartBody6746132843992578774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824683197,"filename":"image_10122025_22_40_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/12/27/d08e0b305f4a77316c935e399c19905e.jpg","text":"TemporaryFile(/tmp/multipartBody244167475303640301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824683197,"filename":"image_10122025_22_40_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f130f330cd683962c2a5367dafa885b9.jpg","text":"TemporaryFile(/tmp/multipartBody1248164821760333122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824683197,"filename":"image_10122025_22_40_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/12/27/122f9f3ade505c726e5c0c1265f1e373.jpg","text":"TemporaryFile(/tmp/multipartBody2460846403842724764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824683197,"filename":"image_10122025_22_37_55_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19ab80fbf28e734542e0953d2027c892.jpg","text":"TemporaryFile(/tmp/multipartBody305938848926218858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824683197,"filename":"image_10122025_22_38_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/12/27/999a071aa7fa25bd1ee0b3e3e7c889fd.jpg","text":"TemporaryFile(/tmp/multipartBody2129920048630025602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824683197,"filename":"image_10122025_22_40_55_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247308","file1":"1401247306","file0":"1401247302","file4":"1401247383","file5":"1401247429","file3":"1401247340"},"map_files_photo_id_array":[{"photo_id":"1401247429","filename":"file5"},{"photo_id":"1401247308","filename":"file2"},{"photo_id":"1401247383","filename":"file4"},{"photo_id":"1401247306","filename":"file1"},{"photo_id":"1401247302","filename":"file0"},{"photo_id":"1401247340","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247308":["hashtag1","hashtag2"]},{"1401247340":["hashtag1","hashtag2"]},{"1401247306":["hashtag1","hashtag2"]},{"1401247429":["hashtag1","hashtag2"]},{"1401247383":["hashtag1","hashtag2"]},{"1401247302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247308, 1401247340, 1401247306, 1401247429, 1401247383, 1401247302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45974850654602 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:37:46.824723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_25_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', '/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', '/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', '/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', '/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', '/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg
/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg
/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg
/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_25_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":["1401247562","1401247610","1401247591","1401247624","1401247620","1401247536"],"photo_ids_order":["1401247536","1401247562","1401247591","1401247610","1401247620","1401247624"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30ba1878a10f7d53b4e930ef63a3db27.jpg","text":"TemporaryFile(/tmp/multipartBody4639050949137715555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824727631,"filename":"image_10122025_22_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/12/27/fd5c67bdbcd9bc6c947d591a28bb551f.jpg","text":"TemporaryFile(/tmp/multipartBody6967479958998504568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824727631,"filename":"image_10122025_22_37_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/12/27/3ea77acd6ebd672c21753636a6ee8649.jpg","text":"TemporaryFile(/tmp/multipartBody5783720911101333909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824727631,"filename":"image_10122025_22_37_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/357ca806d857e9b9692413033c33ec37.jpg","text":"TemporaryFile(/tmp/multipartBody83887530665528278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824727631,"filename":"image_10122025_22_36_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dae1d7e7d48eb90653b678ff6fe076b.jpg","text":"TemporaryFile(/tmp/multipartBody7457927435505218447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824727631,"filename":"image_10122025_22_37_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/12/27/7db18ad6928d7182861acd727238faea.jpg","text":"TemporaryFile(/tmp/multipartBody5936398784587084736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824727631,"filename":"image_10122025_22_37_45_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247591","file1":"1401247562","file0":"1401247536","file4":"1401247620","file5":"1401247624","file3":"1401247610"},"map_files_photo_id_array":[{"photo_id":"1401247624","filename":"file5"},{"photo_id":"1401247591","filename":"file2"},{"photo_id":"1401247620","filename":"file4"},{"photo_id":"1401247562","filename":"file1"},{"photo_id":"1401247536","filename":"file0"},{"photo_id":"1401247610","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247562":["hashtag1","hashtag2"]},{"1401247610":["hashtag1","hashtag2"]},{"1401247591":["hashtag1","hashtag2"]},{"1401247624":["hashtag1","hashtag2"]},{"1401247620":["hashtag1","hashtag2"]},{"1401247536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247562, 1401247610, 1401247591, 1401247624, 1401247620, 1401247536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76164197921753 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:38:31.885431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_35_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_14_9639.jpg', '/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_35_10629.jpg', '/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_24_9618.jpg', '/home/nano/Desktop/images/10122025/22/34/image_10122025_22_35_05_10635.jpg', '/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_54_9615.jpg', '/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_14_9639.jpg
/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_35_10629.jpg
/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_24_9618.jpg
/home/nano/Desktop/images/10122025/22/34/image_10122025_22_35_05_10635.jpg
/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_54_9615.jpg
/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_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":["1401247649","1401247640","1401247637","1401247645","1401247650","1401247641"],"photo_ids_order":["1401247637","1401247640","1401247641","1401247645","1401247649","1401247650"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74ff4ccc8c47b205cbb6b84dd49b514b.jpg","text":"TemporaryFile(/tmp/multipartBody2715709910439960895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824772670,"filename":"image_10122025_22_34_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/12/27/ff1dc090a1ab24a1b946e7e309ac82be.jpg","text":"TemporaryFile(/tmp/multipartBody4726091527331789568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824772670,"filename":"image_10122025_22_35_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/291d0c3449962a320a4d4ab2199879ae.jpg","text":"TemporaryFile(/tmp/multipartBody5474474376199759815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824772670,"filename":"image_10122025_22_36_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/12/27/658a8c8c2c7d76a674725a721c177b48.jpg","text":"TemporaryFile(/tmp/multipartBody8343837064953606476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824772670,"filename":"image_10122025_22_35_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f1598c75d7fd752531f742ab70a6afc.jpg","text":"TemporaryFile(/tmp/multipartBody6535288052548853308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824772670,"filename":"image_10122025_22_34_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd60ce830e36a94936e75c9ddb2b97e0.jpg","text":"TemporaryFile(/tmp/multipartBody8227201964457272977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824772670,"filename":"image_10122025_22_35_24_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247641","file1":"1401247640","file0":"1401247637","file4":"1401247649","file5":"1401247650","file3":"1401247645"},"map_files_photo_id_array":[{"photo_id":"1401247650","filename":"file5"},{"photo_id":"1401247641","filename":"file2"},{"photo_id":"1401247649","filename":"file4"},{"photo_id":"1401247640","filename":"file1"},{"photo_id":"1401247637","filename":"file0"},{"photo_id":"1401247645","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247649":["hashtag1","hashtag2"]},{"1401247640":["hashtag1","hashtag2"]},{"1401247637":["hashtag1","hashtag2"]},{"1401247645":["hashtag1","hashtag2"]},{"1401247650":["hashtag1","hashtag2"]},{"1401247641":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247649, 1401247640, 1401247637, 1401247645, 1401247650, 1401247641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.397557973861694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:39:16.999585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_35_10629.jpg', '/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_34_9619.jpg', '/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', '/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', '/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', '/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_35_10629.jpg
/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_34_9619.jpg
/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg
/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg
/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg
/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_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":["1401247664","1401247666","1401247654","1401247662","1401247656","1401247659"],"photo_ids_order":["1401247654","1401247656","1401247659","1401247662","1401247664","1401247666"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13c32720a6b72b6b835b2377c8aaacb3.jpg","text":"TemporaryFile(/tmp/multipartBody772709180222647993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824817789,"filename":"image_10122025_22_31_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/12/27/ac71a182cfe00bb4d427dcf6c07425a1.jpg","text":"TemporaryFile(/tmp/multipartBody3645225837357154156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824817789,"filename":"image_10122025_22_30_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/12/27/3245ecad2174c1b9a862b65e6a5b7a37.jpg","text":"TemporaryFile(/tmp/multipartBody1869133309750277758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824817789,"filename":"image_10122025_22_34_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd983b6ee0265c9f3b1dddaa559c4380.jpg","text":"TemporaryFile(/tmp/multipartBody6417007020689919819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824817789,"filename":"image_10122025_22_31_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1c76fb27b3034b9f80058bfeb86f7eb.jpg","text":"TemporaryFile(/tmp/multipartBody23995457287959078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824817789,"filename":"image_10122025_22_32_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/12/27/ba3932e10d6d1b4693ecb74c3f91b0bc.jpg","text":"TemporaryFile(/tmp/multipartBody4624396062142537913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824817789,"filename":"image_10122025_22_32_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247659","file1":"1401247656","file0":"1401247654","file4":"1401247664","file5":"1401247666","file3":"1401247662"},"map_files_photo_id_array":[{"photo_id":"1401247666","filename":"file5"},{"photo_id":"1401247659","filename":"file2"},{"photo_id":"1401247664","filename":"file4"},{"photo_id":"1401247656","filename":"file1"},{"photo_id":"1401247654","filename":"file0"},{"photo_id":"1401247662","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401247664":["hashtag1","hashtag2"]},{"1401247666":["hashtag1","hashtag2"]},{"1401247654":["hashtag1","hashtag2"]},{"1401247662":["hashtag1","hashtag2"]},{"1401247656":["hashtag1","hashtag2"]},{"1401247659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401247664, 1401247666, 1401247654, 1401247662, 1401247656, 1401247659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37055015563965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:40:02.556998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_30_05_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_34_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', '/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', '/home/nano/Desktop/images/10122025/22/29/image_10122025_22_30_05_10663.jpg', '/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_54_9622.jpg', '/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_45_10634.jpg', '/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg
/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg
/home/nano/Desktop/images/10122025/22/29/image_10122025_22_30_05_10663.jpg
/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_54_9622.jpg
/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_45_10634.jpg
/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_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":["1401248024","1401248014","1401247948","1401247980","1401248028","1401247944"],"photo_ids_order":["1401247944","1401247948","1401247980","1401248014","1401248024","1401248028"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11c4c5cabb5fff7b0eaa2ba09d6acb26.jpg","text":"TemporaryFile(/tmp/multipartBody444464954210812393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824863361,"filename":"image_10122025_22_29_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1024d4a0e6f77ea638537d94726a4a20.jpg","text":"TemporaryFile(/tmp/multipartBody4683270971801343693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824863361,"filename":"image_10122025_22_29_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/12/27/a10a7d8e5dd30b1108f402a996b6cf6c.jpg","text":"TemporaryFile(/tmp/multipartBody2525047701949496136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824863361,"filename":"image_10122025_22_30_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f0ea460c10673fed330227f316c4578.jpg","text":"TemporaryFile(/tmp/multipartBody7654371390215651697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824863361,"filename":"image_10122025_22_30_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/161afc245b974fce6338462707011d62.jpg","text":"TemporaryFile(/tmp/multipartBody2152328140328955292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824863361,"filename":"image_10122025_22_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/12/27/b34db77ee850f78a71df515f8729e01b.jpg","text":"TemporaryFile(/tmp/multipartBody6874409467696842222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824863361,"filename":"image_10122025_22_30_45_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401247980","file1":"1401247948","file0":"1401247944","file4":"1401248024","file5":"1401248028","file3":"1401248014"},"map_files_photo_id_array":[{"photo_id":"1401248028","filename":"file5"},{"photo_id":"1401247980","filename":"file2"},{"photo_id":"1401248024","filename":"file4"},{"photo_id":"1401247948","filename":"file1"},{"photo_id":"1401247944","filename":"file0"},{"photo_id":"1401248014","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248024":["hashtag1","hashtag2"]},{"1401248014":["hashtag1","hashtag2"]},{"1401247948":["hashtag1","hashtag2"]},{"1401247980":["hashtag1","hashtag2"]},{"1401248028":["hashtag1","hashtag2"]},{"1401247944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248024, 1401248014, 1401247948, 1401247980, 1401248028, 1401247944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54889273643494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:40:47.148772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/28/image_10122025_22_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_28_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_44_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_24_9618.jpg', '/home/nano/Desktop/images/10122025/22/28/image_10122025_22_28_25_9617.jpg', '/home/nano/Desktop/images/10122025/22/27/image_10122025_22_28_04_9627.jpg', '/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_55_10627.jpg', '/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_44_9634.jpg', '/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_24_9618.jpg
/home/nano/Desktop/images/10122025/22/28/image_10122025_22_28_25_9617.jpg
/home/nano/Desktop/images/10122025/22/27/image_10122025_22_28_04_9627.jpg
/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_55_10627.jpg
/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_44_9634.jpg
/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_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":["1401248293","1401248356","1401248344","1401248325","1401248274","1401248241"],"photo_ids_order":["1401248241","1401248274","1401248293","1401248325","1401248344","1401248356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c1717a09b6edfb973bd4c0f2ab30c53.jpg","text":"TemporaryFile(/tmp/multipartBody7647550839536715835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824907930,"filename":"image_10122025_22_28_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/12/27/9f71cbed2f6c238832089e923974202f.jpg","text":"TemporaryFile(/tmp/multipartBody7735337797619841816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824907930,"filename":"image_10122025_22_26_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2e2ea6e59038cbb0814585850cdc4ce.jpg","text":"TemporaryFile(/tmp/multipartBody2659790153773615956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824907930,"filename":"image_10122025_22_27_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/12/27/0ed2b967ba54633b79f837fe960e255f.jpg","text":"TemporaryFile(/tmp/multipartBody5688174767112357367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824907930,"filename":"image_10122025_22_27_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ea898d29bb1c461e7d7d6caf421f785.jpg","text":"TemporaryFile(/tmp/multipartBody8876866114247736368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824907930,"filename":"image_10122025_22_28_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4daaf97e04f4606ba1846e0c0e843dd.jpg","text":"TemporaryFile(/tmp/multipartBody7472497583565190600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824907930,"filename":"image_10122025_22_29_24_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401248293","file1":"1401248274","file0":"1401248241","file4":"1401248344","file5":"1401248356","file3":"1401248325"},"map_files_photo_id_array":[{"photo_id":"1401248356","filename":"file5"},{"photo_id":"1401248293","filename":"file2"},{"photo_id":"1401248344","filename":"file4"},{"photo_id":"1401248274","filename":"file1"},{"photo_id":"1401248241","filename":"file0"},{"photo_id":"1401248325","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248293":["hashtag1","hashtag2"]},{"1401248356":["hashtag1","hashtag2"]},{"1401248344":["hashtag1","hashtag2"]},{"1401248325":["hashtag1","hashtag2"]},{"1401248274":["hashtag1","hashtag2"]},{"1401248241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248293, 1401248356, 1401248344, 1401248325, 1401248274, 1401248241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0305552482605 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:41:32.278937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_15_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_26_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_45_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_35_10628.jpg', '/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', '/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_15_9654.jpg', '/home/nano/Desktop/images/10122025/22/25/image_10122025_22_26_05_10643.jpg', '/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_54_9619.jpg', '/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_45_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_35_10628.jpg
/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg
/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_15_9654.jpg
/home/nano/Desktop/images/10122025/22/25/image_10122025_22_26_05_10643.jpg
/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_54_9619.jpg
/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_45_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":["1401248405","1401248408","1401248416","1401248413","1401248406","1401248415"],"photo_ids_order":["1401248405","1401248406","1401248408","1401248413","1401248415","1401248416"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0dd879e3cc1aff33eb1ed94fff209cd.jpg","text":"TemporaryFile(/tmp/multipartBody2691403391730856870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824953056,"filename":"image_10122025_22_26_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/433360943f289fc263ba598f33f82b32.jpg","text":"TemporaryFile(/tmp/multipartBody8636006904679062769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824953056,"filename":"image_10122025_22_26_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/094c28abf987253ab924ab438a1231c1.jpg","text":"TemporaryFile(/tmp/multipartBody7589332107676240005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824953056,"filename":"image_10122025_22_25_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5a597adb8fad22ab944b94ab0ae4596.jpg","text":"TemporaryFile(/tmp/multipartBody465427365492632801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824953056,"filename":"image_10122025_22_26_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f9dba7ac99fc8bc73536c7d46d1d8a9.jpg","text":"TemporaryFile(/tmp/multipartBody7174048884301601850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824953056,"filename":"image_10122025_22_26_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/12/27/812a673b1c38ab1ca5df06ed2106ddac.jpg","text":"TemporaryFile(/tmp/multipartBody7055255926977016610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824953056,"filename":"image_10122025_22_25_54_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401248408","file1":"1401248406","file0":"1401248405","file4":"1401248415","file5":"1401248416","file3":"1401248413"},"map_files_photo_id_array":[{"photo_id":"1401248416","filename":"file5"},{"photo_id":"1401248408","filename":"file2"},{"photo_id":"1401248415","filename":"file4"},{"photo_id":"1401248406","filename":"file1"},{"photo_id":"1401248405","filename":"file0"},{"photo_id":"1401248413","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248405":["hashtag1","hashtag2"]},{"1401248408":["hashtag1","hashtag2"]},{"1401248416":["hashtag1","hashtag2"]},{"1401248413":["hashtag1","hashtag2"]},{"1401248406":["hashtag1","hashtag2"]},{"1401248415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248405, 1401248408, 1401248416, 1401248413, 1401248406, 1401248415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.201722383499146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:42:17.390541
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_15_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_35_10630.jpg', '/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_24_9616.jpg', '/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_15_9637.jpg', '/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_34_9617.jpg', '/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_25_9617.jpg', '/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_15_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_35_10630.jpg
/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_24_9616.jpg
/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_15_9637.jpg
/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_34_9617.jpg
/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_25_9617.jpg
/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_15_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":["1401248438","1401248426","1401248440","1401248433","1401248436","1401248421"],"photo_ids_order":["1401248421","1401248426","1401248433","1401248436","1401248438","1401248440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3690eaad4e2837b748c7c4cc8349ea7a.jpg","text":"TemporaryFile(/tmp/multipartBody5948196455884560245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824998194,"filename":"image_10122025_22_24_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9337ad76ab636fa76f4d7439470ded62.jpg","text":"TemporaryFile(/tmp/multipartBody1358044995622636651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824998194,"filename":"image_10122025_22_25_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/12/27/6a82c0f97d1ac70e57752c676867d751.jpg","text":"TemporaryFile(/tmp/multipartBody2402282396441650315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824998194,"filename":"image_10122025_22_24_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c136774cb8e9fa66072d4abba75d8fd5.jpg","text":"TemporaryFile(/tmp/multipartBody6305395526226041763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824998194,"filename":"image_10122025_22_25_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c0d244e384e750ca062cf7e70819004.jpg","text":"TemporaryFile(/tmp/multipartBody7329571200695781996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824998194,"filename":"image_10122025_22_24_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/12/27/d25e9a42c3a4963e3ebf92edff7804ae.jpg","text":"TemporaryFile(/tmp/multipartBody581459892178202674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766824998194,"filename":"image_10122025_22_25_35_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401248433","file1":"1401248426","file0":"1401248421","file4":"1401248438","file5":"1401248440","file3":"1401248436"},"map_files_photo_id_array":[{"photo_id":"1401248440","filename":"file5"},{"photo_id":"1401248433","filename":"file2"},{"photo_id":"1401248438","filename":"file4"},{"photo_id":"1401248426","filename":"file1"},{"photo_id":"1401248421","filename":"file0"},{"photo_id":"1401248436","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248438":["hashtag1","hashtag2"]},{"1401248426":["hashtag1","hashtag2"]},{"1401248440":["hashtag1","hashtag2"]},{"1401248433":["hashtag1","hashtag2"]},{"1401248436":["hashtag1","hashtag2"]},{"1401248421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248438, 1401248426, 1401248440, 1401248433, 1401248436, 1401248421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35616683959961 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:43:03.205311
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/23/image_10122025_22_24_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/22/image_10122025_22_22_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/23/image_10122025_22_24_04_9621.jpg', '/home/nano/Desktop/images/10122025/22/22/image_10122025_22_22_14_9634.jpg', '/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', '/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', '/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', '/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/23/image_10122025_22_24_04_9621.jpg
/home/nano/Desktop/images/10122025/22/22/image_10122025_22_22_14_9634.jpg
/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg
/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg
/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg
/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_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":["1401248444","1401248473","1401248506","1401248571","1401248538","1401248445"],"photo_ids_order":["1401248444","1401248445","1401248473","1401248506","1401248538","1401248571"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93c233fe13f2160ecc40e75a4264a515.jpg","text":"TemporaryFile(/tmp/multipartBody8372917745392918848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825044049,"filename":"image_10122025_22_24_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/12/27/eb4c855e5608106a45f5b33cc32eec20.jpg","text":"TemporaryFile(/tmp/multipartBody6144706468318886898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825044049,"filename":"image_10122025_22_21_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/12/27/90f926f525aae77be1d09f9a92f0bc44.jpg","text":"TemporaryFile(/tmp/multipartBody4902766510283965143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825044049,"filename":"image_10122025_22_21_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11ca275eb0b397869df09c20ace4bb6b.jpg","text":"TemporaryFile(/tmp/multipartBody422436558557799260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825044049,"filename":"image_10122025_22_20_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/12/27/58ed5b2148f6cbeb9eaaffc801d47abf.jpg","text":"TemporaryFile(/tmp/multipartBody6243285134889762378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825044049,"filename":"image_10122025_22_21_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4e8608bf81ae01cdb4d9d8b8c70b503.jpg","text":"TemporaryFile(/tmp/multipartBody3746799208342765439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825044049,"filename":"image_10122025_22_22_14_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401248473","file1":"1401248445","file0":"1401248444","file4":"1401248538","file5":"1401248571","file3":"1401248506"},"map_files_photo_id_array":[{"photo_id":"1401248571","filename":"file5"},{"photo_id":"1401248473","filename":"file2"},{"photo_id":"1401248538","filename":"file4"},{"photo_id":"1401248445","filename":"file1"},{"photo_id":"1401248444","filename":"file0"},{"photo_id":"1401248506","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248444":["hashtag1","hashtag2"]},{"1401248473":["hashtag1","hashtag2"]},{"1401248506":["hashtag1","hashtag2"]},{"1401248571":["hashtag1","hashtag2"]},{"1401248538":["hashtag1","hashtag2"]},{"1401248445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248444, 1401248473, 1401248506, 1401248571, 1401248538, 1401248445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03077483177185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:43:47.457262
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_20_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_55_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', '/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', '/home/nano/Desktop/images/10122025/22/19/image_10122025_22_20_04_9641.jpg', '/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_55_9634.jpg', '/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_45_10633.jpg', '/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg
/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg
/home/nano/Desktop/images/10122025/22/19/image_10122025_22_20_04_9641.jpg
/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_55_9634.jpg
/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_45_10633.jpg
/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_34_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":["1401248612","1401248609","1401248611","1401248608","1401248610","1401248613"],"photo_ids_order":["1401248608","1401248609","1401248610","1401248611","1401248612","1401248613"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0cdb17bd07649a1dc6910066d885b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6266730210644011841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825088241,"filename":"image_10122025_22_19_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f0cbc8407e80896ceb49b732ba286d9.jpg","text":"TemporaryFile(/tmp/multipartBody3078120646032017882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825088241,"filename":"image_10122025_22_20_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/12/27/9e74dc96135cc11d86a74e0332714f36.jpg","text":"TemporaryFile(/tmp/multipartBody3794010113502157843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825088241,"filename":"image_10122025_22_19_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfc9b05f4d85745677ca4adce1c8440e.jpg","text":"TemporaryFile(/tmp/multipartBody1249104908832358878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825088241,"filename":"image_10122025_22_20_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a193709cd7f24bdace2f67d99d166b85.jpg","text":"TemporaryFile(/tmp/multipartBody818903307851508016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825088241,"filename":"image_10122025_22_20_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/12/27/17d996921f80aa539194dee98796f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody940310463472563267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825088241,"filename":"image_10122025_22_19_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401248610","file1":"1401248609","file0":"1401248608","file4":"1401248612","file5":"1401248613","file3":"1401248611"},"map_files_photo_id_array":[{"photo_id":"1401248613","filename":"file5"},{"photo_id":"1401248610","filename":"file2"},{"photo_id":"1401248612","filename":"file4"},{"photo_id":"1401248609","filename":"file1"},{"photo_id":"1401248608","filename":"file0"},{"photo_id":"1401248611","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248612":["hashtag1","hashtag2"]},{"1401248609":["hashtag1","hashtag2"]},{"1401248611":["hashtag1","hashtag2"]},{"1401248608":["hashtag1","hashtag2"]},{"1401248610":["hashtag1","hashtag2"]},{"1401248613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248612, 1401248609, 1401248611, 1401248608, 1401248610, 1401248613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.083582401275635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:44:32.546493
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/09/44/image_27122025_09_44_35_10517.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/09/44/image_27122025_09_44_35_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/09/44/image_27122025_09_44_35_10517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401248739"],"photo_id":"1401248739","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57689957e30da3e55ab164dda310d063.jpg","text":"TemporaryFile(/tmp/multipartBody79065567956097945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825132833,"filename":"image_27122025_09_44_35_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401248739"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401248739"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.484402656555176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:44:47.585063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_19_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_25_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_15_10640.jpg', '/home/nano/Desktop/images/10122025/22/18/image_10122025_22_19_04_9632.jpg', '/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_55_10629.jpg', '/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_44_9636.jpg', '/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_35_9620.jpg', '/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_25_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_15_10640.jpg
/home/nano/Desktop/images/10122025/22/18/image_10122025_22_19_04_9632.jpg
/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_55_10629.jpg
/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_44_9636.jpg
/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_35_9620.jpg
/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_25_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":["1401248807","1401248764","1401248806","1401248790","1401248766","1401248805"],"photo_ids_order":["1401248764","1401248766","1401248790","1401248805","1401248806","1401248807"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7b8a688d24cd1ce9e137768789ac52e.jpg","text":"TemporaryFile(/tmp/multipartBody9196998073827104338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825148386,"filename":"image_10122025_22_18_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ef6d04c35e31400b742f7ea6f9d4a18.jpg","text":"TemporaryFile(/tmp/multipartBody9050236938089728563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825148386,"filename":"image_10122025_22_19_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5255308f59cfce8c09af3e79b9e35a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5730992750470388274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825148386,"filename":"image_10122025_22_18_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/097f4a6a3498ca376a0a380664ca59a9.jpg","text":"TemporaryFile(/tmp/multipartBody7223996751386008878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825148386,"filename":"image_10122025_22_18_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb850439fb82307c62de1d3f8c738b18.jpg","text":"TemporaryFile(/tmp/multipartBody5679182477543016105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825148386,"filename":"image_10122025_22_19_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/12/27/c4797b5c162f03199d015c92eb6857b7.jpg","text":"TemporaryFile(/tmp/multipartBody5722791184082054119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825148386,"filename":"image_10122025_22_18_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401248790","file1":"1401248766","file0":"1401248764","file4":"1401248806","file5":"1401248807","file3":"1401248805"},"map_files_photo_id_array":[{"photo_id":"1401248807","filename":"file5"},{"photo_id":"1401248790","filename":"file2"},{"photo_id":"1401248806","filename":"file4"},{"photo_id":"1401248766","filename":"file1"},{"photo_id":"1401248764","filename":"file0"},{"photo_id":"1401248805","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248807":["hashtag1","hashtag2"]},{"1401248764":["hashtag1","hashtag2"]},{"1401248806":["hashtag1","hashtag2"]},{"1401248790":["hashtag1","hashtag2"]},{"1401248766":["hashtag1","hashtag2"]},{"1401248805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248807, 1401248764, 1401248806, 1401248790, 1401248766, 1401248805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88589382171631 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:45:32.686063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_18_05_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_17_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_45_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_14_9639.jpg', '/home/nano/Desktop/images/10122025/22/17/image_10122025_22_18_05_9645.jpg', '/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_55_10629.jpg', '/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_44_9623.jpg', '/home/nano/Desktop/images/10122025/22/16/image_10122025_22_17_05_10632.jpg', '/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_45_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_14_9639.jpg
/home/nano/Desktop/images/10122025/22/17/image_10122025_22_18_05_9645.jpg
/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_55_10629.jpg
/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_44_9623.jpg
/home/nano/Desktop/images/10122025/22/16/image_10122025_22_17_05_10632.jpg
/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_45_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":["1401248816","1401248941","1401248878","1401248842","1401248911","1401248814"],"photo_ids_order":["1401248814","1401248816","1401248842","1401248878","1401248911","1401248941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2f45721cbcdf539c3dd39f9cd990ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8621482381058058240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825193465,"filename":"image_10122025_22_18_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78e8fcd2c6c4402972f4a2bfa12eb8ba.jpg","text":"TemporaryFile(/tmp/multipartBody61244549949992049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825193465,"filename":"image_10122025_22_16_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b200ad54c4b91cedc6593799ba636694.jpg","text":"TemporaryFile(/tmp/multipartBody302478770345506703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825193465,"filename":"image_10122025_22_17_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/12/27/cb5493400e5a2db44e5bf76cb5264799.jpg","text":"TemporaryFile(/tmp/multipartBody4373828079412731650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825193465,"filename":"image_10122025_22_17_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d946c33c82d5f0ded734d745dc76d06.jpg","text":"TemporaryFile(/tmp/multipartBody6152427563558356316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825193465,"filename":"image_10122025_22_17_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e953eb76fb26474be5bb27003d46f384.jpg","text":"TemporaryFile(/tmp/multipartBody3578646374857939303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825193465,"filename":"image_10122025_22_18_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401248842","file1":"1401248816","file0":"1401248814","file4":"1401248911","file5":"1401248941","file3":"1401248878"},"map_files_photo_id_array":[{"photo_id":"1401248941","filename":"file5"},{"photo_id":"1401248842","filename":"file2"},{"photo_id":"1401248911","filename":"file4"},{"photo_id":"1401248816","filename":"file1"},{"photo_id":"1401248814","filename":"file0"},{"photo_id":"1401248878","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401248816":["hashtag1","hashtag2"]},{"1401248941":["hashtag1","hashtag2"]},{"1401248878":["hashtag1","hashtag2"]},{"1401248842":["hashtag1","hashtag2"]},{"1401248911":["hashtag1","hashtag2"]},{"1401248814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401248816, 1401248941, 1401248878, 1401248842, 1401248911, 1401248814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.332258462905884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:46:16.763349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_34_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_35_10631.jpg', '/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_24_9625.jpg', '/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_34_9622.jpg', '/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_25_9622.jpg', '/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_15_10643.jpg', '/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_34_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_35_10631.jpg
/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_24_9625.jpg
/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_34_9622.jpg
/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_25_9622.jpg
/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_15_10643.jpg
/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_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":["1401249085","1401249076","1401249078","1401249087","1401249080","1401249083"],"photo_ids_order":["1401249076","1401249078","1401249080","1401249083","1401249085","1401249087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fb74e7ad51d856d8e1e22f80c68d71d.jpg","text":"TemporaryFile(/tmp/multipartBody3426657976662638816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825237541,"filename":"image_10122025_22_15_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dac21fb1cd59450e9f4a1c85bc5eff73.jpg","text":"TemporaryFile(/tmp/multipartBody7941283928118752348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825237541,"filename":"image_10122025_22_16_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/397c1926d98eceea94a7cec113da1640.jpg","text":"TemporaryFile(/tmp/multipartBody3110090817709516694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825237541,"filename":"image_10122025_22_16_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/12/27/4116cbc13a69467cd89e9c1e2ef6164b.jpg","text":"TemporaryFile(/tmp/multipartBody8334542490825554915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825237541,"filename":"image_10122025_22_14_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/12/27/7b5326d3e13ffd56ef3cce99135b94d0.jpg","text":"TemporaryFile(/tmp/multipartBody258155742340565236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825237541,"filename":"image_10122025_22_15_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/12/27/dbe6ac81065f20193b6762a458e788ab.jpg","text":"TemporaryFile(/tmp/multipartBody1347232055447889752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825237541,"filename":"image_10122025_22_15_25_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249080","file1":"1401249078","file0":"1401249076","file4":"1401249085","file5":"1401249087","file3":"1401249083"},"map_files_photo_id_array":[{"photo_id":"1401249087","filename":"file5"},{"photo_id":"1401249080","filename":"file2"},{"photo_id":"1401249085","filename":"file4"},{"photo_id":"1401249078","filename":"file1"},{"photo_id":"1401249076","filename":"file0"},{"photo_id":"1401249083","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249085":["hashtag1","hashtag2"]},{"1401249076":["hashtag1","hashtag2"]},{"1401249078":["hashtag1","hashtag2"]},{"1401249087":["hashtag1","hashtag2"]},{"1401249080":["hashtag1","hashtag2"]},{"1401249083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249085, 1401249076, 1401249078, 1401249087, 1401249080, 1401249083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02416157722473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:47:02.669170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/13/image_10122025_22_13_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_13_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_25_10645.jpg', '/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_14_9638.jpg', '/home/nano/Desktop/images/10122025/22/13/image_10122025_22_13_35_9621.jpg', '/home/nano/Desktop/images/10122025/22/12/image_10122025_22_13_05_9633.jpg', '/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_55_10630.jpg', '/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_25_10645.jpg
/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_14_9638.jpg
/home/nano/Desktop/images/10122025/22/13/image_10122025_22_13_35_9621.jpg
/home/nano/Desktop/images/10122025/22/12/image_10122025_22_13_05_9633.jpg
/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_55_10630.jpg
/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_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":["1401249091","1401249093","1401249096","1401249100","1401249095","1401249097"],"photo_ids_order":["1401249091","1401249093","1401249095","1401249096","1401249097","1401249100"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61bcbe253bf425d08f69b61b53de3916.jpg","text":"TemporaryFile(/tmp/multipartBody757115016072703978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825283533,"filename":"image_10122025_22_14_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12ab63e885bf8c0e699856d49c6ffe43.jpg","text":"TemporaryFile(/tmp/multipartBody3321229868829828804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825283533,"filename":"image_10122025_22_14_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/12/27/72c429733c02170c92adf7daded0ddda.jpg","text":"TemporaryFile(/tmp/multipartBody9092789603743445247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825283533,"filename":"image_10122025_22_13_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f21b8afc5dcdd91ab6f5ed7bd306d658.jpg","text":"TemporaryFile(/tmp/multipartBody2587103696423203644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825283533,"filename":"image_10122025_22_12_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/12/27/f322e993552adf17ee293ba263c9fe4c.jpg","text":"TemporaryFile(/tmp/multipartBody5358960505087809890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825283533,"filename":"image_10122025_22_13_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31fd246b1a1590b4a36ddb643956d806.jpg","text":"TemporaryFile(/tmp/multipartBody4220514383171934287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825283533,"filename":"image_10122025_22_12_55_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249095","file1":"1401249093","file0":"1401249091","file4":"1401249097","file5":"1401249100","file3":"1401249096"},"map_files_photo_id_array":[{"photo_id":"1401249100","filename":"file5"},{"photo_id":"1401249095","filename":"file2"},{"photo_id":"1401249097","filename":"file4"},{"photo_id":"1401249093","filename":"file1"},{"photo_id":"1401249091","filename":"file0"},{"photo_id":"1401249096","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249091":["hashtag1","hashtag2"]},{"1401249093":["hashtag1","hashtag2"]},{"1401249096":["hashtag1","hashtag2"]},{"1401249100":["hashtag1","hashtag2"]},{"1401249095":["hashtag1","hashtag2"]},{"1401249097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249091, 1401249093, 1401249096, 1401249100, 1401249095, 1401249097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12474489212036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:47:46.865514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_15_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_11_04_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_35_10651.jpg', '/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_45_9617.jpg', '/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', '/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_24_9620.jpg', '/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_15_10680.jpg', '/home/nano/Desktop/images/10122025/22/10/image_10122025_22_11_04_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_35_10651.jpg
/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_45_9617.jpg
/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg
/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_24_9620.jpg
/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_15_10680.jpg
/home/nano/Desktop/images/10122025/22/10/image_10122025_22_11_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":["1401249116","1401249115","1401249118","1401249120","1401249117","1401249122"],"photo_ids_order":["1401249115","1401249116","1401249117","1401249118","1401249120","1401249122"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/169eece468ff0322c039d6facd6fba4d.jpg","text":"TemporaryFile(/tmp/multipartBody2836024814878727389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825327636,"filename":"image_10122025_22_11_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09b95cfcfa7c3efe73ef82ee2792ed52.jpg","text":"TemporaryFile(/tmp/multipartBody7892449958544539390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825327636,"filename":"image_10122025_22_12_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/257fcedae75dedc802c3566acc9af20f.jpg","text":"TemporaryFile(/tmp/multipartBody3010100142732307256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825327636,"filename":"image_10122025_22_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/12/27/c326ad498a2f423764bd724ba7955500.jpg","text":"TemporaryFile(/tmp/multipartBody2982753010192890036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825327636,"filename":"image_10122025_22_11_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ce5c9d6398ef17063707cab13b7d98c.jpg","text":"TemporaryFile(/tmp/multipartBody4835859272864419390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825327636,"filename":"image_10122025_22_11_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/170b958edfb3977ac84ba4e1eb332c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8144626711219007655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825327636,"filename":"image_10122025_22_11_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249117","file1":"1401249116","file0":"1401249115","file4":"1401249120","file5":"1401249122","file3":"1401249118"},"map_files_photo_id_array":[{"photo_id":"1401249122","filename":"file5"},{"photo_id":"1401249117","filename":"file2"},{"photo_id":"1401249120","filename":"file4"},{"photo_id":"1401249116","filename":"file1"},{"photo_id":"1401249115","filename":"file0"},{"photo_id":"1401249118","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249116":["hashtag1","hashtag2"]},{"1401249115":["hashtag1","hashtag2"]},{"1401249118":["hashtag1","hashtag2"]},{"1401249120":["hashtag1","hashtag2"]},{"1401249117":["hashtag1","hashtag2"]},{"1401249122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249116, 1401249115, 1401249118, 1401249120, 1401249117, 1401249122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96027374267578 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:48:31.971154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_34_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/09/image_10122025_22_10_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/09/image_10122025_22_09_55_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_34_9638.jpg', '/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_25_9621.jpg', '/home/nano/Desktop/images/10122025/22/09/image_10122025_22_10_04_9636.jpg', '/home/nano/Desktop/images/10122025/22/09/image_10122025_22_09_55_9623.jpg', '/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_55_10630.jpg', '/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_34_9638.jpg
/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_25_9621.jpg
/home/nano/Desktop/images/10122025/22/09/image_10122025_22_10_04_9636.jpg
/home/nano/Desktop/images/10122025/22/09/image_10122025_22_09_55_9623.jpg
/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_55_10630.jpg
/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_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":["1401249200","1401249198","1401249204","1401249194","1401249203","1401249196"],"photo_ids_order":["1401249194","1401249196","1401249198","1401249200","1401249203","1401249204"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4087271ab9fc2b0f10a6e2879fc62536.jpg","text":"TemporaryFile(/tmp/multipartBody588746040374107448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825372755,"filename":"image_10122025_22_09_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08cd40e18440af42544753f307cbe643.jpg","text":"TemporaryFile(/tmp/multipartBody2406814828642140037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825372755,"filename":"image_10122025_22_10_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/12/27/f2c00976f37974c700472a64d269f005.jpg","text":"TemporaryFile(/tmp/multipartBody4705143422668398067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825372755,"filename":"image_10122025_22_08_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/12/27/27ec56907b6469636739c7025f08c27e.jpg","text":"TemporaryFile(/tmp/multipartBody1532211378633911749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825372755,"filename":"image_10122025_22_10_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/12/27/15f26f2cdffac6a43efbd22c08bf020c.jpg","text":"TemporaryFile(/tmp/multipartBody2325024890132358576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825372755,"filename":"image_10122025_22_08_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/259b6230a26ecf26e1d1f6e075cefc88.jpg","text":"TemporaryFile(/tmp/multipartBody5029146137118711763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825372755,"filename":"image_10122025_22_10_25_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249198","file1":"1401249196","file0":"1401249194","file4":"1401249203","file5":"1401249204","file3":"1401249200"},"map_files_photo_id_array":[{"photo_id":"1401249204","filename":"file5"},{"photo_id":"1401249198","filename":"file2"},{"photo_id":"1401249203","filename":"file4"},{"photo_id":"1401249196","filename":"file1"},{"photo_id":"1401249194","filename":"file0"},{"photo_id":"1401249200","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249200":["hashtag1","hashtag2"]},{"1401249198":["hashtag1","hashtag2"]},{"1401249204":["hashtag1","hashtag2"]},{"1401249194":["hashtag1","hashtag2"]},{"1401249203":["hashtag1","hashtag2"]},{"1401249196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249200, 1401249198, 1401249204, 1401249194, 1401249203, 1401249196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34653568267822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:49:17.096920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_24_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', '/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_14_9637.jpg', '/home/nano/Desktop/images/10122025/22/07/image_10122025_22_08_05_9635.jpg', '/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_55_10629.jpg', '/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_44_9625.jpg', '/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg
/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_14_9637.jpg
/home/nano/Desktop/images/10122025/22/07/image_10122025_22_08_05_9635.jpg
/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_55_10629.jpg
/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_44_9625.jpg
/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_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":["1401249220","1401249208","1401249210","1401249213","1401249216","1401249218"],"photo_ids_order":["1401249208","1401249210","1401249213","1401249216","1401249218","1401249220"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4195cb195e862e5dc8729716164668b6.jpg","text":"TemporaryFile(/tmp/multipartBody5313411824943367867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825417879,"filename":"image_10122025_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/12/27/5f349cce7157395acd08c942562c79af.jpg","text":"TemporaryFile(/tmp/multipartBody2567480845941265666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825417879,"filename":"image_10122025_22_08_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14c354defc6967255a5991619da66f87.jpg","text":"TemporaryFile(/tmp/multipartBody751099888530167045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825417879,"filename":"image_10122025_22_08_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/12/27/de57cbd01897c81cf51d2750b548591a.jpg","text":"TemporaryFile(/tmp/multipartBody6631669183845896567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825417879,"filename":"image_10122025_22_08_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8da6298ffb30c5c282a6d84c5ec4705.jpg","text":"TemporaryFile(/tmp/multipartBody5755926727488848644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825417879,"filename":"image_10122025_22_07_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b6374758a674af4b0bb96b0a2207d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3480491923999698455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825417879,"filename":"image_10122025_22_07_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249213","file1":"1401249210","file0":"1401249208","file4":"1401249218","file5":"1401249220","file3":"1401249216"},"map_files_photo_id_array":[{"photo_id":"1401249220","filename":"file5"},{"photo_id":"1401249213","filename":"file2"},{"photo_id":"1401249218","filename":"file4"},{"photo_id":"1401249210","filename":"file1"},{"photo_id":"1401249208","filename":"file0"},{"photo_id":"1401249216","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249220":["hashtag1","hashtag2"]},{"1401249208":["hashtag1","hashtag2"]},{"1401249210":["hashtag1","hashtag2"]},{"1401249213":["hashtag1","hashtag2"]},{"1401249216":["hashtag1","hashtag2"]},{"1401249218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249220, 1401249208, 1401249210, 1401249213, 1401249216, 1401249218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.742555379867554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:50:02.739938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg', '/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg', '/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', '/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg', '/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg', '/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg
/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg
/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg
/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg
/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg
/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_9621.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7539472579956055 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:50:17.157726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg', '/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg', '/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', '/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg', '/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg', '/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg
/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg
/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg
/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg
/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg
/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_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":["1401249244","1401249232","1401249235","1401249238","1401249240","1401249242"],"photo_ids_order":["1401249232","1401249235","1401249238","1401249240","1401249242","1401249244"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7a8444581a74013eabce6077ed78856.jpg","text":"TemporaryFile(/tmp/multipartBody2610249054795832124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825477947,"filename":"image_10122025_22_05_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5be6b9d253caf49395f18ebe0aecafb.jpg","text":"TemporaryFile(/tmp/multipartBody5017000087226171231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825477947,"filename":"image_10122025_22_07_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd9d7c06fc10c2f2beed841b73166a13.jpg","text":"TemporaryFile(/tmp/multipartBody4667082086792992106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825477947,"filename":"image_10122025_22_06_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f636b0491a26f8a87aa6162f02c7bd91.jpg","text":"TemporaryFile(/tmp/multipartBody4510002303783023350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825477947,"filename":"image_10122025_22_06_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f41b7f4300332b1febb9f7b8a3014b25.jpg","text":"TemporaryFile(/tmp/multipartBody7614851999560459294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825477947,"filename":"image_10122025_22_06_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/954cbbb0dd983661c6e69371c1f6096f.jpg","text":"TemporaryFile(/tmp/multipartBody3804257696937638559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825477947,"filename":"image_10122025_22_06_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249238","file1":"1401249235","file0":"1401249232","file4":"1401249242","file5":"1401249244","file3":"1401249240"},"map_files_photo_id_array":[{"photo_id":"1401249244","filename":"file5"},{"photo_id":"1401249238","filename":"file2"},{"photo_id":"1401249242","filename":"file4"},{"photo_id":"1401249235","filename":"file1"},{"photo_id":"1401249232","filename":"file0"},{"photo_id":"1401249240","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249244":["hashtag1","hashtag2"]},{"1401249232":["hashtag1","hashtag2"]},{"1401249235":["hashtag1","hashtag2"]},{"1401249238":["hashtag1","hashtag2"]},{"1401249240":["hashtag1","hashtag2"]},{"1401249242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249244, 1401249232, 1401249235, 1401249238, 1401249240, 1401249242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.580732345581055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:51:02.787063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_04_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_55_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_15_10663.jpg', '/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_25_10635.jpg', '/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_14_9637.jpg', '/home/nano/Desktop/images/10122025/22/03/image_10122025_22_04_05_9638.jpg', '/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_55_10649.jpg', '/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_15_10663.jpg
/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_25_10635.jpg
/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_14_9637.jpg
/home/nano/Desktop/images/10122025/22/03/image_10122025_22_04_05_9638.jpg
/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_55_10649.jpg
/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_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":["1401249376","1401249253","1401249313","1401249345","1401249252","1401249281"],"photo_ids_order":["1401249252","1401249253","1401249281","1401249313","1401249345","1401249376"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dadeb06ddea965412eb127ed08987f5.jpg","text":"TemporaryFile(/tmp/multipartBody7543550601341423093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825523605,"filename":"image_10122025_22_03_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/12/27/e4e0bec058e6837dc6c0112134c0ece7.jpg","text":"TemporaryFile(/tmp/multipartBody7365435129193703113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825523605,"filename":"image_10122025_22_04_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85ac28e3fa7ba3843635141b858e76b7.jpg","text":"TemporaryFile(/tmp/multipartBody6651618033930977082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825523605,"filename":"image_10122025_22_04_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2721445584c4d9eb15524fdff1905464.jpg","text":"TemporaryFile(/tmp/multipartBody2619285745810694859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825523605,"filename":"image_10122025_22_03_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/63765976ebbe7365ad8342d9756fc969.jpg","text":"TemporaryFile(/tmp/multipartBody8814930640792987426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825523605,"filename":"image_10122025_22_05_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/457b18418a6c22cb4cd4fc86b264051b.jpg","text":"TemporaryFile(/tmp/multipartBody1496717901767947172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825523605,"filename":"image_10122025_22_04_14_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249281","file1":"1401249253","file0":"1401249252","file4":"1401249345","file5":"1401249376","file3":"1401249313"},"map_files_photo_id_array":[{"photo_id":"1401249376","filename":"file5"},{"photo_id":"1401249281","filename":"file2"},{"photo_id":"1401249345","filename":"file4"},{"photo_id":"1401249253","filename":"file1"},{"photo_id":"1401249252","filename":"file0"},{"photo_id":"1401249313","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249376":["hashtag1","hashtag2"]},{"1401249253":["hashtag1","hashtag2"]},{"1401249313":["hashtag1","hashtag2"]},{"1401249345":["hashtag1","hashtag2"]},{"1401249252":["hashtag1","hashtag2"]},{"1401249281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249376, 1401249253, 1401249313, 1401249345, 1401249252, 1401249281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56947112083435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:51:47.260557
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_03_05_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_35_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_35_9623.jpg', '/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_14_9632.jpg', '/home/nano/Desktop/images/10122025/22/02/image_10122025_22_03_05_9629.jpg', '/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_55_10633.jpg', '/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_44_9623.jpg', '/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_35_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_35_9623.jpg
/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_14_9632.jpg
/home/nano/Desktop/images/10122025/22/02/image_10122025_22_03_05_9629.jpg
/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_55_10633.jpg
/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_44_9623.jpg
/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_35_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":["1401249562","1401249565","1401249561","1401249558","1401249563","1401249560"],"photo_ids_order":["1401249558","1401249560","1401249561","1401249562","1401249563","1401249565"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b7d54be6254c16ae03973c428a70ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7232562643844164790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825568031,"filename":"image_10122025_22_02_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/405ab5944f3d7e7b729af32c4e8ff09a.jpg","text":"TemporaryFile(/tmp/multipartBody5181743134861940752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825568031,"filename":"image_10122025_22_02_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d8dd3b5d5d56613c18566649a70c9be.jpg","text":"TemporaryFile(/tmp/multipartBody1585133576357062963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825568031,"filename":"image_10122025_22_03_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08da3137353b7f2c65c6ffd08db7df49.jpg","text":"TemporaryFile(/tmp/multipartBody9005686303337193411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825568031,"filename":"image_10122025_22_03_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51cf6887a15dfd77f466910990cccd4e.jpg","text":"TemporaryFile(/tmp/multipartBody2487689508220719870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825568031,"filename":"image_10122025_22_02_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/12/27/5c7865d5d55fbd8ba1a55a5b18b4a884.jpg","text":"TemporaryFile(/tmp/multipartBody8185107498986928649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825568031,"filename":"image_10122025_22_03_14_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249561","file1":"1401249560","file0":"1401249558","file4":"1401249563","file5":"1401249565","file3":"1401249562"},"map_files_photo_id_array":[{"photo_id":"1401249565","filename":"file5"},{"photo_id":"1401249561","filename":"file2"},{"photo_id":"1401249563","filename":"file4"},{"photo_id":"1401249560","filename":"file1"},{"photo_id":"1401249558","filename":"file0"},{"photo_id":"1401249562","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249562":["hashtag1","hashtag2"]},{"1401249565":["hashtag1","hashtag2"]},{"1401249561":["hashtag1","hashtag2"]},{"1401249558":["hashtag1","hashtag2"]},{"1401249563":["hashtag1","hashtag2"]},{"1401249560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249562, 1401249565, 1401249561, 1401249558, 1401249563, 1401249560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.221274852752686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:52:32.350239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_15_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_24_9621.jpg', '/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_15_9628.jpg', '/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_45_9620.jpg', '/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_35_10628.jpg', '/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_24_9620.jpg', '/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_24_9621.jpg
/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_15_9628.jpg
/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_45_9620.jpg
/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_35_10628.jpg
/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_24_9620.jpg
/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_15_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":["1401249580","1401249574","1401249583","1401249576","1401249584","1401249578"],"photo_ids_order":["1401249574","1401249576","1401249578","1401249580","1401249583","1401249584"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/151fb3d7d39da1240de60921935d2ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8003085881957761547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825613133,"filename":"image_10122025_22_01_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6c5fe8b62bfc3abaa0d69455202c43b.jpg","text":"TemporaryFile(/tmp/multipartBody6676338063977835359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825613133,"filename":"image_10122025_22_02_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/12/27/490ded6cca81476ef7a73e4a008bd275.jpg","text":"TemporaryFile(/tmp/multipartBody7996221831648767160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825613133,"filename":"image_10122025_22_01_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/12/27/b169229a3e18950b18379797af1090d8.jpg","text":"TemporaryFile(/tmp/multipartBody1052427279623502956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825613133,"filename":"image_10122025_22_02_15_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dffc6423814d62f72e24bc8369a772c0.jpg","text":"TemporaryFile(/tmp/multipartBody2149912896567094294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825613133,"filename":"image_10122025_22_01_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4479bb842921dd8570d50569927608c.jpg","text":"TemporaryFile(/tmp/multipartBody1888773190282303497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825613133,"filename":"image_10122025_22_01_45_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249578","file1":"1401249576","file0":"1401249574","file4":"1401249583","file5":"1401249584","file3":"1401249580"},"map_files_photo_id_array":[{"photo_id":"1401249584","filename":"file5"},{"photo_id":"1401249578","filename":"file2"},{"photo_id":"1401249583","filename":"file4"},{"photo_id":"1401249576","filename":"file1"},{"photo_id":"1401249574","filename":"file0"},{"photo_id":"1401249580","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249580":["hashtag1","hashtag2"]},{"1401249574":["hashtag1","hashtag2"]},{"1401249583":["hashtag1","hashtag2"]},{"1401249576":["hashtag1","hashtag2"]},{"1401249584":["hashtag1","hashtag2"]},{"1401249578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249580, 1401249574, 1401249583, 1401249576, 1401249584, 1401249578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23396635055542 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:53:17.471312
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/09/53/image_27122025_09_53_44_9507.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/09/53/image_27122025_09_53_44_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/09/53/image_27122025_09_53_44_9507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401249589"],"photo_id":"1401249589","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cf25697103ff94886c2f6b02c450920.jpg","text":"TemporaryFile(/tmp/multipartBody6249125433063889575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825657709,"filename":"image_27122025_09_53_44_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401249589"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401249589"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.600810050964355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:53:32.503672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_55_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_55_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_34_9619.jpg', '/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_15_10647.jpg', '/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_55_9637.jpg', '/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_45_10645.jpg', '/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_25_10629.jpg', '/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_55_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_34_9619.jpg
/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_15_10647.jpg
/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_55_9637.jpg
/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_45_10645.jpg
/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_25_10629.jpg
/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_55_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":["1401249607","1401249616","1401249609","1401249618","1401249611","1401249617"],"photo_ids_order":["1401249607","1401249609","1401249611","1401249616","1401249617","1401249618"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/818d2300e742050ca9bb92e7e53ba0cc.jpg","text":"TemporaryFile(/tmp/multipartBody6735113621928129163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825673303,"filename":"image_10122025_22_00_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/12/27/15e45cfe81d16a6285abce9db7d839b1.jpg","text":"TemporaryFile(/tmp/multipartBody6420192593513220729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825673303,"filename":"image_10122025_21_59_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2019abf4f88a17aa54d2cb2dc082e833.jpg","text":"TemporaryFile(/tmp/multipartBody2513976442954559258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825673303,"filename":"image_10122025_22_00_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/315c68176bd86bea53152cfd0c8d9f80.jpg","text":"TemporaryFile(/tmp/multipartBody8334972524717000740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825673303,"filename":"image_10122025_21_58_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa3eb3fe26e687c8474915f7705c5792.jpg","text":"TemporaryFile(/tmp/multipartBody8486196133869945569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825673303,"filename":"image_10122025_21_59_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe9a882d7ea4d9f784210eb0b8ace9bd.jpg","text":"TemporaryFile(/tmp/multipartBody3666317746062302208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825673303,"filename":"image_10122025_21_59_25_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249611","file1":"1401249609","file0":"1401249607","file4":"1401249617","file5":"1401249618","file3":"1401249616"},"map_files_photo_id_array":[{"photo_id":"1401249618","filename":"file5"},{"photo_id":"1401249611","filename":"file2"},{"photo_id":"1401249617","filename":"file4"},{"photo_id":"1401249609","filename":"file1"},{"photo_id":"1401249607","filename":"file0"},{"photo_id":"1401249616","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249607":["hashtag1","hashtag2"]},{"1401249616":["hashtag1","hashtag2"]},{"1401249609":["hashtag1","hashtag2"]},{"1401249618":["hashtag1","hashtag2"]},{"1401249611":["hashtag1","hashtag2"]},{"1401249617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249607, 1401249616, 1401249609, 1401249618, 1401249611, 1401249617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.076143980026245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:54:17.598301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_15_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg', '/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_35_9621.jpg', '/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_25_10629.jpg', '/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_55_10629.jpg', '/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_24_9616.jpg', '/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_15_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg
/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_35_9621.jpg
/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_25_10629.jpg
/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_55_10629.jpg
/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_24_9616.jpg
/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_15_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":["1401249625","1401249634","1401249627","1401249630","1401249632","1401249623"],"photo_ids_order":["1401249623","1401249625","1401249627","1401249630","1401249632","1401249634"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1466611cb97bb48d3e04b8c4d3bd1317.jpg","text":"TemporaryFile(/tmp/multipartBody5172498067486179747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825718429,"filename":"image_10122025_21_58_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cc5a64791b4e56846a8fe71010ede53.jpg","text":"TemporaryFile(/tmp/multipartBody895475840461291846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825718429,"filename":"image_10122025_21_57_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/516593cceb214f3d626e7d66396ce3aa.jpg","text":"TemporaryFile(/tmp/multipartBody9215039993067365998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825718429,"filename":"image_10122025_21_58_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d69dfcd1672bb0853839c07c20c518c.jpg","text":"TemporaryFile(/tmp/multipartBody7055788594874918156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825718429,"filename":"image_10122025_21_57_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/974153517ff394ee77e2ad8292ba05dd.jpg","text":"TemporaryFile(/tmp/multipartBody4606225858176144952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825718429,"filename":"image_10122025_21_57_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/12/27/92da717bd92223a62eb347c5fcb3d788.jpg","text":"TemporaryFile(/tmp/multipartBody1069815540807665832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825718429,"filename":"image_10122025_21_58_44_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249627","file1":"1401249625","file0":"1401249623","file4":"1401249632","file5":"1401249634","file3":"1401249630"},"map_files_photo_id_array":[{"photo_id":"1401249634","filename":"file5"},{"photo_id":"1401249627","filename":"file2"},{"photo_id":"1401249632","filename":"file4"},{"photo_id":"1401249625","filename":"file1"},{"photo_id":"1401249623","filename":"file0"},{"photo_id":"1401249630","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249625":["hashtag1","hashtag2"]},{"1401249634":["hashtag1","hashtag2"]},{"1401249627":["hashtag1","hashtag2"]},{"1401249630":["hashtag1","hashtag2"]},{"1401249632":["hashtag1","hashtag2"]},{"1401249623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249625, 1401249634, 1401249627, 1401249630, 1401249632, 1401249623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74006748199463 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:55:03.277472
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_57_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_15_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_34_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/56/image_10122025_21_57_05_10639.jpg', '/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_45_9624.jpg', '/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_35_10630.jpg', '/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_24_9619.jpg', '/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_15_10668.jpg', '/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/56/image_10122025_21_57_05_10639.jpg
/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_45_9624.jpg
/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_35_10630.jpg
/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_24_9619.jpg
/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_15_10668.jpg
/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_34_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":["1401249640","1401249643","1401249645","1401249650","1401249647","1401249641"],"photo_ids_order":["1401249640","1401249641","1401249643","1401249645","1401249647","1401249650"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c37843b6bbbc16c55f0a77be98a7db8a.jpg","text":"TemporaryFile(/tmp/multipartBody7286700532302438262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825764143,"filename":"image_10122025_21_57_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f06c6c5ddb8c6bbb66da53081e78e149.jpg","text":"TemporaryFile(/tmp/multipartBody4734310507103977942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825764143,"filename":"image_10122025_21_56_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6a4f823bc824711d352598625b76300.jpg","text":"TemporaryFile(/tmp/multipartBody8895836213005069190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825764143,"filename":"image_10122025_21_56_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/12/27/553ad68f2d0fae4b753d322d824336a5.jpg","text":"TemporaryFile(/tmp/multipartBody7426276596511637617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825764143,"filename":"image_10122025_21_55_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/12/27/b30dedd0eb8edef41543b62474a02202.jpg","text":"TemporaryFile(/tmp/multipartBody3995002831321186859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825764143,"filename":"image_10122025_21_56_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8346c3a0891ebfc283387aa1865482c.jpg","text":"TemporaryFile(/tmp/multipartBody3305737989855764231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825764143,"filename":"image_10122025_21_56_45_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249643","file1":"1401249641","file0":"1401249640","file4":"1401249647","file5":"1401249650","file3":"1401249645"},"map_files_photo_id_array":[{"photo_id":"1401249650","filename":"file5"},{"photo_id":"1401249643","filename":"file2"},{"photo_id":"1401249647","filename":"file4"},{"photo_id":"1401249641","filename":"file1"},{"photo_id":"1401249640","filename":"file0"},{"photo_id":"1401249645","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249640":["hashtag1","hashtag2"]},{"1401249643":["hashtag1","hashtag2"]},{"1401249645":["hashtag1","hashtag2"]},{"1401249650":["hashtag1","hashtag2"]},{"1401249647":["hashtag1","hashtag2"]},{"1401249641":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249640, 1401249643, 1401249645, 1401249650, 1401249647, 1401249641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63105320930481 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:55:47.663990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_55_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_55_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_25_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_25_9624.jpg', '/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_15_10652.jpg', '/home/nano/Desktop/images/10122025/21/54/image_10122025_21_55_04_9631.jpg', '/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_55_9618.jpg', '/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_34_9636.jpg', '/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_25_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_25_9624.jpg
/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_15_10652.jpg
/home/nano/Desktop/images/10122025/21/54/image_10122025_21_55_04_9631.jpg
/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_55_9618.jpg
/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_34_9636.jpg
/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_25_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":["1401249661","1401249664","1401249658","1401249666","1401249660","1401249659"],"photo_ids_order":["1401249658","1401249659","1401249660","1401249661","1401249664","1401249666"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd5bb5f5109658899a463a73e1c948a7.jpg","text":"TemporaryFile(/tmp/multipartBody5088886154998977794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825808455,"filename":"image_10122025_21_54_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d98969b18b21f7055f3094f6537f79ff.jpg","text":"TemporaryFile(/tmp/multipartBody4717694083247748382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825808455,"filename":"image_10122025_21_54_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/12/27/e761d54e805d14e290e04dd2e81ad8e5.jpg","text":"TemporaryFile(/tmp/multipartBody2295187158275740038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825808455,"filename":"image_10122025_21_55_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7388455b568edf7924d35746f22c5da.jpg","text":"TemporaryFile(/tmp/multipartBody496525367809177561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825808455,"filename":"image_10122025_21_54_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/299ad37a6b26121c8edba46c5aea0e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4404668402411250712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825808455,"filename":"image_10122025_21_55_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/12/27/63e4fcb7384849ffa61fd6e5a3b621d3.jpg","text":"TemporaryFile(/tmp/multipartBody4279939769663744271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825808455,"filename":"image_10122025_21_55_15_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249660","file1":"1401249659","file0":"1401249658","file4":"1401249664","file5":"1401249666","file3":"1401249661"},"map_files_photo_id_array":[{"photo_id":"1401249666","filename":"file5"},{"photo_id":"1401249660","filename":"file2"},{"photo_id":"1401249664","filename":"file4"},{"photo_id":"1401249659","filename":"file1"},{"photo_id":"1401249658","filename":"file0"},{"photo_id":"1401249661","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249661":["hashtag1","hashtag2"]},{"1401249664":["hashtag1","hashtag2"]},{"1401249658":["hashtag1","hashtag2"]},{"1401249666":["hashtag1","hashtag2"]},{"1401249660":["hashtag1","hashtag2"]},{"1401249659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249661, 1401249664, 1401249658, 1401249666, 1401249660, 1401249659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23873734474182 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:56:31.772756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_9631.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6646039485931396 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:56:46.762646
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg', '/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg
/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_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":["1401249688","1401249690","1401249687","1401249683","1401249686","1401249685"],"photo_ids_order":["1401249683","1401249685","1401249686","1401249687","1401249688","1401249690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b91e27ecdf37042298d2163ea2471b55.jpg","text":"TemporaryFile(/tmp/multipartBody7421906759428930548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825867525,"filename":"image_10122025_21_53_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29f1ce0d658908ed8f48ea257ca9fe95.jpg","text":"TemporaryFile(/tmp/multipartBody1728246285833341383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825867525,"filename":"image_10122025_21_53_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/12/27/7f8691ef864ecc1644f9e3e0b8e35e9d.jpg","text":"TemporaryFile(/tmp/multipartBody2111976056223915387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825867525,"filename":"image_10122025_21_53_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5efcf9e58664390a55bd1aa5888a9e96.jpg","text":"TemporaryFile(/tmp/multipartBody6720678712674904871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825867525,"filename":"image_10122025_21_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/12/27/b7041993405ec76d708b7043d04fe76e.jpg","text":"TemporaryFile(/tmp/multipartBody5367190561673391084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825867525,"filename":"image_10122025_21_53_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/014a7d672bca7e6b08c9f7d2b44306e2.jpg","text":"TemporaryFile(/tmp/multipartBody1360929165723001708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766825867525,"filename":"image_10122025_21_54_05_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249686","file1":"1401249685","file0":"1401249683","file4":"1401249688","file5":"1401249690","file3":"1401249687"},"map_files_photo_id_array":[{"photo_id":"1401249690","filename":"file5"},{"photo_id":"1401249686","filename":"file2"},{"photo_id":"1401249688","filename":"file4"},{"photo_id":"1401249685","filename":"file1"},{"photo_id":"1401249683","filename":"file0"},{"photo_id":"1401249687","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401249688":["hashtag1","hashtag2"]},{"1401249690":["hashtag1","hashtag2"]},{"1401249687":["hashtag1","hashtag2"]},{"1401249683":["hashtag1","hashtag2"]},{"1401249686":["hashtag1","hashtag2"]},{"1401249685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401249688, 1401249690, 1401249687, 1401249683, 1401249686, 1401249685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40824604034424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:57:31.873789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg', '/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg
/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:59:02.928440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg', '/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', '/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg
/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg
/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_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":["1401250220","1401249766","1401250130","1401250032","1401249938","1401249839"],"photo_ids_order":["1401249766","1401249839","1401249938","1401250032","1401250130","1401250220"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/044c045eba30283c71c85c9d89704bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2962819377935682925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826003792,"filename":"image_10122025_21_51_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0a946c43d785daca8cd2e279dcd1a8f.jpg","text":"TemporaryFile(/tmp/multipartBody9075762242943359291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826003792,"filename":"image_10122025_21_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/12/27/6dea2c818a4769f2758e5fbd9e3f020e.jpg","text":"TemporaryFile(/tmp/multipartBody807406369922115066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826003792,"filename":"image_10122025_21_51_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/222e17104414689a819f5ce05d0c8777.jpg","text":"TemporaryFile(/tmp/multipartBody8527978053373834139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826003792,"filename":"image_10122025_21_51_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/12/27/2084d247c984d63981af7c58904997fc.jpg","text":"TemporaryFile(/tmp/multipartBody1031438001978819770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826003792,"filename":"image_10122025_21_52_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0a39e52043923db77ed9e6297784b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1715400671174105695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826003792,"filename":"image_10122025_21_52_15_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401249938","file1":"1401249839","file0":"1401249766","file4":"1401250130","file5":"1401250220","file3":"1401250032"},"map_files_photo_id_array":[{"photo_id":"1401250220","filename":"file5"},{"photo_id":"1401249938","filename":"file2"},{"photo_id":"1401250130","filename":"file4"},{"photo_id":"1401249839","filename":"file1"},{"photo_id":"1401249766","filename":"file0"},{"photo_id":"1401250032","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401250220":["hashtag1","hashtag2"]},{"1401249766":["hashtag1","hashtag2"]},{"1401250130":["hashtag1","hashtag2"]},{"1401250032":["hashtag1","hashtag2"]},{"1401249938":["hashtag1","hashtag2"]},{"1401249839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401250220, 1401249766, 1401250130, 1401250032, 1401249938, 1401249839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63779163360596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 09:59:47.038904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_51_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_50_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/50/image_10122025_21_51_04_9626.jpg', '/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_55_9621.jpg', '/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_45_10631.jpg', '/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_34_9619.jpg', '/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_15_10647.jpg', '/home/nano/Desktop/images/10122025/21/49/image_10122025_21_50_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/50/image_10122025_21_51_04_9626.jpg
/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_55_9621.jpg
/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_45_10631.jpg
/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_34_9619.jpg
/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_15_10647.jpg
/home/nano/Desktop/images/10122025/21/49/image_10122025_21_50_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":["1401251053","1401250857","1401251159","1401250929","1401250991","1401250763"],"photo_ids_order":["1401250763","1401250857","1401250929","1401250991","1401251053","1401251159"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1eb0cb4ebe9edeee8783fce158f40f87.jpg","text":"TemporaryFile(/tmp/multipartBody6016976715958916712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826047896,"filename":"image_10122025_21_50_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c31114969157f2bc999735dd8ba8cb02.jpg","text":"TemporaryFile(/tmp/multipartBody3133535384205443831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826047896,"filename":"image_10122025_21_50_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1009459c5d7b7b6c95ea464a568f11d1.jpg","text":"TemporaryFile(/tmp/multipartBody1854179635155977569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826047896,"filename":"image_10122025_21_50_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/12/27/c73561879c5ab2c96e1351433bba20c1.jpg","text":"TemporaryFile(/tmp/multipartBody8239092201999517925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826047896,"filename":"image_10122025_21_50_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95acc3cdd7fcf8e3326575c5219a2405.jpg","text":"TemporaryFile(/tmp/multipartBody3709801562913951365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826047896,"filename":"image_10122025_21_50_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/12/27/1f65f95233063aec8fe8e665af1578a4.jpg","text":"TemporaryFile(/tmp/multipartBody9214111594776569868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826047896,"filename":"image_10122025_21_51_04_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401250929","file1":"1401250857","file0":"1401250763","file4":"1401251053","file5":"1401251159","file3":"1401250991"},"map_files_photo_id_array":[{"photo_id":"1401251159","filename":"file5"},{"photo_id":"1401250929","filename":"file2"},{"photo_id":"1401251053","filename":"file4"},{"photo_id":"1401250857","filename":"file1"},{"photo_id":"1401250763","filename":"file0"},{"photo_id":"1401250991","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401251053":["hashtag1","hashtag2"]},{"1401250857":["hashtag1","hashtag2"]},{"1401251159":["hashtag1","hashtag2"]},{"1401250929":["hashtag1","hashtag2"]},{"1401250991":["hashtag1","hashtag2"]},{"1401250763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401251053, 1401250857, 1401251159, 1401250929, 1401250991, 1401250763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82357883453369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:00:32.137541
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_49_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_44_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_55_10627.jpg', '/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_34_9619.jpg', '/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_25_10631.jpg', '/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_14_9640.jpg', '/home/nano/Desktop/images/10122025/21/48/image_10122025_21_49_05_9626.jpg', '/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_44_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_55_10627.jpg
/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_34_9619.jpg
/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_25_10631.jpg
/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_14_9640.jpg
/home/nano/Desktop/images/10122025/21/48/image_10122025_21_49_05_9626.jpg
/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_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":["1401251710","1401251440","1401251503","1401251595","1401251678","1401251714"],"photo_ids_order":["1401251440","1401251503","1401251595","1401251678","1401251710","1401251714"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7f65ae96c80b8636903f0f5cb779384.jpg","text":"TemporaryFile(/tmp/multipartBody7150762504901355511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826092933,"filename":"image_10122025_21_49_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44b48463592d297d5edbb7cd2d341eba.jpg","text":"TemporaryFile(/tmp/multipartBody383618612154388210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826092933,"filename":"image_10122025_21_49_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21f2f9a361d1d5a5fed7c4ac76e70f32.jpg","text":"TemporaryFile(/tmp/multipartBody8221808022161068102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826092933,"filename":"image_10122025_21_49_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/12/27/8d3e47bc5534ecf8bee206c180eff60f.jpg","text":"TemporaryFile(/tmp/multipartBody4977861001755166978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826092933,"filename":"image_10122025_21_49_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32c9e8686cc9941db6a96858d8bf3b59.jpg","text":"TemporaryFile(/tmp/multipartBody6747845282428554547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826092933,"filename":"image_10122025_21_49_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/12/27/26932524af886c58dfc0f7f5f1a771fe.jpg","text":"TemporaryFile(/tmp/multipartBody4091241637671255467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826092933,"filename":"image_10122025_21_48_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401251595","file1":"1401251503","file0":"1401251440","file4":"1401251710","file5":"1401251714","file3":"1401251678"},"map_files_photo_id_array":[{"photo_id":"1401251714","filename":"file5"},{"photo_id":"1401251595","filename":"file2"},{"photo_id":"1401251710","filename":"file4"},{"photo_id":"1401251503","filename":"file1"},{"photo_id":"1401251440","filename":"file0"},{"photo_id":"1401251678","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401251710":["hashtag1","hashtag2"]},{"1401251440":["hashtag1","hashtag2"]},{"1401251503":["hashtag1","hashtag2"]},{"1401251595":["hashtag1","hashtag2"]},{"1401251678":["hashtag1","hashtag2"]},{"1401251714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401251710, 1401251440, 1401251503, 1401251595, 1401251678, 1401251714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.090702295303345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:01:17.217248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_54_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_47_05_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_35_10629.jpg', '/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_24_9622.jpg', '/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_14_9635.jpg', '/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_54_9636.jpg', '/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_15_9628.jpg', '/home/nano/Desktop/images/10122025/21/46/image_10122025_21_47_05_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_35_10629.jpg
/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_24_9622.jpg
/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_14_9635.jpg
/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_54_9636.jpg
/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_15_9628.jpg
/home/nano/Desktop/images/10122025/21/46/image_10122025_21_47_05_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":["1401251896","1401252028","1401251880","1401251961","1401251925","1401251996"],"photo_ids_order":["1401251880","1401251896","1401251925","1401251961","1401251996","1401252028"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a024aca272f477dd58035fd085d88847.jpg","text":"TemporaryFile(/tmp/multipartBody8445857757853222283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826138007,"filename":"image_10122025_21_48_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/12/27/8a14dbc9501b9e1b17c0d2d76da1d797.jpg","text":"TemporaryFile(/tmp/multipartBody1929280379703321873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826138007,"filename":"image_10122025_21_47_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/319d3758be3d1defc791ad56c44f7678.jpg","text":"TemporaryFile(/tmp/multipartBody4333130411312181775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826138007,"filename":"image_10122025_21_48_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aef413b08de0c063ec18379368e3a684.jpg","text":"TemporaryFile(/tmp/multipartBody3672542901960225923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826138007,"filename":"image_10122025_21_47_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/12/27/b9ad11b5c76ed4bfd4356b0d677e7de1.jpg","text":"TemporaryFile(/tmp/multipartBody3041002597620684571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826138007,"filename":"image_10122025_21_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/12/27/b9f21163d62ca88dcd832a213bf9af06.jpg","text":"TemporaryFile(/tmp/multipartBody1502239313693620257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826138007,"filename":"image_10122025_21_47_15_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401251925","file1":"1401251896","file0":"1401251880","file4":"1401251996","file5":"1401252028","file3":"1401251961"},"map_files_photo_id_array":[{"photo_id":"1401252028","filename":"file5"},{"photo_id":"1401251925","filename":"file2"},{"photo_id":"1401251996","filename":"file4"},{"photo_id":"1401251896","filename":"file1"},{"photo_id":"1401251880","filename":"file0"},{"photo_id":"1401251961","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401251896":["hashtag1","hashtag2"]},{"1401252028":["hashtag1","hashtag2"]},{"1401251880":["hashtag1","hashtag2"]},{"1401251961":["hashtag1","hashtag2"]},{"1401251925":["hashtag1","hashtag2"]},{"1401251996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401251896, 1401252028, 1401251880, 1401251961, 1401251925, 1401251996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76369667053223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:02:02.871935
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/10/02/image_27122025_10_02_55_10517.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/10/02/image_27122025_10_02_55_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/10/02/image_27122025_10_02_55_10517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401252107"],"photo_id":"1401252107","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8a59e90812f3256c062db24686bed92.jpg","text":"TemporaryFile(/tmp/multipartBody3545113033330414962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826183115,"filename":"image_27122025_10_02_55_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401252107"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401252107"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.87841510772705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:02:17.330649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_45_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_54_9617.jpg', '/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_45_10646.jpg', '/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_34_9623.jpg', '/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_24_9617.jpg', '/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_55_9617.jpg', '/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_54_9617.jpg
/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_45_10646.jpg
/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_34_9623.jpg
/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_24_9617.jpg
/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_55_9617.jpg
/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_45_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":["1401252256","1401252222","1401252266","1401252204","1401252206","1401252247"],"photo_ids_order":["1401252204","1401252206","1401252222","1401252247","1401252256","1401252266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9119342c995085b8b80b9df29e31fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7251488639087286594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826198119,"filename":"image_10122025_21_45_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df867310e41a79933add16d1dc3439ff.jpg","text":"TemporaryFile(/tmp/multipartBody1151470951687166583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826198119,"filename":"image_10122025_21_46_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/12/27/5b430996bdc0ed2626318000fe1bfcc0.jpg","text":"TemporaryFile(/tmp/multipartBody932155832717604094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826198119,"filename":"image_10122025_21_45_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14390e1ed825f5fa154d0d65f9560bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8228246659578416092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826198119,"filename":"image_10122025_21_46_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/12/27/5b8fd3c003ef340ba32f95dba5818028.jpg","text":"TemporaryFile(/tmp/multipartBody4479820818356942908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826198119,"filename":"image_10122025_21_46_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cf1c57e5faa1348c918ec53f70fcf13.jpg","text":"TemporaryFile(/tmp/multipartBody7664862830737966811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826198119,"filename":"image_10122025_21_46_24_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401252222","file1":"1401252206","file0":"1401252204","file4":"1401252256","file5":"1401252266","file3":"1401252247"},"map_files_photo_id_array":[{"photo_id":"1401252266","filename":"file5"},{"photo_id":"1401252222","filename":"file2"},{"photo_id":"1401252256","filename":"file4"},{"photo_id":"1401252206","filename":"file1"},{"photo_id":"1401252204","filename":"file0"},{"photo_id":"1401252247","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401252256":["hashtag1","hashtag2"]},{"1401252222":["hashtag1","hashtag2"]},{"1401252266":["hashtag1","hashtag2"]},{"1401252204":["hashtag1","hashtag2"]},{"1401252206":["hashtag1","hashtag2"]},{"1401252247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401252256, 1401252222, 1401252266, 1401252204, 1401252206, 1401252247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14677810668945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:03:03.095585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_14_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_34_9618.jpg', '/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_25_9621.jpg', '/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_15_10646.jpg', '/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_34_9624.jpg', '/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_25_10633.jpg', '/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_34_9618.jpg
/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_25_9621.jpg
/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_15_10646.jpg
/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_34_9624.jpg
/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_25_10633.jpg
/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_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":["1401252369","1401252360","1401252339","1401252321","1401252380","1401252341"],"photo_ids_order":["1401252321","1401252339","1401252341","1401252360","1401252369","1401252380"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41e2543054dad40b22067bd3c7bcdbeb.jpg","text":"TemporaryFile(/tmp/multipartBody4510766384366596847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826243909,"filename":"image_10122025_21_44_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/487797a1350fd5b7a3899d550858bb2e.jpg","text":"TemporaryFile(/tmp/multipartBody4021897335193037679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826243909,"filename":"image_10122025_21_44_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/12/27/af624dcbad9147b5bdebfccf4ba26f77.jpg","text":"TemporaryFile(/tmp/multipartBody7017842417212261277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826243909,"filename":"image_10122025_21_45_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1fdde76a8bb0db0e338fc8efddd7345.jpg","text":"TemporaryFile(/tmp/multipartBody8377526492241518752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826243909,"filename":"image_10122025_21_45_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/12/27/6ed78201b37608a433fea7f0159f74a7.jpg","text":"TemporaryFile(/tmp/multipartBody6565808961999440992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826243909,"filename":"image_10122025_21_44_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/12/27/68314d23055ea3a2ef254e26366e0c69.jpg","text":"TemporaryFile(/tmp/multipartBody6140087734538258444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826243909,"filename":"image_10122025_21_45_15_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401252341","file1":"1401252339","file0":"1401252321","file4":"1401252369","file5":"1401252380","file3":"1401252360"},"map_files_photo_id_array":[{"photo_id":"1401252380","filename":"file5"},{"photo_id":"1401252341","filename":"file2"},{"photo_id":"1401252369","filename":"file4"},{"photo_id":"1401252339","filename":"file1"},{"photo_id":"1401252321","filename":"file0"},{"photo_id":"1401252360","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401252369":["hashtag1","hashtag2"]},{"1401252360":["hashtag1","hashtag2"]},{"1401252339":["hashtag1","hashtag2"]},{"1401252321":["hashtag1","hashtag2"]},{"1401252380":["hashtag1","hashtag2"]},{"1401252341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401252369, 1401252360, 1401252339, 1401252321, 1401252380, 1401252341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42097854614258 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:03:47.428975
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_44_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_43_05_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/43/image_10122025_21_44_05_9628.jpg', '/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_55_10631.jpg', '/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_44_9626.jpg', '/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_35_9619.jpg', '/home/nano/Desktop/images/10122025/21/42/image_10122025_21_43_05_10658.jpg', '/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/43/image_10122025_21_44_05_9628.jpg
/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_55_10631.jpg
/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_44_9626.jpg
/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_35_9619.jpg
/home/nano/Desktop/images/10122025/21/42/image_10122025_21_43_05_10658.jpg
/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_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":["1401252390","1401252393","1401252389","1401252394","1401252388","1401252391"],"photo_ids_order":["1401252388","1401252389","1401252390","1401252391","1401252393","1401252394"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1a3a5fb44af17fc7532a4a3f633eb09.jpg","text":"TemporaryFile(/tmp/multipartBody6362076160064153362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826288207,"filename":"image_10122025_21_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/12/27/c1519a88488df9d98499ae56cd899ab1.jpg","text":"TemporaryFile(/tmp/multipartBody7716336699690547545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826288207,"filename":"image_10122025_21_43_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29e01f00951111c6d4de76a30bb9d32d.jpg","text":"TemporaryFile(/tmp/multipartBody4868142732136531573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826288207,"filename":"image_10122025_21_43_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f0808274a4c75740559f47eb62e9730.jpg","text":"TemporaryFile(/tmp/multipartBody5943356183327868608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826288207,"filename":"image_10122025_21_42_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/12/27/08ec8ec76414bfffb78e01b9f7800fa9.jpg","text":"TemporaryFile(/tmp/multipartBody317427143238507518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826288207,"filename":"image_10122025_21_44_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f02feef9876e10d64bc934504a6acfd0.jpg","text":"TemporaryFile(/tmp/multipartBody163354304784643788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826288207,"filename":"image_10122025_21_43_35_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401252390","file1":"1401252389","file0":"1401252388","file4":"1401252393","file5":"1401252394","file3":"1401252391"},"map_files_photo_id_array":[{"photo_id":"1401252394","filename":"file5"},{"photo_id":"1401252390","filename":"file2"},{"photo_id":"1401252393","filename":"file4"},{"photo_id":"1401252389","filename":"file1"},{"photo_id":"1401252388","filename":"file0"},{"photo_id":"1401252391","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401252390":["hashtag1","hashtag2"]},{"1401252393":["hashtag1","hashtag2"]},{"1401252389":["hashtag1","hashtag2"]},{"1401252394":["hashtag1","hashtag2"]},{"1401252388":["hashtag1","hashtag2"]},{"1401252391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401252390, 1401252393, 1401252389, 1401252394, 1401252388, 1401252391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.498066663742065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:04:32.516240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_15_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_45_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_44_9621.jpg', '/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_35_10631.jpg', '/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_24_9621.jpg', '/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_15_9641.jpg', '/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_54_9620.jpg', '/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_45_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_44_9621.jpg
/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_35_10631.jpg
/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_24_9621.jpg
/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_15_9641.jpg
/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_54_9620.jpg
/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_45_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":["1401252489","1401252557","1401252554","1401252524","1401252595","1401252574"],"photo_ids_order":["1401252489","1401252524","1401252554","1401252557","1401252574","1401252595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58f38846cee31a7bac6acd895ee57c68.jpg","text":"TemporaryFile(/tmp/multipartBody8675768718349985175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826333303,"filename":"image_10122025_21_42_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/12/27/723de5c67aae23b8196ad544c176f319.jpg","text":"TemporaryFile(/tmp/multipartBody1452737604357552904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826333303,"filename":"image_10122025_21_42_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26d1e636cd23bf3975fa5697c80ba5da.jpg","text":"TemporaryFile(/tmp/multipartBody4593882531211329797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826333303,"filename":"image_10122025_21_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/12/27/dbd71489940f043cd2f3461bea51fab2.jpg","text":"TemporaryFile(/tmp/multipartBody8954412671551063971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826333303,"filename":"image_10122025_21_42_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1fb20d0e8d1ebd8944a2ec98b167fda.jpg","text":"TemporaryFile(/tmp/multipartBody1315581879670866242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826333303,"filename":"image_10122025_21_41_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b1f2a7eee080154c8dfc4b8fbc43f81.jpg","text":"TemporaryFile(/tmp/multipartBody4158001584910792170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826333303,"filename":"image_10122025_21_41_54_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401252554","file1":"1401252524","file0":"1401252489","file4":"1401252574","file5":"1401252595","file3":"1401252557"},"map_files_photo_id_array":[{"photo_id":"1401252595","filename":"file5"},{"photo_id":"1401252554","filename":"file2"},{"photo_id":"1401252574","filename":"file4"},{"photo_id":"1401252524","filename":"file1"},{"photo_id":"1401252489","filename":"file0"},{"photo_id":"1401252557","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401252489":["hashtag1","hashtag2"]},{"1401252557":["hashtag1","hashtag2"]},{"1401252554":["hashtag1","hashtag2"]},{"1401252524":["hashtag1","hashtag2"]},{"1401252595":["hashtag1","hashtag2"]},{"1401252574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401252489, 1401252557, 1401252554, 1401252524, 1401252595, 1401252574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48576045036316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:05:17.671568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_41_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_25_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_15_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_35_10629.jpg', '/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_24_9619.jpg', '/home/nano/Desktop/images/10122025/21/40/image_10122025_21_41_04_9632.jpg', '/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_34_9619.jpg', '/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_25_9625.jpg', '/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_15_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_35_10629.jpg
/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_24_9619.jpg
/home/nano/Desktop/images/10122025/21/40/image_10122025_21_41_04_9632.jpg
/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_34_9619.jpg
/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_25_9625.jpg
/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_15_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":["1401252802","1401252782","1401252770","1401252710","1401252800","1401252676"],"photo_ids_order":["1401252676","1401252710","1401252770","1401252782","1401252800","1401252802"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06ca769a530d8a6abaa85ebca1ecba09.jpg","text":"TemporaryFile(/tmp/multipartBody7239704045871583520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826378472,"filename":"image_10122025_21_40_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0033475b33bf2585193673ee998adec3.jpg","text":"TemporaryFile(/tmp/multipartBody2118553119862842396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826378472,"filename":"image_10122025_21_40_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/12/27/f2ccd106a82e12b3072a52f1d5f76747.jpg","text":"TemporaryFile(/tmp/multipartBody2892426403287487539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826378472,"filename":"image_10122025_21_41_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/12/27/cedb6ff44e67c07dba6c40fa83dfdaeb.jpg","text":"TemporaryFile(/tmp/multipartBody5797687750922108941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826378472,"filename":"image_10122025_21_41_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/12/27/c5cd4c560154add47bb95910af549acc.jpg","text":"TemporaryFile(/tmp/multipartBody683184294218474488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826378472,"filename":"image_10122025_21_40_25_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc48e1c148ce17bed419241c8f4f793f.jpg","text":"TemporaryFile(/tmp/multipartBody8498697320153465071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826378472,"filename":"image_10122025_21_41_35_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401252770","file1":"1401252710","file0":"1401252676","file4":"1401252800","file5":"1401252802","file3":"1401252782"},"map_files_photo_id_array":[{"photo_id":"1401252802","filename":"file5"},{"photo_id":"1401252770","filename":"file2"},{"photo_id":"1401252800","filename":"file4"},{"photo_id":"1401252710","filename":"file1"},{"photo_id":"1401252676","filename":"file0"},{"photo_id":"1401252782","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401252802":["hashtag1","hashtag2"]},{"1401252782":["hashtag1","hashtag2"]},{"1401252770":["hashtag1","hashtag2"]},{"1401252710":["hashtag1","hashtag2"]},{"1401252800":["hashtag1","hashtag2"]},{"1401252676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401252802, 1401252782, 1401252770, 1401252710, 1401252800, 1401252676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.195152282714844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:06:02.330747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/39/image_10122025_21_39_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_39_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_38_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/39/image_10122025_21_39_44_9636.jpg', '/home/nano/Desktop/images/10122025/21/38/image_10122025_21_39_05_9639.jpg', '/home/nano/Desktop/images/10122025/21/38/image_10122025_21_38_35_9621.jpg', '/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg', '/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_35_10631.jpg', '/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/39/image_10122025_21_39_44_9636.jpg
/home/nano/Desktop/images/10122025/21/38/image_10122025_21_39_05_9639.jpg
/home/nano/Desktop/images/10122025/21/38/image_10122025_21_38_35_9621.jpg
/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg
/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_35_10631.jpg
/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_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":["1401252870","1401252831","1401252834","1401252836","1401252868","1401252856"],"photo_ids_order":["1401252831","1401252834","1401252836","1401252856","1401252868","1401252870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05bcaed722f67e727993265289b24e41.jpg","text":"TemporaryFile(/tmp/multipartBody8583539651174438018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826423163,"filename":"image_10122025_21_37_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/12/27/04509375f73816480cc16587dae6924d.jpg","text":"TemporaryFile(/tmp/multipartBody979673088518081463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826423163,"filename":"image_10122025_21_39_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/12/27/4bf692e34bb34fdd148d983ac4e26504.jpg","text":"TemporaryFile(/tmp/multipartBody457151912779545779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826423163,"filename":"image_10122025_21_39_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cb52b78cd03e10401656b47a6e34918.jpg","text":"TemporaryFile(/tmp/multipartBody1501055409342283403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826423163,"filename":"image_10122025_21_38_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3e1a666df9a395eb10eae9162741fde.jpg","text":"TemporaryFile(/tmp/multipartBody6601864611361831483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826423163,"filename":"image_10122025_21_37_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93bbacdaf25ad33011ce095956fbaa69.jpg","text":"TemporaryFile(/tmp/multipartBody8509070939212187807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826423163,"filename":"image_10122025_21_38_05_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401252836","file1":"1401252834","file0":"1401252831","file4":"1401252868","file5":"1401252870","file3":"1401252856"},"map_files_photo_id_array":[{"photo_id":"1401252870","filename":"file5"},{"photo_id":"1401252836","filename":"file2"},{"photo_id":"1401252868","filename":"file4"},{"photo_id":"1401252834","filename":"file1"},{"photo_id":"1401252831","filename":"file0"},{"photo_id":"1401252856","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401252870":["hashtag1","hashtag2"]},{"1401252831":["hashtag1","hashtag2"]},{"1401252834":["hashtag1","hashtag2"]},{"1401252836":["hashtag1","hashtag2"]},{"1401252868":["hashtag1","hashtag2"]},{"1401252856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401252870, 1401252831, 1401252834, 1401252836, 1401252868, 1401252856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.313849687576294 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:06:46.873941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_36_04_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', '/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_54_9622.jpg', '/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', '/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_24_9619.jpg', '/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_15_10649.jpg', '/home/nano/Desktop/images/10122025/21/35/image_10122025_21_36_04_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg
/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_54_9622.jpg
/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg
/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_24_9619.jpg
/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_15_10649.jpg
/home/nano/Desktop/images/10122025/21/35/image_10122025_21_36_04_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":["1401252981","1401252998","1401252915","1401252947","1401252898","1401252970"],"photo_ids_order":["1401252898","1401252915","1401252947","1401252970","1401252981","1401252998"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f19363ff3f77160e7d304deefab133d.jpg","text":"TemporaryFile(/tmp/multipartBody4597441165428290778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826467672,"filename":"image_10122025_21_36_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0fa88d1256a4c3f50e41c5a66b3510cc.jpg","text":"TemporaryFile(/tmp/multipartBody1467954111672191007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826467672,"filename":"image_10122025_21_36_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/12/27/d559f983b980a87e84fb294df23364db.jpg","text":"TemporaryFile(/tmp/multipartBody500550961698467280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826467672,"filename":"image_10122025_21_36_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/12/27/7f6a1f45d6904bb637f9a3f0d693590b.jpg","text":"TemporaryFile(/tmp/multipartBody4868326036871086121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826467672,"filename":"image_10122025_21_36_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05a075fcd6f6636f891ccf48aed04aad.jpg","text":"TemporaryFile(/tmp/multipartBody2277453191550679697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826467672,"filename":"image_10122025_21_37_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5fa416a52fc030c5bc4bc68e165acc6.jpg","text":"TemporaryFile(/tmp/multipartBody1280606823873342782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826467672,"filename":"image_10122025_21_36_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401252947","file1":"1401252915","file0":"1401252898","file4":"1401252981","file5":"1401252998","file3":"1401252970"},"map_files_photo_id_array":[{"photo_id":"1401252998","filename":"file5"},{"photo_id":"1401252947","filename":"file2"},{"photo_id":"1401252981","filename":"file4"},{"photo_id":"1401252915","filename":"file1"},{"photo_id":"1401252898","filename":"file0"},{"photo_id":"1401252970","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401252981":["hashtag1","hashtag2"]},{"1401252998":["hashtag1","hashtag2"]},{"1401252915":["hashtag1","hashtag2"]},{"1401252947":["hashtag1","hashtag2"]},{"1401252898":["hashtag1","hashtag2"]},{"1401252970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401252981, 1401252998, 1401252915, 1401252947, 1401252898, 1401252970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19462323188782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:07:32.060035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_35_04_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_35_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_34_9622.jpg', '/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_25_9619.jpg', '/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_15_10648.jpg', '/home/nano/Desktop/images/10122025/21/34/image_10122025_21_35_04_9651.jpg', '/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_55_10630.jpg', '/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_35_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_34_9622.jpg
/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_25_9619.jpg
/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_15_10648.jpg
/home/nano/Desktop/images/10122025/21/34/image_10122025_21_35_04_9651.jpg
/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_55_10630.jpg
/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_35_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":["1401253020","1401253014","1401253012","1401253021","1401253015","1401253018"],"photo_ids_order":["1401253012","1401253014","1401253015","1401253018","1401253020","1401253021"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d2daf1dc2565912e1ef71a2d5eed95d.jpg","text":"TemporaryFile(/tmp/multipartBody2804196580927226616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826512855,"filename":"image_10122025_21_34_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5251e2782ae2accd1137328776dc811c.jpg","text":"TemporaryFile(/tmp/multipartBody5098934996731956000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826512855,"filename":"image_10122025_21_35_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34ff674dc778f9119c99c36cda66370d.jpg","text":"TemporaryFile(/tmp/multipartBody7869432338895356224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826512855,"filename":"image_10122025_21_35_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/12/27/4e144a44468319d05190286e35d20fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2594479141061482097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826512855,"filename":"image_10122025_21_34_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/655e0aabcc4bd000d041e4e1aa8cb582.jpg","text":"TemporaryFile(/tmp/multipartBody7609964982686203235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826512855,"filename":"image_10122025_21_35_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4072849362ed7141e1c8e244fe002af4.jpg","text":"TemporaryFile(/tmp/multipartBody4940516152860785568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826512855,"filename":"image_10122025_21_35_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401253015","file1":"1401253014","file0":"1401253012","file4":"1401253020","file5":"1401253021","file3":"1401253018"},"map_files_photo_id_array":[{"photo_id":"1401253021","filename":"file5"},{"photo_id":"1401253015","filename":"file2"},{"photo_id":"1401253020","filename":"file4"},{"photo_id":"1401253014","filename":"file1"},{"photo_id":"1401253012","filename":"file0"},{"photo_id":"1401253018","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401253020":["hashtag1","hashtag2"]},{"1401253014":["hashtag1","hashtag2"]},{"1401253012":["hashtag1","hashtag2"]},{"1401253021":["hashtag1","hashtag2"]},{"1401253015":["hashtag1","hashtag2"]},{"1401253018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401253020, 1401253014, 1401253012, 1401253021, 1401253015, 1401253018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.821707248687744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:08:17.047020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_34_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_25_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_25_10631.jpg', '/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_14_9637.jpg', '/home/nano/Desktop/images/10122025/21/33/image_10122025_21_34_05_9635.jpg', '/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_55_10635.jpg', '/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_44_9638.jpg', '/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_25_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_25_10631.jpg
/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_14_9637.jpg
/home/nano/Desktop/images/10122025/21/33/image_10122025_21_34_05_9635.jpg
/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_55_10635.jpg
/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_44_9638.jpg
/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_25_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":["1401253068","1401253071","1401253065","1401253073","1401253064","1401253075"],"photo_ids_order":["1401253064","1401253065","1401253068","1401253071","1401253073","1401253075"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8f3cde8445e6aebabe5ef9fccfb1f79.jpg","text":"TemporaryFile(/tmp/multipartBody2892155609711507332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826557828,"filename":"image_10122025_21_34_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd19fbed8ce750750b8166426213e60b.jpg","text":"TemporaryFile(/tmp/multipartBody2182603120338492082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826557828,"filename":"image_10122025_21_33_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/826e47ed2c79be43c60f39e46b8b0c3c.jpg","text":"TemporaryFile(/tmp/multipartBody5788023063355349581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826557828,"filename":"image_10122025_21_34_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/12/27/2fd449f0c2ca64a1f10e43575a442d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3708927032620703463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826557828,"filename":"image_10122025_21_33_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/12/27/d4e2a7017925213b74a7d5fdd83f93b0.jpg","text":"TemporaryFile(/tmp/multipartBody3957230889470721346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826557828,"filename":"image_10122025_21_34_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a016dcc34076e931caaa291dd6931143.jpg","text":"TemporaryFile(/tmp/multipartBody5503912974983447024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826557828,"filename":"image_10122025_21_33_25_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401253068","file1":"1401253065","file0":"1401253064","file4":"1401253073","file5":"1401253075","file3":"1401253071"},"map_files_photo_id_array":[{"photo_id":"1401253075","filename":"file5"},{"photo_id":"1401253068","filename":"file2"},{"photo_id":"1401253073","filename":"file4"},{"photo_id":"1401253065","filename":"file1"},{"photo_id":"1401253064","filename":"file0"},{"photo_id":"1401253071","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401253068":["hashtag1","hashtag2"]},{"1401253071":["hashtag1","hashtag2"]},{"1401253065":["hashtag1","hashtag2"]},{"1401253073":["hashtag1","hashtag2"]},{"1401253064":["hashtag1","hashtag2"]},{"1401253075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401253068, 1401253071, 1401253065, 1401253073, 1401253064, 1401253075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07405209541321 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:09:03.269251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_33_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/31/image_10122025_21_31_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_31_04_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/32/image_10122025_21_33_05_10648.jpg', '/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_54_9622.jpg', '/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_24_9624.jpg', '/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_15_9637.jpg', '/home/nano/Desktop/images/10122025/21/31/image_10122025_21_31_15_10645.jpg', '/home/nano/Desktop/images/10122025/21/30/image_10122025_21_31_04_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/32/image_10122025_21_33_05_10648.jpg
/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_54_9622.jpg
/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_24_9624.jpg
/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_15_9637.jpg
/home/nano/Desktop/images/10122025/21/31/image_10122025_21_31_15_10645.jpg
/home/nano/Desktop/images/10122025/21/30/image_10122025_21_31_04_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":["1401253083","1401253085","1401253088","1401253093","1401253090","1401253086"],"photo_ids_order":["1401253083","1401253085","1401253086","1401253088","1401253090","1401253093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32d1a176fd006039f813e7b0e52ed134.jpg","text":"TemporaryFile(/tmp/multipartBody4065009395798216333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826604068,"filename":"image_10122025_21_33_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e9600dab056d0da828bab92118fab17.jpg","text":"TemporaryFile(/tmp/multipartBody9205311650577498201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826604068,"filename":"image_10122025_21_32_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/12/27/52e4dedaf3352475cc5284801327f529.jpg","text":"TemporaryFile(/tmp/multipartBody2760236667046617760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826604068,"filename":"image_10122025_21_32_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/134121fdffed266c48d9a7af9e9f5f42.jpg","text":"TemporaryFile(/tmp/multipartBody4765210099094641659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826604068,"filename":"image_10122025_21_31_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/12/27/53514a9a292c61567b5fcdbf405d139b.jpg","text":"TemporaryFile(/tmp/multipartBody1021079157949845962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826604068,"filename":"image_10122025_21_31_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf574134a062014f338392211c1c49e3.jpg","text":"TemporaryFile(/tmp/multipartBody3228270841318060377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826604068,"filename":"image_10122025_21_32_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401253086","file1":"1401253085","file0":"1401253083","file4":"1401253090","file5":"1401253093","file3":"1401253088"},"map_files_photo_id_array":[{"photo_id":"1401253093","filename":"file5"},{"photo_id":"1401253086","filename":"file2"},{"photo_id":"1401253090","filename":"file4"},{"photo_id":"1401253085","filename":"file1"},{"photo_id":"1401253083","filename":"file0"},{"photo_id":"1401253088","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401253083":["hashtag1","hashtag2"]},{"1401253085":["hashtag1","hashtag2"]},{"1401253088":["hashtag1","hashtag2"]},{"1401253093":["hashtag1","hashtag2"]},{"1401253090":["hashtag1","hashtag2"]},{"1401253086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401253083, 1401253085, 1401253088, 1401253093, 1401253090, 1401253086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40772986412048 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:09:47.193119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_30_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_44_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_45_10645.jpg', '/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', '/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_25_9624.jpg', '/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_15_10648.jpg', '/home/nano/Desktop/images/10122025/21/29/image_10122025_21_30_04_9637.jpg', '/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_45_10645.jpg
/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg
/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_25_9624.jpg
/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_15_10648.jpg
/home/nano/Desktop/images/10122025/21/29/image_10122025_21_30_04_9637.jpg
/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_44_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":["1401253146","1401253113","1401253190","1401253187","1401253219","1401253207"],"photo_ids_order":["1401253113","1401253146","1401253187","1401253190","1401253207","1401253219"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/013f79b7668655ded115b70e97be5f91.jpg","text":"TemporaryFile(/tmp/multipartBody7579538650131687724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826647981,"filename":"image_10122025_21_30_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/12/27/fae96e5f2fad9f4bf40da69c3c7a9759.jpg","text":"TemporaryFile(/tmp/multipartBody6666328530772995448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826647981,"filename":"image_10122025_21_30_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d475b105cea97683fda0e23f598b3b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5621091822623796830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826647981,"filename":"image_10122025_21_30_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3acf6f3d307218185b6f7b897f12d61d.jpg","text":"TemporaryFile(/tmp/multipartBody8871733957633654552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826647981,"filename":"image_10122025_21_30_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95f0fd5a665bc6881f04d0913014cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody3982779101738052979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826647981,"filename":"image_10122025_21_29_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/12/27/9aaffa0906182b526c1ae35719c7fdd5.jpg","text":"TemporaryFile(/tmp/multipartBody11469832101362960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826647981,"filename":"image_10122025_21_30_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401253187","file1":"1401253146","file0":"1401253113","file4":"1401253207","file5":"1401253219","file3":"1401253190"},"map_files_photo_id_array":[{"photo_id":"1401253219","filename":"file5"},{"photo_id":"1401253187","filename":"file2"},{"photo_id":"1401253207","filename":"file4"},{"photo_id":"1401253146","filename":"file1"},{"photo_id":"1401253113","filename":"file0"},{"photo_id":"1401253190","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401253146":["hashtag1","hashtag2"]},{"1401253113":["hashtag1","hashtag2"]},{"1401253190":["hashtag1","hashtag2"]},{"1401253187":["hashtag1","hashtag2"]},{"1401253219":["hashtag1","hashtag2"]},{"1401253207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401253146, 1401253113, 1401253190, 1401253187, 1401253219, 1401253207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55167078971863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:10:32.301651
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_25_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_34_9621.jpg', '/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_25_10631.jpg', '/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_55_10627.jpg', '/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_44_9625.jpg', '/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_35_9622.jpg', '/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_34_9621.jpg
/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_25_10631.jpg
/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_55_10627.jpg
/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_44_9625.jpg
/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_35_9622.jpg
/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_25_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":["1401253434","1401253535","1401253508","1401253480","1401253504","1401253494"],"photo_ids_order":["1401253434","1401253480","1401253494","1401253504","1401253508","1401253535"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3fa0a2ce967e9ed3fbb387ed464f8f34.jpg","text":"TemporaryFile(/tmp/multipartBody677294501129439535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826693083,"filename":"image_10122025_21_29_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/12/27/60df814d14781c11b5d7e88aae5ab5c0.jpg","text":"TemporaryFile(/tmp/multipartBody2253920844174074712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826693083,"filename":"image_10122025_21_28_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65a9df304c424b99096075bab5c9c449.jpg","text":"TemporaryFile(/tmp/multipartBody1031393382322509739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826693083,"filename":"image_10122025_21_28_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82fb89bbd2e5aaa1a06394c4f2100370.jpg","text":"TemporaryFile(/tmp/multipartBody3971466428088154680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826693083,"filename":"image_10122025_21_29_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13c659ee6bb8937670d636672de1c0a1.jpg","text":"TemporaryFile(/tmp/multipartBody5668007012873990365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826693083,"filename":"image_10122025_21_28_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/12/27/3d9203d5d66f1b310a845691e0999446.jpg","text":"TemporaryFile(/tmp/multipartBody6998328897628162013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826693083,"filename":"image_10122025_21_28_55_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401253494","file1":"1401253480","file0":"1401253434","file4":"1401253508","file5":"1401253535","file3":"1401253504"},"map_files_photo_id_array":[{"photo_id":"1401253535","filename":"file5"},{"photo_id":"1401253494","filename":"file2"},{"photo_id":"1401253508","filename":"file4"},{"photo_id":"1401253480","filename":"file1"},{"photo_id":"1401253434","filename":"file0"},{"photo_id":"1401253504","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401253434":["hashtag1","hashtag2"]},{"1401253535":["hashtag1","hashtag2"]},{"1401253508":["hashtag1","hashtag2"]},{"1401253480":["hashtag1","hashtag2"]},{"1401253504":["hashtag1","hashtag2"]},{"1401253494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401253434, 1401253535, 1401253508, 1401253480, 1401253504, 1401253494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9466667175293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:11:17.384880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_28_05_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_25_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_14_9637.jpg', '/home/nano/Desktop/images/10122025/21/27/image_10122025_21_28_05_10656.jpg', '/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_54_9618.jpg', '/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_45_9618.jpg', '/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_34_9620.jpg', '/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_25_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_14_9637.jpg
/home/nano/Desktop/images/10122025/21/27/image_10122025_21_28_05_10656.jpg
/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_54_9618.jpg
/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_45_9618.jpg
/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_34_9620.jpg
/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_25_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":["1401253713","1401253715","1401253703","1401253717","1401253711","1401253705"],"photo_ids_order":["1401253703","1401253705","1401253711","1401253713","1401253715","1401253717"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ff59b3d67893092c20da48fdf3b0d0e.jpg","text":"TemporaryFile(/tmp/multipartBody855451563672735184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826738171,"filename":"image_10122025_21_27_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d8f041d4cbec9db15d0c542eafb42be.jpg","text":"TemporaryFile(/tmp/multipartBody4713479945635625421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826738171,"filename":"image_10122025_21_26_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/12/27/84cfacd8fdadd85220a9b7548428b6b6.jpg","text":"TemporaryFile(/tmp/multipartBody2086898932536898127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826738171,"filename":"image_10122025_21_28_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/12/27/5f2e619e361ceb9188587566ec1231fa.jpg","text":"TemporaryFile(/tmp/multipartBody1654576827734162999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826738171,"filename":"image_10122025_21_26_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0bc61628ceaa64ca7b0de2566ccd8f79.jpg","text":"TemporaryFile(/tmp/multipartBody7335782602000174896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826738171,"filename":"image_10122025_21_27_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/12/27/e7f45a250304e39a866d96213f081a5d.jpg","text":"TemporaryFile(/tmp/multipartBody401278583871203606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826738171,"filename":"image_10122025_21_28_05_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401253711","file1":"1401253705","file0":"1401253703","file4":"1401253715","file5":"1401253717","file3":"1401253713"},"map_files_photo_id_array":[{"photo_id":"1401253717","filename":"file5"},{"photo_id":"1401253711","filename":"file2"},{"photo_id":"1401253715","filename":"file4"},{"photo_id":"1401253705","filename":"file1"},{"photo_id":"1401253703","filename":"file0"},{"photo_id":"1401253713","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401253713":["hashtag1","hashtag2"]},{"1401253715":["hashtag1","hashtag2"]},{"1401253703":["hashtag1","hashtag2"]},{"1401253717":["hashtag1","hashtag2"]},{"1401253711":["hashtag1","hashtag2"]},{"1401253705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401253713, 1401253715, 1401253703, 1401253717, 1401253711, 1401253705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.056206703186035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:12:02.948629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_25_10628.jpg', '/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', '/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', '/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', '/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', '/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_25_10628.jpg
/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg
/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg
/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg
/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg
/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_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":["1401254004","1401254027","1401253967","1401253913","1401254006","1401253861"],"photo_ids_order":["1401253861","1401253913","1401253967","1401254004","1401254006","1401254027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61e0367e563079c36abb28cdb0ee12f8.jpg","text":"TemporaryFile(/tmp/multipartBody5215711878066949370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826783774,"filename":"image_10122025_21_24_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e28e032b2216ef1f77c094012b3887b4.jpg","text":"TemporaryFile(/tmp/multipartBody1752471328962614303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826783774,"filename":"image_10122025_21_22_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/12/27/c7a626eebcd54dac71dcc063fbc8236c.jpg","text":"TemporaryFile(/tmp/multipartBody8673815658882829463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826783774,"filename":"image_10122025_21_24_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0fea6c31148fc9ad43a9e34c82de836d.jpg","text":"TemporaryFile(/tmp/multipartBody3281410130372376569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826783774,"filename":"image_10122025_21_25_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/12/27/5e18e80ebdb354965af7fef211189d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5012287904280103824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826783774,"filename":"image_10122025_21_23_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1aadd1a92652c8ccd64cb1f7850658cb.jpg","text":"TemporaryFile(/tmp/multipartBody5821119730464854353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826783774,"filename":"image_10122025_21_25_25_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401253967","file1":"1401253913","file0":"1401253861","file4":"1401254006","file5":"1401254027","file3":"1401254004"},"map_files_photo_id_array":[{"photo_id":"1401254027","filename":"file5"},{"photo_id":"1401253967","filename":"file2"},{"photo_id":"1401254006","filename":"file4"},{"photo_id":"1401253913","filename":"file1"},{"photo_id":"1401253861","filename":"file0"},{"photo_id":"1401254004","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254004":["hashtag1","hashtag2"]},{"1401254027":["hashtag1","hashtag2"]},{"1401253967":["hashtag1","hashtag2"]},{"1401253913":["hashtag1","hashtag2"]},{"1401254006":["hashtag1","hashtag2"]},{"1401253861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254004, 1401254027, 1401253967, 1401253913, 1401254006, 1401253861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41964244842529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:12:47.548587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_21_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', '/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', '/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', '/home/nano/Desktop/images/10122025/21/20/image_10122025_21_21_04_9644.jpg', '/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', '/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg
/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg
/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg
/home/nano/Desktop/images/10122025/21/20/image_10122025_21_21_04_9644.jpg
/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg
/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_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":["1401254162","1401254054","1401254196","1401254128","1401254088","1401254226"],"photo_ids_order":["1401254054","1401254088","1401254128","1401254162","1401254196","1401254226"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7875fff3f6bcff1c63411d6c03d41d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7785369018633385459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826828323,"filename":"image_10122025_21_21_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/12/27/7986c1f11b6e13565497713d1d050fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8616318726162171927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826828323,"filename":"image_10122025_21_22_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3840d23b1513ea74b467cf2402087b1.jpg","text":"TemporaryFile(/tmp/multipartBody4175433888172129694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826828323,"filename":"image_10122025_21_20_45_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8a3ffcfd22a34a81fd7d5dc8d151f9f.jpg","text":"TemporaryFile(/tmp/multipartBody5020965162599022047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826828323,"filename":"image_10122025_21_22_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f155c052a7e2d133b8ef0c8daf1f186b.jpg","text":"TemporaryFile(/tmp/multipartBody8519958773408459572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826828323,"filename":"image_10122025_21_22_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/12/27/bae380d9042040b2e5d8bdd4b172e6b8.jpg","text":"TemporaryFile(/tmp/multipartBody7034119222627486730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826828323,"filename":"image_10122025_21_20_34_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254128","file1":"1401254088","file0":"1401254054","file4":"1401254196","file5":"1401254226","file3":"1401254162"},"map_files_photo_id_array":[{"photo_id":"1401254226","filename":"file5"},{"photo_id":"1401254128","filename":"file2"},{"photo_id":"1401254196","filename":"file4"},{"photo_id":"1401254088","filename":"file1"},{"photo_id":"1401254054","filename":"file0"},{"photo_id":"1401254162","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254162":["hashtag1","hashtag2"]},{"1401254054":["hashtag1","hashtag2"]},{"1401254196":["hashtag1","hashtag2"]},{"1401254128":["hashtag1","hashtag2"]},{"1401254088":["hashtag1","hashtag2"]},{"1401254226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254162, 1401254054, 1401254196, 1401254128, 1401254088, 1401254226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.360891342163086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:13:32.651009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_20_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_25_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_25_10630.jpg', '/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_14_9636.jpg', '/home/nano/Desktop/images/10122025/21/19/image_10122025_21_20_05_9633.jpg', '/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_55_10632.jpg', '/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_44_9625.jpg', '/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_25_10630.jpg
/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_14_9636.jpg
/home/nano/Desktop/images/10122025/21/19/image_10122025_21_20_05_9633.jpg
/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_55_10632.jpg
/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_44_9625.jpg
/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_25_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":["1401254310","1401254270","1401254309","1401254287","1401254272","1401254311"],"photo_ids_order":["1401254270","1401254272","1401254287","1401254309","1401254310","1401254311"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23b95342e363861a5eb28914bf05fe2a.jpg","text":"TemporaryFile(/tmp/multipartBody6203129547996822332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826873427,"filename":"image_10122025_21_19_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/12/27/f1afa975a89cd5b9c9e77804457d5f18.jpg","text":"TemporaryFile(/tmp/multipartBody664013311779700991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826873427,"filename":"image_10122025_21_20_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79528ae1416acffdb909c0602546935f.jpg","text":"TemporaryFile(/tmp/multipartBody1353986964700279554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826873427,"filename":"image_10122025_21_19_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6203fc6e66be101baab2ac96af449672.jpg","text":"TemporaryFile(/tmp/multipartBody3918214126411839271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826873427,"filename":"image_10122025_21_20_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36d374c74d33fbe0d7922b8eedc2dde9.jpg","text":"TemporaryFile(/tmp/multipartBody8391036657772634994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826873427,"filename":"image_10122025_21_20_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/12/27/5c6bc1648692a9259e1b92cb1f3dfd32.jpg","text":"TemporaryFile(/tmp/multipartBody8075155632354234286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826873427,"filename":"image_10122025_21_19_25_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254287","file1":"1401254272","file0":"1401254270","file4":"1401254310","file5":"1401254311","file3":"1401254309"},"map_files_photo_id_array":[{"photo_id":"1401254311","filename":"file5"},{"photo_id":"1401254287","filename":"file2"},{"photo_id":"1401254310","filename":"file4"},{"photo_id":"1401254272","filename":"file1"},{"photo_id":"1401254270","filename":"file0"},{"photo_id":"1401254309","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254310":["hashtag1","hashtag2"]},{"1401254270":["hashtag1","hashtag2"]},{"1401254309":["hashtag1","hashtag2"]},{"1401254287":["hashtag1","hashtag2"]},{"1401254272":["hashtag1","hashtag2"]},{"1401254311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254310, 1401254270, 1401254309, 1401254287, 1401254272, 1401254311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49181914329529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:14:17.769545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_9639.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6736106872558594 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:14:32.771669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg', '/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg
/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_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":["1401254415","1401254418","1401254423","1401254426","1401254420","1401254425"],"photo_ids_order":["1401254415","1401254418","1401254420","1401254423","1401254425","1401254426"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efb0a44fcb47111306b935453ce8a0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2179631490070505724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826933559,"filename":"image_10122025_21_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/12/27/56755845f0a779146f75931c89536ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6559431485738321831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826933559,"filename":"image_10122025_21_19_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6feb034de94e858ac3bd4fc2b0049372.jpg","text":"TemporaryFile(/tmp/multipartBody9089917799576118715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826933559,"filename":"image_10122025_21_18_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/12/27/5ece8f9da142d53caecb5d379e0fae44.jpg","text":"TemporaryFile(/tmp/multipartBody7777121904984952137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826933559,"filename":"image_10122025_21_18_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c643ff168122d45edaaa2375f878d204.jpg","text":"TemporaryFile(/tmp/multipartBody2147907445896432837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826933559,"filename":"image_10122025_21_18_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/12/27/eed96e32a2932ad695c869ea60a73195.jpg","text":"TemporaryFile(/tmp/multipartBody634778360170580074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826933559,"filename":"image_10122025_21_18_24_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254420","file1":"1401254418","file0":"1401254415","file4":"1401254425","file5":"1401254426","file3":"1401254423"},"map_files_photo_id_array":[{"photo_id":"1401254426","filename":"file5"},{"photo_id":"1401254420","filename":"file2"},{"photo_id":"1401254425","filename":"file4"},{"photo_id":"1401254418","filename":"file1"},{"photo_id":"1401254415","filename":"file0"},{"photo_id":"1401254423","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254415":["hashtag1","hashtag2"]},{"1401254418":["hashtag1","hashtag2"]},{"1401254423":["hashtag1","hashtag2"]},{"1401254426":["hashtag1","hashtag2"]},{"1401254420":["hashtag1","hashtag2"]},{"1401254425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254415, 1401254418, 1401254423, 1401254426, 1401254420, 1401254425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.550878286361694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:15:16.847174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_18_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_15_10662.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_17_04_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/17/image_10122025_21_18_05_10660.jpg', '/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_54_9620.jpg', '/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_45_9620.jpg', '/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_35_10631.jpg', '/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_15_10662.jpg', '/home/nano/Desktop/images/10122025/21/16/image_10122025_21_17_04_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/17/image_10122025_21_18_05_10660.jpg
/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_54_9620.jpg
/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_45_9620.jpg
/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_35_10631.jpg
/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_15_10662.jpg
/home/nano/Desktop/images/10122025/21/16/image_10122025_21_17_04_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":["1401254441","1401254435","1401254438","1401254432","1401254440","1401254430"],"photo_ids_order":["1401254430","1401254432","1401254435","1401254438","1401254440","1401254441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f85531acaef85be6d427c0484e1f8da.jpg","text":"TemporaryFile(/tmp/multipartBody2586277519496430753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826977630,"filename":"image_10122025_21_17_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/12/27/108a4b94cf3d89f9612a8aaf25c4eee3.jpg","text":"TemporaryFile(/tmp/multipartBody1343413267088441541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826977630,"filename":"image_10122025_21_17_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2078815ee765425530d1b2dd923bc3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8167692951790476010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826977630,"filename":"image_10122025_21_17_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/907dab057ce85aa2941109999f5f5b92.jpg","text":"TemporaryFile(/tmp/multipartBody3326623600526963224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826977630,"filename":"image_10122025_21_17_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/12/27/7eb80b112a8ccbe2058f02e74a143925.jpg","text":"TemporaryFile(/tmp/multipartBody6250857176785219566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826977630,"filename":"image_10122025_21_17_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b0b05987b555b5b88e45d62270c6e74.jpg","text":"TemporaryFile(/tmp/multipartBody311046432136632531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766826977630,"filename":"image_10122025_21_18_05_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254435","file1":"1401254432","file0":"1401254430","file4":"1401254440","file5":"1401254441","file3":"1401254438"},"map_files_photo_id_array":[{"photo_id":"1401254441","filename":"file5"},{"photo_id":"1401254435","filename":"file2"},{"photo_id":"1401254440","filename":"file4"},{"photo_id":"1401254432","filename":"file1"},{"photo_id":"1401254430","filename":"file0"},{"photo_id":"1401254438","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254441":["hashtag1","hashtag2"]},{"1401254435":["hashtag1","hashtag2"]},{"1401254438":["hashtag1","hashtag2"]},{"1401254432":["hashtag1","hashtag2"]},{"1401254440":["hashtag1","hashtag2"]},{"1401254430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254441, 1401254435, 1401254438, 1401254432, 1401254440, 1401254430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16568994522095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:16:02.429968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_14_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_54_9618.jpg', '/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_45_10632.jpg', '/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_25_9619.jpg', '/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_15_10645.jpg', '/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_34_9619.jpg', '/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_14_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_54_9618.jpg
/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_45_10632.jpg
/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_25_9619.jpg
/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_15_10645.jpg
/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_34_9619.jpg
/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_14_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":["1401254477","1401254462","1401254458","1401254461","1401254460","1401254466"],"photo_ids_order":["1401254458","1401254460","1401254461","1401254462","1401254466","1401254477"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68dd90ae714f9a8b3ec1ee0cf3f40268.jpg","text":"TemporaryFile(/tmp/multipartBody3256550901462008731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827023236,"filename":"image_10122025_21_15_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/12/27/14d1654064f7855439c9bbe88e8bcfd9.jpg","text":"TemporaryFile(/tmp/multipartBody8642838663551413515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827023236,"filename":"image_10122025_21_16_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf68bca763ca68168d47a02e30afe271.jpg","text":"TemporaryFile(/tmp/multipartBody99347914042808651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827023236,"filename":"image_10122025_21_16_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/12/27/91eb71cec7b5d5ae3c8c2651cb05abaf.jpg","text":"TemporaryFile(/tmp/multipartBody6615592532817222751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827023236,"filename":"image_10122025_21_16_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6467a17d52d14e279fc54b1297f8aa5c.jpg","text":"TemporaryFile(/tmp/multipartBody5129637151109963004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827023236,"filename":"image_10122025_21_16_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab1143e807dd0f16ce4a78b86edb248e.jpg","text":"TemporaryFile(/tmp/multipartBody8805371432535556524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827023236,"filename":"image_10122025_21_15_34_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254461","file1":"1401254460","file0":"1401254458","file4":"1401254466","file5":"1401254477","file3":"1401254462"},"map_files_photo_id_array":[{"photo_id":"1401254477","filename":"file5"},{"photo_id":"1401254461","filename":"file2"},{"photo_id":"1401254466","filename":"file4"},{"photo_id":"1401254460","filename":"file1"},{"photo_id":"1401254458","filename":"file0"},{"photo_id":"1401254462","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254477":["hashtag1","hashtag2"]},{"1401254462":["hashtag1","hashtag2"]},{"1401254458":["hashtag1","hashtag2"]},{"1401254461":["hashtag1","hashtag2"]},{"1401254460":["hashtag1","hashtag2"]},{"1401254466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254477, 1401254462, 1401254458, 1401254461, 1401254460, 1401254466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.511133670806885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:16:46.958325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', '/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg', '/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', '/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', '/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', '/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg
/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg
/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg
/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg
/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg
/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6737101078033447 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:17:02.719203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', '/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg', '/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', '/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', '/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', '/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg
/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg
/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg
/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg
/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg
/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_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":["1401254646","1401254651","1401254648","1401254647","1401254649","1401254616"],"photo_ids_order":["1401254616","1401254646","1401254647","1401254648","1401254649","1401254651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff14f692746c98c521fd85d9e727921b.jpg","text":"TemporaryFile(/tmp/multipartBody591847707760299470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827083525,"filename":"image_10122025_21_14_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5e6c881ddad616eb2dd2d27065efac6.jpg","text":"TemporaryFile(/tmp/multipartBody8038402414995822616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827083525,"filename":"image_10122025_21_13_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b208b2574ae2c715e006ba5285d8cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3285458610189201879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827083525,"filename":"image_10122025_21_14_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc7c9f7ad9f291a4daf46cb40418ee6b.jpg","text":"TemporaryFile(/tmp/multipartBody7155418748423026673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827083525,"filename":"image_10122025_21_14_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5dd376fbc2d51d248b748a9c72aad13.jpg","text":"TemporaryFile(/tmp/multipartBody1262030008872664078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827083525,"filename":"image_10122025_21_13_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/12/27/5fb044d4687cd736530400d250f77a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3125815294713517599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827083525,"filename":"image_10122025_21_15_05_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254647","file1":"1401254646","file0":"1401254616","file4":"1401254649","file5":"1401254651","file3":"1401254648"},"map_files_photo_id_array":[{"photo_id":"1401254651","filename":"file5"},{"photo_id":"1401254647","filename":"file2"},{"photo_id":"1401254649","filename":"file4"},{"photo_id":"1401254646","filename":"file1"},{"photo_id":"1401254616","filename":"file0"},{"photo_id":"1401254648","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254646":["hashtag1","hashtag2"]},{"1401254651":["hashtag1","hashtag2"]},{"1401254648":["hashtag1","hashtag2"]},{"1401254647":["hashtag1","hashtag2"]},{"1401254649":["hashtag1","hashtag2"]},{"1401254616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254646, 1401254651, 1401254648, 1401254647, 1401254649, 1401254616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9546320438385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:17:47.076221
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/11/image_10122025_21_12_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_35_10630.jpg', '/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', '/home/nano/Desktop/images/10122025/21/11/image_10122025_21_12_04_9625.jpg', '/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_44_9623.jpg', '/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', '/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_35_10630.jpg
/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg
/home/nano/Desktop/images/10122025/21/11/image_10122025_21_12_04_9625.jpg
/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_44_9623.jpg
/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg
/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_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":["1401254672","1401254669","1401254668","1401254671","1401254670","1401254667"],"photo_ids_order":["1401254667","1401254668","1401254669","1401254670","1401254671","1401254672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acd70d6e9531a84ae6bcadf311948490.jpg","text":"TemporaryFile(/tmp/multipartBody6068741151607781717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827127874,"filename":"image_10122025_21_09_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9c390f41d394235d42be94ee697ab3c.jpg","text":"TemporaryFile(/tmp/multipartBody5724187047938515412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827127874,"filename":"image_10122025_21_12_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/12/27/fa3bdacd7968d5e5481159b0f2b32fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5046170900191850638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827127874,"filename":"image_10122025_21_12_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f4ccc99f42aaff5eb3efb3cf9c78e06.jpg","text":"TemporaryFile(/tmp/multipartBody6532435853154481900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827127874,"filename":"image_10122025_21_10_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/584032f72cfcb017c88236cde472dbc5.jpg","text":"TemporaryFile(/tmp/multipartBody1197778403675480051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827127874,"filename":"image_10122025_21_10_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/12/27/11a58a33521dc6b496e44939088418f9.jpg","text":"TemporaryFile(/tmp/multipartBody5167968771661092006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827127874,"filename":"image_10122025_21_12_35_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254669","file1":"1401254668","file0":"1401254667","file4":"1401254671","file5":"1401254672","file3":"1401254670"},"map_files_photo_id_array":[{"photo_id":"1401254672","filename":"file5"},{"photo_id":"1401254669","filename":"file2"},{"photo_id":"1401254671","filename":"file4"},{"photo_id":"1401254668","filename":"file1"},{"photo_id":"1401254667","filename":"file0"},{"photo_id":"1401254670","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254672":["hashtag1","hashtag2"]},{"1401254669":["hashtag1","hashtag2"]},{"1401254668":["hashtag1","hashtag2"]},{"1401254671":["hashtag1","hashtag2"]},{"1401254670":["hashtag1","hashtag2"]},{"1401254667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254672, 1401254669, 1401254668, 1401254671, 1401254670, 1401254667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.380305767059326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:18:32.155665
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', '/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', '/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', '/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', '/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', '/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg
/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg
/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg
/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg
/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg
/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_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":["1401254692","1401254683","1401254691","1401254679","1401254688","1401254682"],"photo_ids_order":["1401254679","1401254682","1401254683","1401254688","1401254691","1401254692"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72ec1832bedecb68ace6f384b522e399.jpg","text":"TemporaryFile(/tmp/multipartBody7174526887403382965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827172930,"filename":"image_10122025_21_06_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad72821f82052281bf12b625a98dd684.jpg","text":"TemporaryFile(/tmp/multipartBody5960111442130746734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827172930,"filename":"image_10122025_21_07_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/12/27/0a017996ca2ac8429630e404d2a3b11e.jpg","text":"TemporaryFile(/tmp/multipartBody5514691718994682531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827172930,"filename":"image_10122025_21_06_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/12/27/a039896385fbd66f86fe3b8729402146.jpg","text":"TemporaryFile(/tmp/multipartBody1703796226602290799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827172930,"filename":"image_10122025_21_09_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e43731dea7f31ed59da1a530c09c5677.jpg","text":"TemporaryFile(/tmp/multipartBody881346390346969647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827172930,"filename":"image_10122025_21_06_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a06f9631102b229ddd865eaa6c44b66d.jpg","text":"TemporaryFile(/tmp/multipartBody4722475725093950875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827172930,"filename":"image_10122025_21_08_05_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254683","file1":"1401254682","file0":"1401254679","file4":"1401254691","file5":"1401254692","file3":"1401254688"},"map_files_photo_id_array":[{"photo_id":"1401254692","filename":"file5"},{"photo_id":"1401254683","filename":"file2"},{"photo_id":"1401254691","filename":"file4"},{"photo_id":"1401254682","filename":"file1"},{"photo_id":"1401254679","filename":"file0"},{"photo_id":"1401254688","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254692":["hashtag1","hashtag2"]},{"1401254683":["hashtag1","hashtag2"]},{"1401254691":["hashtag1","hashtag2"]},{"1401254679":["hashtag1","hashtag2"]},{"1401254688":["hashtag1","hashtag2"]},{"1401254682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254692, 1401254683, 1401254691, 1401254679, 1401254688, 1401254682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.822514295578 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:19:17.259975
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_05_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', '/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', '/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', '/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_14_9640.jpg', '/home/nano/Desktop/images/10122025/21/04/image_10122025_21_05_05_10639.jpg', '/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg
/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg
/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg
/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_14_9640.jpg
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_05_05_10639.jpg
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_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":["1401254695","1401254698","1401254707","1401254701","1401254704","1401254694"],"photo_ids_order":["1401254694","1401254695","1401254698","1401254701","1401254704","1401254707"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d704bd97f3b5cff77ea52d6db1e2d2c4.jpg","text":"TemporaryFile(/tmp/multipartBody33950648666989319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827218043,"filename":"image_10122025_21_05_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/12/27/a91d272dd4960277ca4e084d25694dce.jpg","text":"TemporaryFile(/tmp/multipartBody9145771282469472218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827218043,"filename":"image_10122025_21_05_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/028bd261173b1f0516de7c3576f590b1.jpg","text":"TemporaryFile(/tmp/multipartBody2762383130229084055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827218043,"filename":"image_10122025_21_04_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/12/27/170c4ea1523ff10b418380ea8ac09188.jpg","text":"TemporaryFile(/tmp/multipartBody3815055354438878393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827218043,"filename":"image_10122025_21_05_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/12/27/bf67885e97221cce4e32dab48e858630.jpg","text":"TemporaryFile(/tmp/multipartBody229417813617716937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827218043,"filename":"image_10122025_21_05_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50a296e3d3dc67eb18635b0c3d3c3f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7206634993294359270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827218043,"filename":"image_10122025_21_05_55_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254698","file1":"1401254695","file0":"1401254694","file4":"1401254704","file5":"1401254707","file3":"1401254701"},"map_files_photo_id_array":[{"photo_id":"1401254707","filename":"file5"},{"photo_id":"1401254698","filename":"file2"},{"photo_id":"1401254704","filename":"file4"},{"photo_id":"1401254695","filename":"file1"},{"photo_id":"1401254694","filename":"file0"},{"photo_id":"1401254701","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254695":["hashtag1","hashtag2"]},{"1401254698":["hashtag1","hashtag2"]},{"1401254707":["hashtag1","hashtag2"]},{"1401254701":["hashtag1","hashtag2"]},{"1401254704":["hashtag1","hashtag2"]},{"1401254694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254695, 1401254698, 1401254707, 1401254701, 1401254704, 1401254694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.890621185302734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:20:02.930234
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', '/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg', '/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg', '/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg', '/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', '/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg
/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg
/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg
/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7170333862304688 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:20:17.365981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', '/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg', '/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg', '/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg', '/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', '/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg
/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg
/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg
/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg
/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_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":["1401254724","1401254718","1401254727","1401254729","1401254716","1401254721"],"photo_ids_order":["1401254716","1401254718","1401254721","1401254724","1401254727","1401254729"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/402ab007c12bb7692f6959085e34f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4147214758611612433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827278148,"filename":"image_10122025_21_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/12/27/685e3c18c14cab943a6806ec71753a86.jpg","text":"TemporaryFile(/tmp/multipartBody9203509165329388694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827278148,"filename":"image_10122025_21_04_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/463d34ad697add209edd97ae0457be82.jpg","text":"TemporaryFile(/tmp/multipartBody2759642930443613131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827278148,"filename":"image_10122025_21_03_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbbfc32597927de242453703f20fea06.jpg","text":"TemporaryFile(/tmp/multipartBody872789597400822356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827278148,"filename":"image_10122025_21_02_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/681b97d8d4b858400a6bee08e7ad8c6b.jpg","text":"TemporaryFile(/tmp/multipartBody6865994308715648540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827278148,"filename":"image_10122025_21_04_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/12/27/511e8a817a07c03e04b1d62a4f6d3090.jpg","text":"TemporaryFile(/tmp/multipartBody8135289922788280594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827278148,"filename":"image_10122025_21_04_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254721","file1":"1401254718","file0":"1401254716","file4":"1401254727","file5":"1401254729","file3":"1401254724"},"map_files_photo_id_array":[{"photo_id":"1401254729","filename":"file5"},{"photo_id":"1401254721","filename":"file2"},{"photo_id":"1401254727","filename":"file4"},{"photo_id":"1401254718","filename":"file1"},{"photo_id":"1401254716","filename":"file0"},{"photo_id":"1401254724","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254724":["hashtag1","hashtag2"]},{"1401254718":["hashtag1","hashtag2"]},{"1401254727":["hashtag1","hashtag2"]},{"1401254729":["hashtag1","hashtag2"]},{"1401254716":["hashtag1","hashtag2"]},{"1401254721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254724, 1401254718, 1401254727, 1401254729, 1401254716, 1401254721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80325102806091 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:21:03.281245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/01/image_10122025_21_01_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_34_9617.jpg', '/home/nano/Desktop/images/10122025/21/01/image_10122025_21_01_25_10632.jpg', '/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', '/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', '/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', '/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_34_9617.jpg
/home/nano/Desktop/images/10122025/21/01/image_10122025_21_01_25_10632.jpg
/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg
/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg
/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg
/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_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":["1401254759","1401254761","1401254764","1401254758","1401254751","1401254760"],"photo_ids_order":["1401254751","1401254758","1401254759","1401254760","1401254761","1401254764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3636954663d07daa4e4c16a76b88a71.jpg","text":"TemporaryFile(/tmp/multipartBody1074662045942972495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827324122,"filename":"image_10122025_21_01_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/80bbbfc7241962cdded9b3d19d879dd4.jpg","text":"TemporaryFile(/tmp/multipartBody879746952483511641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827324122,"filename":"image_10122025_21_00_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/12/27/34b883bd1fda4017c164627065ebcb62.jpg","text":"TemporaryFile(/tmp/multipartBody7007093033463646151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827324122,"filename":"image_10122025_21_00_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5122ec669dffa07c073a97394c570dbc.jpg","text":"TemporaryFile(/tmp/multipartBody8357807062802106062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827324122,"filename":"image_10122025_21_01_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f151dbe7dc1ccfb2ec8c5b0d257c72e.jpg","text":"TemporaryFile(/tmp/multipartBody6178984793157174810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827324122,"filename":"image_10122025_21_02_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/12/27/47add1aeb647441c7fea5144031c3902.jpg","text":"TemporaryFile(/tmp/multipartBody7224305054652058755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827324122,"filename":"image_10122025_21_00_24_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254759","file1":"1401254758","file0":"1401254751","file4":"1401254761","file5":"1401254764","file3":"1401254760"},"map_files_photo_id_array":[{"photo_id":"1401254764","filename":"file5"},{"photo_id":"1401254759","filename":"file2"},{"photo_id":"1401254761","filename":"file4"},{"photo_id":"1401254758","filename":"file1"},{"photo_id":"1401254751","filename":"file0"},{"photo_id":"1401254760","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254759":["hashtag1","hashtag2"]},{"1401254761":["hashtag1","hashtag2"]},{"1401254764":["hashtag1","hashtag2"]},{"1401254758":["hashtag1","hashtag2"]},{"1401254751":["hashtag1","hashtag2"]},{"1401254760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254759, 1401254761, 1401254764, 1401254758, 1401254751, 1401254760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13263750076294 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:21:47.441688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_55_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_25_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_54_9619.jpg', '/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', '/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_24_9618.jpg', '/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_55_9618.jpg', '/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_45_10632.jpg', '/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_54_9619.jpg
/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg
/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_24_9618.jpg
/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_55_9618.jpg
/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_45_10632.jpg
/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_25_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":["1401254919","1401254888","1401254867","1401254906","1401254887","1401254889"],"photo_ids_order":["1401254867","1401254887","1401254888","1401254889","1401254906","1401254919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2057ae2f06cd973b31b575f3e9abab4.jpg","text":"TemporaryFile(/tmp/multipartBody3233408642118016398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827368223,"filename":"image_10122025_20_57_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ea6d3753a31082e02ab534741fdfb2a.jpg","text":"TemporaryFile(/tmp/multipartBody2377907971928955675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827368223,"filename":"image_10122025_20_59_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/12/27/602e79c00798d9384c3313742b4a6b45.jpg","text":"TemporaryFile(/tmp/multipartBody5774393147261109702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827368223,"filename":"image_10122025_20_59_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/12/27/0df55a1d67134768d655e25bdff7c269.jpg","text":"TemporaryFile(/tmp/multipartBody4485326264097384290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827368223,"filename":"image_10122025_20_57_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f22bb431ed57835aa152c8fe2af1d266.jpg","text":"TemporaryFile(/tmp/multipartBody2829344235359698559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827368223,"filename":"image_10122025_20_59_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/544c7983a856a026197dd782c74e12cd.jpg","text":"TemporaryFile(/tmp/multipartBody8161093083980408976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827368223,"filename":"image_10122025_20_57_55_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254888","file1":"1401254887","file0":"1401254867","file4":"1401254906","file5":"1401254919","file3":"1401254889"},"map_files_photo_id_array":[{"photo_id":"1401254919","filename":"file5"},{"photo_id":"1401254888","filename":"file2"},{"photo_id":"1401254906","filename":"file4"},{"photo_id":"1401254887","filename":"file1"},{"photo_id":"1401254867","filename":"file0"},{"photo_id":"1401254889","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254919":["hashtag1","hashtag2"]},{"1401254888":["hashtag1","hashtag2"]},{"1401254867":["hashtag1","hashtag2"]},{"1401254906":["hashtag1","hashtag2"]},{"1401254887":["hashtag1","hashtag2"]},{"1401254889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254919, 1401254888, 1401254867, 1401254906, 1401254887, 1401254889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.945478200912476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:22:32.556508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_54_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_14_9639.jpg', '/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_54_9637.jpg', '/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', '/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', '/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_54_9617.jpg', '/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_14_9639.jpg
/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_54_9637.jpg
/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg
/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg
/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_54_9617.jpg
/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_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":["1401254993","1401254996","1401254974","1401255004","1401255000","1401255003"],"photo_ids_order":["1401254974","1401254993","1401254996","1401255000","1401255003","1401255004"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e76228719abc206667c52843e567799d.jpg","text":"TemporaryFile(/tmp/multipartBody6355039917484846940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827413339,"filename":"image_10122025_20_55_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/12/27/06aac617a2eb6f14105e16eb3c42eec5.jpg","text":"TemporaryFile(/tmp/multipartBody6208644271291364025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827413339,"filename":"image_10122025_20_55_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/12/27/4f6ef0c3ef8a3233d62ca654ee2f9569.jpg","text":"TemporaryFile(/tmp/multipartBody6492983790369238301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827413339,"filename":"image_10122025_20_57_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/12/27/3748531ea5ed66b3ab3e5cd02c59a7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5287489289598053685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827413339,"filename":"image_10122025_20_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/12/27/08afd833412258e5f7f02b3848b3afe5.jpg","text":"TemporaryFile(/tmp/multipartBody3518706484081000975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827413339,"filename":"image_10122025_20_55_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/12/27/7b264b6093340690e20774de49babd04.jpg","text":"TemporaryFile(/tmp/multipartBody2348154281181683358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827413339,"filename":"image_10122025_20_54_54_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401254996","file1":"1401254993","file0":"1401254974","file4":"1401255003","file5":"1401255004","file3":"1401255000"},"map_files_photo_id_array":[{"photo_id":"1401255004","filename":"file5"},{"photo_id":"1401254996","filename":"file2"},{"photo_id":"1401255003","filename":"file4"},{"photo_id":"1401254993","filename":"file1"},{"photo_id":"1401254974","filename":"file0"},{"photo_id":"1401255000","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401254993":["hashtag1","hashtag2"]},{"1401254996":["hashtag1","hashtag2"]},{"1401254974":["hashtag1","hashtag2"]},{"1401255004":["hashtag1","hashtag2"]},{"1401255000":["hashtag1","hashtag2"]},{"1401255003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401254993, 1401254996, 1401254974, 1401255004, 1401255000, 1401255003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.646836280822754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:23:17.663175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', '/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', '/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', '/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', '/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', '/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg
/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg
/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg
/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg
/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg
/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_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":["1401255006","1401255005","1401255012","1401255015","1401255009","1401255018"],"photo_ids_order":["1401255005","1401255006","1401255009","1401255012","1401255015","1401255018"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d353ca7e9ea2ded9403acecff2659bb.jpg","text":"TemporaryFile(/tmp/multipartBody3601569993412426864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827458456,"filename":"image_10122025_20_52_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/12/27/e7a3d7342c15a4c069533a42e36486e8.jpg","text":"TemporaryFile(/tmp/multipartBody2013447583828650636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827458456,"filename":"image_10122025_20_54_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/578089ba0c28517e22ae3671093c196e.jpg","text":"TemporaryFile(/tmp/multipartBody1107509307373927186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827458456,"filename":"image_10122025_20_50_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/12/27/471d9c985a7171c164b66c795304c958.jpg","text":"TemporaryFile(/tmp/multipartBody6252115218661135104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827458456,"filename":"image_10122025_20_49_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/12/27/def4b33ee117229b8cbda80a1f2b02f6.jpg","text":"TemporaryFile(/tmp/multipartBody285937245211628449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827458456,"filename":"image_10122025_20_52_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da5eb7a71050ecaa952e27866111e6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6796690085707597329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827458456,"filename":"image_10122025_20_49_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255009","file1":"1401255006","file0":"1401255005","file4":"1401255015","file5":"1401255018","file3":"1401255012"},"map_files_photo_id_array":[{"photo_id":"1401255018","filename":"file5"},{"photo_id":"1401255009","filename":"file2"},{"photo_id":"1401255015","filename":"file4"},{"photo_id":"1401255006","filename":"file1"},{"photo_id":"1401255005","filename":"file0"},{"photo_id":"1401255012","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255006":["hashtag1","hashtag2"]},{"1401255005":["hashtag1","hashtag2"]},{"1401255012":["hashtag1","hashtag2"]},{"1401255015":["hashtag1","hashtag2"]},{"1401255009":["hashtag1","hashtag2"]},{"1401255018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255006, 1401255005, 1401255012, 1401255015, 1401255009, 1401255018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50345706939697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:24:02.595180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', '/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', '/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', '/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', '/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', '/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg
/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg
/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg
/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg
/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg
/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_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":["1401255026","1401255029","1401255028","1401255025","1401255030","1401255027"],"photo_ids_order":["1401255025","1401255026","1401255027","1401255028","1401255029","1401255030"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f77b0f272b122d2196929f28e6d9ea02.jpg","text":"TemporaryFile(/tmp/multipartBody4414824471190524125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827503531,"filename":"image_10122025_20_48_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/12/27/d5415a91ad03679a3daf997dc0c715a5.jpg","text":"TemporaryFile(/tmp/multipartBody2718227641067790528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827503531,"filename":"image_10122025_20_46_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/12/27/0109db4f7c70c825c6fef5bae24e5b20.jpg","text":"TemporaryFile(/tmp/multipartBody8060715420932532713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827503531,"filename":"image_10122025_20_46_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ea5735dbc87afe240a76fee5c9a5c76.jpg","text":"TemporaryFile(/tmp/multipartBody165524448013608439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827503531,"filename":"image_10122025_20_49_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14628bf686a3e86805505efc506539c9.jpg","text":"TemporaryFile(/tmp/multipartBody5081404977639488339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827503531,"filename":"image_10122025_20_46_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8d915d6b9126fd1809abe3fc01632ef.jpg","text":"TemporaryFile(/tmp/multipartBody2260636816840205186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827503531,"filename":"image_10122025_20_47_25_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255027","file1":"1401255026","file0":"1401255025","file4":"1401255029","file5":"1401255030","file3":"1401255028"},"map_files_photo_id_array":[{"photo_id":"1401255030","filename":"file5"},{"photo_id":"1401255027","filename":"file2"},{"photo_id":"1401255029","filename":"file4"},{"photo_id":"1401255026","filename":"file1"},{"photo_id":"1401255025","filename":"file0"},{"photo_id":"1401255028","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255026":["hashtag1","hashtag2"]},{"1401255029":["hashtag1","hashtag2"]},{"1401255028":["hashtag1","hashtag2"]},{"1401255025":["hashtag1","hashtag2"]},{"1401255030":["hashtag1","hashtag2"]},{"1401255027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255026, 1401255029, 1401255028, 1401255025, 1401255030, 1401255027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.533440351486206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:24:46.780133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/44/image_10122025_20_45_04_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', '/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', '/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', '/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_24_9638.jpg', '/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_15_10645.jpg', '/home/nano/Desktop/images/10122025/20/44/image_10122025_20_45_04_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg
/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg
/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg
/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_24_9638.jpg
/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_15_10645.jpg
/home/nano/Desktop/images/10122025/20/44/image_10122025_20_45_04_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":["1401255053","1401255047","1401255055","1401255049","1401255051","1401255045"],"photo_ids_order":["1401255045","1401255047","1401255049","1401255051","1401255053","1401255055"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/982c4db56b68f74627e070e821efd33b.jpg","text":"TemporaryFile(/tmp/multipartBody210021635589624349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827547585,"filename":"image_10122025_20_45_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf0d67789411bb1708a80d9658ec41bd.jpg","text":"TemporaryFile(/tmp/multipartBody8992041761307877578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827547585,"filename":"image_10122025_20_45_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/12/27/f17232aef0546b8089b6f4bbba9307ef.jpg","text":"TemporaryFile(/tmp/multipartBody385537157907009785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827547585,"filename":"image_10122025_20_45_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/12/27/e13668d4508c0f23e02ac1f7d02de9f6.jpg","text":"TemporaryFile(/tmp/multipartBody890658144623555389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827547585,"filename":"image_10122025_20_45_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ee81d434f9e33d281f510c107d3f281.jpg","text":"TemporaryFile(/tmp/multipartBody127483909032255566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827547585,"filename":"image_10122025_20_45_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/12/27/a1c42e546b31146a4235315c91017e11.jpg","text":"TemporaryFile(/tmp/multipartBody4662268119580865518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827547585,"filename":"image_10122025_20_46_05_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255049","file1":"1401255047","file0":"1401255045","file4":"1401255053","file5":"1401255055","file3":"1401255051"},"map_files_photo_id_array":[{"photo_id":"1401255055","filename":"file5"},{"photo_id":"1401255049","filename":"file2"},{"photo_id":"1401255053","filename":"file4"},{"photo_id":"1401255047","filename":"file1"},{"photo_id":"1401255045","filename":"file0"},{"photo_id":"1401255051","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255053":["hashtag1","hashtag2"]},{"1401255047":["hashtag1","hashtag2"]},{"1401255055":["hashtag1","hashtag2"]},{"1401255049":["hashtag1","hashtag2"]},{"1401255051":["hashtag1","hashtag2"]},{"1401255045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255053, 1401255047, 1401255055, 1401255049, 1401255051, 1401255045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50906991958618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:25:31.872048
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_43_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/42/image_10122025_20_43_05_9628.jpg', '/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg', '/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', '/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', '/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', '/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/42/image_10122025_20_43_05_9628.jpg
/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg
/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg
/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg
/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg
/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_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":["1401255062","1401255065","1401255059","1401255067","1401255061","1401255066"],"photo_ids_order":["1401255059","1401255061","1401255062","1401255065","1401255066","1401255067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/792a3a1b312ac092785b19a1c2e83f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7671460119103955783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827592655,"filename":"image_10122025_20_42_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/12/27/9b46ddf90c111552a833543fa5793f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1445540100185244123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827592655,"filename":"image_10122025_20_42_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/12/27/8c2716579a080fb0b41b51e86c7945cc.jpg","text":"TemporaryFile(/tmp/multipartBody2028831945250998374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827592655,"filename":"image_10122025_20_43_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d78f7bc3c47bced879a17d4b905c629.jpg","text":"TemporaryFile(/tmp/multipartBody2338520925908258682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827592655,"filename":"image_10122025_20_41_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/12/27/9ecd4be4f42f552aa81e57206bc35494.jpg","text":"TemporaryFile(/tmp/multipartBody3230413991936462544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827592655,"filename":"image_10122025_20_42_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38d1688c0741493521e4dd4cd0af9514.jpg","text":"TemporaryFile(/tmp/multipartBody4839150585018021384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827592655,"filename":"image_10122025_20_41_54_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255062","file1":"1401255061","file0":"1401255059","file4":"1401255066","file5":"1401255067","file3":"1401255065"},"map_files_photo_id_array":[{"photo_id":"1401255067","filename":"file5"},{"photo_id":"1401255062","filename":"file2"},{"photo_id":"1401255066","filename":"file4"},{"photo_id":"1401255061","filename":"file1"},{"photo_id":"1401255059","filename":"file0"},{"photo_id":"1401255065","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255062":["hashtag1","hashtag2"]},{"1401255065":["hashtag1","hashtag2"]},{"1401255059":["hashtag1","hashtag2"]},{"1401255067":["hashtag1","hashtag2"]},{"1401255061":["hashtag1","hashtag2"]},{"1401255066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255062, 1401255065, 1401255059, 1401255067, 1401255061, 1401255066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2984139919281 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:26:16.985507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_45_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', '/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_54_9615.jpg', '/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_45_10628.jpg', '/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_34_9619.jpg', '/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_24_9635.jpg', '/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_45_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg
/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_54_9615.jpg
/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_45_10628.jpg
/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_34_9619.jpg
/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_24_9635.jpg
/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_45_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":["1401255068","1401255081","1401255075","1401255078","1401255072","1401255069"],"photo_ids_order":["1401255068","1401255069","1401255072","1401255075","1401255078","1401255081"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0008d645599948be3fff05645100525.jpg","text":"TemporaryFile(/tmp/multipartBody700078412048282084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827637793,"filename":"image_10122025_20_41_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b6d7cfe9cf8ba542571fa50d0bf8cec.jpg","text":"TemporaryFile(/tmp/multipartBody1299346621833786402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827637793,"filename":"image_10122025_20_39_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1174f1dd20de637aa4d659f2151e6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody7022196068027769029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827637793,"filename":"image_10122025_20_40_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/12/27/243b1aaa8a6c7504f457fd8ea8336729.jpg","text":"TemporaryFile(/tmp/multipartBody7815484978007937174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827637793,"filename":"image_10122025_20_40_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/12/27/d50f3412144ae60d4e8351c3a00f1753.jpg","text":"TemporaryFile(/tmp/multipartBody5418817742629671549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827637793,"filename":"image_10122025_20_40_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0daa7c492402ea9aa5a8a82427632fd.jpg","text":"TemporaryFile(/tmp/multipartBody5453244921504569184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827637793,"filename":"image_10122025_20_40_54_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255072","file1":"1401255069","file0":"1401255068","file4":"1401255078","file5":"1401255081","file3":"1401255075"},"map_files_photo_id_array":[{"photo_id":"1401255081","filename":"file5"},{"photo_id":"1401255072","filename":"file2"},{"photo_id":"1401255078","filename":"file4"},{"photo_id":"1401255069","filename":"file1"},{"photo_id":"1401255068","filename":"file0"},{"photo_id":"1401255075","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255068":["hashtag1","hashtag2"]},{"1401255081":["hashtag1","hashtag2"]},{"1401255075":["hashtag1","hashtag2"]},{"1401255078":["hashtag1","hashtag2"]},{"1401255072":["hashtag1","hashtag2"]},{"1401255069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255068, 1401255081, 1401255075, 1401255078, 1401255072, 1401255069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.473180532455444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:27:02.682107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_39_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_35_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_34_9620.jpg', '/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_25_9615.jpg', '/home/nano/Desktop/images/10122025/20/38/image_10122025_20_39_04_9636.jpg', '/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_55_10629.jpg', '/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_44_9621.jpg', '/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_35_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_34_9620.jpg
/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_25_9615.jpg
/home/nano/Desktop/images/10122025/20/38/image_10122025_20_39_04_9636.jpg
/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_55_10629.jpg
/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_44_9621.jpg
/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_35_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":["1401255089","1401255091","1401255094","1401255088","1401255090","1401255087"],"photo_ids_order":["1401255087","1401255088","1401255089","1401255090","1401255091","1401255094"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0ba391e3e769a14f3b347e155fc0593.jpg","text":"TemporaryFile(/tmp/multipartBody6982047780079624051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827683519,"filename":"image_10122025_20_39_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/12/27/820514942703dd176356e31400ac49b1.jpg","text":"TemporaryFile(/tmp/multipartBody2615316470737224519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827683519,"filename":"image_10122025_20_38_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/12/27/9d5de84cf00958fdc7b544acedb1c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4792572092397287623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827683519,"filename":"image_10122025_20_38_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d97bbd1efbfdd7861a724012837351a3.jpg","text":"TemporaryFile(/tmp/multipartBody2092288004688796536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827683519,"filename":"image_10122025_20_39_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4612255f6e8f040a31777367640148b3.jpg","text":"TemporaryFile(/tmp/multipartBody6350296737092732413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827683519,"filename":"image_10122025_20_38_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95ac4418c3dea69d4f786b98e99c60d2.jpg","text":"TemporaryFile(/tmp/multipartBody6607898191565263252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827683519,"filename":"image_10122025_20_39_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255089","file1":"1401255088","file0":"1401255087","file4":"1401255091","file5":"1401255094","file3":"1401255090"},"map_files_photo_id_array":[{"photo_id":"1401255094","filename":"file5"},{"photo_id":"1401255089","filename":"file2"},{"photo_id":"1401255091","filename":"file4"},{"photo_id":"1401255088","filename":"file1"},{"photo_id":"1401255087","filename":"file0"},{"photo_id":"1401255090","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255089":["hashtag1","hashtag2"]},{"1401255091":["hashtag1","hashtag2"]},{"1401255094":["hashtag1","hashtag2"]},{"1401255088":["hashtag1","hashtag2"]},{"1401255090":["hashtag1","hashtag2"]},{"1401255087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255089, 1401255091, 1401255094, 1401255088, 1401255090, 1401255087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67208242416382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:27:47.087862
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_38_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_36_04_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_14_9632.jpg', '/home/nano/Desktop/images/10122025/20/37/image_10122025_20_38_05_9633.jpg', '/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg', '/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_54_9621.jpg', '/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_35_10646.jpg', '/home/nano/Desktop/images/10122025/20/35/image_10122025_20_36_04_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_14_9632.jpg
/home/nano/Desktop/images/10122025/20/37/image_10122025_20_38_05_9633.jpg
/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg
/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_54_9621.jpg
/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_35_10646.jpg
/home/nano/Desktop/images/10122025/20/35/image_10122025_20_36_04_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":["1401255105","1401255110","1401255107","1401255109","1401255106","1401255108"],"photo_ids_order":["1401255105","1401255106","1401255107","1401255108","1401255109","1401255110"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/254f2f2ce8d2900744520e0a631ac735.jpg","text":"TemporaryFile(/tmp/multipartBody2963343296551240819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827727867,"filename":"image_10122025_20_38_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/12/27/df1cde9b4532c38818cef4473aeda955.jpg","text":"TemporaryFile(/tmp/multipartBody4856025791372014313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827727867,"filename":"image_10122025_20_36_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/12/27/f69c0c5208402dcf735aadf0c2db729d.jpg","text":"TemporaryFile(/tmp/multipartBody8085847610985509000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827727867,"filename":"image_10122025_20_37_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/12/27/65e275d1e17414d141b83710a0b113fa.jpg","text":"TemporaryFile(/tmp/multipartBody1444548827120631410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827727867,"filename":"image_10122025_20_36_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f49348b271ff477dfb74a05911d8116.jpg","text":"TemporaryFile(/tmp/multipartBody6664444303218674620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827727867,"filename":"image_10122025_20_38_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a19b3875e2842585aff030ab8af4102b.jpg","text":"TemporaryFile(/tmp/multipartBody7089557272442105678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827727867,"filename":"image_10122025_20_36_54_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255107","file1":"1401255106","file0":"1401255105","file4":"1401255109","file5":"1401255110","file3":"1401255108"},"map_files_photo_id_array":[{"photo_id":"1401255110","filename":"file5"},{"photo_id":"1401255107","filename":"file2"},{"photo_id":"1401255109","filename":"file4"},{"photo_id":"1401255106","filename":"file1"},{"photo_id":"1401255105","filename":"file0"},{"photo_id":"1401255108","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255105":["hashtag1","hashtag2"]},{"1401255110":["hashtag1","hashtag2"]},{"1401255107":["hashtag1","hashtag2"]},{"1401255109":["hashtag1","hashtag2"]},{"1401255106":["hashtag1","hashtag2"]},{"1401255108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255105, 1401255110, 1401255107, 1401255109, 1401255106, 1401255108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01571083068848 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:28:32.191310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_44_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_55_9617.jpg', '/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', '/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', '/home/nano/Desktop/images/10122025/20/34/image_10122025_20_35_04_9617.jpg', '/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_55_10626.jpg', '/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_44_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_55_9617.jpg
/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg
/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg
/home/nano/Desktop/images/10122025/20/34/image_10122025_20_35_04_9617.jpg
/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_55_10626.jpg
/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_44_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":["1401255130","1401255126","1401255129","1401255120","1401255123","1401255117"],"photo_ids_order":["1401255117","1401255120","1401255123","1401255126","1401255129","1401255130"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b14000e266b7609238957d19bc2ece59.jpg","text":"TemporaryFile(/tmp/multipartBody6631986917196118392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827772982,"filename":"image_10122025_20_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/12/27/f2193b1ac49d723f409553fafff3ffe4.jpg","text":"TemporaryFile(/tmp/multipartBody8198297296143895386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827772982,"filename":"image_10122025_20_35_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/12/27/147f3671c5da5991b36a43855bd2b502.jpg","text":"TemporaryFile(/tmp/multipartBody6369319666446331763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827772982,"filename":"image_10122025_20_34_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21ffe1265fd45ae8de2a46435c7a5d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6878496700978586389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827772982,"filename":"image_10122025_20_35_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55376e2314334d39e4f5ac7618bf1d68.jpg","text":"TemporaryFile(/tmp/multipartBody5555971105899480346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827772982,"filename":"image_10122025_20_35_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/12/27/266a8c1a360d02f1729437a4202cf3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4841476186742250561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827772982,"filename":"image_10122025_20_35_55_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255123","file1":"1401255120","file0":"1401255117","file4":"1401255129","file5":"1401255130","file3":"1401255126"},"map_files_photo_id_array":[{"photo_id":"1401255130","filename":"file5"},{"photo_id":"1401255123","filename":"file2"},{"photo_id":"1401255129","filename":"file4"},{"photo_id":"1401255120","filename":"file1"},{"photo_id":"1401255117","filename":"file0"},{"photo_id":"1401255126","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255130":["hashtag1","hashtag2"]},{"1401255126":["hashtag1","hashtag2"]},{"1401255129":["hashtag1","hashtag2"]},{"1401255120":["hashtag1","hashtag2"]},{"1401255123":["hashtag1","hashtag2"]},{"1401255117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255130, 1401255126, 1401255129, 1401255120, 1401255123, 1401255117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.914233922958374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:29:17.352765
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_34_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_35_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_25_10606.jpg', '/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_14_9640.jpg', '/home/nano/Desktop/images/10122025/20/33/image_10122025_20_34_05_9621.jpg', '/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_55_10611.jpg', '/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_44_9603.jpg', '/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_35_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_25_10606.jpg
/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_14_9640.jpg
/home/nano/Desktop/images/10122025/20/33/image_10122025_20_34_05_9621.jpg
/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_55_10611.jpg
/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_44_9603.jpg
/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_35_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":["1401255140","1401255143","1401255146","1401255133","1401255136","1401255132"],"photo_ids_order":["1401255132","1401255133","1401255136","1401255140","1401255143","1401255146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc7ef984549934592426595bff5caeba.jpg","text":"TemporaryFile(/tmp/multipartBody6065753121922405527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827818205,"filename":"image_10122025_20_33_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/302cfe7ecfecb21206df4ad188894caf.jpg","text":"TemporaryFile(/tmp/multipartBody8858254030069603246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827818205,"filename":"image_10122025_20_33_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/12/27/14602423d89b94bfb94b945a828ef63d.jpg","text":"TemporaryFile(/tmp/multipartBody6463336157448055013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827818205,"filename":"image_10122025_20_33_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b56c62afc338a50120bce49b081ba1d.jpg","text":"TemporaryFile(/tmp/multipartBody5928668878182050260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827818205,"filename":"image_10122025_20_34_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/12/27/7eb255f4b27ad9374d9687ce18e7fb41.jpg","text":"TemporaryFile(/tmp/multipartBody5205870227979352701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827818205,"filename":"image_10122025_20_34_05_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61af216797f0c86e1218ac0651074abd.jpg","text":"TemporaryFile(/tmp/multipartBody938399274976634163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827818205,"filename":"image_10122025_20_34_25_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255136","file1":"1401255133","file0":"1401255132","file4":"1401255143","file5":"1401255146","file3":"1401255140"},"map_files_photo_id_array":[{"photo_id":"1401255146","filename":"file5"},{"photo_id":"1401255136","filename":"file2"},{"photo_id":"1401255143","filename":"file4"},{"photo_id":"1401255133","filename":"file1"},{"photo_id":"1401255132","filename":"file0"},{"photo_id":"1401255140","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255140":["hashtag1","hashtag2"]},{"1401255143":["hashtag1","hashtag2"]},{"1401255146":["hashtag1","hashtag2"]},{"1401255133":["hashtag1","hashtag2"]},{"1401255136":["hashtag1","hashtag2"]},{"1401255132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255140, 1401255143, 1401255146, 1401255133, 1401255136, 1401255132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42931604385376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:30:02.991232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_15_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_33_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_35_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_24_9611.jpg', '/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_15_9648.jpg', '/home/nano/Desktop/images/10122025/20/32/image_10122025_20_33_05_10655.jpg', '/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_54_9604.jpg', '/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_45_9620.jpg', '/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_35_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_24_9611.jpg
/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_15_9648.jpg
/home/nano/Desktop/images/10122025/20/32/image_10122025_20_33_05_10655.jpg
/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_54_9604.jpg
/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_45_9620.jpg
/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_35_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":["1401255155","1401255160","1401255154","1401255157","1401255156","1401255153"],"photo_ids_order":["1401255153","1401255154","1401255155","1401255156","1401255157","1401255160"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06a9f8fe60d7fd78e1431dd32a9e0b83.jpg","text":"TemporaryFile(/tmp/multipartBody5770526452810014680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827863843,"filename":"image_10122025_20_33_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e94706cf580d3ad1aa5ab410e879bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2148055942840733999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827863843,"filename":"image_10122025_20_32_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db60427a1c7f53dd8d914842d6a3fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody3306477387389805543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827863843,"filename":"image_10122025_20_33_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a797520df6733b51f2187b86f168373e.jpg","text":"TemporaryFile(/tmp/multipartBody7101266245794683486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827863843,"filename":"image_10122025_20_32_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b1f15caf401e244c1c019ca9d03a57c.jpg","text":"TemporaryFile(/tmp/multipartBody6354087282941546836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827863843,"filename":"image_10122025_20_32_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/12/27/0965bcb2089f5df75a74adaa767c0fbc.jpg","text":"TemporaryFile(/tmp/multipartBody155621460648333078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827863843,"filename":"image_10122025_20_33_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255155","file1":"1401255154","file0":"1401255153","file4":"1401255157","file5":"1401255160","file3":"1401255156"},"map_files_photo_id_array":[{"photo_id":"1401255160","filename":"file5"},{"photo_id":"1401255155","filename":"file2"},{"photo_id":"1401255157","filename":"file4"},{"photo_id":"1401255154","filename":"file1"},{"photo_id":"1401255153","filename":"file0"},{"photo_id":"1401255156","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255155":["hashtag1","hashtag2"]},{"1401255160":["hashtag1","hashtag2"]},{"1401255154":["hashtag1","hashtag2"]},{"1401255157":["hashtag1","hashtag2"]},{"1401255156":["hashtag1","hashtag2"]},{"1401255153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255155, 1401255160, 1401255154, 1401255157, 1401255156, 1401255153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.77450156211853 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:30:47.410749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_32_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_34_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_24_9608.jpg', '/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_15_10634.jpg', '/home/nano/Desktop/images/10122025/20/31/image_10122025_20_32_04_9620.jpg', '/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_55_9620.jpg', '/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_45_10619.jpg', '/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_24_9608.jpg
/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_15_10634.jpg
/home/nano/Desktop/images/10122025/20/31/image_10122025_20_32_04_9620.jpg
/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_55_9620.jpg
/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_45_10619.jpg
/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_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":["1401255204","1401255173","1401255176","1401255172","1401255175","1401255174"],"photo_ids_order":["1401255172","1401255173","1401255174","1401255175","1401255176","1401255204"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5dfdc3624983a4d2d9dd98b4fa6dd67.jpg","text":"TemporaryFile(/tmp/multipartBody1278806156005255449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827908205,"filename":"image_10122025_20_31_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/12/27/1b22ef77e8c53b0284c4028b272b6137.jpg","text":"TemporaryFile(/tmp/multipartBody4830482786335593714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827908205,"filename":"image_10122025_20_32_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae7ac38c8b9f61efefafa385557a66d6.jpg","text":"TemporaryFile(/tmp/multipartBody1192242190325511686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827908205,"filename":"image_10122025_20_31_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e54eb094a1d96747c901e0b5bf7bd9d.jpg","text":"TemporaryFile(/tmp/multipartBody1131645359003280970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827908205,"filename":"image_10122025_20_32_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/12/27/2353a5491238d23da03d0e61e2b0cd28.jpg","text":"TemporaryFile(/tmp/multipartBody8374058381596175041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827908205,"filename":"image_10122025_20_31_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74aedae963da25225512295899eb942e.jpg","text":"TemporaryFile(/tmp/multipartBody6423255637397595753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827908205,"filename":"image_10122025_20_32_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255174","file1":"1401255173","file0":"1401255172","file4":"1401255176","file5":"1401255204","file3":"1401255175"},"map_files_photo_id_array":[{"photo_id":"1401255204","filename":"file5"},{"photo_id":"1401255174","filename":"file2"},{"photo_id":"1401255176","filename":"file4"},{"photo_id":"1401255173","filename":"file1"},{"photo_id":"1401255172","filename":"file0"},{"photo_id":"1401255175","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255204":["hashtag1","hashtag2"]},{"1401255173":["hashtag1","hashtag2"]},{"1401255176":["hashtag1","hashtag2"]},{"1401255172":["hashtag1","hashtag2"]},{"1401255175":["hashtag1","hashtag2"]},{"1401255174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255204, 1401255173, 1401255176, 1401255172, 1401255175, 1401255174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45933246612549 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:31:32.508533
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_31_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_55_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_35_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_25_10613.jpg', '/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_14_9637.jpg', '/home/nano/Desktop/images/10122025/20/30/image_10122025_20_31_04_9628.jpg', '/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_55_10639.jpg', '/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_44_9629.jpg', '/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_35_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_25_10613.jpg
/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_14_9637.jpg
/home/nano/Desktop/images/10122025/20/30/image_10122025_20_31_04_9628.jpg
/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_55_10639.jpg
/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_44_9629.jpg
/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_35_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":["1401255359","1401255329","1401255394","1401255354","1401255357","1401255333"],"photo_ids_order":["1401255329","1401255333","1401255354","1401255357","1401255359","1401255394"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3adf9713cda7baf6851482ff307a2291.jpg","text":"TemporaryFile(/tmp/multipartBody8028984987689737073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827953347,"filename":"image_10122025_20_30_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/12/27/bca9a4ce5c968c8d256e420608b1286c.jpg","text":"TemporaryFile(/tmp/multipartBody2461740087489909035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827953347,"filename":"image_10122025_20_31_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d587cf4639d74e02e9af641bd681e77e.jpg","text":"TemporaryFile(/tmp/multipartBody3317450346966601338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827953347,"filename":"image_10122025_20_30_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8df1c2b333ce7a9801ec1ccb1ab6decb.jpg","text":"TemporaryFile(/tmp/multipartBody824305085988818633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827953347,"filename":"image_10122025_20_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/12/27/e681fe6031d7fd1e55d2dfbe1dd83887.jpg","text":"TemporaryFile(/tmp/multipartBody8754379581302648236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827953347,"filename":"image_10122025_20_30_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9af5363679eb42a4ed750399e62cd5f1.jpg","text":"TemporaryFile(/tmp/multipartBody7424621620643929855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827953347,"filename":"image_10122025_20_31_14_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255354","file1":"1401255333","file0":"1401255329","file4":"1401255359","file5":"1401255394","file3":"1401255357"},"map_files_photo_id_array":[{"photo_id":"1401255394","filename":"file5"},{"photo_id":"1401255354","filename":"file2"},{"photo_id":"1401255359","filename":"file4"},{"photo_id":"1401255333","filename":"file1"},{"photo_id":"1401255329","filename":"file0"},{"photo_id":"1401255357","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255359":["hashtag1","hashtag2"]},{"1401255329":["hashtag1","hashtag2"]},{"1401255394":["hashtag1","hashtag2"]},{"1401255354":["hashtag1","hashtag2"]},{"1401255357":["hashtag1","hashtag2"]},{"1401255333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255359, 1401255329, 1401255394, 1401255354, 1401255357, 1401255333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.478801012039185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:32:17.641306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_14_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_30_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_55_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_44_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_35_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_25_10622.jpg', '/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_14_9652.jpg', '/home/nano/Desktop/images/10122025/20/29/image_10122025_20_30_05_9652.jpg', '/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_55_10667.jpg', '/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_44_9664.jpg', '/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_35_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_25_10622.jpg
/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_14_9652.jpg
/home/nano/Desktop/images/10122025/20/29/image_10122025_20_30_05_9652.jpg
/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_55_10667.jpg
/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_44_9664.jpg
/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_35_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":["1401255707","1401255620","1401255658","1401255693","1401255645","1401255642"],"photo_ids_order":["1401255620","1401255642","1401255645","1401255658","1401255693","1401255707"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5031f583cfff75334b47624b3dbb279.jpg","text":"TemporaryFile(/tmp/multipartBody733593728364676191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827998449,"filename":"image_10122025_20_29_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69f04de6f26cdb8b10c0d5c1b5656d44.jpg","text":"TemporaryFile(/tmp/multipartBody7360668536037762395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827998449,"filename":"image_10122025_20_30_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/242df7f77bef61853d4eccc94451834d.jpg","text":"TemporaryFile(/tmp/multipartBody3582661155779113404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827998449,"filename":"image_10122025_20_29_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7255d0afbb6a3defcd0e792a79ee15b.jpg","text":"TemporaryFile(/tmp/multipartBody3642461243177515609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827998449,"filename":"image_10122025_20_29_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/12/27/6b1daccc9bab68e96f79feaf325f6bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8029930409113199929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827998449,"filename":"image_10122025_20_30_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d3d4dc5dd85359651379efacb2d0747.jpg","text":"TemporaryFile(/tmp/multipartBody8484447251191660508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766827998449,"filename":"image_10122025_20_30_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255645","file1":"1401255642","file0":"1401255620","file4":"1401255693","file5":"1401255707","file3":"1401255658"},"map_files_photo_id_array":[{"photo_id":"1401255707","filename":"file5"},{"photo_id":"1401255645","filename":"file2"},{"photo_id":"1401255693","filename":"file4"},{"photo_id":"1401255642","filename":"file1"},{"photo_id":"1401255620","filename":"file0"},{"photo_id":"1401255658","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255707":["hashtag1","hashtag2"]},{"1401255620":["hashtag1","hashtag2"]},{"1401255658":["hashtag1","hashtag2"]},{"1401255693":["hashtag1","hashtag2"]},{"1401255645":["hashtag1","hashtag2"]},{"1401255642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255707, 1401255620, 1401255658, 1401255693, 1401255645, 1401255642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1101770401001 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:33:03.543048
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_29_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_54_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_45_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_35_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_25_10610.jpg', '/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_14_9630.jpg', '/home/nano/Desktop/images/10122025/20/28/image_10122025_20_29_05_10657.jpg', '/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_54_9659.jpg', '/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_45_9645.jpg', '/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_35_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_25_10610.jpg
/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_14_9630.jpg
/home/nano/Desktop/images/10122025/20/28/image_10122025_20_29_05_10657.jpg
/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_54_9659.jpg
/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_45_9645.jpg
/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_35_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":["1401255821","1401255898","1401255868","1401255913","1401255912","1401255915"],"photo_ids_order":["1401255821","1401255868","1401255898","1401255912","1401255913","1401255915"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e002341029760494a4fb79a9f9837e26.jpg","text":"TemporaryFile(/tmp/multipartBody7324083587416038069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828044408,"filename":"image_10122025_20_29_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a5c6bef5f72ddf96d38ddfc61c0020f.jpg","text":"TemporaryFile(/tmp/multipartBody6828863315561401722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828044408,"filename":"image_10122025_20_29_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17b7e87f0c4812e124f4ccd8bba34638.jpg","text":"TemporaryFile(/tmp/multipartBody4042459705839186114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828044408,"filename":"image_10122025_20_29_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/12/27/8c14ae60ac3eab8fb4303e6b5d36fa58.jpg","text":"TemporaryFile(/tmp/multipartBody4738031159118242695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828044408,"filename":"image_10122025_20_28_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/964a2ff6d5891ca158f042ccf14d97e1.jpg","text":"TemporaryFile(/tmp/multipartBody6878992434604838378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828044408,"filename":"image_10122025_20_28_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/12/27/7a269fbc2f9c5f7c185afeb31624ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody1625490476857735619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828044408,"filename":"image_10122025_20_28_35_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255898","file1":"1401255868","file0":"1401255821","file4":"1401255913","file5":"1401255915","file3":"1401255912"},"map_files_photo_id_array":[{"photo_id":"1401255915","filename":"file5"},{"photo_id":"1401255898","filename":"file2"},{"photo_id":"1401255913","filename":"file4"},{"photo_id":"1401255868","filename":"file1"},{"photo_id":"1401255821","filename":"file0"},{"photo_id":"1401255912","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255821":["hashtag1","hashtag2"]},{"1401255898":["hashtag1","hashtag2"]},{"1401255868":["hashtag1","hashtag2"]},{"1401255913":["hashtag1","hashtag2"]},{"1401255912":["hashtag1","hashtag2"]},{"1401255915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255821, 1401255898, 1401255868, 1401255913, 1401255912, 1401255915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.468015909194946 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:33:47.737551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_24_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_28_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_45_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_35_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_24_9633.jpg', '/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_15_9642.jpg', '/home/nano/Desktop/images/10122025/20/27/image_10122025_20_28_05_10643.jpg', '/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_54_9618.jpg', '/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_45_9635.jpg', '/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_35_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_24_9633.jpg
/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_15_9642.jpg
/home/nano/Desktop/images/10122025/20/27/image_10122025_20_28_05_10643.jpg
/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_54_9618.jpg
/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_45_9635.jpg
/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_35_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":["1401255929","1401255932","1401255931","1401255930","1401255933","1401255927"],"photo_ids_order":["1401255927","1401255929","1401255930","1401255931","1401255932","1401255933"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/478fabf5a0a28bfc65c55682fa97e547.jpg","text":"TemporaryFile(/tmp/multipartBody8159109655590775752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828088534,"filename":"image_10122025_20_28_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a142317845ad5901db0d8094a6da3717.jpg","text":"TemporaryFile(/tmp/multipartBody1231472030390961930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828088534,"filename":"image_10122025_20_27_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90906ee6da8ff5eef7f923e7167579b0.jpg","text":"TemporaryFile(/tmp/multipartBody6258953590419648176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828088534,"filename":"image_10122025_20_27_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/12/27/ada0b86c932c38efd511a5ea63634fad.jpg","text":"TemporaryFile(/tmp/multipartBody1907785079313998546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828088534,"filename":"image_10122025_20_28_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5bcf742a53ed89488774293132da705c.jpg","text":"TemporaryFile(/tmp/multipartBody2728457266933243841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828088534,"filename":"image_10122025_20_27_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c6484dfe201d94d1a6f6753dcdfd127.jpg","text":"TemporaryFile(/tmp/multipartBody6652408833936419190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828088534,"filename":"image_10122025_20_28_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255930","file1":"1401255929","file0":"1401255927","file4":"1401255932","file5":"1401255933","file3":"1401255931"},"map_files_photo_id_array":[{"photo_id":"1401255933","filename":"file5"},{"photo_id":"1401255930","filename":"file2"},{"photo_id":"1401255932","filename":"file4"},{"photo_id":"1401255929","filename":"file1"},{"photo_id":"1401255927","filename":"file0"},{"photo_id":"1401255931","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255929":["hashtag1","hashtag2"]},{"1401255932":["hashtag1","hashtag2"]},{"1401255931":["hashtag1","hashtag2"]},{"1401255930":["hashtag1","hashtag2"]},{"1401255933":["hashtag1","hashtag2"]},{"1401255927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255929, 1401255932, 1401255931, 1401255930, 1401255933, 1401255927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.553205728530884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:34:31.848605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_34_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_24_9622.jpg', '/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_15_10657.jpg', '/home/nano/Desktop/images/10122025/20/26/image_10122025_20_27_04_9652.jpg', '/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_54_9634.jpg', '/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_45_10636.jpg', '/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_24_9622.jpg
/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_15_10657.jpg
/home/nano/Desktop/images/10122025/20/26/image_10122025_20_27_04_9652.jpg
/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_54_9634.jpg
/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_45_10636.jpg
/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_34_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":["1401255941","1401255944","1401255938","1401255952","1401255951","1401255948"],"photo_ids_order":["1401255938","1401255941","1401255944","1401255948","1401255951","1401255952"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0f3e72035f6ef6e286d18b56acd57dc.jpg","text":"TemporaryFile(/tmp/multipartBody4454766233467118549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828132647,"filename":"image_10122025_20_27_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/381e72e7462a6e7092178dda250b5b1c.jpg","text":"TemporaryFile(/tmp/multipartBody6070586776798371035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828132647,"filename":"image_10122025_20_27_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/12/27/6410f6ac8fa0a9396bb219a50f971a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6649116312285436477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828132647,"filename":"image_10122025_20_27_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/12/27/9568021e7eace8be0210e5d9efa57c89.jpg","text":"TemporaryFile(/tmp/multipartBody1025993924073688168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828132647,"filename":"image_10122025_20_26_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/12/27/dee59a568b2b88f9d88df91b5d603868.jpg","text":"TemporaryFile(/tmp/multipartBody8997016736136794495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828132647,"filename":"image_10122025_20_26_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac8e4ad61aa6c152a38ee51015991819.jpg","text":"TemporaryFile(/tmp/multipartBody3648813548500325479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828132647,"filename":"image_10122025_20_26_54_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255944","file1":"1401255941","file0":"1401255938","file4":"1401255951","file5":"1401255952","file3":"1401255948"},"map_files_photo_id_array":[{"photo_id":"1401255952","filename":"file5"},{"photo_id":"1401255944","filename":"file2"},{"photo_id":"1401255951","filename":"file4"},{"photo_id":"1401255941","filename":"file1"},{"photo_id":"1401255938","filename":"file0"},{"photo_id":"1401255948","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255941":["hashtag1","hashtag2"]},{"1401255944":["hashtag1","hashtag2"]},{"1401255938":["hashtag1","hashtag2"]},{"1401255952":["hashtag1","hashtag2"]},{"1401255951":["hashtag1","hashtag2"]},{"1401255948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255941, 1401255944, 1401255938, 1401255952, 1401255951, 1401255948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.816333293914795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:35:16.944586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_26_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_34_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_25_9603.jpg', '/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_15_10646.jpg', '/home/nano/Desktop/images/10122025/20/25/image_10122025_20_26_04_9600.jpg', '/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_55_9604.jpg', '/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_45_10609.jpg', '/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_34_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_25_9603.jpg
/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_15_10646.jpg
/home/nano/Desktop/images/10122025/20/25/image_10122025_20_26_04_9600.jpg
/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_55_9604.jpg
/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_45_10609.jpg
/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_34_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":["1401255956","1401255964","1401255958","1401255967","1401255961","1401255966"],"photo_ids_order":["1401255956","1401255958","1401255961","1401255964","1401255966","1401255967"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/263987eb39cf06da07c7530e6b90163f.jpg","text":"TemporaryFile(/tmp/multipartBody5507325753698656081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828177718,"filename":"image_10122025_20_26_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c510e92cf7d29d2ce0523a469c35d04b.jpg","text":"TemporaryFile(/tmp/multipartBody2292179452702500305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828177718,"filename":"image_10122025_20_25_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9537d137fd56a11ca380410ab51f5418.jpg","text":"TemporaryFile(/tmp/multipartBody1179417327874621975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828177718,"filename":"image_10122025_20_26_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ffa9c292f9d1d01e029ea0f031ec09f.jpg","text":"TemporaryFile(/tmp/multipartBody7280229487437585541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828177718,"filename":"image_10122025_20_25_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/12/27/1a25206ecd5c48d538233d55da8fd7c1.jpg","text":"TemporaryFile(/tmp/multipartBody4370257941069760350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828177718,"filename":"image_10122025_20_26_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/12/27/9c80cf2f5cc76859d34ebeac1da2ed36.jpg","text":"TemporaryFile(/tmp/multipartBody347390925351405594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828177718,"filename":"image_10122025_20_25_45_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255961","file1":"1401255958","file0":"1401255956","file4":"1401255966","file5":"1401255967","file3":"1401255964"},"map_files_photo_id_array":[{"photo_id":"1401255967","filename":"file5"},{"photo_id":"1401255961","filename":"file2"},{"photo_id":"1401255966","filename":"file4"},{"photo_id":"1401255958","filename":"file1"},{"photo_id":"1401255956","filename":"file0"},{"photo_id":"1401255964","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255956":["hashtag1","hashtag2"]},{"1401255964":["hashtag1","hashtag2"]},{"1401255958":["hashtag1","hashtag2"]},{"1401255967":["hashtag1","hashtag2"]},{"1401255961":["hashtag1","hashtag2"]},{"1401255966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255956, 1401255964, 1401255958, 1401255967, 1401255961, 1401255966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05067324638367 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:36:02.594422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_25_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_35_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_25_10606.jpg', '/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_14_9617.jpg', '/home/nano/Desktop/images/10122025/20/24/image_10122025_20_25_05_9626.jpg', '/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_55_10610.jpg', '/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_44_9602.jpg', '/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_35_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_25_10606.jpg
/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_14_9617.jpg
/home/nano/Desktop/images/10122025/20/24/image_10122025_20_25_05_9626.jpg
/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_55_10610.jpg
/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_44_9602.jpg
/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_35_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":["1401255974","1401255977","1401255976","1401255973","1401255972","1401255975"],"photo_ids_order":["1401255972","1401255973","1401255974","1401255975","1401255976","1401255977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ab6ad6f5862d71ac3b68ade8ffbb395.jpg","text":"TemporaryFile(/tmp/multipartBody3949613287624028591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828223446,"filename":"image_10122025_20_25_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92217d485d63fc843d5a404033ea7f79.jpg","text":"TemporaryFile(/tmp/multipartBody7000460945633263056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828223446,"filename":"image_10122025_20_24_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/229cf58b0770dba60460faaae8b1a51c.jpg","text":"TemporaryFile(/tmp/multipartBody4882157827583128291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828223446,"filename":"image_10122025_20_24_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/12/27/f65b3ce34e64e9e8ec6a71c2599cc371.jpg","text":"TemporaryFile(/tmp/multipartBody2707637093930492877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828223446,"filename":"image_10122025_20_25_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/12/27/58d2094ba6f41f410aa9a496c6af63f5.jpg","text":"TemporaryFile(/tmp/multipartBody6389159247325050434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828223446,"filename":"image_10122025_20_25_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9703caffbe11dfb58b56c748d24bfb65.jpg","text":"TemporaryFile(/tmp/multipartBody7313575473724420726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828223446,"filename":"image_10122025_20_24_55_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255974","file1":"1401255973","file0":"1401255972","file4":"1401255976","file5":"1401255977","file3":"1401255975"},"map_files_photo_id_array":[{"photo_id":"1401255977","filename":"file5"},{"photo_id":"1401255974","filename":"file2"},{"photo_id":"1401255976","filename":"file4"},{"photo_id":"1401255973","filename":"file1"},{"photo_id":"1401255972","filename":"file0"},{"photo_id":"1401255975","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255974":["hashtag1","hashtag2"]},{"1401255977":["hashtag1","hashtag2"]},{"1401255976":["hashtag1","hashtag2"]},{"1401255973":["hashtag1","hashtag2"]},{"1401255972":["hashtag1","hashtag2"]},{"1401255975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255974, 1401255977, 1401255976, 1401255973, 1401255972, 1401255975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.097944259643555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:36:47.029255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_24_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_45_10593.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_34_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_24_9606.jpg', '/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_15_9644.jpg', '/home/nano/Desktop/images/10122025/20/23/image_10122025_20_24_05_10636.jpg', '/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_54_9602.jpg', '/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_45_10593.jpg', '/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_24_9606.jpg
/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_15_9644.jpg
/home/nano/Desktop/images/10122025/20/23/image_10122025_20_24_05_10636.jpg
/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_54_9602.jpg
/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_45_10593.jpg
/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_34_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":["1401255995","1401255994","1401255991","1401255990","1401255993","1401255992"],"photo_ids_order":["1401255990","1401255991","1401255992","1401255993","1401255994","1401255995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3581130c9f21c44167fa14b1754dba12.jpg","text":"TemporaryFile(/tmp/multipartBody1442585315181328030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828267799,"filename":"image_10122025_20_23_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/12/27/c17cbd0c6285acac699355c193789285.jpg","text":"TemporaryFile(/tmp/multipartBody2173956811484130611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828267799,"filename":"image_10122025_20_23_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7173c045db31bdc0fc1eaf906ee5bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6931581608680363167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828267799,"filename":"image_10122025_20_24_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08c600f34625e3695652ef6781e4b374.jpg","text":"TemporaryFile(/tmp/multipartBody1973641449351066968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828267799,"filename":"image_10122025_20_24_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/12/27/3d640c95a50b0a184c0defb8fe31b6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5507450366875174623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828267799,"filename":"image_10122025_20_23_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/12/27/c22fab4d946633647a291943b5a091f8.jpg","text":"TemporaryFile(/tmp/multipartBody5529619054062635016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828267799,"filename":"image_10122025_20_24_05_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401255992","file1":"1401255991","file0":"1401255990","file4":"1401255994","file5":"1401255995","file3":"1401255993"},"map_files_photo_id_array":[{"photo_id":"1401255995","filename":"file5"},{"photo_id":"1401255992","filename":"file2"},{"photo_id":"1401255994","filename":"file4"},{"photo_id":"1401255991","filename":"file1"},{"photo_id":"1401255990","filename":"file0"},{"photo_id":"1401255993","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401255995":["hashtag1","hashtag2"]},{"1401255994":["hashtag1","hashtag2"]},{"1401255991":["hashtag1","hashtag2"]},{"1401255990":["hashtag1","hashtag2"]},{"1401255993":["hashtag1","hashtag2"]},{"1401255992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401255995, 1401255994, 1401255991, 1401255990, 1401255993, 1401255992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09597945213318 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:37:32.127527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_23_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_34_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_24_9610.jpg', '/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_15_10636.jpg', '/home/nano/Desktop/images/10122025/20/22/image_10122025_20_23_04_9643.jpg', '/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_55_9603.jpg', '/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_45_10621.jpg', '/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_34_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_24_9610.jpg
/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_15_10636.jpg
/home/nano/Desktop/images/10122025/20/22/image_10122025_20_23_04_9643.jpg
/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_55_9603.jpg
/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_45_10621.jpg
/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_34_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401256001","1401256013","1401256012","1401256009","1401256003","1401256006"],"photo_ids_order":["1401256001","1401256003","1401256006","1401256009","1401256012","1401256013"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dbecefa19f92b41ac36b68942e591e9.jpg","text":"TemporaryFile(/tmp/multipartBody5146702638144965676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828312907,"filename":"image_10122025_20_23_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/12/27/6797bc64d6a7f10406fdec0c671f9104.jpg","text":"TemporaryFile(/tmp/multipartBody1584917039904488984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828312907,"filename":"image_10122025_20_22_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/12/27/31d34d01182d35b0165d2de76a0597c0.jpg","text":"TemporaryFile(/tmp/multipartBody2474361813311552898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828312907,"filename":"image_10122025_20_22_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6594c0ba566314bda9f102c30282713a.jpg","text":"TemporaryFile(/tmp/multipartBody5970774332377342218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828312907,"filename":"image_10122025_20_22_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5eba4cfbf1a22ac475cdb5a01f552613.jpg","text":"TemporaryFile(/tmp/multipartBody6338392128978448763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828312907,"filename":"image_10122025_20_23_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65e9f0c67407b4f5426ae9a1de812563.jpg","text":"TemporaryFile(/tmp/multipartBody5988820665164851823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828312907,"filename":"image_10122025_20_23_04_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256006","file1":"1401256003","file0":"1401256001","file4":"1401256012","file5":"1401256013","file3":"1401256009"},"map_files_photo_id_array":[{"photo_id":"1401256013","filename":"file5"},{"photo_id":"1401256006","filename":"file2"},{"photo_id":"1401256012","filename":"file4"},{"photo_id":"1401256003","filename":"file1"},{"photo_id":"1401256001","filename":"file0"},{"photo_id":"1401256009","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256001":["hashtag1","hashtag2"]},{"1401256013":["hashtag1","hashtag2"]},{"1401256012":["hashtag1","hashtag2"]},{"1401256009":["hashtag1","hashtag2"]},{"1401256003":["hashtag1","hashtag2"]},{"1401256006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256001, 1401256013, 1401256012, 1401256009, 1401256003, 1401256006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.599810123443604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:38:17.255373
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_14_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_22_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_35_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_25_10620.jpg', '/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_14_9648.jpg', '/home/nano/Desktop/images/10122025/20/21/image_10122025_20_22_04_9644.jpg', '/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_55_10629.jpg', '/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_44_9608.jpg', '/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_35_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_25_10620.jpg
/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_14_9648.jpg
/home/nano/Desktop/images/10122025/20/21/image_10122025_20_22_04_9644.jpg
/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_55_10629.jpg
/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_44_9608.jpg
/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_35_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":["1401256027","1401256021","1401256015","1401256024","1401256018","1401256014"],"photo_ids_order":["1401256014","1401256015","1401256018","1401256021","1401256024","1401256027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f94aa25df034325f4fc566a5d79ab1d.jpg","text":"TemporaryFile(/tmp/multipartBody5359333225228994739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828358037,"filename":"image_10122025_20_21_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99d413f2a1dd2590e5ad40fb0abeec0c.jpg","text":"TemporaryFile(/tmp/multipartBody8370823933772739568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828358037,"filename":"image_10122025_20_21_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33d3bdb040313940b64a7e33f63d1613.jpg","text":"TemporaryFile(/tmp/multipartBody8609394555810522329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828358037,"filename":"image_10122025_20_22_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/12/27/f1d99d388980e1377b1ab918afcad73c.jpg","text":"TemporaryFile(/tmp/multipartBody6665350480255649305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828358037,"filename":"image_10122025_20_21_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/12/27/7083445c7cea18adc64aede3a9613852.jpg","text":"TemporaryFile(/tmp/multipartBody5514238002394583862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828358037,"filename":"image_10122025_20_22_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/12/27/189f91a7350ab958dc4d4d44587bd186.jpg","text":"TemporaryFile(/tmp/multipartBody4053903231529286761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828358037,"filename":"image_10122025_20_22_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256018","file1":"1401256015","file0":"1401256014","file4":"1401256024","file5":"1401256027","file3":"1401256021"},"map_files_photo_id_array":[{"photo_id":"1401256027","filename":"file5"},{"photo_id":"1401256018","filename":"file2"},{"photo_id":"1401256024","filename":"file4"},{"photo_id":"1401256015","filename":"file1"},{"photo_id":"1401256014","filename":"file0"},{"photo_id":"1401256021","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256027":["hashtag1","hashtag2"]},{"1401256021":["hashtag1","hashtag2"]},{"1401256015":["hashtag1","hashtag2"]},{"1401256024":["hashtag1","hashtag2"]},{"1401256018":["hashtag1","hashtag2"]},{"1401256014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256027, 1401256021, 1401256015, 1401256024, 1401256018, 1401256014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.729005336761475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:39:03.367594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_21_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_54_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_35_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_25_10616.jpg', '/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_14_9624.jpg', '/home/nano/Desktop/images/10122025/20/20/image_10122025_20_21_05_10629.jpg', '/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_54_9597.jpg', '/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_45_9611.jpg', '/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_35_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_25_10616.jpg
/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_14_9624.jpg
/home/nano/Desktop/images/10122025/20/20/image_10122025_20_21_05_10629.jpg
/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_54_9597.jpg
/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_45_9611.jpg
/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_35_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":["1401256037","1401256039","1401256036","1401256041","1401256035","1401256038"],"photo_ids_order":["1401256035","1401256036","1401256037","1401256038","1401256039","1401256041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae8781c36af481b7527bc35b10d3f7d9.jpg","text":"TemporaryFile(/tmp/multipartBody223001807479615074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828404168,"filename":"image_10122025_20_21_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98df7ef15c6cd48ec84baa0ea80bf57f.jpg","text":"TemporaryFile(/tmp/multipartBody5159004099677640056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828404168,"filename":"image_10122025_20_20_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8df0174e108a9c9ea48986456260a29f.jpg","text":"TemporaryFile(/tmp/multipartBody6985699220715469005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828404168,"filename":"image_10122025_20_21_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/12/27/a10f02a6b76637ce14005c4ebdf4f92f.jpg","text":"TemporaryFile(/tmp/multipartBody1535520641397734013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828404168,"filename":"image_10122025_20_20_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/959b7e864a31b55f2fdda827244c0efa.jpg","text":"TemporaryFile(/tmp/multipartBody4978451142489962493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828404168,"filename":"image_10122025_20_21_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4624c1d3ebd682e8a62164d5fd6e830c.jpg","text":"TemporaryFile(/tmp/multipartBody2403913100693783972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828404168,"filename":"image_10122025_20_20_54_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256037","file1":"1401256036","file0":"1401256035","file4":"1401256039","file5":"1401256041","file3":"1401256038"},"map_files_photo_id_array":[{"photo_id":"1401256041","filename":"file5"},{"photo_id":"1401256037","filename":"file2"},{"photo_id":"1401256039","filename":"file4"},{"photo_id":"1401256036","filename":"file1"},{"photo_id":"1401256035","filename":"file0"},{"photo_id":"1401256038","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256037":["hashtag1","hashtag2"]},{"1401256039":["hashtag1","hashtag2"]},{"1401256036":["hashtag1","hashtag2"]},{"1401256041":["hashtag1","hashtag2"]},{"1401256035":["hashtag1","hashtag2"]},{"1401256038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256037, 1401256039, 1401256036, 1401256041, 1401256035, 1401256038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.280449628829956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:39:47.394189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_20_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_34_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_24_9605.jpg', '/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_15_9615.jpg', '/home/nano/Desktop/images/10122025/20/19/image_10122025_20_20_05_10624.jpg', '/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_54_9599.jpg', '/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_45_10612.jpg', '/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_24_9605.jpg
/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_15_9615.jpg
/home/nano/Desktop/images/10122025/20/19/image_10122025_20_20_05_10624.jpg
/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_54_9599.jpg
/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_45_10612.jpg
/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_34_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":["1401256058","1401256057","1401256051","1401256054","1401256053","1401256055"],"photo_ids_order":["1401256051","1401256053","1401256054","1401256055","1401256057","1401256058"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95d994e34240092961ff6c21835b0cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1221823951216557356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828448167,"filename":"image_10122025_20_19_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/12/27/54ed8000a77540d200a981e832fb786f.jpg","text":"TemporaryFile(/tmp/multipartBody1500111678273556662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828448167,"filename":"image_10122025_20_19_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea7d967ca55fd5950be164518e8f1730.jpg","text":"TemporaryFile(/tmp/multipartBody8986973677649145232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828448167,"filename":"image_10122025_20_20_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/12/27/391c50c2568d622e0c01d90aeba99614.jpg","text":"TemporaryFile(/tmp/multipartBody7320275590658989531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828448167,"filename":"image_10122025_20_20_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a16dffa39209f7b3774b4800c4ba509.jpg","text":"TemporaryFile(/tmp/multipartBody4252969291476707745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828448167,"filename":"image_10122025_20_20_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba464e932a13fd52a008e37fc9d29bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4299853161299360368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828448167,"filename":"image_10122025_20_19_54_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256054","file1":"1401256053","file0":"1401256051","file4":"1401256057","file5":"1401256058","file3":"1401256055"},"map_files_photo_id_array":[{"photo_id":"1401256058","filename":"file5"},{"photo_id":"1401256054","filename":"file2"},{"photo_id":"1401256057","filename":"file4"},{"photo_id":"1401256053","filename":"file1"},{"photo_id":"1401256051","filename":"file0"},{"photo_id":"1401256055","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256058":["hashtag1","hashtag2"]},{"1401256057":["hashtag1","hashtag2"]},{"1401256051":["hashtag1","hashtag2"]},{"1401256054":["hashtag1","hashtag2"]},{"1401256053":["hashtag1","hashtag2"]},{"1401256055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256058, 1401256057, 1401256051, 1401256054, 1401256053, 1401256055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.249377965927124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:40:32.495414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_19_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_44_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_34_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_25_9604.jpg', '/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_15_10645.jpg', '/home/nano/Desktop/images/10122025/20/18/image_10122025_20_19_04_9626.jpg', '/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_55_10631.jpg', '/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_44_9640.jpg', '/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_34_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_25_9604.jpg
/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_15_10645.jpg
/home/nano/Desktop/images/10122025/20/18/image_10122025_20_19_04_9626.jpg
/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_55_10631.jpg
/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_44_9640.jpg
/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_34_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":["1401256066","1401256071","1401256068","1401256062","1401256070","1401256064"],"photo_ids_order":["1401256062","1401256064","1401256066","1401256068","1401256070","1401256071"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c67a88edf8c89edc478a717ea394cdce.jpg","text":"TemporaryFile(/tmp/multipartBody4051275469860519594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828493286,"filename":"image_10122025_20_19_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/12/27/53455cf54ec5f6354ddae3c6bd184208.jpg","text":"TemporaryFile(/tmp/multipartBody7967393110263858179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828493286,"filename":"image_10122025_20_18_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/12/27/13cdde3441a5e7025ef7c2e85e9eaffe.jpg","text":"TemporaryFile(/tmp/multipartBody9170892350200445609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828493286,"filename":"image_10122025_20_18_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/395719d3b1f38c069b9b6684111e78be.jpg","text":"TemporaryFile(/tmp/multipartBody365441893099020559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828493286,"filename":"image_10122025_20_19_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d3f8ff9c9c098666d6bc26d1c93eec4.jpg","text":"TemporaryFile(/tmp/multipartBody7573677418882303604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828493286,"filename":"image_10122025_20_18_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/12/27/12af18ef39d24fb53ab797af9eacb28a.jpg","text":"TemporaryFile(/tmp/multipartBody955048576470553096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828493286,"filename":"image_10122025_20_19_15_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256066","file1":"1401256064","file0":"1401256062","file4":"1401256070","file5":"1401256071","file3":"1401256068"},"map_files_photo_id_array":[{"photo_id":"1401256071","filename":"file5"},{"photo_id":"1401256066","filename":"file2"},{"photo_id":"1401256070","filename":"file4"},{"photo_id":"1401256064","filename":"file1"},{"photo_id":"1401256062","filename":"file0"},{"photo_id":"1401256068","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256066":["hashtag1","hashtag2"]},{"1401256071":["hashtag1","hashtag2"]},{"1401256068":["hashtag1","hashtag2"]},{"1401256062":["hashtag1","hashtag2"]},{"1401256070":["hashtag1","hashtag2"]},{"1401256064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256066, 1401256071, 1401256068, 1401256062, 1401256070, 1401256064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.690258502960205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:41:17.589081
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_25_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_18_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_35_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_25_10604.jpg', '/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_14_9622.jpg', '/home/nano/Desktop/images/10122025/20/17/image_10122025_20_18_05_9620.jpg', '/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_55_10610.jpg', '/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_44_9602.jpg', '/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_25_10604.jpg
/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_14_9622.jpg
/home/nano/Desktop/images/10122025/20/17/image_10122025_20_18_05_9620.jpg
/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_55_10610.jpg
/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_44_9602.jpg
/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_35_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":["1401256086","1401256080","1401256074","1401256083","1401256077","1401256073"],"photo_ids_order":["1401256073","1401256074","1401256077","1401256080","1401256083","1401256086"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/467a8def1ac4b0ece8de869cc2093674.jpg","text":"TemporaryFile(/tmp/multipartBody5617070022063977803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828538361,"filename":"image_10122025_20_17_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7f85d6ee11831c0f42eb87960121dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5262832278378436992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828538361,"filename":"image_10122025_20_17_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e4e268aad54d74fd24a080365fd9357.jpg","text":"TemporaryFile(/tmp/multipartBody5273551624326070549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828538361,"filename":"image_10122025_20_18_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/12/27/3e598432f54d034a6572c2ed70a4adeb.jpg","text":"TemporaryFile(/tmp/multipartBody5361684017444664494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828538361,"filename":"image_10122025_20_17_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/12/27/f12e92734fb9097c186405038219fef6.jpg","text":"TemporaryFile(/tmp/multipartBody7437778158617574516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828538361,"filename":"image_10122025_20_18_05_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/518f8ce49ba8ff7c16b9bc59864412d0.jpg","text":"TemporaryFile(/tmp/multipartBody1820521576157944762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828538361,"filename":"image_10122025_20_18_25_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256077","file1":"1401256074","file0":"1401256073","file4":"1401256083","file5":"1401256086","file3":"1401256080"},"map_files_photo_id_array":[{"photo_id":"1401256086","filename":"file5"},{"photo_id":"1401256077","filename":"file2"},{"photo_id":"1401256083","filename":"file4"},{"photo_id":"1401256074","filename":"file1"},{"photo_id":"1401256073","filename":"file0"},{"photo_id":"1401256080","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256086":["hashtag1","hashtag2"]},{"1401256080":["hashtag1","hashtag2"]},{"1401256074":["hashtag1","hashtag2"]},{"1401256083":["hashtag1","hashtag2"]},{"1401256077":["hashtag1","hashtag2"]},{"1401256073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256086, 1401256080, 1401256074, 1401256083, 1401256077, 1401256073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36086392402649 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:42:03.154643
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_17_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_34_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_24_9601.jpg', '/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_15_9614.jpg', '/home/nano/Desktop/images/10122025/20/16/image_10122025_20_17_05_10630.jpg', '/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_54_9598.jpg', '/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_45_10609.jpg', '/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_34_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_24_9601.jpg
/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_15_9614.jpg
/home/nano/Desktop/images/10122025/20/16/image_10122025_20_17_05_10630.jpg
/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_54_9598.jpg
/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_45_10609.jpg
/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_34_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":["1401256093","1401256090","1401256092","1401256095","1401256091","1401256094"],"photo_ids_order":["1401256090","1401256091","1401256092","1401256093","1401256094","1401256095"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea445c40a6afa282762a96c35120e60d.jpg","text":"TemporaryFile(/tmp/multipartBody8721548254388183391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828583950,"filename":"image_10122025_20_16_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1192cd08abb345934bdf8f3ac0e918cb.jpg","text":"TemporaryFile(/tmp/multipartBody7778336158525427669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828583950,"filename":"image_10122025_20_17_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/12/27/9d7380689339db3e24be9d6831e1cc05.jpg","text":"TemporaryFile(/tmp/multipartBody2207611652364222892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828583950,"filename":"image_10122025_20_17_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d14bbb91326d9708cfc73562d4f0193b.jpg","text":"TemporaryFile(/tmp/multipartBody6481477596718350062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828583950,"filename":"image_10122025_20_16_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/12/27/d4af64d01d1e79dbcc3cfd28626e93ef.jpg","text":"TemporaryFile(/tmp/multipartBody7823807407000859104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828583950,"filename":"image_10122025_20_17_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb56d9b1ef51afc985c2cb5f00689b4c.jpg","text":"TemporaryFile(/tmp/multipartBody1664256065314238318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828583950,"filename":"image_10122025_20_16_45_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256092","file1":"1401256091","file0":"1401256090","file4":"1401256094","file5":"1401256095","file3":"1401256093"},"map_files_photo_id_array":[{"photo_id":"1401256095","filename":"file5"},{"photo_id":"1401256092","filename":"file2"},{"photo_id":"1401256094","filename":"file4"},{"photo_id":"1401256091","filename":"file1"},{"photo_id":"1401256090","filename":"file0"},{"photo_id":"1401256093","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256093":["hashtag1","hashtag2"]},{"1401256090":["hashtag1","hashtag2"]},{"1401256092":["hashtag1","hashtag2"]},{"1401256095":["hashtag1","hashtag2"]},{"1401256091":["hashtag1","hashtag2"]},{"1401256094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256093, 1401256090, 1401256092, 1401256095, 1401256091, 1401256094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.658486366271973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:42:47.710524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_16_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_55_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_34_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_25_9605.jpg', '/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_15_10624.jpg', '/home/nano/Desktop/images/10122025/20/15/image_10122025_20_16_04_9612.jpg', '/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_55_9613.jpg', '/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_45_10631.jpg', '/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_34_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_25_9605.jpg
/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_15_10624.jpg
/home/nano/Desktop/images/10122025/20/15/image_10122025_20_16_04_9612.jpg
/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_55_9613.jpg
/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_45_10631.jpg
/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_34_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":["1401256115","1401256112","1401256111","1401256114","1401256110","1401256113"],"photo_ids_order":["1401256110","1401256111","1401256112","1401256113","1401256114","1401256115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e9b2ac33fbee539a20a11ead27fe772.jpg","text":"TemporaryFile(/tmp/multipartBody4311338312973956089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828628487,"filename":"image_10122025_20_15_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/12/27/c3d4728d3e282bff22c4a3e3060de155.jpg","text":"TemporaryFile(/tmp/multipartBody8524530309507547629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828628487,"filename":"image_10122025_20_16_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/12/27/77ec417fca946398d265191fb0739459.jpg","text":"TemporaryFile(/tmp/multipartBody825312933735523784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828628487,"filename":"image_10122025_20_16_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78159b71093bb4a2bbb39e9dc70bd924.jpg","text":"TemporaryFile(/tmp/multipartBody6553767047999005540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828628487,"filename":"image_10122025_20_15_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78bfa4e19bcae5f9ef077b3cb2edbaee.jpg","text":"TemporaryFile(/tmp/multipartBody9042338210357021374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828628487,"filename":"image_10122025_20_16_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45b59c47f1f416e7400085a37d8db57d.jpg","text":"TemporaryFile(/tmp/multipartBody3854924688198664055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828628487,"filename":"image_10122025_20_15_55_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256112","file1":"1401256111","file0":"1401256110","file4":"1401256114","file5":"1401256115","file3":"1401256113"},"map_files_photo_id_array":[{"photo_id":"1401256115","filename":"file5"},{"photo_id":"1401256112","filename":"file2"},{"photo_id":"1401256114","filename":"file4"},{"photo_id":"1401256111","filename":"file1"},{"photo_id":"1401256110","filename":"file0"},{"photo_id":"1401256113","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256115":["hashtag1","hashtag2"]},{"1401256112":["hashtag1","hashtag2"]},{"1401256111":["hashtag1","hashtag2"]},{"1401256114":["hashtag1","hashtag2"]},{"1401256110":["hashtag1","hashtag2"]},{"1401256113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256115, 1401256112, 1401256111, 1401256114, 1401256110, 1401256113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96463108062744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:43:31.815586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_15_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_35_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_25_10606.jpg', '/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_14_9615.jpg', '/home/nano/Desktop/images/10122025/20/14/image_10122025_20_15_05_9609.jpg', '/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_55_10632.jpg', '/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_44_9600.jpg', '/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_25_10606.jpg
/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_14_9615.jpg
/home/nano/Desktop/images/10122025/20/14/image_10122025_20_15_05_9609.jpg
/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_55_10632.jpg
/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_44_9600.jpg
/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_35_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":["1401256132","1401256129","1401256120","1401256134","1401256122","1401256125"],"photo_ids_order":["1401256120","1401256122","1401256125","1401256129","1401256132","1401256134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af695036c2012390b9c889849d714fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2424961066925913606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828672616,"filename":"image_10122025_20_14_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/12/27/b92dbf9a9b135934702b16e3211e38b4.jpg","text":"TemporaryFile(/tmp/multipartBody249052686185552769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828672616,"filename":"image_10122025_20_14_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb5d0d660c99da0d207a03c686e9837e.jpg","text":"TemporaryFile(/tmp/multipartBody785499576638025581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828672616,"filename":"image_10122025_20_15_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e49388ccf04f62e0520d234a316dc7a.jpg","text":"TemporaryFile(/tmp/multipartBody8773493574067557328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828672616,"filename":"image_10122025_20_14_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1faeb84334706be715c0f40d5d41ed1b.jpg","text":"TemporaryFile(/tmp/multipartBody411311579200480062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828672616,"filename":"image_10122025_20_15_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/12/27/dee202be30b104e036325eafb97abad7.jpg","text":"TemporaryFile(/tmp/multipartBody1560750873500484630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828672616,"filename":"image_10122025_20_15_05_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256125","file1":"1401256122","file0":"1401256120","file4":"1401256132","file5":"1401256134","file3":"1401256129"},"map_files_photo_id_array":[{"photo_id":"1401256134","filename":"file5"},{"photo_id":"1401256125","filename":"file2"},{"photo_id":"1401256132","filename":"file4"},{"photo_id":"1401256122","filename":"file1"},{"photo_id":"1401256120","filename":"file0"},{"photo_id":"1401256129","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256132":["hashtag1","hashtag2"]},{"1401256129":["hashtag1","hashtag2"]},{"1401256120":["hashtag1","hashtag2"]},{"1401256134":["hashtag1","hashtag2"]},{"1401256122":["hashtag1","hashtag2"]},{"1401256125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256132, 1401256129, 1401256120, 1401256134, 1401256122, 1401256125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.062944650650024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:44:16.907430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_14_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_45_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_35_10686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_24_9615.jpg', '/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_15_9618.jpg', '/home/nano/Desktop/images/10122025/20/13/image_10122025_20_14_05_10624.jpg', '/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_54_9614.jpg', '/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_45_9630.jpg', '/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_35_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_24_9615.jpg
/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_15_9618.jpg
/home/nano/Desktop/images/10122025/20/13/image_10122025_20_14_05_10624.jpg
/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_54_9614.jpg
/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_45_9630.jpg
/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_35_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":["1401256136","1401256150","1401256144","1401256147","1401256140","1401256137"],"photo_ids_order":["1401256136","1401256137","1401256140","1401256144","1401256147","1401256150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6305b22e7e4a26cc619371d705064b5b.jpg","text":"TemporaryFile(/tmp/multipartBody6555864012212849521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828717678,"filename":"image_10122025_20_14_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/12/27/cd3cde8f3864517fee31b90c1d122c69.jpg","text":"TemporaryFile(/tmp/multipartBody2819041301743314191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828717678,"filename":"image_10122025_20_13_35_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0bc961847cdea167af16ef59d03a3db6.jpg","text":"TemporaryFile(/tmp/multipartBody7015167207228396118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828717678,"filename":"image_10122025_20_13_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/12/27/7968f0599598be41b97e148a598d53ba.jpg","text":"TemporaryFile(/tmp/multipartBody3886131482870738148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828717678,"filename":"image_10122025_20_13_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ded3b55e954d525f9f41cea32e368bca.jpg","text":"TemporaryFile(/tmp/multipartBody8962800722851516842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828717678,"filename":"image_10122025_20_14_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/219c2e6139a7276f4c9b4ba9af589de1.jpg","text":"TemporaryFile(/tmp/multipartBody66736919401293889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828717678,"filename":"image_10122025_20_14_15_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256140","file1":"1401256137","file0":"1401256136","file4":"1401256147","file5":"1401256150","file3":"1401256144"},"map_files_photo_id_array":[{"photo_id":"1401256150","filename":"file5"},{"photo_id":"1401256140","filename":"file2"},{"photo_id":"1401256147","filename":"file4"},{"photo_id":"1401256137","filename":"file1"},{"photo_id":"1401256136","filename":"file0"},{"photo_id":"1401256144","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256136":["hashtag1","hashtag2"]},{"1401256150":["hashtag1","hashtag2"]},{"1401256144":["hashtag1","hashtag2"]},{"1401256147":["hashtag1","hashtag2"]},{"1401256140":["hashtag1","hashtag2"]},{"1401256137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256136, 1401256150, 1401256144, 1401256147, 1401256140, 1401256137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01251840591431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:45:02.765497
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_24_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_15_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_13_05_10693.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_45_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_35_10687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_24_9679.jpg', '/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_15_9696.jpg', '/home/nano/Desktop/images/10122025/20/12/image_10122025_20_13_05_10693.jpg', '/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_54_9620.jpg', '/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_45_9668.jpg', '/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_35_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_24_9679.jpg
/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_15_9696.jpg
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_13_05_10693.jpg
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_54_9620.jpg
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_45_9668.jpg
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_35_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401256157","1401256165","1401256159","1401256161","1401256155","1401256163"],"photo_ids_order":["1401256155","1401256157","1401256159","1401256161","1401256163","1401256165"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffc630b663f17559f58abd4a5904aad2.jpg","text":"TemporaryFile(/tmp/multipartBody4842850895091248066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828763631,"filename":"image_10122025_20_13_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97af78e3d0d7b90b0fb6853dbda92a89.jpg","text":"TemporaryFile(/tmp/multipartBody7245095163877011736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828763631,"filename":"image_10122025_20_12_35_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25361b8beffa7c31715c4b628c6d1b93.jpg","text":"TemporaryFile(/tmp/multipartBody3592553744572547953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828763631,"filename":"image_10122025_20_13_05_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b11d7f764249f97c90a7a572713c174d.jpg","text":"TemporaryFile(/tmp/multipartBody4434039127471242505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828763631,"filename":"image_10122025_20_12_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/12/27/9978812e980bf08487a3d151418276ae.jpg","text":"TemporaryFile(/tmp/multipartBody120520052127898445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828763631,"filename":"image_10122025_20_13_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/12/27/21820b042bebfb541e116fcc0ee186f6.jpg","text":"TemporaryFile(/tmp/multipartBody5264267759580859558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828763631,"filename":"image_10122025_20_12_45_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256159","file1":"1401256157","file0":"1401256155","file4":"1401256163","file5":"1401256165","file3":"1401256161"},"map_files_photo_id_array":[{"photo_id":"1401256165","filename":"file5"},{"photo_id":"1401256159","filename":"file2"},{"photo_id":"1401256163","filename":"file4"},{"photo_id":"1401256157","filename":"file1"},{"photo_id":"1401256155","filename":"file0"},{"photo_id":"1401256161","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256157":["hashtag1","hashtag2"]},{"1401256165":["hashtag1","hashtag2"]},{"1401256159":["hashtag1","hashtag2"]},{"1401256161":["hashtag1","hashtag2"]},{"1401256155":["hashtag1","hashtag2"]},{"1401256163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256157, 1401256165, 1401256159, 1401256161, 1401256155, 1401256163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35326027870178 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:45:47.003166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg', '/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6962370872497559 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:46:02.686770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg', '/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg
/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401256186","1401256189","1401256180","1401256182","1401256184","1401256178"],"photo_ids_order":["1401256178","1401256180","1401256182","1401256184","1401256186","1401256189"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ab3aa194540a1d29f4e3f9d7d7d26c2.jpg","text":"TemporaryFile(/tmp/multipartBody9098381401826829217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828823533,"filename":"image_10122025_20_11_45_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29ac87667f3d400b40cf96b1c4ddb793.jpg","text":"TemporaryFile(/tmp/multipartBody4886669025118869686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828823533,"filename":"image_10122025_20_11_35_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f51d92735e26ff163e8c6c156ebdcc9.jpg","text":"TemporaryFile(/tmp/multipartBody5572610551368190111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828823533,"filename":"image_10122025_20_12_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef33f01dafb45be1141bfcd6a5afae88.jpg","text":"TemporaryFile(/tmp/multipartBody4691230528655161510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828823533,"filename":"image_10122025_20_12_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c853d792b250e8e275eb7d4f414250ca.jpg","text":"TemporaryFile(/tmp/multipartBody667682052311334829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828823533,"filename":"image_10122025_20_11_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51c92ebf2b2fd6409a93f53ded93aef8.jpg","text":"TemporaryFile(/tmp/multipartBody2222910191868236408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828823533,"filename":"image_10122025_20_12_24_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256182","file1":"1401256180","file0":"1401256178","file4":"1401256186","file5":"1401256189","file3":"1401256184"},"map_files_photo_id_array":[{"photo_id":"1401256189","filename":"file5"},{"photo_id":"1401256182","filename":"file2"},{"photo_id":"1401256186","filename":"file4"},{"photo_id":"1401256180","filename":"file1"},{"photo_id":"1401256178","filename":"file0"},{"photo_id":"1401256184","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256186":["hashtag1","hashtag2"]},{"1401256189":["hashtag1","hashtag2"]},{"1401256180":["hashtag1","hashtag2"]},{"1401256182":["hashtag1","hashtag2"]},{"1401256184":["hashtag1","hashtag2"]},{"1401256178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256186, 1401256189, 1401256180, 1401256182, 1401256184, 1401256178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20673084259033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:46:47.091384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_24_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_11_05_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_55_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_44_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_35_9796.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_24_9717.jpg', '/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_14_9735.jpg', '/home/nano/Desktop/images/10122025/20/10/image_10122025_20_11_05_9705.jpg', '/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_55_10640.jpg', '/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_44_9735.jpg', '/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_35_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_24_9717.jpg
/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_14_9735.jpg
/home/nano/Desktop/images/10122025/20/10/image_10122025_20_11_05_9705.jpg
/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_55_10640.jpg
/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_44_9735.jpg
/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_35_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401256198","1401256197","1401256201","1401256203","1401256200","1401256199"],"photo_ids_order":["1401256197","1401256198","1401256199","1401256200","1401256201","1401256203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f90190b3d684d898cf260d05413d6f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2697589693903036976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828867905,"filename":"image_10122025_20_11_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/851bd277220428e89f44a223f8a5246a.jpg","text":"TemporaryFile(/tmp/multipartBody8368304353890714556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828867905,"filename":"image_10122025_20_11_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/031f5647e88ce86eb5ab72048d03224a.jpg","text":"TemporaryFile(/tmp/multipartBody6481132039557287885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828867905,"filename":"image_10122025_20_10_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/12/27/5f2c037ff8c171c2873db33fa1dd00fc.jpg","text":"TemporaryFile(/tmp/multipartBody2913602056122073100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828867905,"filename":"image_10122025_20_10_35_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33b6388772221b33cf85cb9ed66ced5b.jpg","text":"TemporaryFile(/tmp/multipartBody8393659365112925571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828867905,"filename":"image_10122025_20_10_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64260e45e4722bffdcd8254096ed520a.jpg","text":"TemporaryFile(/tmp/multipartBody2019856440272547142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828867905,"filename":"image_10122025_20_11_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256199","file1":"1401256198","file0":"1401256197","file4":"1401256201","file5":"1401256203","file3":"1401256200"},"map_files_photo_id_array":[{"photo_id":"1401256203","filename":"file5"},{"photo_id":"1401256199","filename":"file2"},{"photo_id":"1401256201","filename":"file4"},{"photo_id":"1401256198","filename":"file1"},{"photo_id":"1401256197","filename":"file0"},{"photo_id":"1401256200","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256198":["hashtag1","hashtag2"]},{"1401256197":["hashtag1","hashtag2"]},{"1401256201":["hashtag1","hashtag2"]},{"1401256203":["hashtag1","hashtag2"]},{"1401256200":["hashtag1","hashtag2"]},{"1401256199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256198, 1401256197, 1401256201, 1401256203, 1401256200, 1401256199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65545988082886 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:47:32.184833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_25_9755.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_15_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_10_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_55_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_34_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_25_9755.jpg', '/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_15_10692.jpg', '/home/nano/Desktop/images/10122025/20/09/image_10122025_20_10_04_9640.jpg', '/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_55_10647.jpg', '/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_44_9619.jpg', '/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_25_9755.jpg
/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_15_10692.jpg
/home/nano/Desktop/images/10122025/20/09/image_10122025_20_10_04_9640.jpg
/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_55_10647.jpg
/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_44_9619.jpg
/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_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":["1401256220","1401256214","1401256216","1401256221","1401256218","1401256212"],"photo_ids_order":["1401256212","1401256214","1401256216","1401256218","1401256220","1401256221"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/673b909e3fbce4e97733e43f48f64e46.jpg","text":"TemporaryFile(/tmp/multipartBody200495279978084091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828912995,"filename":"image_10122025_20_09_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/12/27/b43c70bd51c53eff019562d535c7e1af.jpg","text":"TemporaryFile(/tmp/multipartBody8011347524850083101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828912995,"filename":"image_10122025_20_10_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ec3ee2d48021ef5cea9c38ee3b33f25.jpg","text":"TemporaryFile(/tmp/multipartBody8080750578006184440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828912995,"filename":"image_10122025_20_10_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/12/27/89d10f3e39a690c1c932f6800d5045d1.jpg","text":"TemporaryFile(/tmp/multipartBody2299595540620983367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828912995,"filename":"image_10122025_20_09_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/12/27/1c47999f55ecf05912f84cf2f949acee.jpg","text":"TemporaryFile(/tmp/multipartBody6833467131951197750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828912995,"filename":"image_10122025_20_09_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08d06e7772cf007fd0ab77c6d4fdc9bd.jpg","text":"TemporaryFile(/tmp/multipartBody6736834630561958199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828912995,"filename":"image_10122025_20_10_25_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256216","file1":"1401256214","file0":"1401256212","file4":"1401256220","file5":"1401256221","file3":"1401256218"},"map_files_photo_id_array":[{"photo_id":"1401256221","filename":"file5"},{"photo_id":"1401256216","filename":"file2"},{"photo_id":"1401256220","filename":"file4"},{"photo_id":"1401256214","filename":"file1"},{"photo_id":"1401256212","filename":"file0"},{"photo_id":"1401256218","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256220":["hashtag1","hashtag2"]},{"1401256214":["hashtag1","hashtag2"]},{"1401256216":["hashtag1","hashtag2"]},{"1401256221":["hashtag1","hashtag2"]},{"1401256218":["hashtag1","hashtag2"]},{"1401256212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256220, 1401256214, 1401256216, 1401256221, 1401256218, 1401256212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96125364303589 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:48:17.292745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_09_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_55_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_35_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_25_10649.jpg', '/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_14_9618.jpg', '/home/nano/Desktop/images/10122025/20/08/image_10122025_20_09_05_9630.jpg', '/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_55_10622.jpg', '/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_44_9608.jpg', '/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_35_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_25_10649.jpg
/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_14_9618.jpg
/home/nano/Desktop/images/10122025/20/08/image_10122025_20_09_05_9630.jpg
/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_55_10622.jpg
/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_44_9608.jpg
/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_35_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":["1401256240","1401256237","1401256231","1401256234","1401256228","1401256226"],"photo_ids_order":["1401256226","1401256228","1401256231","1401256234","1401256237","1401256240"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b97c72dbaf22f47a0c6e6150ce06baf1.jpg","text":"TemporaryFile(/tmp/multipartBody506317197395779551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828958071,"filename":"image_10122025_20_08_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1463aae9e018a5155a51e1e12cf5ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7616677739465608873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828958071,"filename":"image_10122025_20_08_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/12/27/a3eab5a3eeae125ef7d457ea3a1c9bb4.jpg","text":"TemporaryFile(/tmp/multipartBody7717912416364841944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828958071,"filename":"image_10122025_20_09_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7607cf0441494e94ea3b87b218978a5.jpg","text":"TemporaryFile(/tmp/multipartBody4301610340846023251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828958071,"filename":"image_10122025_20_08_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61266db98907f0e9378320b89dc1b38d.jpg","text":"TemporaryFile(/tmp/multipartBody7238709068264330986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828958071,"filename":"image_10122025_20_09_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/12/27/bc80a95ad4b1ae510ba1e086ffb83e56.jpg","text":"TemporaryFile(/tmp/multipartBody1858414292823894426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766828958071,"filename":"image_10122025_20_09_25_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256231","file1":"1401256228","file0":"1401256226","file4":"1401256237","file5":"1401256240","file3":"1401256234"},"map_files_photo_id_array":[{"photo_id":"1401256240","filename":"file5"},{"photo_id":"1401256231","filename":"file2"},{"photo_id":"1401256237","filename":"file4"},{"photo_id":"1401256228","filename":"file1"},{"photo_id":"1401256226","filename":"file0"},{"photo_id":"1401256234","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256240":["hashtag1","hashtag2"]},{"1401256237":["hashtag1","hashtag2"]},{"1401256231":["hashtag1","hashtag2"]},{"1401256234":["hashtag1","hashtag2"]},{"1401256228":["hashtag1","hashtag2"]},{"1401256226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256240, 1401256237, 1401256231, 1401256234, 1401256228, 1401256226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.943315744400024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:49:03.553614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_14_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_08_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_45_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_35_10591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_24_9621.jpg', '/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_14_9645.jpg', '/home/nano/Desktop/images/10122025/20/07/image_10122025_20_08_05_10638.jpg', '/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_54_9620.jpg', '/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_45_9678.jpg', '/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_35_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_24_9621.jpg
/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_14_9645.jpg
/home/nano/Desktop/images/10122025/20/07/image_10122025_20_08_05_10638.jpg
/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_54_9620.jpg
/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_45_9678.jpg
/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_35_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401256249","1401256246","1401256251","1401256256","1401256253","1401256247"],"photo_ids_order":["1401256246","1401256247","1401256249","1401256251","1401256253","1401256256"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d35b6cf0d80768ea6213b723f5611f6.jpg","text":"TemporaryFile(/tmp/multipartBody8584865451873283388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829004398,"filename":"image_10122025_20_08_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0cdd47a09b03271bceb7a69025a6bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody8459372281870409435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829004398,"filename":"image_10122025_20_08_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/12/27/ab9ec2225c16b2a4c48cf580fb97bcd4.jpg","text":"TemporaryFile(/tmp/multipartBody1809412569327678252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829004398,"filename":"image_10122025_20_07_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/12/27/731032d483c87f7cd33817ff0e97e839.jpg","text":"TemporaryFile(/tmp/multipartBody3497781894271745291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829004398,"filename":"image_10122025_20_07_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88451fb939f7c7e364c1b35817eeb7ba.jpg","text":"TemporaryFile(/tmp/multipartBody1318637612560354867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829004398,"filename":"image_10122025_20_07_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ebd8212139a937666f15bbc5953591f.jpg","text":"TemporaryFile(/tmp/multipartBody1979475134140216504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829004398,"filename":"image_10122025_20_08_14_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256249","file1":"1401256247","file0":"1401256246","file4":"1401256253","file5":"1401256256","file3":"1401256251"},"map_files_photo_id_array":[{"photo_id":"1401256256","filename":"file5"},{"photo_id":"1401256249","filename":"file2"},{"photo_id":"1401256253","filename":"file4"},{"photo_id":"1401256247","filename":"file1"},{"photo_id":"1401256246","filename":"file0"},{"photo_id":"1401256251","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256249":["hashtag1","hashtag2"]},{"1401256246":["hashtag1","hashtag2"]},{"1401256251":["hashtag1","hashtag2"]},{"1401256256":["hashtag1","hashtag2"]},{"1401256253":["hashtag1","hashtag2"]},{"1401256247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256249, 1401256246, 1401256251, 1401256256, 1401256253, 1401256247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.625283241271973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:49:47.424866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_24_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_15_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_07_05_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_34_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_24_9578.jpg', '/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_15_9717.jpg', '/home/nano/Desktop/images/10122025/20/06/image_10122025_20_07_05_10664.jpg', '/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_54_9610.jpg', '/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_45_10617.jpg', '/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_34_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_24_9578.jpg
/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_15_9717.jpg
/home/nano/Desktop/images/10122025/20/06/image_10122025_20_07_05_10664.jpg
/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_54_9610.jpg
/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_45_10617.jpg
/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_34_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":["1401256267","1401256264","1401256266","1401256269","1401256271","1401256265"],"photo_ids_order":["1401256264","1401256265","1401256266","1401256267","1401256269","1401256271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd51bbb71f03d4b2884caf730607ef63.jpg","text":"TemporaryFile(/tmp/multipartBody447437977556914218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829048213,"filename":"image_10122025_20_06_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/12/27/6e0a7ea1ee496d472e46703f3fff093c.jpg","text":"TemporaryFile(/tmp/multipartBody5826151138669397977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829048213,"filename":"image_10122025_20_07_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2aedeb3d176f66a5e939b052e70f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody8041339945701768373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829048213,"filename":"image_10122025_20_07_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/133dc4658c9e2a5d7b7a63524516af61.jpg","text":"TemporaryFile(/tmp/multipartBody7247932201260254970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829048213,"filename":"image_10122025_20_06_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea50ce68b4494d9a2aaa8d27e2c46e25.jpg","text":"TemporaryFile(/tmp/multipartBody6937511060940623086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829048213,"filename":"image_10122025_20_06_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/12/27/5cc17b9816e6ef65d167e605b9571d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7215779060431046022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829048213,"filename":"image_10122025_20_07_15_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256266","file1":"1401256265","file0":"1401256264","file4":"1401256269","file5":"1401256271","file3":"1401256267"},"map_files_photo_id_array":[{"photo_id":"1401256271","filename":"file5"},{"photo_id":"1401256266","filename":"file2"},{"photo_id":"1401256269","filename":"file4"},{"photo_id":"1401256265","filename":"file1"},{"photo_id":"1401256264","filename":"file0"},{"photo_id":"1401256267","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256267":["hashtag1","hashtag2"]},{"1401256264":["hashtag1","hashtag2"]},{"1401256266":["hashtag1","hashtag2"]},{"1401256269":["hashtag1","hashtag2"]},{"1401256271":["hashtag1","hashtag2"]},{"1401256265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256267, 1401256264, 1401256266, 1401256269, 1401256271, 1401256265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02059459686279 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:50:32.509074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_55_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_34_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_25_9603.jpg', '/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_15_10651.jpg', '/home/nano/Desktop/images/10122025/20/05/image_10122025_20_06_04_9608.jpg', '/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_55_9614.jpg', '/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_45_10610.jpg', '/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_25_9603.jpg
/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_15_10651.jpg
/home/nano/Desktop/images/10122025/20/05/image_10122025_20_06_04_9608.jpg
/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_55_9614.jpg
/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_45_10610.jpg
/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_34_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":["1401256285","1401256282","1401256279","1401256287","1401256281","1401256289"],"photo_ids_order":["1401256279","1401256281","1401256282","1401256285","1401256287","1401256289"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1aa53adc8e35d221dafeb2fecb8fb59e.jpg","text":"TemporaryFile(/tmp/multipartBody6767792827048144941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829093282,"filename":"image_10122025_20_05_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5219b0f942842b18979a3406d3670e74.jpg","text":"TemporaryFile(/tmp/multipartBody4508689949886453024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829093282,"filename":"image_10122025_20_06_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/12/27/a59504b0a48bfb34a56d76fcb6d0e6bb.jpg","text":"TemporaryFile(/tmp/multipartBody6071843768657895698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829093282,"filename":"image_10122025_20_06_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/643a812d449527ec9cc8909c7a8f9c35.jpg","text":"TemporaryFile(/tmp/multipartBody5567855922286481059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829093282,"filename":"image_10122025_20_05_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b692e4673dd56bc5a9a2d5edc37fa42.jpg","text":"TemporaryFile(/tmp/multipartBody3796080547836145742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829093282,"filename":"image_10122025_20_06_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b307e08deade82c1c86d51947b8fe2c.jpg","text":"TemporaryFile(/tmp/multipartBody5682884780855524071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829093282,"filename":"image_10122025_20_05_34_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256282","file1":"1401256281","file0":"1401256279","file4":"1401256287","file5":"1401256289","file3":"1401256285"},"map_files_photo_id_array":[{"photo_id":"1401256289","filename":"file5"},{"photo_id":"1401256282","filename":"file2"},{"photo_id":"1401256287","filename":"file4"},{"photo_id":"1401256281","filename":"file1"},{"photo_id":"1401256279","filename":"file0"},{"photo_id":"1401256285","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256285":["hashtag1","hashtag2"]},{"1401256282":["hashtag1","hashtag2"]},{"1401256279":["hashtag1","hashtag2"]},{"1401256287":["hashtag1","hashtag2"]},{"1401256281":["hashtag1","hashtag2"]},{"1401256289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256285, 1401256282, 1401256279, 1401256287, 1401256281, 1401256289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12758469581604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:51:17.594866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_05_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_35_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_25_10607.jpg', '/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_14_9623.jpg', '/home/nano/Desktop/images/10122025/20/04/image_10122025_20_05_05_9614.jpg', '/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_55_10614.jpg', '/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_44_9606.jpg', '/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_35_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_25_10607.jpg
/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_14_9623.jpg
/home/nano/Desktop/images/10122025/20/04/image_10122025_20_05_05_9614.jpg
/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_55_10614.jpg
/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_44_9606.jpg
/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_35_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":["1401256304","1401256294","1401256296","1401256300","1401256302","1401256298"],"photo_ids_order":["1401256294","1401256296","1401256298","1401256300","1401256302","1401256304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/983202c958ee564dcf60e2944d60a3be.jpg","text":"TemporaryFile(/tmp/multipartBody4137408400998242988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829138364,"filename":"image_10122025_20_04_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25c9609ae01141345ee4bf717300e9ef.jpg","text":"TemporaryFile(/tmp/multipartBody128142395799172132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829138364,"filename":"image_10122025_20_05_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6d4d665802a902013db067a41282fa5.jpg","text":"TemporaryFile(/tmp/multipartBody22030285756524872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829138364,"filename":"image_10122025_20_05_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/12/27/33bd808ae0d89452b8ba0bc54dfaa071.jpg","text":"TemporaryFile(/tmp/multipartBody1294408623788277766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829138364,"filename":"image_10122025_20_04_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab515946d9b3f9bca1182e28caa89ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3868961801702534431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829138364,"filename":"image_10122025_20_04_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/12/27/ccf267f1a998a22ed3d7249d4a4083d5.jpg","text":"TemporaryFile(/tmp/multipartBody5251285028107520777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829138364,"filename":"image_10122025_20_05_05_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256298","file1":"1401256296","file0":"1401256294","file4":"1401256302","file5":"1401256304","file3":"1401256300"},"map_files_photo_id_array":[{"photo_id":"1401256304","filename":"file5"},{"photo_id":"1401256298","filename":"file2"},{"photo_id":"1401256302","filename":"file4"},{"photo_id":"1401256296","filename":"file1"},{"photo_id":"1401256294","filename":"file0"},{"photo_id":"1401256300","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256304":["hashtag1","hashtag2"]},{"1401256294":["hashtag1","hashtag2"]},{"1401256296":["hashtag1","hashtag2"]},{"1401256300":["hashtag1","hashtag2"]},{"1401256302":["hashtag1","hashtag2"]},{"1401256298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256304, 1401256294, 1401256296, 1401256300, 1401256302, 1401256298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.269429206848145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:52:03.199531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_15_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_04_05_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_35_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_24_9611.jpg', '/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_15_9625.jpg', '/home/nano/Desktop/images/10122025/20/03/image_10122025_20_04_05_10668.jpg', '/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_54_9606.jpg', '/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_45_9622.jpg', '/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_35_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_24_9611.jpg
/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_15_9625.jpg
/home/nano/Desktop/images/10122025/20/03/image_10122025_20_04_05_10668.jpg
/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_54_9606.jpg
/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_45_9622.jpg
/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_35_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":["1401256307","1401256316","1401256310","1401256312","1401256314","1401256308"],"photo_ids_order":["1401256307","1401256308","1401256310","1401256312","1401256314","1401256316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6d9e71f61cc23dc7dd916ccb4694702.jpg","text":"TemporaryFile(/tmp/multipartBody6790849791060083546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829184040,"filename":"image_10122025_20_04_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/12/27/4fe29ff6a6c2b68d62ebbd327b2d3609.jpg","text":"TemporaryFile(/tmp/multipartBody4516343485164730057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829184040,"filename":"image_10122025_20_03_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02675457c43ac31881cc13787f4e33fe.jpg","text":"TemporaryFile(/tmp/multipartBody691998370583822354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829184040,"filename":"image_10122025_20_04_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d104fed4e8b5762b7e94edcc9d61097.jpg","text":"TemporaryFile(/tmp/multipartBody8810138449250526893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829184040,"filename":"image_10122025_20_03_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/12/27/83e6b5e159635c089dc73b51c9eca3a9.jpg","text":"TemporaryFile(/tmp/multipartBody2876642827602636475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829184040,"filename":"image_10122025_20_03_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a939a8ec669040b494468d3d2ee435b.jpg","text":"TemporaryFile(/tmp/multipartBody7401768349300635126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829184040,"filename":"image_10122025_20_04_15_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256310","file1":"1401256308","file0":"1401256307","file4":"1401256314","file5":"1401256316","file3":"1401256312"},"map_files_photo_id_array":[{"photo_id":"1401256316","filename":"file5"},{"photo_id":"1401256310","filename":"file2"},{"photo_id":"1401256314","filename":"file4"},{"photo_id":"1401256308","filename":"file1"},{"photo_id":"1401256307","filename":"file0"},{"photo_id":"1401256312","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256307":["hashtag1","hashtag2"]},{"1401256316":["hashtag1","hashtag2"]},{"1401256310":["hashtag1","hashtag2"]},{"1401256312":["hashtag1","hashtag2"]},{"1401256314":["hashtag1","hashtag2"]},{"1401256308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256307, 1401256316, 1401256310, 1401256312, 1401256314, 1401256308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.328831911087036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:52:47.701911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_15_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_34_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_24_9598.jpg', '/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_15_10622.jpg', '/home/nano/Desktop/images/10122025/20/02/image_10122025_20_03_04_9606.jpg', '/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_55_9605.jpg', '/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_45_10620.jpg', '/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_34_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_24_9598.jpg
/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_15_10622.jpg
/home/nano/Desktop/images/10122025/20/02/image_10122025_20_03_04_9606.jpg
/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_55_9605.jpg
/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_45_10620.jpg
/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_34_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":["1401256328","1401256330","1401256333","1401256327","1401256329","1401256331"],"photo_ids_order":["1401256327","1401256328","1401256329","1401256330","1401256331","1401256333"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/331503450618d8273bfaab25375e326b.jpg","text":"TemporaryFile(/tmp/multipartBody2250055932943605392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829228489,"filename":"image_10122025_20_03_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/229c5c2ef25bdcd7a1d0ba97170fbc51.jpg","text":"TemporaryFile(/tmp/multipartBody7957470122866957445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829228489,"filename":"image_10122025_20_02_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2081696c2072b0ee8c893d790fdc91b7.jpg","text":"TemporaryFile(/tmp/multipartBody219331978896604240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829228489,"filename":"image_10122025_20_02_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/12/27/4ddbf3476a86dd0be89e716462b8e3b5.jpg","text":"TemporaryFile(/tmp/multipartBody8627934931799759237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829228489,"filename":"image_10122025_20_03_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/12/27/4c93d11b96b0aa914814c0d02b9cb591.jpg","text":"TemporaryFile(/tmp/multipartBody1611719058182751240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829228489,"filename":"image_10122025_20_03_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/12/27/578742e8097ba95751cc971ad6f188fa.jpg","text":"TemporaryFile(/tmp/multipartBody67706628426603617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829228489,"filename":"image_10122025_20_02_45_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256329","file1":"1401256328","file0":"1401256327","file4":"1401256331","file5":"1401256333","file3":"1401256330"},"map_files_photo_id_array":[{"photo_id":"1401256333","filename":"file5"},{"photo_id":"1401256329","filename":"file2"},{"photo_id":"1401256331","filename":"file4"},{"photo_id":"1401256328","filename":"file1"},{"photo_id":"1401256327","filename":"file0"},{"photo_id":"1401256330","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256328":["hashtag1","hashtag2"]},{"1401256330":["hashtag1","hashtag2"]},{"1401256333":["hashtag1","hashtag2"]},{"1401256327":["hashtag1","hashtag2"]},{"1401256329":["hashtag1","hashtag2"]},{"1401256331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256328, 1401256330, 1401256333, 1401256327, 1401256329, 1401256331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08518362045288 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:53:31.809452
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_02_05_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_55_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_44_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_34_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_25_10615.jpg', '/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_14_9635.jpg', '/home/nano/Desktop/images/10122025/20/01/image_10122025_20_02_05_9763.jpg', '/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_55_10657.jpg', '/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_44_9649.jpg', '/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_34_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_25_10615.jpg
/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_14_9635.jpg
/home/nano/Desktop/images/10122025/20/01/image_10122025_20_02_05_9763.jpg
/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_55_10657.jpg
/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_44_9649.jpg
/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_34_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":["1401256348","1401256342","1401256351","1401256345","1401256350","1401256343"],"photo_ids_order":["1401256342","1401256343","1401256345","1401256348","1401256350","1401256351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6896aba87d20a21426b934907d2ec31f.jpg","text":"TemporaryFile(/tmp/multipartBody3544929364788985333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829272591,"filename":"image_10122025_20_01_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f3b201cd18e289297cb26ecb3889877.jpg","text":"TemporaryFile(/tmp/multipartBody2736469131297947650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829272591,"filename":"image_10122025_20_02_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15f169faca2989783c4b8ab7078a8e74.jpg","text":"TemporaryFile(/tmp/multipartBody5342458868889916277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829272591,"filename":"image_10122025_20_01_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/12/27/b6a9fba67edac7743a57b8b1fd1138e0.jpg","text":"TemporaryFile(/tmp/multipartBody1553226558872611343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829272591,"filename":"image_10122025_20_02_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23b8881ffe600e6c1fa63d4366a34693.jpg","text":"TemporaryFile(/tmp/multipartBody6900536582871065219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829272591,"filename":"image_10122025_20_01_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/12/27/2c31f9db030005bc65f69d09c3a2685d.jpg","text":"TemporaryFile(/tmp/multipartBody2635719046222090558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829272591,"filename":"image_10122025_20_02_14_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256345","file1":"1401256343","file0":"1401256342","file4":"1401256350","file5":"1401256351","file3":"1401256348"},"map_files_photo_id_array":[{"photo_id":"1401256351","filename":"file5"},{"photo_id":"1401256345","filename":"file2"},{"photo_id":"1401256350","filename":"file4"},{"photo_id":"1401256343","filename":"file1"},{"photo_id":"1401256342","filename":"file0"},{"photo_id":"1401256348","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256348":["hashtag1","hashtag2"]},{"1401256342":["hashtag1","hashtag2"]},{"1401256351":["hashtag1","hashtag2"]},{"1401256345":["hashtag1","hashtag2"]},{"1401256350":["hashtag1","hashtag2"]},{"1401256343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256348, 1401256342, 1401256351, 1401256345, 1401256350, 1401256343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.433481216430664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:54:16.984674
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_01_05_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_55_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_35_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_25_10614.jpg', '/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_14_9642.jpg', '/home/nano/Desktop/images/10122025/20/00/image_10122025_20_01_05_9650.jpg', '/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_55_10653.jpg', '/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_44_9610.jpg', '/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_35_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_25_10614.jpg
/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_14_9642.jpg
/home/nano/Desktop/images/10122025/20/00/image_10122025_20_01_05_9650.jpg
/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_55_10653.jpg
/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_44_9610.jpg
/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_35_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":["1401256360","1401256363","1401256365","1401256362","1401256356","1401256358"],"photo_ids_order":["1401256356","1401256358","1401256360","1401256362","1401256363","1401256365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5370616dabe05e6b6cf73eab0d4e5b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6039775116217781206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829317793,"filename":"image_10122025_20_01_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e76715da7401259f306dcb7f42a40ed.jpg","text":"TemporaryFile(/tmp/multipartBody8687390563300858871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829317793,"filename":"image_10122025_20_00_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/12/27/8a439cc597b905ce71f0de005df015bf.jpg","text":"TemporaryFile(/tmp/multipartBody7688407789193981334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829317793,"filename":"image_10122025_20_00_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3348c53fc1a0656a6c463019337d920.jpg","text":"TemporaryFile(/tmp/multipartBody1451405834463398553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829317793,"filename":"image_10122025_20_00_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af932e5f656933733010d03731300ba1.jpg","text":"TemporaryFile(/tmp/multipartBody1839331446491007650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829317793,"filename":"image_10122025_20_01_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a6c4fe553bf823996a5521cca1bc2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5050907008444703198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829317793,"filename":"image_10122025_20_01_14_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256360","file1":"1401256358","file0":"1401256356","file4":"1401256363","file5":"1401256365","file3":"1401256362"},"map_files_photo_id_array":[{"photo_id":"1401256365","filename":"file5"},{"photo_id":"1401256360","filename":"file2"},{"photo_id":"1401256363","filename":"file4"},{"photo_id":"1401256358","filename":"file1"},{"photo_id":"1401256356","filename":"file0"},{"photo_id":"1401256362","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256360":["hashtag1","hashtag2"]},{"1401256363":["hashtag1","hashtag2"]},{"1401256365":["hashtag1","hashtag2"]},{"1401256362":["hashtag1","hashtag2"]},{"1401256356":["hashtag1","hashtag2"]},{"1401256358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256360, 1401256363, 1401256365, 1401256362, 1401256356, 1401256358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.153061389923096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:55:02.832641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_20_00_05_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_55_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_25_10648.jpg', '/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_14_9604.jpg', '/home/nano/Desktop/images/10122025/19/59/image_10122025_20_00_05_9659.jpg', '/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_55_10651.jpg', '/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_44_9617.jpg', '/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_35_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_25_10648.jpg
/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_14_9604.jpg
/home/nano/Desktop/images/10122025/19/59/image_10122025_20_00_05_9659.jpg
/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_55_10651.jpg
/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_44_9617.jpg
/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_35_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":["1401256381","1401256383","1401256377","1401256388","1401256385","1401256379"],"photo_ids_order":["1401256377","1401256379","1401256381","1401256383","1401256385","1401256388"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20d136e69fb28dd2aa4c4df0e0ffda11.jpg","text":"TemporaryFile(/tmp/multipartBody3650896106408237599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829363704,"filename":"image_10122025_20_00_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/541d976e08ecaea9491d1c94686af6e8.jpg","text":"TemporaryFile(/tmp/multipartBody4107238215026180371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829363704,"filename":"image_10122025_19_59_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a63c2019e5a4aba449913f2b91ed8fb.jpg","text":"TemporaryFile(/tmp/multipartBody8000071745811390581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829363704,"filename":"image_10122025_20_00_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24bce61c907aae755e9f7b0edb30e9bf.jpg","text":"TemporaryFile(/tmp/multipartBody3822322146333056244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829363704,"filename":"image_10122025_19_59_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b713577b6728c3e6831285fb7934fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3049004272777078531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829363704,"filename":"image_10122025_19_59_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/12/27/b00936d06190487e20fc1b3109544d02.jpg","text":"TemporaryFile(/tmp/multipartBody4767442823959846147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829363704,"filename":"image_10122025_20_00_14_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256381","file1":"1401256379","file0":"1401256377","file4":"1401256385","file5":"1401256388","file3":"1401256383"},"map_files_photo_id_array":[{"photo_id":"1401256388","filename":"file5"},{"photo_id":"1401256381","filename":"file2"},{"photo_id":"1401256385","filename":"file4"},{"photo_id":"1401256379","filename":"file1"},{"photo_id":"1401256377","filename":"file0"},{"photo_id":"1401256383","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256381":["hashtag1","hashtag2"]},{"1401256383":["hashtag1","hashtag2"]},{"1401256377":["hashtag1","hashtag2"]},{"1401256388":["hashtag1","hashtag2"]},{"1401256385":["hashtag1","hashtag2"]},{"1401256379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256381, 1401256383, 1401256377, 1401256388, 1401256385, 1401256379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5946307182312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:55:47.038437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_59_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_54_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_45_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_35_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_24_9607.jpg', '/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_15_9626.jpg', '/home/nano/Desktop/images/10122025/19/58/image_10122025_19_59_05_10652.jpg', '/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_54_9662.jpg', '/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_45_9651.jpg', '/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_35_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_24_9607.jpg
/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_15_9626.jpg
/home/nano/Desktop/images/10122025/19/58/image_10122025_19_59_05_10652.jpg
/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_54_9662.jpg
/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_45_9651.jpg
/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_35_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":["1401256400","1401256396","1401256402","1401256395","1401256398","1401256397"],"photo_ids_order":["1401256395","1401256396","1401256397","1401256398","1401256400","1401256402"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd4936f71970dbc13b86ac0945b5bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody3262865498729127705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829407819,"filename":"image_10122025_19_58_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbce00604e4eb351a5c8d29a82a04cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3958722638444863544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829407819,"filename":"image_10122025_19_59_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03d7fc727dbb1199d89026168a8aebfe.jpg","text":"TemporaryFile(/tmp/multipartBody6045014972407945455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829407819,"filename":"image_10122025_19_58_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b7a10cb6b2d989eac198c61242b97d8.jpg","text":"TemporaryFile(/tmp/multipartBody6336444031166909409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829407819,"filename":"image_10122025_19_59_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/12/27/0022018b2d8d1ae5ddec91637418ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody7019571429736586806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829407819,"filename":"image_10122025_19_58_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2bf696aa70ace4ecab453df3fa6ecb6.jpg","text":"TemporaryFile(/tmp/multipartBody8649416171494645370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829407819,"filename":"image_10122025_19_59_05_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256397","file1":"1401256396","file0":"1401256395","file4":"1401256400","file5":"1401256402","file3":"1401256398"},"map_files_photo_id_array":[{"photo_id":"1401256402","filename":"file5"},{"photo_id":"1401256397","filename":"file2"},{"photo_id":"1401256400","filename":"file4"},{"photo_id":"1401256396","filename":"file1"},{"photo_id":"1401256395","filename":"file0"},{"photo_id":"1401256398","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256400":["hashtag1","hashtag2"]},{"1401256396":["hashtag1","hashtag2"]},{"1401256402":["hashtag1","hashtag2"]},{"1401256395":["hashtag1","hashtag2"]},{"1401256398":["hashtag1","hashtag2"]},{"1401256397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256400, 1401256396, 1401256402, 1401256395, 1401256398, 1401256397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14655160903931 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:56:32.163511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_58_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_54_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_34_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_24_9613.jpg', '/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_15_9626.jpg', '/home/nano/Desktop/images/10122025/19/57/image_10122025_19_58_05_10629.jpg', '/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_54_9625.jpg', '/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_45_10660.jpg', '/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_24_9613.jpg
/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_15_9626.jpg
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_58_05_10629.jpg
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_54_9625.jpg
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_45_10660.jpg
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_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":["1401256412","1401256421","1401256423","1401256414","1401256410","1401256424"],"photo_ids_order":["1401256410","1401256412","1401256414","1401256421","1401256423","1401256424"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94908956734344c2ff7c2f4f3088878e.jpg","text":"TemporaryFile(/tmp/multipartBody6895876348870964029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829452957,"filename":"image_10122025_19_58_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c41eb5481934bbb8e49f625750b7235f.jpg","text":"TemporaryFile(/tmp/multipartBody8759820418153412702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829452957,"filename":"image_10122025_19_57_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/12/27/c99569a6c5effa957412df536fff1340.jpg","text":"TemporaryFile(/tmp/multipartBody230922432772869940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829452957,"filename":"image_10122025_19_57_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a1024d4c41e931449e6d7c809915e80.jpg","text":"TemporaryFile(/tmp/multipartBody2582662666259585579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829452957,"filename":"image_10122025_19_58_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7781741c72764b9bd45eef84f5e0cddd.jpg","text":"TemporaryFile(/tmp/multipartBody40357972138771837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829452957,"filename":"image_10122025_19_58_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/12/27/323af1490fc8c404bb2aabd3da4884bb.jpg","text":"TemporaryFile(/tmp/multipartBody4984382267215247130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829452957,"filename":"image_10122025_19_57_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256414","file1":"1401256412","file0":"1401256410","file4":"1401256423","file5":"1401256424","file3":"1401256421"},"map_files_photo_id_array":[{"photo_id":"1401256424","filename":"file5"},{"photo_id":"1401256414","filename":"file2"},{"photo_id":"1401256423","filename":"file4"},{"photo_id":"1401256412","filename":"file1"},{"photo_id":"1401256410","filename":"file0"},{"photo_id":"1401256421","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256412":["hashtag1","hashtag2"]},{"1401256421":["hashtag1","hashtag2"]},{"1401256423":["hashtag1","hashtag2"]},{"1401256414":["hashtag1","hashtag2"]},{"1401256410":["hashtag1","hashtag2"]},{"1401256424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256412, 1401256421, 1401256423, 1401256414, 1401256410, 1401256424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29289221763611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:57:17.229308
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/10/56/image_27122025_10_57_05_10544.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/10/56/image_27122025_10_57_05_10544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/10/56/image_27122025_10_57_05_10544.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401256429"],"photo_id":"1401256429","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e23f8d7dc0573ad33f475ff5616fc914.jpg","text":"TemporaryFile(/tmp/multipartBody1735806311375913612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829497477,"filename":"image_27122025_10_57_05_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401256429"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401256429"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.964354753494263 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:57:32.227603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg', '/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_9597.jpg
 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:59:03.303408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg', '/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg
/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_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":["1401256448","1401256453","1401256450","1401256460","1401256463","1401256457"],"photo_ids_order":["1401256448","1401256450","1401256453","1401256457","1401256460","1401256463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8581737a47b1b56134d0a62936e1f1a3.jpg","text":"TemporaryFile(/tmp/multipartBody6572538388402564153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829604113,"filename":"image_10122025_19_57_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/12/27/c0ea73ce00b07078d3e4da72ca8f3b45.jpg","text":"TemporaryFile(/tmp/multipartBody3309428077666529040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829604113,"filename":"image_10122025_19_57_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/12/27/2ff7840877b0f456b77c1b34ea83b9cc.jpg","text":"TemporaryFile(/tmp/multipartBody1776392112875390355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829604113,"filename":"image_10122025_19_57_15_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fd407ffb9330493e18200c318e6d0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5091298010459847966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829604113,"filename":"image_10122025_19_56_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1bbad2158b90c3b8b53dfd859c10e700.jpg","text":"TemporaryFile(/tmp/multipartBody8707735004613651184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829604113,"filename":"image_10122025_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/12/27/a0deceb6fee17edb2f1f946f4939e288.jpg","text":"TemporaryFile(/tmp/multipartBody9145119350028467620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829604113,"filename":"image_10122025_19_56_55_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256453","file1":"1401256450","file0":"1401256448","file4":"1401256460","file5":"1401256463","file3":"1401256457"},"map_files_photo_id_array":[{"photo_id":"1401256463","filename":"file5"},{"photo_id":"1401256453","filename":"file2"},{"photo_id":"1401256460","filename":"file4"},{"photo_id":"1401256450","filename":"file1"},{"photo_id":"1401256448","filename":"file0"},{"photo_id":"1401256457","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256448":["hashtag1","hashtag2"]},{"1401256453":["hashtag1","hashtag2"]},{"1401256450":["hashtag1","hashtag2"]},{"1401256460":["hashtag1","hashtag2"]},{"1401256463":["hashtag1","hashtag2"]},{"1401256457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256448, 1401256453, 1401256450, 1401256460, 1401256463, 1401256457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45088839530945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 10:59:47.274989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_56_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_25_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_25_10601.jpg', '/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_14_9609.jpg', '/home/nano/Desktop/images/10122025/19/55/image_10122025_19_56_05_9613.jpg', '/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_55_10610.jpg', '/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_44_9601.jpg', '/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_25_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_25_10601.jpg
/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_14_9609.jpg
/home/nano/Desktop/images/10122025/19/55/image_10122025_19_56_05_9613.jpg
/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_55_10610.jpg
/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_44_9601.jpg
/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_25_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":["1401256471","1401256477","1401256479","1401256473","1401256475","1401256469"],"photo_ids_order":["1401256469","1401256471","1401256473","1401256475","1401256477","1401256479"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ddbea3e377ab3c3e59722b4d8d0d591.jpg","text":"TemporaryFile(/tmp/multipartBody7620658698926477071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829648046,"filename":"image_10122025_19_56_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/12/27/70b0a052d0d2954aaa355199379d7d29.jpg","text":"TemporaryFile(/tmp/multipartBody3453814111816117462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829648046,"filename":"image_10122025_19_55_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/12/27/530cb4b0876e50c36c4f7fba4f29b066.jpg","text":"TemporaryFile(/tmp/multipartBody4312712922466438633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829648046,"filename":"image_10122025_19_55_25_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ede2acfc05db95c5f43740f9fd119f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7278823903846856735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829648046,"filename":"image_10122025_19_56_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a46a84b9cb77faf3d0c0f45ed6f30a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8445022355184465560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829648046,"filename":"image_10122025_19_55_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e65be1627da0bc806fed4c0504efa71.jpg","text":"TemporaryFile(/tmp/multipartBody260268243644181714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829648046,"filename":"image_10122025_19_56_25_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256473","file1":"1401256471","file0":"1401256469","file4":"1401256477","file5":"1401256479","file3":"1401256475"},"map_files_photo_id_array":[{"photo_id":"1401256479","filename":"file5"},{"photo_id":"1401256473","filename":"file2"},{"photo_id":"1401256477","filename":"file4"},{"photo_id":"1401256471","filename":"file1"},{"photo_id":"1401256469","filename":"file0"},{"photo_id":"1401256475","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256471":["hashtag1","hashtag2"]},{"1401256477":["hashtag1","hashtag2"]},{"1401256479":["hashtag1","hashtag2"]},{"1401256473":["hashtag1","hashtag2"]},{"1401256475":["hashtag1","hashtag2"]},{"1401256469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256471, 1401256477, 1401256479, 1401256473, 1401256475, 1401256469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.447524309158325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:00:32.378999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_55_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_24_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_14_9636.jpg', '/home/nano/Desktop/images/10122025/19/54/image_10122025_19_55_05_10613.jpg', '/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_54_9595.jpg', '/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_45_9603.jpg', '/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_35_10610.jpg', '/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_24_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_14_9636.jpg
/home/nano/Desktop/images/10122025/19/54/image_10122025_19_55_05_10613.jpg
/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_54_9595.jpg
/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_45_9603.jpg
/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_35_10610.jpg
/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_24_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":["1401256495","1401256489","1401256488","1401256491","1401256493","1401256496"],"photo_ids_order":["1401256488","1401256489","1401256491","1401256493","1401256495","1401256496"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07d1f0c37c8f88b8482a36e38147416d.jpg","text":"TemporaryFile(/tmp/multipartBody4698635812411091346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829693155,"filename":"image_10122025_19_54_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/672f3a1994ffdb070fa39fbd065c704b.jpg","text":"TemporaryFile(/tmp/multipartBody4540598015502642096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829693155,"filename":"image_10122025_19_55_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4ad552e2d32460047c5eb0f8a9b7e36.jpg","text":"TemporaryFile(/tmp/multipartBody8908646926007711878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829693155,"filename":"image_10122025_19_55_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/12/27/160225d023ef735969fe624f281d93f1.jpg","text":"TemporaryFile(/tmp/multipartBody5496683203394736205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829693155,"filename":"image_10122025_19_54_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/12/27/d6c87a5ea650af89de0e171ecd24e9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6268210462094243829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829693155,"filename":"image_10122025_19_54_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/650495787ab7382e37fd8cf5d7ccc2cc.jpg","text":"TemporaryFile(/tmp/multipartBody5181294802056172488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829693155,"filename":"image_10122025_19_54_24_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256491","file1":"1401256489","file0":"1401256488","file4":"1401256495","file5":"1401256496","file3":"1401256493"},"map_files_photo_id_array":[{"photo_id":"1401256496","filename":"file5"},{"photo_id":"1401256491","filename":"file2"},{"photo_id":"1401256495","filename":"file4"},{"photo_id":"1401256489","filename":"file1"},{"photo_id":"1401256488","filename":"file0"},{"photo_id":"1401256493","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256495":["hashtag1","hashtag2"]},{"1401256489":["hashtag1","hashtag2"]},{"1401256488":["hashtag1","hashtag2"]},{"1401256491":["hashtag1","hashtag2"]},{"1401256493":["hashtag1","hashtag2"]},{"1401256496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256495, 1401256489, 1401256488, 1401256491, 1401256493, 1401256496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.567264318466187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:01:17.509537
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_25_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_15_10644.jpg', '/home/nano/Desktop/images/10122025/19/53/image_10122025_19_54_04_9621.jpg', '/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_55_9600.jpg', '/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_45_10609.jpg', '/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_34_9602.jpg', '/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_25_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_15_10644.jpg
/home/nano/Desktop/images/10122025/19/53/image_10122025_19_54_04_9621.jpg
/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_55_9600.jpg
/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_45_10609.jpg
/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_34_9602.jpg
/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_25_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":["1401256505","1401256508","1401256501","1401256510","1401256512","1401256503"],"photo_ids_order":["1401256501","1401256503","1401256505","1401256508","1401256510","1401256512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f03193c83e50e39ed28325d22a55a553.jpg","text":"TemporaryFile(/tmp/multipartBody8919682920924006203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829738301,"filename":"image_10122025_19_53_55_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb48dca59d62627fab48f68b0af2d21e.jpg","text":"TemporaryFile(/tmp/multipartBody4306599110634047061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829738301,"filename":"image_10122025_19_53_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4eb90eae7be745f79db73763cab4e844.jpg","text":"TemporaryFile(/tmp/multipartBody2148976857707108127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829738301,"filename":"image_10122025_19_54_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41d16c92279e72ce2bd794c2bb30ef87.jpg","text":"TemporaryFile(/tmp/multipartBody800915864047259857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829738301,"filename":"image_10122025_19_53_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/12/27/d6a73888645ee699ae732875fefb05ec.jpg","text":"TemporaryFile(/tmp/multipartBody3647472167474969955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829738301,"filename":"image_10122025_19_53_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a4577dfa689c7611ef6e4df39450f12.jpg","text":"TemporaryFile(/tmp/multipartBody1419674983641959215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829738301,"filename":"image_10122025_19_54_04_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256505","file1":"1401256503","file0":"1401256501","file4":"1401256510","file5":"1401256512","file3":"1401256508"},"map_files_photo_id_array":[{"photo_id":"1401256512","filename":"file5"},{"photo_id":"1401256505","filename":"file2"},{"photo_id":"1401256510","filename":"file4"},{"photo_id":"1401256503","filename":"file1"},{"photo_id":"1401256501","filename":"file0"},{"photo_id":"1401256508","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256505":["hashtag1","hashtag2"]},{"1401256508":["hashtag1","hashtag2"]},{"1401256501":["hashtag1","hashtag2"]},{"1401256510":["hashtag1","hashtag2"]},{"1401256512":["hashtag1","hashtag2"]},{"1401256503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256505, 1401256508, 1401256501, 1401256510, 1401256512, 1401256503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.375015258789062 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:02:03.009473
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_53_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_24_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_14_9613.jpg', '/home/nano/Desktop/images/10122025/19/52/image_10122025_19_53_05_9618.jpg', '/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_55_10612.jpg', '/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_44_9603.jpg', '/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_35_10604.jpg', '/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_24_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_14_9613.jpg
/home/nano/Desktop/images/10122025/19/52/image_10122025_19_53_05_9618.jpg
/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_55_10612.jpg
/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_44_9603.jpg
/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_35_10604.jpg
/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_24_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":["1401256745","1401256654","1401256717","1401256686","1401256743","1401256748"],"photo_ids_order":["1401256654","1401256686","1401256717","1401256743","1401256745","1401256748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cac042c996740d33c441b5c69aad529f.jpg","text":"TemporaryFile(/tmp/multipartBody1059904958173062030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829783824,"filename":"image_10122025_19_52_35_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/529061b14f5d6f14dac3e95a1f47ec0c.jpg","text":"TemporaryFile(/tmp/multipartBody2023361827889135171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829783824,"filename":"image_10122025_19_53_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/12/27/e2db493782fe39c9ace75ff54652f9b9.jpg","text":"TemporaryFile(/tmp/multipartBody167789206781976896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829783824,"filename":"image_10122025_19_52_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5117b32ce1b26798e53916bd538a7074.jpg","text":"TemporaryFile(/tmp/multipartBody3237946199219572375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829783824,"filename":"image_10122025_19_53_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2977f7181039fb46e5db9d836b26fd79.jpg","text":"TemporaryFile(/tmp/multipartBody6475557369454445439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829783824,"filename":"image_10122025_19_52_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/12/27/f4017978a27fe9fe5bed23c6c6579932.jpg","text":"TemporaryFile(/tmp/multipartBody3202182552160289268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829783824,"filename":"image_10122025_19_52_24_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256717","file1":"1401256686","file0":"1401256654","file4":"1401256745","file5":"1401256748","file3":"1401256743"},"map_files_photo_id_array":[{"photo_id":"1401256748","filename":"file5"},{"photo_id":"1401256717","filename":"file2"},{"photo_id":"1401256745","filename":"file4"},{"photo_id":"1401256686","filename":"file1"},{"photo_id":"1401256654","filename":"file0"},{"photo_id":"1401256743","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256745":["hashtag1","hashtag2"]},{"1401256654":["hashtag1","hashtag2"]},{"1401256717":["hashtag1","hashtag2"]},{"1401256686":["hashtag1","hashtag2"]},{"1401256743":["hashtag1","hashtag2"]},{"1401256748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256745, 1401256654, 1401256717, 1401256686, 1401256743, 1401256748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.979355573654175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:02:47.622261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_52_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_24_9681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_14_9604.jpg', '/home/nano/Desktop/images/10122025/19/51/image_10122025_19_52_05_10641.jpg', '/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_54_9603.jpg', '/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_45_9607.jpg', '/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_35_10613.jpg', '/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_24_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_14_9604.jpg
/home/nano/Desktop/images/10122025/19/51/image_10122025_19_52_05_10641.jpg
/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_54_9603.jpg
/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_45_9607.jpg
/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_35_10613.jpg
/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_24_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":["1401256876","1401256879","1401256860","1401256830","1401256880","1401256877"],"photo_ids_order":["1401256830","1401256860","1401256876","1401256877","1401256879","1401256880"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06f9e3525cbf6882dfebecae98df9c69.jpg","text":"TemporaryFile(/tmp/multipartBody3531446886585881942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829828410,"filename":"image_10122025_19_51_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/12/27/4c184e370ba5fc1facac45733f013828.jpg","text":"TemporaryFile(/tmp/multipartBody869843038759677491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829828410,"filename":"image_10122025_19_51_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f60482ea07d13ef4f2f4911024f0f46a.jpg","text":"TemporaryFile(/tmp/multipartBody8231245865962732031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829828410,"filename":"image_10122025_19_52_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d05c399fec890c85f016766d33f33a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4715618877705938111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829828410,"filename":"image_10122025_19_52_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54aafb6a382b6f5ab56746c3f1cc316f.jpg","text":"TemporaryFile(/tmp/multipartBody2936929934968884391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829828410,"filename":"image_10122025_19_51_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/12/27/740b08830552a0ff2fe6ea8d1eaf2383.jpg","text":"TemporaryFile(/tmp/multipartBody3854969697983715236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829828410,"filename":"image_10122025_19_51_45_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256876","file1":"1401256860","file0":"1401256830","file4":"1401256879","file5":"1401256880","file3":"1401256877"},"map_files_photo_id_array":[{"photo_id":"1401256880","filename":"file5"},{"photo_id":"1401256876","filename":"file2"},{"photo_id":"1401256879","filename":"file4"},{"photo_id":"1401256860","filename":"file1"},{"photo_id":"1401256830","filename":"file0"},{"photo_id":"1401256877","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256876":["hashtag1","hashtag2"]},{"1401256879":["hashtag1","hashtag2"]},{"1401256860":["hashtag1","hashtag2"]},{"1401256830":["hashtag1","hashtag2"]},{"1401256880":["hashtag1","hashtag2"]},{"1401256877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256876, 1401256879, 1401256860, 1401256830, 1401256880, 1401256877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.119834423065186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:03:32.697721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_15_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_51_05_10721.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_54_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_45_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_35_10757.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_24_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_15_9649.jpg', '/home/nano/Desktop/images/10122025/19/50/image_10122025_19_51_05_10721.jpg', '/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_54_9699.jpg', '/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_45_9648.jpg', '/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_35_10757.jpg', '/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_24_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_15_9649.jpg
/home/nano/Desktop/images/10122025/19/50/image_10122025_19_51_05_10721.jpg
/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_54_9699.jpg
/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_45_9648.jpg
/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_35_10757.jpg
/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_24_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":["1401256987","1401256981","1401256983","1401256986","1401256988","1401256979"],"photo_ids_order":["1401256979","1401256981","1401256983","1401256986","1401256987","1401256988"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53693534e5aa1e999bd8af2410a25f29.jpg","text":"TemporaryFile(/tmp/multipartBody5849425805117670319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829873514,"filename":"image_10122025_19_50_35_10757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c579f3446fe2e72d9d2a9a82004e6497.jpg","text":"TemporaryFile(/tmp/multipartBody4542472886589780521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829873514,"filename":"image_10122025_19_51_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b744f34803ac4ac5e83ce4c251d14e6.jpg","text":"TemporaryFile(/tmp/multipartBody7581380123050181669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829873514,"filename":"image_10122025_19_50_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82575bac598ae5a0fe445d245c95a592.jpg","text":"TemporaryFile(/tmp/multipartBody6904409188836919690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829873514,"filename":"image_10122025_19_50_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09e4e29d75fc0ed15f8354051b75b504.jpg","text":"TemporaryFile(/tmp/multipartBody2974141561951936676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829873514,"filename":"image_10122025_19_50_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/12/27/50d21cc26bb2b9819053fde95357da12.jpg","text":"TemporaryFile(/tmp/multipartBody8277014392714501523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829873514,"filename":"image_10122025_19_51_15_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401256983","file1":"1401256981","file0":"1401256979","file4":"1401256987","file5":"1401256988","file3":"1401256986"},"map_files_photo_id_array":[{"photo_id":"1401256988","filename":"file5"},{"photo_id":"1401256983","filename":"file2"},{"photo_id":"1401256987","filename":"file4"},{"photo_id":"1401256981","filename":"file1"},{"photo_id":"1401256979","filename":"file0"},{"photo_id":"1401256986","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401256987":["hashtag1","hashtag2"]},{"1401256981":["hashtag1","hashtag2"]},{"1401256983":["hashtag1","hashtag2"]},{"1401256986":["hashtag1","hashtag2"]},{"1401256988":["hashtag1","hashtag2"]},{"1401256979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401256987, 1401256981, 1401256983, 1401256986, 1401256988, 1401256979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.7589373588562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:04:16.817410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6878757476806641 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:04:31.799539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg', '/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_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":["1401257005","1401257020","1401257013","1401257021","1401257015","1401257018"],"photo_ids_order":["1401257005","1401257013","1401257015","1401257018","1401257020","1401257021"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e70141c36f814694352cde72864692e.jpg","text":"TemporaryFile(/tmp/multipartBody617593021636210316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829932595,"filename":"image_10122025_19_50_15_9818.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eebbdbda48518e1708b1dcc3b61ab96f.jpg","text":"TemporaryFile(/tmp/multipartBody5751879416216719658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829932595,"filename":"image_10122025_19_49_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/870e5f1340296fb253b53b9878af0532.jpg","text":"TemporaryFile(/tmp/multipartBody2505321697277412698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829932595,"filename":"image_10122025_19_50_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbe94a8149a04410a2b5ac7dd920d205.jpg","text":"TemporaryFile(/tmp/multipartBody6092571770784034782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829932595,"filename":"image_10122025_19_49_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/12/27/95f51ea0f377556ff697cd2e739bb201.jpg","text":"TemporaryFile(/tmp/multipartBody93778377972768664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829932595,"filename":"image_10122025_19_49_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/12/27/8929a7c4aca764ef48011c7832d986d0.jpg","text":"TemporaryFile(/tmp/multipartBody6175243461214524836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829932595,"filename":"image_10122025_19_49_44_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257015","file1":"1401257013","file0":"1401257005","file4":"1401257020","file5":"1401257021","file3":"1401257018"},"map_files_photo_id_array":[{"photo_id":"1401257021","filename":"file5"},{"photo_id":"1401257015","filename":"file2"},{"photo_id":"1401257020","filename":"file4"},{"photo_id":"1401257013","filename":"file1"},{"photo_id":"1401257005","filename":"file0"},{"photo_id":"1401257018","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257005":["hashtag1","hashtag2"]},{"1401257020":["hashtag1","hashtag2"]},{"1401257013":["hashtag1","hashtag2"]},{"1401257021":["hashtag1","hashtag2"]},{"1401257015":["hashtag1","hashtag2"]},{"1401257018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257005, 1401257020, 1401257013, 1401257021, 1401257015, 1401257018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.652210235595703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:05:16.959138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_49_05_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_54_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_35_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_24_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_14_9619.jpg', '/home/nano/Desktop/images/10122025/19/48/image_10122025_19_49_05_10653.jpg', '/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_54_9672.jpg', '/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_45_9626.jpg', '/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_35_10672.jpg', '/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_14_9619.jpg
/home/nano/Desktop/images/10122025/19/48/image_10122025_19_49_05_10653.jpg
/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_54_9672.jpg
/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_45_9626.jpg
/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_35_10672.jpg
/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_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":["1401257023","1401257026","1401257028","1401257022","1401257030","1401257024"],"photo_ids_order":["1401257022","1401257023","1401257024","1401257026","1401257028","1401257030"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a13fcc77e3b79fc2fcf2db3f6d59c78d.jpg","text":"TemporaryFile(/tmp/multipartBody4239626116785168436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829977773,"filename":"image_10122025_19_49_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56fff5fa7c7b4ad11247e26710340088.jpg","text":"TemporaryFile(/tmp/multipartBody2800863867200032311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829977773,"filename":"image_10122025_19_48_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b9e7ec3145531c6a6d82399c1b661e3.jpg","text":"TemporaryFile(/tmp/multipartBody7811083882845048335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829977773,"filename":"image_10122025_19_48_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbc3ecd43d239958aab12937a2196cac.jpg","text":"TemporaryFile(/tmp/multipartBody947041901123459219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829977773,"filename":"image_10122025_19_49_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/12/27/5b63c5f2c5f93e613611ba1f53ddfbd8.jpg","text":"TemporaryFile(/tmp/multipartBody8345989398484155964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829977773,"filename":"image_10122025_19_48_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/12/27/89b00397eab2e05eeb151b0184b9f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3220172482905239705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766829977773,"filename":"image_10122025_19_48_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257024","file1":"1401257023","file0":"1401257022","file4":"1401257028","file5":"1401257030","file3":"1401257026"},"map_files_photo_id_array":[{"photo_id":"1401257030","filename":"file5"},{"photo_id":"1401257024","filename":"file2"},{"photo_id":"1401257028","filename":"file4"},{"photo_id":"1401257023","filename":"file1"},{"photo_id":"1401257022","filename":"file0"},{"photo_id":"1401257026","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257023":["hashtag1","hashtag2"]},{"1401257026":["hashtag1","hashtag2"]},{"1401257028":["hashtag1","hashtag2"]},{"1401257022":["hashtag1","hashtag2"]},{"1401257030":["hashtag1","hashtag2"]},{"1401257024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257023, 1401257026, 1401257028, 1401257022, 1401257030, 1401257024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9280104637146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:06:02.671408
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/11/06/image_27122025_11_06_14_9520.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/11/06/image_27122025_11_06_14_9520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/11/06/image_27122025_11_06_14_9520.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401257096"],"photo_id":"1401257096","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c43ad8cb7ba447635a52cc12c3fbe7da.jpg","text":"TemporaryFile(/tmp/multipartBody8742267692225886447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830022911,"filename":"image_27122025_11_06_14_9520.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401257096"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401257096"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.718310832977295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:06:17.043425
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_15_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_48_05_9785.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_34_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_25_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_15_10827.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_47_04_9775.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_15_9796.jpg', '/home/nano/Desktop/images/10122025/19/47/image_10122025_19_48_05_9785.jpg', '/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_34_9771.jpg', '/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_25_9772.jpg', '/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_15_10827.jpg', '/home/nano/Desktop/images/10122025/19/46/image_10122025_19_47_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_15_9796.jpg
/home/nano/Desktop/images/10122025/19/47/image_10122025_19_48_05_9785.jpg
/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_34_9771.jpg
/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_25_9772.jpg
/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_15_10827.jpg
/home/nano/Desktop/images/10122025/19/46/image_10122025_19_47_04_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401257113","1401257109","1401257103","1401257106","1401257111","1401257102"],"photo_ids_order":["1401257102","1401257103","1401257106","1401257109","1401257111","1401257113"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb22ba1314fafb94feefd7ade17381da.jpg","text":"TemporaryFile(/tmp/multipartBody8848197482809822865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830037925,"filename":"image_10122025_19_47_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/514cc6a3ac7b98244cca4e9957a0855b.jpg","text":"TemporaryFile(/tmp/multipartBody6411497466218612112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830037925,"filename":"image_10122025_19_47_25_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbea11b9c433479fffe4376179acbba8.jpg","text":"TemporaryFile(/tmp/multipartBody5184569230842813774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830037925,"filename":"image_10122025_19_48_05_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5931b9414e282416ba14198dd8384fb.jpg","text":"TemporaryFile(/tmp/multipartBody2500215432123444415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830037925,"filename":"image_10122025_19_47_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eef370ff1137fe7148dcd8f27a6a0943.jpg","text":"TemporaryFile(/tmp/multipartBody3581006854748726377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830037925,"filename":"image_10122025_19_47_15_10827.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76bc9e273beb6962050ccdc0053bf60c.jpg","text":"TemporaryFile(/tmp/multipartBody4818006424742417531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830037925,"filename":"image_10122025_19_48_15_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257106","file1":"1401257103","file0":"1401257102","file4":"1401257111","file5":"1401257113","file3":"1401257109"},"map_files_photo_id_array":[{"photo_id":"1401257113","filename":"file5"},{"photo_id":"1401257106","filename":"file2"},{"photo_id":"1401257111","filename":"file4"},{"photo_id":"1401257103","filename":"file1"},{"photo_id":"1401257102","filename":"file0"},{"photo_id":"1401257109","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257113":["hashtag1","hashtag2"]},{"1401257109":["hashtag1","hashtag2"]},{"1401257103":["hashtag1","hashtag2"]},{"1401257106":["hashtag1","hashtag2"]},{"1401257111":["hashtag1","hashtag2"]},{"1401257102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257113, 1401257109, 1401257103, 1401257106, 1401257111, 1401257102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2013418674469 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:07:02.814403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_54_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_45_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_25_10780.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_14_9791.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_46_04_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_45_10777.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_54_9770.jpg', '/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_45_9771.jpg', '/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_25_10780.jpg', '/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_14_9791.jpg', '/home/nano/Desktop/images/10122025/19/45/image_10122025_19_46_04_9774.jpg', '/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_45_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_54_9770.jpg
/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_45_9771.jpg
/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_25_10780.jpg
/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_14_9791.jpg
/home/nano/Desktop/images/10122025/19/45/image_10122025_19_46_04_9774.jpg
/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_45_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401257206","1401257128","1401257184","1401257202","1401257150","1401257204"],"photo_ids_order":["1401257128","1401257150","1401257184","1401257202","1401257204","1401257206"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fec0a5cd11de575965fb959223c4a50.jpg","text":"TemporaryFile(/tmp/multipartBody7850344388548694532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830083716,"filename":"image_10122025_19_45_45_10777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cbf0d223392bd1e0608334e96d0d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody5583300022009396614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830083716,"filename":"image_10122025_19_46_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30756315c5ce56f91f459767e03731bc.jpg","text":"TemporaryFile(/tmp/multipartBody4152775121523225608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830083716,"filename":"image_10122025_19_46_25_10780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc7627cca7ad3bea5560af6cefa09468.jpg","text":"TemporaryFile(/tmp/multipartBody539690350645458537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830083716,"filename":"image_10122025_19_46_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea42b0859af454f4d2a3531c37e078a9.jpg","text":"TemporaryFile(/tmp/multipartBody5548899616854112227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830083716,"filename":"image_10122025_19_46_45_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25921e8bb20b399348a4039c03534f6c.jpg","text":"TemporaryFile(/tmp/multipartBody2538796961903066053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830083716,"filename":"image_10122025_19_46_04_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257184","file1":"1401257150","file0":"1401257128","file4":"1401257204","file5":"1401257206","file3":"1401257202"},"map_files_photo_id_array":[{"photo_id":"1401257206","filename":"file5"},{"photo_id":"1401257184","filename":"file2"},{"photo_id":"1401257204","filename":"file4"},{"photo_id":"1401257150","filename":"file1"},{"photo_id":"1401257128","filename":"file0"},{"photo_id":"1401257202","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257206":["hashtag1","hashtag2"]},{"1401257128":["hashtag1","hashtag2"]},{"1401257184":["hashtag1","hashtag2"]},{"1401257202":["hashtag1","hashtag2"]},{"1401257150":["hashtag1","hashtag2"]},{"1401257204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257206, 1401257128, 1401257184, 1401257202, 1401257150, 1401257204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.261803150177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:07:47.176957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', '/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg
/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.757596492767334 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:08:02.754261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', '/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', '/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg
/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401257221","1401257227","1401257229","1401257223","1401257243","1401257225"],"photo_ids_order":["1401257221","1401257223","1401257225","1401257227","1401257229","1401257243"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd2db8efc4541b7abe3376f55ed7813e.jpg","text":"TemporaryFile(/tmp/multipartBody1123206337739287092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830143685,"filename":"image_10122025_19_45_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/849754c0f3fc36f9265b2207dac91cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7796942424141736417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830143685,"filename":"image_10122025_19_44_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8431ed49e8c7cb50f8811700afd0901.jpg","text":"TemporaryFile(/tmp/multipartBody9154729442567460213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830143685,"filename":"image_10122025_19_44_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b986c616ed6e8cbc53b344ed0901c94.jpg","text":"TemporaryFile(/tmp/multipartBody6705021741889046566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830143685,"filename":"image_10122025_19_45_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/179c60cc039d8c1f8c3e305be29cd2a8.jpg","text":"TemporaryFile(/tmp/multipartBody5002968915369342121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830143685,"filename":"image_10122025_19_44_25_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f2524876bd907fb993e9cb7abc38b52.jpg","text":"TemporaryFile(/tmp/multipartBody5640094163712711650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830143685,"filename":"image_10122025_19_44_55_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257225","file1":"1401257223","file0":"1401257221","file4":"1401257229","file5":"1401257243","file3":"1401257227"},"map_files_photo_id_array":[{"photo_id":"1401257243","filename":"file5"},{"photo_id":"1401257225","filename":"file2"},{"photo_id":"1401257229","filename":"file4"},{"photo_id":"1401257223","filename":"file1"},{"photo_id":"1401257221","filename":"file0"},{"photo_id":"1401257227","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257221":["hashtag1","hashtag2"]},{"1401257227":["hashtag1","hashtag2"]},{"1401257229":["hashtag1","hashtag2"]},{"1401257223":["hashtag1","hashtag2"]},{"1401257243":["hashtag1","hashtag2"]},{"1401257225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257221, 1401257227, 1401257229, 1401257223, 1401257243, 1401257225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64704942703247 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:08:47.255457
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_15_10799.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_44_04_9795.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_54_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_45_9777.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_35_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_24_9691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_15_10799.jpg', '/home/nano/Desktop/images/10122025/19/43/image_10122025_19_44_04_9795.jpg', '/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_54_9772.jpg', '/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_45_9777.jpg', '/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_35_10671.jpg', '/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_24_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_15_10799.jpg
/home/nano/Desktop/images/10122025/19/43/image_10122025_19_44_04_9795.jpg
/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_54_9772.jpg
/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_45_9777.jpg
/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_35_10671.jpg
/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_24_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":["1401257287","1401257281","1401257283","1401257286","1401257282","1401257284"],"photo_ids_order":["1401257281","1401257282","1401257283","1401257284","1401257286","1401257287"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/237f489f0990bf0208f969cd6d3faea1.jpg","text":"TemporaryFile(/tmp/multipartBody8549642788861618084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830188098,"filename":"image_10122025_19_43_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7aa1d10f37d717000eae22c7510249bd.jpg","text":"TemporaryFile(/tmp/multipartBody4799708904051597883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830188098,"filename":"image_10122025_19_44_15_10799.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29535ea2c2c505458cabbca0065ecaed.jpg","text":"TemporaryFile(/tmp/multipartBody577877620975423476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830188098,"filename":"image_10122025_19_43_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ade77536b0e6145d63cbf342a53299e2.jpg","text":"TemporaryFile(/tmp/multipartBody1715811403006797615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830188098,"filename":"image_10122025_19_43_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8325e777c2731473de13dcf39a84be50.jpg","text":"TemporaryFile(/tmp/multipartBody4092008539792147750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830188098,"filename":"image_10122025_19_44_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2294afaf4fa815e08609eb432767a0d.jpg","text":"TemporaryFile(/tmp/multipartBody945423181348758758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830188098,"filename":"image_10122025_19_43_45_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257283","file1":"1401257282","file0":"1401257281","file4":"1401257286","file5":"1401257287","file3":"1401257284"},"map_files_photo_id_array":[{"photo_id":"1401257287","filename":"file5"},{"photo_id":"1401257283","filename":"file2"},{"photo_id":"1401257286","filename":"file4"},{"photo_id":"1401257282","filename":"file1"},{"photo_id":"1401257281","filename":"file0"},{"photo_id":"1401257284","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257287":["hashtag1","hashtag2"]},{"1401257281":["hashtag1","hashtag2"]},{"1401257283":["hashtag1","hashtag2"]},{"1401257286":["hashtag1","hashtag2"]},{"1401257282":["hashtag1","hashtag2"]},{"1401257284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257287, 1401257281, 1401257283, 1401257286, 1401257282, 1401257284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32911396026611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:09:32.396436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_14_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_43_05_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_55_10688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_35_9811.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_25_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_14_9688.jpg', '/home/nano/Desktop/images/10122025/19/42/image_10122025_19_43_05_9678.jpg', '/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_55_10688.jpg', '/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_44_9631.jpg', '/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_35_9811.jpg', '/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_25_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_14_9688.jpg
/home/nano/Desktop/images/10122025/19/42/image_10122025_19_43_05_9678.jpg
/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_55_10688.jpg
/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_44_9631.jpg
/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_35_9811.jpg
/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_25_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":["1401257302","1401257305","1401257298","1401257306","1401257296","1401257299"],"photo_ids_order":["1401257296","1401257298","1401257299","1401257302","1401257305","1401257306"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3835d32988a30c4b1b7f22ba5d6a8f75.jpg","text":"TemporaryFile(/tmp/multipartBody4786578917233776201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830233218,"filename":"image_10122025_19_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/12/27/2e1b1f2dbbd7a312059c3ac0e5e887ec.jpg","text":"TemporaryFile(/tmp/multipartBody5741680865824603362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830233218,"filename":"image_10122025_19_42_35_9811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/723e50635162254d468cef4964dcc0c5.jpg","text":"TemporaryFile(/tmp/multipartBody5443928299598045969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830233218,"filename":"image_10122025_19_43_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43c6675324e3f0c4a8055415995dd44a.jpg","text":"TemporaryFile(/tmp/multipartBody7775055762687526540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830233218,"filename":"image_10122025_19_42_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/745d028fde50354bf6a274b7990fb5f3.jpg","text":"TemporaryFile(/tmp/multipartBody1481940549600659953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830233218,"filename":"image_10122025_19_43_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/12/27/9eae9a6b7752e6b7240f90fb7cf04f8e.jpg","text":"TemporaryFile(/tmp/multipartBody5423800125339166125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830233218,"filename":"image_10122025_19_42_55_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257299","file1":"1401257298","file0":"1401257296","file4":"1401257305","file5":"1401257306","file3":"1401257302"},"map_files_photo_id_array":[{"photo_id":"1401257306","filename":"file5"},{"photo_id":"1401257299","filename":"file2"},{"photo_id":"1401257305","filename":"file4"},{"photo_id":"1401257298","filename":"file1"},{"photo_id":"1401257296","filename":"file0"},{"photo_id":"1401257302","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257302":["hashtag1","hashtag2"]},{"1401257305":["hashtag1","hashtag2"]},{"1401257298":["hashtag1","hashtag2"]},{"1401257306":["hashtag1","hashtag2"]},{"1401257296":["hashtag1","hashtag2"]},{"1401257299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257302, 1401257305, 1401257298, 1401257306, 1401257296, 1401257299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.475351095199585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:10:17.525987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_42_05_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_55_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_44_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_34_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_25_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_14_9673.jpg', '/home/nano/Desktop/images/10122025/19/41/image_10122025_19_42_05_9772.jpg', '/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_55_10642.jpg', '/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_44_9738.jpg', '/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_34_9741.jpg', '/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_25_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_14_9673.jpg
/home/nano/Desktop/images/10122025/19/41/image_10122025_19_42_05_9772.jpg
/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_55_10642.jpg
/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_44_9738.jpg
/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_34_9741.jpg
/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_25_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":["1401257500","1401257511","1401257514","1401257508","1401257477","1401257489"],"photo_ids_order":["1401257477","1401257489","1401257500","1401257508","1401257511","1401257514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a61422efc3534f6037ffdca8e4cc6de.jpg","text":"TemporaryFile(/tmp/multipartBody691878709468768510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830278349,"filename":"image_10122025_19_41_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ddc8066bfdbebfa2811a28f51ae24b8.jpg","text":"TemporaryFile(/tmp/multipartBody4197334804100060742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830278349,"filename":"image_10122025_19_41_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecf478c1a90f45e1a7360f1ee5084f97.jpg","text":"TemporaryFile(/tmp/multipartBody4180532192004165405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830278349,"filename":"image_10122025_19_41_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a47bc3b54d8b878a6d917061aad5d1d.jpg","text":"TemporaryFile(/tmp/multipartBody250390876729314676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830278349,"filename":"image_10122025_19_41_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3245ddbf3f33cdc15dfed2697a34f8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7652726373494670569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830278349,"filename":"image_10122025_19_42_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/12/27/d31fad011c6734eeff94d44538e2f371.jpg","text":"TemporaryFile(/tmp/multipartBody8865212389187368492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830278349,"filename":"image_10122025_19_42_05_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257500","file1":"1401257489","file0":"1401257477","file4":"1401257511","file5":"1401257514","file3":"1401257508"},"map_files_photo_id_array":[{"photo_id":"1401257514","filename":"file5"},{"photo_id":"1401257500","filename":"file2"},{"photo_id":"1401257511","filename":"file4"},{"photo_id":"1401257489","filename":"file1"},{"photo_id":"1401257477","filename":"file0"},{"photo_id":"1401257508","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257500":["hashtag1","hashtag2"]},{"1401257511":["hashtag1","hashtag2"]},{"1401257514":["hashtag1","hashtag2"]},{"1401257508":["hashtag1","hashtag2"]},{"1401257477":["hashtag1","hashtag2"]},{"1401257489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257500, 1401257511, 1401257514, 1401257508, 1401257477, 1401257489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94711399078369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:11:03.277394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_15_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_41_04_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_55_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_25_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_15_10672.jpg', '/home/nano/Desktop/images/10122025/19/40/image_10122025_19_41_04_9692.jpg', '/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_55_9713.jpg', '/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_45_10623.jpg', '/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_34_9604.jpg', '/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_25_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_15_10672.jpg
/home/nano/Desktop/images/10122025/19/40/image_10122025_19_41_04_9692.jpg
/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_55_9713.jpg
/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_45_10623.jpg
/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_34_9604.jpg
/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_25_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":["1401257521","1401257538","1401257607","1401257573","1401257642","1401257522"],"photo_ids_order":["1401257521","1401257522","1401257538","1401257573","1401257607","1401257642"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdf46e4456bf12e527b1125159d91adf.jpg","text":"TemporaryFile(/tmp/multipartBody5582516893083594368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830324144,"filename":"image_10122025_19_41_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7885899811edeebf0cc25d3513b5a941.jpg","text":"TemporaryFile(/tmp/multipartBody948182546544255998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830324144,"filename":"image_10122025_19_40_55_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9eaa993bbca4b427c5e9cb8a53f6cc8b.jpg","text":"TemporaryFile(/tmp/multipartBody905349542505402770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830324144,"filename":"image_10122025_19_40_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/12/27/40fbdcc1221a12e1ad9ebd3c495dffe5.jpg","text":"TemporaryFile(/tmp/multipartBody1689077481044584726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830324144,"filename":"image_10122025_19_40_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9aef8b3459ac99f9f1bc2a13dc06e1fa.jpg","text":"TemporaryFile(/tmp/multipartBody419265716519061819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830324144,"filename":"image_10122025_19_40_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24d84f014be9aa0b7d298d4f58a193ad.jpg","text":"TemporaryFile(/tmp/multipartBody1692434453684423068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830324144,"filename":"image_10122025_19_41_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257538","file1":"1401257522","file0":"1401257521","file4":"1401257607","file5":"1401257642","file3":"1401257573"},"map_files_photo_id_array":[{"photo_id":"1401257642","filename":"file5"},{"photo_id":"1401257538","filename":"file2"},{"photo_id":"1401257607","filename":"file4"},{"photo_id":"1401257522","filename":"file1"},{"photo_id":"1401257521","filename":"file0"},{"photo_id":"1401257573","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257521":["hashtag1","hashtag2"]},{"1401257538":["hashtag1","hashtag2"]},{"1401257607":["hashtag1","hashtag2"]},{"1401257573":["hashtag1","hashtag2"]},{"1401257642":["hashtag1","hashtag2"]},{"1401257522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257521, 1401257538, 1401257607, 1401257573, 1401257642, 1401257522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.167075872421265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:11:47.619846
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_40_04_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_55_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_45_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_25_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_14_9647.jpg', '/home/nano/Desktop/images/10122025/19/39/image_10122025_19_40_04_9747.jpg', '/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_55_9674.jpg', '/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_45_10657.jpg', '/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_34_9608.jpg', '/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_25_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_14_9647.jpg
/home/nano/Desktop/images/10122025/19/39/image_10122025_19_40_04_9747.jpg
/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_55_9674.jpg
/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_45_10657.jpg
/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_34_9608.jpg
/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_25_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":["1401257737","1401257710","1401257736","1401257709","1401257739","1401257741"],"photo_ids_order":["1401257709","1401257710","1401257736","1401257737","1401257739","1401257741"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78cef64d994351042b04342bf4206f7f.jpg","text":"TemporaryFile(/tmp/multipartBody7160777627212532686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830368433,"filename":"image_10122025_19_39_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fa464534e2983a0211a7d56219b8b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2185860085323608551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830368433,"filename":"image_10122025_19_40_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/995a918e678d514a3111290bcda8f558.jpg","text":"TemporaryFile(/tmp/multipartBody3976891698090103044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830368433,"filename":"image_10122025_19_39_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/803df70e7ecbe70d1805dc214499e437.jpg","text":"TemporaryFile(/tmp/multipartBody3272867292422704062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830368433,"filename":"image_10122025_19_40_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/12/27/b910b492a9336ae333c3791fc7c362af.jpg","text":"TemporaryFile(/tmp/multipartBody8335089115104554867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830368433,"filename":"image_10122025_19_39_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/12/27/a281b9d4c5548a3a0de933f416145c88.jpg","text":"TemporaryFile(/tmp/multipartBody8147582888505214281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830368433,"filename":"image_10122025_19_39_25_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257736","file1":"1401257710","file0":"1401257709","file4":"1401257739","file5":"1401257741","file3":"1401257737"},"map_files_photo_id_array":[{"photo_id":"1401257741","filename":"file5"},{"photo_id":"1401257736","filename":"file2"},{"photo_id":"1401257739","filename":"file4"},{"photo_id":"1401257710","filename":"file1"},{"photo_id":"1401257709","filename":"file0"},{"photo_id":"1401257737","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257737":["hashtag1","hashtag2"]},{"1401257710":["hashtag1","hashtag2"]},{"1401257736":["hashtag1","hashtag2"]},{"1401257709":["hashtag1","hashtag2"]},{"1401257739":["hashtag1","hashtag2"]},{"1401257741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257737, 1401257710, 1401257736, 1401257709, 1401257739, 1401257741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05746150016785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:12:32.713772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_39_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_24_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_14_9635.jpg', '/home/nano/Desktop/images/10122025/19/38/image_10122025_19_39_05_9604.jpg', '/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_55_10616.jpg', '/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_44_9608.jpg', '/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_35_10624.jpg', '/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_24_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_14_9635.jpg
/home/nano/Desktop/images/10122025/19/38/image_10122025_19_39_05_9604.jpg
/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_55_10616.jpg
/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_44_9608.jpg
/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_35_10624.jpg
/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_24_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":["1401257812","1401257806","1401257815","1401257814","1401257808","1401257810"],"photo_ids_order":["1401257806","1401257808","1401257810","1401257812","1401257814","1401257815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34b1b3eb7831da3dc994014e8eebf501.jpg","text":"TemporaryFile(/tmp/multipartBody7614167843546208662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830413493,"filename":"image_10122025_19_38_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/12/27/188b5e9e889a4408a54a8d7136e02fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8095023518038940069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830413493,"filename":"image_10122025_19_39_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/12/27/761632a8b12dd0c6b2d0e7f6865a255b.jpg","text":"TemporaryFile(/tmp/multipartBody3531859019619031898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830413493,"filename":"image_10122025_19_38_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/12/27/6109dfc98143030278ee5448c485b0a6.jpg","text":"TemporaryFile(/tmp/multipartBody4522318540442917482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830413493,"filename":"image_10122025_19_38_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/164dc6bdb563408e5efaf1954728f3db.jpg","text":"TemporaryFile(/tmp/multipartBody7381126271755279447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830413493,"filename":"image_10122025_19_39_05_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8e72355ba5cabbabf5dec79abb82cee.jpg","text":"TemporaryFile(/tmp/multipartBody5058138089961946263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830413493,"filename":"image_10122025_19_38_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257810","file1":"1401257808","file0":"1401257806","file4":"1401257814","file5":"1401257815","file3":"1401257812"},"map_files_photo_id_array":[{"photo_id":"1401257815","filename":"file5"},{"photo_id":"1401257810","filename":"file2"},{"photo_id":"1401257814","filename":"file4"},{"photo_id":"1401257808","filename":"file1"},{"photo_id":"1401257806","filename":"file0"},{"photo_id":"1401257812","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257812":["hashtag1","hashtag2"]},{"1401257806":["hashtag1","hashtag2"]},{"1401257815":["hashtag1","hashtag2"]},{"1401257814":["hashtag1","hashtag2"]},{"1401257808":["hashtag1","hashtag2"]},{"1401257810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257812, 1401257806, 1401257815, 1401257814, 1401257808, 1401257810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82697868347168 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:13:16.823813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_38_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_24_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_14_9621.jpg', '/home/nano/Desktop/images/10122025/19/37/image_10122025_19_38_05_10618.jpg', '/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_54_9605.jpg', '/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_45_9616.jpg', '/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_35_10617.jpg', '/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_14_9621.jpg
/home/nano/Desktop/images/10122025/19/37/image_10122025_19_38_05_10618.jpg
/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_54_9605.jpg
/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_45_9616.jpg
/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_35_10617.jpg
/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_24_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":["1401257839","1401257832","1401257841","1401257843","1401257837","1401257834"],"photo_ids_order":["1401257832","1401257834","1401257837","1401257839","1401257841","1401257843"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e94ffb68d8cd3d361dfe89751f2c4141.jpg","text":"TemporaryFile(/tmp/multipartBody421327088408240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830457604,"filename":"image_10122025_19_37_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/946e4dc7b53daed679a2583ce16379ee.jpg","text":"TemporaryFile(/tmp/multipartBody194732964222685673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830457604,"filename":"image_10122025_19_38_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bffb24d79fdb622df61fde10e4a0db74.jpg","text":"TemporaryFile(/tmp/multipartBody2192791656822397464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830457604,"filename":"image_10122025_19_37_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0270e9b48fee76e4145ce71d6a8db68.jpg","text":"TemporaryFile(/tmp/multipartBody3239990208866135443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830457604,"filename":"image_10122025_19_37_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/12/27/6d86831d391ea2e5986e554e5a50ef5f.jpg","text":"TemporaryFile(/tmp/multipartBody2063142936174569802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830457604,"filename":"image_10122025_19_37_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/12/27/553b49674dd0521a1850f8a1d606d33f.jpg","text":"TemporaryFile(/tmp/multipartBody168385367616718911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830457604,"filename":"image_10122025_19_38_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257837","file1":"1401257834","file0":"1401257832","file4":"1401257841","file5":"1401257843","file3":"1401257839"},"map_files_photo_id_array":[{"photo_id":"1401257843","filename":"file5"},{"photo_id":"1401257837","filename":"file2"},{"photo_id":"1401257841","filename":"file4"},{"photo_id":"1401257834","filename":"file1"},{"photo_id":"1401257832","filename":"file0"},{"photo_id":"1401257839","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401257839":["hashtag1","hashtag2"]},{"1401257832":["hashtag1","hashtag2"]},{"1401257841":["hashtag1","hashtag2"]},{"1401257843":["hashtag1","hashtag2"]},{"1401257837":["hashtag1","hashtag2"]},{"1401257834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401257839, 1401257832, 1401257841, 1401257843, 1401257837, 1401257834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16177439689636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:14:02.922774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_37_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_25_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_15_10638.jpg', '/home/nano/Desktop/images/10122025/19/36/image_10122025_19_37_04_9631.jpg', '/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_55_9610.jpg', '/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_45_10620.jpg', '/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_34_9606.jpg', '/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_25_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_15_10638.jpg
/home/nano/Desktop/images/10122025/19/36/image_10122025_19_37_04_9631.jpg
/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_55_9610.jpg
/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_45_10620.jpg
/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_34_9606.jpg
/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_25_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":["1401258031","1401257920","1401257886","1401258021","1401257990","1401257957"],"photo_ids_order":["1401257886","1401257920","1401257957","1401257990","1401258021","1401258031"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ebe880157592f75995ba6f8ac4a55b7.jpg","text":"TemporaryFile(/tmp/multipartBody1877062895694031569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830503761,"filename":"image_10122025_19_36_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ca7d3fe35324917c7fb4408da27ca0c.jpg","text":"TemporaryFile(/tmp/multipartBody7790791241998654008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830503761,"filename":"image_10122025_19_37_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/12/27/c0d84031055dab8ef461f7a309244d55.jpg","text":"TemporaryFile(/tmp/multipartBody5485753907130916535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830503761,"filename":"image_10122025_19_37_15_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91850b06e0084758e73519f7c5239581.jpg","text":"TemporaryFile(/tmp/multipartBody4512140133845635256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830503761,"filename":"image_10122025_19_36_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/12/27/08d4ff656a9ac331fd77fb1ca6998b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3354731908081779684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830503761,"filename":"image_10122025_19_36_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/254d86846c181b55ff88b0fd861ea4f1.jpg","text":"TemporaryFile(/tmp/multipartBody4988710527854764355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830503761,"filename":"image_10122025_19_36_55_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401257957","file1":"1401257920","file0":"1401257886","file4":"1401258021","file5":"1401258031","file3":"1401257990"},"map_files_photo_id_array":[{"photo_id":"1401258031","filename":"file5"},{"photo_id":"1401257957","filename":"file2"},{"photo_id":"1401258021","filename":"file4"},{"photo_id":"1401257920","filename":"file1"},{"photo_id":"1401257886","filename":"file0"},{"photo_id":"1401257990","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258031":["hashtag1","hashtag2"]},{"1401257920":["hashtag1","hashtag2"]},{"1401257886":["hashtag1","hashtag2"]},{"1401258021":["hashtag1","hashtag2"]},{"1401257990":["hashtag1","hashtag2"]},{"1401257957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258031, 1401257920, 1401257886, 1401258021, 1401257990, 1401257957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36825466156006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:14:46.923377
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_15_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_36_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_25_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_15_10658.jpg', '/home/nano/Desktop/images/10122025/19/35/image_10122025_19_36_04_9621.jpg', '/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_55_10621.jpg', '/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_44_9611.jpg', '/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_35_9624.jpg', '/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_25_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_15_10658.jpg
/home/nano/Desktop/images/10122025/19/35/image_10122025_19_36_04_9621.jpg
/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_55_10621.jpg
/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_44_9611.jpg
/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_35_9624.jpg
/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_25_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":["1401258039","1401258068","1401258038","1401258104","1401258139","1401258040"],"photo_ids_order":["1401258038","1401258039","1401258040","1401258068","1401258104","1401258139"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ea069ad9eaa54b73155c158d41231e0.jpg","text":"TemporaryFile(/tmp/multipartBody6772169706043246190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830547702,"filename":"image_10122025_19_36_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/12/27/354c9a90a9bb102ff14fdd5cb4f73310.jpg","text":"TemporaryFile(/tmp/multipartBody9122206827210010409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830547702,"filename":"image_10122025_19_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/12/27/489c6e0565e1bb80f8dd65e6ff8118ce.jpg","text":"TemporaryFile(/tmp/multipartBody8065307853030985308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830547702,"filename":"image_10122025_19_36_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a80435b2b18a21d7b03334603af1833a.jpg","text":"TemporaryFile(/tmp/multipartBody1763035065571156530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830547702,"filename":"image_10122025_19_35_35_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e890e972229e4c562c129d671feb3cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8575073274830550416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830547702,"filename":"image_10122025_19_35_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d63d8cf6fb4dca0f7380c4ea89fb06a2.jpg","text":"TemporaryFile(/tmp/multipartBody1970945079661289585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830547702,"filename":"image_10122025_19_35_55_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258040","file1":"1401258039","file0":"1401258038","file4":"1401258104","file5":"1401258139","file3":"1401258068"},"map_files_photo_id_array":[{"photo_id":"1401258139","filename":"file5"},{"photo_id":"1401258040","filename":"file2"},{"photo_id":"1401258104","filename":"file4"},{"photo_id":"1401258039","filename":"file1"},{"photo_id":"1401258038","filename":"file0"},{"photo_id":"1401258068","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258039":["hashtag1","hashtag2"]},{"1401258068":["hashtag1","hashtag2"]},{"1401258038":["hashtag1","hashtag2"]},{"1401258104":["hashtag1","hashtag2"]},{"1401258139":["hashtag1","hashtag2"]},{"1401258040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258039, 1401258068, 1401258038, 1401258104, 1401258139, 1401258040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76588463783264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:15:32.091275
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/11/15/image_27122025_11_15_24_9507.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/11/15/image_27122025_11_15_24_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/11/15/image_27122025_11_15_24_9507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401258170"],"photo_id":"1401258170","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c5bb8e44aaee0e2a3b23cc99193b6c1.jpg","text":"TemporaryFile(/tmp/multipartBody2602568245749292142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830592342,"filename":"image_27122025_11_15_24_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401258170"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401258170"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.733867883682251 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:15:47.034387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_9604.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6806240081787109 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:16:02.693726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg', '/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_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":["1401258249","1401258258","1401258251","1401258262","1401258268","1401258253"],"photo_ids_order":["1401258249","1401258251","1401258253","1401258258","1401258262","1401258268"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b6c5a4f514352b649af252f8f1bd319.jpg","text":"TemporaryFile(/tmp/multipartBody3704243570581648954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830623545,"filename":"image_10122025_19_35_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/12/27/c667ba5887632d210942d334e0c11bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1913290372631387135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830623545,"filename":"image_10122025_19_34_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/12/27/310e2b070adf70afdefc2a631a01772d.jpg","text":"TemporaryFile(/tmp/multipartBody2511877883255840142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830623545,"filename":"image_10122025_19_35_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/174db2b2dee49113b53aaa0f89c11dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7901181547023338243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830623545,"filename":"image_10122025_19_34_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8659f1aee733b8667bcca4b97e0bec18.jpg","text":"TemporaryFile(/tmp/multipartBody6090431138172760320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830623545,"filename":"image_10122025_19_34_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/12/27/45e9300b7794fb6eeeb54780f2d2b4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7543054969456521172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830623545,"filename":"image_10122025_19_34_55_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258253","file1":"1401258251","file0":"1401258249","file4":"1401258262","file5":"1401258268","file3":"1401258258"},"map_files_photo_id_array":[{"photo_id":"1401258268","filename":"file5"},{"photo_id":"1401258253","filename":"file2"},{"photo_id":"1401258262","filename":"file4"},{"photo_id":"1401258251","filename":"file1"},{"photo_id":"1401258249","filename":"file0"},{"photo_id":"1401258258","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258249":["hashtag1","hashtag2"]},{"1401258258":["hashtag1","hashtag2"]},{"1401258251":["hashtag1","hashtag2"]},{"1401258262":["hashtag1","hashtag2"]},{"1401258268":["hashtag1","hashtag2"]},{"1401258253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258249, 1401258258, 1401258251, 1401258262, 1401258268, 1401258253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.334604024887085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:16:47.235436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_34_05_10670.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_54_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_45_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_24_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_15_9609.jpg', '/home/nano/Desktop/images/10122025/19/33/image_10122025_19_34_05_10670.jpg', '/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_54_9636.jpg', '/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_45_9698.jpg', '/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_35_10611.jpg', '/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_15_9609.jpg
/home/nano/Desktop/images/10122025/19/33/image_10122025_19_34_05_10670.jpg
/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_54_9636.jpg
/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_45_9698.jpg
/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_35_10611.jpg
/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_24_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":["1401258330","1401258482","1401258362","1401258299","1401258518","1401258445"],"photo_ids_order":["1401258299","1401258330","1401258362","1401258445","1401258482","1401258518"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab5c35990484b9e6f9e307a3e6ee8d98.jpg","text":"TemporaryFile(/tmp/multipartBody5772940931649435290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830668056,"filename":"image_10122025_19_34_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fcd46af58c02e9f222124568f860cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody6967186700060558966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830668056,"filename":"image_10122025_19_33_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dd9317d4c2aafb1a89fc8ca0c644ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8254009964399634743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830668056,"filename":"image_10122025_19_33_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/12/27/8f2f1d612ff92fb07358f71a958356f2.jpg","text":"TemporaryFile(/tmp/multipartBody1090259400068716202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830668056,"filename":"image_10122025_19_34_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a036318473df702f2174fa335676d216.jpg","text":"TemporaryFile(/tmp/multipartBody4149709084583062859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830668056,"filename":"image_10122025_19_33_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/12/27/be7fb2f1b7da1a9320d8024964319f91.jpg","text":"TemporaryFile(/tmp/multipartBody7122006455555320014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830668056,"filename":"image_10122025_19_33_45_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258362","file1":"1401258330","file0":"1401258299","file4":"1401258482","file5":"1401258518","file3":"1401258445"},"map_files_photo_id_array":[{"photo_id":"1401258518","filename":"file5"},{"photo_id":"1401258362","filename":"file2"},{"photo_id":"1401258482","filename":"file4"},{"photo_id":"1401258330","filename":"file1"},{"photo_id":"1401258299","filename":"file0"},{"photo_id":"1401258445","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258330":["hashtag1","hashtag2"]},{"1401258482":["hashtag1","hashtag2"]},{"1401258362":["hashtag1","hashtag2"]},{"1401258299":["hashtag1","hashtag2"]},{"1401258518":["hashtag1","hashtag2"]},{"1401258445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258330, 1401258482, 1401258362, 1401258299, 1401258518, 1401258445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76586389541626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:17:32.343825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_33_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_55_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_34_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_25_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_15_10630.jpg', '/home/nano/Desktop/images/10122025/19/32/image_10122025_19_33_04_9624.jpg', '/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_55_9598.jpg', '/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_45_10614.jpg', '/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_34_9600.jpg', '/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_25_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_15_10630.jpg
/home/nano/Desktop/images/10122025/19/32/image_10122025_19_33_04_9624.jpg
/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_55_9598.jpg
/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_45_10614.jpg
/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_34_9600.jpg
/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_25_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":["1401258600","1401258644","1401258605","1401258598","1401258602","1401258646"],"photo_ids_order":["1401258598","1401258600","1401258602","1401258605","1401258644","1401258646"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79119be1a5670087e0ffd41a48f9f4ee.jpg","text":"TemporaryFile(/tmp/multipartBody2294566037930720792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830713231,"filename":"image_10122025_19_33_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/12/27/4128e3d8d79c2357f1721505bcc8fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody7845798169577702584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830713231,"filename":"image_10122025_19_32_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/12/27/eeecaf8dff2286faf2ce1ca0cd6a165d.jpg","text":"TemporaryFile(/tmp/multipartBody8616694646715091070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830713231,"filename":"image_10122025_19_32_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af203b1992f67ace578d95230334ac93.jpg","text":"TemporaryFile(/tmp/multipartBody8234815541104234438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830713231,"filename":"image_10122025_19_33_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4b3d543dce8c5f10d061a0124872da6.jpg","text":"TemporaryFile(/tmp/multipartBody1523253308758306923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830713231,"filename":"image_10122025_19_32_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d61064770aee715cdc29fb7140c9176.jpg","text":"TemporaryFile(/tmp/multipartBody4790409831875715682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830713231,"filename":"image_10122025_19_32_25_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258602","file1":"1401258600","file0":"1401258598","file4":"1401258644","file5":"1401258646","file3":"1401258605"},"map_files_photo_id_array":[{"photo_id":"1401258646","filename":"file5"},{"photo_id":"1401258602","filename":"file2"},{"photo_id":"1401258644","filename":"file4"},{"photo_id":"1401258600","filename":"file1"},{"photo_id":"1401258598","filename":"file0"},{"photo_id":"1401258605","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258600":["hashtag1","hashtag2"]},{"1401258644":["hashtag1","hashtag2"]},{"1401258605":["hashtag1","hashtag2"]},{"1401258598":["hashtag1","hashtag2"]},{"1401258602":["hashtag1","hashtag2"]},{"1401258646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258600, 1401258644, 1401258605, 1401258598, 1401258602, 1401258646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.502656936645508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:18:17.466150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_32_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_55_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_25_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_14_9619.jpg', '/home/nano/Desktop/images/10122025/19/31/image_10122025_19_32_04_9625.jpg', '/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_55_10603.jpg', '/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_44_9602.jpg', '/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_35_9619.jpg', '/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_25_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_14_9619.jpg
/home/nano/Desktop/images/10122025/19/31/image_10122025_19_32_04_9625.jpg
/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_55_10603.jpg
/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_44_9602.jpg
/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_35_9619.jpg
/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_25_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":["1401258690","1401258759","1401258735","1401258755","1401258752","1401258793"],"photo_ids_order":["1401258690","1401258735","1401258752","1401258755","1401258759","1401258793"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a27fd8992c6269fd91fd8c13e600b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3536490777328260452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830758241,"filename":"image_10122025_19_32_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/12/27/5c5fda7b9a419e10bd3ac8583349a4de.jpg","text":"TemporaryFile(/tmp/multipartBody6748953976382625939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830758241,"filename":"image_10122025_19_31_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae5fbe481011a78c0dd9beeef550d9eb.jpg","text":"TemporaryFile(/tmp/multipartBody4275982985447355049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830758241,"filename":"image_10122025_19_32_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/12/27/66dd65f44558726023ce26bd5f272660.jpg","text":"TemporaryFile(/tmp/multipartBody1452255184389529362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830758241,"filename":"image_10122025_19_31_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/12/27/051346cf2d81e533da0bcd0f9f5676a2.jpg","text":"TemporaryFile(/tmp/multipartBody802832488100705509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830758241,"filename":"image_10122025_19_31_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e553ef5ff7d6c1b996de388171c2d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4902476967191088517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830758241,"filename":"image_10122025_19_31_25_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258752","file1":"1401258735","file0":"1401258690","file4":"1401258759","file5":"1401258793","file3":"1401258755"},"map_files_photo_id_array":[{"photo_id":"1401258793","filename":"file5"},{"photo_id":"1401258752","filename":"file2"},{"photo_id":"1401258759","filename":"file4"},{"photo_id":"1401258735","filename":"file1"},{"photo_id":"1401258690","filename":"file0"},{"photo_id":"1401258755","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258690":["hashtag1","hashtag2"]},{"1401258759":["hashtag1","hashtag2"]},{"1401258735":["hashtag1","hashtag2"]},{"1401258755":["hashtag1","hashtag2"]},{"1401258752":["hashtag1","hashtag2"]},{"1401258793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258690, 1401258759, 1401258735, 1401258755, 1401258752, 1401258793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.049158811569214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:19:03.346238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_31_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_24_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_14_9638.jpg', '/home/nano/Desktop/images/10122025/19/30/image_10122025_19_31_05_10620.jpg', '/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_54_9612.jpg', '/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_45_9606.jpg', '/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_35_10607.jpg', '/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_24_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_14_9638.jpg
/home/nano/Desktop/images/10122025/19/30/image_10122025_19_31_05_10620.jpg
/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_54_9612.jpg
/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_45_9606.jpg
/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_35_10607.jpg
/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_24_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":["1401258838","1401258843","1401258848","1401258845","1401258839","1401258841"],"photo_ids_order":["1401258838","1401258839","1401258841","1401258843","1401258845","1401258848"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab60b2950b2d738a1399916f72022ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3003553803718813254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830804194,"filename":"image_10122025_19_31_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/12/27/f3065ecfe207be03109b7fec1fac8c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2799519347567124807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830804194,"filename":"image_10122025_19_30_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ed0e5a281ef45d6232fea6f6af20f8f.jpg","text":"TemporaryFile(/tmp/multipartBody8367107378546106742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830804194,"filename":"image_10122025_19_30_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/12/27/3865c9aeb8219b657a49bc40540aa917.jpg","text":"TemporaryFile(/tmp/multipartBody1512205028202830094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830804194,"filename":"image_10122025_19_30_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b5167633bd7d93c6706001330e5fcc2.jpg","text":"TemporaryFile(/tmp/multipartBody5975531420010374655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830804194,"filename":"image_10122025_19_31_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35b2bb4ad32f6a26c3b6097fcbf68340.jpg","text":"TemporaryFile(/tmp/multipartBody7567452518827889693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830804194,"filename":"image_10122025_19_30_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258841","file1":"1401258839","file0":"1401258838","file4":"1401258845","file5":"1401258848","file3":"1401258843"},"map_files_photo_id_array":[{"photo_id":"1401258848","filename":"file5"},{"photo_id":"1401258841","filename":"file2"},{"photo_id":"1401258845","filename":"file4"},{"photo_id":"1401258839","filename":"file1"},{"photo_id":"1401258838","filename":"file0"},{"photo_id":"1401258843","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258838":["hashtag1","hashtag2"]},{"1401258843":["hashtag1","hashtag2"]},{"1401258848":["hashtag1","hashtag2"]},{"1401258845":["hashtag1","hashtag2"]},{"1401258839":["hashtag1","hashtag2"]},{"1401258841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258838, 1401258843, 1401258848, 1401258845, 1401258839, 1401258841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91156792640686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:19:47.561319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_30_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_25_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_15_10625.jpg', '/home/nano/Desktop/images/10122025/19/29/image_10122025_19_30_04_9606.jpg', '/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_54_9601.jpg', '/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_45_10626.jpg', '/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_34_9604.jpg', '/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_25_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_15_10625.jpg
/home/nano/Desktop/images/10122025/19/29/image_10122025_19_30_04_9606.jpg
/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_54_9601.jpg
/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_45_10626.jpg
/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_34_9604.jpg
/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_25_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":["1401258858","1401258860","1401258863","1401258857","1401258862","1401258859"],"photo_ids_order":["1401258857","1401258858","1401258859","1401258860","1401258862","1401258863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e078d4528817d1dbb8e77428f43c2df5.jpg","text":"TemporaryFile(/tmp/multipartBody4295305821491569995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830848350,"filename":"image_10122025_19_30_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/12/27/79dc5a8f3ca8eb79d24d7e1faec1e9ef.jpg","text":"TemporaryFile(/tmp/multipartBody8781582906521675776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830848350,"filename":"image_10122025_19_29_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8f38a87367c5f5889d2876699d39202.jpg","text":"TemporaryFile(/tmp/multipartBody8086699206755377965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830848350,"filename":"image_10122025_19_29_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cda19b690d7b364bf6ab59c5daf3209.jpg","text":"TemporaryFile(/tmp/multipartBody6708794758448931454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830848350,"filename":"image_10122025_19_30_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73b160b9c5903c3b1967c15fc13421d2.jpg","text":"TemporaryFile(/tmp/multipartBody7360620834313832841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830848350,"filename":"image_10122025_19_29_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/12/27/1b9c103ded6f3907b75f86ce72887356.jpg","text":"TemporaryFile(/tmp/multipartBody4667010723623398572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830848350,"filename":"image_10122025_19_29_54_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258859","file1":"1401258858","file0":"1401258857","file4":"1401258862","file5":"1401258863","file3":"1401258860"},"map_files_photo_id_array":[{"photo_id":"1401258863","filename":"file5"},{"photo_id":"1401258859","filename":"file2"},{"photo_id":"1401258862","filename":"file4"},{"photo_id":"1401258858","filename":"file1"},{"photo_id":"1401258857","filename":"file0"},{"photo_id":"1401258860","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258858":["hashtag1","hashtag2"]},{"1401258860":["hashtag1","hashtag2"]},{"1401258863":["hashtag1","hashtag2"]},{"1401258857":["hashtag1","hashtag2"]},{"1401258862":["hashtag1","hashtag2"]},{"1401258859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258858, 1401258860, 1401258863, 1401258857, 1401258862, 1401258859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.003923416137695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:20:32.648180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_29_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_25_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_15_10636.jpg', '/home/nano/Desktop/images/10122025/19/28/image_10122025_19_29_04_9622.jpg', '/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_55_10607.jpg', '/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_44_9607.jpg', '/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_35_9604.jpg', '/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_15_10636.jpg
/home/nano/Desktop/images/10122025/19/28/image_10122025_19_29_04_9622.jpg
/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_55_10607.jpg
/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_44_9607.jpg
/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_35_9604.jpg
/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_25_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":["1401258885","1401258876","1401258884","1401258872","1401258886","1401258874"],"photo_ids_order":["1401258872","1401258874","1401258876","1401258884","1401258885","1401258886"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/084ae113d58cd5f4c262fd39bfe2225d.jpg","text":"TemporaryFile(/tmp/multipartBody6769176339119291991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830893446,"filename":"image_10122025_19_28_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb27583aa885407fc72a9e46c8df4b1c.jpg","text":"TemporaryFile(/tmp/multipartBody9186507919920830350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830893446,"filename":"image_10122025_19_28_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30e7a1ca44b60297d71d6686a2bc9dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3071881440145276781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830893446,"filename":"image_10122025_19_28_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/12/27/41cebb93c924bcf23eb6c68602cf820e.jpg","text":"TemporaryFile(/tmp/multipartBody5247132153553649572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830893446,"filename":"image_10122025_19_29_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2320d17aabe479811ca2e8567bcd4063.jpg","text":"TemporaryFile(/tmp/multipartBody3474373025086564286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830893446,"filename":"image_10122025_19_28_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3046ae27e7b6b6c249dfe48f9f479bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8199850425795188515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830893446,"filename":"image_10122025_19_29_04_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258876","file1":"1401258874","file0":"1401258872","file4":"1401258885","file5":"1401258886","file3":"1401258884"},"map_files_photo_id_array":[{"photo_id":"1401258886","filename":"file5"},{"photo_id":"1401258876","filename":"file2"},{"photo_id":"1401258885","filename":"file4"},{"photo_id":"1401258874","filename":"file1"},{"photo_id":"1401258872","filename":"file0"},{"photo_id":"1401258884","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258885":["hashtag1","hashtag2"]},{"1401258876":["hashtag1","hashtag2"]},{"1401258884":["hashtag1","hashtag2"]},{"1401258872":["hashtag1","hashtag2"]},{"1401258886":["hashtag1","hashtag2"]},{"1401258874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258885, 1401258876, 1401258884, 1401258872, 1401258886, 1401258874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25514268875122 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:21:17.755534
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_28_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_54_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_24_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_14_9623.jpg', '/home/nano/Desktop/images/10122025/19/27/image_10122025_19_28_05_10628.jpg', '/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_54_9600.jpg', '/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_45_9609.jpg', '/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_35_10619.jpg', '/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_24_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_14_9623.jpg
/home/nano/Desktop/images/10122025/19/27/image_10122025_19_28_05_10628.jpg
/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_54_9600.jpg
/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_45_9609.jpg
/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_35_10619.jpg
/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_24_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":["1401258904","1401258894","1401258897","1401258900","1401258902","1401258892"],"photo_ids_order":["1401258892","1401258894","1401258897","1401258900","1401258902","1401258904"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c28d070702569d4d44fb094250d580b.jpg","text":"TemporaryFile(/tmp/multipartBody5928642246209437167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830938539,"filename":"image_10122025_19_27_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/12/27/3900cac69c2a510caaf441a7c8d304f8.jpg","text":"TemporaryFile(/tmp/multipartBody6210520228841362735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830938539,"filename":"image_10122025_19_28_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04b8208714653d9057d084d6f4734ae5.jpg","text":"TemporaryFile(/tmp/multipartBody414361259923245879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830938539,"filename":"image_10122025_19_27_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/12/27/d66ebb2d7cd84de53be2abfdd726f2de.jpg","text":"TemporaryFile(/tmp/multipartBody23846294553910820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830938539,"filename":"image_10122025_19_27_45_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3580380879b623750f09ac0660dcdc57.jpg","text":"TemporaryFile(/tmp/multipartBody7448761457484007943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830938539,"filename":"image_10122025_19_27_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15885c6e0022e0c25576bcbd8a04eb14.jpg","text":"TemporaryFile(/tmp/multipartBody1029592476905561519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830938539,"filename":"image_10122025_19_28_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258897","file1":"1401258894","file0":"1401258892","file4":"1401258902","file5":"1401258904","file3":"1401258900"},"map_files_photo_id_array":[{"photo_id":"1401258904","filename":"file5"},{"photo_id":"1401258897","filename":"file2"},{"photo_id":"1401258902","filename":"file4"},{"photo_id":"1401258894","filename":"file1"},{"photo_id":"1401258892","filename":"file0"},{"photo_id":"1401258900","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258904":["hashtag1","hashtag2"]},{"1401258894":["hashtag1","hashtag2"]},{"1401258897":["hashtag1","hashtag2"]},{"1401258900":["hashtag1","hashtag2"]},{"1401258902":["hashtag1","hashtag2"]},{"1401258892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258904, 1401258894, 1401258897, 1401258900, 1401258902, 1401258892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70987582206726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:22:02.469326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_27_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_25_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_15_9609.jpg', '/home/nano/Desktop/images/10122025/19/26/image_10122025_19_27_05_10618.jpg', '/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_54_9602.jpg', '/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_45_10619.jpg', '/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_34_9604.jpg', '/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_25_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_15_9609.jpg
/home/nano/Desktop/images/10122025/19/26/image_10122025_19_27_05_10618.jpg
/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_54_9602.jpg
/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_45_10619.jpg
/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_34_9604.jpg
/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_25_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":["1401258927","1401258912","1401258932","1401258920","1401258923","1401258917"],"photo_ids_order":["1401258912","1401258917","1401258920","1401258923","1401258927","1401258932"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ce5644cf8ca157da289d0126c72c567.jpg","text":"TemporaryFile(/tmp/multipartBody6962272996266306057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830983390,"filename":"image_10122025_19_26_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/12/27/d7a79236e8ac2c441f8da143d30068e8.jpg","text":"TemporaryFile(/tmp/multipartBody264088419910441307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830983390,"filename":"image_10122025_19_27_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2b11cda87ef9d16194cfc1f617ee8d6.jpg","text":"TemporaryFile(/tmp/multipartBody5946362705667662224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830983390,"filename":"image_10122025_19_26_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e3ac2ac33150aab94d4ddbdf49eb419.jpg","text":"TemporaryFile(/tmp/multipartBody4034705679655238581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830983390,"filename":"image_10122025_19_26_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/12/27/e7b63fddfb3eb8cb70bcf998ecd7d15b.jpg","text":"TemporaryFile(/tmp/multipartBody5076350396941794896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830983390,"filename":"image_10122025_19_26_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47bf971b93e45fd3f8485683f63c0d2d.jpg","text":"TemporaryFile(/tmp/multipartBody1900614295935116683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766830983390,"filename":"image_10122025_19_27_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258920","file1":"1401258917","file0":"1401258912","file4":"1401258927","file5":"1401258932","file3":"1401258923"},"map_files_photo_id_array":[{"photo_id":"1401258932","filename":"file5"},{"photo_id":"1401258920","filename":"file2"},{"photo_id":"1401258927","filename":"file4"},{"photo_id":"1401258917","filename":"file1"},{"photo_id":"1401258912","filename":"file0"},{"photo_id":"1401258923","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258927":["hashtag1","hashtag2"]},{"1401258912":["hashtag1","hashtag2"]},{"1401258932":["hashtag1","hashtag2"]},{"1401258920":["hashtag1","hashtag2"]},{"1401258923":["hashtag1","hashtag2"]},{"1401258917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258927, 1401258912, 1401258932, 1401258920, 1401258923, 1401258917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26119375228882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:22:46.878968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_26_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_14_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_15_10626.jpg', '/home/nano/Desktop/images/10122025/19/25/image_10122025_19_26_04_9604.jpg', '/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_55_10629.jpg', '/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_44_9602.jpg', '/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_35_9603.jpg', '/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_15_10626.jpg
/home/nano/Desktop/images/10122025/19/25/image_10122025_19_26_04_9604.jpg
/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_55_10629.jpg
/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_44_9602.jpg
/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_35_9603.jpg
/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_14_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":["1401258971","1401258980","1401258968","1401258976","1401258943","1401258973"],"photo_ids_order":["1401258943","1401258968","1401258971","1401258973","1401258976","1401258980"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3f8ae186ebf66ccbb8e7aaf2e4eebfe.jpg","text":"TemporaryFile(/tmp/multipartBody7995452748078905354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831027658,"filename":"image_10122025_19_25_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e284567b2931275ec3176855ec7bd52.jpg","text":"TemporaryFile(/tmp/multipartBody5267456230082798537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831027658,"filename":"image_10122025_19_25_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/12/27/d47afb60775a57faf4bd8471f91d2c28.jpg","text":"TemporaryFile(/tmp/multipartBody8414920547269492875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831027658,"filename":"image_10122025_19_26_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/12/27/f4aaa4b2d0a2ad8c6721e0288c64fe89.jpg","text":"TemporaryFile(/tmp/multipartBody3572594052818422863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831027658,"filename":"image_10122025_19_25_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f5adea8aea21599b27328a43207b0cd.jpg","text":"TemporaryFile(/tmp/multipartBody8707538519860056950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831027658,"filename":"image_10122025_19_26_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a945ed15725318397fbf3bb51bd2840.jpg","text":"TemporaryFile(/tmp/multipartBody2549708754114118487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831027658,"filename":"image_10122025_19_25_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258971","file1":"1401258968","file0":"1401258943","file4":"1401258976","file5":"1401258980","file3":"1401258973"},"map_files_photo_id_array":[{"photo_id":"1401258980","filename":"file5"},{"photo_id":"1401258971","filename":"file2"},{"photo_id":"1401258976","filename":"file4"},{"photo_id":"1401258968","filename":"file1"},{"photo_id":"1401258943","filename":"file0"},{"photo_id":"1401258973","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258971":["hashtag1","hashtag2"]},{"1401258980":["hashtag1","hashtag2"]},{"1401258968":["hashtag1","hashtag2"]},{"1401258976":["hashtag1","hashtag2"]},{"1401258943":["hashtag1","hashtag2"]},{"1401258973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258971, 1401258980, 1401258968, 1401258976, 1401258943, 1401258973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80544137954712 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:23:32.074312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_25_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_15_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_24_05_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/24/image_10122025_19_25_05_10617.jpg', '/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_54_9599.jpg', '/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_35_10606.jpg', '/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_24_9599.jpg', '/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_15_9600.jpg', '/home/nano/Desktop/images/10122025/19/23/image_10122025_19_24_05_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/24/image_10122025_19_25_05_10617.jpg
/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_54_9599.jpg
/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_35_10606.jpg
/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_24_9599.jpg
/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_15_9600.jpg
/home/nano/Desktop/images/10122025/19/23/image_10122025_19_24_05_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":["1401258993","1401258995","1401258998","1401258992","1401259012","1401259009"],"photo_ids_order":["1401258992","1401258993","1401258995","1401258998","1401259009","1401259012"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e67f9afa91473d152f69a845f74d8e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8247872878497159475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831072909,"filename":"image_10122025_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/12/27/daffc08874530e84932d0d0e4b48829f.jpg","text":"TemporaryFile(/tmp/multipartBody1520729957277201583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831072909,"filename":"image_10122025_19_24_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a67e2b16330bd402ad64568d325ec30.jpg","text":"TemporaryFile(/tmp/multipartBody7826745863066371440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831072909,"filename":"image_10122025_19_24_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/12/27/9aa55f2373bffa6c24098d9775ae28f1.jpg","text":"TemporaryFile(/tmp/multipartBody6890280524711455440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831072909,"filename":"image_10122025_19_25_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6e8f35201d5a9974788da41d224d354.jpg","text":"TemporaryFile(/tmp/multipartBody87433325855511796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831072909,"filename":"image_10122025_19_24_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41427a55222217ac90be67655b479539.jpg","text":"TemporaryFile(/tmp/multipartBody6598865734430845164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831072909,"filename":"image_10122025_19_24_15_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401258995","file1":"1401258993","file0":"1401258992","file4":"1401259009","file5":"1401259012","file3":"1401258998"},"map_files_photo_id_array":[{"photo_id":"1401259012","filename":"file5"},{"photo_id":"1401258995","filename":"file2"},{"photo_id":"1401259009","filename":"file4"},{"photo_id":"1401258993","filename":"file1"},{"photo_id":"1401258992","filename":"file0"},{"photo_id":"1401258998","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401258993":["hashtag1","hashtag2"]},{"1401258995":["hashtag1","hashtag2"]},{"1401258998":["hashtag1","hashtag2"]},{"1401258992":["hashtag1","hashtag2"]},{"1401259012":["hashtag1","hashtag2"]},{"1401259009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401258993, 1401258995, 1401258998, 1401258992, 1401259012, 1401259009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.690310955047607 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:24:17.078469
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/11/24/image_27122025_11_24_35_10527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/11/24/image_27122025_11_24_35_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/11/24/image_27122025_11_24_35_10527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401259016"],"photo_id":"1401259016","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50ffdc3c194e22aeeef6746b6755770a.jpg","text":"TemporaryFile(/tmp/multipartBody941428035302980845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831117316,"filename":"image_27122025_11_24_35_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401259016"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401259016"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.885905265808105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:24:32.079548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_15_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_23_04_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_54_9596.jpg', '/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_45_10610.jpg', '/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_34_9602.jpg', '/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_25_9600.jpg', '/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_15_10621.jpg', '/home/nano/Desktop/images/10122025/19/22/image_10122025_19_23_04_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_54_9596.jpg
/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_45_10610.jpg
/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_34_9602.jpg
/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_25_9600.jpg
/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_15_10621.jpg
/home/nano/Desktop/images/10122025/19/22/image_10122025_19_23_04_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":["1401259029","1401259023","1401259026","1401259028","1401259030","1401259024"],"photo_ids_order":["1401259023","1401259024","1401259026","1401259028","1401259029","1401259030"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99bfa20385eaf8a2d19ff6aaa63621e9.jpg","text":"TemporaryFile(/tmp/multipartBody7157683843303021024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831132860,"filename":"image_10122025_19_23_15_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/868818fd4e852157003dbb180f7d1bed.jpg","text":"TemporaryFile(/tmp/multipartBody1247050522561042424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831132860,"filename":"image_10122025_19_23_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/12/27/db7cf5ed9cd65fe44e687761e6853c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6335052138631496552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831132860,"filename":"image_10122025_19_23_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/12/27/f4d8bd1dd0c8668e50274fe8d1365661.jpg","text":"TemporaryFile(/tmp/multipartBody382737921566620800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831132860,"filename":"image_10122025_19_23_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2a28b992df98b42c5ef79265dddb352.jpg","text":"TemporaryFile(/tmp/multipartBody2439363271840509443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831132860,"filename":"image_10122025_19_23_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/12/27/0214feffbc902f7a1cdd4bfc2d757c52.jpg","text":"TemporaryFile(/tmp/multipartBody5196611619738686334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831132860,"filename":"image_10122025_19_23_45_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259026","file1":"1401259024","file0":"1401259023","file4":"1401259029","file5":"1401259030","file3":"1401259028"},"map_files_photo_id_array":[{"photo_id":"1401259030","filename":"file5"},{"photo_id":"1401259026","filename":"file2"},{"photo_id":"1401259029","filename":"file4"},{"photo_id":"1401259024","filename":"file1"},{"photo_id":"1401259023","filename":"file0"},{"photo_id":"1401259028","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259029":["hashtag1","hashtag2"]},{"1401259023":["hashtag1","hashtag2"]},{"1401259026":["hashtag1","hashtag2"]},{"1401259028":["hashtag1","hashtag2"]},{"1401259030":["hashtag1","hashtag2"]},{"1401259024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259029, 1401259023, 1401259026, 1401259028, 1401259030, 1401259024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.427173137664795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:25:17.253721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_22_05_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_55_10613.jpg', '/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_44_9607.jpg', '/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_35_9602.jpg', '/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_25_10608.jpg', '/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_14_9626.jpg', '/home/nano/Desktop/images/10122025/19/21/image_10122025_19_22_05_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_55_10613.jpg
/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_44_9607.jpg
/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_35_9602.jpg
/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_25_10608.jpg
/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_14_9626.jpg
/home/nano/Desktop/images/10122025/19/21/image_10122025_19_22_05_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":["1401259044","1401259046","1401259034","1401259042","1401259039","1401259036"],"photo_ids_order":["1401259034","1401259036","1401259039","1401259042","1401259044","1401259046"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/124ea4713b64a3ef03dfe1fdbbaeb01d.jpg","text":"TemporaryFile(/tmp/multipartBody936632594838742029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831178034,"filename":"image_10122025_19_22_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/12/27/41565956c9263cd5518f7b57d3471180.jpg","text":"TemporaryFile(/tmp/multipartBody2890926764193623035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831178034,"filename":"image_10122025_19_22_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/271a40d11c7971bd23322ff032b74254.jpg","text":"TemporaryFile(/tmp/multipartBody2840678033103535919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831178034,"filename":"image_10122025_19_22_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f8adc781ba9d19a792da191f82656aa.jpg","text":"TemporaryFile(/tmp/multipartBody7616343188975627205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831178034,"filename":"image_10122025_19_22_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a3d6fa9e95fcf6df1a22150992270fc.jpg","text":"TemporaryFile(/tmp/multipartBody4266379382244755296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831178034,"filename":"image_10122025_19_22_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/753538e4b6457bbb5a4517a7f361f75c.jpg","text":"TemporaryFile(/tmp/multipartBody7417597128115111060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831178034,"filename":"image_10122025_19_22_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259039","file1":"1401259036","file0":"1401259034","file4":"1401259044","file5":"1401259046","file3":"1401259042"},"map_files_photo_id_array":[{"photo_id":"1401259046","filename":"file5"},{"photo_id":"1401259039","filename":"file2"},{"photo_id":"1401259044","filename":"file4"},{"photo_id":"1401259036","filename":"file1"},{"photo_id":"1401259034","filename":"file0"},{"photo_id":"1401259042","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259044":["hashtag1","hashtag2"]},{"1401259046":["hashtag1","hashtag2"]},{"1401259034":["hashtag1","hashtag2"]},{"1401259042":["hashtag1","hashtag2"]},{"1401259039":["hashtag1","hashtag2"]},{"1401259036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259044, 1401259046, 1401259034, 1401259042, 1401259039, 1401259036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.324904918670654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:26:02.817437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_54_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_21_05_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_54_9597.jpg', '/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_45_9616.jpg', '/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_35_10611.jpg', '/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_24_9599.jpg', '/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_15_9621.jpg', '/home/nano/Desktop/images/10122025/19/20/image_10122025_19_21_05_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_54_9597.jpg
/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_45_9616.jpg
/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_35_10611.jpg
/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_24_9599.jpg
/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_15_9621.jpg
/home/nano/Desktop/images/10122025/19/20/image_10122025_19_21_05_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":["1401259080","1401259074","1401259077","1401259070","1401259075","1401259072"],"photo_ids_order":["1401259070","1401259072","1401259074","1401259075","1401259077","1401259080"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca7ff5abfbc3eae67baae7cb991de160.jpg","text":"TemporaryFile(/tmp/multipartBody8722551076070348496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831223675,"filename":"image_10122025_19_21_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1e1deba26f4f82bc9f26cc8a1af7a24.jpg","text":"TemporaryFile(/tmp/multipartBody3486682277369104287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831223675,"filename":"image_10122025_19_21_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/addca2bf6a74a034b914253ffb9d0b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1397435116244469381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831223675,"filename":"image_10122025_19_21_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70db1cd6aac4ad88e2a3ae287ee95de3.jpg","text":"TemporaryFile(/tmp/multipartBody8797885930970038366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831223675,"filename":"image_10122025_19_21_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/12/27/a082121d367ab6eee8ddf6539fd4f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody2443361369241385978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831223675,"filename":"image_10122025_19_21_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/12/27/12ffac9620d853e5b96e8239ff7a6bb7.jpg","text":"TemporaryFile(/tmp/multipartBody8103968012635026734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831223675,"filename":"image_10122025_19_21_45_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259074","file1":"1401259072","file0":"1401259070","file4":"1401259077","file5":"1401259080","file3":"1401259075"},"map_files_photo_id_array":[{"photo_id":"1401259080","filename":"file5"},{"photo_id":"1401259074","filename":"file2"},{"photo_id":"1401259077","filename":"file4"},{"photo_id":"1401259072","filename":"file1"},{"photo_id":"1401259070","filename":"file0"},{"photo_id":"1401259075","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259080":["hashtag1","hashtag2"]},{"1401259074":["hashtag1","hashtag2"]},{"1401259077":["hashtag1","hashtag2"]},{"1401259070":["hashtag1","hashtag2"]},{"1401259075":["hashtag1","hashtag2"]},{"1401259072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259080, 1401259074, 1401259077, 1401259070, 1401259075, 1401259072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07673239707947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:26:47.307743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_20_04_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_54_9605.jpg', '/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_45_10611.jpg', '/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_34_9612.jpg', '/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_25_9606.jpg', '/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_15_10632.jpg', '/home/nano/Desktop/images/10122025/19/19/image_10122025_19_20_04_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_54_9605.jpg
/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_45_10611.jpg
/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_34_9612.jpg
/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_25_9606.jpg
/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_15_10632.jpg
/home/nano/Desktop/images/10122025/19/19/image_10122025_19_20_04_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":["1401259247","1401259211","1401259241","1401259249","1401259246","1401259278"],"photo_ids_order":["1401259211","1401259241","1401259246","1401259247","1401259249","1401259278"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c4fb958b40ad7508778083687d1a950.jpg","text":"TemporaryFile(/tmp/multipartBody9196384314422534478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831268091,"filename":"image_10122025_19_20_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92d5c0694dea7dac6dd643d741ff3681.jpg","text":"TemporaryFile(/tmp/multipartBody3119386013048281308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831268091,"filename":"image_10122025_19_20_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/12/27/de1ce9fdddace3c24e50fffe23dd1530.jpg","text":"TemporaryFile(/tmp/multipartBody8406365739242873908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831268091,"filename":"image_10122025_19_20_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39fbc0cc5794ad4e3c3ca93a036d8da5.jpg","text":"TemporaryFile(/tmp/multipartBody6881447721459680250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831268091,"filename":"image_10122025_19_20_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2970431dcb32e06e1c0bf527c900995.jpg","text":"TemporaryFile(/tmp/multipartBody1654745048089819766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831268091,"filename":"image_10122025_19_20_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/12/27/ac0159d21b3126458bc688e6a71ed55c.jpg","text":"TemporaryFile(/tmp/multipartBody5233584149716486061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831268091,"filename":"image_10122025_19_20_04_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259246","file1":"1401259241","file0":"1401259211","file4":"1401259249","file5":"1401259278","file3":"1401259247"},"map_files_photo_id_array":[{"photo_id":"1401259278","filename":"file5"},{"photo_id":"1401259246","filename":"file2"},{"photo_id":"1401259249","filename":"file4"},{"photo_id":"1401259241","filename":"file1"},{"photo_id":"1401259211","filename":"file0"},{"photo_id":"1401259247","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259247":["hashtag1","hashtag2"]},{"1401259211":["hashtag1","hashtag2"]},{"1401259241":["hashtag1","hashtag2"]},{"1401259249":["hashtag1","hashtag2"]},{"1401259246":["hashtag1","hashtag2"]},{"1401259278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259247, 1401259211, 1401259241, 1401259249, 1401259246, 1401259278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79392695426941 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:27:32.428237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_19_05_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_55_10610.jpg', '/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_44_9603.jpg', '/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_35_9597.jpg', '/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_25_10610.jpg', '/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_14_9623.jpg', '/home/nano/Desktop/images/10122025/19/18/image_10122025_19_19_05_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_55_10610.jpg
/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_44_9603.jpg
/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_35_9597.jpg
/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_25_10610.jpg
/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_14_9623.jpg
/home/nano/Desktop/images/10122025/19/18/image_10122025_19_19_05_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":["1401259386","1401259329","1401259322","1401259387","1401259360","1401259324"],"photo_ids_order":["1401259322","1401259324","1401259329","1401259360","1401259386","1401259387"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97048ee726ad9d85a27415274d43b71b.jpg","text":"TemporaryFile(/tmp/multipartBody1336542523643150727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831313222,"filename":"image_10122025_19_19_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/12/27/7fc34b0f8e11d33bbeedd6ea61193514.jpg","text":"TemporaryFile(/tmp/multipartBody1399154270704102388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831313222,"filename":"image_10122025_19_19_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c7895fee77ca8f09ba99fd66cdc5452.jpg","text":"TemporaryFile(/tmp/multipartBody858020808764637006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831313222,"filename":"image_10122025_19_19_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03bb7464d7c04d5b08f64c70e29398f6.jpg","text":"TemporaryFile(/tmp/multipartBody3473697696937127774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831313222,"filename":"image_10122025_19_19_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e7e96524148cf99ae85943fe9732167.jpg","text":"TemporaryFile(/tmp/multipartBody25570073778512297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831313222,"filename":"image_10122025_19_19_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5202a1155079db98372964c1f9fa4fb0.jpg","text":"TemporaryFile(/tmp/multipartBody4602587900185508004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831313222,"filename":"image_10122025_19_19_44_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259329","file1":"1401259324","file0":"1401259322","file4":"1401259386","file5":"1401259387","file3":"1401259360"},"map_files_photo_id_array":[{"photo_id":"1401259387","filename":"file5"},{"photo_id":"1401259329","filename":"file2"},{"photo_id":"1401259386","filename":"file4"},{"photo_id":"1401259324","filename":"file1"},{"photo_id":"1401259322","filename":"file0"},{"photo_id":"1401259360","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259386":["hashtag1","hashtag2"]},{"1401259329":["hashtag1","hashtag2"]},{"1401259322":["hashtag1","hashtag2"]},{"1401259387":["hashtag1","hashtag2"]},{"1401259360":["hashtag1","hashtag2"]},{"1401259324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259386, 1401259329, 1401259322, 1401259387, 1401259360, 1401259324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1204195022583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:28:17.512277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_54_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_18_05_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_54_9600.jpg', '/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_44_9604.jpg', '/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_35_10612.jpg', '/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_24_9598.jpg', '/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_15_9610.jpg', '/home/nano/Desktop/images/10122025/19/17/image_10122025_19_18_05_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_54_9600.jpg
/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_44_9604.jpg
/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_35_10612.jpg
/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_24_9598.jpg
/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_15_9610.jpg
/home/nano/Desktop/images/10122025/19/17/image_10122025_19_18_05_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":["1401259392","1401259401","1401259394","1401259397","1401259399","1401259403"],"photo_ids_order":["1401259392","1401259394","1401259397","1401259399","1401259401","1401259403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5a4b86b5a9b9bb4d4d2789e0b0877b9.jpg","text":"TemporaryFile(/tmp/multipartBody2419317711673934692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831358295,"filename":"image_10122025_19_18_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/12/27/b8ad00e6999269503df09b51164bdf69.jpg","text":"TemporaryFile(/tmp/multipartBody5535066902240186595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831358295,"filename":"image_10122025_19_18_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7390d6f40d10fff6186f80b39b8a1892.jpg","text":"TemporaryFile(/tmp/multipartBody3570920847631017245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831358295,"filename":"image_10122025_19_18_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/12/27/6ccc5b996fe85e412c2deeda3361e609.jpg","text":"TemporaryFile(/tmp/multipartBody9206484153892030384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831358295,"filename":"image_10122025_19_18_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bdf877c8fdbeaf6a6800d281cd52da47.jpg","text":"TemporaryFile(/tmp/multipartBody2347148524387997560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831358295,"filename":"image_10122025_19_18_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/12/27/8464f51f246e3af38185a59475e22c31.jpg","text":"TemporaryFile(/tmp/multipartBody5298666100209169977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831358295,"filename":"image_10122025_19_18_05_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259397","file1":"1401259394","file0":"1401259392","file4":"1401259401","file5":"1401259403","file3":"1401259399"},"map_files_photo_id_array":[{"photo_id":"1401259403","filename":"file5"},{"photo_id":"1401259397","filename":"file2"},{"photo_id":"1401259401","filename":"file4"},{"photo_id":"1401259394","filename":"file1"},{"photo_id":"1401259392","filename":"file0"},{"photo_id":"1401259399","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259392":["hashtag1","hashtag2"]},{"1401259401":["hashtag1","hashtag2"]},{"1401259394":["hashtag1","hashtag2"]},{"1401259397":["hashtag1","hashtag2"]},{"1401259399":["hashtag1","hashtag2"]},{"1401259403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259392, 1401259401, 1401259394, 1401259397, 1401259399, 1401259403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.645779371261597 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:29:03.620247
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_17_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_55_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_45_10611.jpg', '/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_34_9602.jpg', '/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_25_9599.jpg', '/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_15_10646.jpg', '/home/nano/Desktop/images/10122025/19/16/image_10122025_19_17_04_9606.jpg', '/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_45_10611.jpg
/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_34_9602.jpg
/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_25_9599.jpg
/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_15_10646.jpg
/home/nano/Desktop/images/10122025/19/16/image_10122025_19_17_04_9606.jpg
/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_55_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":["1401259407","1401259422","1401259419","1401259409","1401259414","1401259417"],"photo_ids_order":["1401259407","1401259409","1401259414","1401259417","1401259419","1401259422"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dacc300db85654506692f02b6be60b3d.jpg","text":"TemporaryFile(/tmp/multipartBody9142616794236998261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831404418,"filename":"image_10122025_19_17_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29bab3dc141a4e756c82b73f4aca51db.jpg","text":"TemporaryFile(/tmp/multipartBody4433064278576241211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831404418,"filename":"image_10122025_19_16_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88d869f331d6c62138312319874bc687.jpg","text":"TemporaryFile(/tmp/multipartBody3315662089550210421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831404418,"filename":"image_10122025_19_17_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/12/27/bd30aad3bd27c7279ecb8952538c0f16.jpg","text":"TemporaryFile(/tmp/multipartBody8763634714142308135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831404418,"filename":"image_10122025_19_17_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/12/27/ff0497d9a345d89a566967eab8e97caf.jpg","text":"TemporaryFile(/tmp/multipartBody6391242887812052269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831404418,"filename":"image_10122025_19_17_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d725d03da2b8a1faefe89abf97fffe8.jpg","text":"TemporaryFile(/tmp/multipartBody8329287835690698301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831404418,"filename":"image_10122025_19_17_15_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259414","file1":"1401259409","file0":"1401259407","file4":"1401259419","file5":"1401259422","file3":"1401259417"},"map_files_photo_id_array":[{"photo_id":"1401259422","filename":"file5"},{"photo_id":"1401259414","filename":"file2"},{"photo_id":"1401259419","filename":"file4"},{"photo_id":"1401259409","filename":"file1"},{"photo_id":"1401259407","filename":"file0"},{"photo_id":"1401259417","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259407":["hashtag1","hashtag2"]},{"1401259422":["hashtag1","hashtag2"]},{"1401259419":["hashtag1","hashtag2"]},{"1401259409":["hashtag1","hashtag2"]},{"1401259414":["hashtag1","hashtag2"]},{"1401259417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259407, 1401259422, 1401259419, 1401259409, 1401259414, 1401259417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95221424102783 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:29:47.621424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_16_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_44_9606.jpg', '/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_35_9597.jpg', '/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_25_10612.jpg', '/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_14_9613.jpg', '/home/nano/Desktop/images/10122025/19/15/image_10122025_19_16_05_10613.jpg', '/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_44_9606.jpg
/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_35_9597.jpg
/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_25_10612.jpg
/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_14_9613.jpg
/home/nano/Desktop/images/10122025/19/15/image_10122025_19_16_05_10613.jpg
/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_54_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":["1401259473","1401259475","1401259460","1401259471","1401259468","1401259461"],"photo_ids_order":["1401259460","1401259461","1401259468","1401259471","1401259473","1401259475"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/939d6471977fb84ae4dcde8e658ba5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4263917659460906771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831448416,"filename":"image_10122025_19_16_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43ef08baec01bc67b11cd9a858c5dde6.jpg","text":"TemporaryFile(/tmp/multipartBody2740004798356379389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831448416,"filename":"image_10122025_19_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/12/27/d55ed640893fd4f5d547ca007182d3ee.jpg","text":"TemporaryFile(/tmp/multipartBody6545837006253335808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831448416,"filename":"image_10122025_19_16_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/12/27/fce2f2042f09d185859fad1830e4aa70.jpg","text":"TemporaryFile(/tmp/multipartBody2573625102651935156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831448416,"filename":"image_10122025_19_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/12/27/41e6f9b8d14aef25f59014075538d792.jpg","text":"TemporaryFile(/tmp/multipartBody8416277820846020055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831448416,"filename":"image_10122025_19_16_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5542e9a2e5065db48f57371d41e15544.jpg","text":"TemporaryFile(/tmp/multipartBody6159312466170277566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831448416,"filename":"image_10122025_19_16_35_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259468","file1":"1401259461","file0":"1401259460","file4":"1401259473","file5":"1401259475","file3":"1401259471"},"map_files_photo_id_array":[{"photo_id":"1401259475","filename":"file5"},{"photo_id":"1401259468","filename":"file2"},{"photo_id":"1401259473","filename":"file4"},{"photo_id":"1401259461","filename":"file1"},{"photo_id":"1401259460","filename":"file0"},{"photo_id":"1401259471","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259473":["hashtag1","hashtag2"]},{"1401259475":["hashtag1","hashtag2"]},{"1401259460":["hashtag1","hashtag2"]},{"1401259471":["hashtag1","hashtag2"]},{"1401259468":["hashtag1","hashtag2"]},{"1401259461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259473, 1401259475, 1401259460, 1401259471, 1401259468, 1401259461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.85667657852173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:31:02.531648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_15_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_54_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_44_9601.jpg', '/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_35_10605.jpg', '/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_24_9598.jpg', '/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_15_9628.jpg', '/home/nano/Desktop/images/10122025/19/14/image_10122025_19_15_05_10623.jpg', '/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_54_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_44_9601.jpg
/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_35_10605.jpg
/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_24_9598.jpg
/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_15_9628.jpg
/home/nano/Desktop/images/10122025/19/14/image_10122025_19_15_05_10623.jpg
/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_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":["1401259479","1401259481","1401259483","1401259486","1401259480","1401259482"],"photo_ids_order":["1401259479","1401259480","1401259481","1401259482","1401259483","1401259486"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7e77d46af34f345d1fb4cf1f90b6ba8.jpg","text":"TemporaryFile(/tmp/multipartBody2899044558285159565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831523338,"filename":"image_10122025_19_15_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/12/27/eef123e114c67bffd120cad94387f770.jpg","text":"TemporaryFile(/tmp/multipartBody1750725394220862766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831523338,"filename":"image_10122025_19_15_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/12/27/946df28e170ae8d7e150a54177793506.jpg","text":"TemporaryFile(/tmp/multipartBody142484705243697786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831523338,"filename":"image_10122025_19_15_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0aa9bccb3fbd1fbd06ba547cbf902b4.jpg","text":"TemporaryFile(/tmp/multipartBody1170245650544850286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831523338,"filename":"image_10122025_19_14_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/12/27/28becaabbc61e93c0f5c39b130226887.jpg","text":"TemporaryFile(/tmp/multipartBody2219582091332849350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831523338,"filename":"image_10122025_19_15_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4883dbe6f0c0efd3ad448851d35cf975.jpg","text":"TemporaryFile(/tmp/multipartBody2306236948959576793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831523338,"filename":"image_10122025_19_15_15_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259481","file1":"1401259480","file0":"1401259479","file4":"1401259483","file5":"1401259486","file3":"1401259482"},"map_files_photo_id_array":[{"photo_id":"1401259486","filename":"file5"},{"photo_id":"1401259481","filename":"file2"},{"photo_id":"1401259483","filename":"file4"},{"photo_id":"1401259480","filename":"file1"},{"photo_id":"1401259479","filename":"file0"},{"photo_id":"1401259482","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259479":["hashtag1","hashtag2"]},{"1401259481":["hashtag1","hashtag2"]},{"1401259483":["hashtag1","hashtag2"]},{"1401259486":["hashtag1","hashtag2"]},{"1401259480":["hashtag1","hashtag2"]},{"1401259482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259479, 1401259481, 1401259483, 1401259486, 1401259480, 1401259482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38310647010803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:31:46.820373
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_14_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_55_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_45_10612.jpg', '/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_34_9602.jpg', '/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_25_9598.jpg', '/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_15_10629.jpg', '/home/nano/Desktop/images/10122025/19/13/image_10122025_19_14_04_9607.jpg', '/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_55_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_45_10612.jpg
/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_34_9602.jpg
/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_25_9598.jpg
/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_15_10629.jpg
/home/nano/Desktop/images/10122025/19/13/image_10122025_19_14_04_9607.jpg
/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_55_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":["1401259506","1401259499","1401259503","1401259505","1401259498","1401259504"],"photo_ids_order":["1401259498","1401259499","1401259503","1401259504","1401259505","1401259506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69dd70a2db22cb16a2bc55fc8a456764.jpg","text":"TemporaryFile(/tmp/multipartBody5357413294382201141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831567613,"filename":"image_10122025_19_13_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abc75978eb8cf3535f85d5953ea1eef0.jpg","text":"TemporaryFile(/tmp/multipartBody6194685517267398825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831567613,"filename":"image_10122025_19_14_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/12/27/1489dfe473b01b1896e3f544ec8b7984.jpg","text":"TemporaryFile(/tmp/multipartBody3836465418697134779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831567613,"filename":"image_10122025_19_14_25_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1bf3f1cfd86982da712cf76a64c9ac64.jpg","text":"TemporaryFile(/tmp/multipartBody4817348821090011902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831567613,"filename":"image_10122025_19_14_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/12/27/2a15390b3184e57df431aaf9a3f7697d.jpg","text":"TemporaryFile(/tmp/multipartBody8010930006233808047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831567613,"filename":"image_10122025_19_14_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebe9bd7bc1fe515fc191fba110066185.jpg","text":"TemporaryFile(/tmp/multipartBody8670127038540691412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831567613,"filename":"image_10122025_19_14_15_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259503","file1":"1401259499","file0":"1401259498","file4":"1401259505","file5":"1401259506","file3":"1401259504"},"map_files_photo_id_array":[{"photo_id":"1401259506","filename":"file5"},{"photo_id":"1401259503","filename":"file2"},{"photo_id":"1401259505","filename":"file4"},{"photo_id":"1401259499","filename":"file1"},{"photo_id":"1401259498","filename":"file0"},{"photo_id":"1401259504","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259506":["hashtag1","hashtag2"]},{"1401259499":["hashtag1","hashtag2"]},{"1401259503":["hashtag1","hashtag2"]},{"1401259505":["hashtag1","hashtag2"]},{"1401259498":["hashtag1","hashtag2"]},{"1401259504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259506, 1401259499, 1401259503, 1401259505, 1401259498, 1401259504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48201322555542 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:32:31.919372
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_14_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_13_05_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_44_9599.jpg', '/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_35_9603.jpg', '/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_25_10602.jpg', '/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_14_9610.jpg', '/home/nano/Desktop/images/10122025/19/12/image_10122025_19_13_05_10607.jpg', '/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_44_9599.jpg
/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_35_9603.jpg
/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_25_10602.jpg
/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_14_9610.jpg
/home/nano/Desktop/images/10122025/19/12/image_10122025_19_13_05_10607.jpg
/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_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":["1401259524","1401259512","1401259515","1401259520","1401259523","1401259517"],"photo_ids_order":["1401259512","1401259515","1401259517","1401259520","1401259523","1401259524"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81bb7b5f33bd9cf6fed8fd0c8a9cd1c5.jpg","text":"TemporaryFile(/tmp/multipartBody1351675259863989935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831612718,"filename":"image_10122025_19_12_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/12/27/b899b160860053ce9a6fea8a65323a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6604055908642613477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831612718,"filename":"image_10122025_19_13_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/12/27/222e12fc89a39ce830ea60b1e77d9f13.jpg","text":"TemporaryFile(/tmp/multipartBody7275417680554744501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831612718,"filename":"image_10122025_19_13_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd0b564cb08baf71d611079fa9d20fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1617039518565886446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831612718,"filename":"image_10122025_19_13_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/12/27/1637ba48854587c7e6dff9ba01ae7505.jpg","text":"TemporaryFile(/tmp/multipartBody6176467329831517506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831612718,"filename":"image_10122025_19_13_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4b9d9eb8324272d14033994ffc504a9.jpg","text":"TemporaryFile(/tmp/multipartBody9061836454851588604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831612718,"filename":"image_10122025_19_13_25_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259517","file1":"1401259515","file0":"1401259512","file4":"1401259523","file5":"1401259524","file3":"1401259520"},"map_files_photo_id_array":[{"photo_id":"1401259524","filename":"file5"},{"photo_id":"1401259517","filename":"file2"},{"photo_id":"1401259523","filename":"file4"},{"photo_id":"1401259515","filename":"file1"},{"photo_id":"1401259512","filename":"file0"},{"photo_id":"1401259520","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259524":["hashtag1","hashtag2"]},{"1401259512":["hashtag1","hashtag2"]},{"1401259515":["hashtag1","hashtag2"]},{"1401259520":["hashtag1","hashtag2"]},{"1401259523":["hashtag1","hashtag2"]},{"1401259517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259524, 1401259512, 1401259515, 1401259520, 1401259523, 1401259517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86479711532593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:33:17.011894
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/11/33/image_27122025_11_33_44_9522.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/11/33/image_27122025_11_33_44_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/11/33/image_27122025_11_33_44_9522.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401259525"],"photo_id":"1401259525","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f81c75ef4c3075ec42a7dc9ec3e8515.jpg","text":"TemporaryFile(/tmp/multipartBody2060454618601987712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831657261,"filename":"image_27122025_11_33_44_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401259525"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401259525"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.236250162124634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:33:32.029223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_12_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_45_9618.jpg', '/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_35_10612.jpg', '/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_24_9615.jpg', '/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_15_9617.jpg', '/home/nano/Desktop/images/10122025/19/11/image_10122025_19_12_05_10633.jpg', '/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_45_9618.jpg
/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_35_10612.jpg
/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_24_9615.jpg
/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_15_9617.jpg
/home/nano/Desktop/images/10122025/19/11/image_10122025_19_12_05_10633.jpg
/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_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":["1401259533","1401259536","1401259544","1401259531","1401259540","1401259543"],"photo_ids_order":["1401259531","1401259533","1401259536","1401259540","1401259543","1401259544"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffe58fabafa592a6fb7144912fabe90f.jpg","text":"TemporaryFile(/tmp/multipartBody2889840502947400453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831672806,"filename":"image_10122025_19_12_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d9051daadb84be99a2c29fe160b7f17.jpg","text":"TemporaryFile(/tmp/multipartBody8891254946204129558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831672806,"filename":"image_10122025_19_12_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/12/27/ccf1c3c062ba73a8b21385f98345ac1f.jpg","text":"TemporaryFile(/tmp/multipartBody3562790640010638209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831672806,"filename":"image_10122025_19_11_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/12/27/1030337cd3a60d323307ba2af5eb28ba.jpg","text":"TemporaryFile(/tmp/multipartBody8186743260592858245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831672806,"filename":"image_10122025_19_12_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8e589328d0798be7cbc654f34618886.jpg","text":"TemporaryFile(/tmp/multipartBody8137319614318436817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831672806,"filename":"image_10122025_19_12_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c78449e6646e7862c3d555c19fa3857c.jpg","text":"TemporaryFile(/tmp/multipartBody3799107409822310138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831672806,"filename":"image_10122025_19_12_05_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259536","file1":"1401259533","file0":"1401259531","file4":"1401259543","file5":"1401259544","file3":"1401259540"},"map_files_photo_id_array":[{"photo_id":"1401259544","filename":"file5"},{"photo_id":"1401259536","filename":"file2"},{"photo_id":"1401259543","filename":"file4"},{"photo_id":"1401259533","filename":"file1"},{"photo_id":"1401259531","filename":"file0"},{"photo_id":"1401259540","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259533":["hashtag1","hashtag2"]},{"1401259536":["hashtag1","hashtag2"]},{"1401259544":["hashtag1","hashtag2"]},{"1401259531":["hashtag1","hashtag2"]},{"1401259540":["hashtag1","hashtag2"]},{"1401259543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259533, 1401259536, 1401259544, 1401259531, 1401259540, 1401259543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.142791986465454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:34:17.214433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_25_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_11_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_55_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_45_10602.jpg', '/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_34_9599.jpg', '/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_25_9616.jpg', '/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_15_10649.jpg', '/home/nano/Desktop/images/10122025/19/10/image_10122025_19_11_04_9619.jpg', '/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_55_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_45_10602.jpg
/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_34_9599.jpg
/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_25_9616.jpg
/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_15_10649.jpg
/home/nano/Desktop/images/10122025/19/10/image_10122025_19_11_04_9619.jpg
/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_55_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":["1401259545","1401259558","1401259552","1401259546","1401259555","1401259549"],"photo_ids_order":["1401259545","1401259546","1401259549","1401259552","1401259555","1401259558"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fc07c2a5163190e8c07e440a15caeda.jpg","text":"TemporaryFile(/tmp/multipartBody8515722004123820341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831718025,"filename":"image_10122025_19_11_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cad887b0738455c4fd7255325b39ffa1.jpg","text":"TemporaryFile(/tmp/multipartBody6906980120716168194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831718025,"filename":"image_10122025_19_10_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/beacaa7da67b2ebfbc109d7437202b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7242641533928014867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831718025,"filename":"image_10122025_19_11_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bab4a0f9ba745237efde17db9029f185.jpg","text":"TemporaryFile(/tmp/multipartBody8858911538755253279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831718025,"filename":"image_10122025_19_11_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/12/27/9722b01f456c3badafb456710de64e87.jpg","text":"TemporaryFile(/tmp/multipartBody3635036804968443641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831718025,"filename":"image_10122025_19_11_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/12/27/27dcb537dd919046162ed421478ab0d0.jpg","text":"TemporaryFile(/tmp/multipartBody4487543701359373440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831718025,"filename":"image_10122025_19_11_25_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259549","file1":"1401259546","file0":"1401259545","file4":"1401259555","file5":"1401259558","file3":"1401259552"},"map_files_photo_id_array":[{"photo_id":"1401259558","filename":"file5"},{"photo_id":"1401259549","filename":"file2"},{"photo_id":"1401259555","filename":"file4"},{"photo_id":"1401259546","filename":"file1"},{"photo_id":"1401259545","filename":"file0"},{"photo_id":"1401259552","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259545":["hashtag1","hashtag2"]},{"1401259558":["hashtag1","hashtag2"]},{"1401259552":["hashtag1","hashtag2"]},{"1401259546":["hashtag1","hashtag2"]},{"1401259555":["hashtag1","hashtag2"]},{"1401259549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259545, 1401259558, 1401259552, 1401259546, 1401259555, 1401259549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.663559436798096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:35:02.993696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_35_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_25_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_10_05_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_55_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_44_9601.jpg', '/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_35_9632.jpg', '/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_25_10639.jpg', '/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_14_9657.jpg', '/home/nano/Desktop/images/10122025/19/09/image_10122025_19_10_05_9661.jpg', '/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_55_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_44_9601.jpg
/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_35_9632.jpg
/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_25_10639.jpg
/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_14_9657.jpg
/home/nano/Desktop/images/10122025/19/09/image_10122025_19_10_05_9661.jpg
/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_55_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":["1401259566","1401259571","1401259565","1401259568","1401259564","1401259567"],"photo_ids_order":["1401259564","1401259565","1401259566","1401259567","1401259568","1401259571"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b02ae8e899b04c479248ea68b86eae86.jpg","text":"TemporaryFile(/tmp/multipartBody8161924235538141257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831763876,"filename":"image_10122025_19_10_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22f290f22e482f20798785bb1de61ae5.jpg","text":"TemporaryFile(/tmp/multipartBody1270497308495957451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831763876,"filename":"image_10122025_19_09_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf3dadfa181eb5274f025040a9b51c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6794496207578879952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831763876,"filename":"image_10122025_19_10_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3851a39c20e74316b84295ac35979a3.jpg","text":"TemporaryFile(/tmp/multipartBody5048498985870076596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831763876,"filename":"image_10122025_19_10_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f1c9e02a87bb7ae453fb02a5630ced0.jpg","text":"TemporaryFile(/tmp/multipartBody5155706005107663870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831763876,"filename":"image_10122025_19_10_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/12/27/f8ee44cda6f2c6ef6424cc244b48793f.jpg","text":"TemporaryFile(/tmp/multipartBody3024235295054662046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831763876,"filename":"image_10122025_19_10_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259566","file1":"1401259565","file0":"1401259564","file4":"1401259568","file5":"1401259571","file3":"1401259567"},"map_files_photo_id_array":[{"photo_id":"1401259571","filename":"file5"},{"photo_id":"1401259566","filename":"file2"},{"photo_id":"1401259568","filename":"file4"},{"photo_id":"1401259565","filename":"file1"},{"photo_id":"1401259564","filename":"file0"},{"photo_id":"1401259567","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259566":["hashtag1","hashtag2"]},{"1401259571":["hashtag1","hashtag2"]},{"1401259565":["hashtag1","hashtag2"]},{"1401259568":["hashtag1","hashtag2"]},{"1401259564":["hashtag1","hashtag2"]},{"1401259567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259566, 1401259571, 1401259565, 1401259568, 1401259564, 1401259567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.011143922805786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:35:47.277370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_44_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_35_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_09_05_9800.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_55_9790.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_44_9688.jpg', '/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_35_9772.jpg', '/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_25_10678.jpg', '/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_14_9663.jpg', '/home/nano/Desktop/images/10122025/19/08/image_10122025_19_09_05_9800.jpg', '/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_55_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_44_9688.jpg
/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_35_9772.jpg
/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_25_10678.jpg
/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_14_9663.jpg
/home/nano/Desktop/images/10122025/19/08/image_10122025_19_09_05_9800.jpg
/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_55_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401259598","1401259595","1401259597","1401259600","1401259599","1401259596"],"photo_ids_order":["1401259595","1401259596","1401259597","1401259598","1401259599","1401259600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/873ad9346fb5f808b8d52484d5c42497.jpg","text":"TemporaryFile(/tmp/multipartBody3457956203270642167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831808089,"filename":"image_10122025_19_09_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/12/27/bef4420f9b1cb24a4ca36e0a3749372d.jpg","text":"TemporaryFile(/tmp/multipartBody1081293472817523780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831808089,"filename":"image_10122025_19_09_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad1d119f31a1e6bbd50700481d807209.jpg","text":"TemporaryFile(/tmp/multipartBody6993755820270255071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831808089,"filename":"image_10122025_19_09_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81fe73bdafd1f0fc84dedae748cde982.jpg","text":"TemporaryFile(/tmp/multipartBody3371605587262910487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831808089,"filename":"image_10122025_19_08_55_9790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fb26a0e782591bfbd8b7bfb84d1cb68.jpg","text":"TemporaryFile(/tmp/multipartBody7517063572941068375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831808089,"filename":"image_10122025_19_09_05_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cdd759bd38aa04625c3cc78bac97544.jpg","text":"TemporaryFile(/tmp/multipartBody5977582447787088822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831808089,"filename":"image_10122025_19_09_35_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259597","file1":"1401259596","file0":"1401259595","file4":"1401259599","file5":"1401259600","file3":"1401259598"},"map_files_photo_id_array":[{"photo_id":"1401259600","filename":"file5"},{"photo_id":"1401259597","filename":"file2"},{"photo_id":"1401259599","filename":"file4"},{"photo_id":"1401259596","filename":"file1"},{"photo_id":"1401259595","filename":"file0"},{"photo_id":"1401259598","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259598":["hashtag1","hashtag2"]},{"1401259595":["hashtag1","hashtag2"]},{"1401259597":["hashtag1","hashtag2"]},{"1401259600":["hashtag1","hashtag2"]},{"1401259599":["hashtag1","hashtag2"]},{"1401259596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259598, 1401259595, 1401259597, 1401259600, 1401259599, 1401259596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06956696510315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:36:32.388516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_45_10805.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_34_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_24_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_15_9782.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_08_05_10688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_54_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_45_10805.jpg', '/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_34_9659.jpg', '/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_24_9667.jpg', '/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_15_9782.jpg', '/home/nano/Desktop/images/10122025/19/07/image_10122025_19_08_05_10688.jpg', '/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_54_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_45_10805.jpg
/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_34_9659.jpg
/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_24_9667.jpg
/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_15_9782.jpg
/home/nano/Desktop/images/10122025/19/07/image_10122025_19_08_05_10688.jpg
/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_54_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":["1401259617","1401259616","1401259610","1401259607","1401259612","1401259618"],"photo_ids_order":["1401259607","1401259610","1401259612","1401259616","1401259617","1401259618"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f08945a2127a4645d96092b627712041.jpg","text":"TemporaryFile(/tmp/multipartBody6392069906518638338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831853214,"filename":"image_10122025_19_08_05_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a583d8939ae45ea50ac4d9f560c9e12a.jpg","text":"TemporaryFile(/tmp/multipartBody2693093759218440366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831853214,"filename":"image_10122025_19_08_15_9782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d00560d2d76aae720e904900defbfd25.jpg","text":"TemporaryFile(/tmp/multipartBody5051915371235760130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831853214,"filename":"image_10122025_19_08_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/12/27/c2de846dc18fef81706ffbb10ff030a6.jpg","text":"TemporaryFile(/tmp/multipartBody2150393494775109885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831853214,"filename":"image_10122025_19_08_45_10805.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da96783b78f7c5c3239f093ccfbe9426.jpg","text":"TemporaryFile(/tmp/multipartBody1918964928832603277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831853214,"filename":"image_10122025_19_08_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/12/27/8330e6ba86897bd4da72dabb76d88219.jpg","text":"TemporaryFile(/tmp/multipartBody7943912730084677025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831853214,"filename":"image_10122025_19_07_54_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259612","file1":"1401259610","file0":"1401259607","file4":"1401259617","file5":"1401259618","file3":"1401259616"},"map_files_photo_id_array":[{"photo_id":"1401259618","filename":"file5"},{"photo_id":"1401259612","filename":"file2"},{"photo_id":"1401259617","filename":"file4"},{"photo_id":"1401259610","filename":"file1"},{"photo_id":"1401259607","filename":"file0"},{"photo_id":"1401259616","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259617":["hashtag1","hashtag2"]},{"1401259616":["hashtag1","hashtag2"]},{"1401259610":["hashtag1","hashtag2"]},{"1401259607":["hashtag1","hashtag2"]},{"1401259612":["hashtag1","hashtag2"]},{"1401259618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259617, 1401259616, 1401259610, 1401259607, 1401259612, 1401259618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.026756286621094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:37:17.463981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_45_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_35_10821.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_24_9802.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_14_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_07_05_9824.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_55_10691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_45_9632.jpg', '/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_35_10821.jpg', '/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_24_9802.jpg', '/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_14_9664.jpg', '/home/nano/Desktop/images/10122025/19/06/image_10122025_19_07_05_9824.jpg', '/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_55_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_45_9632.jpg
/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_35_10821.jpg
/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_24_9802.jpg
/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_14_9664.jpg
/home/nano/Desktop/images/10122025/19/06/image_10122025_19_07_05_9824.jpg
/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_55_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401259677","1401259659","1401259661","1401259657","1401259654","1401259648"],"photo_ids_order":["1401259648","1401259654","1401259657","1401259659","1401259661","1401259677"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69007f7bec64b69965ffee5684f150e3.jpg","text":"TemporaryFile(/tmp/multipartBody6685932664108654034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831898294,"filename":"image_10122025_19_06_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb51f3190de5be231054b23b9b0c412d.jpg","text":"TemporaryFile(/tmp/multipartBody3636539911097164096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831898294,"filename":"image_10122025_19_07_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/12/27/d8106453df0ae4ea8cd4e377e535079d.jpg","text":"TemporaryFile(/tmp/multipartBody5666107742228961469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831898294,"filename":"image_10122025_19_07_05_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ad76291a7912765a8498fa8fd39c981.jpg","text":"TemporaryFile(/tmp/multipartBody5036758508083291390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831898294,"filename":"image_10122025_19_07_24_9802.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b770455ddb4fa2d9989f5251069c90e5.jpg","text":"TemporaryFile(/tmp/multipartBody2285254746994019693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831898294,"filename":"image_10122025_19_07_35_10821.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf28ef0d1b699fc5684f36d1f01a1328.jpg","text":"TemporaryFile(/tmp/multipartBody8204637979813193639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831898294,"filename":"image_10122025_19_07_45_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259657","file1":"1401259654","file0":"1401259648","file4":"1401259661","file5":"1401259677","file3":"1401259659"},"map_files_photo_id_array":[{"photo_id":"1401259677","filename":"file5"},{"photo_id":"1401259657","filename":"file2"},{"photo_id":"1401259661","filename":"file4"},{"photo_id":"1401259654","filename":"file1"},{"photo_id":"1401259648","filename":"file0"},{"photo_id":"1401259659","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259677":["hashtag1","hashtag2"]},{"1401259659":["hashtag1","hashtag2"]},{"1401259661":["hashtag1","hashtag2"]},{"1401259657":["hashtag1","hashtag2"]},{"1401259654":["hashtag1","hashtag2"]},{"1401259648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259677, 1401259659, 1401259661, 1401259657, 1401259654, 1401259648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36295437812805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:38:03.165699
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_44_9797.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_34_9795.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_25_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_15_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_06_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_55_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_44_9797.jpg', '/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_34_9795.jpg', '/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_25_9680.jpg', '/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_15_10690.jpg', '/home/nano/Desktop/images/10122025/19/05/image_10122025_19_06_04_9714.jpg', '/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_55_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_44_9797.jpg
/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_34_9795.jpg
/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_25_9680.jpg
/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_15_10690.jpg
/home/nano/Desktop/images/10122025/19/05/image_10122025_19_06_04_9714.jpg
/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_55_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":["1401259722","1401259719","1401259721","1401259724","1401259726","1401259729"],"photo_ids_order":["1401259719","1401259721","1401259722","1401259724","1401259726","1401259729"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3f535b0476bc112387f8920444733b5.jpg","text":"TemporaryFile(/tmp/multipartBody7582765922522183347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831944043,"filename":"image_10122025_19_06_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c4bd5b243f3c242aa7564ce49f64511.jpg","text":"TemporaryFile(/tmp/multipartBody886549724895536921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831944043,"filename":"image_10122025_19_06_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfbb661328db32874b124d4e05328748.jpg","text":"TemporaryFile(/tmp/multipartBody8859160357340017963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831944043,"filename":"image_10122025_19_06_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ded32b28055ae62a66662413dc109cab.jpg","text":"TemporaryFile(/tmp/multipartBody8807805632117340248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831944043,"filename":"image_10122025_19_06_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ded307937c65fcf938796098f5210be6.jpg","text":"TemporaryFile(/tmp/multipartBody8019446621098929158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831944043,"filename":"image_10122025_19_06_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed1944b278094a9067e00b896a3a88ce.jpg","text":"TemporaryFile(/tmp/multipartBody3603560362868842504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831944043,"filename":"image_10122025_19_05_55_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259722","file1":"1401259721","file0":"1401259719","file4":"1401259726","file5":"1401259729","file3":"1401259724"},"map_files_photo_id_array":[{"photo_id":"1401259729","filename":"file5"},{"photo_id":"1401259722","filename":"file2"},{"photo_id":"1401259726","filename":"file4"},{"photo_id":"1401259721","filename":"file1"},{"photo_id":"1401259719","filename":"file0"},{"photo_id":"1401259724","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259722":["hashtag1","hashtag2"]},{"1401259719":["hashtag1","hashtag2"]},{"1401259721":["hashtag1","hashtag2"]},{"1401259724":["hashtag1","hashtag2"]},{"1401259726":["hashtag1","hashtag2"]},{"1401259729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259722, 1401259719, 1401259721, 1401259724, 1401259726, 1401259729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.367769718170166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:38:47.570298
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_45_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_34_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_25_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_05_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_55_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_45_10644.jpg', '/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_34_9667.jpg', '/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_25_9652.jpg', '/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_15_10657.jpg', '/home/nano/Desktop/images/10122025/19/04/image_10122025_19_05_04_9615.jpg', '/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_55_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_45_10644.jpg
/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_34_9667.jpg
/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_25_9652.jpg
/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_15_10657.jpg
/home/nano/Desktop/images/10122025/19/04/image_10122025_19_05_04_9615.jpg
/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_55_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":["1401259737","1401259742","1401259736","1401259739","1401259738","1401259741"],"photo_ids_order":["1401259736","1401259737","1401259738","1401259739","1401259741","1401259742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c77c9b21d61f9bf2f0a67b9122a8a11.jpg","text":"TemporaryFile(/tmp/multipartBody3876031377970907673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831988357,"filename":"image_10122025_19_05_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/12/27/7e04e04b8698b5c352eed7c331cc4b7c.jpg","text":"TemporaryFile(/tmp/multipartBody3689552204121073291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831988357,"filename":"image_10122025_19_04_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/293469dae946bbe81a7be930088da916.jpg","text":"TemporaryFile(/tmp/multipartBody8772461161978530656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831988357,"filename":"image_10122025_19_05_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfd417c76633bb0e3a2d8af45ec34e74.jpg","text":"TemporaryFile(/tmp/multipartBody7163852276051178821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831988357,"filename":"image_10122025_19_05_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b22e59cd1b2d6a261bda20511b4e9e7.jpg","text":"TemporaryFile(/tmp/multipartBody2522274450413255999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831988357,"filename":"image_10122025_19_05_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a6dd43931d4759d4200d60f25f5682e.jpg","text":"TemporaryFile(/tmp/multipartBody5010381991597809482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766831988357,"filename":"image_10122025_19_05_04_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259738","file1":"1401259737","file0":"1401259736","file4":"1401259741","file5":"1401259742","file3":"1401259739"},"map_files_photo_id_array":[{"photo_id":"1401259742","filename":"file5"},{"photo_id":"1401259738","filename":"file2"},{"photo_id":"1401259741","filename":"file4"},{"photo_id":"1401259737","filename":"file1"},{"photo_id":"1401259736","filename":"file0"},{"photo_id":"1401259739","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259737":["hashtag1","hashtag2"]},{"1401259742":["hashtag1","hashtag2"]},{"1401259736":["hashtag1","hashtag2"]},{"1401259739":["hashtag1","hashtag2"]},{"1401259738":["hashtag1","hashtag2"]},{"1401259741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259737, 1401259742, 1401259736, 1401259739, 1401259738, 1401259741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.735395669937134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:39:32.664906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_34_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_04_05_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_55_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_45_10602.jpg', '/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_34_9590.jpg', '/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_25_10599.jpg', '/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_14_9626.jpg', '/home/nano/Desktop/images/10122025/19/03/image_10122025_19_04_05_9658.jpg', '/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_55_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_45_10602.jpg
/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_34_9590.jpg
/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_25_10599.jpg
/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_14_9626.jpg
/home/nano/Desktop/images/10122025/19/03/image_10122025_19_04_05_9658.jpg
/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_55_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":["1401259775","1401259780","1401259777","1401259771","1401259779","1401259773"],"photo_ids_order":["1401259771","1401259773","1401259775","1401259777","1401259779","1401259780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1869abd01d66d564a9f6309a0889a1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3343470424841323672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832033432,"filename":"image_10122025_19_04_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b080dafd4e43546da6e9f3a6665f5db8.jpg","text":"TemporaryFile(/tmp/multipartBody5618015633777851189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832033432,"filename":"image_10122025_19_03_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c31945ceb288b4e234dd48f2f9430bcb.jpg","text":"TemporaryFile(/tmp/multipartBody9160760227418846999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832033432,"filename":"image_10122025_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/12/27/63b4fd5c6a2c6b413aa39d8289ca8de2.jpg","text":"TemporaryFile(/tmp/multipartBody2285325399239806891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832033432,"filename":"image_10122025_19_04_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da778f4c77d506c0a78ec00fc51eff1d.jpg","text":"TemporaryFile(/tmp/multipartBody8431571221252689403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832033432,"filename":"image_10122025_19_04_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fedb651c8b00b946376182e7d223974.jpg","text":"TemporaryFile(/tmp/multipartBody3873008974119190390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832033432,"filename":"image_10122025_19_04_34_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259775","file1":"1401259773","file0":"1401259771","file4":"1401259779","file5":"1401259780","file3":"1401259777"},"map_files_photo_id_array":[{"photo_id":"1401259780","filename":"file5"},{"photo_id":"1401259775","filename":"file2"},{"photo_id":"1401259779","filename":"file4"},{"photo_id":"1401259773","filename":"file1"},{"photo_id":"1401259771","filename":"file0"},{"photo_id":"1401259777","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259775":["hashtag1","hashtag2"]},{"1401259780":["hashtag1","hashtag2"]},{"1401259777":["hashtag1","hashtag2"]},{"1401259771":["hashtag1","hashtag2"]},{"1401259779":["hashtag1","hashtag2"]},{"1401259773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259775, 1401259780, 1401259777, 1401259771, 1401259779, 1401259773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44320869445801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:40:16.778401
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_03_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_44_9611.jpg', '/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_35_9611.jpg', '/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_25_10618.jpg', '/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_14_9641.jpg', '/home/nano/Desktop/images/10122025/19/02/image_10122025_19_03_05_10645.jpg', '/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_44_9611.jpg
/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_35_9611.jpg
/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_25_10618.jpg
/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_14_9641.jpg
/home/nano/Desktop/images/10122025/19/02/image_10122025_19_03_05_10645.jpg
/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_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":["1401259830","1401259930","1401259903","1401259933","1401259927","1401259866"],"photo_ids_order":["1401259830","1401259866","1401259903","1401259927","1401259930","1401259933"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d82ea05189fd1eafc3d33b4410a79e2.jpg","text":"TemporaryFile(/tmp/multipartBody9205909028286311178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832077587,"filename":"image_10122025_19_03_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/12/27/e079ec3d92e9a469c9087320ea83e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5859908547763488036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832077587,"filename":"image_10122025_19_03_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc06831855c33d7ee27bb4daa9fb92a4.jpg","text":"TemporaryFile(/tmp/multipartBody1010781401035372588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832077587,"filename":"image_10122025_19_03_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afeace320a2d53ed26c1b37c472f49b9.jpg","text":"TemporaryFile(/tmp/multipartBody1122688857088446881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832077587,"filename":"image_10122025_19_02_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/12/27/6da1352791bd19f1de7c4ee19d59f400.jpg","text":"TemporaryFile(/tmp/multipartBody2991391996664213743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832077587,"filename":"image_10122025_19_03_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/12/27/8a23cb2d8104cfc7417c60b9cdde50ca.jpg","text":"TemporaryFile(/tmp/multipartBody3995550814722436484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832077587,"filename":"image_10122025_19_03_35_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259903","file1":"1401259866","file0":"1401259830","file4":"1401259930","file5":"1401259933","file3":"1401259927"},"map_files_photo_id_array":[{"photo_id":"1401259933","filename":"file5"},{"photo_id":"1401259903","filename":"file2"},{"photo_id":"1401259930","filename":"file4"},{"photo_id":"1401259866","filename":"file1"},{"photo_id":"1401259830","filename":"file0"},{"photo_id":"1401259927","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259830":["hashtag1","hashtag2"]},{"1401259930":["hashtag1","hashtag2"]},{"1401259903":["hashtag1","hashtag2"]},{"1401259933":["hashtag1","hashtag2"]},{"1401259927":["hashtag1","hashtag2"]},{"1401259866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259830, 1401259930, 1401259903, 1401259933, 1401259927, 1401259866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27741837501526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:41:02.709769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_15_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_02_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_45_9603.jpg', '/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_35_10606.jpg', '/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_24_9600.jpg', '/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_15_9679.jpg', '/home/nano/Desktop/images/10122025/19/01/image_10122025_19_02_05_10646.jpg', '/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_45_9603.jpg
/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_35_10606.jpg
/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_24_9600.jpg
/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_15_9679.jpg
/home/nano/Desktop/images/10122025/19/01/image_10122025_19_02_05_10646.jpg
/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_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":["1401259947","1401259944","1401259938","1401259940","1401259942","1401259936"],"photo_ids_order":["1401259936","1401259938","1401259940","1401259942","1401259944","1401259947"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73dc7b3383d945204ea6aeb34bf93bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5423242883059492440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832123527,"filename":"image_10122025_19_01_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/12/27/7b2636926d53b2ca650634171e11f161.jpg","text":"TemporaryFile(/tmp/multipartBody8620750068729626010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832123527,"filename":"image_10122025_19_02_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59a2ba2f592900b7ed39520f12645a6b.jpg","text":"TemporaryFile(/tmp/multipartBody158999002876245272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832123527,"filename":"image_10122025_19_02_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/558c0601024a69650d6f8ace02ae6096.jpg","text":"TemporaryFile(/tmp/multipartBody1468468809664184482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832123527,"filename":"image_10122025_19_02_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/12/27/2660c50c0afe5bdff25d821d37ba488d.jpg","text":"TemporaryFile(/tmp/multipartBody8670039543246081685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832123527,"filename":"image_10122025_19_02_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19c11eca3a05089187d9a143908c87e5.jpg","text":"TemporaryFile(/tmp/multipartBody9090812215881914896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832123527,"filename":"image_10122025_19_02_45_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259940","file1":"1401259938","file0":"1401259936","file4":"1401259944","file5":"1401259947","file3":"1401259942"},"map_files_photo_id_array":[{"photo_id":"1401259947","filename":"file5"},{"photo_id":"1401259940","filename":"file2"},{"photo_id":"1401259944","filename":"file4"},{"photo_id":"1401259938","filename":"file1"},{"photo_id":"1401259936","filename":"file0"},{"photo_id":"1401259942","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259947":["hashtag1","hashtag2"]},{"1401259944":["hashtag1","hashtag2"]},{"1401259938":["hashtag1","hashtag2"]},{"1401259940":["hashtag1","hashtag2"]},{"1401259942":["hashtag1","hashtag2"]},{"1401259936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259947, 1401259944, 1401259938, 1401259940, 1401259942, 1401259936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.776453495025635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:41:46.903405
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_01_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_55_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_45_10628.jpg', '/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_34_9618.jpg', '/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_25_9602.jpg', '/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_15_10627.jpg', '/home/nano/Desktop/images/10122025/19/00/image_10122025_19_01_04_9606.jpg', '/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_45_10628.jpg
/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_34_9618.jpg
/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_25_9602.jpg
/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_15_10627.jpg
/home/nano/Desktop/images/10122025/19/00/image_10122025_19_01_04_9606.jpg
/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_55_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":["1401259953","1401259956","1401259955","1401259958","1401259960","1401259954"],"photo_ids_order":["1401259953","1401259954","1401259955","1401259956","1401259958","1401259960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c825afa21d53c359cdcfcb1f48781df.jpg","text":"TemporaryFile(/tmp/multipartBody3047150058847217864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832167701,"filename":"image_10122025_19_01_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc62a3751c8bfe592e9a48dc7687aa93.jpg","text":"TemporaryFile(/tmp/multipartBody4678948138080877438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832167701,"filename":"image_10122025_19_01_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1a1a49c86e2ebebba6d3354278b9b41.jpg","text":"TemporaryFile(/tmp/multipartBody2761831719093207416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832167701,"filename":"image_10122025_19_01_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67ef67944630d0568028f3510d03fc27.jpg","text":"TemporaryFile(/tmp/multipartBody2004789297534627105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832167701,"filename":"image_10122025_19_01_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/12/27/7becb88b29e9a71430117d39ea1000f8.jpg","text":"TemporaryFile(/tmp/multipartBody4150637979739847637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832167701,"filename":"image_10122025_19_00_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23ef9d3e6f4b1fe6f6107d8c7a5e1013.jpg","text":"TemporaryFile(/tmp/multipartBody2351346658706349611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832167701,"filename":"image_10122025_19_01_34_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259955","file1":"1401259954","file0":"1401259953","file4":"1401259958","file5":"1401259960","file3":"1401259956"},"map_files_photo_id_array":[{"photo_id":"1401259960","filename":"file5"},{"photo_id":"1401259955","filename":"file2"},{"photo_id":"1401259958","filename":"file4"},{"photo_id":"1401259954","filename":"file1"},{"photo_id":"1401259953","filename":"file0"},{"photo_id":"1401259956","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259953":["hashtag1","hashtag2"]},{"1401259956":["hashtag1","hashtag2"]},{"1401259955":["hashtag1","hashtag2"]},{"1401259958":["hashtag1","hashtag2"]},{"1401259960":["hashtag1","hashtag2"]},{"1401259954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259953, 1401259956, 1401259955, 1401259958, 1401259960, 1401259954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20730447769165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:42:31.983018
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/11/42/image_27122025_11_42_54_9510.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/11/42/image_27122025_11_42_54_9510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/11/42/image_27122025_11_42_54_9510.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401259967"],"photo_id":"1401259967","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3e5b2eaf737b6a5ba3bdd3dd2d4b258.jpg","text":"TemporaryFile(/tmp/multipartBody4259827701309660242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832212227,"filename":"image_27122025_11_42_54_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401259967"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401259967"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.406180143356323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:42:46.979504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_44_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_44_9603.jpg', '/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_34_9623.jpg', '/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_25_10610.jpg', '/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_14_9630.jpg', '/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_55_10609.jpg', '/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_44_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_44_9603.jpg
/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_34_9623.jpg
/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_25_10610.jpg
/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_14_9630.jpg
/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_55_10609.jpg
/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_44_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401259974","1401259973","1401259999","1401259972","1401259975","1401259992"],"photo_ids_order":["1401259972","1401259973","1401259974","1401259975","1401259992","1401259999"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05497f0b0926c1c5d8c4f126523bb9e1.jpg","text":"TemporaryFile(/tmp/multipartBody1109461006719239114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832227754,"filename":"image_10122025_19_00_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9bfbdb9978fd4fc85a3b5616c7afde9.jpg","text":"TemporaryFile(/tmp/multipartBody29652222453160066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832227754,"filename":"image_10122025_19_00_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/12/27/1af98a693bae05804094c4710a4b7819.jpg","text":"TemporaryFile(/tmp/multipartBody3589473389802749212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832227754,"filename":"image_10122025_18_59_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/12/27/c323170ceb32bc53fbaecd06c52e307a.jpg","text":"TemporaryFile(/tmp/multipartBody4498792162154252361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832227754,"filename":"image_10122025_19_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/12/27/11e61f25e8d6629a12a37967fd645fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3989389967391035894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832227754,"filename":"image_10122025_19_00_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/12/27/0b95585a4e3c5603f19fbe04a5d017d4.jpg","text":"TemporaryFile(/tmp/multipartBody2957781852968474239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832227754,"filename":"image_10122025_18_59_55_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401259974","file1":"1401259973","file0":"1401259972","file4":"1401259992","file5":"1401259999","file3":"1401259975"},"map_files_photo_id_array":[{"photo_id":"1401259999","filename":"file5"},{"photo_id":"1401259974","filename":"file2"},{"photo_id":"1401259992","filename":"file4"},{"photo_id":"1401259973","filename":"file1"},{"photo_id":"1401259972","filename":"file0"},{"photo_id":"1401259975","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401259974":["hashtag1","hashtag2"]},{"1401259973":["hashtag1","hashtag2"]},{"1401259999":["hashtag1","hashtag2"]},{"1401259972":["hashtag1","hashtag2"]},{"1401259975":["hashtag1","hashtag2"]},{"1401259992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401259974, 1401259973, 1401259999, 1401259972, 1401259975, 1401259992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40499830245972 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:43:32.092520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_59_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_34_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_35_10616.jpg', '/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_24_9602.jpg', '/home/nano/Desktop/images/10122025/18/58/image_10122025_18_59_05_10624.jpg', '/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_54_9598.jpg', '/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_45_10607.jpg', '/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_35_10616.jpg
/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_24_9602.jpg
/home/nano/Desktop/images/10122025/18/58/image_10122025_18_59_05_10624.jpg
/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_54_9598.jpg
/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_45_10607.jpg
/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_34_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":["1401260011","1401260020","1401260013","1401260021","1401260015","1401260018"],"photo_ids_order":["1401260011","1401260013","1401260015","1401260018","1401260020","1401260021"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb2bc046bc9dec9115522bb59a59e922.jpg","text":"TemporaryFile(/tmp/multipartBody6877755744575960091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832272876,"filename":"image_10122025_18_59_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c951b28e70b32b2a9ee06abff3d168b.jpg","text":"TemporaryFile(/tmp/multipartBody1225860979546114258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832272876,"filename":"image_10122025_18_58_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28d50fcadb38177cdd0fa494e37b20dc.jpg","text":"TemporaryFile(/tmp/multipartBody5442353195518271420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832272876,"filename":"image_10122025_18_59_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/12/27/72f1dfe168d10b03e3b7574b2b17f865.jpg","text":"TemporaryFile(/tmp/multipartBody6079668463867764159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832272876,"filename":"image_10122025_18_58_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/12/27/9f6301e786e9888081fcef7279c15f73.jpg","text":"TemporaryFile(/tmp/multipartBody6430627986246765658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832272876,"filename":"image_10122025_18_59_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/626ac1f2d9def22f5595e5d5e2a4050f.jpg","text":"TemporaryFile(/tmp/multipartBody718315651343152231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832272876,"filename":"image_10122025_18_58_54_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401260015","file1":"1401260013","file0":"1401260011","file4":"1401260020","file5":"1401260021","file3":"1401260018"},"map_files_photo_id_array":[{"photo_id":"1401260021","filename":"file5"},{"photo_id":"1401260015","filename":"file2"},{"photo_id":"1401260020","filename":"file4"},{"photo_id":"1401260013","filename":"file1"},{"photo_id":"1401260011","filename":"file0"},{"photo_id":"1401260018","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260011":["hashtag1","hashtag2"]},{"1401260020":["hashtag1","hashtag2"]},{"1401260013":["hashtag1","hashtag2"]},{"1401260021":["hashtag1","hashtag2"]},{"1401260015":["hashtag1","hashtag2"]},{"1401260018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260011, 1401260020, 1401260013, 1401260021, 1401260015, 1401260018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28155207633972 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:44:17.219875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_58_04_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_55_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_25_9602.jpg', '/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_15_10648.jpg', '/home/nano/Desktop/images/10122025/18/57/image_10122025_18_58_04_9663.jpg', '/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_55_9625.jpg', '/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_45_10609.jpg', '/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_25_9602.jpg
/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_15_10648.jpg
/home/nano/Desktop/images/10122025/18/57/image_10122025_18_58_04_9663.jpg
/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_55_9625.jpg
/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_45_10609.jpg
/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_34_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":["1401260187","1401260211","1401260213","1401260207","1401260233","1401260215"],"photo_ids_order":["1401260187","1401260207","1401260211","1401260213","1401260215","1401260233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c09fbf5ced00f7e9320383f9fce69a91.jpg","text":"TemporaryFile(/tmp/multipartBody6472750153802898313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832317991,"filename":"image_10122025_18_58_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4960fd42f54799e2cd447a67951f64a.jpg","text":"TemporaryFile(/tmp/multipartBody7061643780241929285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832317991,"filename":"image_10122025_18_58_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/12/27/408ab7850a1f85650a9b6010df051411.jpg","text":"TemporaryFile(/tmp/multipartBody5825980645387964729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832317991,"filename":"image_10122025_18_57_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f88701e96750f0a043bf1d16fb0ee4ed.jpg","text":"TemporaryFile(/tmp/multipartBody379734415925978855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832317991,"filename":"image_10122025_18_58_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33b717bf0971a536d5a76984f16b573d.jpg","text":"TemporaryFile(/tmp/multipartBody9074505359137009968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832317991,"filename":"image_10122025_18_57_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/12/27/5625d9b887987280871754660f2b96f8.jpg","text":"TemporaryFile(/tmp/multipartBody2706140946695779220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832317991,"filename":"image_10122025_18_57_45_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401260211","file1":"1401260207","file0":"1401260187","file4":"1401260215","file5":"1401260233","file3":"1401260213"},"map_files_photo_id_array":[{"photo_id":"1401260233","filename":"file5"},{"photo_id":"1401260211","filename":"file2"},{"photo_id":"1401260215","filename":"file4"},{"photo_id":"1401260207","filename":"file1"},{"photo_id":"1401260187","filename":"file0"},{"photo_id":"1401260213","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260187":["hashtag1","hashtag2"]},{"1401260211":["hashtag1","hashtag2"]},{"1401260213":["hashtag1","hashtag2"]},{"1401260207":["hashtag1","hashtag2"]},{"1401260233":["hashtag1","hashtag2"]},{"1401260215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260187, 1401260211, 1401260213, 1401260207, 1401260233, 1401260215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80248713493347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:45:02.771887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_57_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_35_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_25_10642.jpg', '/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_14_9625.jpg', '/home/nano/Desktop/images/10122025/18/56/image_10122025_18_57_05_9614.jpg', '/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_55_10611.jpg', '/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_44_9608.jpg', '/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_35_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_25_10642.jpg
/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_14_9625.jpg
/home/nano/Desktop/images/10122025/18/56/image_10122025_18_57_05_9614.jpg
/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_55_10611.jpg
/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_44_9608.jpg
/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_35_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":["1401260308","1401260399","1401260316","1401260310","1401260312","1401260314"],"photo_ids_order":["1401260308","1401260310","1401260312","1401260314","1401260316","1401260399"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7078c592e48eb23bd3f155ab82e6746.jpg","text":"TemporaryFile(/tmp/multipartBody1852425839705139490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832363609,"filename":"image_10122025_18_57_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ddfde0c685d0f645951095915b9e488b.jpg","text":"TemporaryFile(/tmp/multipartBody62470732385445502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832363609,"filename":"image_10122025_18_56_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e2a39e280e0c1208b6c1ae392e659f8.jpg","text":"TemporaryFile(/tmp/multipartBody3027853604325321449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832363609,"filename":"image_10122025_18_56_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/12/27/43961913dcef7215710b46409766d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody1331487513815300071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832363609,"filename":"image_10122025_18_57_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/12/27/898d95d142a4a1080805592a586b18c0.jpg","text":"TemporaryFile(/tmp/multipartBody6153978475777192787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832363609,"filename":"image_10122025_18_57_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/442e1704bafe34f1f605d04af51fc589.jpg","text":"TemporaryFile(/tmp/multipartBody2213896906523416884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832363609,"filename":"image_10122025_18_56_55_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401260312","file1":"1401260310","file0":"1401260308","file4":"1401260316","file5":"1401260399","file3":"1401260314"},"map_files_photo_id_array":[{"photo_id":"1401260399","filename":"file5"},{"photo_id":"1401260312","filename":"file2"},{"photo_id":"1401260316","filename":"file4"},{"photo_id":"1401260310","filename":"file1"},{"photo_id":"1401260308","filename":"file0"},{"photo_id":"1401260314","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260308":["hashtag1","hashtag2"]},{"1401260399":["hashtag1","hashtag2"]},{"1401260316":["hashtag1","hashtag2"]},{"1401260310":["hashtag1","hashtag2"]},{"1401260312":["hashtag1","hashtag2"]},{"1401260314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260308, 1401260399, 1401260316, 1401260310, 1401260312, 1401260314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74708366394043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:45:47.430649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_25_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_56_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_54_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_44_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_35_9768.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_25_10637.jpg', '/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_14_9607.jpg', '/home/nano/Desktop/images/10122025/18/55/image_10122025_18_56_05_10657.jpg', '/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_54_9711.jpg', '/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_44_9712.jpg', '/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_35_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_25_10637.jpg
/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_14_9607.jpg
/home/nano/Desktop/images/10122025/18/55/image_10122025_18_56_05_10657.jpg
/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_54_9711.jpg
/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_44_9712.jpg
/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_35_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":["1401260553","1401260556","1401260558","1401260552","1401260551","1401260554"],"photo_ids_order":["1401260551","1401260552","1401260553","1401260554","1401260556","1401260558"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e70b66ea8aaf7e9a286d754161fff99c.jpg","text":"TemporaryFile(/tmp/multipartBody2214074652244930693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832408248,"filename":"image_10122025_18_56_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17292c698c55821e802f234651002774.jpg","text":"TemporaryFile(/tmp/multipartBody5630402181708317053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832408248,"filename":"image_10122025_18_55_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/177e2a91f80add990aa80900c91389b7.jpg","text":"TemporaryFile(/tmp/multipartBody8036125407687926295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832408248,"filename":"image_10122025_18_55_35_9768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7458886dabdf6bece8196ff467c29183.jpg","text":"TemporaryFile(/tmp/multipartBody930616591630653665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832408248,"filename":"image_10122025_18_56_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcab0276a5a4ef452b6f353070612c66.jpg","text":"TemporaryFile(/tmp/multipartBody3098790258154505463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832408248,"filename":"image_10122025_18_56_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3489e979b5a8f512490c3c4f9137a83.jpg","text":"TemporaryFile(/tmp/multipartBody6477799923858880604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832408248,"filename":"image_10122025_18_55_54_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401260553","file1":"1401260552","file0":"1401260551","file4":"1401260556","file5":"1401260558","file3":"1401260554"},"map_files_photo_id_array":[{"photo_id":"1401260558","filename":"file5"},{"photo_id":"1401260553","filename":"file2"},{"photo_id":"1401260556","filename":"file4"},{"photo_id":"1401260552","filename":"file1"},{"photo_id":"1401260551","filename":"file0"},{"photo_id":"1401260554","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260553":["hashtag1","hashtag2"]},{"1401260556":["hashtag1","hashtag2"]},{"1401260558":["hashtag1","hashtag2"]},{"1401260552":["hashtag1","hashtag2"]},{"1401260551":["hashtag1","hashtag2"]},{"1401260554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260553, 1401260556, 1401260558, 1401260552, 1401260551, 1401260554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02369976043701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:46:32.520043
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_25_10769.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_14_9818.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_55_04_9812.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_55_9753.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_45_9849.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_35_10690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_25_10769.jpg', '/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_14_9818.jpg', '/home/nano/Desktop/images/10122025/18/54/image_10122025_18_55_04_9812.jpg', '/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_55_9753.jpg', '/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_45_9849.jpg', '/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_35_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_25_10769.jpg
/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_14_9818.jpg
/home/nano/Desktop/images/10122025/18/54/image_10122025_18_55_04_9812.jpg
/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_55_9753.jpg
/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_45_9849.jpg
/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_35_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":["1401260571","1401260574","1401260568","1401260576","1401260564","1401260566"],"photo_ids_order":["1401260564","1401260566","1401260568","1401260571","1401260574","1401260576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62f8d6e0d8edaeed0346bff2aa482a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3868258350151872017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832453358,"filename":"image_10122025_18_54_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e928a0bf42b7df6e33eff74b9518a79.jpg","text":"TemporaryFile(/tmp/multipartBody1181631494112719781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832453358,"filename":"image_10122025_18_54_45_9849.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62bef1e6fa3483cb961fd9e2cb9abf22.jpg","text":"TemporaryFile(/tmp/multipartBody8119937417219866005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832453358,"filename":"image_10122025_18_55_04_9812.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b6331b51577f596e76f513380cdc46b.jpg","text":"TemporaryFile(/tmp/multipartBody6249942308602756921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832453358,"filename":"image_10122025_18_54_35_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c117ee4b827d67bd997ace3008bf7aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1938171472810987995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832453358,"filename":"image_10122025_18_55_25_10769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce0eb86c705fb08cf4e867c5c1b5cfbf.jpg","text":"TemporaryFile(/tmp/multipartBody2952305080677722961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832453358,"filename":"image_10122025_18_55_14_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401260568","file1":"1401260566","file0":"1401260564","file4":"1401260574","file5":"1401260576","file3":"1401260571"},"map_files_photo_id_array":[{"photo_id":"1401260576","filename":"file5"},{"photo_id":"1401260568","filename":"file2"},{"photo_id":"1401260574","filename":"file4"},{"photo_id":"1401260566","filename":"file1"},{"photo_id":"1401260564","filename":"file0"},{"photo_id":"1401260571","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260571":["hashtag1","hashtag2"]},{"1401260574":["hashtag1","hashtag2"]},{"1401260568":["hashtag1","hashtag2"]},{"1401260576":["hashtag1","hashtag2"]},{"1401260564":["hashtag1","hashtag2"]},{"1401260566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260571, 1401260574, 1401260568, 1401260576, 1401260564, 1401260566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15474224090576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:47:17.596459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_24_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_54_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_24_9636.jpg', '/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_15_9644.jpg', '/home/nano/Desktop/images/10122025/18/53/image_10122025_18_54_05_10642.jpg', '/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_54_9613.jpg', '/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_45_10618.jpg', '/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_24_9636.jpg
/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_15_9644.jpg
/home/nano/Desktop/images/10122025/18/53/image_10122025_18_54_05_10642.jpg
/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_54_9613.jpg
/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_45_10618.jpg
/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_34_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":["1401260602","1401260586","1401260589","1401260591","1401260593","1401260584"],"photo_ids_order":["1401260584","1401260586","1401260589","1401260591","1401260593","1401260602"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e438f57c62a641956366f97a7dbdb53f.jpg","text":"TemporaryFile(/tmp/multipartBody5492552071204821692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832498384,"filename":"image_10122025_18_53_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/12/27/dd3bbf3811b3c0b1c44fe74f377ee8e7.jpg","text":"TemporaryFile(/tmp/multipartBody516366636498717532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832498384,"filename":"image_10122025_18_54_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/393cc737c866bb4c98bde281a6df558b.jpg","text":"TemporaryFile(/tmp/multipartBody5786894050684483190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832498384,"filename":"image_10122025_18_54_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0a8f60a5773e6c4108992af2013c8e5.jpg","text":"TemporaryFile(/tmp/multipartBody7274273599411043861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832498384,"filename":"image_10122025_18_53_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/12/27/ce39cbbcb7cd14299c7a284e8b49d69d.jpg","text":"TemporaryFile(/tmp/multipartBody892730198586419409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832498384,"filename":"image_10122025_18_53_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dea9c93942ddad17cdfc345f821a9b79.jpg","text":"TemporaryFile(/tmp/multipartBody6424521735366634878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832498384,"filename":"image_10122025_18_54_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401260589","file1":"1401260586","file0":"1401260584","file4":"1401260593","file5":"1401260602","file3":"1401260591"},"map_files_photo_id_array":[{"photo_id":"1401260602","filename":"file5"},{"photo_id":"1401260589","filename":"file2"},{"photo_id":"1401260593","filename":"file4"},{"photo_id":"1401260586","filename":"file1"},{"photo_id":"1401260584","filename":"file0"},{"photo_id":"1401260591","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260602":["hashtag1","hashtag2"]},{"1401260586":["hashtag1","hashtag2"]},{"1401260589":["hashtag1","hashtag2"]},{"1401260591":["hashtag1","hashtag2"]},{"1401260593":["hashtag1","hashtag2"]},{"1401260584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260602, 1401260586, 1401260589, 1401260591, 1401260593, 1401260584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8593327999115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:48:03.297662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_44_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_25_9603.jpg', '/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_15_10646.jpg', '/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_34_9619.jpg', '/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_25_10616.jpg', '/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_55_10615.jpg', '/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_25_9603.jpg
/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_15_10646.jpg
/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_34_9619.jpg
/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_25_10616.jpg
/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_55_10615.jpg
/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_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":["1401260932","1401260961","1401260883","1401260963","1401260966","1401260851"],"photo_ids_order":["1401260851","1401260883","1401260932","1401260961","1401260963","1401260966"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22e2506941ad176007966ccf9120822a.jpg","text":"TemporaryFile(/tmp/multipartBody5844990024449198767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832544153,"filename":"image_10122025_18_52_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/12/27/198c30206cf54206422237529d991bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6531242278497764439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832544153,"filename":"image_10122025_18_52_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bed2250bbf4c5fc6cb2194cb8e782caf.jpg","text":"TemporaryFile(/tmp/multipartBody2099963081339837070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832544153,"filename":"image_10122025_18_53_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e268587c271ba9c579da3920111ea100.jpg","text":"TemporaryFile(/tmp/multipartBody3229165645756897332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832544153,"filename":"image_10122025_18_51_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/925c043e14d20064d02b12514dd1732a.jpg","text":"TemporaryFile(/tmp/multipartBody1107648912014604897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832544153,"filename":"image_10122025_18_51_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/12/27/767c9ce06ec6a80be90a8180ed450883.jpg","text":"TemporaryFile(/tmp/multipartBody526856159732117487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832544153,"filename":"image_10122025_18_53_25_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401260932","file1":"1401260883","file0":"1401260851","file4":"1401260963","file5":"1401260966","file3":"1401260961"},"map_files_photo_id_array":[{"photo_id":"1401260966","filename":"file5"},{"photo_id":"1401260932","filename":"file2"},{"photo_id":"1401260963","filename":"file4"},{"photo_id":"1401260883","filename":"file1"},{"photo_id":"1401260851","filename":"file0"},{"photo_id":"1401260961","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260932":["hashtag1","hashtag2"]},{"1401260961":["hashtag1","hashtag2"]},{"1401260883":["hashtag1","hashtag2"]},{"1401260963":["hashtag1","hashtag2"]},{"1401260966":["hashtag1","hashtag2"]},{"1401260851":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260932, 1401260961, 1401260883, 1401260963, 1401260966, 1401260851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.754302978515625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:48:47.764414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_51_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_45_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_35_10612.jpg', '/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_24_9609.jpg', '/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_14_9636.jpg', '/home/nano/Desktop/images/10122025/18/50/image_10122025_18_51_05_10639.jpg', '/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_54_9608.jpg', '/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_45_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_35_10612.jpg
/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_24_9609.jpg
/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_14_9636.jpg
/home/nano/Desktop/images/10122025/18/50/image_10122025_18_51_05_10639.jpg
/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_54_9608.jpg
/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_45_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":["1401260985","1401261114","1401261017","1401261082","1401261049","1401260986"],"photo_ids_order":["1401260985","1401260986","1401261017","1401261049","1401261082","1401261114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24faae86a0fb74250be0e8b21891b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody6599639315231401225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832588546,"filename":"image_10122025_18_51_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85dcf2577049e26db0de52f8c353c6af.jpg","text":"TemporaryFile(/tmp/multipartBody732772815326195466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832588546,"filename":"image_10122025_18_50_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fceb826a7f3a4d3447907706a1836071.jpg","text":"TemporaryFile(/tmp/multipartBody1750516173050534084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832588546,"filename":"image_10122025_18_51_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/12/27/f24e222277b000605517c98229e74ef0.jpg","text":"TemporaryFile(/tmp/multipartBody5442681056263396117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832588546,"filename":"image_10122025_18_50_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/12/27/b367c8eca4ae3d78e952588ac33da224.jpg","text":"TemporaryFile(/tmp/multipartBody5693748151597036624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832588546,"filename":"image_10122025_18_51_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa5c04be6bfb4cb03878bf508334e668.jpg","text":"TemporaryFile(/tmp/multipartBody138428924479035449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832588546,"filename":"image_10122025_18_51_24_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261017","file1":"1401260986","file0":"1401260985","file4":"1401261082","file5":"1401261114","file3":"1401261049"},"map_files_photo_id_array":[{"photo_id":"1401261114","filename":"file5"},{"photo_id":"1401261017","filename":"file2"},{"photo_id":"1401261082","filename":"file4"},{"photo_id":"1401260986","filename":"file1"},{"photo_id":"1401260985","filename":"file0"},{"photo_id":"1401261049","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401260985":["hashtag1","hashtag2"]},{"1401261114":["hashtag1","hashtag2"]},{"1401261017":["hashtag1","hashtag2"]},{"1401261082":["hashtag1","hashtag2"]},{"1401261049":["hashtag1","hashtag2"]},{"1401260986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401260985, 1401261114, 1401261017, 1401261082, 1401261049, 1401260986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73871350288391 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:49:31.847403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_50_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_45_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_35_10610.jpg', '/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_24_9621.jpg', '/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_15_10637.jpg', '/home/nano/Desktop/images/10122025/18/49/image_10122025_18_50_04_9641.jpg', '/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_54_9598.jpg', '/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_45_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_35_10610.jpg
/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_24_9621.jpg
/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_15_10637.jpg
/home/nano/Desktop/images/10122025/18/49/image_10122025_18_50_04_9641.jpg
/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_54_9598.jpg
/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_45_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":["1401261126","1401261129","1401261122","1401261131","1401261133","1401261124"],"photo_ids_order":["1401261122","1401261124","1401261126","1401261129","1401261131","1401261133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1340cad8568c97bec41ccbac9d03625c.jpg","text":"TemporaryFile(/tmp/multipartBody8213554752752037197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832632626,"filename":"image_10122025_18_50_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bae6fd318d1fccd5bc01f984f65616b3.jpg","text":"TemporaryFile(/tmp/multipartBody2766662673194968662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832632626,"filename":"image_10122025_18_50_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/12/27/0d0df779825f7ae6d28ee238cf2a6954.jpg","text":"TemporaryFile(/tmp/multipartBody5174888500236231860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832632626,"filename":"image_10122025_18_50_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecbd283888d5224d3b9d5d50c91ac564.jpg","text":"TemporaryFile(/tmp/multipartBody3102066571967700736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832632626,"filename":"image_10122025_18_49_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adfe947120c8c67cf0689ce4da65a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody6150650304213953361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832632626,"filename":"image_10122025_18_49_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba24dd33c6b3564b09e9e6e98e77eb2f.jpg","text":"TemporaryFile(/tmp/multipartBody4546487095616307161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832632626,"filename":"image_10122025_18_50_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261126","file1":"1401261124","file0":"1401261122","file4":"1401261131","file5":"1401261133","file3":"1401261129"},"map_files_photo_id_array":[{"photo_id":"1401261133","filename":"file5"},{"photo_id":"1401261126","filename":"file2"},{"photo_id":"1401261131","filename":"file4"},{"photo_id":"1401261124","filename":"file1"},{"photo_id":"1401261122","filename":"file0"},{"photo_id":"1401261129","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261126":["hashtag1","hashtag2"]},{"1401261129":["hashtag1","hashtag2"]},{"1401261122":["hashtag1","hashtag2"]},{"1401261131":["hashtag1","hashtag2"]},{"1401261133":["hashtag1","hashtag2"]},{"1401261124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261126, 1401261129, 1401261122, 1401261131, 1401261133, 1401261124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.622722864151 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:50:16.949216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_25_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_15_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_49_04_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_55_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_45_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_34_9617.jpg', '/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_25_9654.jpg', '/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_15_10677.jpg', '/home/nano/Desktop/images/10122025/18/48/image_10122025_18_49_04_9698.jpg', '/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_55_9657.jpg', '/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_34_9617.jpg
/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_25_9654.jpg
/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_15_10677.jpg
/home/nano/Desktop/images/10122025/18/48/image_10122025_18_49_04_9698.jpg
/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_55_9657.jpg
/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_45_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":["1401261138","1401261147","1401261149","1401261145","1401261139","1401261142"],"photo_ids_order":["1401261138","1401261139","1401261142","1401261145","1401261147","1401261149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1be99351d66e7168ec3f9e39c560f927.jpg","text":"TemporaryFile(/tmp/multipartBody1888882993651556044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832677734,"filename":"image_10122025_18_49_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/12/27/534ef2ab635a1dd51d943bd9bc068dcb.jpg","text":"TemporaryFile(/tmp/multipartBody7337754723098933954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832677734,"filename":"image_10122025_18_48_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/63907d7ca518c90c0a6e2652e4a006fe.jpg","text":"TemporaryFile(/tmp/multipartBody5370981538779982978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832677734,"filename":"image_10122025_18_48_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3fea932e1a5a9a97f174617c635896c.jpg","text":"TemporaryFile(/tmp/multipartBody2467115498091529381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832677734,"filename":"image_10122025_18_49_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/12/27/7abdebac5c2aedbd282d7c4fcfb8f662.jpg","text":"TemporaryFile(/tmp/multipartBody5698884409307476267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832677734,"filename":"image_10122025_18_49_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb660af3d52076ef464a6bbc1102d94f.jpg","text":"TemporaryFile(/tmp/multipartBody8684737026855507199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832677734,"filename":"image_10122025_18_49_15_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261142","file1":"1401261139","file0":"1401261138","file4":"1401261147","file5":"1401261149","file3":"1401261145"},"map_files_photo_id_array":[{"photo_id":"1401261149","filename":"file5"},{"photo_id":"1401261142","filename":"file2"},{"photo_id":"1401261147","filename":"file4"},{"photo_id":"1401261139","filename":"file1"},{"photo_id":"1401261138","filename":"file0"},{"photo_id":"1401261145","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261138":["hashtag1","hashtag2"]},{"1401261147":["hashtag1","hashtag2"]},{"1401261149":["hashtag1","hashtag2"]},{"1401261145":["hashtag1","hashtag2"]},{"1401261139":["hashtag1","hashtag2"]},{"1401261142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261138, 1401261147, 1401261149, 1401261145, 1401261139, 1401261142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76566481590271 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:51:02.642443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_34_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_25_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_48_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_44_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_34_9675.jpg', '/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_25_9647.jpg', '/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_15_10650.jpg', '/home/nano/Desktop/images/10122025/18/47/image_10122025_18_48_04_9626.jpg', '/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_55_10611.jpg', '/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_44_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_34_9675.jpg
/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_25_9647.jpg
/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_15_10650.jpg
/home/nano/Desktop/images/10122025/18/47/image_10122025_18_48_04_9626.jpg
/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_55_10611.jpg
/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_44_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":["1401261156","1401261153","1401261191","1401261155","1401261157","1401261154"],"photo_ids_order":["1401261153","1401261154","1401261155","1401261156","1401261157","1401261191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ea34d77492ba209505dbc3d0e58c2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6490201667173691833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832723484,"filename":"image_10122025_18_48_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/12/27/eed211c5d064cb2fd748b3092e25fe6e.jpg","text":"TemporaryFile(/tmp/multipartBody4522059719218352609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832723484,"filename":"image_10122025_18_48_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b098af8a1dfa452d03ffb1ec443bd30a.jpg","text":"TemporaryFile(/tmp/multipartBody2550457787823543504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832723484,"filename":"image_10122025_18_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/12/27/7da79ae1532ef21687e58c167ec859e8.jpg","text":"TemporaryFile(/tmp/multipartBody3210849262543823914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832723484,"filename":"image_10122025_18_48_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d5020ec9865d9fae50604003a0a7d89.jpg","text":"TemporaryFile(/tmp/multipartBody7563813364453075234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832723484,"filename":"image_10122025_18_47_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17adb45c1b671945e04754984172ed2c.jpg","text":"TemporaryFile(/tmp/multipartBody8825124225961335686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832723484,"filename":"image_10122025_18_48_25_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261155","file1":"1401261154","file0":"1401261153","file4":"1401261157","file5":"1401261191","file3":"1401261156"},"map_files_photo_id_array":[{"photo_id":"1401261191","filename":"file5"},{"photo_id":"1401261155","filename":"file2"},{"photo_id":"1401261157","filename":"file4"},{"photo_id":"1401261154","filename":"file1"},{"photo_id":"1401261153","filename":"file0"},{"photo_id":"1401261156","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261156":["hashtag1","hashtag2"]},{"1401261153":["hashtag1","hashtag2"]},{"1401261191":["hashtag1","hashtag2"]},{"1401261155":["hashtag1","hashtag2"]},{"1401261157":["hashtag1","hashtag2"]},{"1401261154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261156, 1401261153, 1401261191, 1401261155, 1401261157, 1401261154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.166922092437744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:51:47.046893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_35_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_47_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_44_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_35_9593.jpg', '/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_25_10635.jpg', '/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_14_9615.jpg', '/home/nano/Desktop/images/10122025/18/46/image_10122025_18_47_05_9612.jpg', '/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_55_10616.jpg', '/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_35_9593.jpg
/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_25_10635.jpg
/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_14_9615.jpg
/home/nano/Desktop/images/10122025/18/46/image_10122025_18_47_05_9612.jpg
/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_55_10616.jpg
/home/nano/Desktop/images/10122025/18/46/image_10122025_18_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":["1401261462","1401261398","1401261491","1401261487","1401261430","1401261486"],"photo_ids_order":["1401261398","1401261430","1401261462","1401261486","1401261487","1401261491"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae814be03638eb416d2719add478246c.jpg","text":"TemporaryFile(/tmp/multipartBody7455570111928991967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832767830,"filename":"image_10122025_18_47_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/12/27/8513dded4aaeaafa4f798e3ba0a4e886.jpg","text":"TemporaryFile(/tmp/multipartBody4230269196088339017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832767830,"filename":"image_10122025_18_47_35_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7a909a17394cf3c4926524bd97e79c5.jpg","text":"TemporaryFile(/tmp/multipartBody1605334063555250134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832767830,"filename":"image_10122025_18_46_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/12/27/d1a19c9b2148078f435300a87a56fb95.jpg","text":"TemporaryFile(/tmp/multipartBody4565586851328223764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832767830,"filename":"image_10122025_18_46_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5aa8f8982bb3b054a501f73c19ebbf5.jpg","text":"TemporaryFile(/tmp/multipartBody2868364444220535274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832767830,"filename":"image_10122025_18_47_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41646072245d32ccda48d0bc6c261389.jpg","text":"TemporaryFile(/tmp/multipartBody1242397009082306661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832767830,"filename":"image_10122025_18_47_05_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261462","file1":"1401261430","file0":"1401261398","file4":"1401261487","file5":"1401261491","file3":"1401261486"},"map_files_photo_id_array":[{"photo_id":"1401261491","filename":"file5"},{"photo_id":"1401261462","filename":"file2"},{"photo_id":"1401261487","filename":"file4"},{"photo_id":"1401261430","filename":"file1"},{"photo_id":"1401261398","filename":"file0"},{"photo_id":"1401261486","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261462":["hashtag1","hashtag2"]},{"1401261398":["hashtag1","hashtag2"]},{"1401261491":["hashtag1","hashtag2"]},{"1401261487":["hashtag1","hashtag2"]},{"1401261430":["hashtag1","hashtag2"]},{"1401261486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261462, 1401261398, 1401261491, 1401261487, 1401261430, 1401261486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.558770418167114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:52:32.154718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_46_05_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_54_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_45_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_35_10612.jpg', '/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_24_9600.jpg', '/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_15_9622.jpg', '/home/nano/Desktop/images/10122025/18/45/image_10122025_18_46_05_10710.jpg', '/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_54_9653.jpg', '/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_45_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_35_10612.jpg
/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_24_9600.jpg
/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_15_9622.jpg
/home/nano/Desktop/images/10122025/18/45/image_10122025_18_46_05_10710.jpg
/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_54_9653.jpg
/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_45_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":["1401261516","1401261510","1401261504","1401261507","1401261512","1401261515"],"photo_ids_order":["1401261504","1401261507","1401261510","1401261512","1401261515","1401261516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2d6486f29a2da3f04936a1f7c6c72ca.jpg","text":"TemporaryFile(/tmp/multipartBody4727986349016749190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832812951,"filename":"image_10122025_18_45_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d0f8741cae5d649eba357725f1a3df3.jpg","text":"TemporaryFile(/tmp/multipartBody1012763902831409943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832812951,"filename":"image_10122025_18_46_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b3c0a56235a0be05bbe63f118257adb.jpg","text":"TemporaryFile(/tmp/multipartBody8934716138382326278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832812951,"filename":"image_10122025_18_46_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e38b0e4d88aed992fcbc09d861b00d88.jpg","text":"TemporaryFile(/tmp/multipartBody1171007040373546157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832812951,"filename":"image_10122025_18_46_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/12/27/a4905977e6fe4cf09a221790491d1d01.jpg","text":"TemporaryFile(/tmp/multipartBody877986012376637143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832812951,"filename":"image_10122025_18_46_05_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c84a3e1a147cf2856af82d31115f66da.jpg","text":"TemporaryFile(/tmp/multipartBody7117479975043416930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832812951,"filename":"image_10122025_18_45_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261510","file1":"1401261507","file0":"1401261504","file4":"1401261515","file5":"1401261516","file3":"1401261512"},"map_files_photo_id_array":[{"photo_id":"1401261516","filename":"file5"},{"photo_id":"1401261510","filename":"file2"},{"photo_id":"1401261515","filename":"file4"},{"photo_id":"1401261507","filename":"file1"},{"photo_id":"1401261504","filename":"file0"},{"photo_id":"1401261512","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261516":["hashtag1","hashtag2"]},{"1401261510":["hashtag1","hashtag2"]},{"1401261504":["hashtag1","hashtag2"]},{"1401261507":["hashtag1","hashtag2"]},{"1401261512":["hashtag1","hashtag2"]},{"1401261515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261516, 1401261510, 1401261504, 1401261507, 1401261512, 1401261515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.377203941345215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:53:17.290540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_35_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_24_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_15_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_45_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_45_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_35_10667.jpg', '/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_24_9658.jpg', '/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_15_9686.jpg', '/home/nano/Desktop/images/10122025/18/44/image_10122025_18_45_05_10686.jpg', '/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_54_9602.jpg', '/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_45_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_35_10667.jpg
/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_24_9658.jpg
/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_15_9686.jpg
/home/nano/Desktop/images/10122025/18/44/image_10122025_18_45_05_10686.jpg
/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_54_9602.jpg
/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_45_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401261530","1401261524","1401261527","1401261521","1401261518","1401261517"],"photo_ids_order":["1401261517","1401261518","1401261521","1401261524","1401261527","1401261530"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6aaa2e25354c1ae058ee818f532ac94.jpg","text":"TemporaryFile(/tmp/multipartBody7664273338653472066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832858098,"filename":"image_10122025_18_44_45_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ee9379128092964b25c0da6ba72328e.jpg","text":"TemporaryFile(/tmp/multipartBody6061471355157008540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832858098,"filename":"image_10122025_18_45_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/844a1529aefb5e61b0f215256f29323d.jpg","text":"TemporaryFile(/tmp/multipartBody559655606474462160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832858098,"filename":"image_10122025_18_44_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/12/27/7a7f2e333f4632a87fd274154f666115.jpg","text":"TemporaryFile(/tmp/multipartBody4022651803188711211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832858098,"filename":"image_10122025_18_45_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06732f67c003abed305e0bdfcbef9eea.jpg","text":"TemporaryFile(/tmp/multipartBody6525799744819682978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832858098,"filename":"image_10122025_18_45_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/12/27/4e85ec8b48f3c87fa8ddf2def7137753.jpg","text":"TemporaryFile(/tmp/multipartBody3844883580538144324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832858098,"filename":"image_10122025_18_45_35_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261521","file1":"1401261518","file0":"1401261517","file4":"1401261527","file5":"1401261530","file3":"1401261524"},"map_files_photo_id_array":[{"photo_id":"1401261530","filename":"file5"},{"photo_id":"1401261521","filename":"file2"},{"photo_id":"1401261527","filename":"file4"},{"photo_id":"1401261518","filename":"file1"},{"photo_id":"1401261517","filename":"file0"},{"photo_id":"1401261524","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261530":["hashtag1","hashtag2"]},{"1401261524":["hashtag1","hashtag2"]},{"1401261527":["hashtag1","hashtag2"]},{"1401261521":["hashtag1","hashtag2"]},{"1401261518":["hashtag1","hashtag2"]},{"1401261517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261530, 1401261524, 1401261527, 1401261521, 1401261518, 1401261517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15870690345764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:54:03.023055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_44_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_55_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_45_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_35_10632.jpg', '/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_24_9605.jpg', '/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_15_10628.jpg', '/home/nano/Desktop/images/10122025/18/43/image_10122025_18_44_04_9630.jpg', '/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_55_9599.jpg', '/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_45_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_35_10632.jpg
/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_24_9605.jpg
/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_15_10628.jpg
/home/nano/Desktop/images/10122025/18/43/image_10122025_18_44_04_9630.jpg
/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_55_9599.jpg
/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_45_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":["1401261540","1401261537","1401261542","1401261539","1401261541","1401261538"],"photo_ids_order":["1401261537","1401261538","1401261539","1401261540","1401261541","1401261542"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/450c12fac9e3e409b62f1d50ad43b28e.jpg","text":"TemporaryFile(/tmp/multipartBody4474274252083183703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832903904,"filename":"image_10122025_18_44_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/12/27/9989ee1b3d456ade77ca267bfdcbbf57.jpg","text":"TemporaryFile(/tmp/multipartBody4801961067583826902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832903904,"filename":"image_10122025_18_44_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2635e9cf937a7bb699fcfc92595a7f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6020662401308953348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832903904,"filename":"image_10122025_18_43_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6413492d4b1e975f2c8b265c272e2cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7957212193822483607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832903904,"filename":"image_10122025_18_44_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1487d5b0eb265339f675345365324be.jpg","text":"TemporaryFile(/tmp/multipartBody4750924955632503386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832903904,"filename":"image_10122025_18_43_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/030a4505f65e38d13ae6badd3b0ac393.jpg","text":"TemporaryFile(/tmp/multipartBody6305644717901575100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832903904,"filename":"image_10122025_18_44_24_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261539","file1":"1401261538","file0":"1401261537","file4":"1401261541","file5":"1401261542","file3":"1401261540"},"map_files_photo_id_array":[{"photo_id":"1401261542","filename":"file5"},{"photo_id":"1401261539","filename":"file2"},{"photo_id":"1401261541","filename":"file4"},{"photo_id":"1401261538","filename":"file1"},{"photo_id":"1401261537","filename":"file0"},{"photo_id":"1401261540","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261540":["hashtag1","hashtag2"]},{"1401261537":["hashtag1","hashtag2"]},{"1401261542":["hashtag1","hashtag2"]},{"1401261539":["hashtag1","hashtag2"]},{"1401261541":["hashtag1","hashtag2"]},{"1401261538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261540, 1401261537, 1401261542, 1401261539, 1401261541, 1401261538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.860503435134888 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:54:47.367938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_43_05_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_44_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_34_9601.jpg', '/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_25_10628.jpg', '/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_14_9608.jpg', '/home/nano/Desktop/images/10122025/18/42/image_10122025_18_43_05_9605.jpg', '/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_55_10609.jpg', '/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_44_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_34_9601.jpg
/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_25_10628.jpg
/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_14_9608.jpg
/home/nano/Desktop/images/10122025/18/42/image_10122025_18_43_05_9605.jpg
/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_55_10609.jpg
/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_44_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":["1401261561","1401261560","1401261557","1401261556","1401261559","1401261558"],"photo_ids_order":["1401261556","1401261557","1401261558","1401261559","1401261560","1401261561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bdc46f3e199a7237c76c9e337e072d3.jpg","text":"TemporaryFile(/tmp/multipartBody7788841547977686030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832948140,"filename":"image_10122025_18_42_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/12/27/985d96b0afbf85af3db2847d4804a41a.jpg","text":"TemporaryFile(/tmp/multipartBody6893418757582299378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832948140,"filename":"image_10122025_18_42_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1164527fe7d4455fc034ad4e63d6b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody3384655969653662186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832948140,"filename":"image_10122025_18_43_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9085c7aa5081b3952fac9c352cfbf713.jpg","text":"TemporaryFile(/tmp/multipartBody99632890557221462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832948140,"filename":"image_10122025_18_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/12/27/45a30678fe7c062dabcab88669edccd1.jpg","text":"TemporaryFile(/tmp/multipartBody4005567525738760591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832948140,"filename":"image_10122025_18_43_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f2c4c8f46dfb56f6710044a515fe8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8048420783699787675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832948140,"filename":"image_10122025_18_43_14_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261558","file1":"1401261557","file0":"1401261556","file4":"1401261560","file5":"1401261561","file3":"1401261559"},"map_files_photo_id_array":[{"photo_id":"1401261561","filename":"file5"},{"photo_id":"1401261558","filename":"file2"},{"photo_id":"1401261560","filename":"file4"},{"photo_id":"1401261557","filename":"file1"},{"photo_id":"1401261556","filename":"file0"},{"photo_id":"1401261559","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261561":["hashtag1","hashtag2"]},{"1401261560":["hashtag1","hashtag2"]},{"1401261557":["hashtag1","hashtag2"]},{"1401261556":["hashtag1","hashtag2"]},{"1401261559":["hashtag1","hashtag2"]},{"1401261558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261561, 1401261560, 1401261557, 1401261556, 1401261559, 1401261558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96655511856079 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:55:32.546712
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_14_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_42_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_45_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_35_10606.jpg', '/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_24_9609.jpg', '/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_14_9610.jpg', '/home/nano/Desktop/images/10122025/18/41/image_10122025_18_42_05_10617.jpg', '/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_54_9612.jpg', '/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_45_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_35_10606.jpg
/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_24_9609.jpg
/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_14_9610.jpg
/home/nano/Desktop/images/10122025/18/41/image_10122025_18_42_05_10617.jpg
/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_54_9612.jpg
/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_45_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":["1401261573","1401261571","1401261580","1401261568","1401261576","1401261579"],"photo_ids_order":["1401261568","1401261571","1401261573","1401261576","1401261579","1401261580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ac7ef4154b99a08a83c28f7cb33299f.jpg","text":"TemporaryFile(/tmp/multipartBody1750700442664405190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832993340,"filename":"image_10122025_18_42_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/12/27/e2ea4427c27e38afc01d0d3f12377c83.jpg","text":"TemporaryFile(/tmp/multipartBody4675719249317088171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832993340,"filename":"image_10122025_18_42_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/12/27/b9bdace8c6e10720c3564dfdf826613f.jpg","text":"TemporaryFile(/tmp/multipartBody7629606896068486713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832993340,"filename":"image_10122025_18_41_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0537cd2eb393b21b909cfe98869099ad.jpg","text":"TemporaryFile(/tmp/multipartBody2732072954536417185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832993340,"filename":"image_10122025_18_42_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18b67196ac01a546f3c3e8faae391123.jpg","text":"TemporaryFile(/tmp/multipartBody2098187552788667549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832993340,"filename":"image_10122025_18_42_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c431a4741ccfd5cefe62810f0e3a7b79.jpg","text":"TemporaryFile(/tmp/multipartBody1682568423388128335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766832993340,"filename":"image_10122025_18_41_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261573","file1":"1401261571","file0":"1401261568","file4":"1401261579","file5":"1401261580","file3":"1401261576"},"map_files_photo_id_array":[{"photo_id":"1401261580","filename":"file5"},{"photo_id":"1401261573","filename":"file2"},{"photo_id":"1401261579","filename":"file4"},{"photo_id":"1401261571","filename":"file1"},{"photo_id":"1401261568","filename":"file0"},{"photo_id":"1401261576","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261573":["hashtag1","hashtag2"]},{"1401261571":["hashtag1","hashtag2"]},{"1401261580":["hashtag1","hashtag2"]},{"1401261568":["hashtag1","hashtag2"]},{"1401261576":["hashtag1","hashtag2"]},{"1401261579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261573, 1401261571, 1401261580, 1401261568, 1401261576, 1401261579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.827436923980713 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:56:17.709139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_41_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_55_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_45_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_35_10605.jpg', '/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_24_9598.jpg', '/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_15_10626.jpg', '/home/nano/Desktop/images/10122025/18/40/image_10122025_18_41_04_9611.jpg', '/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_55_9597.jpg', '/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_45_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_35_10605.jpg
/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_24_9598.jpg
/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_15_10626.jpg
/home/nano/Desktop/images/10122025/18/40/image_10122025_18_41_04_9611.jpg
/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_55_9597.jpg
/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_45_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":["1401261593","1401261587","1401261581","1401261590","1401261584","1401261583"],"photo_ids_order":["1401261581","1401261583","1401261584","1401261587","1401261590","1401261593"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6177c66c867ea7ab6d14e665c27f69e.jpg","text":"TemporaryFile(/tmp/multipartBody5520927425172675018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833038502,"filename":"image_10122025_18_40_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0a94a6a0d13e3c3a557113f6cb224f0.jpg","text":"TemporaryFile(/tmp/multipartBody2237832040198082873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833038502,"filename":"image_10122025_18_41_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/12/27/b845daaeb9a8db73a6f3f087f0d72488.jpg","text":"TemporaryFile(/tmp/multipartBody790765541911696610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833038502,"filename":"image_10122025_18_41_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cee415615ef90c290f381662a8810dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7378170533376990174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833038502,"filename":"image_10122025_18_40_55_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9b441122d473d168695f033fc05b31c.jpg","text":"TemporaryFile(/tmp/multipartBody7007273760493373236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833038502,"filename":"image_10122025_18_41_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8dd3c7ac61ebcf8e89dce9b7fea5082.jpg","text":"TemporaryFile(/tmp/multipartBody4315346446775020151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833038502,"filename":"image_10122025_18_41_24_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261584","file1":"1401261583","file0":"1401261581","file4":"1401261590","file5":"1401261593","file3":"1401261587"},"map_files_photo_id_array":[{"photo_id":"1401261593","filename":"file5"},{"photo_id":"1401261584","filename":"file2"},{"photo_id":"1401261590","filename":"file4"},{"photo_id":"1401261583","filename":"file1"},{"photo_id":"1401261581","filename":"file0"},{"photo_id":"1401261587","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261593":["hashtag1","hashtag2"]},{"1401261587":["hashtag1","hashtag2"]},{"1401261581":["hashtag1","hashtag2"]},{"1401261590":["hashtag1","hashtag2"]},{"1401261584":["hashtag1","hashtag2"]},{"1401261583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261593, 1401261587, 1401261581, 1401261590, 1401261584, 1401261583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82798433303833 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:57:03.344751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_40_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_44_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_34_9602.jpg', '/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_25_10608.jpg', '/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_14_9604.jpg', '/home/nano/Desktop/images/10122025/18/39/image_10122025_18_40_05_9634.jpg', '/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_55_10612.jpg', '/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_34_9602.jpg
/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_25_10608.jpg
/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_14_9604.jpg
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_40_05_9634.jpg
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_55_10612.jpg
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_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":["1401261609","1401261606","1401261611","1401261610","1401261613","1401261607"],"photo_ids_order":["1401261606","1401261607","1401261609","1401261610","1401261611","1401261613"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95e7f50c090fbc5c808de81e0adc5755.jpg","text":"TemporaryFile(/tmp/multipartBody5204081820103800757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833084145,"filename":"image_10122025_18_40_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b933ec2fc9967125a10e3b9916baa0a5.jpg","text":"TemporaryFile(/tmp/multipartBody5391519112651256876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833084145,"filename":"image_10122025_18_40_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/12/27/0d6985bfaeb6b4fec19d4c3d28ebb089.jpg","text":"TemporaryFile(/tmp/multipartBody2622548310328617478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833084145,"filename":"image_10122025_18_39_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7d74dc0d5d1941ddf25aef6efc0c432.jpg","text":"TemporaryFile(/tmp/multipartBody2043596722783149887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833084145,"filename":"image_10122025_18_40_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f5d9181a9d9a8560094614fbc3aaf3c.jpg","text":"TemporaryFile(/tmp/multipartBody3879652878324619456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833084145,"filename":"image_10122025_18_39_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/12/27/7840cc2c625f8dfd178b521c9892809e.jpg","text":"TemporaryFile(/tmp/multipartBody8042472249575342053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833084145,"filename":"image_10122025_18_40_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261609","file1":"1401261607","file0":"1401261606","file4":"1401261611","file5":"1401261613","file3":"1401261610"},"map_files_photo_id_array":[{"photo_id":"1401261613","filename":"file5"},{"photo_id":"1401261609","filename":"file2"},{"photo_id":"1401261611","filename":"file4"},{"photo_id":"1401261607","filename":"file1"},{"photo_id":"1401261606","filename":"file0"},{"photo_id":"1401261610","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261609":["hashtag1","hashtag2"]},{"1401261606":["hashtag1","hashtag2"]},{"1401261611":["hashtag1","hashtag2"]},{"1401261610":["hashtag1","hashtag2"]},{"1401261613":["hashtag1","hashtag2"]},{"1401261607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261609, 1401261606, 1401261611, 1401261610, 1401261613, 1401261607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.506457328796387 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:57:47.711483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg', '/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg', '/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:58:02.258947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg', '/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg', '/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg
/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401261732","1401261828","1401261698","1401261665","1401261763","1401261793"],"photo_ids_order":["1401261665","1401261698","1401261732","1401261763","1401261793","1401261828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b401bd2bbeb1921566525ee1cda2fbe4.jpg","text":"TemporaryFile(/tmp/multipartBody2695563842887612042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833143138,"filename":"image_10122025_18_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/12/27/82e68373e933ee06cd275897d803cbbc.jpg","text":"TemporaryFile(/tmp/multipartBody6454850457093138784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833143138,"filename":"image_10122025_18_38_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb7885a116f84e075621e6a02598afc2.jpg","text":"TemporaryFile(/tmp/multipartBody7628042514204049078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833143138,"filename":"image_10122025_18_39_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/12/27/534d4f27b3b877ebfac323ad19bc9f54.jpg","text":"TemporaryFile(/tmp/multipartBody3868447105976688536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833143138,"filename":"image_10122025_18_39_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2039d94e8be4e6a107c0f27793e466e9.jpg","text":"TemporaryFile(/tmp/multipartBody8001991207301150711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833143138,"filename":"image_10122025_18_39_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4f16826da76334113ac8fdef4b70c47.jpg","text":"TemporaryFile(/tmp/multipartBody4120195579206923722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833143138,"filename":"image_10122025_18_38_54_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401261732","file1":"1401261698","file0":"1401261665","file4":"1401261793","file5":"1401261828","file3":"1401261763"},"map_files_photo_id_array":[{"photo_id":"1401261828","filename":"file5"},{"photo_id":"1401261732","filename":"file2"},{"photo_id":"1401261793","filename":"file4"},{"photo_id":"1401261698","filename":"file1"},{"photo_id":"1401261665","filename":"file0"},{"photo_id":"1401261763","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401261732":["hashtag1","hashtag2"]},{"1401261828":["hashtag1","hashtag2"]},{"1401261698":["hashtag1","hashtag2"]},{"1401261665":["hashtag1","hashtag2"]},{"1401261763":["hashtag1","hashtag2"]},{"1401261793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401261732, 1401261828, 1401261698, 1401261665, 1401261763, 1401261793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39459800720215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:59:02.904184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_38_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_55_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_45_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_35_10614.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_24_9601.jpg', '/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_15_10625.jpg', '/home/nano/Desktop/images/10122025/18/37/image_10122025_18_38_04_9610.jpg', '/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_55_9598.jpg', '/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_45_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_35_10614.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_24_9601.jpg
/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_15_10625.jpg
/home/nano/Desktop/images/10122025/18/37/image_10122025_18_38_04_9610.jpg
/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_55_9598.jpg
/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_45_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":["1401262394","1401262325","1401262214","1401262288","1401262251","1401262176"],"photo_ids_order":["1401262176","1401262214","1401262251","1401262288","1401262325","1401262394"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f7b6e67137dfaf03fff70b4be4af345.jpg","text":"TemporaryFile(/tmp/multipartBody5150201642715282243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833203745,"filename":"image_10122025_18_37_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b79f21912332206239f6622d604f4081.jpg","text":"TemporaryFile(/tmp/multipartBody6243699467605395606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833203745,"filename":"image_10122025_18_37_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07e0469f0cfb5be5d40a615582dc312f.jpg","text":"TemporaryFile(/tmp/multipartBody5475372451138399568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833203745,"filename":"image_10122025_18_38_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/12/27/386eab5e7b29877429403802d7550e5f.jpg","text":"TemporaryFile(/tmp/multipartBody5665160659177139801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833203745,"filename":"image_10122025_18_38_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/12/27/d9e8581fbcfac5f81dbf26683b3b3679.jpg","text":"TemporaryFile(/tmp/multipartBody1918105973989449941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833203745,"filename":"image_10122025_18_38_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/670348b7fb6318fec1b6c58499b43896.jpg","text":"TemporaryFile(/tmp/multipartBody3788148176086111735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833203745,"filename":"image_10122025_18_38_35_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401262251","file1":"1401262214","file0":"1401262176","file4":"1401262325","file5":"1401262394","file3":"1401262288"},"map_files_photo_id_array":[{"photo_id":"1401262394","filename":"file5"},{"photo_id":"1401262251","filename":"file2"},{"photo_id":"1401262325","filename":"file4"},{"photo_id":"1401262214","filename":"file1"},{"photo_id":"1401262176","filename":"file0"},{"photo_id":"1401262288","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401262394":["hashtag1","hashtag2"]},{"1401262325":["hashtag1","hashtag2"]},{"1401262214":["hashtag1","hashtag2"]},{"1401262288":["hashtag1","hashtag2"]},{"1401262251":["hashtag1","hashtag2"]},{"1401262176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401262394, 1401262325, 1401262214, 1401262288, 1401262251, 1401262176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.922388553619385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 11:59:46.901571
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_37_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_44_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_34_9603.jpg', '/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_25_10630.jpg', '/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_14_9616.jpg', '/home/nano/Desktop/images/10122025/18/36/image_10122025_18_37_04_9602.jpg', '/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_55_10613.jpg', '/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_44_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_34_9603.jpg
/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_25_10630.jpg
/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_14_9616.jpg
/home/nano/Desktop/images/10122025/18/36/image_10122025_18_37_04_9602.jpg
/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_55_10613.jpg
/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_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":["1401262673","1401262868","1401262831","1401262909","1401262785","1401262743"],"photo_ids_order":["1401262673","1401262743","1401262785","1401262831","1401262868","1401262909"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6272a7934ad438687ee49b978dade1c.jpg","text":"TemporaryFile(/tmp/multipartBody2576537996961888929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833247680,"filename":"image_10122025_18_37_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/12/27/a5a1eeb5dc637e0cfd10d7aa3ae45293.jpg","text":"TemporaryFile(/tmp/multipartBody3649842928232056334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833247680,"filename":"image_10122025_18_36_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/954520e48f73ee566da9940801121be6.jpg","text":"TemporaryFile(/tmp/multipartBody5047464708350886422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833247680,"filename":"image_10122025_18_37_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/12/27/d779294b0da10fb057a5d55227c735c2.jpg","text":"TemporaryFile(/tmp/multipartBody8643402312812515667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833247680,"filename":"image_10122025_18_36_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/12/27/1325686a20b5e9370f5f4d5edc03143c.jpg","text":"TemporaryFile(/tmp/multipartBody3135381974261940383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833247680,"filename":"image_10122025_18_37_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/12/27/7c42ae4685bf60c3b60c66ada3583b07.jpg","text":"TemporaryFile(/tmp/multipartBody180147181136157423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833247680,"filename":"image_10122025_18_37_25_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401262785","file1":"1401262743","file0":"1401262673","file4":"1401262868","file5":"1401262909","file3":"1401262831"},"map_files_photo_id_array":[{"photo_id":"1401262909","filename":"file5"},{"photo_id":"1401262785","filename":"file2"},{"photo_id":"1401262868","filename":"file4"},{"photo_id":"1401262743","filename":"file1"},{"photo_id":"1401262673","filename":"file0"},{"photo_id":"1401262831","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401262673":["hashtag1","hashtag2"]},{"1401262868":["hashtag1","hashtag2"]},{"1401262831":["hashtag1","hashtag2"]},{"1401262909":["hashtag1","hashtag2"]},{"1401262785":["hashtag1","hashtag2"]},{"1401262743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401262673, 1401262868, 1401262831, 1401262909, 1401262785, 1401262743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.136977434158325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:00:32.026781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_36_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_45_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_35_9606.jpg', '/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_25_10612.jpg', '/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_14_9611.jpg', '/home/nano/Desktop/images/10122025/18/35/image_10122025_18_36_05_10628.jpg', '/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_54_9601.jpg', '/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_45_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_35_9606.jpg
/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_25_10612.jpg
/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_14_9611.jpg
/home/nano/Desktop/images/10122025/18/35/image_10122025_18_36_05_10628.jpg
/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_54_9601.jpg
/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_45_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":["1401263021","1401263002","1401263055","1401262965","1401263229","1401263174"],"photo_ids_order":["1401262965","1401263002","1401263021","1401263055","1401263174","1401263229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebfb35d6856d99158a277bb463d0614b.jpg","text":"TemporaryFile(/tmp/multipartBody8877630932839476741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833292830,"filename":"image_10122025_18_36_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/12/27/27de54aad5ec93d563c5ea36630ca2be.jpg","text":"TemporaryFile(/tmp/multipartBody1993784058576264056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833292830,"filename":"image_10122025_18_36_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a01673ee9602940c51ea680999fae76.jpg","text":"TemporaryFile(/tmp/multipartBody1493028194891148505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833292830,"filename":"image_10122025_18_36_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0393714efda4a5260daa04046a6b095c.jpg","text":"TemporaryFile(/tmp/multipartBody1489041728600421246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833292830,"filename":"image_10122025_18_36_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9eb25fc0787c8a28c8bd923c4c032b8.jpg","text":"TemporaryFile(/tmp/multipartBody2904292307269684301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833292830,"filename":"image_10122025_18_35_45_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f6e18adf78008902a738834eef5afaa.jpg","text":"TemporaryFile(/tmp/multipartBody1045769977178293904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833292830,"filename":"image_10122025_18_35_54_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401263021","file1":"1401263002","file0":"1401262965","file4":"1401263174","file5":"1401263229","file3":"1401263055"},"map_files_photo_id_array":[{"photo_id":"1401263229","filename":"file5"},{"photo_id":"1401263021","filename":"file2"},{"photo_id":"1401263174","filename":"file4"},{"photo_id":"1401263002","filename":"file1"},{"photo_id":"1401262965","filename":"file0"},{"photo_id":"1401263055","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401263021":["hashtag1","hashtag2"]},{"1401263002":["hashtag1","hashtag2"]},{"1401263055":["hashtag1","hashtag2"]},{"1401262965":["hashtag1","hashtag2"]},{"1401263229":["hashtag1","hashtag2"]},{"1401263174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401263021, 1401263002, 1401263055, 1401262965, 1401263229, 1401263174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.661731243133545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:01:17.114619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_35_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_55_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_45_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_35_10612.jpg', '/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_24_9598.jpg', '/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_15_10627.jpg', '/home/nano/Desktop/images/10122025/18/34/image_10122025_18_35_04_9632.jpg', '/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_55_9601.jpg', '/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_45_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_35_10612.jpg
/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_24_9598.jpg
/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_15_10627.jpg
/home/nano/Desktop/images/10122025/18/34/image_10122025_18_35_04_9632.jpg
/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_55_9601.jpg
/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_45_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":["1401264005","1401263843","1401263785","1401263935","1401263894","1401263969"],"photo_ids_order":["1401263785","1401263843","1401263894","1401263935","1401263969","1401264005"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfc037a950d4d821a56d2aab45fb305e.jpg","text":"TemporaryFile(/tmp/multipartBody3225073149703997772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833337894,"filename":"image_10122025_18_34_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec10a86dbcd05882164b55fff1bb9ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5064270618585093722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833337894,"filename":"image_10122025_18_35_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/12/27/faa49d59f4e2231013454538270f6e6b.jpg","text":"TemporaryFile(/tmp/multipartBody331640358278169651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833337894,"filename":"image_10122025_18_35_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5f00534bebd725fc7223d1387f4e438.jpg","text":"TemporaryFile(/tmp/multipartBody7557207911770179737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833337894,"filename":"image_10122025_18_35_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/12/27/7c3ec6483e18f097aa04bc9ff5cd09a9.jpg","text":"TemporaryFile(/tmp/multipartBody7801713567363717982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833337894,"filename":"image_10122025_18_35_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a821320cc5c124da8b7625b2019d8b53.jpg","text":"TemporaryFile(/tmp/multipartBody3723775740586950360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833337894,"filename":"image_10122025_18_34_55_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401263894","file1":"1401263843","file0":"1401263785","file4":"1401263969","file5":"1401264005","file3":"1401263935"},"map_files_photo_id_array":[{"photo_id":"1401264005","filename":"file5"},{"photo_id":"1401263894","filename":"file2"},{"photo_id":"1401263969","filename":"file4"},{"photo_id":"1401263843","filename":"file1"},{"photo_id":"1401263785","filename":"file0"},{"photo_id":"1401263935","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401264005":["hashtag1","hashtag2"]},{"1401263843":["hashtag1","hashtag2"]},{"1401263785":["hashtag1","hashtag2"]},{"1401263935":["hashtag1","hashtag2"]},{"1401263894":["hashtag1","hashtag2"]},{"1401263969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401264005, 1401263843, 1401263785, 1401263935, 1401263894, 1401263969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33676266670227 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:02:02.673685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_34_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_44_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_34_9615.jpg', '/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_25_10607.jpg', '/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_14_9620.jpg', '/home/nano/Desktop/images/10122025/18/33/image_10122025_18_34_04_9611.jpg', '/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_55_10610.jpg', '/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_34_9615.jpg
/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_25_10607.jpg
/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_14_9620.jpg
/home/nano/Desktop/images/10122025/18/33/image_10122025_18_34_04_9611.jpg
/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_55_10610.jpg
/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_44_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":["1401264323","1401264218","1401264289","1401264389","1401264254","1401264356"],"photo_ids_order":["1401264218","1401264254","1401264289","1401264323","1401264356","1401264389"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb86750c95d8459ca73fe37624073b85.jpg","text":"TemporaryFile(/tmp/multipartBody5037954345666972744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833383483,"filename":"image_10122025_18_34_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/12/27/12e729543c3bf8c38db6b420b21ab169.jpg","text":"TemporaryFile(/tmp/multipartBody5065588639233413235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833383483,"filename":"image_10122025_18_34_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/12/27/3538379dd15b9bbbd18a3611c16aef31.jpg","text":"TemporaryFile(/tmp/multipartBody4214870032560675083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833383483,"filename":"image_10122025_18_34_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/12/27/62509ee3671d9d8411daa2f4e9be1d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1725188693850779846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833383483,"filename":"image_10122025_18_33_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/12/27/29d8943fccfbeca47321e7a4d5442bfb.jpg","text":"TemporaryFile(/tmp/multipartBody4508077993173037269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833383483,"filename":"image_10122025_18_34_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc767c7f60e0475ea7d796818a8db147.jpg","text":"TemporaryFile(/tmp/multipartBody6876859658114774106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833383483,"filename":"image_10122025_18_33_55_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401264289","file1":"1401264254","file0":"1401264218","file4":"1401264356","file5":"1401264389","file3":"1401264323"},"map_files_photo_id_array":[{"photo_id":"1401264389","filename":"file5"},{"photo_id":"1401264289","filename":"file2"},{"photo_id":"1401264356","filename":"file4"},{"photo_id":"1401264254","filename":"file1"},{"photo_id":"1401264218","filename":"file0"},{"photo_id":"1401264323","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401264323":["hashtag1","hashtag2"]},{"1401264218":["hashtag1","hashtag2"]},{"1401264289":["hashtag1","hashtag2"]},{"1401264389":["hashtag1","hashtag2"]},{"1401264254":["hashtag1","hashtag2"]},{"1401264356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401264323, 1401264218, 1401264289, 1401264389, 1401264254, 1401264356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09685778617859 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:02:47.197842
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_33_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_45_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_35_9613.jpg', '/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_25_10625.jpg', '/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_14_9633.jpg', '/home/nano/Desktop/images/10122025/18/32/image_10122025_18_33_05_10648.jpg', '/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_54_9621.jpg', '/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_45_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_35_9613.jpg
/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_25_10625.jpg
/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_14_9633.jpg
/home/nano/Desktop/images/10122025/18/32/image_10122025_18_33_05_10648.jpg
/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_54_9621.jpg
/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_45_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":["1401264410","1401264457","1401264489","1401264543","1401264522","1401264425"],"photo_ids_order":["1401264410","1401264425","1401264457","1401264489","1401264522","1401264543"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e1116e0425a8b4ac828d5d02ee345d4.jpg","text":"TemporaryFile(/tmp/multipartBody7317001214456809254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833427984,"filename":"image_10122025_18_33_35_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9a9a1d04e9827c9dbdf765997359984.jpg","text":"TemporaryFile(/tmp/multipartBody5593189833880569649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833427984,"filename":"image_10122025_18_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/12/27/84d450c0f1d2c9e593eb8d98d2fba828.jpg","text":"TemporaryFile(/tmp/multipartBody3048706041466442948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833427984,"filename":"image_10122025_18_33_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b82e82ef0580848f1e449baac1caa41f.jpg","text":"TemporaryFile(/tmp/multipartBody5790374389626912885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833427984,"filename":"image_10122025_18_32_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed7bbbdeb9fe1d713967d4ec086c6c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2211029016049823777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833427984,"filename":"image_10122025_18_32_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/12/27/b1f1eb2d2140336d2a9bb43d762ab356.jpg","text":"TemporaryFile(/tmp/multipartBody7186249600234684988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833427984,"filename":"image_10122025_18_33_25_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401264457","file1":"1401264425","file0":"1401264410","file4":"1401264522","file5":"1401264543","file3":"1401264489"},"map_files_photo_id_array":[{"photo_id":"1401264543","filename":"file5"},{"photo_id":"1401264457","filename":"file2"},{"photo_id":"1401264522","filename":"file4"},{"photo_id":"1401264425","filename":"file1"},{"photo_id":"1401264410","filename":"file0"},{"photo_id":"1401264489","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401264410":["hashtag1","hashtag2"]},{"1401264457":["hashtag1","hashtag2"]},{"1401264489":["hashtag1","hashtag2"]},{"1401264543":["hashtag1","hashtag2"]},{"1401264522":["hashtag1","hashtag2"]},{"1401264425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401264410, 1401264457, 1401264489, 1401264543, 1401264522, 1401264425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.755196571350098 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:03:32.302918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_32_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_45_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_35_10616.jpg', '/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_24_9614.jpg', '/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_15_9623.jpg', '/home/nano/Desktop/images/10122025/18/31/image_10122025_18_32_05_10630.jpg', '/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_54_9619.jpg', '/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_45_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_35_10616.jpg
/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_24_9614.jpg
/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_15_9623.jpg
/home/nano/Desktop/images/10122025/18/31/image_10122025_18_32_05_10630.jpg
/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_54_9619.jpg
/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_45_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":["1401264646","1401264642","1401264627","1401264635","1401264638","1401264647"],"photo_ids_order":["1401264627","1401264635","1401264638","1401264642","1401264646","1401264647"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/752d9d8cc4e8d65bba6e78cbc0acd83b.jpg","text":"TemporaryFile(/tmp/multipartBody8192293708660723290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833473084,"filename":"image_10122025_18_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/12/27/5921e89476ffe2dd8e215daf49cdad04.jpg","text":"TemporaryFile(/tmp/multipartBody5939051429137319071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833473084,"filename":"image_10122025_18_32_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/716ab039a71ff6e7c549b51510717f85.jpg","text":"TemporaryFile(/tmp/multipartBody3274549733565848905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833473084,"filename":"image_10122025_18_32_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0758a7b0ad73dea03ec1c09a9a3a5564.jpg","text":"TemporaryFile(/tmp/multipartBody77058480306680123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833473084,"filename":"image_10122025_18_32_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/12/27/abac6e4fc061ffb17ff1e66cda0bcf88.jpg","text":"TemporaryFile(/tmp/multipartBody3553525701297310148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833473084,"filename":"image_10122025_18_32_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/309dec26cd464dbac32d386c68a75143.jpg","text":"TemporaryFile(/tmp/multipartBody7325265166386762852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833473084,"filename":"image_10122025_18_31_45_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401264638","file1":"1401264635","file0":"1401264627","file4":"1401264646","file5":"1401264647","file3":"1401264642"},"map_files_photo_id_array":[{"photo_id":"1401264647","filename":"file5"},{"photo_id":"1401264638","filename":"file2"},{"photo_id":"1401264646","filename":"file4"},{"photo_id":"1401264635","filename":"file1"},{"photo_id":"1401264627","filename":"file0"},{"photo_id":"1401264642","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401264646":["hashtag1","hashtag2"]},{"1401264642":["hashtag1","hashtag2"]},{"1401264627":["hashtag1","hashtag2"]},{"1401264635":["hashtag1","hashtag2"]},{"1401264638":["hashtag1","hashtag2"]},{"1401264647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401264646, 1401264642, 1401264627, 1401264635, 1401264638, 1401264647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.010058641433716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:04:17.424580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_31_04_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_55_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_45_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_34_9623.jpg', '/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_25_9612.jpg', '/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_15_10663.jpg', '/home/nano/Desktop/images/10122025/18/30/image_10122025_18_31_04_9669.jpg', '/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_55_9629.jpg', '/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_34_9623.jpg
/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_25_9612.jpg
/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_15_10663.jpg
/home/nano/Desktop/images/10122025/18/30/image_10122025_18_31_04_9669.jpg
/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_55_9629.jpg
/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_45_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":["1401264911","1401264905","1401264874","1401264908","1401264840","1401264804"],"photo_ids_order":["1401264804","1401264840","1401264874","1401264905","1401264908","1401264911"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da06c2cab927c4650cb14aa13b74738f.jpg","text":"TemporaryFile(/tmp/multipartBody5059569550009665526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833518225,"filename":"image_10122025_18_30_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2af2d415f798dae98faba61400990db.jpg","text":"TemporaryFile(/tmp/multipartBody113996329448760938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833518225,"filename":"image_10122025_18_31_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3664f2a4203113ccfa6d0984aeb73d70.jpg","text":"TemporaryFile(/tmp/multipartBody707654496874540548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833518225,"filename":"image_10122025_18_31_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c53d88157a371fe8b8e60815537a0e7f.jpg","text":"TemporaryFile(/tmp/multipartBody203771000037751456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833518225,"filename":"image_10122025_18_30_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fac53ac7e755e2da66885d8d7ec0702.jpg","text":"TemporaryFile(/tmp/multipartBody1487426103519482938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833518225,"filename":"image_10122025_18_31_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24a00bf02c4d509c68d666aea12cd6ef.jpg","text":"TemporaryFile(/tmp/multipartBody8290497911958609292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833518225,"filename":"image_10122025_18_31_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401264874","file1":"1401264840","file0":"1401264804","file4":"1401264908","file5":"1401264911","file3":"1401264905"},"map_files_photo_id_array":[{"photo_id":"1401264911","filename":"file5"},{"photo_id":"1401264874","filename":"file2"},{"photo_id":"1401264908","filename":"file4"},{"photo_id":"1401264840","filename":"file1"},{"photo_id":"1401264804","filename":"file0"},{"photo_id":"1401264905","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401264911":["hashtag1","hashtag2"]},{"1401264905":["hashtag1","hashtag2"]},{"1401264874":["hashtag1","hashtag2"]},{"1401264908":["hashtag1","hashtag2"]},{"1401264840":["hashtag1","hashtag2"]},{"1401264804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401264911, 1401264905, 1401264874, 1401264908, 1401264840, 1401264804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63499641418457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:05:03.317608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_34_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_25_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_15_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_30_04_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_55_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_45_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_34_9650.jpg', '/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_25_9649.jpg', '/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_15_10672.jpg', '/home/nano/Desktop/images/10122025/18/29/image_10122025_18_30_04_9646.jpg', '/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_55_9640.jpg', '/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_45_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_34_9650.jpg
/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_25_9649.jpg
/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_15_10672.jpg
/home/nano/Desktop/images/10122025/18/29/image_10122025_18_30_04_9646.jpg
/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_55_9640.jpg
/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_45_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":["1401265051","1401265033","1401265050","1401264998","1401265049","1401265054"],"photo_ids_order":["1401264998","1401265033","1401265049","1401265050","1401265051","1401265054"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ff04a45111c66c0a5a4f2482588b663.jpg","text":"TemporaryFile(/tmp/multipartBody7078463220353559636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833564184,"filename":"image_10122025_18_29_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e828836941506b2ee87f0c8840381cc8.jpg","text":"TemporaryFile(/tmp/multipartBody5790806356578503856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833564184,"filename":"image_10122025_18_30_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f39406a5ee30da0638a5386cb43293b.jpg","text":"TemporaryFile(/tmp/multipartBody5460455171510446287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833564184,"filename":"image_10122025_18_30_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/12/27/0c6ff0f39495e63f6c88024c1d089b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4367788150031921013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833564184,"filename":"image_10122025_18_30_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/12/27/39305f2ef375c48955ff0235f17ee7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2998030004061293738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833564184,"filename":"image_10122025_18_30_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2fd14460d6188c977f323e294c62606.jpg","text":"TemporaryFile(/tmp/multipartBody6103545338614015530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833564184,"filename":"image_10122025_18_29_45_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401265049","file1":"1401265033","file0":"1401264998","file4":"1401265051","file5":"1401265054","file3":"1401265050"},"map_files_photo_id_array":[{"photo_id":"1401265054","filename":"file5"},{"photo_id":"1401265049","filename":"file2"},{"photo_id":"1401265051","filename":"file4"},{"photo_id":"1401265033","filename":"file1"},{"photo_id":"1401264998","filename":"file0"},{"photo_id":"1401265050","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401265051":["hashtag1","hashtag2"]},{"1401265033":["hashtag1","hashtag2"]},{"1401265050":["hashtag1","hashtag2"]},{"1401264998":["hashtag1","hashtag2"]},{"1401265049":["hashtag1","hashtag2"]},{"1401265054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401265051, 1401265033, 1401265050, 1401264998, 1401265049, 1401265054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.771976709365845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:05:47.524124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_34_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_25_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_15_10706.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_29_04_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_55_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_45_10724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_34_9742.jpg', '/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_25_9635.jpg', '/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_15_10706.jpg', '/home/nano/Desktop/images/10122025/18/28/image_10122025_18_29_04_9683.jpg', '/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_55_9639.jpg', '/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_45_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_34_9742.jpg
/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_25_9635.jpg
/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_15_10706.jpg
/home/nano/Desktop/images/10122025/18/28/image_10122025_18_29_04_9683.jpg
/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_55_9639.jpg
/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_45_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401265354","1401265173","1401265353","1401265418","1401265387","1401265267"],"photo_ids_order":["1401265173","1401265267","1401265353","1401265354","1401265387","1401265418"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf2b57e8bba22623a12f3d522cd05c88.jpg","text":"TemporaryFile(/tmp/multipartBody5916172415460650612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833608321,"filename":"image_10122025_18_29_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8981bc893a0dbf1ec74e6e4d43573325.jpg","text":"TemporaryFile(/tmp/multipartBody4177805383207513243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833608321,"filename":"image_10122025_18_29_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/12/27/6a7296aef1c5a465bfd9895f8452aa84.jpg","text":"TemporaryFile(/tmp/multipartBody614120642958543735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833608321,"filename":"image_10122025_18_29_15_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6efa48eee73b928809b61a9d547a2a87.jpg","text":"TemporaryFile(/tmp/multipartBody7282782841309332742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833608321,"filename":"image_10122025_18_28_45_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/757674d36750107401774b0ed5f31db2.jpg","text":"TemporaryFile(/tmp/multipartBody2846406907906759060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833608321,"filename":"image_10122025_18_28_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e154f7e64fb4b78cb8273c5dd59249de.jpg","text":"TemporaryFile(/tmp/multipartBody335706399281929344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833608321,"filename":"image_10122025_18_29_25_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401265353","file1":"1401265267","file0":"1401265173","file4":"1401265387","file5":"1401265418","file3":"1401265354"},"map_files_photo_id_array":[{"photo_id":"1401265418","filename":"file5"},{"photo_id":"1401265353","filename":"file2"},{"photo_id":"1401265387","filename":"file4"},{"photo_id":"1401265267","filename":"file1"},{"photo_id":"1401265173","filename":"file0"},{"photo_id":"1401265354","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401265354":["hashtag1","hashtag2"]},{"1401265173":["hashtag1","hashtag2"]},{"1401265353":["hashtag1","hashtag2"]},{"1401265418":["hashtag1","hashtag2"]},{"1401265387":["hashtag1","hashtag2"]},{"1401265267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401265354, 1401265173, 1401265353, 1401265418, 1401265387, 1401265267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.330817222595215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:06:32.650398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_34_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_25_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_15_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_28_04_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_55_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_45_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_34_9713.jpg', '/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_25_9722.jpg', '/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_15_10667.jpg', '/home/nano/Desktop/images/10122025/18/27/image_10122025_18_28_04_9647.jpg', '/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_55_9631.jpg', '/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_45_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_34_9713.jpg
/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_25_9722.jpg
/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_15_10667.jpg
/home/nano/Desktop/images/10122025/18/27/image_10122025_18_28_04_9647.jpg
/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_55_9631.jpg
/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_45_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":["1401265797","1401265729","1401265764","1401265665","1401265697","1401265826"],"photo_ids_order":["1401265665","1401265697","1401265729","1401265764","1401265797","1401265826"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e56bcab75d372cd39c12a5190663c1c2.jpg","text":"TemporaryFile(/tmp/multipartBody4636872917027562149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833653470,"filename":"image_10122025_18_27_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7019a3d437d6a73048c4a37fc10e84b.jpg","text":"TemporaryFile(/tmp/multipartBody1962188414838484819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833653470,"filename":"image_10122025_18_28_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5cb901e569b8ccc9376b55e568a55c7.jpg","text":"TemporaryFile(/tmp/multipartBody4308937338725098146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833653470,"filename":"image_10122025_18_28_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/12/27/d91e93515bd0d7f67d645f3a1eb238ff.jpg","text":"TemporaryFile(/tmp/multipartBody177088666719583364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833653470,"filename":"image_10122025_18_28_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71ece68db999c4f77cc57504d5d5e119.jpg","text":"TemporaryFile(/tmp/multipartBody8403221710393102733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833653470,"filename":"image_10122025_18_28_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11a32c4b2ddafab70239a05035d592c3.jpg","text":"TemporaryFile(/tmp/multipartBody8530438180868914460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833653470,"filename":"image_10122025_18_27_45_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401265729","file1":"1401265697","file0":"1401265665","file4":"1401265797","file5":"1401265826","file3":"1401265764"},"map_files_photo_id_array":[{"photo_id":"1401265826","filename":"file5"},{"photo_id":"1401265729","filename":"file2"},{"photo_id":"1401265797","filename":"file4"},{"photo_id":"1401265697","filename":"file1"},{"photo_id":"1401265665","filename":"file0"},{"photo_id":"1401265764","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401265797":["hashtag1","hashtag2"]},{"1401265729":["hashtag1","hashtag2"]},{"1401265764":["hashtag1","hashtag2"]},{"1401265665":["hashtag1","hashtag2"]},{"1401265697":["hashtag1","hashtag2"]},{"1401265826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401265797, 1401265729, 1401265764, 1401265665, 1401265697, 1401265826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.239633083343506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:07:17.716887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_34_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_25_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_27_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_55_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_45_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_34_9656.jpg', '/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_25_9637.jpg', '/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_15_10664.jpg', '/home/nano/Desktop/images/10122025/18/26/image_10122025_18_27_04_9642.jpg', '/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_55_9663.jpg', '/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_45_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_34_9656.jpg
/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_25_9637.jpg
/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_15_10664.jpg
/home/nano/Desktop/images/10122025/18/26/image_10122025_18_27_04_9642.jpg
/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_55_9663.jpg
/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_45_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":["1401266058","1401266028","1401266054","1401266051","1401266068","1401266056"],"photo_ids_order":["1401266028","1401266051","1401266054","1401266056","1401266058","1401266068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c28d47076150d7a68a2382e26b82cdde.jpg","text":"TemporaryFile(/tmp/multipartBody3437489505750371521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833698520,"filename":"image_10122025_18_26_55_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/edb9611e471ad93326f8d463f62ac7ff.jpg","text":"TemporaryFile(/tmp/multipartBody4733692581846932424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833698520,"filename":"image_10122025_18_27_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/12/27/ac7eca7420b2f380281e3f90e4666e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5559555328811762784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833698520,"filename":"image_10122025_18_27_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a0fc7d8f69cf070bd127138e1f2d8cd.jpg","text":"TemporaryFile(/tmp/multipartBody4152034303954487350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833698520,"filename":"image_10122025_18_27_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb86c38cd18a742fa20d7d775f50147a.jpg","text":"TemporaryFile(/tmp/multipartBody8718164617901906711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833698520,"filename":"image_10122025_18_26_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f25af7c781dc93b911c5f7ab5ce56dca.jpg","text":"TemporaryFile(/tmp/multipartBody8752372542443585717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833698520,"filename":"image_10122025_18_27_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266054","file1":"1401266051","file0":"1401266028","file4":"1401266058","file5":"1401266068","file3":"1401266056"},"map_files_photo_id_array":[{"photo_id":"1401266068","filename":"file5"},{"photo_id":"1401266054","filename":"file2"},{"photo_id":"1401266058","filename":"file4"},{"photo_id":"1401266051","filename":"file1"},{"photo_id":"1401266028","filename":"file0"},{"photo_id":"1401266056","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266058":["hashtag1","hashtag2"]},{"1401266028":["hashtag1","hashtag2"]},{"1401266054":["hashtag1","hashtag2"]},{"1401266051":["hashtag1","hashtag2"]},{"1401266068":["hashtag1","hashtag2"]},{"1401266056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266058, 1401266028, 1401266054, 1401266051, 1401266068, 1401266056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49894189834595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:08:02.231507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_34_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_15_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_26_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_55_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_44_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_34_9629.jpg', '/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_25_9620.jpg', '/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_15_10658.jpg', '/home/nano/Desktop/images/10122025/18/25/image_10122025_18_26_04_9630.jpg', '/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_55_10647.jpg', '/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_44_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_34_9629.jpg
/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_25_9620.jpg
/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_15_10658.jpg
/home/nano/Desktop/images/10122025/18/25/image_10122025_18_26_04_9630.jpg
/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_55_10647.jpg
/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_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":["1401266259","1401266243","1401266204","1401266213","1401266173","1401266215"],"photo_ids_order":["1401266173","1401266204","1401266213","1401266215","1401266243","1401266259"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac83c1e3e6d53116c102e51b0ce983a7.jpg","text":"TemporaryFile(/tmp/multipartBody7444350905632417592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833743063,"filename":"image_10122025_18_25_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/12/27/efcf7e3e0fd3b40fb437e071642d67ab.jpg","text":"TemporaryFile(/tmp/multipartBody5930812948584950616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833743063,"filename":"image_10122025_18_25_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df2a35e8ae5c3b7b10b823e9f47427d3.jpg","text":"TemporaryFile(/tmp/multipartBody3040198769635340711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833743063,"filename":"image_10122025_18_26_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4622ba062e2b639b051ffef74cf83759.jpg","text":"TemporaryFile(/tmp/multipartBody6074864528836261988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833743063,"filename":"image_10122025_18_26_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3540ec6f19af5b7e727a89bffe50dd7d.jpg","text":"TemporaryFile(/tmp/multipartBody7842099132906281018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833743063,"filename":"image_10122025_18_26_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/12/27/36bb1c7bc9cffd2b856700fe690a4b85.jpg","text":"TemporaryFile(/tmp/multipartBody58017784599678286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833743063,"filename":"image_10122025_18_26_04_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266213","file1":"1401266204","file0":"1401266173","file4":"1401266243","file5":"1401266259","file3":"1401266215"},"map_files_photo_id_array":[{"photo_id":"1401266259","filename":"file5"},{"photo_id":"1401266213","filename":"file2"},{"photo_id":"1401266243","filename":"file4"},{"photo_id":"1401266204","filename":"file1"},{"photo_id":"1401266173","filename":"file0"},{"photo_id":"1401266215","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266259":["hashtag1","hashtag2"]},{"1401266243":["hashtag1","hashtag2"]},{"1401266204":["hashtag1","hashtag2"]},{"1401266213":["hashtag1","hashtag2"]},{"1401266173":["hashtag1","hashtag2"]},{"1401266215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266259, 1401266243, 1401266204, 1401266213, 1401266173, 1401266215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43888735771179 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:08:46.803388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_25_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_55_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_44_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_35_9608.jpg', '/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_25_10656.jpg', '/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_14_9638.jpg', '/home/nano/Desktop/images/10122025/18/24/image_10122025_18_25_05_9630.jpg', '/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_55_10619.jpg', '/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_44_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_35_9608.jpg
/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_25_10656.jpg
/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_14_9638.jpg
/home/nano/Desktop/images/10122025/18/24/image_10122025_18_25_05_9630.jpg
/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_55_10619.jpg
/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_44_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":["1401266268","1401266270","1401266267","1401266272","1401266266","1401266269"],"photo_ids_order":["1401266266","1401266267","1401266268","1401266269","1401266270","1401266272"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fd91a2c92e9729d291a78c17ccc16b9.jpg","text":"TemporaryFile(/tmp/multipartBody3390302793966733700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833787595,"filename":"image_10122025_18_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/12/27/9eaa016e55d564ab1125fd4428a2fbc0.jpg","text":"TemporaryFile(/tmp/multipartBody1356408293280086676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833787595,"filename":"image_10122025_18_24_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50fabf4d9735a7c238f5d0c2a536af68.jpg","text":"TemporaryFile(/tmp/multipartBody4692773110839580197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833787595,"filename":"image_10122025_18_25_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc5090c17671b79a1ba2e7f04ed08bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8258585955069919111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833787595,"filename":"image_10122025_18_24_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/12/27/6750aad61dfea835f8125f6698500bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5766233114793070663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833787595,"filename":"image_10122025_18_25_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a23b98c6198e9b1734b4690ef19a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody8816821737354063335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833787595,"filename":"image_10122025_18_25_05_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266268","file1":"1401266267","file0":"1401266266","file4":"1401266270","file5":"1401266272","file3":"1401266269"},"map_files_photo_id_array":[{"photo_id":"1401266272","filename":"file5"},{"photo_id":"1401266268","filename":"file2"},{"photo_id":"1401266270","filename":"file4"},{"photo_id":"1401266267","filename":"file1"},{"photo_id":"1401266266","filename":"file0"},{"photo_id":"1401266269","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266268":["hashtag1","hashtag2"]},{"1401266270":["hashtag1","hashtag2"]},{"1401266267":["hashtag1","hashtag2"]},{"1401266272":["hashtag1","hashtag2"]},{"1401266266":["hashtag1","hashtag2"]},{"1401266269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266268, 1401266270, 1401266267, 1401266272, 1401266266, 1401266269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57301068305969 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:09:31.910339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_24_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_45_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_35_10625.jpg', '/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_24_9612.jpg', '/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_15_9613.jpg', '/home/nano/Desktop/images/10122025/18/23/image_10122025_18_24_05_10623.jpg', '/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_54_9601.jpg', '/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_45_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_35_10625.jpg
/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_24_9612.jpg
/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_15_9613.jpg
/home/nano/Desktop/images/10122025/18/23/image_10122025_18_24_05_10623.jpg
/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_54_9601.jpg
/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_45_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":["1401266291","1401266282","1401266281","1401266290","1401266284","1401266287"],"photo_ids_order":["1401266281","1401266282","1401266284","1401266287","1401266290","1401266291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6398e2736cfc59d0fd8c32a2b4e6d97a.jpg","text":"TemporaryFile(/tmp/multipartBody1515838253291585987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833832693,"filename":"image_10122025_18_23_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/537aa9044d2bd40a285de58a67ffa1e5.jpg","text":"TemporaryFile(/tmp/multipartBody1957242825955651318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833832693,"filename":"image_10122025_18_24_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/12/27/2b5be0b37562bb6e46b9e0574c34a418.jpg","text":"TemporaryFile(/tmp/multipartBody8817097755044241504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833832693,"filename":"image_10122025_18_24_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2134dd178601c59446e1462ec56990ef.jpg","text":"TemporaryFile(/tmp/multipartBody8729854396314333866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833832693,"filename":"image_10122025_18_23_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/12/27/155eb681310f2aaf8747a59a00673e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1265847179711402765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833832693,"filename":"image_10122025_18_24_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27f56398df81d0191048be24aad7dd3e.jpg","text":"TemporaryFile(/tmp/multipartBody763559445900685238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833832693,"filename":"image_10122025_18_24_05_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266284","file1":"1401266282","file0":"1401266281","file4":"1401266290","file5":"1401266291","file3":"1401266287"},"map_files_photo_id_array":[{"photo_id":"1401266291","filename":"file5"},{"photo_id":"1401266284","filename":"file2"},{"photo_id":"1401266290","filename":"file4"},{"photo_id":"1401266282","filename":"file1"},{"photo_id":"1401266281","filename":"file0"},{"photo_id":"1401266287","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266291":["hashtag1","hashtag2"]},{"1401266282":["hashtag1","hashtag2"]},{"1401266281":["hashtag1","hashtag2"]},{"1401266290":["hashtag1","hashtag2"]},{"1401266284":["hashtag1","hashtag2"]},{"1401266287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266291, 1401266282, 1401266281, 1401266290, 1401266284, 1401266287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.164748430252075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:10:17.027968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_23_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_45_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_35_10629.jpg', '/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_24_9614.jpg', '/home/nano/Desktop/images/10122025/18/22/image_10122025_18_23_04_9615.jpg', '/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_55_9606.jpg', '/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_45_10692.jpg', '/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_35_10629.jpg
/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_24_9614.jpg
/home/nano/Desktop/images/10122025/18/22/image_10122025_18_23_04_9615.jpg
/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_55_9606.jpg
/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_45_10692.jpg
/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_34_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":["1401266298","1401266310","1401266304","1401266307","1401266301","1401266296"],"photo_ids_order":["1401266296","1401266298","1401266301","1401266304","1401266307","1401266310"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3ff9ee537c5f8948be879c900786084.jpg","text":"TemporaryFile(/tmp/multipartBody4528431152580497330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833877886,"filename":"image_10122025_18_23_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/12/27/1fba34a44bcc98b6e35457fb1c1aaf14.jpg","text":"TemporaryFile(/tmp/multipartBody1704562032277747189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833877886,"filename":"image_10122025_18_22_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/12/27/2c2b122b39004499d430c00869bcb0e0.jpg","text":"TemporaryFile(/tmp/multipartBody5345401856627735044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833877886,"filename":"image_10122025_18_22_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d686a992e8d5a8ee162267500fa4be8.jpg","text":"TemporaryFile(/tmp/multipartBody8050609292261153097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833877886,"filename":"image_10122025_18_22_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a3503e632fdead6beec560247db1ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8419237237044336827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833877886,"filename":"image_10122025_18_23_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/12/27/814c649fda2cc491ed4b588b0f3258b0.jpg","text":"TemporaryFile(/tmp/multipartBody4452868163827736253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833877886,"filename":"image_10122025_18_23_35_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266301","file1":"1401266298","file0":"1401266296","file4":"1401266307","file5":"1401266310","file3":"1401266304"},"map_files_photo_id_array":[{"photo_id":"1401266310","filename":"file5"},{"photo_id":"1401266301","filename":"file2"},{"photo_id":"1401266307","filename":"file4"},{"photo_id":"1401266298","filename":"file1"},{"photo_id":"1401266296","filename":"file0"},{"photo_id":"1401266304","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266298":["hashtag1","hashtag2"]},{"1401266310":["hashtag1","hashtag2"]},{"1401266304":["hashtag1","hashtag2"]},{"1401266307":["hashtag1","hashtag2"]},{"1401266301":["hashtag1","hashtag2"]},{"1401266296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266298, 1401266310, 1401266304, 1401266307, 1401266301, 1401266296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.777820110321045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:11:02.483696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_25_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_22_04_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_35_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_25_9629.jpg', '/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_15_10640.jpg', '/home/nano/Desktop/images/10122025/18/21/image_10122025_18_22_04_9682.jpg', '/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_55_10614.jpg', '/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_44_9591.jpg', '/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_35_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_25_9629.jpg
/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_15_10640.jpg
/home/nano/Desktop/images/10122025/18/21/image_10122025_18_22_04_9682.jpg
/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_55_10614.jpg
/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_44_9591.jpg
/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_35_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":["1401266323","1401266317","1401266319","1401266321","1401266315","1401266326"],"photo_ids_order":["1401266315","1401266317","1401266319","1401266321","1401266323","1401266326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/191701ca0a5ab24814b18012f0c82c48.jpg","text":"TemporaryFile(/tmp/multipartBody3291050690959295363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833923334,"filename":"image_10122025_18_21_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b18f26f82e921ee07cfc9c6741cbf49c.jpg","text":"TemporaryFile(/tmp/multipartBody60462647967581077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833923334,"filename":"image_10122025_18_22_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69abbcc5d86d4410156f04b049598ac7.jpg","text":"TemporaryFile(/tmp/multipartBody3030161643176937341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833923334,"filename":"image_10122025_18_22_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/12/27/39924ed7262b1cfb4c51dc79e92e9f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2534690723765089846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833923334,"filename":"image_10122025_18_21_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9149fd4380c5e05a1d5aad0b232579d1.jpg","text":"TemporaryFile(/tmp/multipartBody4510238139338230225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833923334,"filename":"image_10122025_18_22_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/410087c3ff8c8d2ccf3777de36e0ded5.jpg","text":"TemporaryFile(/tmp/multipartBody5243267275575539381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833923334,"filename":"image_10122025_18_21_35_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266319","file1":"1401266317","file0":"1401266315","file4":"1401266323","file5":"1401266326","file3":"1401266321"},"map_files_photo_id_array":[{"photo_id":"1401266326","filename":"file5"},{"photo_id":"1401266319","filename":"file2"},{"photo_id":"1401266323","filename":"file4"},{"photo_id":"1401266317","filename":"file1"},{"photo_id":"1401266315","filename":"file0"},{"photo_id":"1401266321","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266323":["hashtag1","hashtag2"]},{"1401266317":["hashtag1","hashtag2"]},{"1401266319":["hashtag1","hashtag2"]},{"1401266321":["hashtag1","hashtag2"]},{"1401266315":["hashtag1","hashtag2"]},{"1401266326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266323, 1401266317, 1401266319, 1401266321, 1401266315, 1401266326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.027156352996826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:11:47.117573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_21_05_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_55_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_44_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_35_10601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_25_10608.jpg', '/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_14_9624.jpg', '/home/nano/Desktop/images/10122025/18/20/image_10122025_18_21_05_9602.jpg', '/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_55_10597.jpg', '/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_44_9587.jpg', '/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_35_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_25_10608.jpg
/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_14_9624.jpg
/home/nano/Desktop/images/10122025/18/20/image_10122025_18_21_05_9602.jpg
/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_55_10597.jpg
/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_44_9587.jpg
/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_35_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":["1401266337","1401266336","1401266339","1401266338","1401266341","1401266335"],"photo_ids_order":["1401266335","1401266336","1401266337","1401266338","1401266339","1401266341"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2d34866cf18e46fc1abc53e8f98f15a.jpg","text":"TemporaryFile(/tmp/multipartBody2224486630587501011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833967890,"filename":"image_10122025_18_21_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22320e15cfdcb4757a994f65552e3b84.jpg","text":"TemporaryFile(/tmp/multipartBody1846025387865403646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833967890,"filename":"image_10122025_18_21_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/12/27/692b19f749aecc85b5eae71cc7bb7c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4541469646453475749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833967890,"filename":"image_10122025_18_20_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8667760ffa22445763d226451ebd641c.jpg","text":"TemporaryFile(/tmp/multipartBody2292158096277621705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833967890,"filename":"image_10122025_18_20_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d762eaef60e40e036c8cf1192fa1953e.jpg","text":"TemporaryFile(/tmp/multipartBody2917910756266845209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833967890,"filename":"image_10122025_18_20_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c884ee1f4d0b35042fee7d634be2e99.jpg","text":"TemporaryFile(/tmp/multipartBody8942369878586031369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766833967890,"filename":"image_10122025_18_21_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266337","file1":"1401266336","file0":"1401266335","file4":"1401266339","file5":"1401266341","file3":"1401266338"},"map_files_photo_id_array":[{"photo_id":"1401266341","filename":"file5"},{"photo_id":"1401266337","filename":"file2"},{"photo_id":"1401266339","filename":"file4"},{"photo_id":"1401266336","filename":"file1"},{"photo_id":"1401266335","filename":"file0"},{"photo_id":"1401266338","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266337":["hashtag1","hashtag2"]},{"1401266336":["hashtag1","hashtag2"]},{"1401266339":["hashtag1","hashtag2"]},{"1401266338":["hashtag1","hashtag2"]},{"1401266341":["hashtag1","hashtag2"]},{"1401266335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266337, 1401266336, 1401266339, 1401266338, 1401266341, 1401266335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.719059467315674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:12:32.209755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_24_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_20_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_54_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_34_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_24_9591.jpg', '/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_15_9622.jpg', '/home/nano/Desktop/images/10122025/18/19/image_10122025_18_20_05_10608.jpg', '/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_54_9588.jpg', '/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_45_10609.jpg', '/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_34_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_24_9591.jpg
/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_15_9622.jpg
/home/nano/Desktop/images/10122025/18/19/image_10122025_18_20_05_10608.jpg
/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_54_9588.jpg
/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_45_10609.jpg
/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_34_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":["1401266358","1401266352","1401266356","1401266359","1401266350","1401266353"],"photo_ids_order":["1401266350","1401266352","1401266353","1401266356","1401266358","1401266359"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a089f7cab1918d19496086514c5f42cb.jpg","text":"TemporaryFile(/tmp/multipartBody3023245920227582151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834012986,"filename":"image_10122025_18_19_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9afb8677f20062d60481441d71af07ad.jpg","text":"TemporaryFile(/tmp/multipartBody3688637998499630149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834012986,"filename":"image_10122025_18_20_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13cc1dd4495179244950e9fa9cce9ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8890710988147814184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834012986,"filename":"image_10122025_18_19_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/12/27/7bd2d16dfa2c91ff7334c1a9091c1472.jpg","text":"TemporaryFile(/tmp/multipartBody3018040086499671009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834012986,"filename":"image_10122025_18_19_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/12/27/b0c8ff3b3a192a9294668727cfc63503.jpg","text":"TemporaryFile(/tmp/multipartBody3045199996726053277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834012986,"filename":"image_10122025_18_20_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/12/27/b71e5b8bb287d8955cd07043054e0a36.jpg","text":"TemporaryFile(/tmp/multipartBody6562446950223735009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834012986,"filename":"image_10122025_18_20_05_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266353","file1":"1401266352","file0":"1401266350","file4":"1401266358","file5":"1401266359","file3":"1401266356"},"map_files_photo_id_array":[{"photo_id":"1401266359","filename":"file5"},{"photo_id":"1401266353","filename":"file2"},{"photo_id":"1401266358","filename":"file4"},{"photo_id":"1401266352","filename":"file1"},{"photo_id":"1401266350","filename":"file0"},{"photo_id":"1401266356","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266358":["hashtag1","hashtag2"]},{"1401266352":["hashtag1","hashtag2"]},{"1401266356":["hashtag1","hashtag2"]},{"1401266359":["hashtag1","hashtag2"]},{"1401266350":["hashtag1","hashtag2"]},{"1401266353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266358, 1401266352, 1401266356, 1401266359, 1401266350, 1401266353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48674654960632 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:13:17.317943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_25_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_19_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_55_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_44_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_34_9722.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_25_10598.jpg', '/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_14_9638.jpg', '/home/nano/Desktop/images/10122025/18/18/image_10122025_18_19_04_9617.jpg', '/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_55_10736.jpg', '/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_44_9721.jpg', '/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_34_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_25_10598.jpg
/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_14_9638.jpg
/home/nano/Desktop/images/10122025/18/18/image_10122025_18_19_04_9617.jpg
/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_55_10736.jpg
/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_44_9721.jpg
/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_34_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":["1401266364","1401266372","1401266366","1401266374","1401266371","1401266368"],"photo_ids_order":["1401266364","1401266366","1401266368","1401266371","1401266372","1401266374"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b61a94a4cac868d76ae72e66ed84875.jpg","text":"TemporaryFile(/tmp/multipartBody3827129070096629935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834058110,"filename":"image_10122025_18_19_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1263b830679f2157ff100293ceee9594.jpg","text":"TemporaryFile(/tmp/multipartBody6269442755549458599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834058110,"filename":"image_10122025_18_18_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dca5db04714b7ec5e3d1201a2fb31af7.jpg","text":"TemporaryFile(/tmp/multipartBody5924296317782077439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834058110,"filename":"image_10122025_18_19_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/12/27/222b9a5ecffd5d02d2aa3e9b5a310a49.jpg","text":"TemporaryFile(/tmp/multipartBody600925055415189231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834058110,"filename":"image_10122025_18_18_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a63c7071d5f217db7d32adbd95db80b.jpg","text":"TemporaryFile(/tmp/multipartBody5646374904543886549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834058110,"filename":"image_10122025_18_18_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/251eddb22fa180294e205201db98af6a.jpg","text":"TemporaryFile(/tmp/multipartBody325399951593283114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834058110,"filename":"image_10122025_18_19_04_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266368","file1":"1401266366","file0":"1401266364","file4":"1401266372","file5":"1401266374","file3":"1401266371"},"map_files_photo_id_array":[{"photo_id":"1401266374","filename":"file5"},{"photo_id":"1401266368","filename":"file2"},{"photo_id":"1401266372","filename":"file4"},{"photo_id":"1401266366","filename":"file1"},{"photo_id":"1401266364","filename":"file0"},{"photo_id":"1401266371","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266364":["hashtag1","hashtag2"]},{"1401266372":["hashtag1","hashtag2"]},{"1401266366":["hashtag1","hashtag2"]},{"1401266374":["hashtag1","hashtag2"]},{"1401266371":["hashtag1","hashtag2"]},{"1401266368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266364, 1401266372, 1401266366, 1401266374, 1401266371, 1401266368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4119017124176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:14:03.284225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_18_04_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_55_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_34_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_25_9715.jpg', '/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_15_10635.jpg', '/home/nano/Desktop/images/10122025/18/17/image_10122025_18_18_04_9704.jpg', '/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_55_9706.jpg', '/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_45_10723.jpg', '/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_34_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_25_9715.jpg
/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_15_10635.jpg
/home/nano/Desktop/images/10122025/18/17/image_10122025_18_18_04_9704.jpg
/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_55_9706.jpg
/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_45_10723.jpg
/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_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":["1401266382","1401266381","1401266384","1401266387","1401266392","1401266389"],"photo_ids_order":["1401266381","1401266382","1401266384","1401266387","1401266389","1401266392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e885ac559d77e4e9ced02dc40c6d7bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8809214267836545065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834104160,"filename":"image_10122025_18_18_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d65198720c0ec744d04ebe4ee19e015e.jpg","text":"TemporaryFile(/tmp/multipartBody4063558585890901067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834104160,"filename":"image_10122025_18_18_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/699d7a2890e10c2b4578f9ddd8fc086c.jpg","text":"TemporaryFile(/tmp/multipartBody9174870106727659656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834104160,"filename":"image_10122025_18_18_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dce54556379dde113cbc2703f7d38741.jpg","text":"TemporaryFile(/tmp/multipartBody8413157103939841545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834104160,"filename":"image_10122025_18_17_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/353f6cfdab0d75ab4bccb6e4fe045184.jpg","text":"TemporaryFile(/tmp/multipartBody775989304962874040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834104160,"filename":"image_10122025_18_17_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/12/27/b4456da053bfc60fff0e0e4d1dab142c.jpg","text":"TemporaryFile(/tmp/multipartBody3834568712706225625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834104160,"filename":"image_10122025_18_17_45_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266384","file1":"1401266382","file0":"1401266381","file4":"1401266389","file5":"1401266392","file3":"1401266387"},"map_files_photo_id_array":[{"photo_id":"1401266392","filename":"file5"},{"photo_id":"1401266384","filename":"file2"},{"photo_id":"1401266389","filename":"file4"},{"photo_id":"1401266382","filename":"file1"},{"photo_id":"1401266381","filename":"file0"},{"photo_id":"1401266387","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266382":["hashtag1","hashtag2"]},{"1401266381":["hashtag1","hashtag2"]},{"1401266384":["hashtag1","hashtag2"]},{"1401266387":["hashtag1","hashtag2"]},{"1401266392":["hashtag1","hashtag2"]},{"1401266389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266382, 1401266381, 1401266384, 1401266387, 1401266392, 1401266389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.588135719299316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:14:47.444416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_25_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_15_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_17_05_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_54_9702.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_45_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_35_10715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_25_9749.jpg', '/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_15_9723.jpg', '/home/nano/Desktop/images/10122025/18/16/image_10122025_18_17_05_10661.jpg', '/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_54_9702.jpg', '/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_45_9705.jpg', '/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_35_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_25_9749.jpg
/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_15_9723.jpg
/home/nano/Desktop/images/10122025/18/16/image_10122025_18_17_05_10661.jpg
/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_54_9702.jpg
/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_45_9705.jpg
/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_35_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401266404","1401266403","1401266408","1401266402","1401266405","1401266407"],"photo_ids_order":["1401266402","1401266403","1401266404","1401266405","1401266407","1401266408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cb6071e6b86540b7a6a2390b34a3b98.jpg","text":"TemporaryFile(/tmp/multipartBody411562192371534498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834148273,"filename":"image_10122025_18_17_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0732020652248020075e64116ac25143.jpg","text":"TemporaryFile(/tmp/multipartBody5838311894110534286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834148273,"filename":"image_10122025_18_17_15_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbbaef40a847d19878c9af3f798a609a.jpg","text":"TemporaryFile(/tmp/multipartBody8623572846098759402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834148273,"filename":"image_10122025_18_16_35_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/845004d7d9522185f175fc9033450836.jpg","text":"TemporaryFile(/tmp/multipartBody5258270445606239747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834148273,"filename":"image_10122025_18_17_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28dd604e559387a0e732ce3863c501dd.jpg","text":"TemporaryFile(/tmp/multipartBody1444326086870158938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834148273,"filename":"image_10122025_18_16_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66a5701ff522429e15145b7d4ed8fd2d.jpg","text":"TemporaryFile(/tmp/multipartBody3219708897528044527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834148273,"filename":"image_10122025_18_16_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266404","file1":"1401266403","file0":"1401266402","file4":"1401266407","file5":"1401266408","file3":"1401266405"},"map_files_photo_id_array":[{"photo_id":"1401266408","filename":"file5"},{"photo_id":"1401266404","filename":"file2"},{"photo_id":"1401266407","filename":"file4"},{"photo_id":"1401266403","filename":"file1"},{"photo_id":"1401266402","filename":"file0"},{"photo_id":"1401266405","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266404":["hashtag1","hashtag2"]},{"1401266403":["hashtag1","hashtag2"]},{"1401266408":["hashtag1","hashtag2"]},{"1401266402":["hashtag1","hashtag2"]},{"1401266405":["hashtag1","hashtag2"]},{"1401266407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266404, 1401266403, 1401266408, 1401266402, 1401266405, 1401266407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64710879325867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:15:32.535731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_24_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_15_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_16_05_10739.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_54_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_35_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_24_9637.jpg', '/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_15_9713.jpg', '/home/nano/Desktop/images/10122025/18/15/image_10122025_18_16_05_10739.jpg', '/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_54_9703.jpg', '/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_44_9700.jpg', '/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_35_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_24_9637.jpg
/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_15_9713.jpg
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_16_05_10739.jpg
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_54_9703.jpg
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_44_9700.jpg
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_35_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":["1401266503","1401266543","1401266525","1401266537","1401266542","1401266539"],"photo_ids_order":["1401266503","1401266525","1401266537","1401266539","1401266542","1401266543"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18ad1b3ca4cd34b9cdd70be48020f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody8964550509807819779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834193358,"filename":"image_10122025_18_16_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/12/27/aefa0ce33191a42ec9746c7aef4edb95.jpg","text":"TemporaryFile(/tmp/multipartBody7860911426741281961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834193358,"filename":"image_10122025_18_15_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf80884b4352988f794fefa2bd79a757.jpg","text":"TemporaryFile(/tmp/multipartBody3277833319234812406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834193358,"filename":"image_10122025_18_16_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4157d1a4c4e50e38d7976ec05a9120e2.jpg","text":"TemporaryFile(/tmp/multipartBody8674277746789987000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834193358,"filename":"image_10122025_18_16_05_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/839b6c7d081844a8b7ff4f4eda170d80.jpg","text":"TemporaryFile(/tmp/multipartBody1053484238292792896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834193358,"filename":"image_10122025_18_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/12/27/e01e554233fcec1e8cfd0effe1b2a95f.jpg","text":"TemporaryFile(/tmp/multipartBody1059423095176169778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834193358,"filename":"image_10122025_18_15_54_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266537","file1":"1401266525","file0":"1401266503","file4":"1401266542","file5":"1401266543","file3":"1401266539"},"map_files_photo_id_array":[{"photo_id":"1401266543","filename":"file5"},{"photo_id":"1401266537","filename":"file2"},{"photo_id":"1401266542","filename":"file4"},{"photo_id":"1401266525","filename":"file1"},{"photo_id":"1401266503","filename":"file0"},{"photo_id":"1401266539","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266503":["hashtag1","hashtag2"]},{"1401266543":["hashtag1","hashtag2"]},{"1401266525":["hashtag1","hashtag2"]},{"1401266537":["hashtag1","hashtag2"]},{"1401266542":["hashtag1","hashtag2"]},{"1401266539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266503, 1401266543, 1401266525, 1401266537, 1401266542, 1401266539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03080105781555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:16:17.650154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg', '/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_10607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6942927837371826 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:16:32.665082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg', '/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg
/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_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":["1401266561","1401266564","1401266567","1401266560","1401266557","1401266566"],"photo_ids_order":["1401266557","1401266560","1401266561","1401266564","1401266566","1401266567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/534dcb5467702ac7f3bb6c55cd686cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8142563886090637972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834253462,"filename":"image_10122025_18_15_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6b76374e5658eae480856a805b3fc3c.jpg","text":"TemporaryFile(/tmp/multipartBody2849413765796668938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834253462,"filename":"image_10122025_18_14_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b871282ad8466b3cc253f8ae06488e82.jpg","text":"TemporaryFile(/tmp/multipartBody6897152795677875637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834253462,"filename":"image_10122025_18_14_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/554385074823ab8bc72ded6a2826a285.jpg","text":"TemporaryFile(/tmp/multipartBody5174872467945825709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834253462,"filename":"image_10122025_18_15_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/12/27/e2bc9c625380e7101700577f43a98a9e.jpg","text":"TemporaryFile(/tmp/multipartBody456196146194173013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834253462,"filename":"image_10122025_18_15_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75f1cb9b1d63655b107b6b7544ebc108.jpg","text":"TemporaryFile(/tmp/multipartBody1598671585330013244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834253462,"filename":"image_10122025_18_14_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266561","file1":"1401266560","file0":"1401266557","file4":"1401266566","file5":"1401266567","file3":"1401266564"},"map_files_photo_id_array":[{"photo_id":"1401266567","filename":"file5"},{"photo_id":"1401266561","filename":"file2"},{"photo_id":"1401266566","filename":"file4"},{"photo_id":"1401266560","filename":"file1"},{"photo_id":"1401266557","filename":"file0"},{"photo_id":"1401266564","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266561":["hashtag1","hashtag2"]},{"1401266564":["hashtag1","hashtag2"]},{"1401266567":["hashtag1","hashtag2"]},{"1401266560":["hashtag1","hashtag2"]},{"1401266557":["hashtag1","hashtag2"]},{"1401266566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266561, 1401266564, 1401266567, 1401266560, 1401266557, 1401266566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03938674926758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:17:17.764817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_14_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_54_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_34_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_24_9599.jpg', '/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_15_9611.jpg', '/home/nano/Desktop/images/10122025/18/13/image_10122025_18_14_05_10614.jpg', '/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_54_9597.jpg', '/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_45_10607.jpg', '/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_34_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_24_9599.jpg
/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_15_9611.jpg
/home/nano/Desktop/images/10122025/18/13/image_10122025_18_14_05_10614.jpg
/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_54_9597.jpg
/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_45_10607.jpg
/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_34_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":["1401266580","1401266574","1401266582","1401266572","1401266575","1401266578"],"photo_ids_order":["1401266572","1401266574","1401266575","1401266578","1401266580","1401266582"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0a63c2067358151853bbd021cd1c770.jpg","text":"TemporaryFile(/tmp/multipartBody3298435563265309192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834298543,"filename":"image_10122025_18_13_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38b6dd89f04bde30e55fc9db86e245ab.jpg","text":"TemporaryFile(/tmp/multipartBody8939578622978018404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834298543,"filename":"image_10122025_18_14_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5982f441e1fcd60df75c70551bef707c.jpg","text":"TemporaryFile(/tmp/multipartBody3940700931647672091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834298543,"filename":"image_10122025_18_13_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/12/27/7283bb1060500fc45690ab9d5d844d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5966255470085796626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834298543,"filename":"image_10122025_18_14_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/12/27/836d5fe326009aaba2235addeecc5c55.jpg","text":"TemporaryFile(/tmp/multipartBody8183780769525941178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834298543,"filename":"image_10122025_18_14_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c42384f2e48ce8ca13477467c50f02b.jpg","text":"TemporaryFile(/tmp/multipartBody2830343833029331549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834298543,"filename":"image_10122025_18_13_54_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266575","file1":"1401266574","file0":"1401266572","file4":"1401266580","file5":"1401266582","file3":"1401266578"},"map_files_photo_id_array":[{"photo_id":"1401266582","filename":"file5"},{"photo_id":"1401266575","filename":"file2"},{"photo_id":"1401266580","filename":"file4"},{"photo_id":"1401266574","filename":"file1"},{"photo_id":"1401266572","filename":"file0"},{"photo_id":"1401266578","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266580":["hashtag1","hashtag2"]},{"1401266574":["hashtag1","hashtag2"]},{"1401266582":["hashtag1","hashtag2"]},{"1401266572":["hashtag1","hashtag2"]},{"1401266575":["hashtag1","hashtag2"]},{"1401266578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266580, 1401266574, 1401266582, 1401266572, 1401266575, 1401266578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02433443069458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:18:02.396791
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_13_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_35_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_25_9598.jpg', '/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_15_10624.jpg', '/home/nano/Desktop/images/10122025/18/12/image_10122025_18_13_04_9608.jpg', '/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_55_10609.jpg', '/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_44_9596.jpg', '/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_35_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_25_9598.jpg
/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_15_10624.jpg
/home/nano/Desktop/images/10122025/18/12/image_10122025_18_13_04_9608.jpg
/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_55_10609.jpg
/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_44_9596.jpg
/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_35_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":["1401266601","1401266594","1401266597","1401266591","1401266599","1401266603"],"photo_ids_order":["1401266591","1401266594","1401266597","1401266599","1401266601","1401266603"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af83de1186825f9cdcf4c39107b8b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody8284392576777753209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834343300,"filename":"image_10122025_18_12_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/12/27/c474f8707368b426fbfa89ccc8b4b461.jpg","text":"TemporaryFile(/tmp/multipartBody9119331758033109019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834343300,"filename":"image_10122025_18_13_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fff8efccc312072b9db41e546a06983d.jpg","text":"TemporaryFile(/tmp/multipartBody3294811300270273420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834343300,"filename":"image_10122025_18_13_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/12/27/fd649053f741fbfce14cb1f4fb66a9f7.jpg","text":"TemporaryFile(/tmp/multipartBody7282938134799575139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834343300,"filename":"image_10122025_18_13_25_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57d4b7690786b308efa6efe56bc7cf14.jpg","text":"TemporaryFile(/tmp/multipartBody386742918802597538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834343300,"filename":"image_10122025_18_12_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/465f5539e0440b5dfdfa6e77f7b7c85b.jpg","text":"TemporaryFile(/tmp/multipartBody6424177844793676524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834343300,"filename":"image_10122025_18_12_35_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266597","file1":"1401266594","file0":"1401266591","file4":"1401266601","file5":"1401266603","file3":"1401266599"},"map_files_photo_id_array":[{"photo_id":"1401266603","filename":"file5"},{"photo_id":"1401266597","filename":"file2"},{"photo_id":"1401266601","filename":"file4"},{"photo_id":"1401266594","filename":"file1"},{"photo_id":"1401266591","filename":"file0"},{"photo_id":"1401266599","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266601":["hashtag1","hashtag2"]},{"1401266594":["hashtag1","hashtag2"]},{"1401266597":["hashtag1","hashtag2"]},{"1401266591":["hashtag1","hashtag2"]},{"1401266599":["hashtag1","hashtag2"]},{"1401266603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266601, 1401266594, 1401266597, 1401266591, 1401266599, 1401266603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17428946495056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:18:46.876450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_12_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_35_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_25_10609.jpg', '/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_14_9618.jpg', '/home/nano/Desktop/images/10122025/18/11/image_10122025_18_12_05_10624.jpg', '/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_54_9596.jpg', '/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_45_9603.jpg', '/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_35_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_25_10609.jpg
/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_14_9618.jpg
/home/nano/Desktop/images/10122025/18/11/image_10122025_18_12_05_10624.jpg
/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_54_9596.jpg
/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_45_9603.jpg
/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_35_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":["1401266614","1401266608","1401266610","1401266612","1401266606","1401266617"],"photo_ids_order":["1401266606","1401266608","1401266610","1401266612","1401266614","1401266617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/531600f00123d7d1cdf12e07b3fc6345.jpg","text":"TemporaryFile(/tmp/multipartBody674369004328324839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834387650,"filename":"image_10122025_18_11_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b766c61eb16f44c1429c16cdd230eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody3001208924114407115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834387650,"filename":"image_10122025_18_12_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/12/27/faa1d8928a1816dc024a988d7069b951.jpg","text":"TemporaryFile(/tmp/multipartBody1261312018830856703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834387650,"filename":"image_10122025_18_12_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/385531c31b2643c0058672944eadefa2.jpg","text":"TemporaryFile(/tmp/multipartBody5639503959467365614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834387650,"filename":"image_10122025_18_11_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/12/27/69a875876bb3c079866161d61fa07998.jpg","text":"TemporaryFile(/tmp/multipartBody7153642273900871128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834387650,"filename":"image_10122025_18_12_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26c362e74a380a874e0ecc2163546824.jpg","text":"TemporaryFile(/tmp/multipartBody3323764568437852485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834387650,"filename":"image_10122025_18_11_35_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266610","file1":"1401266608","file0":"1401266606","file4":"1401266614","file5":"1401266617","file3":"1401266612"},"map_files_photo_id_array":[{"photo_id":"1401266617","filename":"file5"},{"photo_id":"1401266610","filename":"file2"},{"photo_id":"1401266614","filename":"file4"},{"photo_id":"1401266608","filename":"file1"},{"photo_id":"1401266606","filename":"file0"},{"photo_id":"1401266612","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266614":["hashtag1","hashtag2"]},{"1401266608":["hashtag1","hashtag2"]},{"1401266610":["hashtag1","hashtag2"]},{"1401266612":["hashtag1","hashtag2"]},{"1401266606":["hashtag1","hashtag2"]},{"1401266617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266614, 1401266608, 1401266610, 1401266612, 1401266606, 1401266617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.870588064193726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:19:31.987763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_11_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_34_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_24_9600.jpg', '/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_15_10631.jpg', '/home/nano/Desktop/images/10122025/18/10/image_10122025_18_11_04_9605.jpg', '/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_54_9599.jpg', '/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_45_10610.jpg', '/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_34_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_24_9600.jpg
/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_15_10631.jpg
/home/nano/Desktop/images/10122025/18/10/image_10122025_18_11_04_9605.jpg
/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_54_9599.jpg
/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_45_10610.jpg
/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_34_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":["1401266629","1401266628","1401266637","1401266630","1401266635","1401266632"],"photo_ids_order":["1401266628","1401266629","1401266630","1401266632","1401266635","1401266637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b0525cda6a2d7d209e602a81bb52cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3948172907224121618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834432750,"filename":"image_10122025_18_11_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b6de714e10561ba1efd0862183ae502.jpg","text":"TemporaryFile(/tmp/multipartBody704461416162392928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834432750,"filename":"image_10122025_18_11_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/12/27/99a8c5cb5fd31d92296c5e6f1f922fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7502118298494288761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834432750,"filename":"image_10122025_18_10_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/12/27/e07c7c49c4af4bde401a3e3e26be32ed.jpg","text":"TemporaryFile(/tmp/multipartBody5190780170230455118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834432750,"filename":"image_10122025_18_11_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/12/27/09973a2efd96376728b90f28e8ad9aa2.jpg","text":"TemporaryFile(/tmp/multipartBody3165489176407403015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834432750,"filename":"image_10122025_18_10_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0e13aa862782bc12d49ca9dcb46acc5.jpg","text":"TemporaryFile(/tmp/multipartBody6834911631202463837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834432750,"filename":"image_10122025_18_10_54_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266630","file1":"1401266629","file0":"1401266628","file4":"1401266635","file5":"1401266637","file3":"1401266632"},"map_files_photo_id_array":[{"photo_id":"1401266637","filename":"file5"},{"photo_id":"1401266630","filename":"file2"},{"photo_id":"1401266635","filename":"file4"},{"photo_id":"1401266629","filename":"file1"},{"photo_id":"1401266628","filename":"file0"},{"photo_id":"1401266632","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266629":["hashtag1","hashtag2"]},{"1401266628":["hashtag1","hashtag2"]},{"1401266637":["hashtag1","hashtag2"]},{"1401266630":["hashtag1","hashtag2"]},{"1401266635":["hashtag1","hashtag2"]},{"1401266632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266629, 1401266628, 1401266637, 1401266630, 1401266635, 1401266632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30610775947571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:20:17.113676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_10_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_35_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_25_9599.jpg', '/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_15_10628.jpg', '/home/nano/Desktop/images/10122025/18/09/image_10122025_18_10_04_9637.jpg', '/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_55_10611.jpg', '/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_44_9600.jpg', '/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_35_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_25_9599.jpg
/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_15_10628.jpg
/home/nano/Desktop/images/10122025/18/09/image_10122025_18_10_04_9637.jpg
/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_55_10611.jpg
/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_44_9600.jpg
/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_35_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":["1401266655","1401266657","1401266648","1401266653","1401266659","1401266650"],"photo_ids_order":["1401266648","1401266650","1401266653","1401266655","1401266657","1401266659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a81336c391881b581bd07f43f4440c9.jpg","text":"TemporaryFile(/tmp/multipartBody8624517977383609038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834477922,"filename":"image_10122025_18_09_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c3235f12e0b41bbe53e3842f7a333e0.jpg","text":"TemporaryFile(/tmp/multipartBody756127924141882071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834477922,"filename":"image_10122025_18_09_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/12/27/0c9010095697d5d74676fceff758d70c.jpg","text":"TemporaryFile(/tmp/multipartBody1130926160111003124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834477922,"filename":"image_10122025_18_10_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/135f8faa6f408ca6cf6089185b9d15dc.jpg","text":"TemporaryFile(/tmp/multipartBody467059432084547072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834477922,"filename":"image_10122025_18_10_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/12/27/5c25af27b83e44ec08990f9615ebf908.jpg","text":"TemporaryFile(/tmp/multipartBody2273313984001655266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834477922,"filename":"image_10122025_18_09_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30ef2ab30c8fa4fc5f3e1ab813a21a42.jpg","text":"TemporaryFile(/tmp/multipartBody1937637260434739701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834477922,"filename":"image_10122025_18_10_15_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266653","file1":"1401266650","file0":"1401266648","file4":"1401266657","file5":"1401266659","file3":"1401266655"},"map_files_photo_id_array":[{"photo_id":"1401266659","filename":"file5"},{"photo_id":"1401266653","filename":"file2"},{"photo_id":"1401266657","filename":"file4"},{"photo_id":"1401266650","filename":"file1"},{"photo_id":"1401266648","filename":"file0"},{"photo_id":"1401266655","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266655":["hashtag1","hashtag2"]},{"1401266657":["hashtag1","hashtag2"]},{"1401266648":["hashtag1","hashtag2"]},{"1401266653":["hashtag1","hashtag2"]},{"1401266659":["hashtag1","hashtag2"]},{"1401266650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266655, 1401266657, 1401266648, 1401266653, 1401266659, 1401266650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74930953979492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:21:02.797135
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_09_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_35_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_25_10613.jpg', '/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_14_9608.jpg', '/home/nano/Desktop/images/10122025/18/08/image_10122025_18_09_05_10628.jpg', '/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_54_9595.jpg', '/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_45_9600.jpg', '/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_35_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_25_10613.jpg
/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_14_9608.jpg
/home/nano/Desktop/images/10122025/18/08/image_10122025_18_09_05_10628.jpg
/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_54_9595.jpg
/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_45_9600.jpg
/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_35_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":["1401266670","1401266664","1401266673","1401266663","1401266666","1401266668"],"photo_ids_order":["1401266663","1401266664","1401266666","1401266668","1401266670","1401266673"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b65ea0ed36786389678dcc03622cd468.jpg","text":"TemporaryFile(/tmp/multipartBody3851764222710977411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834523650,"filename":"image_10122025_18_08_45_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a14077d68fc0aef64358bf5573234c22.jpg","text":"TemporaryFile(/tmp/multipartBody1517152119993017871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834523650,"filename":"image_10122025_18_09_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21ef852f878576419ccb78f1f6f3205c.jpg","text":"TemporaryFile(/tmp/multipartBody6824910677157955456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834523650,"filename":"image_10122025_18_08_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bf8b4e7a73bb0228bd0624690285c70.jpg","text":"TemporaryFile(/tmp/multipartBody8735794417380871044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834523650,"filename":"image_10122025_18_09_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b66564deb88e662793369c5441209f8.jpg","text":"TemporaryFile(/tmp/multipartBody7457885900657609612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834523650,"filename":"image_10122025_18_09_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a5a4d839552fa1c7b8e41f4a4fe0dd1.jpg","text":"TemporaryFile(/tmp/multipartBody8321880682129783931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834523650,"filename":"image_10122025_18_08_54_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266666","file1":"1401266664","file0":"1401266663","file4":"1401266670","file5":"1401266673","file3":"1401266668"},"map_files_photo_id_array":[{"photo_id":"1401266673","filename":"file5"},{"photo_id":"1401266666","filename":"file2"},{"photo_id":"1401266670","filename":"file4"},{"photo_id":"1401266664","filename":"file1"},{"photo_id":"1401266663","filename":"file0"},{"photo_id":"1401266668","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266670":["hashtag1","hashtag2"]},{"1401266664":["hashtag1","hashtag2"]},{"1401266673":["hashtag1","hashtag2"]},{"1401266663":["hashtag1","hashtag2"]},{"1401266666":["hashtag1","hashtag2"]},{"1401266668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266670, 1401266664, 1401266673, 1401266663, 1401266666, 1401266668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52271366119385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:21:47.235150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_08_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_34_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_24_9602.jpg', '/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_15_10626.jpg', '/home/nano/Desktop/images/10122025/18/07/image_10122025_18_08_04_9607.jpg', '/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_54_9599.jpg', '/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_45_10610.jpg', '/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_24_9602.jpg
/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_15_10626.jpg
/home/nano/Desktop/images/10122025/18/07/image_10122025_18_08_04_9607.jpg
/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_54_9599.jpg
/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_45_10610.jpg
/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_34_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":["1401266682","1401266685","1401266687","1401266684","1401266683","1401266680"],"photo_ids_order":["1401266680","1401266682","1401266683","1401266684","1401266685","1401266687"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6fd4bbcd7b88f001e0267786f26445f.jpg","text":"TemporaryFile(/tmp/multipartBody3488206898061870984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834568012,"filename":"image_10122025_18_08_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5c566e36c7199c306ba67eb24f2af16.jpg","text":"TemporaryFile(/tmp/multipartBody8742438303874302981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834568012,"filename":"image_10122025_18_07_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c8e85a1358bbf0e844b308167e928c0.jpg","text":"TemporaryFile(/tmp/multipartBody5621543343691224783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834568012,"filename":"image_10122025_18_07_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/12/27/2215b471983e1a8a56430b485318d343.jpg","text":"TemporaryFile(/tmp/multipartBody6800032128049728898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834568012,"filename":"image_10122025_18_07_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/12/27/52d7f0ef679e49eca29a9147d78cf69d.jpg","text":"TemporaryFile(/tmp/multipartBody6633806467947632405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834568012,"filename":"image_10122025_18_08_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/12/27/c8fbf9506ea0db1535e378d615264e55.jpg","text":"TemporaryFile(/tmp/multipartBody7385479936683949670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834568012,"filename":"image_10122025_18_08_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266683","file1":"1401266682","file0":"1401266680","file4":"1401266685","file5":"1401266687","file3":"1401266684"},"map_files_photo_id_array":[{"photo_id":"1401266687","filename":"file5"},{"photo_id":"1401266683","filename":"file2"},{"photo_id":"1401266685","filename":"file4"},{"photo_id":"1401266682","filename":"file1"},{"photo_id":"1401266680","filename":"file0"},{"photo_id":"1401266684","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266682":["hashtag1","hashtag2"]},{"1401266685":["hashtag1","hashtag2"]},{"1401266687":["hashtag1","hashtag2"]},{"1401266684":["hashtag1","hashtag2"]},{"1401266683":["hashtag1","hashtag2"]},{"1401266680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266682, 1401266685, 1401266687, 1401266684, 1401266683, 1401266680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52950072288513 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:22:32.362770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_07_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_35_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_25_9598.jpg', '/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_15_10635.jpg', '/home/nano/Desktop/images/10122025/18/06/image_10122025_18_07_04_9598.jpg', '/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_55_10606.jpg', '/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_44_9594.jpg', '/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_35_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_25_9598.jpg
/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_15_10635.jpg
/home/nano/Desktop/images/10122025/18/06/image_10122025_18_07_04_9598.jpg
/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_55_10606.jpg
/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_44_9594.jpg
/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_35_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":["1401266707","1401266699","1401266705","1401266708","1401266698","1401266702"],"photo_ids_order":["1401266698","1401266699","1401266702","1401266705","1401266707","1401266708"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55f37e298a21542dbc6ba334c5c73e58.jpg","text":"TemporaryFile(/tmp/multipartBody2777422218153070491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834613151,"filename":"image_10122025_18_06_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6173e590a34a9310628ef75fb9a9f8c.jpg","text":"TemporaryFile(/tmp/multipartBody6827210632049371638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834613151,"filename":"image_10122025_18_07_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d13c9091e3ca39ae528fd83a48e5ea9e.jpg","text":"TemporaryFile(/tmp/multipartBody4513239653808142460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834613151,"filename":"image_10122025_18_06_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efb96984b095db571b18bc22ab24e02d.jpg","text":"TemporaryFile(/tmp/multipartBody769397073564070336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834613151,"filename":"image_10122025_18_06_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a6cec50b0d6feccd13036e5c31c170a.jpg","text":"TemporaryFile(/tmp/multipartBody5873160750055850039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834613151,"filename":"image_10122025_18_07_25_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3152806de7f9e3fc1bbb85c840ee55f4.jpg","text":"TemporaryFile(/tmp/multipartBody5076247176661227566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834613151,"filename":"image_10122025_18_07_04_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266702","file1":"1401266699","file0":"1401266698","file4":"1401266707","file5":"1401266708","file3":"1401266705"},"map_files_photo_id_array":[{"photo_id":"1401266708","filename":"file5"},{"photo_id":"1401266702","filename":"file2"},{"photo_id":"1401266707","filename":"file4"},{"photo_id":"1401266699","filename":"file1"},{"photo_id":"1401266698","filename":"file0"},{"photo_id":"1401266705","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266707":["hashtag1","hashtag2"]},{"1401266699":["hashtag1","hashtag2"]},{"1401266705":["hashtag1","hashtag2"]},{"1401266708":["hashtag1","hashtag2"]},{"1401266698":["hashtag1","hashtag2"]},{"1401266702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266707, 1401266699, 1401266705, 1401266708, 1401266698, 1401266702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.564709186553955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:23:17.444876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_25_10703.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_14_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_06_05_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_35_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_25_10703.jpg', '/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_14_9668.jpg', '/home/nano/Desktop/images/10122025/18/05/image_10122025_18_06_05_9603.jpg', '/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_55_10610.jpg', '/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_44_9615.jpg', '/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_35_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_25_10703.jpg
/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_14_9668.jpg
/home/nano/Desktop/images/10122025/18/05/image_10122025_18_06_05_9603.jpg
/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_55_10610.jpg
/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_44_9615.jpg
/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_35_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":["1401266713","1401266724","1401266720","1401266714","1401266717","1401266722"],"photo_ids_order":["1401266713","1401266714","1401266717","1401266720","1401266722","1401266724"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b7b4a863aa898f4106a32afd5f23ab6.jpg","text":"TemporaryFile(/tmp/multipartBody5481443501731360138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834658222,"filename":"image_10122025_18_06_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74b289e307cc2a08502ae6c2e28ab36e.jpg","text":"TemporaryFile(/tmp/multipartBody488544691364350952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834658222,"filename":"image_10122025_18_05_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af17cae1184c21623549927981f7827c.jpg","text":"TemporaryFile(/tmp/multipartBody2106893669841000336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834658222,"filename":"image_10122025_18_05_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de643fb645c66e75a374bf8373554e69.jpg","text":"TemporaryFile(/tmp/multipartBody550028158145471450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834658222,"filename":"image_10122025_18_06_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/12/27/d36b179170e8b4a5712a898c0d2bd82b.jpg","text":"TemporaryFile(/tmp/multipartBody5959795501743589775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834658222,"filename":"image_10122025_18_06_05_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/788eb2f96ff9c64bad93ae1dc7b2b79a.jpg","text":"TemporaryFile(/tmp/multipartBody2933793850077804911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834658222,"filename":"image_10122025_18_05_44_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266717","file1":"1401266714","file0":"1401266713","file4":"1401266722","file5":"1401266724","file3":"1401266720"},"map_files_photo_id_array":[{"photo_id":"1401266724","filename":"file5"},{"photo_id":"1401266717","filename":"file2"},{"photo_id":"1401266722","filename":"file4"},{"photo_id":"1401266714","filename":"file1"},{"photo_id":"1401266713","filename":"file0"},{"photo_id":"1401266720","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266713":["hashtag1","hashtag2"]},{"1401266724":["hashtag1","hashtag2"]},{"1401266720":["hashtag1","hashtag2"]},{"1401266714":["hashtag1","hashtag2"]},{"1401266717":["hashtag1","hashtag2"]},{"1401266722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266713, 1401266724, 1401266720, 1401266714, 1401266717, 1401266722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62323880195618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:24:03.469674
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_05_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_54_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_34_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_24_9602.jpg', '/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_15_9615.jpg', '/home/nano/Desktop/images/10122025/18/04/image_10122025_18_05_05_10614.jpg', '/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_54_9592.jpg', '/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_45_10607.jpg', '/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_34_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_24_9602.jpg
/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_15_9615.jpg
/home/nano/Desktop/images/10122025/18/04/image_10122025_18_05_05_10614.jpg
/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_54_9592.jpg
/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_45_10607.jpg
/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_34_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":["1401266730","1401266738","1401266732","1401266735","1401266734","1401266728"],"photo_ids_order":["1401266728","1401266730","1401266732","1401266734","1401266735","1401266738"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f92e8176b45e09f1eb75503f63a48b8d.jpg","text":"TemporaryFile(/tmp/multipartBody8479817767823523192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834704302,"filename":"image_10122025_18_05_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/028f0ffebf5073511132b464d08cbcfe.jpg","text":"TemporaryFile(/tmp/multipartBody1326013538757421803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834704302,"filename":"image_10122025_18_04_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/12/27/5b1af095158ac964f00f11d91a2b21af.jpg","text":"TemporaryFile(/tmp/multipartBody6495821557703173548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834704302,"filename":"image_10122025_18_05_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bc0b9ec6aa62375efd117ec9c9cc035.jpg","text":"TemporaryFile(/tmp/multipartBody3053779616119880058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834704302,"filename":"image_10122025_18_04_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae097c20884a0cf1275598d818d5e00c.jpg","text":"TemporaryFile(/tmp/multipartBody2365822897791301960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834704302,"filename":"image_10122025_18_04_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/12/27/c6cc0b0f85bca5ccf0944caae21523f3.jpg","text":"TemporaryFile(/tmp/multipartBody3102821755040046234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834704302,"filename":"image_10122025_18_05_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266732","file1":"1401266730","file0":"1401266728","file4":"1401266735","file5":"1401266738","file3":"1401266734"},"map_files_photo_id_array":[{"photo_id":"1401266738","filename":"file5"},{"photo_id":"1401266732","filename":"file2"},{"photo_id":"1401266735","filename":"file4"},{"photo_id":"1401266730","filename":"file1"},{"photo_id":"1401266728","filename":"file0"},{"photo_id":"1401266734","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266730":["hashtag1","hashtag2"]},{"1401266738":["hashtag1","hashtag2"]},{"1401266732":["hashtag1","hashtag2"]},{"1401266735":["hashtag1","hashtag2"]},{"1401266734":["hashtag1","hashtag2"]},{"1401266728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266730, 1401266738, 1401266732, 1401266735, 1401266734, 1401266728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.901660203933716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:24:47.570527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_25_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_04_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_55_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_25_9594.jpg', '/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_15_10626.jpg', '/home/nano/Desktop/images/10122025/18/03/image_10122025_18_04_04_9619.jpg', '/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_55_10638.jpg', '/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_44_9627.jpg', '/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_25_9594.jpg
/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_15_10626.jpg
/home/nano/Desktop/images/10122025/18/03/image_10122025_18_04_04_9619.jpg
/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_55_10638.jpg
/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_44_9627.jpg
/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_34_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":["1401266745","1401266748","1401266750","1401266747","1401266752","1401266746"],"photo_ids_order":["1401266745","1401266746","1401266747","1401266748","1401266750","1401266752"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4056046e621f2da3325bfba0cdb4823d.jpg","text":"TemporaryFile(/tmp/multipartBody1728203136868779482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834748355,"filename":"image_10122025_18_04_25_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/defdb1d6dccd1ddede53dafca94fb79b.jpg","text":"TemporaryFile(/tmp/multipartBody5806933274163464580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834748355,"filename":"image_10122025_18_03_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9126d22bc4b9ef2294ddc4cbce0c95f.jpg","text":"TemporaryFile(/tmp/multipartBody2294295771816679602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834748355,"filename":"image_10122025_18_03_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/12/27/4870cc0980682bc56535aa9144b79b73.jpg","text":"TemporaryFile(/tmp/multipartBody3857323493188750838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834748355,"filename":"image_10122025_18_04_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/12/27/0291c21bd48a92850b2a6ca8ab4e32c5.jpg","text":"TemporaryFile(/tmp/multipartBody7055483743394373192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834748355,"filename":"image_10122025_18_03_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/12/27/06b53bb4408b13aad0002f47c9bf59c3.jpg","text":"TemporaryFile(/tmp/multipartBody8659054215871028382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834748355,"filename":"image_10122025_18_04_15_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266747","file1":"1401266746","file0":"1401266745","file4":"1401266750","file5":"1401266752","file3":"1401266748"},"map_files_photo_id_array":[{"photo_id":"1401266752","filename":"file5"},{"photo_id":"1401266747","filename":"file2"},{"photo_id":"1401266750","filename":"file4"},{"photo_id":"1401266746","filename":"file1"},{"photo_id":"1401266745","filename":"file0"},{"photo_id":"1401266748","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266745":["hashtag1","hashtag2"]},{"1401266748":["hashtag1","hashtag2"]},{"1401266750":["hashtag1","hashtag2"]},{"1401266747":["hashtag1","hashtag2"]},{"1401266752":["hashtag1","hashtag2"]},{"1401266746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266745, 1401266748, 1401266750, 1401266747, 1401266752, 1401266746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21375632286072 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:25:32.683786
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_03_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_35_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_25_10616.jpg', '/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_14_9619.jpg', '/home/nano/Desktop/images/10122025/18/02/image_10122025_18_03_05_9614.jpg', '/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_55_10611.jpg', '/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_44_9600.jpg', '/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_35_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_25_10616.jpg
/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_14_9619.jpg
/home/nano/Desktop/images/10122025/18/02/image_10122025_18_03_05_9614.jpg
/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_55_10611.jpg
/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_44_9600.jpg
/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_35_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":["1401266766","1401266769","1401266760","1401266762","1401266770","1401266764"],"photo_ids_order":["1401266760","1401266762","1401266764","1401266766","1401266769","1401266770"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/255df833626040037282645819c40a92.jpg","text":"TemporaryFile(/tmp/multipartBody2055834912158019710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834793480,"filename":"image_10122025_18_02_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da4dfedb53e04952fd1b5331b5461d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8736404942369091278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834793480,"filename":"image_10122025_18_02_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/12/27/d28f39654c82f4207e2513e0f6094897.jpg","text":"TemporaryFile(/tmp/multipartBody7933649199794581419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834793480,"filename":"image_10122025_18_03_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dd25447cb2e746d44f97c0c165851e1.jpg","text":"TemporaryFile(/tmp/multipartBody1953386410216196918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834793480,"filename":"image_10122025_18_03_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/12/27/b0b4b616f7b0e4d06fd1cbf24332d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody4611649566441557722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834793480,"filename":"image_10122025_18_02_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b543b89e343da5c656ac774a2b20634.jpg","text":"TemporaryFile(/tmp/multipartBody1128034678013979679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834793480,"filename":"image_10122025_18_03_05_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266764","file1":"1401266762","file0":"1401266760","file4":"1401266769","file5":"1401266770","file3":"1401266766"},"map_files_photo_id_array":[{"photo_id":"1401266770","filename":"file5"},{"photo_id":"1401266764","filename":"file2"},{"photo_id":"1401266769","filename":"file4"},{"photo_id":"1401266762","filename":"file1"},{"photo_id":"1401266760","filename":"file0"},{"photo_id":"1401266766","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266766":["hashtag1","hashtag2"]},{"1401266769":["hashtag1","hashtag2"]},{"1401266760":["hashtag1","hashtag2"]},{"1401266762":["hashtag1","hashtag2"]},{"1401266770":["hashtag1","hashtag2"]},{"1401266764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266766, 1401266769, 1401266760, 1401266762, 1401266770, 1401266764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35865926742554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:26:16.783928
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_02_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_34_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_24_9611.jpg', '/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_15_9617.jpg', '/home/nano/Desktop/images/10122025/18/01/image_10122025_18_02_05_10622.jpg', '/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_54_9601.jpg', '/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_45_10614.jpg', '/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_34_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_24_9611.jpg
/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_15_9617.jpg
/home/nano/Desktop/images/10122025/18/01/image_10122025_18_02_05_10622.jpg
/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_54_9601.jpg
/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_45_10614.jpg
/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_34_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":["1401266775","1401266784","1401266786","1401266780","1401266777","1401266782"],"photo_ids_order":["1401266775","1401266777","1401266780","1401266782","1401266784","1401266786"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aaf2ea7cc9aadbf0a8802f02e93812ae.jpg","text":"TemporaryFile(/tmp/multipartBody3463951997700982811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834837566,"filename":"image_10122025_18_02_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/12/27/a1bccdd89e2603fa694dc5e990d9fd59.jpg","text":"TemporaryFile(/tmp/multipartBody41305848488150972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834837566,"filename":"image_10122025_18_01_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c60d71a3b2646e7d584779922874b1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1850463102024596736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834837566,"filename":"image_10122025_18_01_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/12/27/f6b36e95232dcac2363b34576d5c3f88.jpg","text":"TemporaryFile(/tmp/multipartBody8588180038330987612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834837566,"filename":"image_10122025_18_02_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d2edb336a0fe0bfd5fb6ad4b12f96b2.jpg","text":"TemporaryFile(/tmp/multipartBody3638865007592627484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834837566,"filename":"image_10122025_18_02_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e68b46ad585028f10a4a705c2863dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4831640965023787291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834837566,"filename":"image_10122025_18_01_54_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266780","file1":"1401266777","file0":"1401266775","file4":"1401266784","file5":"1401266786","file3":"1401266782"},"map_files_photo_id_array":[{"photo_id":"1401266786","filename":"file5"},{"photo_id":"1401266780","filename":"file2"},{"photo_id":"1401266784","filename":"file4"},{"photo_id":"1401266777","filename":"file1"},{"photo_id":"1401266775","filename":"file0"},{"photo_id":"1401266782","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266775":["hashtag1","hashtag2"]},{"1401266784":["hashtag1","hashtag2"]},{"1401266786":["hashtag1","hashtag2"]},{"1401266780":["hashtag1","hashtag2"]},{"1401266777":["hashtag1","hashtag2"]},{"1401266782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266775, 1401266784, 1401266786, 1401266780, 1401266777, 1401266782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46477150917053 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:27:02.468924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_25_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_01_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_34_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_25_9593.jpg', '/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_15_10620.jpg', '/home/nano/Desktop/images/10122025/18/00/image_10122025_18_01_04_9632.jpg', '/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_55_9610.jpg', '/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_45_10609.jpg', '/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_34_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_25_9593.jpg
/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_15_10620.jpg
/home/nano/Desktop/images/10122025/18/00/image_10122025_18_01_04_9632.jpg
/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_55_9610.jpg
/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_45_10609.jpg
/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_34_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":["1401266799","1401266790","1401266795","1401266797","1401266801","1401266793"],"photo_ids_order":["1401266790","1401266793","1401266795","1401266797","1401266799","1401266801"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc475f6109a63220ba0050bdac8c7cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8015277116091828420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834883268,"filename":"image_10122025_18_00_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c06cb1766b2e6f09c46beb33fe0a73d0.jpg","text":"TemporaryFile(/tmp/multipartBody663210479246877149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834883268,"filename":"image_10122025_18_01_25_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49b6f4f8b0e53334b4bec56b27c43713.jpg","text":"TemporaryFile(/tmp/multipartBody5239076977330286519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834883268,"filename":"image_10122025_18_01_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/12/27/5e1b31149919d6a7dbbfb5da51f23656.jpg","text":"TemporaryFile(/tmp/multipartBody3331386342868718613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834883268,"filename":"image_10122025_18_00_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ec9086f22662068274abd57dc1e5554.jpg","text":"TemporaryFile(/tmp/multipartBody8787970615883477783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834883268,"filename":"image_10122025_18_00_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/12/27/38183725a419e126d58f430b931904ed.jpg","text":"TemporaryFile(/tmp/multipartBody3159319874141369832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834883268,"filename":"image_10122025_18_01_15_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266795","file1":"1401266793","file0":"1401266790","file4":"1401266799","file5":"1401266801","file3":"1401266797"},"map_files_photo_id_array":[{"photo_id":"1401266801","filename":"file5"},{"photo_id":"1401266795","filename":"file2"},{"photo_id":"1401266799","filename":"file4"},{"photo_id":"1401266793","filename":"file1"},{"photo_id":"1401266790","filename":"file0"},{"photo_id":"1401266797","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266799":["hashtag1","hashtag2"]},{"1401266790":["hashtag1","hashtag2"]},{"1401266795":["hashtag1","hashtag2"]},{"1401266797":["hashtag1","hashtag2"]},{"1401266801":["hashtag1","hashtag2"]},{"1401266793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266799, 1401266790, 1401266795, 1401266797, 1401266801, 1401266793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40492272377014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:27:46.938082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_18_00_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_55_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_35_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_25_10611.jpg', '/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_14_9614.jpg', '/home/nano/Desktop/images/10122025/17/59/image_10122025_18_00_05_9610.jpg', '/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_55_10622.jpg', '/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_44_9597.jpg', '/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_35_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_25_10611.jpg
/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_14_9614.jpg
/home/nano/Desktop/images/10122025/17/59/image_10122025_18_00_05_9610.jpg
/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_55_10622.jpg
/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_44_9597.jpg
/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_35_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":["1401266812","1401266811","1401266810","1401266813","1401266815","1401266809"],"photo_ids_order":["1401266809","1401266810","1401266811","1401266812","1401266813","1401266815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcb85e7c30e838b573e1301390a2e881.jpg","text":"TemporaryFile(/tmp/multipartBody2189676930401712472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834927711,"filename":"image_10122025_17_59_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4236286160ba235f58504c2ec0d183e6.jpg","text":"TemporaryFile(/tmp/multipartBody346645809407929347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834927711,"filename":"image_10122025_18_00_05_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f1d9a7ae1c596089b2f5ea488f1d380.jpg","text":"TemporaryFile(/tmp/multipartBody3044755915121975314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834927711,"filename":"image_10122025_18_00_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/12/27/ef099084d232c094f636265afda09ee5.jpg","text":"TemporaryFile(/tmp/multipartBody1349890469219933978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834927711,"filename":"image_10122025_17_59_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/12/27/bed40728664f18f8e19889d10943382b.jpg","text":"TemporaryFile(/tmp/multipartBody9082095830506615439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834927711,"filename":"image_10122025_17_59_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fba0dd4b9505abee1084a7874a8843f.jpg","text":"TemporaryFile(/tmp/multipartBody534355966276722993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834927711,"filename":"image_10122025_18_00_25_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266811","file1":"1401266810","file0":"1401266809","file4":"1401266813","file5":"1401266815","file3":"1401266812"},"map_files_photo_id_array":[{"photo_id":"1401266815","filename":"file5"},{"photo_id":"1401266811","filename":"file2"},{"photo_id":"1401266813","filename":"file4"},{"photo_id":"1401266810","filename":"file1"},{"photo_id":"1401266809","filename":"file0"},{"photo_id":"1401266812","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266812":["hashtag1","hashtag2"]},{"1401266811":["hashtag1","hashtag2"]},{"1401266810":["hashtag1","hashtag2"]},{"1401266813":["hashtag1","hashtag2"]},{"1401266815":["hashtag1","hashtag2"]},{"1401266809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266812, 1401266811, 1401266810, 1401266813, 1401266815, 1401266809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.774898290634155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:28:32.039493
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_59_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_35_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_24_9623.jpg', '/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_15_9622.jpg', '/home/nano/Desktop/images/10122025/17/58/image_10122025_17_59_05_10625.jpg', '/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_54_9617.jpg', '/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_45_9605.jpg', '/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_35_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_24_9623.jpg
/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_15_9622.jpg
/home/nano/Desktop/images/10122025/17/58/image_10122025_17_59_05_10625.jpg
/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_54_9617.jpg
/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_45_9605.jpg
/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_35_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":["1401266832","1401266823","1401266822","1401266831","1401266825","1401266828"],"photo_ids_order":["1401266822","1401266823","1401266825","1401266828","1401266831","1401266832"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e9a41ca1c9d2e0c9b59d27c3cfdec1f.jpg","text":"TemporaryFile(/tmp/multipartBody3905428614279957991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834972813,"filename":"image_10122025_17_58_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc8176ffaec59c5593a06b317e63299b.jpg","text":"TemporaryFile(/tmp/multipartBody8038892292348007725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834972813,"filename":"image_10122025_17_59_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0103027c90f43150ad56786c4a9f3f6.jpg","text":"TemporaryFile(/tmp/multipartBody215707671989321609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834972813,"filename":"image_10122025_17_59_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/12/27/abede21c991c2c370791ac097b8ce597.jpg","text":"TemporaryFile(/tmp/multipartBody4569683136159437725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834972813,"filename":"image_10122025_17_58_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5bf5858c2b0115bd8e37377473ad810.jpg","text":"TemporaryFile(/tmp/multipartBody6122376460038200094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834972813,"filename":"image_10122025_17_59_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6259bbc355de01dff18cea16bf9502f5.jpg","text":"TemporaryFile(/tmp/multipartBody1593792625959237609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766834972813,"filename":"image_10122025_17_58_54_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266825","file1":"1401266823","file0":"1401266822","file4":"1401266831","file5":"1401266832","file3":"1401266828"},"map_files_photo_id_array":[{"photo_id":"1401266832","filename":"file5"},{"photo_id":"1401266825","filename":"file2"},{"photo_id":"1401266831","filename":"file4"},{"photo_id":"1401266823","filename":"file1"},{"photo_id":"1401266822","filename":"file0"},{"photo_id":"1401266828","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266832":["hashtag1","hashtag2"]},{"1401266823":["hashtag1","hashtag2"]},{"1401266822":["hashtag1","hashtag2"]},{"1401266831":["hashtag1","hashtag2"]},{"1401266825":["hashtag1","hashtag2"]},{"1401266828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266832, 1401266823, 1401266822, 1401266831, 1401266825, 1401266828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.21770668029785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:29:17.186029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_58_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_34_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_24_9604.jpg', '/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_15_10625.jpg', '/home/nano/Desktop/images/10122025/17/57/image_10122025_17_58_04_9634.jpg', '/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_55_9603.jpg', '/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_45_10623.jpg', '/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_34_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_24_9604.jpg
/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_15_10625.jpg
/home/nano/Desktop/images/10122025/17/57/image_10122025_17_58_04_9634.jpg
/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_55_9603.jpg
/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_45_10623.jpg
/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_34_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":["1401266850","1401266844","1401266852","1401266846","1401266854","1401266842"],"photo_ids_order":["1401266842","1401266844","1401266846","1401266850","1401266852","1401266854"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a5256200e584fdf15c3d98ad7eac9ab.jpg","text":"TemporaryFile(/tmp/multipartBody2370716261947093347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835017970,"filename":"image_10122025_17_57_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a624ca24ffab0d715fd299cd46c1853e.jpg","text":"TemporaryFile(/tmp/multipartBody2027118473106678668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835017970,"filename":"image_10122025_17_58_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/368ad7c5d7951a74dd7948bf2b5bc0ca.jpg","text":"TemporaryFile(/tmp/multipartBody6321911390240769251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835017970,"filename":"image_10122025_17_57_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25db68ed58b266ec1e7d1673b327326a.jpg","text":"TemporaryFile(/tmp/multipartBody29310583168002437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835017970,"filename":"image_10122025_17_58_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/12/27/cbba68db86c01f057eaed9560721f38e.jpg","text":"TemporaryFile(/tmp/multipartBody7158678897169567434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835017970,"filename":"image_10122025_17_57_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f40a654b363d49c244c53bc89a1fce5.jpg","text":"TemporaryFile(/tmp/multipartBody2315751582371930289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835017970,"filename":"image_10122025_17_58_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266846","file1":"1401266844","file0":"1401266842","file4":"1401266852","file5":"1401266854","file3":"1401266850"},"map_files_photo_id_array":[{"photo_id":"1401266854","filename":"file5"},{"photo_id":"1401266846","filename":"file2"},{"photo_id":"1401266852","filename":"file4"},{"photo_id":"1401266844","filename":"file1"},{"photo_id":"1401266842","filename":"file0"},{"photo_id":"1401266850","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266850":["hashtag1","hashtag2"]},{"1401266844":["hashtag1","hashtag2"]},{"1401266852":["hashtag1","hashtag2"]},{"1401266846":["hashtag1","hashtag2"]},{"1401266854":["hashtag1","hashtag2"]},{"1401266842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266850, 1401266844, 1401266852, 1401266846, 1401266854, 1401266842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98443865776062 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:30:02.759650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_57_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_35_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_25_10608.jpg', '/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_14_9619.jpg', '/home/nano/Desktop/images/10122025/17/56/image_10122025_17_57_04_9604.jpg', '/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_55_10616.jpg', '/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_44_9601.jpg', '/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_35_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_25_10608.jpg
/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_14_9619.jpg
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_57_04_9604.jpg
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_55_10616.jpg
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_44_9601.jpg
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_35_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":["1401266865","1401266859","1401266867","1401266861","1401266858","1401266863"],"photo_ids_order":["1401266858","1401266859","1401266861","1401266863","1401266865","1401266867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b5e54d4541adebaf7b30180520fef21.jpg","text":"TemporaryFile(/tmp/multipartBody5192882977717094475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835063608,"filename":"image_10122025_17_56_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/12/27/aaadf0b05580fae4646c173b4525f7ad.jpg","text":"TemporaryFile(/tmp/multipartBody513903598588413959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835063608,"filename":"image_10122025_17_57_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/12/27/592a67661d5efb806bbff51e64756b98.jpg","text":"TemporaryFile(/tmp/multipartBody2289699728450554883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835063608,"filename":"image_10122025_17_56_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d21cf8d4305d0221b8ee9d96777c884.jpg","text":"TemporaryFile(/tmp/multipartBody6216243494252607193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835063608,"filename":"image_10122025_17_57_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/12/27/c3a8a4ab345eb176655068f9ff33f31c.jpg","text":"TemporaryFile(/tmp/multipartBody24554027090080391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835063608,"filename":"image_10122025_17_57_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ae81c57269a9660f074a071af1bfc08.jpg","text":"TemporaryFile(/tmp/multipartBody6148218138130780880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835063608,"filename":"image_10122025_17_56_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266861","file1":"1401266859","file0":"1401266858","file4":"1401266865","file5":"1401266867","file3":"1401266863"},"map_files_photo_id_array":[{"photo_id":"1401266867","filename":"file5"},{"photo_id":"1401266861","filename":"file2"},{"photo_id":"1401266865","filename":"file4"},{"photo_id":"1401266859","filename":"file1"},{"photo_id":"1401266858","filename":"file0"},{"photo_id":"1401266863","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266865":["hashtag1","hashtag2"]},{"1401266859":["hashtag1","hashtag2"]},{"1401266867":["hashtag1","hashtag2"]},{"1401266861":["hashtag1","hashtag2"]},{"1401266858":["hashtag1","hashtag2"]},{"1401266863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266865, 1401266859, 1401266867, 1401266861, 1401266858, 1401266863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.736661195755005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:30:47.249172
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg', '/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_10612.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.667651891708374 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:31:02.988263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg', '/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg
/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_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":["1401266883","1401266877","1401266885","1401266879","1401266888","1401266881"],"photo_ids_order":["1401266877","1401266879","1401266881","1401266883","1401266885","1401266888"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43d91843c36544ac98ac00be2fd8bd34.jpg","text":"TemporaryFile(/tmp/multipartBody1064037182959492848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835123872,"filename":"image_10122025_17_55_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/12/27/effcd09dd7cdf5b6706da3615586af66.jpg","text":"TemporaryFile(/tmp/multipartBody4517551530611034268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835123872,"filename":"image_10122025_17_56_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b251f35df684ad488f89b64bebf0fa89.jpg","text":"TemporaryFile(/tmp/multipartBody8617359546410444411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835123872,"filename":"image_10122025_17_55_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/743fc72011407c6e85deb21b716842f1.jpg","text":"TemporaryFile(/tmp/multipartBody1765080134379140763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835123872,"filename":"image_10122025_17_56_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/12/27/8d524352e603340143da058f05eacf83.jpg","text":"TemporaryFile(/tmp/multipartBody7417560041932120154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835123872,"filename":"image_10122025_17_55_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7867362889dc002395e6ab7d415e81bb.jpg","text":"TemporaryFile(/tmp/multipartBody4988983333515580436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835123872,"filename":"image_10122025_17_56_05_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266881","file1":"1401266879","file0":"1401266877","file4":"1401266885","file5":"1401266888","file3":"1401266883"},"map_files_photo_id_array":[{"photo_id":"1401266888","filename":"file5"},{"photo_id":"1401266881","filename":"file2"},{"photo_id":"1401266885","filename":"file4"},{"photo_id":"1401266879","filename":"file1"},{"photo_id":"1401266877","filename":"file0"},{"photo_id":"1401266883","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266883":["hashtag1","hashtag2"]},{"1401266877":["hashtag1","hashtag2"]},{"1401266885":["hashtag1","hashtag2"]},{"1401266879":["hashtag1","hashtag2"]},{"1401266888":["hashtag1","hashtag2"]},{"1401266881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266883, 1401266877, 1401266885, 1401266879, 1401266888, 1401266881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.305055141448975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:31:47.373458
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_55_04_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_34_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_24_9606.jpg', '/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_15_10643.jpg', '/home/nano/Desktop/images/10122025/17/54/image_10122025_17_55_04_9650.jpg', '/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_54_9621.jpg', '/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_45_10620.jpg', '/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_34_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_24_9606.jpg
/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_15_10643.jpg
/home/nano/Desktop/images/10122025/17/54/image_10122025_17_55_04_9650.jpg
/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_54_9621.jpg
/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_45_10620.jpg
/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_34_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":["1401266895","1401266898","1401266897","1401266894","1401266896","1401266900"],"photo_ids_order":["1401266894","1401266895","1401266896","1401266897","1401266898","1401266900"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54f42e42b17ce7ded3229d6fa440d5eb.jpg","text":"TemporaryFile(/tmp/multipartBody683516006603292517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835168186,"filename":"image_10122025_17_55_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/235a1ed5e195d3e49d08008ea4ddf899.jpg","text":"TemporaryFile(/tmp/multipartBody2213177380770715681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835168186,"filename":"image_10122025_17_54_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfef6b2981fee647df6691beebeeff60.jpg","text":"TemporaryFile(/tmp/multipartBody5697235557919371279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835168186,"filename":"image_10122025_17_54_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/12/27/d9e0cce9aa3c68e10257b4e274b0d392.jpg","text":"TemporaryFile(/tmp/multipartBody515463875306304267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835168186,"filename":"image_10122025_17_55_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/12/27/8760fa29560e63078b32c9f0993a3eda.jpg","text":"TemporaryFile(/tmp/multipartBody8686119987593756382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835168186,"filename":"image_10122025_17_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/12/27/a8be423bd2b46910a21c53ba864e8b99.jpg","text":"TemporaryFile(/tmp/multipartBody543292608400703425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835168186,"filename":"image_10122025_17_54_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266896","file1":"1401266895","file0":"1401266894","file4":"1401266898","file5":"1401266900","file3":"1401266897"},"map_files_photo_id_array":[{"photo_id":"1401266900","filename":"file5"},{"photo_id":"1401266896","filename":"file2"},{"photo_id":"1401266898","filename":"file4"},{"photo_id":"1401266895","filename":"file1"},{"photo_id":"1401266894","filename":"file0"},{"photo_id":"1401266897","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266895":["hashtag1","hashtag2"]},{"1401266898":["hashtag1","hashtag2"]},{"1401266897":["hashtag1","hashtag2"]},{"1401266894":["hashtag1","hashtag2"]},{"1401266896":["hashtag1","hashtag2"]},{"1401266900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266895, 1401266898, 1401266897, 1401266894, 1401266896, 1401266900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.529159784317017 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:32:32.479313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_54_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_34_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_25_9606.jpg', '/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_15_10653.jpg', '/home/nano/Desktop/images/10122025/17/53/image_10122025_17_54_04_9615.jpg', '/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_55_10609.jpg', '/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_44_9615.jpg', '/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_34_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_25_9606.jpg
/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_15_10653.jpg
/home/nano/Desktop/images/10122025/17/53/image_10122025_17_54_04_9615.jpg
/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_55_10609.jpg
/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_44_9615.jpg
/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_34_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":["1401266911","1401266913","1401266915","1401266918","1401266909","1401266917"],"photo_ids_order":["1401266909","1401266911","1401266913","1401266915","1401266917","1401266918"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cab730f2cc71e5f907167faf542c151.jpg","text":"TemporaryFile(/tmp/multipartBody4020712221711766810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835213271,"filename":"image_10122025_17_54_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e2998928abbea892dcdc9d65f9ac417.jpg","text":"TemporaryFile(/tmp/multipartBody5642647095967323186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835213271,"filename":"image_10122025_17_54_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/12/27/6a685aab896d1a8775b85a4eb9d27bb6.jpg","text":"TemporaryFile(/tmp/multipartBody7322038673931717720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835213271,"filename":"image_10122025_17_53_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/894c921e613960c700ca794f7120d48f.jpg","text":"TemporaryFile(/tmp/multipartBody8738891356757045462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835213271,"filename":"image_10122025_17_53_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/12/27/ce529e4bafed2935aa5757683f6e1e28.jpg","text":"TemporaryFile(/tmp/multipartBody7093019694250886616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835213271,"filename":"image_10122025_17_54_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03e6cb01ab1417871eba6e38ecc6e9f5.jpg","text":"TemporaryFile(/tmp/multipartBody7494391811123605322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835213271,"filename":"image_10122025_17_53_44_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266913","file1":"1401266911","file0":"1401266909","file4":"1401266917","file5":"1401266918","file3":"1401266915"},"map_files_photo_id_array":[{"photo_id":"1401266918","filename":"file5"},{"photo_id":"1401266913","filename":"file2"},{"photo_id":"1401266917","filename":"file4"},{"photo_id":"1401266911","filename":"file1"},{"photo_id":"1401266909","filename":"file0"},{"photo_id":"1401266915","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266911":["hashtag1","hashtag2"]},{"1401266913":["hashtag1","hashtag2"]},{"1401266915":["hashtag1","hashtag2"]},{"1401266918":["hashtag1","hashtag2"]},{"1401266909":["hashtag1","hashtag2"]},{"1401266917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266911, 1401266913, 1401266915, 1401266918, 1401266909, 1401266917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.924577713012695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:33:17.543110
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_53_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_35_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_25_10617.jpg', '/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_14_9615.jpg', '/home/nano/Desktop/images/10122025/17/52/image_10122025_17_53_05_9606.jpg', '/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_55_10606.jpg', '/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_44_9600.jpg', '/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_25_10617.jpg
/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_14_9615.jpg
/home/nano/Desktop/images/10122025/17/52/image_10122025_17_53_05_9606.jpg
/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_55_10606.jpg
/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_44_9600.jpg
/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_35_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":["1401266925","1401266928","1401266933","1401266930","1401266932","1401266923"],"photo_ids_order":["1401266923","1401266925","1401266928","1401266930","1401266932","1401266933"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f3316bc38bb7b519790e9f3b12051d1.jpg","text":"TemporaryFile(/tmp/multipartBody7105123155440691571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835258403,"filename":"image_10122025_17_53_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/12/27/c26eee427b9026668382b128b2848a88.jpg","text":"TemporaryFile(/tmp/multipartBody2906652398037073369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835258403,"filename":"image_10122025_17_53_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a59754479378206c4b5963235647014.jpg","text":"TemporaryFile(/tmp/multipartBody7377633747568795963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835258403,"filename":"image_10122025_17_52_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49272471c25e6d1427801337026b757f.jpg","text":"TemporaryFile(/tmp/multipartBody2169466204083582343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835258403,"filename":"image_10122025_17_52_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/661316b08c064fedadad26cd9d29f484.jpg","text":"TemporaryFile(/tmp/multipartBody2853431644602096121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835258403,"filename":"image_10122025_17_52_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/12/27/244a312cf0cf7cdcfbefe770203ae13d.jpg","text":"TemporaryFile(/tmp/multipartBody3447730244940957738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835258403,"filename":"image_10122025_17_53_25_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266928","file1":"1401266925","file0":"1401266923","file4":"1401266932","file5":"1401266933","file3":"1401266930"},"map_files_photo_id_array":[{"photo_id":"1401266933","filename":"file5"},{"photo_id":"1401266928","filename":"file2"},{"photo_id":"1401266932","filename":"file4"},{"photo_id":"1401266925","filename":"file1"},{"photo_id":"1401266923","filename":"file0"},{"photo_id":"1401266930","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266925":["hashtag1","hashtag2"]},{"1401266928":["hashtag1","hashtag2"]},{"1401266933":["hashtag1","hashtag2"]},{"1401266930":["hashtag1","hashtag2"]},{"1401266932":["hashtag1","hashtag2"]},{"1401266923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266925, 1401266928, 1401266933, 1401266930, 1401266932, 1401266923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.200040102005005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:34:03.377884
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_52_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_54_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_45_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_35_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_24_9597.jpg', '/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_15_9607.jpg', '/home/nano/Desktop/images/10122025/17/51/image_10122025_17_52_05_10686.jpg', '/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_54_9636.jpg', '/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_45_9673.jpg', '/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_35_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_24_9597.jpg
/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_15_9607.jpg
/home/nano/Desktop/images/10122025/17/51/image_10122025_17_52_05_10686.jpg
/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_54_9636.jpg
/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_45_9673.jpg
/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_35_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":["1401266937","1401266940","1401266948","1401266942","1401266944","1401266938"],"photo_ids_order":["1401266937","1401266938","1401266940","1401266942","1401266944","1401266948"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47ca6249d437458782950f4b37e73858.jpg","text":"TemporaryFile(/tmp/multipartBody2189214643475626047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835304218,"filename":"image_10122025_17_52_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/12/27/b1f974931781b5aa27938dfdacb74928.jpg","text":"TemporaryFile(/tmp/multipartBody1897572714367207168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835304218,"filename":"image_10122025_17_52_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f24cc164b6955c64d24396bad8bf17e.jpg","text":"TemporaryFile(/tmp/multipartBody7434692889971498034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835304218,"filename":"image_10122025_17_51_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7ebcdb1d7a340e478e2f0b09208c72e.jpg","text":"TemporaryFile(/tmp/multipartBody2248844315950894682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835304218,"filename":"image_10122025_17_51_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/12/27/7d8f011b1eb9891c05e3edafe9606e06.jpg","text":"TemporaryFile(/tmp/multipartBody6898055095923160680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835304218,"filename":"image_10122025_17_51_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00d8a5f047111fdc4d1c98db161168fe.jpg","text":"TemporaryFile(/tmp/multipartBody7832704587404845033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835304218,"filename":"image_10122025_17_52_15_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266940","file1":"1401266938","file0":"1401266937","file4":"1401266944","file5":"1401266948","file3":"1401266942"},"map_files_photo_id_array":[{"photo_id":"1401266948","filename":"file5"},{"photo_id":"1401266940","filename":"file2"},{"photo_id":"1401266944","filename":"file4"},{"photo_id":"1401266938","filename":"file1"},{"photo_id":"1401266937","filename":"file0"},{"photo_id":"1401266942","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266937":["hashtag1","hashtag2"]},{"1401266940":["hashtag1","hashtag2"]},{"1401266948":["hashtag1","hashtag2"]},{"1401266942":["hashtag1","hashtag2"]},{"1401266944":["hashtag1","hashtag2"]},{"1401266938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266937, 1401266940, 1401266948, 1401266942, 1401266944, 1401266938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78844714164734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:34:47.654819
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_51_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_45_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_34_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_24_9614.jpg', '/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_15_10624.jpg', '/home/nano/Desktop/images/10122025/17/50/image_10122025_17_51_04_9625.jpg', '/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_54_9617.jpg', '/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_45_10608.jpg', '/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_24_9614.jpg
/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_15_10624.jpg
/home/nano/Desktop/images/10122025/17/50/image_10122025_17_51_04_9625.jpg
/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_54_9617.jpg
/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_45_10608.jpg
/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_34_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":["1401266961","1401266960","1401266963","1401266962","1401266965","1401266959"],"photo_ids_order":["1401266959","1401266960","1401266961","1401266962","1401266963","1401266965"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62b34e34e6cb69bcd79bab7bed880035.jpg","text":"TemporaryFile(/tmp/multipartBody3313347914842352436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835348430,"filename":"image_10122025_17_51_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/12/27/173cffcfe0761a3e3b08bad290cfa781.jpg","text":"TemporaryFile(/tmp/multipartBody5025483584169360460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835348430,"filename":"image_10122025_17_51_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71efcb4597c552227b46baa7b6cecd7d.jpg","text":"TemporaryFile(/tmp/multipartBody4428866347243758915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835348430,"filename":"image_10122025_17_50_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2da5789f3907732638dbaeec21477261.jpg","text":"TemporaryFile(/tmp/multipartBody5977841298303095616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835348430,"filename":"image_10122025_17_50_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/12/27/f8f458327a322fe2498f753fb9369b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3598862687011784121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835348430,"filename":"image_10122025_17_50_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/12/27/e312a287d172988af0b179e37dd91e11.jpg","text":"TemporaryFile(/tmp/multipartBody3422441826859883243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835348430,"filename":"image_10122025_17_51_24_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266961","file1":"1401266960","file0":"1401266959","file4":"1401266963","file5":"1401266965","file3":"1401266962"},"map_files_photo_id_array":[{"photo_id":"1401266965","filename":"file5"},{"photo_id":"1401266961","filename":"file2"},{"photo_id":"1401266963","filename":"file4"},{"photo_id":"1401266960","filename":"file1"},{"photo_id":"1401266959","filename":"file0"},{"photo_id":"1401266962","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266961":["hashtag1","hashtag2"]},{"1401266960":["hashtag1","hashtag2"]},{"1401266963":["hashtag1","hashtag2"]},{"1401266962":["hashtag1","hashtag2"]},{"1401266965":["hashtag1","hashtag2"]},{"1401266959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266961, 1401266960, 1401266963, 1401266962, 1401266965, 1401266959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2435998916626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:35:31.757785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_50_04_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_35_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_25_9600.jpg', '/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_15_10623.jpg', '/home/nano/Desktop/images/10122025/17/49/image_10122025_17_50_04_9597.jpg', '/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_55_10606.jpg', '/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_44_9606.jpg', '/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_35_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_25_9600.jpg
/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_15_10623.jpg
/home/nano/Desktop/images/10122025/17/49/image_10122025_17_50_04_9597.jpg
/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_55_10606.jpg
/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_44_9606.jpg
/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_35_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":["1401266987","1401266980","1401266983","1401266977","1401266986","1401266974"],"photo_ids_order":["1401266974","1401266977","1401266980","1401266983","1401266986","1401266987"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f95c11d3f042f85e09d717e96f71b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody759622862945442567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835392561,"filename":"image_10122025_17_49_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73da25b3d1218ef13ad7e15bb1c2e557.jpg","text":"TemporaryFile(/tmp/multipartBody6482031087226469234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835392561,"filename":"image_10122025_17_50_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/12/27/d1ddf3b9c435b2e7e56cb9e3bbb09016.jpg","text":"TemporaryFile(/tmp/multipartBody587353058680221898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835392561,"filename":"image_10122025_17_49_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb96b7477387280cde9253b888452bf4.jpg","text":"TemporaryFile(/tmp/multipartBody999899782401167620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835392561,"filename":"image_10122025_17_50_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c4a99e67d92169c26c9d07c5ec753d1.jpg","text":"TemporaryFile(/tmp/multipartBody7991452994395436036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835392561,"filename":"image_10122025_17_49_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/12/27/87f74c0ff58cab771510f3a912526c96.jpg","text":"TemporaryFile(/tmp/multipartBody2461441896260855875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835392561,"filename":"image_10122025_17_50_25_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266980","file1":"1401266977","file0":"1401266974","file4":"1401266986","file5":"1401266987","file3":"1401266983"},"map_files_photo_id_array":[{"photo_id":"1401266987","filename":"file5"},{"photo_id":"1401266980","filename":"file2"},{"photo_id":"1401266986","filename":"file4"},{"photo_id":"1401266977","filename":"file1"},{"photo_id":"1401266974","filename":"file0"},{"photo_id":"1401266983","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266987":["hashtag1","hashtag2"]},{"1401266980":["hashtag1","hashtag2"]},{"1401266983":["hashtag1","hashtag2"]},{"1401266977":["hashtag1","hashtag2"]},{"1401266986":["hashtag1","hashtag2"]},{"1401266974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266987, 1401266980, 1401266983, 1401266977, 1401266986, 1401266974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.699320793151855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:36:16.970097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_49_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_54_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_44_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_35_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_25_10628.jpg', '/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_14_9604.jpg', '/home/nano/Desktop/images/10122025/17/48/image_10122025_17_49_05_10648.jpg', '/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_54_9644.jpg', '/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_44_9655.jpg', '/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_35_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_25_10628.jpg
/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_14_9604.jpg
/home/nano/Desktop/images/10122025/17/48/image_10122025_17_49_05_10648.jpg
/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_54_9644.jpg
/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_44_9655.jpg
/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_35_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":["1401266990","1401266993","1401266995","1401266989","1401266998","1401267001"],"photo_ids_order":["1401266989","1401266990","1401266993","1401266995","1401266998","1401267001"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25eab9105646d34a8e50e896ce109720.jpg","text":"TemporaryFile(/tmp/multipartBody137952034587057021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835437758,"filename":"image_10122025_17_49_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1649caf829d5ae3f15c02df237bd5f5.jpg","text":"TemporaryFile(/tmp/multipartBody8400804897870676612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835437758,"filename":"image_10122025_17_49_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7eb330f519dcdddc92ff38545a98119b.jpg","text":"TemporaryFile(/tmp/multipartBody8441980187654770163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835437758,"filename":"image_10122025_17_48_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/12/27/23d2dffe1be8c2e0b0a4493624addb1e.jpg","text":"TemporaryFile(/tmp/multipartBody4828391618958639656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835437758,"filename":"image_10122025_17_49_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab33e0cdfe943a3ee9a1af89bdcfb39a.jpg","text":"TemporaryFile(/tmp/multipartBody3816924592852806648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835437758,"filename":"image_10122025_17_48_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/12/27/7a421a654e84db1c67664e9ccba00e22.jpg","text":"TemporaryFile(/tmp/multipartBody4831209878539971891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835437758,"filename":"image_10122025_17_48_35_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401266993","file1":"1401266990","file0":"1401266989","file4":"1401266998","file5":"1401267001","file3":"1401266995"},"map_files_photo_id_array":[{"photo_id":"1401267001","filename":"file5"},{"photo_id":"1401266993","filename":"file2"},{"photo_id":"1401266998","filename":"file4"},{"photo_id":"1401266990","filename":"file1"},{"photo_id":"1401266989","filename":"file0"},{"photo_id":"1401266995","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401266990":["hashtag1","hashtag2"]},{"1401266993":["hashtag1","hashtag2"]},{"1401266995":["hashtag1","hashtag2"]},{"1401266989":["hashtag1","hashtag2"]},{"1401266998":["hashtag1","hashtag2"]},{"1401267001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401266990, 1401266993, 1401266995, 1401266989, 1401266998, 1401267001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87183666229248 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:37:02.655129
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/12/36/image_27122025_12_37_04_9513.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/12/36/image_27122025_12_37_04_9513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/12/36/image_27122025_12_37_04_9513.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267007"],"photo_id":"1401267007","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcb6c96ee8f1ad85cc5b4fa2cac93282.jpg","text":"TemporaryFile(/tmp/multipartBody7979006952558215225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835482907,"filename":"image_27122025_12_37_04_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401267007"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401267007"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.939212560653687 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:37:17.091036
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_48_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_35_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_24_9607.jpg', '/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_15_9609.jpg', '/home/nano/Desktop/images/10122025/17/47/image_10122025_17_48_05_10638.jpg', '/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_54_9603.jpg', '/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_45_9609.jpg', '/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_24_9607.jpg
/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_15_9609.jpg
/home/nano/Desktop/images/10122025/17/47/image_10122025_17_48_05_10638.jpg
/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_54_9603.jpg
/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_45_9609.jpg
/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_35_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":["1401267018","1401267012","1401267021","1401267015","1401267009","1401267008"],"photo_ids_order":["1401267008","1401267009","1401267012","1401267015","1401267018","1401267021"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/071d5289522d4c07d2cc474b9e458423.jpg","text":"TemporaryFile(/tmp/multipartBody606818863471990103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835497890,"filename":"image_10122025_17_47_45_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16909539245a0632ce3fcb4a8ed5aba4.jpg","text":"TemporaryFile(/tmp/multipartBody1989269354269428287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835497890,"filename":"image_10122025_17_48_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/477e3113cd63339c5a2bb2d7a0aa7ecd.jpg","text":"TemporaryFile(/tmp/multipartBody18538140756836890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835497890,"filename":"image_10122025_17_47_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b324d8f51dad03430a35bb75d567dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1605892505530859872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835497890,"filename":"image_10122025_17_47_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/12/27/09a37edacb0313125f7bdae299728b69.jpg","text":"TemporaryFile(/tmp/multipartBody2098762485487182619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835497890,"filename":"image_10122025_17_48_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/813138c3fdc71fb3f17394d9430086e6.jpg","text":"TemporaryFile(/tmp/multipartBody3146727691089215643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835497890,"filename":"image_10122025_17_48_24_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267012","file1":"1401267009","file0":"1401267008","file4":"1401267018","file5":"1401267021","file3":"1401267015"},"map_files_photo_id_array":[{"photo_id":"1401267021","filename":"file5"},{"photo_id":"1401267012","filename":"file2"},{"photo_id":"1401267018","filename":"file4"},{"photo_id":"1401267009","filename":"file1"},{"photo_id":"1401267008","filename":"file0"},{"photo_id":"1401267015","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267018":["hashtag1","hashtag2"]},{"1401267012":["hashtag1","hashtag2"]},{"1401267021":["hashtag1","hashtag2"]},{"1401267015":["hashtag1","hashtag2"]},{"1401267009":["hashtag1","hashtag2"]},{"1401267008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267018, 1401267012, 1401267021, 1401267015, 1401267009, 1401267008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.878905057907104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:38:02.731833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_47_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_55_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_24_9614.jpg', '/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_15_10652.jpg', '/home/nano/Desktop/images/10122025/17/46/image_10122025_17_47_04_9609.jpg', '/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_55_9625.jpg', '/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_45_10618.jpg', '/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_24_9614.jpg
/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_15_10652.jpg
/home/nano/Desktop/images/10122025/17/46/image_10122025_17_47_04_9609.jpg
/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_55_9625.jpg
/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_45_10618.jpg
/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_34_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":["1401267030","1401267027","1401267029","1401267032","1401267031","1401267028"],"photo_ids_order":["1401267027","1401267028","1401267029","1401267030","1401267031","1401267032"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1c01ada02e3d27ca054d4bccd7051c9.jpg","text":"TemporaryFile(/tmp/multipartBody2511503409639609590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835543528,"filename":"image_10122025_17_46_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36e75298ad183f47273d0b6207d71c53.jpg","text":"TemporaryFile(/tmp/multipartBody330624603093216908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835543528,"filename":"image_10122025_17_47_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/12/27/257808ec26536ed741419565e8ad9c04.jpg","text":"TemporaryFile(/tmp/multipartBody8256709031224935420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835543528,"filename":"image_10122025_17_47_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/12/27/2ad629cb9963a9cafba985b1cf75690f.jpg","text":"TemporaryFile(/tmp/multipartBody5469529024534964387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835543528,"filename":"image_10122025_17_46_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/12/27/c63dbf777eebd79dfb0eb6edb3f23293.jpg","text":"TemporaryFile(/tmp/multipartBody6106233209222571268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835543528,"filename":"image_10122025_17_46_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aadbd2931dc7631885774528c8351e4d.jpg","text":"TemporaryFile(/tmp/multipartBody654731923882111240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835543528,"filename":"image_10122025_17_47_15_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267029","file1":"1401267028","file0":"1401267027","file4":"1401267031","file5":"1401267032","file3":"1401267030"},"map_files_photo_id_array":[{"photo_id":"1401267032","filename":"file5"},{"photo_id":"1401267029","filename":"file2"},{"photo_id":"1401267031","filename":"file4"},{"photo_id":"1401267028","filename":"file1"},{"photo_id":"1401267027","filename":"file0"},{"photo_id":"1401267030","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267030":["hashtag1","hashtag2"]},{"1401267027":["hashtag1","hashtag2"]},{"1401267029":["hashtag1","hashtag2"]},{"1401267032":["hashtag1","hashtag2"]},{"1401267031":["hashtag1","hashtag2"]},{"1401267028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267030, 1401267027, 1401267029, 1401267032, 1401267031, 1401267028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.89940094947815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:38:47.160772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_46_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_35_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_25_10613.jpg', '/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_14_9619.jpg', '/home/nano/Desktop/images/10122025/17/45/image_10122025_17_46_05_9624.jpg', '/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_55_10613.jpg', '/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_44_9600.jpg', '/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_35_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_25_10613.jpg
/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_14_9619.jpg
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_46_05_9624.jpg
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_55_10613.jpg
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_44_9600.jpg
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_35_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":["1401267042","1401267045","1401267048","1401267044","1401267043","1401267046"],"photo_ids_order":["1401267042","1401267043","1401267044","1401267045","1401267046","1401267048"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/089e3d9b47a8cc920326d72f28ac0554.jpg","text":"TemporaryFile(/tmp/multipartBody6721301922377473982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835587967,"filename":"image_10122025_17_46_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a7257dddd4f8526e7a40c9c89017dfe.jpg","text":"TemporaryFile(/tmp/multipartBody6260915532850620982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835587967,"filename":"image_10122025_17_45_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a39da29af2b38cb0fafc4b9642603976.jpg","text":"TemporaryFile(/tmp/multipartBody8821018255924010758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835587967,"filename":"image_10122025_17_45_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32a43d5c39d1178c94dc6f129e6507c6.jpg","text":"TemporaryFile(/tmp/multipartBody5889289173299084479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835587967,"filename":"image_10122025_17_46_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9cbb0efe43220a69ff5e71803b4db0f.jpg","text":"TemporaryFile(/tmp/multipartBody7327840846676870560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835587967,"filename":"image_10122025_17_46_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/12/27/2ccd82abf82fa24f8deb3bdf1daf9682.jpg","text":"TemporaryFile(/tmp/multipartBody4185135651676663407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835587967,"filename":"image_10122025_17_45_44_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267044","file1":"1401267043","file0":"1401267042","file4":"1401267046","file5":"1401267048","file3":"1401267045"},"map_files_photo_id_array":[{"photo_id":"1401267048","filename":"file5"},{"photo_id":"1401267044","filename":"file2"},{"photo_id":"1401267046","filename":"file4"},{"photo_id":"1401267043","filename":"file1"},{"photo_id":"1401267042","filename":"file0"},{"photo_id":"1401267045","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267042":["hashtag1","hashtag2"]},{"1401267045":["hashtag1","hashtag2"]},{"1401267048":["hashtag1","hashtag2"]},{"1401267044":["hashtag1","hashtag2"]},{"1401267043":["hashtag1","hashtag2"]},{"1401267046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267042, 1401267045, 1401267048, 1401267044, 1401267043, 1401267046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17661237716675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:39:32.313006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg', '/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_10610.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6735267639160156 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:39:47.332957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg', '/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg
/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_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":["1401267066","1401267074","1401267068","1401267070","1401267072","1401267069"],"photo_ids_order":["1401267066","1401267068","1401267069","1401267070","1401267072","1401267074"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f09e690f3d985d1d7c6401938505bf7c.jpg","text":"TemporaryFile(/tmp/multipartBody805922941628447057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835648185,"filename":"image_10122025_17_45_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8bfc3f4caa4e1e6e85b97006a3c53f0.jpg","text":"TemporaryFile(/tmp/multipartBody7339549683421261928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835648185,"filename":"image_10122025_17_44_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef8a5ee8d7ac211af2ffeb970203b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6723166489586925870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835648185,"filename":"image_10122025_17_45_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/12/27/63e42e1dc8fe7de2c99156dfd408b25f.jpg","text":"TemporaryFile(/tmp/multipartBody8402360134797243655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835648185,"filename":"image_10122025_17_44_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/12/27/12a0f915795ec0fd9bda4f1397b428b0.jpg","text":"TemporaryFile(/tmp/multipartBody8026887112232171604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835648185,"filename":"image_10122025_17_44_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f41ceac25aac4d50925ce9c3ddd3c82f.jpg","text":"TemporaryFile(/tmp/multipartBody6365823663620837941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835648185,"filename":"image_10122025_17_45_05_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267069","file1":"1401267068","file0":"1401267066","file4":"1401267072","file5":"1401267074","file3":"1401267070"},"map_files_photo_id_array":[{"photo_id":"1401267074","filename":"file5"},{"photo_id":"1401267069","filename":"file2"},{"photo_id":"1401267072","filename":"file4"},{"photo_id":"1401267068","filename":"file1"},{"photo_id":"1401267066","filename":"file0"},{"photo_id":"1401267070","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267066":["hashtag1","hashtag2"]},{"1401267074":["hashtag1","hashtag2"]},{"1401267068":["hashtag1","hashtag2"]},{"1401267070":["hashtag1","hashtag2"]},{"1401267072":["hashtag1","hashtag2"]},{"1401267069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267066, 1401267074, 1401267068, 1401267070, 1401267072, 1401267069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8435640335083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:40:32.432760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_44_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_55_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_34_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_24_9605.jpg', '/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_15_10631.jpg', '/home/nano/Desktop/images/10122025/17/43/image_10122025_17_44_04_9601.jpg', '/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_55_9598.jpg', '/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_45_10614.jpg', '/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_24_9605.jpg
/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_15_10631.jpg
/home/nano/Desktop/images/10122025/17/43/image_10122025_17_44_04_9601.jpg
/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_55_9598.jpg
/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_45_10614.jpg
/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_34_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":["1401267084","1401267089","1401267082","1401267085","1401267090","1401267087"],"photo_ids_order":["1401267082","1401267084","1401267085","1401267087","1401267089","1401267090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/508d5b43d2cb94f9291f72a113c44660.jpg","text":"TemporaryFile(/tmp/multipartBody2338633838748766712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835693239,"filename":"image_10122025_17_44_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/661caf9b116778e37fc857f687d83a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7413196111341888994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835693239,"filename":"image_10122025_17_43_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b37766d98b9ff4c837b054bfded2d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2721114863272895059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835693239,"filename":"image_10122025_17_44_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/12/27/b9557e0646cd9087135d964c36a34044.jpg","text":"TemporaryFile(/tmp/multipartBody4883612217060097406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835693239,"filename":"image_10122025_17_44_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/12/27/594ee78e0dd773f9d97b84597487a2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1083598426760886043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835693239,"filename":"image_10122025_17_43_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/12/27/e148c3190ea1756c177ed77cec6633ab.jpg","text":"TemporaryFile(/tmp/multipartBody7363923707758305829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835693239,"filename":"image_10122025_17_43_55_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267085","file1":"1401267084","file0":"1401267082","file4":"1401267089","file5":"1401267090","file3":"1401267087"},"map_files_photo_id_array":[{"photo_id":"1401267090","filename":"file5"},{"photo_id":"1401267085","filename":"file2"},{"photo_id":"1401267089","filename":"file4"},{"photo_id":"1401267084","filename":"file1"},{"photo_id":"1401267082","filename":"file0"},{"photo_id":"1401267087","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267084":["hashtag1","hashtag2"]},{"1401267089":["hashtag1","hashtag2"]},{"1401267082":["hashtag1","hashtag2"]},{"1401267085":["hashtag1","hashtag2"]},{"1401267090":["hashtag1","hashtag2"]},{"1401267087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267084, 1401267089, 1401267082, 1401267085, 1401267090, 1401267087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.689372301101685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:41:17.579008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_43_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_35_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_25_10608.jpg', '/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_14_9620.jpg', '/home/nano/Desktop/images/10122025/17/42/image_10122025_17_43_04_9609.jpg', '/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_55_10618.jpg', '/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_44_9613.jpg', '/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_35_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_25_10608.jpg
/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_14_9620.jpg
/home/nano/Desktop/images/10122025/17/42/image_10122025_17_43_04_9609.jpg
/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_55_10618.jpg
/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_44_9613.jpg
/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_35_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267105","1401267098","1401267107","1401267100","1401267103","1401267096"],"photo_ids_order":["1401267096","1401267098","1401267100","1401267103","1401267105","1401267107"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffe19c612a8afff2a982aae810439295.jpg","text":"TemporaryFile(/tmp/multipartBody7120573737954000216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835738361,"filename":"image_10122025_17_42_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/12/27/ccc733e7db43811343b37af70035652a.jpg","text":"TemporaryFile(/tmp/multipartBody1058936300029005017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835738361,"filename":"image_10122025_17_43_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/12/27/f4a1c070d45b5415f23b2d4471c48324.jpg","text":"TemporaryFile(/tmp/multipartBody4191054382876040376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835738361,"filename":"image_10122025_17_42_35_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/834dc6a90a593265613cb57ece7b20bf.jpg","text":"TemporaryFile(/tmp/multipartBody651906330196686764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835738361,"filename":"image_10122025_17_43_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/12/27/e167990ebdd9b4c36b839a6f701ada6f.jpg","text":"TemporaryFile(/tmp/multipartBody5222320614206120566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835738361,"filename":"image_10122025_17_42_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce5e728d1ac991fcee536ffc81b9e6e3.jpg","text":"TemporaryFile(/tmp/multipartBody934508145308333529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835738361,"filename":"image_10122025_17_43_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267100","file1":"1401267098","file0":"1401267096","file4":"1401267105","file5":"1401267107","file3":"1401267103"},"map_files_photo_id_array":[{"photo_id":"1401267107","filename":"file5"},{"photo_id":"1401267100","filename":"file2"},{"photo_id":"1401267105","filename":"file4"},{"photo_id":"1401267098","filename":"file1"},{"photo_id":"1401267096","filename":"file0"},{"photo_id":"1401267103","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267105":["hashtag1","hashtag2"]},{"1401267098":["hashtag1","hashtag2"]},{"1401267107":["hashtag1","hashtag2"]},{"1401267100":["hashtag1","hashtag2"]},{"1401267103":["hashtag1","hashtag2"]},{"1401267096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267105, 1401267098, 1401267107, 1401267100, 1401267103, 1401267096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.726654291152954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:42:03.212960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_25_10579.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_14_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_42_05_10586.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_54_9567.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_25_10579.jpg', '/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_14_9589.jpg', '/home/nano/Desktop/images/10122025/17/41/image_10122025_17_42_05_10586.jpg', '/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_54_9567.jpg', '/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_45_10603.jpg', '/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_25_10579.jpg
/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_14_9589.jpg
/home/nano/Desktop/images/10122025/17/41/image_10122025_17_42_05_10586.jpg
/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_54_9567.jpg
/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_45_10603.jpg
/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_34_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267123","1401267120","1401267114","1401267113","1401267116","1401267118"],"photo_ids_order":["1401267113","1401267114","1401267116","1401267118","1401267120","1401267123"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f72870f576e8199eb50cb4d3f40487c.jpg","text":"TemporaryFile(/tmp/multipartBody7748051795632217251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835784015,"filename":"image_10122025_17_41_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f1538be12950408e2e6e4d5eabd4581.jpg","text":"TemporaryFile(/tmp/multipartBody8441301769234751306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835784015,"filename":"image_10122025_17_41_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21b5f48497a77507787f2d5d7f0c28d3.jpg","text":"TemporaryFile(/tmp/multipartBody3265980394653380306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835784015,"filename":"image_10122025_17_42_14_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f1d3327458f45efcd6be65c627f1baa.jpg","text":"TemporaryFile(/tmp/multipartBody6035682159047875957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835784015,"filename":"image_10122025_17_42_25_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9cf984b27517629722ddcc21b96d430.jpg","text":"TemporaryFile(/tmp/multipartBody3878433177161753026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835784015,"filename":"image_10122025_17_42_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6301e46074b7db3a816b480f3c569c11.jpg","text":"TemporaryFile(/tmp/multipartBody8037473228306172122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835784015,"filename":"image_10122025_17_41_54_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267116","file1":"1401267114","file0":"1401267113","file4":"1401267120","file5":"1401267123","file3":"1401267118"},"map_files_photo_id_array":[{"photo_id":"1401267123","filename":"file5"},{"photo_id":"1401267116","filename":"file2"},{"photo_id":"1401267120","filename":"file4"},{"photo_id":"1401267114","filename":"file1"},{"photo_id":"1401267113","filename":"file0"},{"photo_id":"1401267118","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267123":["hashtag1","hashtag2"]},{"1401267120":["hashtag1","hashtag2"]},{"1401267114":["hashtag1","hashtag2"]},{"1401267113":["hashtag1","hashtag2"]},{"1401267116":["hashtag1","hashtag2"]},{"1401267118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267123, 1401267120, 1401267114, 1401267113, 1401267116, 1401267118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17991399765015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:42:47.724938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_25_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_15_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_41_04_9572.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_55_10586.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_44_9562.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_35_10569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_25_9561.jpg', '/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_15_10588.jpg', '/home/nano/Desktop/images/10122025/17/40/image_10122025_17_41_04_9572.jpg', '/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_55_10586.jpg', '/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_44_9562.jpg', '/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_35_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_25_9561.jpg
/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_15_10588.jpg
/home/nano/Desktop/images/10122025/17/40/image_10122025_17_41_04_9572.jpg
/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_55_10586.jpg
/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_44_9562.jpg
/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_35_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267132","1401267131","1401267134","1401267137","1401267133","1401267136"],"photo_ids_order":["1401267131","1401267132","1401267133","1401267134","1401267136","1401267137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e3c9c6e576c8bc76f493775a6026720.jpg","text":"TemporaryFile(/tmp/multipartBody2348226070634810483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835828503,"filename":"image_10122025_17_41_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/057941b6e6b0e2c40fa0a5d81ec0a82e.jpg","text":"TemporaryFile(/tmp/multipartBody2473234129805865607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835828503,"filename":"image_10122025_17_41_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5521b01cee026fd352206c2c01d77ad.jpg","text":"TemporaryFile(/tmp/multipartBody7171515766840984507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835828503,"filename":"image_10122025_17_40_55_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9094a0297820b90e75447a0ce9ec363d.jpg","text":"TemporaryFile(/tmp/multipartBody1256576347635182029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835828503,"filename":"image_10122025_17_40_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/680aab6aa1b82eb6d585ef3632dcb3ca.jpg","text":"TemporaryFile(/tmp/multipartBody4457379490640595967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835828503,"filename":"image_10122025_17_41_04_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf681311e0d14db04cb1f61f3e3f7444.jpg","text":"TemporaryFile(/tmp/multipartBody6886430823307562874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835828503,"filename":"image_10122025_17_40_44_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267133","file1":"1401267132","file0":"1401267131","file4":"1401267136","file5":"1401267137","file3":"1401267134"},"map_files_photo_id_array":[{"photo_id":"1401267137","filename":"file5"},{"photo_id":"1401267133","filename":"file2"},{"photo_id":"1401267136","filename":"file4"},{"photo_id":"1401267132","filename":"file1"},{"photo_id":"1401267131","filename":"file0"},{"photo_id":"1401267134","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267132":["hashtag1","hashtag2"]},{"1401267131":["hashtag1","hashtag2"]},{"1401267134":["hashtag1","hashtag2"]},{"1401267137":["hashtag1","hashtag2"]},{"1401267133":["hashtag1","hashtag2"]},{"1401267136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267132, 1401267131, 1401267134, 1401267137, 1401267133, 1401267136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73814034461975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:43:31.817406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_24_9559.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_15_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_40_05_10593.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_54_9553.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_45_10577.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_34_9573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_24_9559.jpg', '/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_15_9591.jpg', '/home/nano/Desktop/images/10122025/17/39/image_10122025_17_40_05_10593.jpg', '/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_54_9553.jpg', '/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_45_10577.jpg', '/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_34_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_24_9559.jpg
/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_15_9591.jpg
/home/nano/Desktop/images/10122025/17/39/image_10122025_17_40_05_10593.jpg
/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_54_9553.jpg
/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_45_10577.jpg
/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_34_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267156","1401267152","1401267146","1401267155","1401267149","1401267148"],"photo_ids_order":["1401267146","1401267148","1401267149","1401267152","1401267155","1401267156"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fb6052e946a038412f23b5f47ec41fa.jpg","text":"TemporaryFile(/tmp/multipartBody7436305026773766312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835872606,"filename":"image_10122025_17_39_34_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9fcafbe345a2858e0ecb7823610f0d6.jpg","text":"TemporaryFile(/tmp/multipartBody4362219330448479666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835872606,"filename":"image_10122025_17_39_54_9553.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b45d551f3362019dd4a44102e695be9.jpg","text":"TemporaryFile(/tmp/multipartBody173163474943388106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835872606,"filename":"image_10122025_17_40_24_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/668674fbfeaaa633e6071ed5f36e037e.jpg","text":"TemporaryFile(/tmp/multipartBody2113732486100222090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835872606,"filename":"image_10122025_17_39_45_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7de25691a676496b416571154d311019.jpg","text":"TemporaryFile(/tmp/multipartBody4103117443711677929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835872606,"filename":"image_10122025_17_40_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdd14b5bd8f351ec6981f746cce35064.jpg","text":"TemporaryFile(/tmp/multipartBody1042457442588224768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835872606,"filename":"image_10122025_17_40_15_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267149","file1":"1401267148","file0":"1401267146","file4":"1401267155","file5":"1401267156","file3":"1401267152"},"map_files_photo_id_array":[{"photo_id":"1401267156","filename":"file5"},{"photo_id":"1401267149","filename":"file2"},{"photo_id":"1401267155","filename":"file4"},{"photo_id":"1401267148","filename":"file1"},{"photo_id":"1401267146","filename":"file0"},{"photo_id":"1401267152","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267156":["hashtag1","hashtag2"]},{"1401267152":["hashtag1","hashtag2"]},{"1401267146":["hashtag1","hashtag2"]},{"1401267155":["hashtag1","hashtag2"]},{"1401267149":["hashtag1","hashtag2"]},{"1401267148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267156, 1401267152, 1401267146, 1401267155, 1401267149, 1401267148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.299560546875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:44:16.916662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_25_10567.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_14_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_39_05_9557.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_55_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_44_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_35_10564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_25_10567.jpg', '/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_14_9578.jpg', '/home/nano/Desktop/images/10122025/17/38/image_10122025_17_39_05_9557.jpg', '/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_55_10583.jpg', '/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_44_9561.jpg', '/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_35_10564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_25_10567.jpg
/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_14_9578.jpg
/home/nano/Desktop/images/10122025/17/38/image_10122025_17_39_05_9557.jpg
/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_55_10583.jpg
/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_44_9561.jpg
/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_35_10564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267162","1401267170","1401267164","1401267167","1401267172","1401267174"],"photo_ids_order":["1401267162","1401267164","1401267167","1401267170","1401267172","1401267174"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8fdae5e501ee7d722a17449a4a899efe.jpg","text":"TemporaryFile(/tmp/multipartBody5474429909027230071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835917675,"filename":"image_10122025_17_39_25_10567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf3aac0c899fce2944a5826f4e067c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3539363937718138760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835917675,"filename":"image_10122025_17_38_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c19520d54cb8e63b77b3aa17390af602.jpg","text":"TemporaryFile(/tmp/multipartBody7443774490512931108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835917675,"filename":"image_10122025_17_39_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ae1b9b55d56b93a21244b166b533c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3465721475078944518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835917675,"filename":"image_10122025_17_39_05_9557.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b1c4f0dc487b1374db3d026f31aa62f.jpg","text":"TemporaryFile(/tmp/multipartBody7854935733151701303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835917675,"filename":"image_10122025_17_38_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cd8ed8f3c4a50731291bc69be715939.jpg","text":"TemporaryFile(/tmp/multipartBody812168820411558424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835917675,"filename":"image_10122025_17_38_35_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267167","file1":"1401267164","file0":"1401267162","file4":"1401267172","file5":"1401267174","file3":"1401267170"},"map_files_photo_id_array":[{"photo_id":"1401267174","filename":"file5"},{"photo_id":"1401267167","filename":"file2"},{"photo_id":"1401267172","filename":"file4"},{"photo_id":"1401267164","filename":"file1"},{"photo_id":"1401267162","filename":"file0"},{"photo_id":"1401267170","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267162":["hashtag1","hashtag2"]},{"1401267170":["hashtag1","hashtag2"]},{"1401267164":["hashtag1","hashtag2"]},{"1401267167":["hashtag1","hashtag2"]},{"1401267172":["hashtag1","hashtag2"]},{"1401267174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267162, 1401267170, 1401267164, 1401267167, 1401267172, 1401267174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34419918060303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:45:02.603898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_24_9556.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_15_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_38_04_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_55_9557.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_45_10578.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_34_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_24_9556.jpg', '/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_15_10583.jpg', '/home/nano/Desktop/images/10122025/17/37/image_10122025_17_38_04_9575.jpg', '/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_55_9557.jpg', '/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_45_10578.jpg', '/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_34_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_24_9556.jpg
/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_15_10583.jpg
/home/nano/Desktop/images/10122025/17/37/image_10122025_17_38_04_9575.jpg
/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_55_9557.jpg
/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_45_10578.jpg
/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_34_9566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267182","1401267184","1401267178","1401267186","1401267189","1401267180"],"photo_ids_order":["1401267178","1401267180","1401267182","1401267184","1401267186","1401267189"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/347e782771c953ce331de173b728e12b.jpg","text":"TemporaryFile(/tmp/multipartBody5993414423104374065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835963406,"filename":"image_10122025_17_38_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fa94ddc8afb4b1b400f3308a4292d6de.jpg","text":"TemporaryFile(/tmp/multipartBody3746733514429134855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835963406,"filename":"image_10122025_17_37_55_9557.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ceb10ae52e8d0ce5d17904d52eaf6a1.jpg","text":"TemporaryFile(/tmp/multipartBody9203328386768003742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835963406,"filename":"image_10122025_17_38_24_9556.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ab4c5ffebb144040759c37954829e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8046089962769997266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835963406,"filename":"image_10122025_17_37_45_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47bd1206235c87f6ab290c02f3d063de.jpg","text":"TemporaryFile(/tmp/multipartBody3480655123672698656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835963406,"filename":"image_10122025_17_37_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a40d553e4ad2fb67c64d9eb3916f8eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8005019513660396468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766835963406,"filename":"image_10122025_17_38_15_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267182","file1":"1401267180","file0":"1401267178","file4":"1401267186","file5":"1401267189","file3":"1401267184"},"map_files_photo_id_array":[{"photo_id":"1401267189","filename":"file5"},{"photo_id":"1401267182","filename":"file2"},{"photo_id":"1401267186","filename":"file4"},{"photo_id":"1401267180","filename":"file1"},{"photo_id":"1401267178","filename":"file0"},{"photo_id":"1401267184","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267182":["hashtag1","hashtag2"]},{"1401267184":["hashtag1","hashtag2"]},{"1401267178":["hashtag1","hashtag2"]},{"1401267186":["hashtag1","hashtag2"]},{"1401267189":["hashtag1","hashtag2"]},{"1401267180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267182, 1401267184, 1401267178, 1401267186, 1401267189, 1401267180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36500692367554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:45:47.014595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_25_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_14_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_37_05_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_55_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_35_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_25_10580.jpg', '/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_14_9606.jpg', '/home/nano/Desktop/images/10122025/17/36/image_10122025_17_37_05_9598.jpg', '/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_55_10595.jpg', '/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_44_9603.jpg', '/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_35_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_25_10580.jpg
/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_14_9606.jpg
/home/nano/Desktop/images/10122025/17/36/image_10122025_17_37_05_9598.jpg
/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_55_10595.jpg
/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_44_9603.jpg
/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_35_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267204","1401267201","1401267200","1401267199","1401267198","1401267202"],"photo_ids_order":["1401267198","1401267199","1401267200","1401267201","1401267202","1401267204"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4852795a27e61e9650f508ea73c1e2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6621210132136287806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836007788,"filename":"image_10122025_17_36_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2aef8ff471e385c74fc5545ed9f7da0.jpg","text":"TemporaryFile(/tmp/multipartBody9074970515587990052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836007788,"filename":"image_10122025_17_36_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/404af578097eb5a212de1eb3bdfc6f1f.jpg","text":"TemporaryFile(/tmp/multipartBody5328336238690284956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836007788,"filename":"image_10122025_17_37_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59e317d7c031b6e676659934389ed001.jpg","text":"TemporaryFile(/tmp/multipartBody3343536104843769066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836007788,"filename":"image_10122025_17_37_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d38f444d45fb01c4816d93b4c46689ce.jpg","text":"TemporaryFile(/tmp/multipartBody1895021621477588269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836007788,"filename":"image_10122025_17_37_25_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6962a980fb88e2914513b4778564fa75.jpg","text":"TemporaryFile(/tmp/multipartBody7280315769624425431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836007788,"filename":"image_10122025_17_36_44_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267200","file1":"1401267199","file0":"1401267198","file4":"1401267202","file5":"1401267204","file3":"1401267201"},"map_files_photo_id_array":[{"photo_id":"1401267204","filename":"file5"},{"photo_id":"1401267200","filename":"file2"},{"photo_id":"1401267202","filename":"file4"},{"photo_id":"1401267199","filename":"file1"},{"photo_id":"1401267198","filename":"file0"},{"photo_id":"1401267201","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267204":["hashtag1","hashtag2"]},{"1401267201":["hashtag1","hashtag2"]},{"1401267200":["hashtag1","hashtag2"]},{"1401267199":["hashtag1","hashtag2"]},{"1401267198":["hashtag1","hashtag2"]},{"1401267202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267204, 1401267201, 1401267200, 1401267199, 1401267198, 1401267202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.641446113586426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:46:32.122244
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/12/46/image_27122025_12_46_15_10532.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/12/46/image_27122025_12_46_15_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/12/46/image_27122025_12_46_15_10532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267213"],"photo_id":"1401267213","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f468ab1fe31b1d682c827baaec397fae.jpg","text":"TemporaryFile(/tmp/multipartBody1978279696404113752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836052364,"filename":"image_27122025_12_46_15_10532.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401267213"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401267213"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.656627178192139 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:46:47.123040
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_24_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_15_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_36_04_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_45_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_34_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_24_9586.jpg', '/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_15_10597.jpg', '/home/nano/Desktop/images/10122025/17/35/image_10122025_17_36_04_9576.jpg', '/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_55_9611.jpg', '/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_45_10696.jpg', '/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_34_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_24_9586.jpg
/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_15_10597.jpg
/home/nano/Desktop/images/10122025/17/35/image_10122025_17_36_04_9576.jpg
/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_55_9611.jpg
/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_45_10696.jpg
/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_34_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":["1401267222","1401267219","1401267221","1401267224","1401267218","1401267220"],"photo_ids_order":["1401267218","1401267219","1401267220","1401267221","1401267222","1401267224"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4750ba2b9a76646af37b6c8b7545a49.jpg","text":"TemporaryFile(/tmp/multipartBody3297574414771595990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836067924,"filename":"image_10122025_17_35_45_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9d3fa643342bb4c18f02849ee955dd5.jpg","text":"TemporaryFile(/tmp/multipartBody3135716714674390899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836067924,"filename":"image_10122025_17_36_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25b1510a5187a32651cece36f569a3e1.jpg","text":"TemporaryFile(/tmp/multipartBody3755486920803190892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836067924,"filename":"image_10122025_17_35_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ad082e5e7329c1e2f0e768bed81e2d4.jpg","text":"TemporaryFile(/tmp/multipartBody2689522356282315598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836067924,"filename":"image_10122025_17_35_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a167ff6d80ef210343d7f66629d26c1f.jpg","text":"TemporaryFile(/tmp/multipartBody8346722713162154371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836067924,"filename":"image_10122025_17_36_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ec19b74df20e8f079760774006da98f.jpg","text":"TemporaryFile(/tmp/multipartBody1160188609347850200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836067924,"filename":"image_10122025_17_36_04_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267220","file1":"1401267219","file0":"1401267218","file4":"1401267222","file5":"1401267224","file3":"1401267221"},"map_files_photo_id_array":[{"photo_id":"1401267224","filename":"file5"},{"photo_id":"1401267220","filename":"file2"},{"photo_id":"1401267222","filename":"file4"},{"photo_id":"1401267219","filename":"file1"},{"photo_id":"1401267218","filename":"file0"},{"photo_id":"1401267221","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267222":["hashtag1","hashtag2"]},{"1401267219":["hashtag1","hashtag2"]},{"1401267221":["hashtag1","hashtag2"]},{"1401267224":["hashtag1","hashtag2"]},{"1401267218":["hashtag1","hashtag2"]},{"1401267220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267222, 1401267219, 1401267221, 1401267224, 1401267218, 1401267220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.631606578826904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:47:32.213524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_25_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_35_04_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_54_9702.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_45_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_35_10731.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_25_9668.jpg', '/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_15_10733.jpg', '/home/nano/Desktop/images/10122025/17/34/image_10122025_17_35_04_9692.jpg', '/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_54_9702.jpg', '/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_45_9668.jpg', '/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_35_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_25_9668.jpg
/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_15_10733.jpg
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_35_04_9692.jpg
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_54_9702.jpg
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_45_9668.jpg
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_35_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":["1401267234","1401267239","1401267233","1401267242","1401267236","1401267241"],"photo_ids_order":["1401267233","1401267234","1401267236","1401267239","1401267241","1401267242"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73e203065ab879752bd4d3497290ad4f.jpg","text":"TemporaryFile(/tmp/multipartBody4486038015490629597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836113025,"filename":"image_10122025_17_35_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88c8586e19afe62e65291678fb09de8e.jpg","text":"TemporaryFile(/tmp/multipartBody2121038953077879718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836113025,"filename":"image_10122025_17_34_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a73052bd664e6b21dc3d791341a0ca8c.jpg","text":"TemporaryFile(/tmp/multipartBody5192394240667001811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836113025,"filename":"image_10122025_17_35_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51de2b6c5ae6a9fbfe57ce2e77acb346.jpg","text":"TemporaryFile(/tmp/multipartBody3947230652701641909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836113025,"filename":"image_10122025_17_34_35_10731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/020ca0fabdffb3aa45e6bd80ca452c96.jpg","text":"TemporaryFile(/tmp/multipartBody8529608243500254206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836113025,"filename":"image_10122025_17_35_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92ced3aeb554fbfae3681b6b3f541725.jpg","text":"TemporaryFile(/tmp/multipartBody8514750371014789464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836113025,"filename":"image_10122025_17_34_45_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267236","file1":"1401267234","file0":"1401267233","file4":"1401267241","file5":"1401267242","file3":"1401267239"},"map_files_photo_id_array":[{"photo_id":"1401267242","filename":"file5"},{"photo_id":"1401267236","filename":"file2"},{"photo_id":"1401267241","filename":"file4"},{"photo_id":"1401267234","filename":"file1"},{"photo_id":"1401267233","filename":"file0"},{"photo_id":"1401267239","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267234":["hashtag1","hashtag2"]},{"1401267239":["hashtag1","hashtag2"]},{"1401267233":["hashtag1","hashtag2"]},{"1401267242":["hashtag1","hashtag2"]},{"1401267236":["hashtag1","hashtag2"]},{"1401267241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267234, 1401267239, 1401267233, 1401267242, 1401267236, 1401267241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53473448753357 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:48:17.306562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg', '/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_9690.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.712587833404541 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:48:32.328629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg', '/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg
/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_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":["1401267263","1401267266","1401267260","1401267256","1401267265","1401267259"],"photo_ids_order":["1401267256","1401267259","1401267260","1401267263","1401267265","1401267266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/272b75a22e7d0cc46428c658dc5f919d.jpg","text":"TemporaryFile(/tmp/multipartBody2204279611228284659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836173171,"filename":"image_10122025_17_33_54_9799.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d90114e15e1706295704be6097cd4524.jpg","text":"TemporaryFile(/tmp/multipartBody1297326392171570550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836173171,"filename":"image_10122025_17_33_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28899d00eaf2d73b3c654fa6ac5f590e.jpg","text":"TemporaryFile(/tmp/multipartBody1826783109350324807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836173171,"filename":"image_10122025_17_34_05_10758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2b76415a372d332c4fe62cb5ee931c8.jpg","text":"TemporaryFile(/tmp/multipartBody7122537935467366933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836173171,"filename":"image_10122025_17_34_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/12/27/3de71264eead0c50d59b5d2da7309385.jpg","text":"TemporaryFile(/tmp/multipartBody5710857486568221984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836173171,"filename":"image_10122025_17_33_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5bd878d529a3df3cd05b94e554ce48f8.jpg","text":"TemporaryFile(/tmp/multipartBody7824072388934175943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836173171,"filename":"image_10122025_17_34_15_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267260","file1":"1401267259","file0":"1401267256","file4":"1401267265","file5":"1401267266","file3":"1401267263"},"map_files_photo_id_array":[{"photo_id":"1401267266","filename":"file5"},{"photo_id":"1401267260","filename":"file2"},{"photo_id":"1401267265","filename":"file4"},{"photo_id":"1401267259","filename":"file1"},{"photo_id":"1401267256","filename":"file0"},{"photo_id":"1401267263","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267263":["hashtag1","hashtag2"]},{"1401267266":["hashtag1","hashtag2"]},{"1401267260":["hashtag1","hashtag2"]},{"1401267256":["hashtag1","hashtag2"]},{"1401267265":["hashtag1","hashtag2"]},{"1401267259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267263, 1401267266, 1401267260, 1401267256, 1401267265, 1401267259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.949479818344116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:49:17.482145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_25_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_14_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_33_04_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_55_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_45_10701.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_34_9730.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_25_10692.jpg', '/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_14_9747.jpg', '/home/nano/Desktop/images/10122025/17/32/image_10122025_17_33_04_9683.jpg', '/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_55_9703.jpg', '/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_45_10701.jpg', '/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_25_10692.jpg
/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_14_9747.jpg
/home/nano/Desktop/images/10122025/17/32/image_10122025_17_33_04_9683.jpg
/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_55_9703.jpg
/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_45_10701.jpg
/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_34_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":["1401267272","1401267280","1401267274","1401267277","1401267279","1401267270"],"photo_ids_order":["1401267270","1401267272","1401267274","1401267277","1401267279","1401267280"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5e205df4d125f10ba369e0edcb5de64.jpg","text":"TemporaryFile(/tmp/multipartBody1186480189284972739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836218331,"filename":"image_10122025_17_33_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/12/27/852bc0a95503bd95a0297d510492ff40.jpg","text":"TemporaryFile(/tmp/multipartBody8117877186644495445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836218331,"filename":"image_10122025_17_32_34_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7b798becd5b22c0ac437a6b0df93203.jpg","text":"TemporaryFile(/tmp/multipartBody6190325836975912792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836218331,"filename":"image_10122025_17_33_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea341233356219b336d7ddba0dc02d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8853633440383127614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836218331,"filename":"image_10122025_17_32_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/325d2dd6080add80d845e0553bd854d2.jpg","text":"TemporaryFile(/tmp/multipartBody5471790914530520531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836218331,"filename":"image_10122025_17_32_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bde990eb4bc45c36ab8d0b579d3d1f0a.jpg","text":"TemporaryFile(/tmp/multipartBody6223925578386061189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836218331,"filename":"image_10122025_17_33_25_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267274","file1":"1401267272","file0":"1401267270","file4":"1401267279","file5":"1401267280","file3":"1401267277"},"map_files_photo_id_array":[{"photo_id":"1401267280","filename":"file5"},{"photo_id":"1401267274","filename":"file2"},{"photo_id":"1401267279","filename":"file4"},{"photo_id":"1401267272","filename":"file1"},{"photo_id":"1401267270","filename":"file0"},{"photo_id":"1401267277","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267272":["hashtag1","hashtag2"]},{"1401267280":["hashtag1","hashtag2"]},{"1401267274":["hashtag1","hashtag2"]},{"1401267277":["hashtag1","hashtag2"]},{"1401267279":["hashtag1","hashtag2"]},{"1401267270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267272, 1401267280, 1401267274, 1401267277, 1401267279, 1401267270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64214515686035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:50:02.995911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_25_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_15_10735.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_32_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_54_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_45_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_35_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_25_9708.jpg', '/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_15_10735.jpg', '/home/nano/Desktop/images/10122025/17/31/image_10122025_17_32_04_9714.jpg', '/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_54_9772.jpg', '/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_45_9724.jpg', '/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_35_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_25_9708.jpg
/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_15_10735.jpg
/home/nano/Desktop/images/10122025/17/31/image_10122025_17_32_04_9714.jpg
/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_54_9772.jpg
/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_45_9724.jpg
/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_35_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":["1401267290","1401267287","1401267292","1401267297","1401267294","1401267288"],"photo_ids_order":["1401267287","1401267288","1401267290","1401267292","1401267294","1401267297"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1560a8abb5b92b007f42b511d6ab10b5.jpg","text":"TemporaryFile(/tmp/multipartBody4305443474663470332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836263824,"filename":"image_10122025_17_32_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15d98f5dbb47fa1b3d7df69c8337b188.jpg","text":"TemporaryFile(/tmp/multipartBody3450907411485865222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836263824,"filename":"image_10122025_17_32_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98a64df8732ea046214eeec7c832bab2.jpg","text":"TemporaryFile(/tmp/multipartBody8317881147905834649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836263824,"filename":"image_10122025_17_31_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4e2747d0b5840b7eefaa667a16b756e.jpg","text":"TemporaryFile(/tmp/multipartBody5885729707430665267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836263824,"filename":"image_10122025_17_31_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbe88709526d941a175b9df555f942d7.jpg","text":"TemporaryFile(/tmp/multipartBody1796025199133531912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836263824,"filename":"image_10122025_17_31_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62d3eef176b7e8dd5280e188563ba875.jpg","text":"TemporaryFile(/tmp/multipartBody166307178158341399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836263824,"filename":"image_10122025_17_32_15_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267290","file1":"1401267288","file0":"1401267287","file4":"1401267294","file5":"1401267297","file3":"1401267292"},"map_files_photo_id_array":[{"photo_id":"1401267297","filename":"file5"},{"photo_id":"1401267290","filename":"file2"},{"photo_id":"1401267294","filename":"file4"},{"photo_id":"1401267288","filename":"file1"},{"photo_id":"1401267287","filename":"file0"},{"photo_id":"1401267292","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267290":["hashtag1","hashtag2"]},{"1401267287":["hashtag1","hashtag2"]},{"1401267292":["hashtag1","hashtag2"]},{"1401267297":["hashtag1","hashtag2"]},{"1401267294":["hashtag1","hashtag2"]},{"1401267288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267290, 1401267287, 1401267292, 1401267297, 1401267294, 1401267288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.737356424331665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:50:47.557516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_24_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_15_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_31_05_10718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_54_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_45_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_35_10711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_24_9690.jpg', '/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_15_9710.jpg', '/home/nano/Desktop/images/10122025/17/30/image_10122025_17_31_05_10718.jpg', '/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_54_9703.jpg', '/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_45_9670.jpg', '/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_35_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_24_9690.jpg
/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_15_9710.jpg
/home/nano/Desktop/images/10122025/17/30/image_10122025_17_31_05_10718.jpg
/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_54_9703.jpg
/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_45_9670.jpg
/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_35_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267312","1401267306","1401267305","1401267310","1401267304","1401267307"],"photo_ids_order":["1401267304","1401267305","1401267306","1401267307","1401267310","1401267312"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/beea4389d224f5132eb135d8c5d83512.jpg","text":"TemporaryFile(/tmp/multipartBody4336066926090143501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836308374,"filename":"image_10122025_17_30_35_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c395c00e84670f7214dad84d460664b.jpg","text":"TemporaryFile(/tmp/multipartBody7635357605968557342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836308374,"filename":"image_10122025_17_31_05_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae5375831153fd3f99e340344c8dd999.jpg","text":"TemporaryFile(/tmp/multipartBody851346726622502631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836308374,"filename":"image_10122025_17_31_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a01b8419211681863462e0ce002da0c1.jpg","text":"TemporaryFile(/tmp/multipartBody4274760261769599695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836308374,"filename":"image_10122025_17_30_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aaca4f4228a61d2179b72f92ffc7ba3e.jpg","text":"TemporaryFile(/tmp/multipartBody2474456820757624709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836308374,"filename":"image_10122025_17_31_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/12/27/47b8fbbf228ffe036f4f9bdd7d843c92.jpg","text":"TemporaryFile(/tmp/multipartBody5547900181956580700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836308374,"filename":"image_10122025_17_30_54_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267306","file1":"1401267305","file0":"1401267304","file4":"1401267310","file5":"1401267312","file3":"1401267307"},"map_files_photo_id_array":[{"photo_id":"1401267312","filename":"file5"},{"photo_id":"1401267306","filename":"file2"},{"photo_id":"1401267310","filename":"file4"},{"photo_id":"1401267305","filename":"file1"},{"photo_id":"1401267304","filename":"file0"},{"photo_id":"1401267307","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267312":["hashtag1","hashtag2"]},{"1401267306":["hashtag1","hashtag2"]},{"1401267305":["hashtag1","hashtag2"]},{"1401267310":["hashtag1","hashtag2"]},{"1401267304":["hashtag1","hashtag2"]},{"1401267307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267312, 1401267306, 1401267305, 1401267310, 1401267304, 1401267307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3736891746521 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:51:32.658330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_24_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_14_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_30_05_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_55_10705.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_44_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_35_9697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_24_9670.jpg', '/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_14_9718.jpg', '/home/nano/Desktop/images/10122025/17/29/image_10122025_17_30_05_9723.jpg', '/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_55_10705.jpg', '/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_44_9679.jpg', '/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_35_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_24_9670.jpg
/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_14_9718.jpg
/home/nano/Desktop/images/10122025/17/29/image_10122025_17_30_05_9723.jpg
/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_55_10705.jpg
/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_44_9679.jpg
/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_35_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":["1401267330","1401267326","1401267329","1401267320","1401267323","1401267322"],"photo_ids_order":["1401267320","1401267322","1401267323","1401267326","1401267329","1401267330"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32500583d12f75b96361170ff97875bb.jpg","text":"TemporaryFile(/tmp/multipartBody2265940397668471973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836353472,"filename":"image_10122025_17_29_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/838692cfec0f15febf5a825f2a31d9f9.jpg","text":"TemporaryFile(/tmp/multipartBody821838708314188897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836353472,"filename":"image_10122025_17_29_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/509426d6dd2e31ef24bd8b9e40556d4e.jpg","text":"TemporaryFile(/tmp/multipartBody5988753792639650056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836353472,"filename":"image_10122025_17_29_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83b66ef2867e86202efe1f9f67abb25d.jpg","text":"TemporaryFile(/tmp/multipartBody9201877996476872271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836353472,"filename":"image_10122025_17_30_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/12/27/5126cf5fe4ba8bb2cb72432f3a0995e0.jpg","text":"TemporaryFile(/tmp/multipartBody1837350811825824146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836353472,"filename":"image_10122025_17_30_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/866e2c35e7e800e0dc0a7ac21c045a23.jpg","text":"TemporaryFile(/tmp/multipartBody5693119913134429046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836353472,"filename":"image_10122025_17_30_14_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267323","file1":"1401267322","file0":"1401267320","file4":"1401267329","file5":"1401267330","file3":"1401267326"},"map_files_photo_id_array":[{"photo_id":"1401267330","filename":"file5"},{"photo_id":"1401267323","filename":"file2"},{"photo_id":"1401267329","filename":"file4"},{"photo_id":"1401267322","filename":"file1"},{"photo_id":"1401267320","filename":"file0"},{"photo_id":"1401267326","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267330":["hashtag1","hashtag2"]},{"1401267326":["hashtag1","hashtag2"]},{"1401267329":["hashtag1","hashtag2"]},{"1401267320":["hashtag1","hashtag2"]},{"1401267323":["hashtag1","hashtag2"]},{"1401267322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267330, 1401267326, 1401267329, 1401267320, 1401267323, 1401267322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52864694595337 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:52:16.815114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_14_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_29_05_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_55_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_44_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_34_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_25_10707.jpg', '/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_14_9726.jpg', '/home/nano/Desktop/images/10122025/17/28/image_10122025_17_29_05_9691.jpg', '/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_55_10695.jpg', '/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_44_9725.jpg', '/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_34_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_25_10707.jpg
/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_14_9726.jpg
/home/nano/Desktop/images/10122025/17/28/image_10122025_17_29_05_9691.jpg
/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_55_10695.jpg
/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_44_9725.jpg
/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_34_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":["1401267335","1401267349","1401267340","1401267343","1401267337","1401267346"],"photo_ids_order":["1401267335","1401267337","1401267340","1401267343","1401267346","1401267349"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/375ffda72494968514d27f226b2a9df6.jpg","text":"TemporaryFile(/tmp/multipartBody930637103569053823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836397641,"filename":"image_10122025_17_29_25_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d96fa17904f271445ea6cc25ae4a66eb.jpg","text":"TemporaryFile(/tmp/multipartBody7348975909405526259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836397641,"filename":"image_10122025_17_28_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1a48d394efb6032cf911ba94bf15d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2539948405146611633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836397641,"filename":"image_10122025_17_29_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/232d3d130a020d93d11edf72d8a252e9.jpg","text":"TemporaryFile(/tmp/multipartBody5752438316257502843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836397641,"filename":"image_10122025_17_28_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf235c7bb0e1c658cde5f4fc5b1af1bb.jpg","text":"TemporaryFile(/tmp/multipartBody402605293281762379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836397641,"filename":"image_10122025_17_29_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39c1c363ac91b5106dbae350d64cbead.jpg","text":"TemporaryFile(/tmp/multipartBody681219002334104799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836397641,"filename":"image_10122025_17_28_44_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267340","file1":"1401267337","file0":"1401267335","file4":"1401267346","file5":"1401267349","file3":"1401267343"},"map_files_photo_id_array":[{"photo_id":"1401267349","filename":"file5"},{"photo_id":"1401267340","filename":"file2"},{"photo_id":"1401267346","filename":"file4"},{"photo_id":"1401267337","filename":"file1"},{"photo_id":"1401267335","filename":"file0"},{"photo_id":"1401267343","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267335":["hashtag1","hashtag2"]},{"1401267349":["hashtag1","hashtag2"]},{"1401267340":["hashtag1","hashtag2"]},{"1401267343":["hashtag1","hashtag2"]},{"1401267337":["hashtag1","hashtag2"]},{"1401267346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267335, 1401267349, 1401267340, 1401267343, 1401267337, 1401267346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.501445293426514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:53:02.488241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_25_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_15_10718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_28_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_55_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_34_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_25_9707.jpg', '/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_15_10718.jpg', '/home/nano/Desktop/images/10122025/17/27/image_10122025_17_28_04_9709.jpg', '/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_55_9623.jpg', '/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_45_10607.jpg', '/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_34_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_25_9707.jpg
/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_15_10718.jpg
/home/nano/Desktop/images/10122025/17/27/image_10122025_17_28_04_9709.jpg
/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_55_9623.jpg
/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_45_10607.jpg
/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_34_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":["1401267360","1401267354","1401267362","1401267356","1401267365","1401267358"],"photo_ids_order":["1401267354","1401267356","1401267358","1401267360","1401267362","1401267365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85bef5946ba600a7558b0159ddc6e575.jpg","text":"TemporaryFile(/tmp/multipartBody5998617354191457738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836443328,"filename":"image_10122025_17_27_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0aa5003ee0738aa735a6fbdb9a8ce41e.jpg","text":"TemporaryFile(/tmp/multipartBody742511476896198990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836443328,"filename":"image_10122025_17_28_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/788613da0181d746228116331dc6478c.jpg","text":"TemporaryFile(/tmp/multipartBody6941504489173923433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836443328,"filename":"image_10122025_17_27_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e74036c94a6ccc72d30d3476d90f34b0.jpg","text":"TemporaryFile(/tmp/multipartBody3509245809502782842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836443328,"filename":"image_10122025_17_28_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc9d08bd3e9d265049a06b57b7be7148.jpg","text":"TemporaryFile(/tmp/multipartBody1512788401506361340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836443328,"filename":"image_10122025_17_27_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/12/27/ab126b74a8e8c30374f70ad428d45fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3211226331119367276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836443328,"filename":"image_10122025_17_28_04_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267358","file1":"1401267356","file0":"1401267354","file4":"1401267362","file5":"1401267365","file3":"1401267360"},"map_files_photo_id_array":[{"photo_id":"1401267365","filename":"file5"},{"photo_id":"1401267358","filename":"file2"},{"photo_id":"1401267362","filename":"file4"},{"photo_id":"1401267356","filename":"file1"},{"photo_id":"1401267354","filename":"file0"},{"photo_id":"1401267360","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267360":["hashtag1","hashtag2"]},{"1401267354":["hashtag1","hashtag2"]},{"1401267362":["hashtag1","hashtag2"]},{"1401267356":["hashtag1","hashtag2"]},{"1401267365":["hashtag1","hashtag2"]},{"1401267358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267360, 1401267354, 1401267362, 1401267356, 1401267365, 1401267358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.615063190460205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:53:46.947362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_27_05_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_35_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_25_10607.jpg', '/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_14_9614.jpg', '/home/nano/Desktop/images/10122025/17/26/image_10122025_17_27_05_9611.jpg', '/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_55_10606.jpg', '/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_44_9601.jpg', '/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_35_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_25_10607.jpg
/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_14_9614.jpg
/home/nano/Desktop/images/10122025/17/26/image_10122025_17_27_05_9611.jpg
/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_55_10606.jpg
/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_44_9601.jpg
/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_35_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":["1401267375","1401267380","1401267374","1401267377","1401267376","1401267378"],"photo_ids_order":["1401267374","1401267375","1401267376","1401267377","1401267378","1401267380"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/032327b628af8a71dd4aa261931d8468.jpg","text":"TemporaryFile(/tmp/multipartBody6128704948521251159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836487728,"filename":"image_10122025_17_27_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/12/27/1f5f50f8d290909d50b707269f59032c.jpg","text":"TemporaryFile(/tmp/multipartBody5012412196361539577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836487728,"filename":"image_10122025_17_26_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1390abfdd6b35a4b98d043043a774aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6624408506888045895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836487728,"filename":"image_10122025_17_27_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/daf8aa398a5e13f5095bf3e4e819b79f.jpg","text":"TemporaryFile(/tmp/multipartBody4095192261652345757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836487728,"filename":"image_10122025_17_26_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b010bbe8bfaa94c636aecb99de2b2f68.jpg","text":"TemporaryFile(/tmp/multipartBody1489354641418422671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836487728,"filename":"image_10122025_17_27_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/623f84ad545ea179c78332091560ddff.jpg","text":"TemporaryFile(/tmp/multipartBody567907235196183594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836487728,"filename":"image_10122025_17_26_44_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267376","file1":"1401267375","file0":"1401267374","file4":"1401267378","file5":"1401267380","file3":"1401267377"},"map_files_photo_id_array":[{"photo_id":"1401267380","filename":"file5"},{"photo_id":"1401267376","filename":"file2"},{"photo_id":"1401267378","filename":"file4"},{"photo_id":"1401267375","filename":"file1"},{"photo_id":"1401267374","filename":"file0"},{"photo_id":"1401267377","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267375":["hashtag1","hashtag2"]},{"1401267380":["hashtag1","hashtag2"]},{"1401267374":["hashtag1","hashtag2"]},{"1401267377":["hashtag1","hashtag2"]},{"1401267376":["hashtag1","hashtag2"]},{"1401267378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267375, 1401267380, 1401267374, 1401267377, 1401267376, 1401267378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69407320022583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:54:32.070844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_26_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_54_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_45_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_35_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_25_10624.jpg', '/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_14_9627.jpg', '/home/nano/Desktop/images/10122025/17/25/image_10122025_17_26_05_10619.jpg', '/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_54_9592.jpg', '/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_45_9602.jpg', '/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_35_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_25_10624.jpg
/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_14_9627.jpg
/home/nano/Desktop/images/10122025/17/25/image_10122025_17_26_05_10619.jpg
/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_54_9592.jpg
/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_45_9602.jpg
/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_35_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":["1401267392","1401267395","1401267398","1401267397","1401267388","1401267390"],"photo_ids_order":["1401267388","1401267390","1401267392","1401267395","1401267397","1401267398"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/562094773a8807a91cb53d0edf4eed42.jpg","text":"TemporaryFile(/tmp/multipartBody7340450149399718309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836532854,"filename":"image_10122025_17_26_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e80d6a7dc02dbacb9dd467ddc02b7099.jpg","text":"TemporaryFile(/tmp/multipartBody3693399533850576638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836532854,"filename":"image_10122025_17_25_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/12/27/469f8b2b70b0d315c1ccb47e36f23417.jpg","text":"TemporaryFile(/tmp/multipartBody688679935044292356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836532854,"filename":"image_10122025_17_25_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fcfdca5124bc0e0a75f0bd8bb84402d.jpg","text":"TemporaryFile(/tmp/multipartBody4404395101935813792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836532854,"filename":"image_10122025_17_25_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7966380254c90da9ab89a1482abe07dc.jpg","text":"TemporaryFile(/tmp/multipartBody9010687497691814597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836532854,"filename":"image_10122025_17_26_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1dd6befeee82dcb308f5067dc63090d2.jpg","text":"TemporaryFile(/tmp/multipartBody2031676660872094919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836532854,"filename":"image_10122025_17_26_14_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267392","file1":"1401267390","file0":"1401267388","file4":"1401267397","file5":"1401267398","file3":"1401267395"},"map_files_photo_id_array":[{"photo_id":"1401267398","filename":"file5"},{"photo_id":"1401267392","filename":"file2"},{"photo_id":"1401267397","filename":"file4"},{"photo_id":"1401267390","filename":"file1"},{"photo_id":"1401267388","filename":"file0"},{"photo_id":"1401267395","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267392":["hashtag1","hashtag2"]},{"1401267395":["hashtag1","hashtag2"]},{"1401267398":["hashtag1","hashtag2"]},{"1401267397":["hashtag1","hashtag2"]},{"1401267388":["hashtag1","hashtag2"]},{"1401267390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267392, 1401267395, 1401267398, 1401267397, 1401267388, 1401267390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33319854736328 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:55:17.144573
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/12/55/image_27122025_12_55_24_9509.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/12/55/image_27122025_12_55_24_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/12/55/image_27122025_12_55_24_9509.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267403"],"photo_id":"1401267403","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6891562ebb7b633063682e1307234075.jpg","text":"TemporaryFile(/tmp/multipartBody5097843424964413483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836577385,"filename":"image_27122025_12_55_24_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401267403"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401267403"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.60461974143982 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:55:32.219899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_25_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_55_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_34_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_24_9598.jpg', '/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_15_10617.jpg', '/home/nano/Desktop/images/10122025/17/24/image_10122025_17_25_04_9618.jpg', '/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_55_9589.jpg', '/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_45_10609.jpg', '/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_34_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_24_9598.jpg
/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_15_10617.jpg
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_25_04_9618.jpg
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_55_9589.jpg
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_45_10609.jpg
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_34_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401267419","1401267410","1401267415","1401267418","1401267412","1401267409"],"photo_ids_order":["1401267409","1401267410","1401267412","1401267415","1401267418","1401267419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac296ab58cbf2062ea55166f71a525a9.jpg","text":"TemporaryFile(/tmp/multipartBody7093498700569242791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836593004,"filename":"image_10122025_17_24_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/12/27/94d1bbf0f766425ff68d806a6950a7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3886670252050401830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836593004,"filename":"image_10122025_17_25_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d54bd7ec02d6364c6abda76e3fbf5c79.jpg","text":"TemporaryFile(/tmp/multipartBody1324344903992241934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836593004,"filename":"image_10122025_17_24_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b91519eb4e922ca9ed1a18e044da8e79.jpg","text":"TemporaryFile(/tmp/multipartBody9120040877964548523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836593004,"filename":"image_10122025_17_24_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57054fc9dbc7190470685da6b121935d.jpg","text":"TemporaryFile(/tmp/multipartBody5388395626561166446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836593004,"filename":"image_10122025_17_25_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/12/27/a9f7d23d922ea5aeb644ab19161efd1d.jpg","text":"TemporaryFile(/tmp/multipartBody4564985007704130686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836593004,"filename":"image_10122025_17_25_24_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267412","file1":"1401267410","file0":"1401267409","file4":"1401267418","file5":"1401267419","file3":"1401267415"},"map_files_photo_id_array":[{"photo_id":"1401267419","filename":"file5"},{"photo_id":"1401267412","filename":"file2"},{"photo_id":"1401267418","filename":"file4"},{"photo_id":"1401267410","filename":"file1"},{"photo_id":"1401267409","filename":"file0"},{"photo_id":"1401267415","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267419":["hashtag1","hashtag2"]},{"1401267410":["hashtag1","hashtag2"]},{"1401267415":["hashtag1","hashtag2"]},{"1401267418":["hashtag1","hashtag2"]},{"1401267412":["hashtag1","hashtag2"]},{"1401267409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267419, 1401267410, 1401267415, 1401267418, 1401267412, 1401267409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.839593172073364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:56:17.236260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_34_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg', '/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_34_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_34_9648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.672670841217041 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:56:32.257848
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_34_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg', '/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_34_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg
/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_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":["1401267441","1401267443","1401267437","1401267433","1401267436","1401267444"],"photo_ids_order":["1401267433","1401267436","1401267437","1401267441","1401267443","1401267444"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ee4a1358206ef022d7ef652581e1182.jpg","text":"TemporaryFile(/tmp/multipartBody4213865511897981635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836653038,"filename":"image_10122025_17_23_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3eb3c33d6fe18d1177d89887b7f811fa.jpg","text":"TemporaryFile(/tmp/multipartBody3762967958955609413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836653038,"filename":"image_10122025_17_23_44_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5adf546ead6d752e2dc8d6a270d91363.jpg","text":"TemporaryFile(/tmp/multipartBody6824061740408147478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836653038,"filename":"image_10122025_17_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/12/27/c4ed72c2abaa49aa04b5b2ad6b92b3cf.jpg","text":"TemporaryFile(/tmp/multipartBody1361344462897750352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836653038,"filename":"image_10122025_17_24_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68f23320a3ab37cd863ccdd1a896d06b.jpg","text":"TemporaryFile(/tmp/multipartBody1212815608922537380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836653038,"filename":"image_10122025_17_24_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/12/27/a07c20fc92826b50c93840edc3a1ab13.jpg","text":"TemporaryFile(/tmp/multipartBody4598229221782629068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836653038,"filename":"image_10122025_17_23_34_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267437","file1":"1401267436","file0":"1401267433","file4":"1401267443","file5":"1401267444","file3":"1401267441"},"map_files_photo_id_array":[{"photo_id":"1401267444","filename":"file5"},{"photo_id":"1401267437","filename":"file2"},{"photo_id":"1401267443","filename":"file4"},{"photo_id":"1401267436","filename":"file1"},{"photo_id":"1401267433","filename":"file0"},{"photo_id":"1401267441","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267441":["hashtag1","hashtag2"]},{"1401267443":["hashtag1","hashtag2"]},{"1401267437":["hashtag1","hashtag2"]},{"1401267433":["hashtag1","hashtag2"]},{"1401267436":["hashtag1","hashtag2"]},{"1401267444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267441, 1401267443, 1401267437, 1401267433, 1401267436, 1401267444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31853771209717 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:57:17.339001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_25_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_14_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_23_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_55_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_44_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_22_04_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_25_10654.jpg', '/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_14_9659.jpg', '/home/nano/Desktop/images/10122025/17/22/image_10122025_17_23_04_9638.jpg', '/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_55_10656.jpg', '/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_44_9765.jpg', '/home/nano/Desktop/images/10122025/17/21/image_10122025_17_22_04_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_25_10654.jpg
/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_14_9659.jpg
/home/nano/Desktop/images/10122025/17/22/image_10122025_17_23_04_9638.jpg
/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_55_10656.jpg
/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_44_9765.jpg
/home/nano/Desktop/images/10122025/17/21/image_10122025_17_22_04_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":["1401267453","1401267456","1401267458","1401267449","1401267451","1401267460"],"photo_ids_order":["1401267449","1401267451","1401267453","1401267456","1401267458","1401267460"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20e4c7d1b9c7864bc827959f4d466a78.jpg","text":"TemporaryFile(/tmp/multipartBody7500033065689590588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836698177,"filename":"image_10122025_17_23_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/12/27/3eafe7a1611cdbde3b5aba4543afcab6.jpg","text":"TemporaryFile(/tmp/multipartBody7333045253806023908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836698177,"filename":"image_10122025_17_22_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a321baf791ad37fc8efa024b0f67e01.jpg","text":"TemporaryFile(/tmp/multipartBody9132506767073295987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836698177,"filename":"image_10122025_17_22_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1dd8d4591aa5e7a1600ac1ab99d1062.jpg","text":"TemporaryFile(/tmp/multipartBody1609541724842664595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836698177,"filename":"image_10122025_17_23_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ac05d9fa7c2598d27261d0180654c02.jpg","text":"TemporaryFile(/tmp/multipartBody3726693457974136904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836698177,"filename":"image_10122025_17_23_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/12/27/c1a1652676c1d1d8a478c2865b58bec9.jpg","text":"TemporaryFile(/tmp/multipartBody6892371226985040699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836698177,"filename":"image_10122025_17_22_04_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401267453","file1":"1401267451","file0":"1401267449","file4":"1401267458","file5":"1401267460","file3":"1401267456"},"map_files_photo_id_array":[{"photo_id":"1401267460","filename":"file5"},{"photo_id":"1401267453","filename":"file2"},{"photo_id":"1401267458","filename":"file4"},{"photo_id":"1401267451","filename":"file1"},{"photo_id":"1401267449","filename":"file0"},{"photo_id":"1401267456","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401267453":["hashtag1","hashtag2"]},{"1401267456":["hashtag1","hashtag2"]},{"1401267458":["hashtag1","hashtag2"]},{"1401267449":["hashtag1","hashtag2"]},{"1401267451":["hashtag1","hashtag2"]},{"1401267460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401267453, 1401267456, 1401267458, 1401267449, 1401267451, 1401267460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.963712692260742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:59:03.348818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_54_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_45_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_34_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_21_04_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_20_15_10769.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_20_04_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_54_9655.jpg', '/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_45_10663.jpg', '/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_34_9674.jpg', '/home/nano/Desktop/images/10122025/17/20/image_10122025_17_21_04_9668.jpg', '/home/nano/Desktop/images/10122025/17/20/image_10122025_17_20_15_10769.jpg', '/home/nano/Desktop/images/10122025/17/19/image_10122025_17_20_04_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_54_9655.jpg
/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_45_10663.jpg
/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_34_9674.jpg
/home/nano/Desktop/images/10122025/17/20/image_10122025_17_21_04_9668.jpg
/home/nano/Desktop/images/10122025/17/20/image_10122025_17_20_15_10769.jpg
/home/nano/Desktop/images/10122025/17/19/image_10122025_17_20_04_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":["1401268011","1401268005","1401268064","1401268007","1401268021","1401268002"],"photo_ids_order":["1401268002","1401268005","1401268007","1401268011","1401268021","1401268064"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fc02c5887a4d11cd9f3f8ecb3952494.jpg","text":"TemporaryFile(/tmp/multipartBody3461614574388734275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836804233,"filename":"image_10122025_17_21_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/12/27/41cb52620f925d9f9cfb1f7296bbe029.jpg","text":"TemporaryFile(/tmp/multipartBody986183315268807790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836804233,"filename":"image_10122025_17_21_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d76a00d20a6a7bd09e998aa461821ee.jpg","text":"TemporaryFile(/tmp/multipartBody86089686444881729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836804233,"filename":"image_10122025_17_20_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/12/27/d3ce69d682a2ed11fae566aae57958c8.jpg","text":"TemporaryFile(/tmp/multipartBody4451856263547365846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836804233,"filename":"image_10122025_17_21_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fcf00d3f73366e6e137b159f9b382c7.jpg","text":"TemporaryFile(/tmp/multipartBody4406931082331101929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836804233,"filename":"image_10122025_17_20_15_10769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e203daef3d95b9be1753eaea1b154d86.jpg","text":"TemporaryFile(/tmp/multipartBody1260691372138119576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836804233,"filename":"image_10122025_17_21_54_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401268007","file1":"1401268005","file0":"1401268002","file4":"1401268021","file5":"1401268064","file3":"1401268011"},"map_files_photo_id_array":[{"photo_id":"1401268064","filename":"file5"},{"photo_id":"1401268007","filename":"file2"},{"photo_id":"1401268021","filename":"file4"},{"photo_id":"1401268005","filename":"file1"},{"photo_id":"1401268002","filename":"file0"},{"photo_id":"1401268011","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401268011":["hashtag1","hashtag2"]},{"1401268005":["hashtag1","hashtag2"]},{"1401268064":["hashtag1","hashtag2"]},{"1401268007":["hashtag1","hashtag2"]},{"1401268021":["hashtag1","hashtag2"]},{"1401268002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401268011, 1401268005, 1401268064, 1401268007, 1401268021, 1401268002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72826337814331 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 12:59:47.607599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_54_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_45_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_35_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_24_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_15_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_19_05_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_54_9658.jpg', '/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_45_9669.jpg', '/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_35_10658.jpg', '/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_24_9725.jpg', '/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_15_9727.jpg', '/home/nano/Desktop/images/10122025/17/18/image_10122025_17_19_05_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_54_9658.jpg
/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_45_9669.jpg
/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_35_10658.jpg
/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_24_9725.jpg
/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_15_9727.jpg
/home/nano/Desktop/images/10122025/17/18/image_10122025_17_19_05_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":["1401268499","1401268401","1401268340","1401268463","1401268603","1401268560"],"photo_ids_order":["1401268340","1401268401","1401268463","1401268499","1401268560","1401268603"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a3375e0dcb567f0bb542abab3eefb76.jpg","text":"TemporaryFile(/tmp/multipartBody5691532728967618372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836848419,"filename":"image_10122025_17_19_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4e3e22c130f3d578bd2c8ce221db73f.jpg","text":"TemporaryFile(/tmp/multipartBody4946633359665447696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836848419,"filename":"image_10122025_17_19_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99d5bc24d498ef0861ca9fd8d566e0ca.jpg","text":"TemporaryFile(/tmp/multipartBody9047928248545082290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836848419,"filename":"image_10122025_17_19_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/12/27/3a695b1d9278b0dee34006dc0319a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody22784736951629981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836848419,"filename":"image_10122025_17_19_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e094d74b2f1932531123f606b70b957f.jpg","text":"TemporaryFile(/tmp/multipartBody5085969641004100533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836848419,"filename":"image_10122025_17_19_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4810007bedc0ec89b5a229ba68269ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6260857359964374377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836848419,"filename":"image_10122025_17_19_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401268463","file1":"1401268401","file0":"1401268340","file4":"1401268560","file5":"1401268603","file3":"1401268499"},"map_files_photo_id_array":[{"photo_id":"1401268603","filename":"file5"},{"photo_id":"1401268463","filename":"file2"},{"photo_id":"1401268560","filename":"file4"},{"photo_id":"1401268401","filename":"file1"},{"photo_id":"1401268340","filename":"file0"},{"photo_id":"1401268499","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401268499":["hashtag1","hashtag2"]},{"1401268401":["hashtag1","hashtag2"]},{"1401268340":["hashtag1","hashtag2"]},{"1401268463":["hashtag1","hashtag2"]},{"1401268603":["hashtag1","hashtag2"]},{"1401268560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401268499, 1401268401, 1401268340, 1401268463, 1401268603, 1401268560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56172728538513 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:00:32.759961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_54_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_45_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_35_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_24_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_15_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_18_05_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_54_9657.jpg', '/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_45_9712.jpg', '/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_35_10653.jpg', '/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_24_9657.jpg', '/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_15_9687.jpg', '/home/nano/Desktop/images/10122025/17/17/image_10122025_17_18_05_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_54_9657.jpg
/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_45_9712.jpg
/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_35_10653.jpg
/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_24_9657.jpg
/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_15_9687.jpg
/home/nano/Desktop/images/10122025/17/17/image_10122025_17_18_05_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":["1401268961","1401269068","1401269029","1401268855","1401269130","1401268899"],"photo_ids_order":["1401268855","1401268899","1401268961","1401269029","1401269068","1401269130"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f85048fb2e84fe231468981166bdb9c.jpg","text":"TemporaryFile(/tmp/multipartBody321984459226477300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836893576,"filename":"image_10122025_17_18_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f08fa66648e0e150a6e80d954aaa8b8a.jpg","text":"TemporaryFile(/tmp/multipartBody233369103606050035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836893576,"filename":"image_10122025_17_18_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c854864e731cd8fd1e9e40771d06f9ce.jpg","text":"TemporaryFile(/tmp/multipartBody841763126955864000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836893576,"filename":"image_10122025_17_18_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/12/27/c3f4c52bd55b1bba2089da109ddb29e8.jpg","text":"TemporaryFile(/tmp/multipartBody3089294466395738922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836893576,"filename":"image_10122025_17_18_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/12/27/c6d609e4309a58e3b709318023b393f6.jpg","text":"TemporaryFile(/tmp/multipartBody1618502082394137620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836893576,"filename":"image_10122025_17_18_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8333c5f506e71eda26979999aa883e61.jpg","text":"TemporaryFile(/tmp/multipartBody6962518765528836933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836893576,"filename":"image_10122025_17_18_45_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401268961","file1":"1401268899","file0":"1401268855","file4":"1401269068","file5":"1401269130","file3":"1401269029"},"map_files_photo_id_array":[{"photo_id":"1401269130","filename":"file5"},{"photo_id":"1401268961","filename":"file2"},{"photo_id":"1401269068","filename":"file4"},{"photo_id":"1401268899","filename":"file1"},{"photo_id":"1401268855","filename":"file0"},{"photo_id":"1401269029","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401268961":["hashtag1","hashtag2"]},{"1401269068":["hashtag1","hashtag2"]},{"1401269029":["hashtag1","hashtag2"]},{"1401268855":["hashtag1","hashtag2"]},{"1401269130":["hashtag1","hashtag2"]},{"1401268899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401268961, 1401269068, 1401269029, 1401268855, 1401269130, 1401268899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6904182434082 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:01:16.822769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_54_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_45_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_35_10713.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_24_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_15_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_17_05_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_54_9651.jpg', '/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_45_9660.jpg', '/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_35_10713.jpg', '/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_24_9651.jpg', '/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_15_9674.jpg', '/home/nano/Desktop/images/10122025/17/16/image_10122025_17_17_05_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_54_9651.jpg
/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_45_9660.jpg
/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_35_10713.jpg
/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_24_9651.jpg
/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_15_9674.jpg
/home/nano/Desktop/images/10122025/17/16/image_10122025_17_17_05_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":["1401269449","1401269512","1401269413","1401269480","1401269378","1401269345"],"photo_ids_order":["1401269345","1401269378","1401269413","1401269449","1401269480","1401269512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0aac5fd65e2423e1e28289e13958359.jpg","text":"TemporaryFile(/tmp/multipartBody7522520850408159159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836937620,"filename":"image_10122025_17_17_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/12/27/05d0f1d436ca30cb676af7e4e2954c6e.jpg","text":"TemporaryFile(/tmp/multipartBody762552645678200930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836937620,"filename":"image_10122025_17_17_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fe3f82384d3a2e10995078c93a7d077.jpg","text":"TemporaryFile(/tmp/multipartBody1939626229081007252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836937620,"filename":"image_10122025_17_17_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d86dc268db3a12a92623be08bcfeae4.jpg","text":"TemporaryFile(/tmp/multipartBody2471740313059606346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836937620,"filename":"image_10122025_17_17_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e0209ca526ca74e09c63fb5b4dfa071.jpg","text":"TemporaryFile(/tmp/multipartBody121422215602069368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836937620,"filename":"image_10122025_17_17_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d579f3055fb6004fc1febdbb98e0a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody7478639867633184432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836937620,"filename":"image_10122025_17_17_54_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401269413","file1":"1401269378","file0":"1401269345","file4":"1401269480","file5":"1401269512","file3":"1401269449"},"map_files_photo_id_array":[{"photo_id":"1401269512","filename":"file5"},{"photo_id":"1401269413","filename":"file2"},{"photo_id":"1401269480","filename":"file4"},{"photo_id":"1401269378","filename":"file1"},{"photo_id":"1401269345","filename":"file0"},{"photo_id":"1401269449","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401269449":["hashtag1","hashtag2"]},{"1401269512":["hashtag1","hashtag2"]},{"1401269413":["hashtag1","hashtag2"]},{"1401269480":["hashtag1","hashtag2"]},{"1401269378":["hashtag1","hashtag2"]},{"1401269345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401269449, 1401269512, 1401269413, 1401269480, 1401269378, 1401269345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41898274421692 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:02:02.466308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_54_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_45_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_15_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_16_05_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_54_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_54_9718.jpg', '/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_45_9714.jpg', '/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_24_9639.jpg', '/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_15_9665.jpg', '/home/nano/Desktop/images/10122025/17/15/image_10122025_17_16_05_10668.jpg', '/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_54_9718.jpg
/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_45_9714.jpg
/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_24_9639.jpg
/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_15_9665.jpg
/home/nano/Desktop/images/10122025/17/15/image_10122025_17_16_05_10668.jpg
/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_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":["1401269759","1401269779","1401269781","1401269727","1401269783","1401269777"],"photo_ids_order":["1401269727","1401269759","1401269777","1401269779","1401269781","1401269783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38754ffb8276e286c3b6be366c8c7b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6843801528978822156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836983344,"filename":"image_10122025_17_16_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b887b0b4add5313565bf33b16cc70a5.jpg","text":"TemporaryFile(/tmp/multipartBody6692396090601758187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836983344,"filename":"image_10122025_17_16_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32c3543f9c0b79fe9e527fa87c757673.jpg","text":"TemporaryFile(/tmp/multipartBody3095674275884127145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836983344,"filename":"image_10122025_17_16_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7ae3a25955de941e3bfa5dc70883355.jpg","text":"TemporaryFile(/tmp/multipartBody5815926377029059813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836983344,"filename":"image_10122025_17_16_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/12/27/a08fd8c24fefa72e5c751db860a32e52.jpg","text":"TemporaryFile(/tmp/multipartBody2972407513637534319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836983344,"filename":"image_10122025_17_15_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/12/27/bafd43602f76fb7318e13f2ba91ea60f.jpg","text":"TemporaryFile(/tmp/multipartBody7349095652198276007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766836983344,"filename":"image_10122025_17_16_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401269777","file1":"1401269759","file0":"1401269727","file4":"1401269781","file5":"1401269783","file3":"1401269779"},"map_files_photo_id_array":[{"photo_id":"1401269783","filename":"file5"},{"photo_id":"1401269777","filename":"file2"},{"photo_id":"1401269781","filename":"file4"},{"photo_id":"1401269759","filename":"file1"},{"photo_id":"1401269727","filename":"file0"},{"photo_id":"1401269779","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401269759":["hashtag1","hashtag2"]},{"1401269779":["hashtag1","hashtag2"]},{"1401269781":["hashtag1","hashtag2"]},{"1401269727":["hashtag1","hashtag2"]},{"1401269783":["hashtag1","hashtag2"]},{"1401269777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401269759, 1401269779, 1401269781, 1401269727, 1401269783, 1401269777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76911211013794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:02:46.900816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_45_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_35_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_15_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_15_05_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_45_9750.jpg', '/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_35_10639.jpg', '/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_24_9638.jpg', '/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_15_9661.jpg', '/home/nano/Desktop/images/10122025/17/14/image_10122025_17_15_05_10685.jpg', '/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_45_9750.jpg
/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_35_10639.jpg
/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_24_9638.jpg
/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_15_9661.jpg
/home/nano/Desktop/images/10122025/17/14/image_10122025_17_15_05_10685.jpg
/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_54_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":["1401269942","1401269908","1401269842","1401269812","1401269978","1401269876"],"photo_ids_order":["1401269812","1401269842","1401269876","1401269908","1401269942","1401269978"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e0be5d2d18ab07eda1b6f745d176854.jpg","text":"TemporaryFile(/tmp/multipartBody4208483212386068444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837027742,"filename":"image_10122025_17_15_05_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/327d3424c3a56da4fca55f50b2bced43.jpg","text":"TemporaryFile(/tmp/multipartBody6352725430525736184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837027742,"filename":"image_10122025_17_15_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0f4d6369e67654c955e3c86a009231e.jpg","text":"TemporaryFile(/tmp/multipartBody8403954132718851510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837027742,"filename":"image_10122025_17_15_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5ea357722e3e4e64ba1c55a81f76085.jpg","text":"TemporaryFile(/tmp/multipartBody8197029390748213746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837027742,"filename":"image_10122025_17_15_45_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9cef3a66adc0d5733f13a39348b6600.jpg","text":"TemporaryFile(/tmp/multipartBody1394115672519601504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837027742,"filename":"image_10122025_17_14_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/12/27/52ab2812ca1594bf64fcdeae41f294ee.jpg","text":"TemporaryFile(/tmp/multipartBody4947860322281383791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837027742,"filename":"image_10122025_17_15_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401269876","file1":"1401269842","file0":"1401269812","file4":"1401269942","file5":"1401269978","file3":"1401269908"},"map_files_photo_id_array":[{"photo_id":"1401269978","filename":"file5"},{"photo_id":"1401269876","filename":"file2"},{"photo_id":"1401269942","filename":"file4"},{"photo_id":"1401269842","filename":"file1"},{"photo_id":"1401269812","filename":"file0"},{"photo_id":"1401269908","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401269942":["hashtag1","hashtag2"]},{"1401269908":["hashtag1","hashtag2"]},{"1401269842":["hashtag1","hashtag2"]},{"1401269812":["hashtag1","hashtag2"]},{"1401269978":["hashtag1","hashtag2"]},{"1401269876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401269942, 1401269908, 1401269842, 1401269812, 1401269978, 1401269876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44059872627258 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:03:31.993744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_35_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_24_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_15_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_14_05_10673.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_54_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_45_9627.jpg', '/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_35_10656.jpg', '/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_24_9660.jpg', '/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_15_9666.jpg', '/home/nano/Desktop/images/10122025/17/13/image_10122025_17_14_05_10673.jpg', '/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_54_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_45_9627.jpg
/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_35_10656.jpg
/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_24_9660.jpg
/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_15_9666.jpg
/home/nano/Desktop/images/10122025/17/13/image_10122025_17_14_05_10673.jpg
/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_54_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":["1401270179","1401270266","1401270233","1401270125","1401270090","1401270279"],"photo_ids_order":["1401270090","1401270125","1401270179","1401270233","1401270266","1401270279"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59b19ad85ce8fac8fab72173e4332cea.jpg","text":"TemporaryFile(/tmp/multipartBody2905508312149996964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837072807,"filename":"image_10122025_17_14_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ff7379832c36bf846eb58c0da7da9d6.jpg","text":"TemporaryFile(/tmp/multipartBody8597338470583357977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837072807,"filename":"image_10122025_17_14_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62c5999e0c457b0afebaf628ce8c3bf0.jpg","text":"TemporaryFile(/tmp/multipartBody1001340044463434394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837072807,"filename":"image_10122025_17_14_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb128e3fc8e38daa783c547cc06f2158.jpg","text":"TemporaryFile(/tmp/multipartBody7585040917404282405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837072807,"filename":"image_10122025_17_14_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45d4e154fa4f08777096733f2d4fde55.jpg","text":"TemporaryFile(/tmp/multipartBody7272512595355066213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837072807,"filename":"image_10122025_17_14_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ea9011230c8c9a81772ae8ac1626871.jpg","text":"TemporaryFile(/tmp/multipartBody270453765991800510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837072807,"filename":"image_10122025_17_13_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270179","file1":"1401270125","file0":"1401270090","file4":"1401270266","file5":"1401270279","file3":"1401270233"},"map_files_photo_id_array":[{"photo_id":"1401270279","filename":"file5"},{"photo_id":"1401270179","filename":"file2"},{"photo_id":"1401270266","filename":"file4"},{"photo_id":"1401270125","filename":"file1"},{"photo_id":"1401270090","filename":"file0"},{"photo_id":"1401270233","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270179":["hashtag1","hashtag2"]},{"1401270266":["hashtag1","hashtag2"]},{"1401270233":["hashtag1","hashtag2"]},{"1401270125":["hashtag1","hashtag2"]},{"1401270090":["hashtag1","hashtag2"]},{"1401270279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270179, 1401270266, 1401270233, 1401270125, 1401270090, 1401270279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94325113296509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:04:17.116503
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/13/04/image_27122025_13_04_34_9510.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/13/04/image_27122025_13_04_34_9510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/13/04/image_27122025_13_04_34_9510.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270357"],"photo_id":"1401270357","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a1056f81472ec936a706b4b760a7cb2.jpg","text":"TemporaryFile(/tmp/multipartBody2469510091501328996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837117362,"filename":"image_27122025_13_04_34_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401270357"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401270357"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.72252106666565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:04:32.139501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_45_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_13_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_55_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_45_9640.jpg', '/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_35_10624.jpg', '/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_24_9600.jpg', '/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_15_10624.jpg', '/home/nano/Desktop/images/10122025/17/12/image_10122025_17_13_04_9602.jpg', '/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_55_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_45_9640.jpg
/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_35_10624.jpg
/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_24_9600.jpg
/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_15_10624.jpg
/home/nano/Desktop/images/10122025/17/12/image_10122025_17_13_04_9602.jpg
/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_55_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":["1401270419","1401270421","1401270415","1401270420","1401270414","1401270417"],"photo_ids_order":["1401270414","1401270415","1401270417","1401270419","1401270420","1401270421"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc406ca838c43dbf230b0e0912da0648.jpg","text":"TemporaryFile(/tmp/multipartBody4024167627191596352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837132929,"filename":"image_10122025_17_13_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/004d84614429910a1264ff3a99a0a6f5.jpg","text":"TemporaryFile(/tmp/multipartBody7752493353888251277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837132929,"filename":"image_10122025_17_12_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86f7b742df8f946215a675580ae949cc.jpg","text":"TemporaryFile(/tmp/multipartBody2655269760215085893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837132929,"filename":"image_10122025_17_13_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/210ffd75e21cfba9f411c033f5bb1eca.jpg","text":"TemporaryFile(/tmp/multipartBody4470523622747375174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837132929,"filename":"image_10122025_17_13_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/12/27/47748fda426e151a520b9ba4e0fdf1c1.jpg","text":"TemporaryFile(/tmp/multipartBody5050517103468248467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837132929,"filename":"image_10122025_17_13_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57be196cc1f3bdd0ffb4cd9c1e5bf816.jpg","text":"TemporaryFile(/tmp/multipartBody4097904887895205491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837132929,"filename":"image_10122025_17_13_24_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270417","file1":"1401270415","file0":"1401270414","file4":"1401270420","file5":"1401270421","file3":"1401270419"},"map_files_photo_id_array":[{"photo_id":"1401270421","filename":"file5"},{"photo_id":"1401270417","filename":"file2"},{"photo_id":"1401270420","filename":"file4"},{"photo_id":"1401270415","filename":"file1"},{"photo_id":"1401270414","filename":"file0"},{"photo_id":"1401270419","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270419":["hashtag1","hashtag2"]},{"1401270421":["hashtag1","hashtag2"]},{"1401270415":["hashtag1","hashtag2"]},{"1401270420":["hashtag1","hashtag2"]},{"1401270414":["hashtag1","hashtag2"]},{"1401270417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270419, 1401270421, 1401270415, 1401270420, 1401270414, 1401270417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8689866065979 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:05:17.260445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_12_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_55_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_45_10606.jpg', '/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_34_9595.jpg', '/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_25_10603.jpg', '/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_14_9623.jpg', '/home/nano/Desktop/images/10122025/17/11/image_10122025_17_12_04_9622.jpg', '/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_55_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_45_10606.jpg
/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_34_9595.jpg
/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_25_10603.jpg
/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_14_9623.jpg
/home/nano/Desktop/images/10122025/17/11/image_10122025_17_12_04_9622.jpg
/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_55_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":["1401270431","1401270434","1401270428","1401270433","1401270426","1401270435"],"photo_ids_order":["1401270426","1401270428","1401270431","1401270433","1401270434","1401270435"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03ec80098efd660911e2748ff5b65fe0.jpg","text":"TemporaryFile(/tmp/multipartBody6659784482268389263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837178095,"filename":"image_10122025_17_12_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2bdd4bb57c241855d3c4d513a37dbb2d.jpg","text":"TemporaryFile(/tmp/multipartBody6818925621407036839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837178095,"filename":"image_10122025_17_12_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/12/27/217770ec0d6a426caa70759e9c6cd939.jpg","text":"TemporaryFile(/tmp/multipartBody3516328837931408460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837178095,"filename":"image_10122025_17_12_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/12/27/c0ba618457690666e81b0592f5f3feeb.jpg","text":"TemporaryFile(/tmp/multipartBody371208334016825981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837178095,"filename":"image_10122025_17_12_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/12/27/bc50d95bf4d049bd2b035cd930ebc4f3.jpg","text":"TemporaryFile(/tmp/multipartBody2144369157787383649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837178095,"filename":"image_10122025_17_12_45_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4587dd1d671b228ef6066598e6c1b57.jpg","text":"TemporaryFile(/tmp/multipartBody341144106877624093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837178095,"filename":"image_10122025_17_11_55_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270431","file1":"1401270428","file0":"1401270426","file4":"1401270434","file5":"1401270435","file3":"1401270433"},"map_files_photo_id_array":[{"photo_id":"1401270435","filename":"file5"},{"photo_id":"1401270431","filename":"file2"},{"photo_id":"1401270434","filename":"file4"},{"photo_id":"1401270428","filename":"file1"},{"photo_id":"1401270426","filename":"file0"},{"photo_id":"1401270433","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270431":["hashtag1","hashtag2"]},{"1401270434":["hashtag1","hashtag2"]},{"1401270428":["hashtag1","hashtag2"]},{"1401270433":["hashtag1","hashtag2"]},{"1401270426":["hashtag1","hashtag2"]},{"1401270435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270431, 1401270434, 1401270428, 1401270433, 1401270426, 1401270435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.382935523986816 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:06:02.847927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_11_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_54_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_44_9600.jpg', '/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_35_9616.jpg', '/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_25_10617.jpg', '/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_14_9621.jpg', '/home/nano/Desktop/images/10122025/17/10/image_10122025_17_11_05_10632.jpg', '/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_54_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_44_9600.jpg
/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_35_9616.jpg
/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_25_10617.jpg
/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_14_9621.jpg
/home/nano/Desktop/images/10122025/17/10/image_10122025_17_11_05_10632.jpg
/home/nano/Desktop/images/10122025/17/10/image_10122025_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":["1401270446","1401270440","1401270448","1401270442","1401270439","1401270444"],"photo_ids_order":["1401270439","1401270440","1401270442","1401270444","1401270446","1401270448"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc9f68415e519c5d8062cd94e256ced2.jpg","text":"TemporaryFile(/tmp/multipartBody8969318836692378073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837223652,"filename":"image_10122025_17_11_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ba303b850f8d538cf85bd0dc388940d.jpg","text":"TemporaryFile(/tmp/multipartBody9222674027363230213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837223652,"filename":"image_10122025_17_11_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cf99052935e1be9fa4b85c5210b8735.jpg","text":"TemporaryFile(/tmp/multipartBody381223127438534004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837223652,"filename":"image_10122025_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/12/27/1d08b67469db8615e6f530ff1ec1a015.jpg","text":"TemporaryFile(/tmp/multipartBody7655585407320075381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837223652,"filename":"image_10122025_17_11_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d0158120cb6d04eb7d6a8dc0408acfc.jpg","text":"TemporaryFile(/tmp/multipartBody379789833284493990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837223652,"filename":"image_10122025_17_11_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/12/27/50d40bfeb38a448efcbdf8999350bd17.jpg","text":"TemporaryFile(/tmp/multipartBody3052181771252099201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837223652,"filename":"image_10122025_17_11_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270442","file1":"1401270440","file0":"1401270439","file4":"1401270446","file5":"1401270448","file3":"1401270444"},"map_files_photo_id_array":[{"photo_id":"1401270448","filename":"file5"},{"photo_id":"1401270442","filename":"file2"},{"photo_id":"1401270446","filename":"file4"},{"photo_id":"1401270440","filename":"file1"},{"photo_id":"1401270439","filename":"file0"},{"photo_id":"1401270444","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270446":["hashtag1","hashtag2"]},{"1401270440":["hashtag1","hashtag2"]},{"1401270448":["hashtag1","hashtag2"]},{"1401270442":["hashtag1","hashtag2"]},{"1401270439":["hashtag1","hashtag2"]},{"1401270444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270446, 1401270440, 1401270448, 1401270442, 1401270439, 1401270444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.130101442337036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:06:47.311985
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_10_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_55_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_45_9618.jpg', '/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_35_10616.jpg', '/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_24_9608.jpg', '/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_15_10623.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_10_04_9601.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_55_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_45_9618.jpg
/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_35_10616.jpg
/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_24_9608.jpg
/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_15_10623.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_10_04_9601.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_55_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":["1401270464","1401270466","1401270469","1401270460","1401270462","1401270459"],"photo_ids_order":["1401270459","1401270460","1401270462","1401270464","1401270466","1401270469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/529ba6f1cc9f0ea78dcc2b3626f6f58e.jpg","text":"TemporaryFile(/tmp/multipartBody8010627852128758039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837268159,"filename":"image_10122025_17_10_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbad77b53d91395e75149caf3c75daf7.jpg","text":"TemporaryFile(/tmp/multipartBody2103736402391559517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837268159,"filename":"image_10122025_17_10_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/12/27/bbdeaa13501aabe399f96415164c478d.jpg","text":"TemporaryFile(/tmp/multipartBody424332960657103489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837268159,"filename":"image_10122025_17_09_55_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf166945e17a0d2217858ec028c97f16.jpg","text":"TemporaryFile(/tmp/multipartBody6013210173536818437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837268159,"filename":"image_10122025_17_10_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1484cfe2094e6e307a057610839f4216.jpg","text":"TemporaryFile(/tmp/multipartBody8260838176558667393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837268159,"filename":"image_10122025_17_10_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/12/27/a3acd8d73183c481531593fc482f8b11.jpg","text":"TemporaryFile(/tmp/multipartBody2388076677562098716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837268159,"filename":"image_10122025_17_10_45_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270462","file1":"1401270460","file0":"1401270459","file4":"1401270466","file5":"1401270469","file3":"1401270464"},"map_files_photo_id_array":[{"photo_id":"1401270469","filename":"file5"},{"photo_id":"1401270462","filename":"file2"},{"photo_id":"1401270466","filename":"file4"},{"photo_id":"1401270460","filename":"file1"},{"photo_id":"1401270459","filename":"file0"},{"photo_id":"1401270464","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270464":["hashtag1","hashtag2"]},{"1401270466":["hashtag1","hashtag2"]},{"1401270469":["hashtag1","hashtag2"]},{"1401270460":["hashtag1","hashtag2"]},{"1401270462":["hashtag1","hashtag2"]},{"1401270459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270464, 1401270466, 1401270469, 1401270460, 1401270462, 1401270459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68454170227051 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:07:32.410005
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg', '/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg', '/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_9666.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6814005374908447 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:07:47.442957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg', '/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg', '/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg', '/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg
/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_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":["1401270485","1401270487","1401270489","1401270483","1401270486","1401270491"],"photo_ids_order":["1401270483","1401270485","1401270486","1401270487","1401270489","1401270491"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c29f9f22118aad0ce35d4c9a769f8dc.jpg","text":"TemporaryFile(/tmp/multipartBody2028029029380897393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837328215,"filename":"image_10122025_17_09_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/12/27/0b296118c321941b2cdc5b8e8d9bc62d.jpg","text":"TemporaryFile(/tmp/multipartBody2647158318771175758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837328215,"filename":"image_10122025_17_09_15_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86d5141c078b052be88e276ca00a1830.jpg","text":"TemporaryFile(/tmp/multipartBody1007973661358706341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837328215,"filename":"image_10122025_17_09_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/12/27/725ced0275c5ea8524e832c68bb58c15.jpg","text":"TemporaryFile(/tmp/multipartBody1651431814048115566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837328215,"filename":"image_10122025_17_09_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a18efce45d425c7524e907ca259e19a1.jpg","text":"TemporaryFile(/tmp/multipartBody8624470707820547696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837328215,"filename":"image_10122025_17_09_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b2fcede8c79c79bc989ac242778b511.jpg","text":"TemporaryFile(/tmp/multipartBody3467471581533960075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837328215,"filename":"image_10122025_17_08_55_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270486","file1":"1401270485","file0":"1401270483","file4":"1401270489","file5":"1401270491","file3":"1401270487"},"map_files_photo_id_array":[{"photo_id":"1401270491","filename":"file5"},{"photo_id":"1401270486","filename":"file2"},{"photo_id":"1401270489","filename":"file4"},{"photo_id":"1401270485","filename":"file1"},{"photo_id":"1401270483","filename":"file0"},{"photo_id":"1401270487","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270485":["hashtag1","hashtag2"]},{"1401270487":["hashtag1","hashtag2"]},{"1401270489":["hashtag1","hashtag2"]},{"1401270483":["hashtag1","hashtag2"]},{"1401270486":["hashtag1","hashtag2"]},{"1401270491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270485, 1401270487, 1401270489, 1401270483, 1401270486, 1401270491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.173733949661255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:08:32.541431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_45_10759.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_34_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_25_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_15_9784.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_08_05_10676.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_45_10759.jpg', '/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_34_9748.jpg', '/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_25_9747.jpg', '/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_15_9784.jpg', '/home/nano/Desktop/images/10122025/17/07/image_10122025_17_08_05_10676.jpg', '/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_45_10759.jpg
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_34_9748.jpg
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_25_9747.jpg
/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_15_9784.jpg
/home/nano/Desktop/images/10122025/17/07/image_10122025_17_08_05_10676.jpg
/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_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":["1401270500","1401270499","1401270502","1401270505","1401270508","1401270507"],"photo_ids_order":["1401270499","1401270500","1401270502","1401270505","1401270507","1401270508"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3d55d97abea407af8e8306016e1634a.jpg","text":"TemporaryFile(/tmp/multipartBody2496124485636990277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837373423,"filename":"image_10122025_17_08_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5499850fe28cdbd075e4ddfa8746943b.jpg","text":"TemporaryFile(/tmp/multipartBody2953921249279966568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837373423,"filename":"image_10122025_17_08_45_10759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/509c2e0a11d554a89b697a37d6a02b93.jpg","text":"TemporaryFile(/tmp/multipartBody6686329122517351785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837373423,"filename":"image_10122025_17_08_25_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f114e66cd650d1be8cfed5cebf39ac0.jpg","text":"TemporaryFile(/tmp/multipartBody5888365991099885246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837373423,"filename":"image_10122025_17_08_15_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57481d692ac2d84842d0368b425017db.jpg","text":"TemporaryFile(/tmp/multipartBody5424204636517918165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837373423,"filename":"image_10122025_17_07_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/12/27/b0dd0f583078404cc25d2f01d74b78c7.jpg","text":"TemporaryFile(/tmp/multipartBody5290328019393254611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837373423,"filename":"image_10122025_17_08_05_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270502","file1":"1401270500","file0":"1401270499","file4":"1401270507","file5":"1401270508","file3":"1401270505"},"map_files_photo_id_array":[{"photo_id":"1401270508","filename":"file5"},{"photo_id":"1401270502","filename":"file2"},{"photo_id":"1401270507","filename":"file4"},{"photo_id":"1401270500","filename":"file1"},{"photo_id":"1401270499","filename":"file0"},{"photo_id":"1401270505","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270500":["hashtag1","hashtag2"]},{"1401270499":["hashtag1","hashtag2"]},{"1401270502":["hashtag1","hashtag2"]},{"1401270505":["hashtag1","hashtag2"]},{"1401270508":["hashtag1","hashtag2"]},{"1401270507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270500, 1401270499, 1401270502, 1401270505, 1401270508, 1401270507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43915677070618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:09:17.728826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_45_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_35_10734.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_24_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_15_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_07_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_45_9657.jpg', '/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_35_10734.jpg', '/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_24_9706.jpg', '/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_15_9711.jpg', '/home/nano/Desktop/images/10122025/17/06/image_10122025_17_07_05_10638.jpg', '/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_45_9657.jpg
/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_35_10734.jpg
/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_24_9706.jpg
/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_15_9711.jpg
/home/nano/Desktop/images/10122025/17/06/image_10122025_17_07_05_10638.jpg
/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_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":["1401270519","1401270524","1401270515","1401270517","1401270526","1401270522"],"photo_ids_order":["1401270515","1401270517","1401270519","1401270522","1401270524","1401270526"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5884cc426c03397f0684fc0f2ca8e231.jpg","text":"TemporaryFile(/tmp/multipartBody3215466061688233029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837418537,"filename":"image_10122025_17_07_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/12/27/e3efa9120d3dd61b2cab52d976b77033.jpg","text":"TemporaryFile(/tmp/multipartBody7148306675933343817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837418537,"filename":"image_10122025_17_07_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30ca6678fe6d8dc1a605441d456c4397.jpg","text":"TemporaryFile(/tmp/multipartBody3588142407700168384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837418537,"filename":"image_10122025_17_07_45_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f97bc091298f534d87bc400c04b0271a.jpg","text":"TemporaryFile(/tmp/multipartBody1224302094300101398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837418537,"filename":"image_10122025_17_07_35_10734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27a2ac67dbef1bd1710ad640efbd24e4.jpg","text":"TemporaryFile(/tmp/multipartBody3930725828330995608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837418537,"filename":"image_10122025_17_06_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/12/27/9759bf1d766b11f29c0f3c71c1f16d0d.jpg","text":"TemporaryFile(/tmp/multipartBody80491228141260588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837418537,"filename":"image_10122025_17_07_15_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270519","file1":"1401270517","file0":"1401270515","file4":"1401270524","file5":"1401270526","file3":"1401270522"},"map_files_photo_id_array":[{"photo_id":"1401270526","filename":"file5"},{"photo_id":"1401270519","filename":"file2"},{"photo_id":"1401270524","filename":"file4"},{"photo_id":"1401270517","filename":"file1"},{"photo_id":"1401270515","filename":"file0"},{"photo_id":"1401270522","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270519":["hashtag1","hashtag2"]},{"1401270524":["hashtag1","hashtag2"]},{"1401270515":["hashtag1","hashtag2"]},{"1401270517":["hashtag1","hashtag2"]},{"1401270526":["hashtag1","hashtag2"]},{"1401270522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270519, 1401270524, 1401270515, 1401270517, 1401270526, 1401270522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.185250759124756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:10:02.382946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_15_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_06_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_45_9605.jpg', '/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_35_10630.jpg', '/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_24_9613.jpg', '/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_15_10661.jpg', '/home/nano/Desktop/images/10122025/17/05/image_10122025_17_06_04_9614.jpg', '/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_45_9605.jpg
/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_35_10630.jpg
/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_24_9613.jpg
/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_15_10661.jpg
/home/nano/Desktop/images/10122025/17/05/image_10122025_17_06_04_9614.jpg
/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_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":["1401270536","1401270532","1401270538","1401270531","1401270540","1401270534"],"photo_ids_order":["1401270531","1401270532","1401270534","1401270536","1401270538","1401270540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9138e21080a83ad8218e25e86db3ef0d.jpg","text":"TemporaryFile(/tmp/multipartBody2973682050024232155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837463179,"filename":"image_10122025_17_06_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9c9a8c3dcb165ed129ae9b453b644f9.jpg","text":"TemporaryFile(/tmp/multipartBody1454185038745308710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837463179,"filename":"image_10122025_17_06_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7f41a1b5a08f7878fa8c2ed03773f3f.jpg","text":"TemporaryFile(/tmp/multipartBody5362695379347238647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837463179,"filename":"image_10122025_17_06_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/12/27/92a5aeeeeaf3c0edd1de1cffd2155239.jpg","text":"TemporaryFile(/tmp/multipartBody4376379933371369968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837463179,"filename":"image_10122025_17_06_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/477603205f2bdc2a8b69eb7c5980683b.jpg","text":"TemporaryFile(/tmp/multipartBody8971777481885211005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837463179,"filename":"image_10122025_17_05_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/12/27/9d1d2f907f50a9e6f075128dd8f03b29.jpg","text":"TemporaryFile(/tmp/multipartBody5558507936574594623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837463179,"filename":"image_10122025_17_06_24_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270534","file1":"1401270532","file0":"1401270531","file4":"1401270538","file5":"1401270540","file3":"1401270536"},"map_files_photo_id_array":[{"photo_id":"1401270540","filename":"file5"},{"photo_id":"1401270534","filename":"file2"},{"photo_id":"1401270538","filename":"file4"},{"photo_id":"1401270532","filename":"file1"},{"photo_id":"1401270531","filename":"file0"},{"photo_id":"1401270536","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270536":["hashtag1","hashtag2"]},{"1401270532":["hashtag1","hashtag2"]},{"1401270538":["hashtag1","hashtag2"]},{"1401270531":["hashtag1","hashtag2"]},{"1401270540":["hashtag1","hashtag2"]},{"1401270534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270536, 1401270532, 1401270538, 1401270531, 1401270540, 1401270534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28483986854553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:10:46.787742
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_34_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_05_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_55_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_45_10625.jpg', '/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_34_9633.jpg', '/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_25_9606.jpg', '/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_15_10634.jpg', '/home/nano/Desktop/images/10122025/17/04/image_10122025_17_05_04_9614.jpg', '/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_45_10625.jpg
/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_34_9633.jpg
/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_25_9606.jpg
/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_15_10634.jpg
/home/nano/Desktop/images/10122025/17/04/image_10122025_17_05_04_9614.jpg
/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_55_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":["1401270554","1401270551","1401270550","1401270553","1401270556","1401270552"],"photo_ids_order":["1401270550","1401270551","1401270552","1401270553","1401270554","1401270556"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c03e2d1687d94bc453d104ffeed369d1.jpg","text":"TemporaryFile(/tmp/multipartBody8784488878886927990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837507576,"filename":"image_10122025_17_05_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/12/27/9ba86a0a3639c4bda441bc35491ff958.jpg","text":"TemporaryFile(/tmp/multipartBody8839252225517794551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837507576,"filename":"image_10122025_17_05_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/12/27/1383c50e9b7198624be6d0e8e4c95967.jpg","text":"TemporaryFile(/tmp/multipartBody790297122468583231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837507576,"filename":"image_10122025_17_05_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d42d48e50365f0dd9b9d8731836c1e89.jpg","text":"TemporaryFile(/tmp/multipartBody22827765097849341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837507576,"filename":"image_10122025_17_05_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ac15951c125e086a4854fb266c7f4f1.jpg","text":"TemporaryFile(/tmp/multipartBody6297410780435953724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837507576,"filename":"image_10122025_17_04_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cffbb9942594f25a1069aab49fa04742.jpg","text":"TemporaryFile(/tmp/multipartBody5920989802491831005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837507576,"filename":"image_10122025_17_05_25_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270552","file1":"1401270551","file0":"1401270550","file4":"1401270554","file5":"1401270556","file3":"1401270553"},"map_files_photo_id_array":[{"photo_id":"1401270556","filename":"file5"},{"photo_id":"1401270552","filename":"file2"},{"photo_id":"1401270554","filename":"file4"},{"photo_id":"1401270551","filename":"file1"},{"photo_id":"1401270550","filename":"file0"},{"photo_id":"1401270553","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270554":["hashtag1","hashtag2"]},{"1401270551":["hashtag1","hashtag2"]},{"1401270550":["hashtag1","hashtag2"]},{"1401270553":["hashtag1","hashtag2"]},{"1401270556":["hashtag1","hashtag2"]},{"1401270552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270554, 1401270551, 1401270550, 1401270553, 1401270556, 1401270552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19238209724426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:11:31.893860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_35_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_14_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_04_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_55_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_44_9625.jpg', '/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_35_9656.jpg', '/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_25_10631.jpg', '/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_14_9648.jpg', '/home/nano/Desktop/images/10122025/17/03/image_10122025_17_04_05_9613.jpg', '/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_55_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_44_9625.jpg
/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_35_9656.jpg
/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_25_10631.jpg
/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_14_9648.jpg
/home/nano/Desktop/images/10122025/17/03/image_10122025_17_04_05_9613.jpg
/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_55_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":["1401270566","1401270571","1401270574","1401270568","1401270564","1401270573"],"photo_ids_order":["1401270564","1401270566","1401270568","1401270571","1401270573","1401270574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a318b69eb12cfcae3286d3268cecaa91.jpg","text":"TemporaryFile(/tmp/multipartBody8576555676874076782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837552687,"filename":"image_10122025_17_04_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a276da9b420bbd6b91aedd9f93e6ebda.jpg","text":"TemporaryFile(/tmp/multipartBody1311366097385895790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837552687,"filename":"image_10122025_17_04_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/12/27/15f852ec07ec1275e711d97accd1410b.jpg","text":"TemporaryFile(/tmp/multipartBody3499831899677395033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837552687,"filename":"image_10122025_17_03_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04e36acc2dd253097238c31c0a341a63.jpg","text":"TemporaryFile(/tmp/multipartBody737476985308117423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837552687,"filename":"image_10122025_17_04_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a25b1120e0c5dfb36095dc6bd713a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8221700544458334829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837552687,"filename":"image_10122025_17_04_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/12/27/cbdd00bba7e27da9a946291927fc0fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7625869047627690322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837552687,"filename":"image_10122025_17_04_05_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270568","file1":"1401270566","file0":"1401270564","file4":"1401270573","file5":"1401270574","file3":"1401270571"},"map_files_photo_id_array":[{"photo_id":"1401270574","filename":"file5"},{"photo_id":"1401270568","filename":"file2"},{"photo_id":"1401270573","filename":"file4"},{"photo_id":"1401270566","filename":"file1"},{"photo_id":"1401270564","filename":"file0"},{"photo_id":"1401270571","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270566":["hashtag1","hashtag2"]},{"1401270571":["hashtag1","hashtag2"]},{"1401270574":["hashtag1","hashtag2"]},{"1401270568":["hashtag1","hashtag2"]},{"1401270564":["hashtag1","hashtag2"]},{"1401270573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270566, 1401270571, 1401270574, 1401270568, 1401270564, 1401270573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06206154823303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:12:17.067542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_03_05_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_44_9607.jpg', '/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_35_10618.jpg', '/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_24_9609.jpg', '/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_14_9612.jpg', '/home/nano/Desktop/images/10122025/17/02/image_10122025_17_03_05_10677.jpg', '/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_44_9607.jpg
/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_35_10618.jpg
/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_24_9609.jpg
/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_14_9612.jpg
/home/nano/Desktop/images/10122025/17/02/image_10122025_17_03_05_10677.jpg
/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_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":["1401270593","1401270587","1401270584","1401270578","1401270580","1401270590"],"photo_ids_order":["1401270578","1401270580","1401270584","1401270587","1401270590","1401270593"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/781215f147e4be3b44a081c98849cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody9199407497522047480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837597872,"filename":"image_10122025_17_02_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/12/27/64854fdf942e37e355b44324028ed401.jpg","text":"TemporaryFile(/tmp/multipartBody5486875681323852485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837597872,"filename":"image_10122025_17_03_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/12/27/5a9be1130d0208e9f9919961810fb569.jpg","text":"TemporaryFile(/tmp/multipartBody7877220337597127220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837597872,"filename":"image_10122025_17_03_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/12/27/3fb9bc92012a24cd7d56cc3e32cd2573.jpg","text":"TemporaryFile(/tmp/multipartBody7605551496841120516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837597872,"filename":"image_10122025_17_03_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/12/27/61e54ee8b5a4dbae0bf87d4f69645736.jpg","text":"TemporaryFile(/tmp/multipartBody7808355887722568137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837597872,"filename":"image_10122025_17_03_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b5e0ccc70cbc3e6b07891555578ec5d.jpg","text":"TemporaryFile(/tmp/multipartBody3335043872416718735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837597872,"filename":"image_10122025_17_03_05_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270584","file1":"1401270580","file0":"1401270578","file4":"1401270590","file5":"1401270593","file3":"1401270587"},"map_files_photo_id_array":[{"photo_id":"1401270593","filename":"file5"},{"photo_id":"1401270584","filename":"file2"},{"photo_id":"1401270590","filename":"file4"},{"photo_id":"1401270580","filename":"file1"},{"photo_id":"1401270578","filename":"file0"},{"photo_id":"1401270587","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270593":["hashtag1","hashtag2"]},{"1401270587":["hashtag1","hashtag2"]},{"1401270584":["hashtag1","hashtag2"]},{"1401270578":["hashtag1","hashtag2"]},{"1401270580":["hashtag1","hashtag2"]},{"1401270590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270593, 1401270587, 1401270584, 1401270578, 1401270580, 1401270590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.400288105010986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:13:02.670145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_45_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_15_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_02_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_45_9636.jpg', '/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_35_10628.jpg', '/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_24_9614.jpg', '/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_15_9664.jpg', '/home/nano/Desktop/images/10122025/17/01/image_10122025_17_02_05_10650.jpg', '/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_45_9636.jpg
/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_35_10628.jpg
/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_24_9614.jpg
/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_15_9664.jpg
/home/nano/Desktop/images/10122025/17/01/image_10122025_17_02_05_10650.jpg
/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_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":["1401270603","1401270605","1401270601","1401270610","1401270607","1401270599"],"photo_ids_order":["1401270599","1401270601","1401270603","1401270605","1401270607","1401270610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70784b3dce68b33283972019615d82c8.jpg","text":"TemporaryFile(/tmp/multipartBody5520439180362467080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837643511,"filename":"image_10122025_17_02_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/12/27/92fb697edb13b6ce53d83e401080d325.jpg","text":"TemporaryFile(/tmp/multipartBody2587376071990242189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837643511,"filename":"image_10122025_17_02_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/237c97be5903f1fef3dfa1c01064deef.jpg","text":"TemporaryFile(/tmp/multipartBody7947845740351858000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837643511,"filename":"image_10122025_17_02_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb5cc7e924feb6f943cf79d562c0485d.jpg","text":"TemporaryFile(/tmp/multipartBody1603724031613470834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837643511,"filename":"image_10122025_17_01_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/12/27/504b57b487aea3f9f4cf5184b21497fa.jpg","text":"TemporaryFile(/tmp/multipartBody3078312277935124572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837643511,"filename":"image_10122025_17_02_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ed7c22d5a8134ccd1bbc61aee242333.jpg","text":"TemporaryFile(/tmp/multipartBody7585565646762743145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837643511,"filename":"image_10122025_17_02_45_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270603","file1":"1401270601","file0":"1401270599","file4":"1401270607","file5":"1401270610","file3":"1401270605"},"map_files_photo_id_array":[{"photo_id":"1401270610","filename":"file5"},{"photo_id":"1401270603","filename":"file2"},{"photo_id":"1401270607","filename":"file4"},{"photo_id":"1401270601","filename":"file1"},{"photo_id":"1401270599","filename":"file0"},{"photo_id":"1401270605","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270603":["hashtag1","hashtag2"]},{"1401270605":["hashtag1","hashtag2"]},{"1401270601":["hashtag1","hashtag2"]},{"1401270610":["hashtag1","hashtag2"]},{"1401270607":["hashtag1","hashtag2"]},{"1401270599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270603, 1401270605, 1401270601, 1401270610, 1401270607, 1401270599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80792832374573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:13:47.123725
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/13/13/image_27122025_13_13_45_10519.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/13/13/image_27122025_13_13_45_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/13/13/image_27122025_13_13_45_10519.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270618"],"photo_id":"1401270618","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc1ef8385600216343efc5168237ed6c.jpg","text":"TemporaryFile(/tmp/multipartBody4569380839702763056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837687399,"filename":"image_27122025_13_13_45_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401270618"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401270618"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.05254340171814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:14:02.835231
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_25_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_15_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_01_04_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_55_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_45_10623.jpg', '/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_34_9605.jpg', '/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_25_9630.jpg', '/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_15_10710.jpg', '/home/nano/Desktop/images/10122025/17/00/image_10122025_17_01_04_9660.jpg', '/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_55_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_45_10623.jpg
/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_34_9605.jpg
/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_25_9630.jpg
/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_15_10710.jpg
/home/nano/Desktop/images/10122025/17/00/image_10122025_17_01_04_9660.jpg
/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_55_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":["1401270629","1401270623","1401270626","1401270620","1401270625","1401270619"],"photo_ids_order":["1401270619","1401270620","1401270623","1401270625","1401270626","1401270629"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee3a621e47e9d34d5b09d8156f89ba26.jpg","text":"TemporaryFile(/tmp/multipartBody6273428987589885437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837703669,"filename":"image_10122025_17_00_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5bc50f6be7dbbe10352b388bbf363ac.jpg","text":"TemporaryFile(/tmp/multipartBody1142131095405623242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837703669,"filename":"image_10122025_17_01_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2504e8ffbf9d02e73f2ec3a0f76b866.jpg","text":"TemporaryFile(/tmp/multipartBody5707291000639289858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837703669,"filename":"image_10122025_17_01_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/12/27/a80af0c387514f5e80e47b541ca2b676.jpg","text":"TemporaryFile(/tmp/multipartBody2383873477008448996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837703669,"filename":"image_10122025_17_01_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/12/27/32afae9d89cfac926933e8a783883f56.jpg","text":"TemporaryFile(/tmp/multipartBody1832002449396361300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837703669,"filename":"image_10122025_17_01_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38c622e288d5ba1f69bd2549cef4110c.jpg","text":"TemporaryFile(/tmp/multipartBody6027668736673332608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837703669,"filename":"image_10122025_17_01_45_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270623","file1":"1401270620","file0":"1401270619","file4":"1401270626","file5":"1401270629","file3":"1401270625"},"map_files_photo_id_array":[{"photo_id":"1401270629","filename":"file5"},{"photo_id":"1401270623","filename":"file2"},{"photo_id":"1401270626","filename":"file4"},{"photo_id":"1401270620","filename":"file1"},{"photo_id":"1401270619","filename":"file0"},{"photo_id":"1401270625","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270629":["hashtag1","hashtag2"]},{"1401270623":["hashtag1","hashtag2"]},{"1401270626":["hashtag1","hashtag2"]},{"1401270620":["hashtag1","hashtag2"]},{"1401270625":["hashtag1","hashtag2"]},{"1401270619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270629, 1401270623, 1401270626, 1401270620, 1401270625, 1401270619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93089056015015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:14:47.240460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_17_00_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_55_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_45_10607.jpg', '/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_34_9601.jpg', '/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_25_10617.jpg', '/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_14_9621.jpg', '/home/nano/Desktop/images/10122025/16/59/image_10122025_17_00_05_9624.jpg', '/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_55_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_45_10607.jpg
/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_34_9601.jpg
/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_25_10617.jpg
/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_14_9621.jpg
/home/nano/Desktop/images/10122025/16/59/image_10122025_17_00_05_9624.jpg
/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_55_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":["1401270644","1401270646","1401270643","1401270642","1401270645","1401270648"],"photo_ids_order":["1401270642","1401270643","1401270644","1401270645","1401270646","1401270648"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8847b1539a8b6f6b7f7e6ee34fb8c743.jpg","text":"TemporaryFile(/tmp/multipartBody3527027185274754618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837748037,"filename":"image_10122025_17_00_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05acb740d43d8a948005d116bd7e1a35.jpg","text":"TemporaryFile(/tmp/multipartBody2900365443571910537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837748037,"filename":"image_10122025_17_00_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8894bd907ce73df2da901b75a8e116c.jpg","text":"TemporaryFile(/tmp/multipartBody2254953791970767003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837748037,"filename":"image_10122025_17_00_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/12/27/7272789e9a851cd22e01137826b6aa49.jpg","text":"TemporaryFile(/tmp/multipartBody2764263612336558886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837748037,"filename":"image_10122025_17_00_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/376d3325acff5eb1277ecaccd3d42a36.jpg","text":"TemporaryFile(/tmp/multipartBody5311265657053944707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837748037,"filename":"image_10122025_17_00_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b056938e13a220ce9ca40d6487ec5b02.jpg","text":"TemporaryFile(/tmp/multipartBody4173576889105630691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837748037,"filename":"image_10122025_16_59_55_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270644","file1":"1401270643","file0":"1401270642","file4":"1401270646","file5":"1401270648","file3":"1401270645"},"map_files_photo_id_array":[{"photo_id":"1401270648","filename":"file5"},{"photo_id":"1401270644","filename":"file2"},{"photo_id":"1401270646","filename":"file4"},{"photo_id":"1401270643","filename":"file1"},{"photo_id":"1401270642","filename":"file0"},{"photo_id":"1401270645","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270644":["hashtag1","hashtag2"]},{"1401270646":["hashtag1","hashtag2"]},{"1401270643":["hashtag1","hashtag2"]},{"1401270642":["hashtag1","hashtag2"]},{"1401270645":["hashtag1","hashtag2"]},{"1401270648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270644, 1401270646, 1401270643, 1401270642, 1401270645, 1401270648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8646183013916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:15:32.382708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_35_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_25_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_14_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_59_05_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_44_9621.jpg', '/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_35_9628.jpg', '/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_25_10661.jpg', '/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_14_9606.jpg', '/home/nano/Desktop/images/10122025/16/58/image_10122025_16_59_05_10616.jpg', '/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_44_9621.jpg
/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_35_9628.jpg
/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_25_10661.jpg
/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_14_9606.jpg
/home/nano/Desktop/images/10122025/16/58/image_10122025_16_59_05_10616.jpg
/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_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":["1401270665","1401270659","1401270661","1401270663","1401270657","1401270666"],"photo_ids_order":["1401270657","1401270659","1401270661","1401270663","1401270665","1401270666"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96bcd38b7b67098225c8e2efea213a69.jpg","text":"TemporaryFile(/tmp/multipartBody1389396375575033308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837793194,"filename":"image_10122025_16_59_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95a7c09e322256e73b71008d14474b3b.jpg","text":"TemporaryFile(/tmp/multipartBody621547027648679177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837793194,"filename":"image_10122025_16_59_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7adc0a3329fc7563b1a3912074edba4.jpg","text":"TemporaryFile(/tmp/multipartBody264303145925147349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837793194,"filename":"image_10122025_16_59_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2700f95f3320d8f901c0c380744a4528.jpg","text":"TemporaryFile(/tmp/multipartBody797434538746831511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837793194,"filename":"image_10122025_16_59_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9049894d539a01a313afca01e39b86e1.jpg","text":"TemporaryFile(/tmp/multipartBody6124363029087620093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837793194,"filename":"image_10122025_16_59_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/12/27/a15fdd1656e5f8c8725aca91608dfc54.jpg","text":"TemporaryFile(/tmp/multipartBody2087556192323454304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837793194,"filename":"image_10122025_16_58_54_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270661","file1":"1401270659","file0":"1401270657","file4":"1401270665","file5":"1401270666","file3":"1401270663"},"map_files_photo_id_array":[{"photo_id":"1401270666","filename":"file5"},{"photo_id":"1401270661","filename":"file2"},{"photo_id":"1401270665","filename":"file4"},{"photo_id":"1401270659","filename":"file1"},{"photo_id":"1401270657","filename":"file0"},{"photo_id":"1401270663","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270665":["hashtag1","hashtag2"]},{"1401270659":["hashtag1","hashtag2"]},{"1401270661":["hashtag1","hashtag2"]},{"1401270663":["hashtag1","hashtag2"]},{"1401270657":["hashtag1","hashtag2"]},{"1401270666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270665, 1401270659, 1401270661, 1401270663, 1401270657, 1401270666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.404141902923584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:16:17.605600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_45_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_24_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_15_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_58_05_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_45_9597.jpg', '/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_35_10615.jpg', '/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_24_9658.jpg', '/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_15_9665.jpg', '/home/nano/Desktop/images/10122025/16/57/image_10122025_16_58_05_10667.jpg', '/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_45_9597.jpg
/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_35_10615.jpg
/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_24_9658.jpg
/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_15_9665.jpg
/home/nano/Desktop/images/10122025/16/57/image_10122025_16_58_05_10667.jpg
/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_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":["1401270671","1401270680","1401270677","1401270682","1401270673","1401270678"],"photo_ids_order":["1401270671","1401270673","1401270677","1401270678","1401270680","1401270682"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fac86b12f32e66688ff674848a37ed98.jpg","text":"TemporaryFile(/tmp/multipartBody2784683372777853647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837838396,"filename":"image_10122025_16_58_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d41e898381eea60016aa9d3a45dead08.jpg","text":"TemporaryFile(/tmp/multipartBody7096056016609261213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837838396,"filename":"image_10122025_16_58_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d6248d3ae2de37b7590d77cf79496b8.jpg","text":"TemporaryFile(/tmp/multipartBody3854790702524532671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837838396,"filename":"image_10122025_16_58_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/12/27/dbeccf3226fd0d83ec52da9ba1b5abb8.jpg","text":"TemporaryFile(/tmp/multipartBody9028748772770412897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837838396,"filename":"image_10122025_16_57_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/12/27/00805209da20546e8a5ae1c1a1c0377f.jpg","text":"TemporaryFile(/tmp/multipartBody1789465755708944541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837838396,"filename":"image_10122025_16_58_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1caed3add66396234bfed64459832e0.jpg","text":"TemporaryFile(/tmp/multipartBody6660813027656533381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837838396,"filename":"image_10122025_16_58_15_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270677","file1":"1401270673","file0":"1401270671","file4":"1401270680","file5":"1401270682","file3":"1401270678"},"map_files_photo_id_array":[{"photo_id":"1401270682","filename":"file5"},{"photo_id":"1401270677","filename":"file2"},{"photo_id":"1401270680","filename":"file4"},{"photo_id":"1401270673","filename":"file1"},{"photo_id":"1401270671","filename":"file0"},{"photo_id":"1401270678","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270671":["hashtag1","hashtag2"]},{"1401270680":["hashtag1","hashtag2"]},{"1401270677":["hashtag1","hashtag2"]},{"1401270682":["hashtag1","hashtag2"]},{"1401270673":["hashtag1","hashtag2"]},{"1401270678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270671, 1401270680, 1401270677, 1401270682, 1401270673, 1401270678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59101366996765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:17:03.522757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_57_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_55_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_45_9623.jpg', '/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_35_10626.jpg', '/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_24_9599.jpg', '/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_15_10635.jpg', '/home/nano/Desktop/images/10122025/16/56/image_10122025_16_57_04_9628.jpg', '/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_55_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_45_9623.jpg
/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_35_10626.jpg
/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_24_9599.jpg
/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_15_10635.jpg
/home/nano/Desktop/images/10122025/16/56/image_10122025_16_57_04_9628.jpg
/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_55_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":["1401270695","1401270689","1401270691","1401270688","1401270693","1401270698"],"photo_ids_order":["1401270688","1401270689","1401270691","1401270693","1401270695","1401270698"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25ae812427427113e95d7f29d5f2c2a9.jpg","text":"TemporaryFile(/tmp/multipartBody226616855723976784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837884409,"filename":"image_10122025_16_57_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/12/27/a5b7ab0349bb52dbbcd879852f2d4af5.jpg","text":"TemporaryFile(/tmp/multipartBody2698269563967713839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837884409,"filename":"image_10122025_16_57_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44b4d8baf331c6a8870c36ca24b04ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7575291691732638142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837884409,"filename":"image_10122025_16_57_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/12/27/139b2357bd868acd6e97cb8ea7be2404.jpg","text":"TemporaryFile(/tmp/multipartBody4044698664359700165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837884409,"filename":"image_10122025_16_57_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83f14cbe981eb9e6b99058bf7cd49be6.jpg","text":"TemporaryFile(/tmp/multipartBody7813180019040618241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837884409,"filename":"image_10122025_16_57_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/774aed5b69eb869cd339c56da60263fc.jpg","text":"TemporaryFile(/tmp/multipartBody2397541083983511767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837884409,"filename":"image_10122025_16_56_55_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270691","file1":"1401270689","file0":"1401270688","file4":"1401270695","file5":"1401270698","file3":"1401270693"},"map_files_photo_id_array":[{"photo_id":"1401270698","filename":"file5"},{"photo_id":"1401270691","filename":"file2"},{"photo_id":"1401270695","filename":"file4"},{"photo_id":"1401270689","filename":"file1"},{"photo_id":"1401270688","filename":"file0"},{"photo_id":"1401270693","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270695":["hashtag1","hashtag2"]},{"1401270689":["hashtag1","hashtag2"]},{"1401270691":["hashtag1","hashtag2"]},{"1401270688":["hashtag1","hashtag2"]},{"1401270693":["hashtag1","hashtag2"]},{"1401270698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270695, 1401270689, 1401270691, 1401270688, 1401270693, 1401270698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51472568511963 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:17:47.693933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_56_04_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_55_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_45_10632.jpg', '/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_34_9607.jpg', '/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_25_10622.jpg', '/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_14_9641.jpg', '/home/nano/Desktop/images/10122025/16/55/image_10122025_16_56_04_9639.jpg', '/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_55_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_45_10632.jpg
/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_34_9607.jpg
/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_25_10622.jpg
/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_14_9641.jpg
/home/nano/Desktop/images/10122025/16/55/image_10122025_16_56_04_9639.jpg
/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_55_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":["1401270710","1401270707","1401270709","1401270706","1401270711","1401270708"],"photo_ids_order":["1401270706","1401270707","1401270708","1401270709","1401270710","1401270711"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55b0d67e7d0cc11303f59039af9746d0.jpg","text":"TemporaryFile(/tmp/multipartBody7079877725679963156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837928496,"filename":"image_10122025_16_56_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/12/27/4701b6a4e6df294dc4524ec185711d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4640792134090947579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837928496,"filename":"image_10122025_16_56_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/12/27/6c232313456999c285dc4afcc3aa9241.jpg","text":"TemporaryFile(/tmp/multipartBody4158732649110940991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837928496,"filename":"image_10122025_16_56_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/12/27/419dd77f744ad7f67df8910824151ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8204586737164937324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837928496,"filename":"image_10122025_16_56_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90da68f7f87e226746a2a33ce3030b67.jpg","text":"TemporaryFile(/tmp/multipartBody4546558761224266313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837928496,"filename":"image_10122025_16_55_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dce382b0fbec9228dd7d8835fdb5d293.jpg","text":"TemporaryFile(/tmp/multipartBody6185781749374388472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837928496,"filename":"image_10122025_16_56_25_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270708","file1":"1401270707","file0":"1401270706","file4":"1401270710","file5":"1401270711","file3":"1401270709"},"map_files_photo_id_array":[{"photo_id":"1401270711","filename":"file5"},{"photo_id":"1401270708","filename":"file2"},{"photo_id":"1401270710","filename":"file4"},{"photo_id":"1401270707","filename":"file1"},{"photo_id":"1401270706","filename":"file0"},{"photo_id":"1401270709","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270710":["hashtag1","hashtag2"]},{"1401270707":["hashtag1","hashtag2"]},{"1401270709":["hashtag1","hashtag2"]},{"1401270706":["hashtag1","hashtag2"]},{"1401270711":["hashtag1","hashtag2"]},{"1401270708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270710, 1401270707, 1401270709, 1401270706, 1401270711, 1401270708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.369458198547363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:18:31.769666
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_55_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_55_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_44_9625.jpg', '/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_35_9626.jpg', '/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_25_10636.jpg', '/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_14_9625.jpg', '/home/nano/Desktop/images/10122025/16/54/image_10122025_16_55_05_9637.jpg', '/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_55_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_44_9625.jpg
/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_35_9626.jpg
/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_25_10636.jpg
/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_14_9625.jpg
/home/nano/Desktop/images/10122025/16/54/image_10122025_16_55_05_9637.jpg
/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_55_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":["1401270716","1401270731","1401270725","1401270721","1401270718","1401270729"],"photo_ids_order":["1401270716","1401270718","1401270721","1401270725","1401270729","1401270731"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cb72fbb36a7dd286cc406716ad7361c.jpg","text":"TemporaryFile(/tmp/multipartBody3306310588159374409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837972550,"filename":"image_10122025_16_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/12/27/a1bf3d478c2e47a5d5b9d5d65f7b9901.jpg","text":"TemporaryFile(/tmp/multipartBody8616467033309930477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837972550,"filename":"image_10122025_16_54_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb415ca534307b4aff30f999474ec69c.jpg","text":"TemporaryFile(/tmp/multipartBody3082987848507696747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837972550,"filename":"image_10122025_16_55_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/12/27/db333922db08797460ba8ba3ce121eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5572094269715081112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837972550,"filename":"image_10122025_16_55_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ff76c310b2dd9b9e4eb4ca387ed8dc3.jpg","text":"TemporaryFile(/tmp/multipartBody5784106606591928885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837972550,"filename":"image_10122025_16_55_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/786010e1c4adae16e0d16538aa3aae99.jpg","text":"TemporaryFile(/tmp/multipartBody5599718340863190268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766837972550,"filename":"image_10122025_16_55_05_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270721","file1":"1401270718","file0":"1401270716","file4":"1401270729","file5":"1401270731","file3":"1401270725"},"map_files_photo_id_array":[{"photo_id":"1401270731","filename":"file5"},{"photo_id":"1401270721","filename":"file2"},{"photo_id":"1401270729","filename":"file4"},{"photo_id":"1401270718","filename":"file1"},{"photo_id":"1401270716","filename":"file0"},{"photo_id":"1401270725","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270716":["hashtag1","hashtag2"]},{"1401270731":["hashtag1","hashtag2"]},{"1401270725":["hashtag1","hashtag2"]},{"1401270721":["hashtag1","hashtag2"]},{"1401270718":["hashtag1","hashtag2"]},{"1401270729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270716, 1401270731, 1401270725, 1401270721, 1401270718, 1401270729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.067129373550415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:19:16.896141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_54_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_44_9629.jpg', '/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_35_10622.jpg', '/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_24_9624.jpg', '/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_15_9613.jpg', '/home/nano/Desktop/images/10122025/16/53/image_10122025_16_54_05_10630.jpg', '/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_44_9629.jpg
/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_35_10622.jpg
/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_24_9624.jpg
/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_15_9613.jpg
/home/nano/Desktop/images/10122025/16/53/image_10122025_16_54_05_10630.jpg
/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_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":["1401270746","1401270740","1401270743","1401270739","1401270748","1401270750"],"photo_ids_order":["1401270739","1401270740","1401270743","1401270746","1401270748","1401270750"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f542cc2354aad4224ad2d26cffc8000.jpg","text":"TemporaryFile(/tmp/multipartBody5256140181215828885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838017690,"filename":"image_10122025_16_54_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/064c04c302a469bc4a6af7fdc0adf5b1.jpg","text":"TemporaryFile(/tmp/multipartBody8919271272281267277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838017690,"filename":"image_10122025_16_54_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee57e9fa0aef0c590fc493585843493b.jpg","text":"TemporaryFile(/tmp/multipartBody7317017725218235333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838017690,"filename":"image_10122025_16_54_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/12/27/337b4b88dff11a6802411da603c38b24.jpg","text":"TemporaryFile(/tmp/multipartBody4071317025355902145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838017690,"filename":"image_10122025_16_54_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/12/27/d0e3ceaa134637ebb16a3bb33ca366d1.jpg","text":"TemporaryFile(/tmp/multipartBody1019146555459028314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838017690,"filename":"image_10122025_16_54_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/902cf8cf3a68d502c8fcda4816114de9.jpg","text":"TemporaryFile(/tmp/multipartBody8148966100710096819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838017690,"filename":"image_10122025_16_53_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270743","file1":"1401270740","file0":"1401270739","file4":"1401270748","file5":"1401270750","file3":"1401270746"},"map_files_photo_id_array":[{"photo_id":"1401270750","filename":"file5"},{"photo_id":"1401270743","filename":"file2"},{"photo_id":"1401270748","filename":"file4"},{"photo_id":"1401270740","filename":"file1"},{"photo_id":"1401270739","filename":"file0"},{"photo_id":"1401270746","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270746":["hashtag1","hashtag2"]},{"1401270740":["hashtag1","hashtag2"]},{"1401270743":["hashtag1","hashtag2"]},{"1401270739":["hashtag1","hashtag2"]},{"1401270748":["hashtag1","hashtag2"]},{"1401270750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270746, 1401270740, 1401270743, 1401270739, 1401270748, 1401270750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45093369483948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:20:02.500800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_53_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_55_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_45_9608.jpg', '/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_35_10612.jpg', '/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_24_9613.jpg', '/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_15_10638.jpg', '/home/nano/Desktop/images/10122025/16/52/image_10122025_16_53_04_9622.jpg', '/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_55_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_45_9608.jpg
/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_35_10612.jpg
/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_24_9613.jpg
/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_15_10638.jpg
/home/nano/Desktop/images/10122025/16/52/image_10122025_16_53_04_9622.jpg
/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_55_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":["1401270764","1401270758","1401270760","1401270754","1401270762","1401270756"],"photo_ids_order":["1401270754","1401270756","1401270758","1401270760","1401270762","1401270764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dafdbbc5989f7e9f6eab3fd41aad1e75.jpg","text":"TemporaryFile(/tmp/multipartBody6257631737779032873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838063423,"filename":"image_10122025_16_52_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7e58f7c12368f19eb416be82cf9346a.jpg","text":"TemporaryFile(/tmp/multipartBody5326026394877705251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838063423,"filename":"image_10122025_16_53_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/12/27/bf831b674175d4dce0d8a358ad66d6cd.jpg","text":"TemporaryFile(/tmp/multipartBody6547668892121976424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838063423,"filename":"image_10122025_16_53_15_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9703c02bb5fe2012668f614810712b0c.jpg","text":"TemporaryFile(/tmp/multipartBody632543918482975052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838063423,"filename":"image_10122025_16_53_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25c1b82ffc1e5e1855a9f635147ef8db.jpg","text":"TemporaryFile(/tmp/multipartBody8691315807607044399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838063423,"filename":"image_10122025_16_53_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/12/27/534be327f06122fa70394dfbdcdcb533.jpg","text":"TemporaryFile(/tmp/multipartBody2389383235530549426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838063423,"filename":"image_10122025_16_53_35_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270758","file1":"1401270756","file0":"1401270754","file4":"1401270762","file5":"1401270764","file3":"1401270760"},"map_files_photo_id_array":[{"photo_id":"1401270764","filename":"file5"},{"photo_id":"1401270758","filename":"file2"},{"photo_id":"1401270762","filename":"file4"},{"photo_id":"1401270756","filename":"file1"},{"photo_id":"1401270754","filename":"file0"},{"photo_id":"1401270760","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270764":["hashtag1","hashtag2"]},{"1401270758":["hashtag1","hashtag2"]},{"1401270760":["hashtag1","hashtag2"]},{"1401270754":["hashtag1","hashtag2"]},{"1401270762":["hashtag1","hashtag2"]},{"1401270756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270764, 1401270758, 1401270760, 1401270754, 1401270762, 1401270756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21432447433472 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:20:46.990152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_34_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_25_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_15_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_52_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_55_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_45_10622.jpg', '/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_34_9632.jpg', '/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_25_9613.jpg', '/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_15_10660.jpg', '/home/nano/Desktop/images/10122025/16/51/image_10122025_16_52_04_9624.jpg', '/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_55_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_45_10622.jpg
/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_34_9632.jpg
/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_25_9613.jpg
/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_15_10660.jpg
/home/nano/Desktop/images/10122025/16/51/image_10122025_16_52_04_9624.jpg
/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_55_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":["1401270779","1401270776","1401270781","1401270778","1401270777","1401270782"],"photo_ids_order":["1401270776","1401270777","1401270778","1401270779","1401270781","1401270782"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/873c8de4e032aa543b7423da873ee8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2874915024749054484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838107776,"filename":"image_10122025_16_52_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8309144bddc1d422819512247911c004.jpg","text":"TemporaryFile(/tmp/multipartBody1918395138248998644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838107776,"filename":"image_10122025_16_52_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d20b810bc330b6e3c7add2e564ca284d.jpg","text":"TemporaryFile(/tmp/multipartBody8124626102367072165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838107776,"filename":"image_10122025_16_52_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/12/27/ba271f7b467b8b32202243b57100bdf4.jpg","text":"TemporaryFile(/tmp/multipartBody9124105336001805815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838107776,"filename":"image_10122025_16_52_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53afee0eb1b815b81e803b3d4b6882a2.jpg","text":"TemporaryFile(/tmp/multipartBody4884069867113072793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838107776,"filename":"image_10122025_16_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/12/27/faaabc5f0edfbad14bc796756b0ee2dc.jpg","text":"TemporaryFile(/tmp/multipartBody6471745660513792045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838107776,"filename":"image_10122025_16_51_55_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270778","file1":"1401270777","file0":"1401270776","file4":"1401270781","file5":"1401270782","file3":"1401270779"},"map_files_photo_id_array":[{"photo_id":"1401270782","filename":"file5"},{"photo_id":"1401270778","filename":"file2"},{"photo_id":"1401270781","filename":"file4"},{"photo_id":"1401270777","filename":"file1"},{"photo_id":"1401270776","filename":"file0"},{"photo_id":"1401270779","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270779":["hashtag1","hashtag2"]},{"1401270776":["hashtag1","hashtag2"]},{"1401270781":["hashtag1","hashtag2"]},{"1401270778":["hashtag1","hashtag2"]},{"1401270777":["hashtag1","hashtag2"]},{"1401270782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270779, 1401270776, 1401270781, 1401270778, 1401270777, 1401270782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.761839151382446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:21:32.089566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_35_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_25_10712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_14_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_51_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_55_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_44_9607.jpg', '/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_35_9707.jpg', '/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_25_10712.jpg', '/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_14_9711.jpg', '/home/nano/Desktop/images/10122025/16/50/image_10122025_16_51_04_9709.jpg', '/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_55_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_44_9607.jpg
/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_35_9707.jpg
/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_25_10712.jpg
/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_14_9711.jpg
/home/nano/Desktop/images/10122025/16/50/image_10122025_16_51_04_9709.jpg
/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_55_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":["1401270791","1401270794","1401270800","1401270799","1401270792","1401270797"],"photo_ids_order":["1401270791","1401270792","1401270794","1401270797","1401270799","1401270800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a57076882ee2dfaa9567a6e5c85f8fc6.jpg","text":"TemporaryFile(/tmp/multipartBody914140687523714514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838152905,"filename":"image_10122025_16_51_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/12/27/6673d4df1dd679a49392849f9c3dea3b.jpg","text":"TemporaryFile(/tmp/multipartBody9096954856713972184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838152905,"filename":"image_10122025_16_51_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7396f3467af790920944706bb5e68acd.jpg","text":"TemporaryFile(/tmp/multipartBody5625994949200653543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838152905,"filename":"image_10122025_16_50_55_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/911718d0cf89c1d57665a8552dc2cecf.jpg","text":"TemporaryFile(/tmp/multipartBody1427988849159364290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838152905,"filename":"image_10122025_16_51_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/12/27/70fd0e74a4aadfb2268de350f23e33aa.jpg","text":"TemporaryFile(/tmp/multipartBody8984458755416999752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838152905,"filename":"image_10122025_16_51_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1768f7fec2bc4234ba84a48a31ebe7ab.jpg","text":"TemporaryFile(/tmp/multipartBody7014389589204869863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838152905,"filename":"image_10122025_16_51_14_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270794","file1":"1401270792","file0":"1401270791","file4":"1401270799","file5":"1401270800","file3":"1401270797"},"map_files_photo_id_array":[{"photo_id":"1401270800","filename":"file5"},{"photo_id":"1401270794","filename":"file2"},{"photo_id":"1401270799","filename":"file4"},{"photo_id":"1401270792","filename":"file1"},{"photo_id":"1401270791","filename":"file0"},{"photo_id":"1401270797","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270791":["hashtag1","hashtag2"]},{"1401270794":["hashtag1","hashtag2"]},{"1401270800":["hashtag1","hashtag2"]},{"1401270799":["hashtag1","hashtag2"]},{"1401270792":["hashtag1","hashtag2"]},{"1401270797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270791, 1401270794, 1401270800, 1401270799, 1401270792, 1401270797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15111303329468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:22:17.241633
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_45_10717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_34_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_25_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_15_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_50_04_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_54_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_45_10717.jpg', '/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_34_9708.jpg', '/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_25_9718.jpg', '/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_15_10736.jpg', '/home/nano/Desktop/images/10122025/16/49/image_10122025_16_50_04_9718.jpg', '/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_54_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_45_10717.jpg
/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_34_9708.jpg
/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_25_9718.jpg
/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_15_10736.jpg
/home/nano/Desktop/images/10122025/16/49/image_10122025_16_50_04_9718.jpg
/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_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":["1401270816","1401270805","1401270819","1401270810","1401270813","1401270807"],"photo_ids_order":["1401270805","1401270807","1401270810","1401270813","1401270816","1401270819"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01c2ebc6094d4547d087cebc39cb3860.jpg","text":"TemporaryFile(/tmp/multipartBody2847017920927822458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838198068,"filename":"image_10122025_16_50_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0427b67d087f10c9e939645b2e18dc3b.jpg","text":"TemporaryFile(/tmp/multipartBody3604714917554336113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838198068,"filename":"image_10122025_16_50_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e13236817fe75eca65ffbbb9a19f994e.jpg","text":"TemporaryFile(/tmp/multipartBody4095331088119096414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838198068,"filename":"image_10122025_16_49_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/12/27/e91edbed607d286e57864fb261e3a1b1.jpg","text":"TemporaryFile(/tmp/multipartBody6513428006204205896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838198068,"filename":"image_10122025_16_50_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/098697f25901a5d78b9697d88077a214.jpg","text":"TemporaryFile(/tmp/multipartBody1679718448950675395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838198068,"filename":"image_10122025_16_50_15_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/910ab530db0a76edb2d9213c2c9f320b.jpg","text":"TemporaryFile(/tmp/multipartBody7592781671908897988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838198068,"filename":"image_10122025_16_50_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270810","file1":"1401270807","file0":"1401270805","file4":"1401270816","file5":"1401270819","file3":"1401270813"},"map_files_photo_id_array":[{"photo_id":"1401270819","filename":"file5"},{"photo_id":"1401270810","filename":"file2"},{"photo_id":"1401270816","filename":"file4"},{"photo_id":"1401270807","filename":"file1"},{"photo_id":"1401270805","filename":"file0"},{"photo_id":"1401270813","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270816":["hashtag1","hashtag2"]},{"1401270805":["hashtag1","hashtag2"]},{"1401270819":["hashtag1","hashtag2"]},{"1401270810":["hashtag1","hashtag2"]},{"1401270813":["hashtag1","hashtag2"]},{"1401270807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270816, 1401270805, 1401270819, 1401270810, 1401270813, 1401270807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.759809494018555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:23:02.923490
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_45_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_35_10716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_24_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_15_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_49_05_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_54_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_45_9711.jpg', '/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_35_10716.jpg', '/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_24_9706.jpg', '/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_15_9728.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_49_05_10733.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_54_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_45_9711.jpg
/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_35_10716.jpg
/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_24_9706.jpg
/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_15_9728.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_49_05_10733.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_54_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270827","1401270830","1401270832","1401270835","1401270825","1401270828"],"photo_ids_order":["1401270825","1401270827","1401270828","1401270830","1401270832","1401270835"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f56185304f57d0af989f3f5eb1e42a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4432758611619457838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838243825,"filename":"image_10122025_16_49_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1c4d4a72afbeb2b302224f7b5b541a3.jpg","text":"TemporaryFile(/tmp/multipartBody6431656815758281819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838243825,"filename":"image_10122025_16_49_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d785e951e2c8c766bacd4d096dfce02.jpg","text":"TemporaryFile(/tmp/multipartBody6245216539738446242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838243825,"filename":"image_10122025_16_49_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58dd007032240d75459f919dc3969ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4945532716608984167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838243825,"filename":"image_10122025_16_48_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b68841e69df30ff312d3984bb0220f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6607285350959417625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838243825,"filename":"image_10122025_16_49_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1914b012174c8313c76f5564ebdee024.jpg","text":"TemporaryFile(/tmp/multipartBody181771934490684262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838243825,"filename":"image_10122025_16_49_24_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270828","file1":"1401270827","file0":"1401270825","file4":"1401270832","file5":"1401270835","file3":"1401270830"},"map_files_photo_id_array":[{"photo_id":"1401270835","filename":"file5"},{"photo_id":"1401270828","filename":"file2"},{"photo_id":"1401270832","filename":"file4"},{"photo_id":"1401270827","filename":"file1"},{"photo_id":"1401270825","filename":"file0"},{"photo_id":"1401270830","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270827":["hashtag1","hashtag2"]},{"1401270830":["hashtag1","hashtag2"]},{"1401270832":["hashtag1","hashtag2"]},{"1401270835":["hashtag1","hashtag2"]},{"1401270825":["hashtag1","hashtag2"]},{"1401270828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270827, 1401270830, 1401270832, 1401270835, 1401270825, 1401270828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36583948135376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:23:47.383179
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/13/23/image_27122025_13_23_14_9531.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/13/23/image_27122025_13_23_14_9531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/13/23/image_27122025_13_23_14_9531.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270844"],"photo_id":"1401270844","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/155a746e5baa33f9aa627540bf6a8d89.jpg","text":"TemporaryFile(/tmp/multipartBody6202132794204975745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838287622,"filename":"image_27122025_13_23_14_9531.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401270844"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401270844"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.200026035308838 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:24:03.431440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg', '/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg', '/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg
/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg
/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.766749382019043 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:24:17.518171
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg', '/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg', '/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg', '/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg
/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg
/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg
/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270863","1401270865","1401270853","1401270861","1401270855","1401270858"],"photo_ids_order":["1401270853","1401270855","1401270858","1401270861","1401270863","1401270865"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/267c7f1a51be8ffb8f472998f9df3445.jpg","text":"TemporaryFile(/tmp/multipartBody6899273256130335800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838318321,"filename":"image_10122025_16_48_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61033526bd26d160b9864580ccf65964.jpg","text":"TemporaryFile(/tmp/multipartBody9013844125619205221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838318321,"filename":"image_10122025_16_47_55_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dca8e47323c01580812313d4467b043.jpg","text":"TemporaryFile(/tmp/multipartBody2501316048993164265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838318321,"filename":"image_10122025_16_48_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65745b46e3dd2b20b0272bf7c72b4963.jpg","text":"TemporaryFile(/tmp/multipartBody8237822847834016336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838318321,"filename":"image_10122025_16_48_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/12/27/1df6214281b9a5d54ec6841b3b1b2f03.jpg","text":"TemporaryFile(/tmp/multipartBody9195780353223582785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838318321,"filename":"image_10122025_16_48_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2ce1ddd3cdaa922a64929cc2735475a.jpg","text":"TemporaryFile(/tmp/multipartBody5627989594195949998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838318321,"filename":"image_10122025_16_48_25_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270858","file1":"1401270855","file0":"1401270853","file4":"1401270863","file5":"1401270865","file3":"1401270861"},"map_files_photo_id_array":[{"photo_id":"1401270865","filename":"file5"},{"photo_id":"1401270858","filename":"file2"},{"photo_id":"1401270863","filename":"file4"},{"photo_id":"1401270855","filename":"file1"},{"photo_id":"1401270853","filename":"file0"},{"photo_id":"1401270861","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270863":["hashtag1","hashtag2"]},{"1401270865":["hashtag1","hashtag2"]},{"1401270853":["hashtag1","hashtag2"]},{"1401270861":["hashtag1","hashtag2"]},{"1401270855":["hashtag1","hashtag2"]},{"1401270858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270863, 1401270865, 1401270853, 1401270861, 1401270855, 1401270858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.151939153671265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:25:03.113164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_54_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_54_9712.jpg', '/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', '/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', '/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', '/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', '/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_54_9712.jpg
/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg
/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg
/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg
/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg
/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_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":["1401270878","1401270872","1401270874","1401270876","1401270870","1401270881"],"photo_ids_order":["1401270870","1401270872","1401270874","1401270876","1401270878","1401270881"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7898cfd7a9c3aa03fc226be17813e135.jpg","text":"TemporaryFile(/tmp/multipartBody140757079111539065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838363969,"filename":"image_10122025_16_45_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39b9e245ae1c5aabd68bb00ada3e1b85.jpg","text":"TemporaryFile(/tmp/multipartBody5001471989483069485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838363969,"filename":"image_10122025_16_45_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/674f8303f588a3092327c2caa092ea71.jpg","text":"TemporaryFile(/tmp/multipartBody7041276970379188076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838363969,"filename":"image_10122025_16_45_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bf326ea22d5fe26769795820dc02027.jpg","text":"TemporaryFile(/tmp/multipartBody3415990663561979827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838363969,"filename":"image_10122025_16_45_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb1922982b99282a017b5b3c0b9fb5d1.jpg","text":"TemporaryFile(/tmp/multipartBody2046056064689533245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838363969,"filename":"image_10122025_16_45_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/12/27/23ebafce6dc3d6d588856f80d5af8606.jpg","text":"TemporaryFile(/tmp/multipartBody4902300731404681544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838363969,"filename":"image_10122025_16_44_55_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270874","file1":"1401270872","file0":"1401270870","file4":"1401270878","file5":"1401270881","file3":"1401270876"},"map_files_photo_id_array":[{"photo_id":"1401270881","filename":"file5"},{"photo_id":"1401270874","filename":"file2"},{"photo_id":"1401270878","filename":"file4"},{"photo_id":"1401270872","filename":"file1"},{"photo_id":"1401270870","filename":"file0"},{"photo_id":"1401270876","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270878":["hashtag1","hashtag2"]},{"1401270872":["hashtag1","hashtag2"]},{"1401270874":["hashtag1","hashtag2"]},{"1401270876":["hashtag1","hashtag2"]},{"1401270870":["hashtag1","hashtag2"]},{"1401270881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270878, 1401270872, 1401270874, 1401270876, 1401270870, 1401270881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8830463886261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:25:47.662672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_25_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_44_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_54_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_45_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_35_10745.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', '/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_25_9735.jpg', '/home/nano/Desktop/images/10122025/16/43/image_10122025_16_44_04_9714.jpg', '/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_54_9712.jpg', '/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_45_9733.jpg', '/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_35_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg
/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_25_9735.jpg
/home/nano/Desktop/images/10122025/16/43/image_10122025_16_44_04_9714.jpg
/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_54_9712.jpg
/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_45_9733.jpg
/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_35_10745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270890","1401270893","1401270895","1401270889","1401270891","1401270888"],"photo_ids_order":["1401270888","1401270889","1401270890","1401270891","1401270893","1401270895"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fa668e900556fe196514b5adcb32f74c.jpg","text":"TemporaryFile(/tmp/multipartBody711787881526566096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838408489,"filename":"image_10122025_16_44_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3c04c8368644365081d7943bffc20b7.jpg","text":"TemporaryFile(/tmp/multipartBody517626528900006059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838408489,"filename":"image_10122025_16_43_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb47395dd96e1026264cf8c5e1a8e5eb.jpg","text":"TemporaryFile(/tmp/multipartBody6492838843567334505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838408489,"filename":"image_10122025_16_43_35_10745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f463958835201e6e9ec1e38ddcb81be0.jpg","text":"TemporaryFile(/tmp/multipartBody998331911488385410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838408489,"filename":"image_10122025_16_44_25_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86f66864b94315f43cb5ba5d15478774.jpg","text":"TemporaryFile(/tmp/multipartBody7436400852684288667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838408489,"filename":"image_10122025_16_43_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/12/27/28027d7633dea0472f2e14e6680348fa.jpg","text":"TemporaryFile(/tmp/multipartBody6401744041116948961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838408489,"filename":"image_10122025_16_44_45_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270890","file1":"1401270889","file0":"1401270888","file4":"1401270893","file5":"1401270895","file3":"1401270891"},"map_files_photo_id_array":[{"photo_id":"1401270895","filename":"file5"},{"photo_id":"1401270890","filename":"file2"},{"photo_id":"1401270893","filename":"file4"},{"photo_id":"1401270889","filename":"file1"},{"photo_id":"1401270888","filename":"file0"},{"photo_id":"1401270891","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270890":["hashtag1","hashtag2"]},{"1401270893":["hashtag1","hashtag2"]},{"1401270895":["hashtag1","hashtag2"]},{"1401270889":["hashtag1","hashtag2"]},{"1401270891":["hashtag1","hashtag2"]},{"1401270888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270890, 1401270893, 1401270895, 1401270889, 1401270891, 1401270888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32581281661987 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:26:31.780255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_24_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_15_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_43_05_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_54_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_35_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_25_10724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_24_9715.jpg', '/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_15_9719.jpg', '/home/nano/Desktop/images/10122025/16/42/image_10122025_16_43_05_10741.jpg', '/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_54_9712.jpg', '/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_35_9731.jpg', '/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_25_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_24_9715.jpg
/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_15_9719.jpg
/home/nano/Desktop/images/10122025/16/42/image_10122025_16_43_05_10741.jpg
/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_54_9712.jpg
/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_35_9731.jpg
/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_25_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270909","1401270913","1401270904","1401270903","1401270912","1401270906"],"photo_ids_order":["1401270903","1401270904","1401270906","1401270909","1401270912","1401270913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba600f9dfd69e7d36cd348ab5f763731.jpg","text":"TemporaryFile(/tmp/multipartBody4055631589376728351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838452668,"filename":"image_10122025_16_42_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/12/27/06aab7752544aa37d61c15c43a20aa3d.jpg","text":"TemporaryFile(/tmp/multipartBody2629876476343948405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838452668,"filename":"image_10122025_16_42_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37cb0b8cb62471db637fa4ce05538317.jpg","text":"TemporaryFile(/tmp/multipartBody2476552158777917634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838452668,"filename":"image_10122025_16_43_15_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88c7d583b14a6ac2381a06098a62606d.jpg","text":"TemporaryFile(/tmp/multipartBody4892167289082646009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838452668,"filename":"image_10122025_16_43_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d08c2be233fb11d341d97f71bcd8ae6e.jpg","text":"TemporaryFile(/tmp/multipartBody3533595576208592976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838452668,"filename":"image_10122025_16_42_35_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c61d6a0954d458ad39e485194f1bdd4.jpg","text":"TemporaryFile(/tmp/multipartBody658202587714031788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838452668,"filename":"image_10122025_16_43_05_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270906","file1":"1401270904","file0":"1401270903","file4":"1401270912","file5":"1401270913","file3":"1401270909"},"map_files_photo_id_array":[{"photo_id":"1401270913","filename":"file5"},{"photo_id":"1401270906","filename":"file2"},{"photo_id":"1401270912","filename":"file4"},{"photo_id":"1401270904","filename":"file1"},{"photo_id":"1401270903","filename":"file0"},{"photo_id":"1401270909","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270909":["hashtag1","hashtag2"]},{"1401270913":["hashtag1","hashtag2"]},{"1401270904":["hashtag1","hashtag2"]},{"1401270903":["hashtag1","hashtag2"]},{"1401270912":["hashtag1","hashtag2"]},{"1401270906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270909, 1401270913, 1401270904, 1401270903, 1401270912, 1401270906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59998178482056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:27:16.881593
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_42_04_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_55_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_34_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_25_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_15_10742.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/41/image_10122025_16_42_04_9722.jpg', '/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_55_9715.jpg', '/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_45_10723.jpg', '/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_34_9716.jpg', '/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_25_9712.jpg', '/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_15_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/41/image_10122025_16_42_04_9722.jpg
/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_55_9715.jpg
/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_45_10723.jpg
/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_34_9716.jpg
/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_25_9712.jpg
/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_15_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270925","1401270919","1401270928","1401270922","1401270918","1401270927"],"photo_ids_order":["1401270918","1401270919","1401270922","1401270925","1401270927","1401270928"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/137eea34db37d93748579db75005e658.jpg","text":"TemporaryFile(/tmp/multipartBody5231128306890717250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838497713,"filename":"image_10122025_16_41_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88a25982ad239d5bb8568effb53e65c3.jpg","text":"TemporaryFile(/tmp/multipartBody1994264606479592709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838497713,"filename":"image_10122025_16_41_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bff8fb2a287600bbb27e60c4582367cb.jpg","text":"TemporaryFile(/tmp/multipartBody7047823065129063156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838497713,"filename":"image_10122025_16_41_15_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d68236f7c3c1ad70466d7c9e111382e.jpg","text":"TemporaryFile(/tmp/multipartBody6114265171386989473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838497713,"filename":"image_10122025_16_41_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c737c3dde213d0451834f884e6a6733b.jpg","text":"TemporaryFile(/tmp/multipartBody5107751986024743675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838497713,"filename":"image_10122025_16_42_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/814b7c0b8251aeffe75c76fd2bc299eb.jpg","text":"TemporaryFile(/tmp/multipartBody1249694785034336696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838497713,"filename":"image_10122025_16_41_25_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270922","file1":"1401270919","file0":"1401270918","file4":"1401270927","file5":"1401270928","file3":"1401270925"},"map_files_photo_id_array":[{"photo_id":"1401270928","filename":"file5"},{"photo_id":"1401270922","filename":"file2"},{"photo_id":"1401270927","filename":"file4"},{"photo_id":"1401270919","filename":"file1"},{"photo_id":"1401270918","filename":"file0"},{"photo_id":"1401270925","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270925":["hashtag1","hashtag2"]},{"1401270919":["hashtag1","hashtag2"]},{"1401270928":["hashtag1","hashtag2"]},{"1401270922":["hashtag1","hashtag2"]},{"1401270918":["hashtag1","hashtag2"]},{"1401270927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270925, 1401270919, 1401270928, 1401270922, 1401270918, 1401270927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.703584671020508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:28:02.463915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/40/image_10122025_16_41_04_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/40/image_10122025_16_40_54_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_40_05_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_35_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_14_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_55_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/40/image_10122025_16_41_04_9728.jpg', '/home/nano/Desktop/images/10122025/16/40/image_10122025_16_40_54_9713.jpg', '/home/nano/Desktop/images/10122025/16/39/image_10122025_16_40_05_9740.jpg', '/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_35_9735.jpg', '/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_14_9739.jpg', '/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_55_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/40/image_10122025_16_41_04_9728.jpg
/home/nano/Desktop/images/10122025/16/40/image_10122025_16_40_54_9713.jpg
/home/nano/Desktop/images/10122025/16/39/image_10122025_16_40_05_9740.jpg
/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_35_9735.jpg
/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_14_9739.jpg
/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_55_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":["1401270932","1401270938","1401270940","1401270934","1401270942","1401270936"],"photo_ids_order":["1401270932","1401270934","1401270936","1401270938","1401270940","1401270942"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cddf4361de63dfd23e30301cbd873506.jpg","text":"TemporaryFile(/tmp/multipartBody2623265626297566142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838543321,"filename":"image_10122025_16_41_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/12/27/57891a4c146bfd15310814cfe1be61ef.jpg","text":"TemporaryFile(/tmp/multipartBody1422641745882410836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838543321,"filename":"image_10122025_16_39_35_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db67a4ac90448515802c6be4d5034926.jpg","text":"TemporaryFile(/tmp/multipartBody6149522042450173757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838543321,"filename":"image_10122025_16_39_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79d8ab655f222a51868dcd2aa4432831.jpg","text":"TemporaryFile(/tmp/multipartBody4806715406542999382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838543321,"filename":"image_10122025_16_40_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/12/27/655729037395de6320d084605f3fe625.jpg","text":"TemporaryFile(/tmp/multipartBody4961074258561337903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838543321,"filename":"image_10122025_16_38_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e135fdf9db94a09a97da55d19044f8c6.jpg","text":"TemporaryFile(/tmp/multipartBody704409101150091214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838543321,"filename":"image_10122025_16_40_05_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270936","file1":"1401270934","file0":"1401270932","file4":"1401270940","file5":"1401270942","file3":"1401270938"},"map_files_photo_id_array":[{"photo_id":"1401270942","filename":"file5"},{"photo_id":"1401270936","filename":"file2"},{"photo_id":"1401270940","filename":"file4"},{"photo_id":"1401270934","filename":"file1"},{"photo_id":"1401270932","filename":"file0"},{"photo_id":"1401270938","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270932":["hashtag1","hashtag2"]},{"1401270938":["hashtag1","hashtag2"]},{"1401270940":["hashtag1","hashtag2"]},{"1401270934":["hashtag1","hashtag2"]},{"1401270942":["hashtag1","hashtag2"]},{"1401270936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270932, 1401270938, 1401270940, 1401270934, 1401270942, 1401270936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.521442890167236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:28:46.980658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_54_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_35_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_14_9733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', '/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg', '/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_54_9715.jpg', '/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', '/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_35_10741.jpg', '/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg
/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg
/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_54_9715.jpg
/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg
/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_35_10741.jpg
/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_14_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401270953","1401270956","1401270955","1401270958","1401270952","1401270954"],"photo_ids_order":["1401270952","1401270953","1401270954","1401270955","1401270956","1401270958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d12c7f864939450533a357aea4b9d59.jpg","text":"TemporaryFile(/tmp/multipartBody7263053996398173267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838587829,"filename":"image_10122025_16_38_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6be542bb742a2cf995bc754a75a4d38.jpg","text":"TemporaryFile(/tmp/multipartBody3409748758503032434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838587829,"filename":"image_10122025_16_37_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d53df82cdd692e13050f7e00eaf3976.jpg","text":"TemporaryFile(/tmp/multipartBody7212600873549769714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838587829,"filename":"image_10122025_16_37_45_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98e8295b8f9a9158a70734f0894954c1.jpg","text":"TemporaryFile(/tmp/multipartBody5977577408369467895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838587829,"filename":"image_10122025_16_37_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec473668d4a642103cf62231dae6076c.jpg","text":"TemporaryFile(/tmp/multipartBody3477912083588494943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838587829,"filename":"image_10122025_16_38_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/12/27/5eb508924580047d797d770aeb4ae92a.jpg","text":"TemporaryFile(/tmp/multipartBody6359430493763392280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838587829,"filename":"image_10122025_16_37_54_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270954","file1":"1401270953","file0":"1401270952","file4":"1401270956","file5":"1401270958","file3":"1401270955"},"map_files_photo_id_array":[{"photo_id":"1401270958","filename":"file5"},{"photo_id":"1401270954","filename":"file2"},{"photo_id":"1401270956","filename":"file4"},{"photo_id":"1401270953","filename":"file1"},{"photo_id":"1401270952","filename":"file0"},{"photo_id":"1401270955","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270953":["hashtag1","hashtag2"]},{"1401270956":["hashtag1","hashtag2"]},{"1401270955":["hashtag1","hashtag2"]},{"1401270958":["hashtag1","hashtag2"]},{"1401270952":["hashtag1","hashtag2"]},{"1401270954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270953, 1401270956, 1401270955, 1401270958, 1401270952, 1401270954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13363170623779 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:29:32.108930
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_37_05_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_55_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_35_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_25_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_14_9755.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/36/image_10122025_16_37_05_9715.jpg', '/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_55_10724.jpg', '/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_44_9714.jpg', '/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_35_9713.jpg', '/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_25_10726.jpg', '/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/36/image_10122025_16_37_05_9715.jpg
/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_55_10724.jpg
/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_44_9714.jpg
/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_35_9713.jpg
/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_25_10726.jpg
/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_14_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":["1401270988","1401270970","1401270972","1401270975","1401270969","1401270980"],"photo_ids_order":["1401270969","1401270970","1401270972","1401270975","1401270980","1401270988"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b17858b709035a6d0ef3453cc1b04ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1637506363547312388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838632930,"filename":"image_10122025_16_36_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcb5fcfaea32d32d173929c1ea67adea.jpg","text":"TemporaryFile(/tmp/multipartBody367433729393586430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838632930,"filename":"image_10122025_16_36_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9e7e61c8bc6e9a4b7faa67dc49c2ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3261058333645974388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838632930,"filename":"image_10122025_16_36_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93ee731a889b5ad7c1b37680765f010f.jpg","text":"TemporaryFile(/tmp/multipartBody1017183519802874143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838632930,"filename":"image_10122025_16_36_35_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d1ee4aa056e316b5c540e5b17b134bd.jpg","text":"TemporaryFile(/tmp/multipartBody5552578689827754917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838632930,"filename":"image_10122025_16_37_05_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c78d4b05ec895d9c1901e5dbbe2ba3d.jpg","text":"TemporaryFile(/tmp/multipartBody4987138455814378263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838632930,"filename":"image_10122025_16_36_25_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401270972","file1":"1401270970","file0":"1401270969","file4":"1401270980","file5":"1401270988","file3":"1401270975"},"map_files_photo_id_array":[{"photo_id":"1401270988","filename":"file5"},{"photo_id":"1401270972","filename":"file2"},{"photo_id":"1401270980","filename":"file4"},{"photo_id":"1401270970","filename":"file1"},{"photo_id":"1401270969","filename":"file0"},{"photo_id":"1401270975","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401270988":["hashtag1","hashtag2"]},{"1401270970":["hashtag1","hashtag2"]},{"1401270972":["hashtag1","hashtag2"]},{"1401270975":["hashtag1","hashtag2"]},{"1401270969":["hashtag1","hashtag2"]},{"1401270980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401270988, 1401270970, 1401270972, 1401270975, 1401270969, 1401270980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.240394830703735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:30:17.187445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7231650352478027 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:30:32.183394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg', '/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg
/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271013","1401271001","1401271004","1401271012","1401271006","1401271009"],"photo_ids_order":["1401271001","1401271004","1401271006","1401271009","1401271012","1401271013"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb47454cd0e7742283123174a8f31e44.jpg","text":"TemporaryFile(/tmp/multipartBody8474607683140809462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838693072,"filename":"image_10122025_16_35_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7df2dc87b985abb6aaf6a4cfcd3b4fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4513335813575132954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838693072,"filename":"image_10122025_16_36_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e5313e4554cfa1f0bcedd8f1f548796.jpg","text":"TemporaryFile(/tmp/multipartBody7865619315317651468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838693072,"filename":"image_10122025_16_35_55_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd2cc9fed4834fedc69bf21cd74db1ed.jpg","text":"TemporaryFile(/tmp/multipartBody7356969709178423780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838693072,"filename":"image_10122025_16_35_25_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9979ceb0bd1bd7a3ad90083d850450e6.jpg","text":"TemporaryFile(/tmp/multipartBody6687337377479147368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838693072,"filename":"image_10122025_16_35_45_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/861b31d9f7b044bd80e8d5e11ee5f72e.jpg","text":"TemporaryFile(/tmp/multipartBody5751057676890808495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838693072,"filename":"image_10122025_16_35_34_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271006","file1":"1401271004","file0":"1401271001","file4":"1401271012","file5":"1401271013","file3":"1401271009"},"map_files_photo_id_array":[{"photo_id":"1401271013","filename":"file5"},{"photo_id":"1401271006","filename":"file2"},{"photo_id":"1401271012","filename":"file4"},{"photo_id":"1401271004","filename":"file1"},{"photo_id":"1401271001","filename":"file0"},{"photo_id":"1401271009","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271013":["hashtag1","hashtag2"]},{"1401271001":["hashtag1","hashtag2"]},{"1401271004":["hashtag1","hashtag2"]},{"1401271012":["hashtag1","hashtag2"]},{"1401271006":["hashtag1","hashtag2"]},{"1401271009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271013, 1401271001, 1401271004, 1401271012, 1401271006, 1401271009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71776819229126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:31:17.276801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_35_05_10728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_45_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_35_10742.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_34_05_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_44_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/34/image_10122025_16_35_05_10728.jpg', '/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_45_9720.jpg', '/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_35_10742.jpg', '/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_14_9735.jpg', '/home/nano/Desktop/images/10122025/16/33/image_10122025_16_34_05_9729.jpg', '/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/34/image_10122025_16_35_05_10728.jpg
/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_45_9720.jpg
/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_35_10742.jpg
/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_14_9735.jpg
/home/nano/Desktop/images/10122025/16/33/image_10122025_16_34_05_9729.jpg
/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_44_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":["1401271028","1401271022","1401271019","1401271024","1401271018","1401271026"],"photo_ids_order":["1401271018","1401271019","1401271022","1401271024","1401271026","1401271028"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29a4b398a5c3b877bdb4980806cc6f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5072863001953279808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838738124,"filename":"image_10122025_16_33_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cadcd6e1d36301ca89292ed815c2f42b.jpg","text":"TemporaryFile(/tmp/multipartBody8955949501359561533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838738124,"filename":"image_10122025_16_34_35_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8726f4b531f73ec918957ccf4382a072.jpg","text":"TemporaryFile(/tmp/multipartBody5349757383644012273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838738124,"filename":"image_10122025_16_34_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67fbae34752fb2a0397b95202d40a5fa.jpg","text":"TemporaryFile(/tmp/multipartBody3153125979935536322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838738124,"filename":"image_10122025_16_34_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/404a782ee2c0d8c2477c414f5c637e6e.jpg","text":"TemporaryFile(/tmp/multipartBody3955611123097608739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838738124,"filename":"image_10122025_16_35_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e18dd20e6cc432bad8e2c96b0b7a06b.jpg","text":"TemporaryFile(/tmp/multipartBody1654277938998637393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838738124,"filename":"image_10122025_16_34_05_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271022","file1":"1401271019","file0":"1401271018","file4":"1401271026","file5":"1401271028","file3":"1401271024"},"map_files_photo_id_array":[{"photo_id":"1401271028","filename":"file5"},{"photo_id":"1401271022","filename":"file2"},{"photo_id":"1401271026","filename":"file4"},{"photo_id":"1401271019","filename":"file1"},{"photo_id":"1401271018","filename":"file0"},{"photo_id":"1401271024","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271028":["hashtag1","hashtag2"]},{"1401271022":["hashtag1","hashtag2"]},{"1401271019":["hashtag1","hashtag2"]},{"1401271024":["hashtag1","hashtag2"]},{"1401271018":["hashtag1","hashtag2"]},{"1401271026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271028, 1401271022, 1401271019, 1401271024, 1401271018, 1401271026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27021503448486 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:32:02.834390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_35_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_33_04_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_55_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_45_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_34_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_35_9737.jpg', '/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_25_10724.jpg', '/home/nano/Desktop/images/10122025/16/32/image_10122025_16_33_04_9722.jpg', '/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_55_9716.jpg', '/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_45_10749.jpg', '/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_34_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_35_9737.jpg
/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_25_10724.jpg
/home/nano/Desktop/images/10122025/16/32/image_10122025_16_33_04_9722.jpg
/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_55_9716.jpg
/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_45_10749.jpg
/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_34_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":["1401271031","1401271034","1401271037","1401271033","1401271032","1401271035"],"photo_ids_order":["1401271031","1401271032","1401271033","1401271034","1401271035","1401271037"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d78b111d52b5c478626f593f44daa037.jpg","text":"TemporaryFile(/tmp/multipartBody6384655496784608678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838783698,"filename":"image_10122025_16_33_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7850d6c7e14707479ae2140d9d5f379d.jpg","text":"TemporaryFile(/tmp/multipartBody8339753305550066461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838783698,"filename":"image_10122025_16_32_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3114bcfd06a27f61f4339dfe89b139fc.jpg","text":"TemporaryFile(/tmp/multipartBody2585132715390424182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838783698,"filename":"image_10122025_16_32_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fc5b0e86ee89fdfd23929cc78237607.jpg","text":"TemporaryFile(/tmp/multipartBody4403589828255778584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838783698,"filename":"image_10122025_16_33_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e22c7b9d5000bc7ab615f7dd976053de.jpg","text":"TemporaryFile(/tmp/multipartBody6553041688992989023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838783698,"filename":"image_10122025_16_33_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33f699a55e28069d2315e8707e8ad65b.jpg","text":"TemporaryFile(/tmp/multipartBody1176703729984665479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838783698,"filename":"image_10122025_16_32_45_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271033","file1":"1401271032","file0":"1401271031","file4":"1401271035","file5":"1401271037","file3":"1401271034"},"map_files_photo_id_array":[{"photo_id":"1401271037","filename":"file5"},{"photo_id":"1401271033","filename":"file2"},{"photo_id":"1401271035","filename":"file4"},{"photo_id":"1401271032","filename":"file1"},{"photo_id":"1401271031","filename":"file0"},{"photo_id":"1401271034","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271031":["hashtag1","hashtag2"]},{"1401271034":["hashtag1","hashtag2"]},{"1401271037":["hashtag1","hashtag2"]},{"1401271033":["hashtag1","hashtag2"]},{"1401271032":["hashtag1","hashtag2"]},{"1401271035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271031, 1401271034, 1401271037, 1401271033, 1401271032, 1401271035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1487774848938 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:32:47.347496
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/13/32/image_27122025_13_32_24_10530.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/13/32/image_27122025_13_32_24_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/13/32/image_27122025_13_32_24_10530.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271054"],"photo_id":"1401271054","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c19ac01b278d3e89f60e3f382d6f4dbc.jpg","text":"TemporaryFile(/tmp/multipartBody434997053563373724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838827588,"filename":"image_27122025_13_32_24_10530.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401271054"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401271054"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.780895709991455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:33:03.184891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/31/image_10122025_16_32_05_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/31/image_10122025_16_31_14_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_55_10743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_25_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/31/image_10122025_16_32_05_10741.jpg', '/home/nano/Desktop/images/10122025/16/31/image_10122025_16_31_14_9731.jpg', '/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_55_10743.jpg', '/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', '/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_34_9712.jpg', '/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_25_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/31/image_10122025_16_32_05_10741.jpg
/home/nano/Desktop/images/10122025/16/31/image_10122025_16_31_14_9731.jpg
/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_55_10743.jpg
/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg
/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_34_9712.jpg
/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_25_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":["1401271067","1401271060","1401271063","1401271065","1401271061","1401271070"],"photo_ids_order":["1401271060","1401271061","1401271063","1401271065","1401271067","1401271070"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d459270d66f9d5324742766d6121424b.jpg","text":"TemporaryFile(/tmp/multipartBody7168949961622862838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838844090,"filename":"image_10122025_16_30_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30d1ccc9333b761e593295e46d0c1036.jpg","text":"TemporaryFile(/tmp/multipartBody4596566310143958101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838844090,"filename":"image_10122025_16_32_05_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f3bbbf06b91ac0cbb517809238faa20.jpg","text":"TemporaryFile(/tmp/multipartBody8650504094491678130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838844090,"filename":"image_10122025_16_30_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81e160be49044763e7c3c133a4e28678.jpg","text":"TemporaryFile(/tmp/multipartBody4843622083962510220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838844090,"filename":"image_10122025_16_30_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e701c877614970bea60ebe1cb7c3b99.jpg","text":"TemporaryFile(/tmp/multipartBody3020350449340797838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838844090,"filename":"image_10122025_16_31_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/12/27/a15e14cbfc1103c5b7a24bb031d3dc0a.jpg","text":"TemporaryFile(/tmp/multipartBody1163157729991087646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838844090,"filename":"image_10122025_16_30_25_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271063","file1":"1401271061","file0":"1401271060","file4":"1401271067","file5":"1401271070","file3":"1401271065"},"map_files_photo_id_array":[{"photo_id":"1401271070","filename":"file5"},{"photo_id":"1401271063","filename":"file2"},{"photo_id":"1401271067","filename":"file4"},{"photo_id":"1401271061","filename":"file1"},{"photo_id":"1401271060","filename":"file0"},{"photo_id":"1401271065","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271067":["hashtag1","hashtag2"]},{"1401271060":["hashtag1","hashtag2"]},{"1401271063":["hashtag1","hashtag2"]},{"1401271065":["hashtag1","hashtag2"]},{"1401271061":["hashtag1","hashtag2"]},{"1401271070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271067, 1401271060, 1401271063, 1401271065, 1401271061, 1401271070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.774317026138306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:33:47.458585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_9713.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7321629524230957 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:34:03.487252
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg', '/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg
/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_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":["1401271090","1401271093","1401271086","1401271088","1401271082","1401271085"],"photo_ids_order":["1401271082","1401271085","1401271086","1401271088","1401271090","1401271093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/298f4526ddc051413e90b59e886b502a.jpg","text":"TemporaryFile(/tmp/multipartBody2560768956319885756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838904500,"filename":"image_10122025_16_29_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08fb293c05f442905e1ffb079d6fc4db.jpg","text":"TemporaryFile(/tmp/multipartBody2137340385428380631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838904500,"filename":"image_10122025_16_29_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/12/27/6cd0288f8fee5dc288eb1ecbaa9919c7.jpg","text":"TemporaryFile(/tmp/multipartBody1920321559852658788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838904500,"filename":"image_10122025_16_29_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b33aea8b7b49b8416daf8212d409c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody5079678774584488447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838904500,"filename":"image_10122025_16_29_45_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f9372000e3aa256c08630b3c8e0186a.jpg","text":"TemporaryFile(/tmp/multipartBody804409442813930377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838904500,"filename":"image_10122025_16_30_15_10745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7140c69dc237cfebcbbf901fed49b09e.jpg","text":"TemporaryFile(/tmp/multipartBody616404293973399144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838904500,"filename":"image_10122025_16_30_04_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271086","file1":"1401271085","file0":"1401271082","file4":"1401271090","file5":"1401271093","file3":"1401271088"},"map_files_photo_id_array":[{"photo_id":"1401271093","filename":"file5"},{"photo_id":"1401271086","filename":"file2"},{"photo_id":"1401271090","filename":"file4"},{"photo_id":"1401271085","filename":"file1"},{"photo_id":"1401271082","filename":"file0"},{"photo_id":"1401271088","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271090":["hashtag1","hashtag2"]},{"1401271093":["hashtag1","hashtag2"]},{"1401271086":["hashtag1","hashtag2"]},{"1401271088":["hashtag1","hashtag2"]},{"1401271082":["hashtag1","hashtag2"]},{"1401271085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271090, 1401271093, 1401271086, 1401271088, 1401271082, 1401271085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37599277496338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:34:47.588862
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_29_05_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_54_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_44_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_14_9758.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/28/image_10122025_16_29_05_10744.jpg', '/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_54_9730.jpg', '/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_44_9719.jpg', '/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_35_9711.jpg', '/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_25_10724.jpg', '/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_14_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/28/image_10122025_16_29_05_10744.jpg
/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_54_9730.jpg
/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_44_9719.jpg
/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_35_9711.jpg
/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_25_10724.jpg
/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_14_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271106","1401271103","1401271108","1401271102","1401271101","1401271104"],"photo_ids_order":["1401271101","1401271102","1401271103","1401271104","1401271106","1401271108"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8fc369a3530a325b0712246109779a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7552846349812050495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838948423,"filename":"image_10122025_16_28_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dce88500b90a3ff214858ddb65df010.jpg","text":"TemporaryFile(/tmp/multipartBody4901740091908095765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838948423,"filename":"image_10122025_16_28_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/377d3941c3d14c8aa293876411f0be65.jpg","text":"TemporaryFile(/tmp/multipartBody4756335142640167876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838948423,"filename":"image_10122025_16_28_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd842004123de157a72676b0f0778c5f.jpg","text":"TemporaryFile(/tmp/multipartBody331141063619739726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838948423,"filename":"image_10122025_16_28_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09ddd4d233808acbd414ac860b581218.jpg","text":"TemporaryFile(/tmp/multipartBody5474890438703704713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838948423,"filename":"image_10122025_16_29_05_10744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7192678f5e580e0f50bcb97b40ec260d.jpg","text":"TemporaryFile(/tmp/multipartBody2670916409681982464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838948423,"filename":"image_10122025_16_28_35_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271103","file1":"1401271102","file0":"1401271101","file4":"1401271106","file5":"1401271108","file3":"1401271104"},"map_files_photo_id_array":[{"photo_id":"1401271108","filename":"file5"},{"photo_id":"1401271103","filename":"file2"},{"photo_id":"1401271106","filename":"file4"},{"photo_id":"1401271102","filename":"file1"},{"photo_id":"1401271101","filename":"file0"},{"photo_id":"1401271104","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271106":["hashtag1","hashtag2"]},{"1401271103":["hashtag1","hashtag2"]},{"1401271108":["hashtag1","hashtag2"]},{"1401271102":["hashtag1","hashtag2"]},{"1401271101":["hashtag1","hashtag2"]},{"1401271104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271106, 1401271103, 1401271108, 1401271102, 1401271101, 1401271104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03041958808899 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:35:32.676159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_28_05_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_55_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_25_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_15_10744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/27/image_10122025_16_28_05_9731.jpg', '/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_55_10724.jpg', '/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_44_9718.jpg', '/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_34_9714.jpg', '/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_25_9714.jpg', '/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_15_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/27/image_10122025_16_28_05_9731.jpg
/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_55_10724.jpg
/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_44_9718.jpg
/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_34_9714.jpg
/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_25_9714.jpg
/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_15_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271118","1401271135","1401271134","1401271122","1401271116","1401271119"],"photo_ids_order":["1401271116","1401271118","1401271119","1401271122","1401271134","1401271135"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4d765c6dd1ea6ab4fe69cc5dae514d5.jpg","text":"TemporaryFile(/tmp/multipartBody6891046822082090377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838993518,"filename":"image_10122025_16_27_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd337c2c2788fe6499a52dc691e6c158.jpg","text":"TemporaryFile(/tmp/multipartBody8152729618479380063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838993518,"filename":"image_10122025_16_27_15_10744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1aacf12121ec84634e5b5fee4b9cd726.jpg","text":"TemporaryFile(/tmp/multipartBody2556405063325376362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838993518,"filename":"image_10122025_16_27_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37ed41de858ebe92197bcdd7e70d6d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3941527982562005291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838993518,"filename":"image_10122025_16_27_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/699f466a085a16468c2e1415d79c239b.jpg","text":"TemporaryFile(/tmp/multipartBody8004901944409765691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838993518,"filename":"image_10122025_16_28_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d634238ffed814b5d8a8acc3558f8ed.jpg","text":"TemporaryFile(/tmp/multipartBody2193414537053979475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766838993518,"filename":"image_10122025_16_27_44_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271119","file1":"1401271118","file0":"1401271116","file4":"1401271134","file5":"1401271135","file3":"1401271122"},"map_files_photo_id_array":[{"photo_id":"1401271135","filename":"file5"},{"photo_id":"1401271119","filename":"file2"},{"photo_id":"1401271134","filename":"file4"},{"photo_id":"1401271118","filename":"file1"},{"photo_id":"1401271116","filename":"file0"},{"photo_id":"1401271122","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271118":["hashtag1","hashtag2"]},{"1401271135":["hashtag1","hashtag2"]},{"1401271134":["hashtag1","hashtag2"]},{"1401271122":["hashtag1","hashtag2"]},{"1401271116":["hashtag1","hashtag2"]},{"1401271119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271118, 1401271135, 1401271134, 1401271122, 1401271116, 1401271119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42802834510803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:36:16.766141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_27_04_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_45_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_24_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_26_05_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_54_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_44_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/26/image_10122025_16_27_04_9723.jpg', '/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_45_9715.jpg', '/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_24_9713.jpg', '/home/nano/Desktop/images/10122025/16/25/image_10122025_16_26_05_10724.jpg', '/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_54_9716.jpg', '/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_44_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/26/image_10122025_16_27_04_9723.jpg
/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_45_9715.jpg
/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_24_9713.jpg
/home/nano/Desktop/images/10122025/16/25/image_10122025_16_26_05_10724.jpg
/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_54_9716.jpg
/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_44_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":["1401271151","1401271145","1401271148","1401271138","1401271140","1401271143"],"photo_ids_order":["1401271138","1401271140","1401271143","1401271145","1401271148","1401271151"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e6fb4a9ce2794471a0735fa14c01acb.jpg","text":"TemporaryFile(/tmp/multipartBody1958782946163895023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839037581,"filename":"image_10122025_16_25_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/12/27/028bf22942513bc23fb460fb24a03776.jpg","text":"TemporaryFile(/tmp/multipartBody7136595022546490353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839037581,"filename":"image_10122025_16_26_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83a8619e69d3cc48134566212ee90a64.jpg","text":"TemporaryFile(/tmp/multipartBody5671770291930063468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839037581,"filename":"image_10122025_16_25_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f46c8ff563b2eb1e8ad30e3732eb70f9.jpg","text":"TemporaryFile(/tmp/multipartBody7017473579255375441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839037581,"filename":"image_10122025_16_27_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/12/27/f790235113051a1529f546d6c80b0073.jpg","text":"TemporaryFile(/tmp/multipartBody5841757632949988753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839037581,"filename":"image_10122025_16_26_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85835cfd80d94499899e8b0c02c48fce.jpg","text":"TemporaryFile(/tmp/multipartBody1191205979303276616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839037581,"filename":"image_10122025_16_26_24_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271143","file1":"1401271140","file0":"1401271138","file4":"1401271148","file5":"1401271151","file3":"1401271145"},"map_files_photo_id_array":[{"photo_id":"1401271151","filename":"file5"},{"photo_id":"1401271143","filename":"file2"},{"photo_id":"1401271148","filename":"file4"},{"photo_id":"1401271140","filename":"file1"},{"photo_id":"1401271138","filename":"file0"},{"photo_id":"1401271145","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271151":["hashtag1","hashtag2"]},{"1401271145":["hashtag1","hashtag2"]},{"1401271148":["hashtag1","hashtag2"]},{"1401271138":["hashtag1","hashtag2"]},{"1401271140":["hashtag1","hashtag2"]},{"1401271143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271151, 1401271145, 1401271148, 1401271138, 1401271140, 1401271143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09072732925415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:37:02.507024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_25_05_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_55_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_45_10750.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_34_9739.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_35_9711.jpg', '/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_25_10723.jpg', '/home/nano/Desktop/images/10122025/16/24/image_10122025_16_25_05_9731.jpg', '/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_55_9731.jpg', '/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_45_10750.jpg', '/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_34_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_35_9711.jpg
/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_25_10723.jpg
/home/nano/Desktop/images/10122025/16/24/image_10122025_16_25_05_9731.jpg
/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_55_9731.jpg
/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_45_10750.jpg
/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_34_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271162","1401271156","1401271164","1401271158","1401271167","1401271160"],"photo_ids_order":["1401271156","1401271158","1401271160","1401271162","1401271164","1401271167"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83b18dc3b244419148caf49e8878f480.jpg","text":"TemporaryFile(/tmp/multipartBody5860067983080886950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839083394,"filename":"image_10122025_16_24_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3940b2e26bad2b8a9f737a5f609fc490.jpg","text":"TemporaryFile(/tmp/multipartBody8160391697029023386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839083394,"filename":"image_10122025_16_25_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8af6d1c205e6c49a4f345ef42cf0a197.jpg","text":"TemporaryFile(/tmp/multipartBody7618689234533279709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839083394,"filename":"image_10122025_16_24_45_10750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6b67df3fa53b683d719f77f943b11bb.jpg","text":"TemporaryFile(/tmp/multipartBody9191438560206272387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839083394,"filename":"image_10122025_16_25_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7cd7d4f7e606fe934609d67f469098f.jpg","text":"TemporaryFile(/tmp/multipartBody1632978422315854820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839083394,"filename":"image_10122025_16_24_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a2f962a017f66f6cfebedbfa4e6c4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4045623976123020740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839083394,"filename":"image_10122025_16_25_05_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271160","file1":"1401271158","file0":"1401271156","file4":"1401271164","file5":"1401271167","file3":"1401271162"},"map_files_photo_id_array":[{"photo_id":"1401271167","filename":"file5"},{"photo_id":"1401271160","filename":"file2"},{"photo_id":"1401271164","filename":"file4"},{"photo_id":"1401271158","filename":"file1"},{"photo_id":"1401271156","filename":"file0"},{"photo_id":"1401271162","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271162":["hashtag1","hashtag2"]},{"1401271156":["hashtag1","hashtag2"]},{"1401271164":["hashtag1","hashtag2"]},{"1401271158":["hashtag1","hashtag2"]},{"1401271167":["hashtag1","hashtag2"]},{"1401271160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271162, 1401271156, 1401271164, 1401271158, 1401271167, 1401271160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18335318565369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:37:46.887947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_15_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_24_04_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_54_9734.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_45_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_35_10725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_25_9715.jpg', '/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_15_10744.jpg', '/home/nano/Desktop/images/10122025/16/23/image_10122025_16_24_04_9717.jpg', '/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_54_9734.jpg', '/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_45_9718.jpg', '/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_35_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_25_9715.jpg
/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_15_10744.jpg
/home/nano/Desktop/images/10122025/16/23/image_10122025_16_24_04_9717.jpg
/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_54_9734.jpg
/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_45_9718.jpg
/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_35_10725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271180","1401271177","1401271176","1401271181","1401271175","1401271178"],"photo_ids_order":["1401271175","1401271176","1401271177","1401271178","1401271180","1401271181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46c2f7271502795ad08bcbd3334cf316.jpg","text":"TemporaryFile(/tmp/multipartBody934576977158974131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839127736,"filename":"image_10122025_16_23_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf4e5fd97f63e74f54f2da31b0ec8f54.jpg","text":"TemporaryFile(/tmp/multipartBody8514252657856494214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839127736,"filename":"image_10122025_16_24_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10c3c32b54059582c8c3b9e8a965084e.jpg","text":"TemporaryFile(/tmp/multipartBody7956679313272718215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839127736,"filename":"image_10122025_16_24_15_10744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d65361984700d206a9dacac1309336eb.jpg","text":"TemporaryFile(/tmp/multipartBody5012208513493783700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839127736,"filename":"image_10122025_16_23_35_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d455c24858eef269917f47d84a68af2c.jpg","text":"TemporaryFile(/tmp/multipartBody641834564154694322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839127736,"filename":"image_10122025_16_24_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7366de147527f8e61938fcb58de49eb.jpg","text":"TemporaryFile(/tmp/multipartBody6886752133916866590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839127736,"filename":"image_10122025_16_23_54_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271177","file1":"1401271176","file0":"1401271175","file4":"1401271180","file5":"1401271181","file3":"1401271178"},"map_files_photo_id_array":[{"photo_id":"1401271181","filename":"file5"},{"photo_id":"1401271177","filename":"file2"},{"photo_id":"1401271180","filename":"file4"},{"photo_id":"1401271176","filename":"file1"},{"photo_id":"1401271175","filename":"file0"},{"photo_id":"1401271178","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271180":["hashtag1","hashtag2"]},{"1401271177":["hashtag1","hashtag2"]},{"1401271176":["hashtag1","hashtag2"]},{"1401271181":["hashtag1","hashtag2"]},{"1401271175":["hashtag1","hashtag2"]},{"1401271178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271180, 1401271177, 1401271176, 1401271181, 1401271175, 1401271178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.329333543777466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:38:31.975610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_14_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_23_05_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_55_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_44_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_35_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_25_10726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_14_9723.jpg', '/home/nano/Desktop/images/10122025/16/22/image_10122025_16_23_05_9719.jpg', '/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_55_10726.jpg', '/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_44_9715.jpg', '/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_35_9717.jpg', '/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_25_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_14_9723.jpg
/home/nano/Desktop/images/10122025/16/22/image_10122025_16_23_05_9719.jpg
/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_55_10726.jpg
/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_44_9715.jpg
/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_35_9717.jpg
/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_25_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271192","1401271189","1401271210","1401271191","1401271212","1401271196"],"photo_ids_order":["1401271189","1401271191","1401271192","1401271196","1401271210","1401271212"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb6f43139204e479498c769c41acccc9.jpg","text":"TemporaryFile(/tmp/multipartBody4220891158154331530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839172801,"filename":"image_10122025_16_22_55_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/638bd08b5cbdf481a9255d1b89911cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8627285704178852140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839172801,"filename":"image_10122025_16_23_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/12/27/df24431061acdafddbafbdf3fb6f23a2.jpg","text":"TemporaryFile(/tmp/multipartBody8470790652273975740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839172801,"filename":"image_10122025_16_22_35_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94522e2424418f75eddd18ad79b58248.jpg","text":"TemporaryFile(/tmp/multipartBody4684215125637808927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839172801,"filename":"image_10122025_16_23_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86add46fb7917e0fd404976e22cebb9d.jpg","text":"TemporaryFile(/tmp/multipartBody5320167893920403502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839172801,"filename":"image_10122025_16_22_25_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fcdbc6b1b6119c9bc9ee3faa6d1fa9d2.jpg","text":"TemporaryFile(/tmp/multipartBody2199072029364083198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839172801,"filename":"image_10122025_16_22_44_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271192","file1":"1401271191","file0":"1401271189","file4":"1401271210","file5":"1401271212","file3":"1401271196"},"map_files_photo_id_array":[{"photo_id":"1401271212","filename":"file5"},{"photo_id":"1401271192","filename":"file2"},{"photo_id":"1401271210","filename":"file4"},{"photo_id":"1401271191","filename":"file1"},{"photo_id":"1401271189","filename":"file0"},{"photo_id":"1401271196","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271192":["hashtag1","hashtag2"]},{"1401271189":["hashtag1","hashtag2"]},{"1401271210":["hashtag1","hashtag2"]},{"1401271191":["hashtag1","hashtag2"]},{"1401271212":["hashtag1","hashtag2"]},{"1401271196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271192, 1401271189, 1401271210, 1401271191, 1401271212, 1401271196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.781651735305786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:39:17.102238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_22_04_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_55_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_15_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_21_05_10735.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_14_9735.jpg', '/home/nano/Desktop/images/10122025/16/21/image_10122025_16_22_04_9724.jpg', '/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_55_9736.jpg', '/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_25_9715.jpg', '/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_15_9735.jpg', '/home/nano/Desktop/images/10122025/16/20/image_10122025_16_21_05_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_14_9735.jpg
/home/nano/Desktop/images/10122025/16/21/image_10122025_16_22_04_9724.jpg
/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_55_9736.jpg
/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_25_9715.jpg
/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_15_9735.jpg
/home/nano/Desktop/images/10122025/16/20/image_10122025_16_21_05_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":["1401271229","1401271220","1401271231","1401271227","1401271221","1401271224"],"photo_ids_order":["1401271220","1401271221","1401271224","1401271227","1401271229","1401271231"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b90952d1a7555b32576a67450b918b7.jpg","text":"TemporaryFile(/tmp/multipartBody5229015729792710310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839217935,"filename":"image_10122025_16_21_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f1dcd19249b176aaa117fefa5192551.jpg","text":"TemporaryFile(/tmp/multipartBody6456972693574830437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839217935,"filename":"image_10122025_16_22_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/443fafba5f97e24f56724ed7a06d2179.jpg","text":"TemporaryFile(/tmp/multipartBody1610258394614480054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839217935,"filename":"image_10122025_16_21_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/806dc73006b83f67ed5e0fdf2c94ba63.jpg","text":"TemporaryFile(/tmp/multipartBody8039607433865312044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839217935,"filename":"image_10122025_16_21_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dff88ccaf19b7a2c846fb23091e8d549.jpg","text":"TemporaryFile(/tmp/multipartBody3827386278020941941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839217935,"filename":"image_10122025_16_22_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/12/27/3721d0af1cebc69e35f22a2ccf95de70.jpg","text":"TemporaryFile(/tmp/multipartBody3121885451811614508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839217935,"filename":"image_10122025_16_21_55_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271224","file1":"1401271221","file0":"1401271220","file4":"1401271229","file5":"1401271231","file3":"1401271227"},"map_files_photo_id_array":[{"photo_id":"1401271231","filename":"file5"},{"photo_id":"1401271224","filename":"file2"},{"photo_id":"1401271229","filename":"file4"},{"photo_id":"1401271221","filename":"file1"},{"photo_id":"1401271220","filename":"file0"},{"photo_id":"1401271227","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271229":["hashtag1","hashtag2"]},{"1401271220":["hashtag1","hashtag2"]},{"1401271231":["hashtag1","hashtag2"]},{"1401271227":["hashtag1","hashtag2"]},{"1401271221":["hashtag1","hashtag2"]},{"1401271224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271229, 1401271220, 1401271231, 1401271227, 1401271221, 1401271224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14981698989868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:40:02.707505
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_45_9734.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_35_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_24_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_14_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_20_05_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_55_10727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_45_9734.jpg', '/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_35_10727.jpg', '/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_24_9714.jpg', '/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_14_9741.jpg', '/home/nano/Desktop/images/10122025/16/19/image_10122025_16_20_05_9744.jpg', '/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_55_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_45_9734.jpg
/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_35_10727.jpg
/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_24_9714.jpg
/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_14_9741.jpg
/home/nano/Desktop/images/10122025/16/19/image_10122025_16_20_05_9744.jpg
/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_55_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271238","1401271235","1401271246","1401271243","1401271239","1401271241"],"photo_ids_order":["1401271235","1401271238","1401271239","1401271241","1401271243","1401271246"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d55e74e49871cd8b22b4c4fb60ee029.jpg","text":"TemporaryFile(/tmp/multipartBody3888928156932958211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839263604,"filename":"image_10122025_16_20_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc2d4c5048ff943ca1f4d9ac1b822f47.jpg","text":"TemporaryFile(/tmp/multipartBody2905141642783845796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839263604,"filename":"image_10122025_16_20_45_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dd0912c0e2d6ff378c681511e7a48cf.jpg","text":"TemporaryFile(/tmp/multipartBody303523173127765402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839263604,"filename":"image_10122025_16_19_55_10727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e125354b5bce29f182e9a3a38c50a63.jpg","text":"TemporaryFile(/tmp/multipartBody4743517315264151003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839263604,"filename":"image_10122025_16_20_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3dfa50bbdc5ce6b68cd081cbc93979e.jpg","text":"TemporaryFile(/tmp/multipartBody5202796569944116895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839263604,"filename":"image_10122025_16_20_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16fdc88c8c1ad4ed1c03cfc7474bfbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1951852252811376428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839263604,"filename":"image_10122025_16_20_14_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271239","file1":"1401271238","file0":"1401271235","file4":"1401271243","file5":"1401271246","file3":"1401271241"},"map_files_photo_id_array":[{"photo_id":"1401271246","filename":"file5"},{"photo_id":"1401271239","filename":"file2"},{"photo_id":"1401271243","filename":"file4"},{"photo_id":"1401271238","filename":"file1"},{"photo_id":"1401271235","filename":"file0"},{"photo_id":"1401271241","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271238":["hashtag1","hashtag2"]},{"1401271235":["hashtag1","hashtag2"]},{"1401271246":["hashtag1","hashtag2"]},{"1401271243":["hashtag1","hashtag2"]},{"1401271239":["hashtag1","hashtag2"]},{"1401271241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271238, 1401271235, 1401271246, 1401271243, 1401271239, 1401271241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54908061027527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:40:47.198749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7188847064971924 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:41:03.142981
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/13/41/image_27122025_13_41_34_10529.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/13/41/image_27122025_13_41_34_10529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/13/41/image_27122025_13_41_34_10529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271258"],"photo_id":"1401271258","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d1bb96b1ae3f41ef9fae660d50e4688.jpg","text":"TemporaryFile(/tmp/multipartBody2397163823576022689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839323414,"filename":"image_27122025_13_41_34_10529.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401271258"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401271258"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.949697971343994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:41:17.284907
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', '/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271271","1401271265","1401271264","1401271273","1401271275","1401271268"],"photo_ids_order":["1401271264","1401271265","1401271268","1401271271","1401271273","1401271275"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d528d3fc3c8f3a3a643803e409bb70b4.jpg","text":"TemporaryFile(/tmp/multipartBody1512449353502680388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839338101,"filename":"image_10122025_16_18_45_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c93a66f4718df86395848dd40ea1d75.jpg","text":"TemporaryFile(/tmp/multipartBody3883972188551610477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839338101,"filename":"image_10122025_16_19_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fbd6d04b7ea011a9483b9cb57b9823a.jpg","text":"TemporaryFile(/tmp/multipartBody3992033573691162929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839338101,"filename":"image_10122025_16_19_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/12/27/a7f0f3c60d8ad22cdb916873a7f11aed.jpg","text":"TemporaryFile(/tmp/multipartBody7218398914053530215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839338101,"filename":"image_10122025_16_18_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b17ce4768282128953e7b234f12e536f.jpg","text":"TemporaryFile(/tmp/multipartBody2974970313982858740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839338101,"filename":"image_10122025_16_18_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/12/27/bd6f39fe86a1cab825feb15747aa66e6.jpg","text":"TemporaryFile(/tmp/multipartBody2129427887033056719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839338101,"filename":"image_10122025_16_18_55_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271268","file1":"1401271265","file0":"1401271264","file4":"1401271273","file5":"1401271275","file3":"1401271271"},"map_files_photo_id_array":[{"photo_id":"1401271275","filename":"file5"},{"photo_id":"1401271268","filename":"file2"},{"photo_id":"1401271273","filename":"file4"},{"photo_id":"1401271265","filename":"file1"},{"photo_id":"1401271264","filename":"file0"},{"photo_id":"1401271271","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271271":["hashtag1","hashtag2"]},{"1401271265":["hashtag1","hashtag2"]},{"1401271264":["hashtag1","hashtag2"]},{"1401271273":["hashtag1","hashtag2"]},{"1401271275":["hashtag1","hashtag2"]},{"1401271268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271271, 1401271265, 1401271264, 1401271273, 1401271275, 1401271268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63396406173706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:42:02.993026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_18_05_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_54_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_45_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_24_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_17_05_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_15_9706.jpg', '/home/nano/Desktop/images/10122025/16/17/image_10122025_16_18_05_10736.jpg', '/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_54_9708.jpg', '/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_45_9701.jpg', '/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_24_9696.jpg', '/home/nano/Desktop/images/10122025/16/16/image_10122025_16_17_05_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_15_9706.jpg
/home/nano/Desktop/images/10122025/16/17/image_10122025_16_18_05_10736.jpg
/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_54_9708.jpg
/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_45_9701.jpg
/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_24_9696.jpg
/home/nano/Desktop/images/10122025/16/16/image_10122025_16_17_05_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":["1401271294","1401271296","1401271299","1401271290","1401271292","1401271289"],"photo_ids_order":["1401271289","1401271290","1401271292","1401271294","1401271296","1401271299"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81eeb9692587ab2ea59e01a947805d76.jpg","text":"TemporaryFile(/tmp/multipartBody8262206656647377167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839383888,"filename":"image_10122025_16_17_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/777d41432610807784b32d4b2b15faf7.jpg","text":"TemporaryFile(/tmp/multipartBody2374831862457902573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839383888,"filename":"image_10122025_16_17_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba758f7ebb607e202d92e88bac7a1caa.jpg","text":"TemporaryFile(/tmp/multipartBody5466659838810699307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839383888,"filename":"image_10122025_16_17_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f308715ced649448e0e64f99ff482a29.jpg","text":"TemporaryFile(/tmp/multipartBody363434236502134287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839383888,"filename":"image_10122025_16_18_05_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/462289b4acc15e1bbc6034ece342870a.jpg","text":"TemporaryFile(/tmp/multipartBody669218644910521639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839383888,"filename":"image_10122025_16_17_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/12/27/ff4f17a9bf6162ed54eada52bca3b436.jpg","text":"TemporaryFile(/tmp/multipartBody4570029112464625406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839383888,"filename":"image_10122025_16_18_15_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271292","file1":"1401271290","file0":"1401271289","file4":"1401271296","file5":"1401271299","file3":"1401271294"},"map_files_photo_id_array":[{"photo_id":"1401271299","filename":"file5"},{"photo_id":"1401271292","filename":"file2"},{"photo_id":"1401271296","filename":"file4"},{"photo_id":"1401271290","filename":"file1"},{"photo_id":"1401271289","filename":"file0"},{"photo_id":"1401271294","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271294":["hashtag1","hashtag2"]},{"1401271296":["hashtag1","hashtag2"]},{"1401271299":["hashtag1","hashtag2"]},{"1401271290":["hashtag1","hashtag2"]},{"1401271292":["hashtag1","hashtag2"]},{"1401271289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271294, 1401271296, 1401271299, 1401271290, 1401271292, 1401271289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.575407028198242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:42:47.369596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_55_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_44_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_35_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_14_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_16_05_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_55_10708.jpg', '/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_44_9698.jpg', '/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_35_9696.jpg', '/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_25_10707.jpg', '/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_14_9725.jpg', '/home/nano/Desktop/images/10122025/16/15/image_10122025_16_16_05_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_55_10708.jpg
/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_44_9698.jpg
/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_35_9696.jpg
/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_25_10707.jpg
/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_14_9725.jpg
/home/nano/Desktop/images/10122025/16/15/image_10122025_16_16_05_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271310","1401271307","1401271309","1401271312","1401271314","1401271308"],"photo_ids_order":["1401271307","1401271308","1401271309","1401271310","1401271312","1401271314"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90bb1fbc483075aa3281f627aef715fb.jpg","text":"TemporaryFile(/tmp/multipartBody4916827147936963880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839428208,"filename":"image_10122025_16_16_25_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e30d751fdf4b25e15591f39d470ba19.jpg","text":"TemporaryFile(/tmp/multipartBody2296625135782285348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839428208,"filename":"image_10122025_16_16_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a170e10b093c23ce642b7ee9b95a3aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4357111166445703307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839428208,"filename":"image_10122025_16_16_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3f7c21501c89e03775a40bcafaa2392.jpg","text":"TemporaryFile(/tmp/multipartBody5533521679219359924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839428208,"filename":"image_10122025_16_16_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/12/27/2c5ecbfa1b95f4cbaa85cca436f83a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3614611005583883943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839428208,"filename":"image_10122025_16_16_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04b21e938213463a130294868e5c0517.jpg","text":"TemporaryFile(/tmp/multipartBody5326661006729127941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839428208,"filename":"image_10122025_16_16_44_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271309","file1":"1401271308","file0":"1401271307","file4":"1401271312","file5":"1401271314","file3":"1401271310"},"map_files_photo_id_array":[{"photo_id":"1401271314","filename":"file5"},{"photo_id":"1401271309","filename":"file2"},{"photo_id":"1401271312","filename":"file4"},{"photo_id":"1401271308","filename":"file1"},{"photo_id":"1401271307","filename":"file0"},{"photo_id":"1401271310","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271310":["hashtag1","hashtag2"]},{"1401271307":["hashtag1","hashtag2"]},{"1401271309":["hashtag1","hashtag2"]},{"1401271312":["hashtag1","hashtag2"]},{"1401271314":["hashtag1","hashtag2"]},{"1401271308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271310, 1401271307, 1401271309, 1401271312, 1401271314, 1401271308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40255093574524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:43:32.454069
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_55_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_34_9702.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_25_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_15_10720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_15_04_9729.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_55_10708.jpg', '/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_44_9703.jpg', '/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_34_9702.jpg', '/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_25_9698.jpg', '/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_15_10720.jpg', '/home/nano/Desktop/images/10122025/16/14/image_10122025_16_15_04_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_55_10708.jpg
/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_44_9703.jpg
/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_34_9702.jpg
/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_25_9698.jpg
/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_15_10720.jpg
/home/nano/Desktop/images/10122025/16/14/image_10122025_16_15_04_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271322","1401271331","1401271328","1401271330","1401271324","1401271326"],"photo_ids_order":["1401271322","1401271324","1401271326","1401271328","1401271330","1401271331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2244c22b7a8f1a8b2a607ef0b2624286.jpg","text":"TemporaryFile(/tmp/multipartBody4172703273487694526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839473272,"filename":"image_10122025_16_15_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e9f16d0fa79a4e678c2ae6754873277.jpg","text":"TemporaryFile(/tmp/multipartBody3619547878506831734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839473272,"filename":"image_10122025_16_15_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3840361b4f290ec5e81e64c7e603b240.jpg","text":"TemporaryFile(/tmp/multipartBody4662426943421357686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839473272,"filename":"image_10122025_16_15_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b931a38cd7351364442971a014b11ab3.jpg","text":"TemporaryFile(/tmp/multipartBody678613532621598691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839473272,"filename":"image_10122025_16_15_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3719ba65b889bff7c217026aae6bc00e.jpg","text":"TemporaryFile(/tmp/multipartBody1815349773780246639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839473272,"filename":"image_10122025_16_15_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/12/27/4e02664cc4b07eda1a33a1fc6164364c.jpg","text":"TemporaryFile(/tmp/multipartBody6273454396770510341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839473272,"filename":"image_10122025_16_15_34_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271326","file1":"1401271324","file0":"1401271322","file4":"1401271330","file5":"1401271331","file3":"1401271328"},"map_files_photo_id_array":[{"photo_id":"1401271331","filename":"file5"},{"photo_id":"1401271326","filename":"file2"},{"photo_id":"1401271330","filename":"file4"},{"photo_id":"1401271324","filename":"file1"},{"photo_id":"1401271322","filename":"file0"},{"photo_id":"1401271328","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271322":["hashtag1","hashtag2"]},{"1401271331":["hashtag1","hashtag2"]},{"1401271328":["hashtag1","hashtag2"]},{"1401271330":["hashtag1","hashtag2"]},{"1401271324":["hashtag1","hashtag2"]},{"1401271326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271322, 1401271331, 1401271328, 1401271330, 1401271324, 1401271326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04463791847229 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:44:17.567141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_55_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_45_10709.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_24_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_14_05_10733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_55_9694.jpg', '/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_45_10709.jpg', '/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_34_9697.jpg', '/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_24_9716.jpg', '/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_15_9721.jpg', '/home/nano/Desktop/images/10122025/16/13/image_10122025_16_14_05_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_55_9694.jpg
/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_45_10709.jpg
/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_34_9697.jpg
/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_24_9716.jpg
/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_15_9721.jpg
/home/nano/Desktop/images/10122025/16/13/image_10122025_16_14_05_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":["1401271337","1401271345","1401271342","1401271347","1401271349","1401271340"],"photo_ids_order":["1401271337","1401271340","1401271342","1401271345","1401271347","1401271349"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d88638a201bed0d78f4c95fd125a50a.jpg","text":"TemporaryFile(/tmp/multipartBody4975921163497708097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839518378,"filename":"image_10122025_16_14_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f71a392d561f7fb81132e209cb4d37fa.jpg","text":"TemporaryFile(/tmp/multipartBody6373009586889935770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839518378,"filename":"image_10122025_16_14_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/12/27/14662be66eadaf7e2f2d786c7ba003c4.jpg","text":"TemporaryFile(/tmp/multipartBody6968542420855095193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839518378,"filename":"image_10122025_16_14_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f9bc4f320731afdc459d5e3c210d90a.jpg","text":"TemporaryFile(/tmp/multipartBody386145298122026304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839518378,"filename":"image_10122025_16_14_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3806d1a2296a0720768f73d7fd17df82.jpg","text":"TemporaryFile(/tmp/multipartBody2146101541193886308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839518378,"filename":"image_10122025_16_14_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/060b48378d9d201aac29d0fa7b153591.jpg","text":"TemporaryFile(/tmp/multipartBody4932526708790533738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839518378,"filename":"image_10122025_16_14_45_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271342","file1":"1401271340","file0":"1401271337","file4":"1401271347","file5":"1401271349","file3":"1401271345"},"map_files_photo_id_array":[{"photo_id":"1401271349","filename":"file5"},{"photo_id":"1401271342","filename":"file2"},{"photo_id":"1401271347","filename":"file4"},{"photo_id":"1401271340","filename":"file1"},{"photo_id":"1401271337","filename":"file0"},{"photo_id":"1401271345","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271337":["hashtag1","hashtag2"]},{"1401271345":["hashtag1","hashtag2"]},{"1401271342":["hashtag1","hashtag2"]},{"1401271347":["hashtag1","hashtag2"]},{"1401271349":["hashtag1","hashtag2"]},{"1401271340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271337, 1401271345, 1401271342, 1401271347, 1401271349, 1401271340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.943068981170654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:45:03.480769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_54_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_45_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_35_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_24_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_13_05_10711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_54_9658.jpg', '/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_45_9673.jpg', '/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_35_10677.jpg', '/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_24_9665.jpg', '/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_15_9692.jpg', '/home/nano/Desktop/images/10122025/16/12/image_10122025_16_13_05_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_54_9658.jpg
/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_45_9673.jpg
/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_35_10677.jpg
/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_24_9665.jpg
/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_15_9692.jpg
/home/nano/Desktop/images/10122025/16/12/image_10122025_16_13_05_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271370","1401271372","1401271375","1401271369","1401271365","1401271367"],"photo_ids_order":["1401271365","1401271367","1401271369","1401271370","1401271372","1401271375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4e448cfd967b5320e7c4376eeea589a.jpg","text":"TemporaryFile(/tmp/multipartBody2376912808805870251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839564375,"filename":"image_10122025_16_13_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/12/27/9829357383ad8f3b136dc40042764fa7.jpg","text":"TemporaryFile(/tmp/multipartBody1401476037143291452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839564375,"filename":"image_10122025_16_13_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cc119a95b7dda74a8e2b45ae3095761.jpg","text":"TemporaryFile(/tmp/multipartBody2261898491660118595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839564375,"filename":"image_10122025_16_13_05_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46f5e22d5319454c2b27e6b2d108b353.jpg","text":"TemporaryFile(/tmp/multipartBody6013162281832012135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839564375,"filename":"image_10122025_16_13_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f2bbae43bd1020fd528aa7da6a88a48.jpg","text":"TemporaryFile(/tmp/multipartBody3379389040270129847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839564375,"filename":"image_10122025_16_13_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/12/27/0e75a58f3096e10eb2a76171bf6f37a7.jpg","text":"TemporaryFile(/tmp/multipartBody8055525561264010955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839564375,"filename":"image_10122025_16_13_45_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271369","file1":"1401271367","file0":"1401271365","file4":"1401271372","file5":"1401271375","file3":"1401271370"},"map_files_photo_id_array":[{"photo_id":"1401271375","filename":"file5"},{"photo_id":"1401271369","filename":"file2"},{"photo_id":"1401271372","filename":"file4"},{"photo_id":"1401271367","filename":"file1"},{"photo_id":"1401271365","filename":"file0"},{"photo_id":"1401271370","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271370":["hashtag1","hashtag2"]},{"1401271372":["hashtag1","hashtag2"]},{"1401271375":["hashtag1","hashtag2"]},{"1401271369":["hashtag1","hashtag2"]},{"1401271365":["hashtag1","hashtag2"]},{"1401271367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271370, 1401271372, 1401271375, 1401271369, 1401271365, 1401271367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57567811012268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:45:47.662900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_54_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_45_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_35_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_24_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_15_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/11/image_10122025_16_11_25_10738.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_54_9709.jpg', '/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_45_9643.jpg', '/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_35_10638.jpg', '/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_24_9720.jpg', '/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_15_9743.jpg', '/home/nano/Desktop/images/10122025/16/11/image_10122025_16_11_25_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_54_9709.jpg
/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_45_9643.jpg
/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_35_10638.jpg
/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_24_9720.jpg
/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_15_9743.jpg
/home/nano/Desktop/images/10122025/16/11/image_10122025_16_11_25_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271390","1401271384","1401271383","1401271386","1401271385","1401271388"],"photo_ids_order":["1401271383","1401271384","1401271385","1401271386","1401271388","1401271390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1936f41e6f5cf15ed95398a37ef1ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4932818561226265747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839608475,"filename":"image_10122025_16_11_25_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86d97cd025cc517abe5418d524b5d896.jpg","text":"TemporaryFile(/tmp/multipartBody1359703880861073361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839608475,"filename":"image_10122025_16_12_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/686df8d24b0f469f96afc184e728a7a3.jpg","text":"TemporaryFile(/tmp/multipartBody4727243282699903962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839608475,"filename":"image_10122025_16_12_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/12/27/db76434ccbb865683f2686cc5b139f4e.jpg","text":"TemporaryFile(/tmp/multipartBody7898641170974066006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839608475,"filename":"image_10122025_16_12_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/12/27/136450a9f39eaccb5c86e538db55da8a.jpg","text":"TemporaryFile(/tmp/multipartBody5578927251527299694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839608475,"filename":"image_10122025_16_12_35_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e80e8d98180223a10d053ef595190368.jpg","text":"TemporaryFile(/tmp/multipartBody6984413588912748162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839608475,"filename":"image_10122025_16_12_15_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271385","file1":"1401271384","file0":"1401271383","file4":"1401271388","file5":"1401271390","file3":"1401271386"},"map_files_photo_id_array":[{"photo_id":"1401271390","filename":"file5"},{"photo_id":"1401271385","filename":"file2"},{"photo_id":"1401271388","filename":"file4"},{"photo_id":"1401271384","filename":"file1"},{"photo_id":"1401271383","filename":"file0"},{"photo_id":"1401271386","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271390":["hashtag1","hashtag2"]},{"1401271384":["hashtag1","hashtag2"]},{"1401271383":["hashtag1","hashtag2"]},{"1401271386":["hashtag1","hashtag2"]},{"1401271385":["hashtag1","hashtag2"]},{"1401271388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271390, 1401271384, 1401271383, 1401271386, 1401271385, 1401271388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21735072135925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:46:31.787630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_55_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_34_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_54_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_55_9725.jpg', '/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_45_10736.jpg', '/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_34_9728.jpg', '/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_54_9724.jpg', '/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', '/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_55_9725.jpg
/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_45_10736.jpg
/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_34_9728.jpg
/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_54_9724.jpg
/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg
/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_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":["1401271400","1401271408","1401271398","1401271410","1401271397","1401271404"],"photo_ids_order":["1401271397","1401271398","1401271400","1401271404","1401271408","1401271410"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4eff3ceef963418ada42011bb4dda19.jpg","text":"TemporaryFile(/tmp/multipartBody594139823305536831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839652638,"filename":"image_10122025_16_10_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0114e761440146386c8d397b48062438.jpg","text":"TemporaryFile(/tmp/multipartBody8587741996239237092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839652638,"filename":"image_10122025_16_09_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/12/27/9e2b664db613a44defeae066c0a4b691.jpg","text":"TemporaryFile(/tmp/multipartBody755820033448258516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839652638,"filename":"image_10122025_16_10_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b77c71e42992481ecb01c960ba035a4.jpg","text":"TemporaryFile(/tmp/multipartBody6245756403507288096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839652638,"filename":"image_10122025_16_09_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3337eb1612325eae0fa483c1eb937fed.jpg","text":"TemporaryFile(/tmp/multipartBody1961057883997394653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839652638,"filename":"image_10122025_16_10_55_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3681c6235faee979d0adfd8c571b186.jpg","text":"TemporaryFile(/tmp/multipartBody3669527107809446969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839652638,"filename":"image_10122025_16_09_54_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271400","file1":"1401271398","file0":"1401271397","file4":"1401271408","file5":"1401271410","file3":"1401271404"},"map_files_photo_id_array":[{"photo_id":"1401271410","filename":"file5"},{"photo_id":"1401271400","filename":"file2"},{"photo_id":"1401271408","filename":"file4"},{"photo_id":"1401271398","filename":"file1"},{"photo_id":"1401271397","filename":"file0"},{"photo_id":"1401271404","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271400":["hashtag1","hashtag2"]},{"1401271408":["hashtag1","hashtag2"]},{"1401271398":["hashtag1","hashtag2"]},{"1401271410":["hashtag1","hashtag2"]},{"1401271397":["hashtag1","hashtag2"]},{"1401271404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271400, 1401271408, 1401271398, 1401271410, 1401271397, 1401271404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08728289604187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:47:16.871353
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_25_10734.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_14_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_09_04_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_55_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_34_9728.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_25_10734.jpg', '/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_14_9746.jpg', '/home/nano/Desktop/images/10122025/16/08/image_10122025_16_09_04_9732.jpg', '/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_55_9727.jpg', '/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_45_10736.jpg', '/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_34_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_25_10734.jpg
/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_14_9746.jpg
/home/nano/Desktop/images/10122025/16/08/image_10122025_16_09_04_9732.jpg
/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_55_9727.jpg
/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_45_10736.jpg
/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_34_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271418","1401271427","1401271429","1401271420","1401271423","1401271425"],"photo_ids_order":["1401271418","1401271420","1401271423","1401271425","1401271427","1401271429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57123a1c15f13aab611629d35207ae8a.jpg","text":"TemporaryFile(/tmp/multipartBody6836388924592701550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839697708,"filename":"image_10122025_16_09_25_10734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffb631c0f019acbaf40a1dad300a334f.jpg","text":"TemporaryFile(/tmp/multipartBody4685699621798165496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839697708,"filename":"image_10122025_16_08_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71459097c125328f2821f084c2222f8d.jpg","text":"TemporaryFile(/tmp/multipartBody7896781534508583758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839697708,"filename":"image_10122025_16_08_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/336c1342238716adbd00abd78b2f250d.jpg","text":"TemporaryFile(/tmp/multipartBody2374935443845682955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839697708,"filename":"image_10122025_16_09_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/12/27/f7aa00beec6cb0334c42a6cc33919a14.jpg","text":"TemporaryFile(/tmp/multipartBody1255295014654926957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839697708,"filename":"image_10122025_16_09_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa17d98f6148a3bb6d2167e1e6f70222.jpg","text":"TemporaryFile(/tmp/multipartBody3887209978484483566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839697708,"filename":"image_10122025_16_08_55_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271423","file1":"1401271420","file0":"1401271418","file4":"1401271427","file5":"1401271429","file3":"1401271425"},"map_files_photo_id_array":[{"photo_id":"1401271429","filename":"file5"},{"photo_id":"1401271423","filename":"file2"},{"photo_id":"1401271427","filename":"file4"},{"photo_id":"1401271420","filename":"file1"},{"photo_id":"1401271418","filename":"file0"},{"photo_id":"1401271425","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271418":["hashtag1","hashtag2"]},{"1401271427":["hashtag1","hashtag2"]},{"1401271429":["hashtag1","hashtag2"]},{"1401271420":["hashtag1","hashtag2"]},{"1401271423":["hashtag1","hashtag2"]},{"1401271425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271418, 1401271427, 1401271429, 1401271420, 1401271423, 1401271425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28798317909241 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:48:02.496459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_25_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_15_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_08_05_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_54_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_45_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_35_10747.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_25_9729.jpg', '/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_15_9739.jpg', '/home/nano/Desktop/images/10122025/16/07/image_10122025_16_08_05_10752.jpg', '/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_54_9731.jpg', '/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_45_9728.jpg', '/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_35_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_25_9729.jpg
/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_15_9739.jpg
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_08_05_10752.jpg
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_54_9731.jpg
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_45_9728.jpg
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_35_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":["1401271442","1401271445","1401271453","1401271447","1401271449","1401271451"],"photo_ids_order":["1401271442","1401271445","1401271447","1401271449","1401271451","1401271453"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/009b51f3b08aed3ba79e7a4e1f7e861c.jpg","text":"TemporaryFile(/tmp/multipartBody8812127532106967490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839743368,"filename":"image_10122025_16_08_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ecd56f3f2dc4e2db3d46194b4494f7b.jpg","text":"TemporaryFile(/tmp/multipartBody4408441086769254616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839743368,"filename":"image_10122025_16_08_15_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd7de1fff197cc60f3b0393fdd2982a0.jpg","text":"TemporaryFile(/tmp/multipartBody2602416765633312826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839743368,"filename":"image_10122025_16_07_35_10747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/658516524af340bc96d9c85e839713c0.jpg","text":"TemporaryFile(/tmp/multipartBody5267404555835412857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839743368,"filename":"image_10122025_16_08_05_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03ef2a3f120150ea2874a285a4694449.jpg","text":"TemporaryFile(/tmp/multipartBody4652837826909255992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839743368,"filename":"image_10122025_16_07_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2672e12e7d38a4db9905552d169986fb.jpg","text":"TemporaryFile(/tmp/multipartBody932763082726668673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839743368,"filename":"image_10122025_16_07_45_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271447","file1":"1401271445","file0":"1401271442","file4":"1401271451","file5":"1401271453","file3":"1401271449"},"map_files_photo_id_array":[{"photo_id":"1401271453","filename":"file5"},{"photo_id":"1401271447","filename":"file2"},{"photo_id":"1401271451","filename":"file4"},{"photo_id":"1401271445","filename":"file1"},{"photo_id":"1401271442","filename":"file0"},{"photo_id":"1401271449","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271442":["hashtag1","hashtag2"]},{"1401271445":["hashtag1","hashtag2"]},{"1401271453":["hashtag1","hashtag2"]},{"1401271447":["hashtag1","hashtag2"]},{"1401271449":["hashtag1","hashtag2"]},{"1401271451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271442, 1401271445, 1401271453, 1401271447, 1401271449, 1401271451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.795742988586426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:48:47.018461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg', '/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_10620.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6915571689605713 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:49:03.085788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg', '/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg
/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_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":["1401271471","1401271473","1401271467","1401271478","1401271475","1401271469"],"photo_ids_order":["1401271467","1401271469","1401271471","1401271473","1401271475","1401271478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02bf5e76e3c1f40e00bb41b7bf04c2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3954018433646502772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839803900,"filename":"image_10122025_16_07_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfde586f905bab5efad73cbc5d52cb47.jpg","text":"TemporaryFile(/tmp/multipartBody2313002365832241460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839803900,"filename":"image_10122025_16_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/12/27/5cd4428a4ba76987632dd5524350bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody6896305779256416100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839803900,"filename":"image_10122025_16_07_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/12/27/01bc7b45bec7df85b03dcd42d4125c86.jpg","text":"TemporaryFile(/tmp/multipartBody7906192916438158920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839803900,"filename":"image_10122025_16_06_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3fa94b058a2568ee71d2f094b7ce338.jpg","text":"TemporaryFile(/tmp/multipartBody5170239318820635053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839803900,"filename":"image_10122025_16_06_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3abcfe4f275de5d33a2ffc5158e8071.jpg","text":"TemporaryFile(/tmp/multipartBody7067362967243763469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839803900,"filename":"image_10122025_16_07_14_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271471","file1":"1401271469","file0":"1401271467","file4":"1401271475","file5":"1401271478","file3":"1401271473"},"map_files_photo_id_array":[{"photo_id":"1401271478","filename":"file5"},{"photo_id":"1401271471","filename":"file2"},{"photo_id":"1401271475","filename":"file4"},{"photo_id":"1401271469","filename":"file1"},{"photo_id":"1401271467","filename":"file0"},{"photo_id":"1401271473","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271471":["hashtag1","hashtag2"]},{"1401271473":["hashtag1","hashtag2"]},{"1401271467":["hashtag1","hashtag2"]},{"1401271478":["hashtag1","hashtag2"]},{"1401271475":["hashtag1","hashtag2"]},{"1401271469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271471, 1401271473, 1401271467, 1401271478, 1401271475, 1401271469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87689566612244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:49:47.131344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_06_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_34_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_24_9610.jpg', '/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_15_9615.jpg', '/home/nano/Desktop/images/10122025/16/05/image_10122025_16_06_05_10623.jpg', '/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_54_9605.jpg', '/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_45_10621.jpg', '/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_24_9610.jpg
/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_15_9615.jpg
/home/nano/Desktop/images/10122025/16/05/image_10122025_16_06_05_10623.jpg
/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_54_9605.jpg
/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_45_10621.jpg
/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_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":["1401271489","1401271491","1401271488","1401271490","1401271493","1401271487"],"photo_ids_order":["1401271487","1401271488","1401271489","1401271490","1401271491","1401271493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5af96b2fdd146c0488ecce90fa9531d5.jpg","text":"TemporaryFile(/tmp/multipartBody3553606752547194744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839847922,"filename":"image_10122025_16_06_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/061c06b5223b776f1dc51a896af3ce25.jpg","text":"TemporaryFile(/tmp/multipartBody6478854558995638294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839847922,"filename":"image_10122025_16_05_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90d4fa29b05f949dcbbaebd2d5e8a2b7.jpg","text":"TemporaryFile(/tmp/multipartBody7802513807789798632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839847922,"filename":"image_10122025_16_06_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d38918eaf0d60c4b7950c718009b43b.jpg","text":"TemporaryFile(/tmp/multipartBody6591466288416034642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839847922,"filename":"image_10122025_16_05_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/12/27/d80d8fa7bd7b3785b0d46c0b0261c33e.jpg","text":"TemporaryFile(/tmp/multipartBody728166876988845960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839847922,"filename":"image_10122025_16_05_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/12/27/98f566986dfcc4633272f7657d81d79c.jpg","text":"TemporaryFile(/tmp/multipartBody7552799318037826161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839847922,"filename":"image_10122025_16_06_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271489","file1":"1401271488","file0":"1401271487","file4":"1401271491","file5":"1401271493","file3":"1401271490"},"map_files_photo_id_array":[{"photo_id":"1401271493","filename":"file5"},{"photo_id":"1401271489","filename":"file2"},{"photo_id":"1401271491","filename":"file4"},{"photo_id":"1401271488","filename":"file1"},{"photo_id":"1401271487","filename":"file0"},{"photo_id":"1401271490","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271489":["hashtag1","hashtag2"]},{"1401271491":["hashtag1","hashtag2"]},{"1401271488":["hashtag1","hashtag2"]},{"1401271490":["hashtag1","hashtag2"]},{"1401271493":["hashtag1","hashtag2"]},{"1401271487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271489, 1401271491, 1401271488, 1401271490, 1401271493, 1401271487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.108065605163574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:50:32.307322
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/13/50/image_27122025_13_50_44_10526.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/13/50/image_27122025_13_50_44_10526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/13/50/image_27122025_13_50_44_10526.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271502"],"photo_id":"1401271502","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19a061ac216473241978768b1a46fa58.jpg","text":"TemporaryFile(/tmp/multipartBody1679646214600576276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839892554,"filename":"image_27122025_13_50_44_10526.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401271502"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401271502"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.383701086044312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:50:47.217160
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_05_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_35_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_25_9608.jpg', '/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_15_10631.jpg', '/home/nano/Desktop/images/10122025/16/04/image_10122025_16_05_04_9600.jpg', '/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_55_10630.jpg', '/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_44_9604.jpg', '/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_35_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_25_9608.jpg
/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_15_10631.jpg
/home/nano/Desktop/images/10122025/16/04/image_10122025_16_05_04_9600.jpg
/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_55_10630.jpg
/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_44_9604.jpg
/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_35_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":["1401271520","1401271523","1401271516","1401271519","1401271524","1401271521"],"photo_ids_order":["1401271516","1401271519","1401271520","1401271521","1401271523","1401271524"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1933c31d0df08150475eda1dc958b412.jpg","text":"TemporaryFile(/tmp/multipartBody1905979360847642931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839908021,"filename":"image_10122025_16_05_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/12/27/73e313d9bf56ac7063d68475cf257086.jpg","text":"TemporaryFile(/tmp/multipartBody7348521360236103183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839908021,"filename":"image_10122025_16_04_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/12/27/dfa403a908682ed87a1c158f81959097.jpg","text":"TemporaryFile(/tmp/multipartBody8957030349086865799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839908021,"filename":"image_10122025_16_05_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c40781a17a6f0c0fc6bc722971ab3e3.jpg","text":"TemporaryFile(/tmp/multipartBody970606165025842769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839908021,"filename":"image_10122025_16_05_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/818fc52a0f315c0f6bdf1041a590ccb6.jpg","text":"TemporaryFile(/tmp/multipartBody2017073481296727573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839908021,"filename":"image_10122025_16_04_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0f00b1149298730afbd4680b34d0169.jpg","text":"TemporaryFile(/tmp/multipartBody4581344523363690729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839908021,"filename":"image_10122025_16_04_55_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271520","file1":"1401271519","file0":"1401271516","file4":"1401271523","file5":"1401271524","file3":"1401271521"},"map_files_photo_id_array":[{"photo_id":"1401271524","filename":"file5"},{"photo_id":"1401271520","filename":"file2"},{"photo_id":"1401271523","filename":"file4"},{"photo_id":"1401271519","filename":"file1"},{"photo_id":"1401271516","filename":"file0"},{"photo_id":"1401271521","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271520":["hashtag1","hashtag2"]},{"1401271523":["hashtag1","hashtag2"]},{"1401271516":["hashtag1","hashtag2"]},{"1401271519":["hashtag1","hashtag2"]},{"1401271524":["hashtag1","hashtag2"]},{"1401271521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271520, 1401271523, 1401271516, 1401271519, 1401271524, 1401271521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38440656661987 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:51:32.348548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_04_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_35_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_25_10606.jpg', '/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_14_9617.jpg', '/home/nano/Desktop/images/10122025/16/03/image_10122025_16_04_05_9632.jpg', '/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_55_10613.jpg', '/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_44_9608.jpg', '/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_35_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_25_10606.jpg
/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_14_9617.jpg
/home/nano/Desktop/images/10122025/16/03/image_10122025_16_04_05_9632.jpg
/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_55_10613.jpg
/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_44_9608.jpg
/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_35_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":["1401271541","1401271535","1401271538","1401271540","1401271537","1401271533"],"photo_ids_order":["1401271533","1401271535","1401271537","1401271538","1401271540","1401271541"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b4a4d2c3f9ab1b5f35cfc43e3807e24.jpg","text":"TemporaryFile(/tmp/multipartBody2720360605331122970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839953162,"filename":"image_10122025_16_03_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19a4dc0f18f0a53c90e223947d270009.jpg","text":"TemporaryFile(/tmp/multipartBody1133185013147473351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839953162,"filename":"image_10122025_16_04_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/12/27/03896e16e4b3468ab2606fb0be98a368.jpg","text":"TemporaryFile(/tmp/multipartBody2562153662014607622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839953162,"filename":"image_10122025_16_03_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/908486e9553b960ca41489c2e8c13ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2390911986265904654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839953162,"filename":"image_10122025_16_03_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/12/27/86c75b6754d23e3a79d323e6742c9a50.jpg","text":"TemporaryFile(/tmp/multipartBody916978569608579159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839953162,"filename":"image_10122025_16_04_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52046ca4e2f6bfbed3a8f07f4a87f680.jpg","text":"TemporaryFile(/tmp/multipartBody264506469564303730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839953162,"filename":"image_10122025_16_04_25_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271537","file1":"1401271535","file0":"1401271533","file4":"1401271540","file5":"1401271541","file3":"1401271538"},"map_files_photo_id_array":[{"photo_id":"1401271541","filename":"file5"},{"photo_id":"1401271537","filename":"file2"},{"photo_id":"1401271540","filename":"file4"},{"photo_id":"1401271535","filename":"file1"},{"photo_id":"1401271533","filename":"file0"},{"photo_id":"1401271538","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271541":["hashtag1","hashtag2"]},{"1401271535":["hashtag1","hashtag2"]},{"1401271538":["hashtag1","hashtag2"]},{"1401271540":["hashtag1","hashtag2"]},{"1401271537":["hashtag1","hashtag2"]},{"1401271533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271541, 1401271535, 1401271538, 1401271540, 1401271537, 1401271533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.144484519958496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:52:17.480768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_03_05_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_54_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_35_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_24_9604.jpg', '/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_15_9642.jpg', '/home/nano/Desktop/images/10122025/16/02/image_10122025_16_03_05_10661.jpg', '/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_54_9663.jpg', '/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_45_9601.jpg', '/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_35_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_24_9604.jpg
/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_15_9642.jpg
/home/nano/Desktop/images/10122025/16/02/image_10122025_16_03_05_10661.jpg
/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_54_9663.jpg
/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_45_9601.jpg
/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_35_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":["1401271543","1401271552","1401271546","1401271555","1401271549","1401271542"],"photo_ids_order":["1401271542","1401271543","1401271546","1401271549","1401271552","1401271555"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/050915a1abdfac502a4503bf54a564ee.jpg","text":"TemporaryFile(/tmp/multipartBody7456605398080326179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839998289,"filename":"image_10122025_16_03_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50e1b5c89aaa37ddb4d238643c715e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6207847830234972929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839998289,"filename":"image_10122025_16_02_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3b706103a5e90e33fb0f4e3777680b2.jpg","text":"TemporaryFile(/tmp/multipartBody1828855067355157830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839998289,"filename":"image_10122025_16_03_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc0eca0b508077a00249ad460fb60469.jpg","text":"TemporaryFile(/tmp/multipartBody5187177946961345720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839998289,"filename":"image_10122025_16_02_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a616a060bb5f77a0f8a533269f90da6.jpg","text":"TemporaryFile(/tmp/multipartBody2921344554628679491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839998289,"filename":"image_10122025_16_02_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d694b1d70458e9c3f9d5b653e8a7d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody4494837769915132960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766839998289,"filename":"image_10122025_16_03_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271546","file1":"1401271543","file0":"1401271542","file4":"1401271552","file5":"1401271555","file3":"1401271549"},"map_files_photo_id_array":[{"photo_id":"1401271555","filename":"file5"},{"photo_id":"1401271546","filename":"file2"},{"photo_id":"1401271552","filename":"file4"},{"photo_id":"1401271543","filename":"file1"},{"photo_id":"1401271542","filename":"file0"},{"photo_id":"1401271549","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271543":["hashtag1","hashtag2"]},{"1401271552":["hashtag1","hashtag2"]},{"1401271546":["hashtag1","hashtag2"]},{"1401271555":["hashtag1","hashtag2"]},{"1401271549":["hashtag1","hashtag2"]},{"1401271542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271543, 1401271552, 1401271546, 1401271555, 1401271549, 1401271542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06069731712341 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:53:03.520564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_02_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_34_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_24_9602.jpg', '/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_15_10630.jpg', '/home/nano/Desktop/images/10122025/16/01/image_10122025_16_02_04_9600.jpg', '/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_55_9603.jpg', '/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_45_10612.jpg', '/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_34_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_24_9602.jpg
/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_15_10630.jpg
/home/nano/Desktop/images/10122025/16/01/image_10122025_16_02_04_9600.jpg
/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_55_9603.jpg
/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_45_10612.jpg
/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_34_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":["1401271562","1401271566","1401271563","1401271571","1401271565","1401271568"],"photo_ids_order":["1401271562","1401271563","1401271565","1401271566","1401271568","1401271571"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dc4df0110ddb4ad99527eccf533528a.jpg","text":"TemporaryFile(/tmp/multipartBody4630075683711667461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840044372,"filename":"image_10122025_16_02_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/12/27/7f3fdb5d049d505e47bfcc4e38f21c21.jpg","text":"TemporaryFile(/tmp/multipartBody5643185363059786290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840044372,"filename":"image_10122025_16_01_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78a75656fbcde44c5d449b2587808176.jpg","text":"TemporaryFile(/tmp/multipartBody733491369513185376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840044372,"filename":"image_10122025_16_02_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4bfe5bf43b41ab1e9e2ea208675d38e1.jpg","text":"TemporaryFile(/tmp/multipartBody2129901854406770872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840044372,"filename":"image_10122025_16_01_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/12/27/9ce464b3acd5fa610440dcc893544fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8145096313245358071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840044372,"filename":"image_10122025_16_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/12/27/e75320e2fb6b6765b7b5e5fab13b3874.jpg","text":"TemporaryFile(/tmp/multipartBody5123149287973629291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840044372,"filename":"image_10122025_16_01_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271565","file1":"1401271563","file0":"1401271562","file4":"1401271568","file5":"1401271571","file3":"1401271566"},"map_files_photo_id_array":[{"photo_id":"1401271571","filename":"file5"},{"photo_id":"1401271565","filename":"file2"},{"photo_id":"1401271568","filename":"file4"},{"photo_id":"1401271563","filename":"file1"},{"photo_id":"1401271562","filename":"file0"},{"photo_id":"1401271566","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271562":["hashtag1","hashtag2"]},{"1401271566":["hashtag1","hashtag2"]},{"1401271563":["hashtag1","hashtag2"]},{"1401271571":["hashtag1","hashtag2"]},{"1401271565":["hashtag1","hashtag2"]},{"1401271568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271562, 1401271566, 1401271563, 1401271571, 1401271565, 1401271568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.517667293548584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:53:47.645998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_01_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_35_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_25_10615.jpg', '/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_14_9624.jpg', '/home/nano/Desktop/images/10122025/16/00/image_10122025_16_01_05_9616.jpg', '/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_55_10628.jpg', '/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_44_9608.jpg', '/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_35_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_25_10615.jpg
/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_14_9624.jpg
/home/nano/Desktop/images/10122025/16/00/image_10122025_16_01_05_9616.jpg
/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_55_10628.jpg
/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_44_9608.jpg
/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_35_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":["1401271594","1401271591","1401271590","1401271593","1401271595","1401271592"],"photo_ids_order":["1401271590","1401271591","1401271592","1401271593","1401271594","1401271595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d90391c2e9afb773500a58002389bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody1047897561914692665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840088451,"filename":"image_10122025_16_00_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/12/27/3c3ace77180f73879d633c60d45fc413.jpg","text":"TemporaryFile(/tmp/multipartBody1515984908123624168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840088451,"filename":"image_10122025_16_01_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/12/27/43f4935b0cfa26fc840266ecef2d3664.jpg","text":"TemporaryFile(/tmp/multipartBody850856863165788805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840088451,"filename":"image_10122025_16_01_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83f5c0c237d691c8685e3506fe2c0997.jpg","text":"TemporaryFile(/tmp/multipartBody6890970282162930179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840088451,"filename":"image_10122025_16_00_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd9de553bb7597ec2ad0c13cb4b83452.jpg","text":"TemporaryFile(/tmp/multipartBody265838243152771108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840088451,"filename":"image_10122025_16_00_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2d577fc3ad955952a5422fff7a95f03.jpg","text":"TemporaryFile(/tmp/multipartBody2564785400571128832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840088451,"filename":"image_10122025_16_01_05_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271592","file1":"1401271591","file0":"1401271590","file4":"1401271594","file5":"1401271595","file3":"1401271593"},"map_files_photo_id_array":[{"photo_id":"1401271595","filename":"file5"},{"photo_id":"1401271592","filename":"file2"},{"photo_id":"1401271594","filename":"file4"},{"photo_id":"1401271591","filename":"file1"},{"photo_id":"1401271590","filename":"file0"},{"photo_id":"1401271593","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271594":["hashtag1","hashtag2"]},{"1401271591":["hashtag1","hashtag2"]},{"1401271590":["hashtag1","hashtag2"]},{"1401271593":["hashtag1","hashtag2"]},{"1401271595":["hashtag1","hashtag2"]},{"1401271592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271594, 1401271591, 1401271590, 1401271593, 1401271595, 1401271592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.536264181137085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:54:32.780307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_16_00_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_54_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_44_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_35_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_25_10618.jpg', '/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_14_9636.jpg', '/home/nano/Desktop/images/10122025/15/59/image_10122025_16_00_05_10675.jpg', '/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_54_9675.jpg', '/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_44_9732.jpg', '/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_35_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_25_10618.jpg
/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_14_9636.jpg
/home/nano/Desktop/images/10122025/15/59/image_10122025_16_00_05_10675.jpg
/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_54_9675.jpg
/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_44_9732.jpg
/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_35_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":["1401271607","1401271615","1401271609","1401271611","1401271605","1401271614"],"photo_ids_order":["1401271605","1401271607","1401271609","1401271611","1401271614","1401271615"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e127c9baf13fcf5499190b6222404ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8618752948489963702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840133609,"filename":"image_10122025_16_00_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/12/27/ede93f3bb82272213cfa53a8bacbc663.jpg","text":"TemporaryFile(/tmp/multipartBody2968103982580200129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840133609,"filename":"image_10122025_15_59_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86afa8ccac7f176028fa4b3f7857bc95.jpg","text":"TemporaryFile(/tmp/multipartBody9008555456357086142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840133609,"filename":"image_10122025_16_00_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b31a3b4e9106f8a09961498522a235df.jpg","text":"TemporaryFile(/tmp/multipartBody5261341128350978945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840133609,"filename":"image_10122025_15_59_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/12/27/b44e6bffaa0b5b58335a35756abd20ee.jpg","text":"TemporaryFile(/tmp/multipartBody6882148046131227080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840133609,"filename":"image_10122025_16_00_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91aabca39b9d6aa88bf9a41ae88a43f8.jpg","text":"TemporaryFile(/tmp/multipartBody1051775906997284557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840133609,"filename":"image_10122025_15_59_44_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271609","file1":"1401271607","file0":"1401271605","file4":"1401271614","file5":"1401271615","file3":"1401271611"},"map_files_photo_id_array":[{"photo_id":"1401271615","filename":"file5"},{"photo_id":"1401271609","filename":"file2"},{"photo_id":"1401271614","filename":"file4"},{"photo_id":"1401271607","filename":"file1"},{"photo_id":"1401271605","filename":"file0"},{"photo_id":"1401271611","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271607":["hashtag1","hashtag2"]},{"1401271615":["hashtag1","hashtag2"]},{"1401271609":["hashtag1","hashtag2"]},{"1401271611":["hashtag1","hashtag2"]},{"1401271605":["hashtag1","hashtag2"]},{"1401271614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271607, 1401271615, 1401271609, 1401271611, 1401271605, 1401271614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.261682987213135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:55:16.876566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_24_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_59_05_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_54_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_44_9817.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_35_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_24_9662.jpg', '/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_14_9633.jpg', '/home/nano/Desktop/images/10122025/15/58/image_10122025_15_59_05_10696.jpg', '/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_54_9667.jpg', '/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_44_9817.jpg', '/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_35_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_24_9662.jpg
/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_14_9633.jpg
/home/nano/Desktop/images/10122025/15/58/image_10122025_15_59_05_10696.jpg
/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_54_9667.jpg
/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_44_9817.jpg
/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_35_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":["1401271628","1401271625","1401271630","1401271618","1401271620","1401271623"],"photo_ids_order":["1401271618","1401271620","1401271623","1401271625","1401271628","1401271630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f09b450e2d72d63d53bbfdaf714cfe4.jpg","text":"TemporaryFile(/tmp/multipartBody817420336634923651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840177685,"filename":"image_10122025_15_58_44_9817.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75a389ebfb8debcfa930252c9d5db113.jpg","text":"TemporaryFile(/tmp/multipartBody5079491203575026681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840177685,"filename":"image_10122025_15_58_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/828811d0b4df02c0efcdcae19f946f1a.jpg","text":"TemporaryFile(/tmp/multipartBody516988696164717350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840177685,"filename":"image_10122025_15_58_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34b89162d131d1b0b919592c1302104f.jpg","text":"TemporaryFile(/tmp/multipartBody7117003461851588458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840177685,"filename":"image_10122025_15_59_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/12/27/1047ef73d968fb58ef1366d2998d5106.jpg","text":"TemporaryFile(/tmp/multipartBody3225085203056617125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840177685,"filename":"image_10122025_15_59_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/12/27/18fb940ddbc40e5026875e94b9eea716.jpg","text":"TemporaryFile(/tmp/multipartBody4050748662255603612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840177685,"filename":"image_10122025_15_59_05_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271623","file1":"1401271620","file0":"1401271618","file4":"1401271628","file5":"1401271630","file3":"1401271625"},"map_files_photo_id_array":[{"photo_id":"1401271630","filename":"file5"},{"photo_id":"1401271623","filename":"file2"},{"photo_id":"1401271628","filename":"file4"},{"photo_id":"1401271620","filename":"file1"},{"photo_id":"1401271618","filename":"file0"},{"photo_id":"1401271625","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271628":["hashtag1","hashtag2"]},{"1401271625":["hashtag1","hashtag2"]},{"1401271630":["hashtag1","hashtag2"]},{"1401271618":["hashtag1","hashtag2"]},{"1401271620":["hashtag1","hashtag2"]},{"1401271623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271628, 1401271625, 1401271630, 1401271618, 1401271620, 1401271623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29566216468811 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:56:02.505546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_14_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_58_05_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_54_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_45_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_35_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_25_10602.jpg', '/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_14_9590.jpg', '/home/nano/Desktop/images/10122025/15/57/image_10122025_15_58_05_10598.jpg', '/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_54_9579.jpg', '/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_45_9576.jpg', '/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_25_10602.jpg
/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_14_9590.jpg
/home/nano/Desktop/images/10122025/15/57/image_10122025_15_58_05_10598.jpg
/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_54_9579.jpg
/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_45_9576.jpg
/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_35_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":["1401271643","1401271637","1401271639","1401271633","1401271641","1401271635"],"photo_ids_order":["1401271633","1401271635","1401271637","1401271639","1401271641","1401271643"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ace8fee3586dae319896c0d8a74286d.jpg","text":"TemporaryFile(/tmp/multipartBody8792580074470521209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840223359,"filename":"image_10122025_15_57_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0090ce63f1124e7970098a3148b426e.jpg","text":"TemporaryFile(/tmp/multipartBody62716593190679341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840223359,"filename":"image_10122025_15_58_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ce37d6faeef8bc814df1c75eb980265.jpg","text":"TemporaryFile(/tmp/multipartBody8316743675225520501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840223359,"filename":"image_10122025_15_57_54_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52943e1c1ee39f680fb1eefaee7c6a53.jpg","text":"TemporaryFile(/tmp/multipartBody5193655851017775772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840223359,"filename":"image_10122025_15_58_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/596b2994acbf1af70af0547a46bb5217.jpg","text":"TemporaryFile(/tmp/multipartBody129611889925047070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840223359,"filename":"image_10122025_15_57_45_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1895d1eefd85bc86af34377f15d75112.jpg","text":"TemporaryFile(/tmp/multipartBody7112538215678312599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840223359,"filename":"image_10122025_15_58_14_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271637","file1":"1401271635","file0":"1401271633","file4":"1401271641","file5":"1401271643","file3":"1401271639"},"map_files_photo_id_array":[{"photo_id":"1401271643","filename":"file5"},{"photo_id":"1401271637","filename":"file2"},{"photo_id":"1401271641","filename":"file4"},{"photo_id":"1401271635","filename":"file1"},{"photo_id":"1401271633","filename":"file0"},{"photo_id":"1401271639","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271643":["hashtag1","hashtag2"]},{"1401271637":["hashtag1","hashtag2"]},{"1401271639":["hashtag1","hashtag2"]},{"1401271633":["hashtag1","hashtag2"]},{"1401271641":["hashtag1","hashtag2"]},{"1401271635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271643, 1401271637, 1401271639, 1401271633, 1401271641, 1401271635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8552827835083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:56:47.016517
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_15_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_57_04_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_55_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_45_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_34_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_24_9592.jpg', '/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_15_10603.jpg', '/home/nano/Desktop/images/10122025/15/56/image_10122025_15_57_04_9593.jpg', '/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_55_9580.jpg', '/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_45_10587.jpg', '/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_34_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_24_9592.jpg
/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_15_10603.jpg
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_57_04_9593.jpg
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_55_9580.jpg
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_45_10587.jpg
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_34_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":["1401271663","1401271665","1401271662","1401271659","1401271664","1401271667"],"photo_ids_order":["1401271659","1401271662","1401271663","1401271664","1401271665","1401271667"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f7b457f03316d1a091ecfcad22963df.jpg","text":"TemporaryFile(/tmp/multipartBody8465006813604864325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840267816,"filename":"image_10122025_15_57_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/12/27/6b1ce554a7efcb864a5699fdc953df16.jpg","text":"TemporaryFile(/tmp/multipartBody5709449364549798324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840267816,"filename":"image_10122025_15_56_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e4a44bae658701df10302d8dd4449d8.jpg","text":"TemporaryFile(/tmp/multipartBody5433597648566124125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840267816,"filename":"image_10122025_15_57_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00acd5dcbbb469715dcde603b05dbb34.jpg","text":"TemporaryFile(/tmp/multipartBody6816418367728289814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840267816,"filename":"image_10122025_15_57_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/12/27/06e32dd7f1de69fb59ea6defa23440f0.jpg","text":"TemporaryFile(/tmp/multipartBody5478783905420427280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840267816,"filename":"image_10122025_15_56_55_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/825764d9e174f8236b20a41fd621c281.jpg","text":"TemporaryFile(/tmp/multipartBody6145041020881310302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840267816,"filename":"image_10122025_15_56_34_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271663","file1":"1401271662","file0":"1401271659","file4":"1401271665","file5":"1401271667","file3":"1401271664"},"map_files_photo_id_array":[{"photo_id":"1401271667","filename":"file5"},{"photo_id":"1401271663","filename":"file2"},{"photo_id":"1401271665","filename":"file4"},{"photo_id":"1401271662","filename":"file1"},{"photo_id":"1401271659","filename":"file0"},{"photo_id":"1401271664","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271663":["hashtag1","hashtag2"]},{"1401271665":["hashtag1","hashtag2"]},{"1401271662":["hashtag1","hashtag2"]},{"1401271659":["hashtag1","hashtag2"]},{"1401271664":["hashtag1","hashtag2"]},{"1401271667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271663, 1401271665, 1401271662, 1401271659, 1401271664, 1401271667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37845420837402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:57:32.159332
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg', '/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:58:02.621205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg', '/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg
/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271687","1401271684","1401271686","1401271689","1401271685","1401271688"],"photo_ids_order":["1401271684","1401271685","1401271686","1401271687","1401271688","1401271689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02c0f1d4898f7bc6f197414560b1e39e.jpg","text":"TemporaryFile(/tmp/multipartBody832983385840124452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840343427,"filename":"image_10122025_15_55_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0df84a9c6cde3843f3a045349beff5e2.jpg","text":"TemporaryFile(/tmp/multipartBody2484594012554893531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840343427,"filename":"image_10122025_15_56_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8c47a2c83a9a5ad000fc91ccb7951f1.jpg","text":"TemporaryFile(/tmp/multipartBody6927339234702499422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840343427,"filename":"image_10122025_15_56_05_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9133c0d00aee0e4f2909d12f9b22e9f.jpg","text":"TemporaryFile(/tmp/multipartBody202367653410569048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840343427,"filename":"image_10122025_15_55_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e3d3ad98063e5b3d14561521703ead4.jpg","text":"TemporaryFile(/tmp/multipartBody8704407893072502082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840343427,"filename":"image_10122025_15_56_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/12/27/c819f7960b9465e1a3bfd0a7d5db10cc.jpg","text":"TemporaryFile(/tmp/multipartBody752507765142108131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840343427,"filename":"image_10122025_15_55_44_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271686","file1":"1401271685","file0":"1401271684","file4":"1401271688","file5":"1401271689","file3":"1401271687"},"map_files_photo_id_array":[{"photo_id":"1401271689","filename":"file5"},{"photo_id":"1401271686","filename":"file2"},{"photo_id":"1401271688","filename":"file4"},{"photo_id":"1401271685","filename":"file1"},{"photo_id":"1401271684","filename":"file0"},{"photo_id":"1401271687","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271687":["hashtag1","hashtag2"]},{"1401271684":["hashtag1","hashtag2"]},{"1401271686":["hashtag1","hashtag2"]},{"1401271689":["hashtag1","hashtag2"]},{"1401271685":["hashtag1","hashtag2"]},{"1401271688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271687, 1401271684, 1401271686, 1401271689, 1401271685, 1401271688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10800790786743 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:59:03.234219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_15_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_55_04_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_55_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_45_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_34_9577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_24_9577.jpg', '/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_15_10612.jpg', '/home/nano/Desktop/images/10122025/15/54/image_10122025_15_55_04_9590.jpg', '/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_55_9580.jpg', '/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_45_10589.jpg', '/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_34_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_24_9577.jpg
/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_15_10612.jpg
/home/nano/Desktop/images/10122025/15/54/image_10122025_15_55_04_9590.jpg
/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_55_9580.jpg
/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_45_10589.jpg
/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_34_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271700","1401271703","1401271693","1401271706","1401271692","1401271697"],"photo_ids_order":["1401271692","1401271693","1401271697","1401271700","1401271703","1401271706"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/016669be46321232c193beb36a68d44a.jpg","text":"TemporaryFile(/tmp/multipartBody2056614848245754164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840404170,"filename":"image_10122025_15_54_55_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/397b99d3b6de9009f9e3ed12ee391391.jpg","text":"TemporaryFile(/tmp/multipartBody2229002791120978203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840404170,"filename":"image_10122025_15_54_45_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70957e323ffddd15705d30435bb83d4b.jpg","text":"TemporaryFile(/tmp/multipartBody5891029065550585760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840404170,"filename":"image_10122025_15_55_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0e0caa00d6669c3becfc7af4a0c2d95.jpg","text":"TemporaryFile(/tmp/multipartBody4309041288041766391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840404170,"filename":"image_10122025_15_54_34_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f009f8aac76171eb385997ebd3274145.jpg","text":"TemporaryFile(/tmp/multipartBody1228805785851080440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840404170,"filename":"image_10122025_15_55_24_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8dfcb246a3c89fa929dae77d9222343f.jpg","text":"TemporaryFile(/tmp/multipartBody5649138805877647567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840404170,"filename":"image_10122025_15_55_04_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271697","file1":"1401271693","file0":"1401271692","file4":"1401271703","file5":"1401271706","file3":"1401271700"},"map_files_photo_id_array":[{"photo_id":"1401271706","filename":"file5"},{"photo_id":"1401271697","filename":"file2"},{"photo_id":"1401271703","filename":"file4"},{"photo_id":"1401271693","filename":"file1"},{"photo_id":"1401271692","filename":"file0"},{"photo_id":"1401271700","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271700":["hashtag1","hashtag2"]},{"1401271703":["hashtag1","hashtag2"]},{"1401271693":["hashtag1","hashtag2"]},{"1401271706":["hashtag1","hashtag2"]},{"1401271692":["hashtag1","hashtag2"]},{"1401271697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271700, 1401271703, 1401271693, 1401271706, 1401271692, 1401271697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.781904220581055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 13:59:47.361501
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/13/59/image_27122025_13_59_54_10529.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/13/59/image_27122025_13_59_54_10529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/13/59/image_27122025_13_59_54_10529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271714"],"photo_id":"1401271714","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c053056d601e2cd643bb5b29c7d5b990.jpg","text":"TemporaryFile(/tmp/multipartBody2579197323781761942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840447601,"filename":"image_27122025_13_59_54_10529.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401271714"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401271714"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.163352489471436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:00:03.019984
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_14_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_54_05_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_55_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_44_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_35_10590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_25_10587.jpg', '/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_14_9597.jpg', '/home/nano/Desktop/images/10122025/15/53/image_10122025_15_54_05_9587.jpg', '/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_55_10587.jpg', '/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_44_9581.jpg', '/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_35_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_25_10587.jpg
/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_14_9597.jpg
/home/nano/Desktop/images/10122025/15/53/image_10122025_15_54_05_9587.jpg
/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_55_10587.jpg
/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_44_9581.jpg
/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_35_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271736","1401271741","1401271738","1401271732","1401271734","1401271730"],"photo_ids_order":["1401271730","1401271732","1401271734","1401271736","1401271738","1401271741"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82fe2d6a31249e705f6922316b846f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2141765080102638709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840463866,"filename":"image_10122025_15_53_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66bf659970ba69f396581f2c8104fd3d.jpg","text":"TemporaryFile(/tmp/multipartBody2588406127997405430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840463866,"filename":"image_10122025_15_53_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db1be007c9ed84b70f750f95c304a9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8014473892824827225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840463866,"filename":"image_10122025_15_53_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d584d803d7a809e33bc6619ab07cb94.jpg","text":"TemporaryFile(/tmp/multipartBody2305548431232819879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840463866,"filename":"image_10122025_15_54_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4952ec3ba7020ffe097ed039424c68ef.jpg","text":"TemporaryFile(/tmp/multipartBody8400000207596214951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840463866,"filename":"image_10122025_15_54_05_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7450539fb94852e54b8e07f7e51840f1.jpg","text":"TemporaryFile(/tmp/multipartBody4752608723565741202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840463866,"filename":"image_10122025_15_54_25_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271734","file1":"1401271732","file0":"1401271730","file4":"1401271738","file5":"1401271741","file3":"1401271736"},"map_files_photo_id_array":[{"photo_id":"1401271741","filename":"file5"},{"photo_id":"1401271734","filename":"file2"},{"photo_id":"1401271738","filename":"file4"},{"photo_id":"1401271732","filename":"file1"},{"photo_id":"1401271730","filename":"file0"},{"photo_id":"1401271736","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271736":["hashtag1","hashtag2"]},{"1401271741":["hashtag1","hashtag2"]},{"1401271738":["hashtag1","hashtag2"]},{"1401271732":["hashtag1","hashtag2"]},{"1401271734":["hashtag1","hashtag2"]},{"1401271730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271736, 1401271741, 1401271738, 1401271732, 1401271734, 1401271730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.224605083465576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:00:47.445666
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_24_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_53_05_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_54_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_45_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_34_9580.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_24_9581.jpg', '/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_15_9603.jpg', '/home/nano/Desktop/images/10122025/15/52/image_10122025_15_53_05_10606.jpg', '/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_54_9593.jpg', '/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_45_10589.jpg', '/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_34_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_24_9581.jpg
/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_15_9603.jpg
/home/nano/Desktop/images/10122025/15/52/image_10122025_15_53_05_10606.jpg
/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_54_9593.jpg
/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_45_10589.jpg
/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_34_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271754","1401271753","1401271756","1401271759","1401271755","1401271757"],"photo_ids_order":["1401271753","1401271754","1401271755","1401271756","1401271757","1401271759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8024737d67af94e5eabac848b6483fa7.jpg","text":"TemporaryFile(/tmp/multipartBody813987607695900696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840508212,"filename":"image_10122025_15_53_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e35d217e43fb29fe71cebe22e5b5a96.jpg","text":"TemporaryFile(/tmp/multipartBody6170961175747531001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840508212,"filename":"image_10122025_15_53_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dac0faffd6779867c5e9b45749fdea9.jpg","text":"TemporaryFile(/tmp/multipartBody5697247094336126901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840508212,"filename":"image_10122025_15_52_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/12/27/3f231a6d4098713b6453524f4f9ca749.jpg","text":"TemporaryFile(/tmp/multipartBody2523695021560250652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840508212,"filename":"image_10122025_15_52_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e050fe4be46d7bbbff8c9e6bb11574c9.jpg","text":"TemporaryFile(/tmp/multipartBody1437012762743631971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840508212,"filename":"image_10122025_15_53_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b290daa11f3044f2d05c80fdd433da85.jpg","text":"TemporaryFile(/tmp/multipartBody1934646877270234778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840508212,"filename":"image_10122025_15_52_45_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271755","file1":"1401271754","file0":"1401271753","file4":"1401271757","file5":"1401271759","file3":"1401271756"},"map_files_photo_id_array":[{"photo_id":"1401271759","filename":"file5"},{"photo_id":"1401271755","filename":"file2"},{"photo_id":"1401271757","filename":"file4"},{"photo_id":"1401271754","filename":"file1"},{"photo_id":"1401271753","filename":"file0"},{"photo_id":"1401271756","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271754":["hashtag1","hashtag2"]},{"1401271753":["hashtag1","hashtag2"]},{"1401271756":["hashtag1","hashtag2"]},{"1401271759":["hashtag1","hashtag2"]},{"1401271755":["hashtag1","hashtag2"]},{"1401271757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271754, 1401271753, 1401271756, 1401271759, 1401271755, 1401271757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.318838357925415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:01:32.549133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_25_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_52_05_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_55_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_35_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_25_10585.jpg', '/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_14_9613.jpg', '/home/nano/Desktop/images/10122025/15/51/image_10122025_15_52_05_9586.jpg', '/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_55_10589.jpg', '/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_44_9580.jpg', '/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_35_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_25_10585.jpg
/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_14_9613.jpg
/home/nano/Desktop/images/10122025/15/51/image_10122025_15_52_05_9586.jpg
/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_55_10589.jpg
/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_44_9580.jpg
/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_35_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271769","1401271771","1401271774","1401271777","1401271767","1401271776"],"photo_ids_order":["1401271767","1401271769","1401271771","1401271774","1401271776","1401271777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76700dd69389654289bc9f252b9ae7d9.jpg","text":"TemporaryFile(/tmp/multipartBody8917219800027725213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840553335,"filename":"image_10122025_15_52_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/12/27/5f7913a73aad49379b76e41c171404e5.jpg","text":"TemporaryFile(/tmp/multipartBody1260258052996907522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840553335,"filename":"image_10122025_15_52_05_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2b482f83e4ef75d31b120848d397dba.jpg","text":"TemporaryFile(/tmp/multipartBody6145945125842308996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840553335,"filename":"image_10122025_15_51_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3dbfae94757d74146ad468008b9c4a62.jpg","text":"TemporaryFile(/tmp/multipartBody5900494379786552326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840553335,"filename":"image_10122025_15_51_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7599de17ed1e535db7d35e6d11413dff.jpg","text":"TemporaryFile(/tmp/multipartBody3114665546151604359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840553335,"filename":"image_10122025_15_52_25_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65154a20f26f74fb05609c39d7cea3e4.jpg","text":"TemporaryFile(/tmp/multipartBody2878332042242704322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840553335,"filename":"image_10122025_15_51_44_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271771","file1":"1401271769","file0":"1401271767","file4":"1401271776","file5":"1401271777","file3":"1401271774"},"map_files_photo_id_array":[{"photo_id":"1401271777","filename":"file5"},{"photo_id":"1401271771","filename":"file2"},{"photo_id":"1401271776","filename":"file4"},{"photo_id":"1401271769","filename":"file1"},{"photo_id":"1401271767","filename":"file0"},{"photo_id":"1401271774","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271769":["hashtag1","hashtag2"]},{"1401271771":["hashtag1","hashtag2"]},{"1401271774":["hashtag1","hashtag2"]},{"1401271777":["hashtag1","hashtag2"]},{"1401271767":["hashtag1","hashtag2"]},{"1401271776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271769, 1401271771, 1401271774, 1401271777, 1401271767, 1401271776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64194893836975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:02:17.678295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_24_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_15_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_51_05_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_54_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_45_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_34_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_24_9579.jpg', '/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_15_9589.jpg', '/home/nano/Desktop/images/10122025/15/50/image_10122025_15_51_05_10587.jpg', '/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_54_9577.jpg', '/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_45_10590.jpg', '/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_34_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_24_9579.jpg
/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_15_9589.jpg
/home/nano/Desktop/images/10122025/15/50/image_10122025_15_51_05_10587.jpg
/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_54_9577.jpg
/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_45_10590.jpg
/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_34_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271789","1401271782","1401271791","1401271793","1401271784","1401271787"],"photo_ids_order":["1401271782","1401271784","1401271787","1401271789","1401271791","1401271793"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fb66ce30f0ff68e8535167f93a5bad9.jpg","text":"TemporaryFile(/tmp/multipartBody6502408467390625670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840598472,"filename":"image_10122025_15_50_54_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adb7eb711671203b213dd95d5e358606.jpg","text":"TemporaryFile(/tmp/multipartBody2228990860748839677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840598472,"filename":"image_10122025_15_51_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dd47332ea84b0c71879ef5577115c06.jpg","text":"TemporaryFile(/tmp/multipartBody9187110244223688344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840598472,"filename":"image_10122025_15_50_45_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f2b7c5356102b3aa482d0ef12abc57a.jpg","text":"TemporaryFile(/tmp/multipartBody7239227584876484322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840598472,"filename":"image_10122025_15_50_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15c4969a3f749201353317f3a17cecf1.jpg","text":"TemporaryFile(/tmp/multipartBody2473577746999841064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840598472,"filename":"image_10122025_15_51_15_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db0f0e5f8761b698561d72bf027e385f.jpg","text":"TemporaryFile(/tmp/multipartBody8630652241287921546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840598472,"filename":"image_10122025_15_51_05_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271787","file1":"1401271784","file0":"1401271782","file4":"1401271791","file5":"1401271793","file3":"1401271789"},"map_files_photo_id_array":[{"photo_id":"1401271793","filename":"file5"},{"photo_id":"1401271787","filename":"file2"},{"photo_id":"1401271791","filename":"file4"},{"photo_id":"1401271784","filename":"file1"},{"photo_id":"1401271782","filename":"file0"},{"photo_id":"1401271789","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271789":["hashtag1","hashtag2"]},{"1401271782":["hashtag1","hashtag2"]},{"1401271791":["hashtag1","hashtag2"]},{"1401271793":["hashtag1","hashtag2"]},{"1401271784":["hashtag1","hashtag2"]},{"1401271787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271789, 1401271782, 1401271791, 1401271793, 1401271784, 1401271787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.581626892089844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:03:02.664180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_25_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_15_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_50_04_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_55_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_44_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_35_10591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_25_9581.jpg', '/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_15_10605.jpg', '/home/nano/Desktop/images/10122025/15/49/image_10122025_15_50_04_9591.jpg', '/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_55_10594.jpg', '/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_44_9584.jpg', '/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_35_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_25_9581.jpg
/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_15_10605.jpg
/home/nano/Desktop/images/10122025/15/49/image_10122025_15_50_04_9591.jpg
/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_55_10594.jpg
/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_44_9584.jpg
/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_35_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271811","1401271808","1401271813","1401271815","1401271809","1401271818"],"photo_ids_order":["1401271808","1401271809","1401271811","1401271813","1401271815","1401271818"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eab5912347b702341adb5c66f7b13b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1807593366378178582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840643500,"filename":"image_10122025_15_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/12/27/436e7bb41d17de317fc365f5ffa31814.jpg","text":"TemporaryFile(/tmp/multipartBody8031701972733364380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840643500,"filename":"image_10122025_15_50_25_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e00d669f57c650934de44954bbd30fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8175538844124986599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840643500,"filename":"image_10122025_15_49_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83daf34cef0f37e2bf4f6c52096e3c56.jpg","text":"TemporaryFile(/tmp/multipartBody4863543744032959426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840643500,"filename":"image_10122025_15_49_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a8824099d688dcdba35d4ad37ef0fd7.jpg","text":"TemporaryFile(/tmp/multipartBody5797013289087628506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840643500,"filename":"image_10122025_15_50_15_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a217be5006430884047bfa317dc4b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6032197206021993648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840643500,"filename":"image_10122025_15_49_35_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271811","file1":"1401271809","file0":"1401271808","file4":"1401271815","file5":"1401271818","file3":"1401271813"},"map_files_photo_id_array":[{"photo_id":"1401271818","filename":"file5"},{"photo_id":"1401271811","filename":"file2"},{"photo_id":"1401271815","filename":"file4"},{"photo_id":"1401271809","filename":"file1"},{"photo_id":"1401271808","filename":"file0"},{"photo_id":"1401271813","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271811":["hashtag1","hashtag2"]},{"1401271808":["hashtag1","hashtag2"]},{"1401271813":["hashtag1","hashtag2"]},{"1401271815":["hashtag1","hashtag2"]},{"1401271809":["hashtag1","hashtag2"]},{"1401271818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271811, 1401271808, 1401271813, 1401271815, 1401271809, 1401271818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64461398124695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:03:46.802821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_15_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_49_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_54_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_45_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_34_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_24_9598.jpg', '/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_15_9580.jpg', '/home/nano/Desktop/images/10122025/15/48/image_10122025_15_49_05_10608.jpg', '/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_54_9600.jpg', '/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_45_10605.jpg', '/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_34_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_24_9598.jpg
/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_15_9580.jpg
/home/nano/Desktop/images/10122025/15/48/image_10122025_15_49_05_10608.jpg
/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_54_9600.jpg
/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_45_10605.jpg
/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_34_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":["1401271829","1401271831","1401271828","1401271833","1401271827","1401271830"],"photo_ids_order":["1401271827","1401271828","1401271829","1401271830","1401271831","1401271833"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71fe761c60cb243b847bb1383e0842d4.jpg","text":"TemporaryFile(/tmp/multipartBody988518406771786732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840687603,"filename":"image_10122025_15_49_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69b7350f6cee4391c2819732c65bcc8c.jpg","text":"TemporaryFile(/tmp/multipartBody701748207063467026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840687603,"filename":"image_10122025_15_48_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2e995ad9515061973734ce3a3f85b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2348223111900749692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840687603,"filename":"image_10122025_15_49_15_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/322b0be2d2d61f0bccab70880a8dbc55.jpg","text":"TemporaryFile(/tmp/multipartBody8707376698885110502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840687603,"filename":"image_10122025_15_48_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/12/27/fefa6adb2064fcf6278c984063f0b883.jpg","text":"TemporaryFile(/tmp/multipartBody8380456771214704189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840687603,"filename":"image_10122025_15_49_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/12/27/71a033423f855e0393f08c3343273e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7462619065616246950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840687603,"filename":"image_10122025_15_48_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271829","file1":"1401271828","file0":"1401271827","file4":"1401271831","file5":"1401271833","file3":"1401271830"},"map_files_photo_id_array":[{"photo_id":"1401271833","filename":"file5"},{"photo_id":"1401271829","filename":"file2"},{"photo_id":"1401271831","filename":"file4"},{"photo_id":"1401271828","filename":"file1"},{"photo_id":"1401271827","filename":"file0"},{"photo_id":"1401271830","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271829":["hashtag1","hashtag2"]},{"1401271831":["hashtag1","hashtag2"]},{"1401271828":["hashtag1","hashtag2"]},{"1401271833":["hashtag1","hashtag2"]},{"1401271827":["hashtag1","hashtag2"]},{"1401271830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271829, 1401271831, 1401271828, 1401271833, 1401271827, 1401271830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8241605758667 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:04:31.891372
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_25_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_15_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_48_04_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_44_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_35_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_25_9575.jpg', '/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_15_10606.jpg', '/home/nano/Desktop/images/10122025/15/47/image_10122025_15_48_04_9584.jpg', '/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_55_10610.jpg', '/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_44_9581.jpg', '/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_35_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_25_9575.jpg
/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_15_10606.jpg
/home/nano/Desktop/images/10122025/15/47/image_10122025_15_48_04_9584.jpg
/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_55_10610.jpg
/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_44_9581.jpg
/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_35_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271853","1401271841","1401271851","1401271848","1401271842","1401271844"],"photo_ids_order":["1401271841","1401271842","1401271844","1401271848","1401271851","1401271853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58a89a212cfa9c4b3219a5e4ee1366aa.jpg","text":"TemporaryFile(/tmp/multipartBody542243539393051367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840732722,"filename":"image_10122025_15_47_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da7ffcfece739b808e6f536d2d3966b5.jpg","text":"TemporaryFile(/tmp/multipartBody2743697511828732602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840732722,"filename":"image_10122025_15_48_25_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6673ccc06db92577aa87113b122989cd.jpg","text":"TemporaryFile(/tmp/multipartBody7458778850077699335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840732722,"filename":"image_10122025_15_47_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f2e97ec1b247ef63d2f1f8f17e0a226.jpg","text":"TemporaryFile(/tmp/multipartBody401910195452162143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840732722,"filename":"image_10122025_15_47_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c57c7391ee41a7aba607633a31b1ec17.jpg","text":"TemporaryFile(/tmp/multipartBody287376662455090445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840732722,"filename":"image_10122025_15_48_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bba066b991b2c98afc8b5193013229c8.jpg","text":"TemporaryFile(/tmp/multipartBody5326041568871933323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840732722,"filename":"image_10122025_15_48_04_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271844","file1":"1401271842","file0":"1401271841","file4":"1401271851","file5":"1401271853","file3":"1401271848"},"map_files_photo_id_array":[{"photo_id":"1401271853","filename":"file5"},{"photo_id":"1401271844","filename":"file2"},{"photo_id":"1401271851","filename":"file4"},{"photo_id":"1401271842","filename":"file1"},{"photo_id":"1401271841","filename":"file0"},{"photo_id":"1401271848","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271853":["hashtag1","hashtag2"]},{"1401271841":["hashtag1","hashtag2"]},{"1401271851":["hashtag1","hashtag2"]},{"1401271848":["hashtag1","hashtag2"]},{"1401271842":["hashtag1","hashtag2"]},{"1401271844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271853, 1401271841, 1401271851, 1401271848, 1401271842, 1401271844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12888813018799 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:05:17.017833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_25_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_14_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_47_05_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_54_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_45_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_35_10591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_25_10588.jpg', '/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_14_9592.jpg', '/home/nano/Desktop/images/10122025/15/46/image_10122025_15_47_05_10594.jpg', '/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_54_9580.jpg', '/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_45_9588.jpg', '/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_35_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_25_10588.jpg
/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_14_9592.jpg
/home/nano/Desktop/images/10122025/15/46/image_10122025_15_47_05_10594.jpg
/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_54_9580.jpg
/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_45_9588.jpg
/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_35_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271891","1401271879","1401271863","1401271887","1401271866","1401271889"],"photo_ids_order":["1401271863","1401271866","1401271879","1401271887","1401271889","1401271891"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b40ffb5c278bae8f4ececf6db3540b07.jpg","text":"TemporaryFile(/tmp/multipartBody9076876461215075077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840777797,"filename":"image_10122025_15_46_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42489db2e73db8ea499a711955d6af1f.jpg","text":"TemporaryFile(/tmp/multipartBody8105743416134221561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840777797,"filename":"image_10122025_15_47_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21682f6eb2aa26a6e66481cad4848374.jpg","text":"TemporaryFile(/tmp/multipartBody6173038496336711873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840777797,"filename":"image_10122025_15_47_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1adb26352ccfa955a3421a79382da4df.jpg","text":"TemporaryFile(/tmp/multipartBody430364992322273487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840777797,"filename":"image_10122025_15_46_54_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab08989d6526370f9660db7d428f88b8.jpg","text":"TemporaryFile(/tmp/multipartBody5827622514365993146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840777797,"filename":"image_10122025_15_47_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d2cddcf8c280ca980051fa4111cc790.jpg","text":"TemporaryFile(/tmp/multipartBody4382534242630613756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840777797,"filename":"image_10122025_15_46_45_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271879","file1":"1401271866","file0":"1401271863","file4":"1401271889","file5":"1401271891","file3":"1401271887"},"map_files_photo_id_array":[{"photo_id":"1401271891","filename":"file5"},{"photo_id":"1401271879","filename":"file2"},{"photo_id":"1401271889","filename":"file4"},{"photo_id":"1401271866","filename":"file1"},{"photo_id":"1401271863","filename":"file0"},{"photo_id":"1401271887","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271891":["hashtag1","hashtag2"]},{"1401271879":["hashtag1","hashtag2"]},{"1401271863":["hashtag1","hashtag2"]},{"1401271887":["hashtag1","hashtag2"]},{"1401271866":["hashtag1","hashtag2"]},{"1401271889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271891, 1401271879, 1401271863, 1401271887, 1401271866, 1401271889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.081782817840576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:06:02.641590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_24_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_15_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_46_04_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_55_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_45_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_34_9578.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_24_9579.jpg', '/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_15_10604.jpg', '/home/nano/Desktop/images/10122025/15/45/image_10122025_15_46_04_9587.jpg', '/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_55_9583.jpg', '/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_45_10595.jpg', '/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_34_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_24_9579.jpg
/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_15_10604.jpg
/home/nano/Desktop/images/10122025/15/45/image_10122025_15_46_04_9587.jpg
/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_55_9583.jpg
/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_45_10595.jpg
/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_34_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271907","1401271904","1401271906","1401271909","1401271908","1401271905"],"photo_ids_order":["1401271904","1401271905","1401271906","1401271907","1401271908","1401271909"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4aaa21701a0c42dfe341c8b0fadd7e2.jpg","text":"TemporaryFile(/tmp/multipartBody4603369496140082827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840823503,"filename":"image_10122025_15_45_55_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f79dbd622e325d874ee24d5067776de3.jpg","text":"TemporaryFile(/tmp/multipartBody2555029791949167035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840823503,"filename":"image_10122025_15_46_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cf701f9b54bc08048bba79ac2c3d221.jpg","text":"TemporaryFile(/tmp/multipartBody5141384549001704160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840823503,"filename":"image_10122025_15_46_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd4d7b0ce81cb00aaf7c6c9110ef893b.jpg","text":"TemporaryFile(/tmp/multipartBody676651970555829906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840823503,"filename":"image_10122025_15_45_34_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14daaf63bc21854519c20868a2105221.jpg","text":"TemporaryFile(/tmp/multipartBody3927645696457668657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840823503,"filename":"image_10122025_15_45_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/381542c00ed0ed9029e244e9c6e4203f.jpg","text":"TemporaryFile(/tmp/multipartBody1090254961109271585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840823503,"filename":"image_10122025_15_46_15_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271906","file1":"1401271905","file0":"1401271904","file4":"1401271908","file5":"1401271909","file3":"1401271907"},"map_files_photo_id_array":[{"photo_id":"1401271909","filename":"file5"},{"photo_id":"1401271906","filename":"file2"},{"photo_id":"1401271908","filename":"file4"},{"photo_id":"1401271905","filename":"file1"},{"photo_id":"1401271904","filename":"file0"},{"photo_id":"1401271907","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271907":["hashtag1","hashtag2"]},{"1401271904":["hashtag1","hashtag2"]},{"1401271906":["hashtag1","hashtag2"]},{"1401271909":["hashtag1","hashtag2"]},{"1401271908":["hashtag1","hashtag2"]},{"1401271905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271907, 1401271904, 1401271906, 1401271909, 1401271908, 1401271905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20458245277405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:06:47.124506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_45_05_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_54_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_45_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_35_10590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_25_10595.jpg', '/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_14_9600.jpg', '/home/nano/Desktop/images/10122025/15/44/image_10122025_15_45_05_10599.jpg', '/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_54_9578.jpg', '/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_45_9578.jpg', '/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_35_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_25_10595.jpg
/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_14_9600.jpg
/home/nano/Desktop/images/10122025/15/44/image_10122025_15_45_05_10599.jpg
/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_54_9578.jpg
/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_45_9578.jpg
/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_35_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271925","1401271928","1401271924","1401271926","1401271929","1401271923"],"photo_ids_order":["1401271923","1401271924","1401271925","1401271926","1401271928","1401271929"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02bd193da35c52271a2c3fee8b951722.jpg","text":"TemporaryFile(/tmp/multipartBody3047639510046118188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840867914,"filename":"image_10122025_15_45_05_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44f8a1fcc34320ef3394eebab2572543.jpg","text":"TemporaryFile(/tmp/multipartBody4726985469012454293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840867914,"filename":"image_10122025_15_44_45_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/409837f5a912797f708e7f766f059cd5.jpg","text":"TemporaryFile(/tmp/multipartBody49607296465305985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840867914,"filename":"image_10122025_15_45_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/180eef4b29dfad654df87b1e8a91767e.jpg","text":"TemporaryFile(/tmp/multipartBody2328622206995415832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840867914,"filename":"image_10122025_15_44_54_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c01c871003acace7e071204e5d9af12a.jpg","text":"TemporaryFile(/tmp/multipartBody5480784752846514715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840867914,"filename":"image_10122025_15_44_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f4ffa675d1687bd6ff395b9f8882ed9.jpg","text":"TemporaryFile(/tmp/multipartBody5224014856747259117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840867914,"filename":"image_10122025_15_45_25_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271925","file1":"1401271924","file0":"1401271923","file4":"1401271928","file5":"1401271929","file3":"1401271926"},"map_files_photo_id_array":[{"photo_id":"1401271929","filename":"file5"},{"photo_id":"1401271925","filename":"file2"},{"photo_id":"1401271928","filename":"file4"},{"photo_id":"1401271924","filename":"file1"},{"photo_id":"1401271923","filename":"file0"},{"photo_id":"1401271926","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271925":["hashtag1","hashtag2"]},{"1401271928":["hashtag1","hashtag2"]},{"1401271924":["hashtag1","hashtag2"]},{"1401271926":["hashtag1","hashtag2"]},{"1401271929":["hashtag1","hashtag2"]},{"1401271923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271925, 1401271928, 1401271924, 1401271926, 1401271929, 1401271923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.84695792198181 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:07:32.222614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_15_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_44_04_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_55_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_45_10586.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_34_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_24_9577.jpg', '/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_15_10607.jpg', '/home/nano/Desktop/images/10122025/15/43/image_10122025_15_44_04_9585.jpg', '/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_55_9577.jpg', '/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_45_10586.jpg', '/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_24_9577.jpg
/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_15_10607.jpg
/home/nano/Desktop/images/10122025/15/43/image_10122025_15_44_04_9585.jpg
/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_55_9577.jpg
/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_45_10586.jpg
/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_34_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":["1401271952","1401271960","1401271959","1401271953","1401271956","1401271949"],"photo_ids_order":["1401271949","1401271952","1401271953","1401271956","1401271959","1401271960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59d9ab9e245ff6aad7158ac9e753679f.jpg","text":"TemporaryFile(/tmp/multipartBody4923837202037480272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840913019,"filename":"image_10122025_15_44_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df7718c2618dd5bd36c00e679c3ab664.jpg","text":"TemporaryFile(/tmp/multipartBody910371385119133904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840913019,"filename":"image_10122025_15_43_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/12/27/6f65f9fd9bf59dbdf633081b71912473.jpg","text":"TemporaryFile(/tmp/multipartBody6325556235060784999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840913019,"filename":"image_10122025_15_43_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6311378b60d3ee4f0691eea899bc92f.jpg","text":"TemporaryFile(/tmp/multipartBody2420356474047676922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840913019,"filename":"image_10122025_15_44_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16b5e3aedeac3c93dde465a227348e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4141654954582748948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840913019,"filename":"image_10122025_15_43_55_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/303c2401f41db98ba02ab3f8e4fcaf42.jpg","text":"TemporaryFile(/tmp/multipartBody7638444560674186852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840913019,"filename":"image_10122025_15_44_24_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271953","file1":"1401271952","file0":"1401271949","file4":"1401271959","file5":"1401271960","file3":"1401271956"},"map_files_photo_id_array":[{"photo_id":"1401271960","filename":"file5"},{"photo_id":"1401271953","filename":"file2"},{"photo_id":"1401271959","filename":"file4"},{"photo_id":"1401271952","filename":"file1"},{"photo_id":"1401271949","filename":"file0"},{"photo_id":"1401271956","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271952":["hashtag1","hashtag2"]},{"1401271960":["hashtag1","hashtag2"]},{"1401271959":["hashtag1","hashtag2"]},{"1401271953":["hashtag1","hashtag2"]},{"1401271956":["hashtag1","hashtag2"]},{"1401271949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271952, 1401271960, 1401271959, 1401271953, 1401271956, 1401271949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3251519203186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:08:17.342527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_14_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_43_05_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_55_10591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_44_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_35_10588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_25_10587.jpg', '/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_14_9590.jpg', '/home/nano/Desktop/images/10122025/15/42/image_10122025_15_43_05_9594.jpg', '/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_55_10591.jpg', '/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_44_9579.jpg', '/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_35_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_25_10587.jpg
/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_14_9590.jpg
/home/nano/Desktop/images/10122025/15/42/image_10122025_15_43_05_9594.jpg
/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_55_10591.jpg
/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_44_9579.jpg
/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_35_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401271966","1401271969","1401271977","1401271971","1401271974","1401271967"],"photo_ids_order":["1401271966","1401271967","1401271969","1401271971","1401271974","1401271977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41cf1eb0bb760ee7c0175d7edcef8f68.jpg","text":"TemporaryFile(/tmp/multipartBody2831217560193435313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840958129,"filename":"image_10122025_15_43_25_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/472e2a31bdb8dbc911c575a17f691f59.jpg","text":"TemporaryFile(/tmp/multipartBody4821470068451390541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840958129,"filename":"image_10122025_15_43_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7a1ca7ccf41515de53b41e6d757d4a3.jpg","text":"TemporaryFile(/tmp/multipartBody721204548100279925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840958129,"filename":"image_10122025_15_42_35_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23d91a3df23fdc24afdf325ed5f0ffe7.jpg","text":"TemporaryFile(/tmp/multipartBody5317237979683609600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840958129,"filename":"image_10122025_15_42_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f620764e4f8097a549d10788f8e14749.jpg","text":"TemporaryFile(/tmp/multipartBody2641701267571756949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840958129,"filename":"image_10122025_15_42_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/314a37ba9661e91787509179f3d8553c.jpg","text":"TemporaryFile(/tmp/multipartBody613233350496068600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766840958129,"filename":"image_10122025_15_43_14_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401271969","file1":"1401271967","file0":"1401271966","file4":"1401271974","file5":"1401271977","file3":"1401271971"},"map_files_photo_id_array":[{"photo_id":"1401271977","filename":"file5"},{"photo_id":"1401271969","filename":"file2"},{"photo_id":"1401271974","filename":"file4"},{"photo_id":"1401271967","filename":"file1"},{"photo_id":"1401271966","filename":"file0"},{"photo_id":"1401271971","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401271966":["hashtag1","hashtag2"]},{"1401271969":["hashtag1","hashtag2"]},{"1401271977":["hashtag1","hashtag2"]},{"1401271971":["hashtag1","hashtag2"]},{"1401271974":["hashtag1","hashtag2"]},{"1401271967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401271966, 1401271969, 1401271977, 1401271971, 1401271974, 1401271967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62557125091553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:09:03.289136
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_24_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_42_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_55_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_45_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_34_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_24_9574.jpg', '/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_15_10618.jpg', '/home/nano/Desktop/images/10122025/15/41/image_10122025_15_42_04_9602.jpg', '/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_55_9576.jpg', '/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_45_10592.jpg', '/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_34_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_24_9574.jpg
/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_15_10618.jpg
/home/nano/Desktop/images/10122025/15/41/image_10122025_15_42_04_9602.jpg
/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_55_9576.jpg
/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_45_10592.jpg
/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_34_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401272029","1401272031","1401272025","1401272034","1401272030","1401272027"],"photo_ids_order":["1401272025","1401272027","1401272029","1401272030","1401272031","1401272034"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2adfefef11dd094e6faaa70104d8280.jpg","text":"TemporaryFile(/tmp/multipartBody7812598418903700116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841004261,"filename":"image_10122025_15_42_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/12/27/fdb111d8415bb81691143e20395f8917.jpg","text":"TemporaryFile(/tmp/multipartBody826271628376350999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841004261,"filename":"image_10122025_15_41_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/febf68fd7cb2cc815727ed5e414e276f.jpg","text":"TemporaryFile(/tmp/multipartBody4897456782941063849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841004261,"filename":"image_10122025_15_42_24_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fb3a9748ed0e7bc03996cac0f53ddaa.jpg","text":"TemporaryFile(/tmp/multipartBody3930909307685818108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841004261,"filename":"image_10122025_15_41_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/12/27/3bf62ef196737110b6de69ccc32536ba.jpg","text":"TemporaryFile(/tmp/multipartBody532483079823861820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841004261,"filename":"image_10122025_15_41_55_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5b3ad1825be52ec81f056f276e7cf53.jpg","text":"TemporaryFile(/tmp/multipartBody3780914496363904622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841004261,"filename":"image_10122025_15_42_15_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272029","file1":"1401272027","file0":"1401272025","file4":"1401272031","file5":"1401272034","file3":"1401272030"},"map_files_photo_id_array":[{"photo_id":"1401272034","filename":"file5"},{"photo_id":"1401272029","filename":"file2"},{"photo_id":"1401272031","filename":"file4"},{"photo_id":"1401272027","filename":"file1"},{"photo_id":"1401272025","filename":"file0"},{"photo_id":"1401272030","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272029":["hashtag1","hashtag2"]},{"1401272031":["hashtag1","hashtag2"]},{"1401272025":["hashtag1","hashtag2"]},{"1401272034":["hashtag1","hashtag2"]},{"1401272030":["hashtag1","hashtag2"]},{"1401272027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272029, 1401272031, 1401272025, 1401272034, 1401272030, 1401272027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20133113861084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:09:47.457899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_25_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_14_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_41_05_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_55_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_35_10592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_25_10589.jpg', '/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_14_9591.jpg', '/home/nano/Desktop/images/10122025/15/40/image_10122025_15_41_05_9580.jpg', '/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_55_10592.jpg', '/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_44_9600.jpg', '/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_35_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_25_10589.jpg
/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_14_9591.jpg
/home/nano/Desktop/images/10122025/15/40/image_10122025_15_41_05_9580.jpg
/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_55_10592.jpg
/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_44_9600.jpg
/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_35_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401272041","1401272044","1401272043","1401272046","1401272042","1401272045"],"photo_ids_order":["1401272041","1401272042","1401272043","1401272044","1401272045","1401272046"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e36d4ff26d5be31e293b8be02e2ff162.jpg","text":"TemporaryFile(/tmp/multipartBody584097602002487158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841048235,"filename":"image_10122025_15_41_25_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be00132bbdd56e227f1c695466c146f9.jpg","text":"TemporaryFile(/tmp/multipartBody8295753842636059741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841048235,"filename":"image_10122025_15_40_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a61f2336cef7d8149a1c1c6c8df2afd.jpg","text":"TemporaryFile(/tmp/multipartBody3426165112215427393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841048235,"filename":"image_10122025_15_41_05_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2b77e12531b7c28e6b4ad9de0bb7101.jpg","text":"TemporaryFile(/tmp/multipartBody7488574962914852342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841048235,"filename":"image_10122025_15_40_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29738e0762e49f5ea38226fde9a3b5b6.jpg","text":"TemporaryFile(/tmp/multipartBody1117690319526478171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841048235,"filename":"image_10122025_15_41_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d5acccb36a90f60d18dd198bbcb834a.jpg","text":"TemporaryFile(/tmp/multipartBody2869288005161063807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841048235,"filename":"image_10122025_15_40_44_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272043","file1":"1401272042","file0":"1401272041","file4":"1401272045","file5":"1401272046","file3":"1401272044"},"map_files_photo_id_array":[{"photo_id":"1401272046","filename":"file5"},{"photo_id":"1401272043","filename":"file2"},{"photo_id":"1401272045","filename":"file4"},{"photo_id":"1401272042","filename":"file1"},{"photo_id":"1401272041","filename":"file0"},{"photo_id":"1401272044","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272041":["hashtag1","hashtag2"]},{"1401272044":["hashtag1","hashtag2"]},{"1401272043":["hashtag1","hashtag2"]},{"1401272046":["hashtag1","hashtag2"]},{"1401272042":["hashtag1","hashtag2"]},{"1401272045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272041, 1401272044, 1401272043, 1401272046, 1401272042, 1401272045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74608540534973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:10:32.556648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_24_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_40_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_45_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_34_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_24_9582.jpg', '/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_15_9611.jpg', '/home/nano/Desktop/images/10122025/15/39/image_10122025_15_40_05_10623.jpg', '/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_54_9595.jpg', '/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_45_10642.jpg', '/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_24_9582.jpg
/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_15_9611.jpg
/home/nano/Desktop/images/10122025/15/39/image_10122025_15_40_05_10623.jpg
/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_54_9595.jpg
/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_45_10642.jpg
/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_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":["1401272212","1401272206","1401272181","1401272211","1401272208","1401272219"],"photo_ids_order":["1401272181","1401272206","1401272208","1401272211","1401272212","1401272219"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2951adcaf70bf68a4623f3de608ef1cc.jpg","text":"TemporaryFile(/tmp/multipartBody6623255232747354798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841093328,"filename":"image_10122025_15_39_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee7bdd1ef754292dddcae41839f6522b.jpg","text":"TemporaryFile(/tmp/multipartBody34654780602982628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841093328,"filename":"image_10122025_15_40_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a394688b89c4db585c286773c76c6474.jpg","text":"TemporaryFile(/tmp/multipartBody2935938464449927467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841093328,"filename":"image_10122025_15_40_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44cf89bbabfa0255013430fcdf0fa5c8.jpg","text":"TemporaryFile(/tmp/multipartBody5856052510543579840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841093328,"filename":"image_10122025_15_39_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/12/27/843354da3a2484fd4dd846cb9e2ddf5d.jpg","text":"TemporaryFile(/tmp/multipartBody6362515976530784349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841093328,"filename":"image_10122025_15_40_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f660291b9e6d7db32ac78b9c05b1aac.jpg","text":"TemporaryFile(/tmp/multipartBody8155135519937995578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841093328,"filename":"image_10122025_15_39_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272208","file1":"1401272206","file0":"1401272181","file4":"1401272212","file5":"1401272219","file3":"1401272211"},"map_files_photo_id_array":[{"photo_id":"1401272219","filename":"file5"},{"photo_id":"1401272208","filename":"file2"},{"photo_id":"1401272212","filename":"file4"},{"photo_id":"1401272206","filename":"file1"},{"photo_id":"1401272181","filename":"file0"},{"photo_id":"1401272211","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272212":["hashtag1","hashtag2"]},{"1401272206":["hashtag1","hashtag2"]},{"1401272181":["hashtag1","hashtag2"]},{"1401272211":["hashtag1","hashtag2"]},{"1401272208":["hashtag1","hashtag2"]},{"1401272219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272212, 1401272206, 1401272181, 1401272211, 1401272208, 1401272219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21055030822754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:11:17.647486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_39_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_34_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_25_9617.jpg', '/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_15_10628.jpg', '/home/nano/Desktop/images/10122025/15/38/image_10122025_15_39_04_9602.jpg', '/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_55_9611.jpg', '/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_45_10609.jpg', '/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_25_9617.jpg
/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_15_10628.jpg
/home/nano/Desktop/images/10122025/15/38/image_10122025_15_39_04_9602.jpg
/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_55_9611.jpg
/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_45_10609.jpg
/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_34_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":["1401272242","1401272235","1401272238","1401272232","1401272240","1401272231"],"photo_ids_order":["1401272231","1401272232","1401272235","1401272238","1401272240","1401272242"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb1ea644824482c0f5b600a9a2f8fc79.jpg","text":"TemporaryFile(/tmp/multipartBody1340662362536908830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841138432,"filename":"image_10122025_15_38_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/12/27/35f595a542ab6d9a153a4aae6145266c.jpg","text":"TemporaryFile(/tmp/multipartBody4785735907928818151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841138432,"filename":"image_10122025_15_39_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/12/27/8675d1b76c335fc15c362c68658673a2.jpg","text":"TemporaryFile(/tmp/multipartBody2718530701344054967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841138432,"filename":"image_10122025_15_38_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/524d26f7b81466cae3ef1361c7bc0220.jpg","text":"TemporaryFile(/tmp/multipartBody8358236341936947585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841138432,"filename":"image_10122025_15_39_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/203e565daf2a5c28852992c64bc7f1bc.jpg","text":"TemporaryFile(/tmp/multipartBody7773932824183808669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841138432,"filename":"image_10122025_15_38_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dc6d4aa9ba5d46355b6e9f1af2cfc17.jpg","text":"TemporaryFile(/tmp/multipartBody4911509500203627545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841138432,"filename":"image_10122025_15_39_25_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272235","file1":"1401272232","file0":"1401272231","file4":"1401272240","file5":"1401272242","file3":"1401272238"},"map_files_photo_id_array":[{"photo_id":"1401272242","filename":"file5"},{"photo_id":"1401272235","filename":"file2"},{"photo_id":"1401272240","filename":"file4"},{"photo_id":"1401272232","filename":"file1"},{"photo_id":"1401272231","filename":"file0"},{"photo_id":"1401272238","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272242":["hashtag1","hashtag2"]},{"1401272235":["hashtag1","hashtag2"]},{"1401272238":["hashtag1","hashtag2"]},{"1401272232":["hashtag1","hashtag2"]},{"1401272240":["hashtag1","hashtag2"]},{"1401272231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272242, 1401272235, 1401272238, 1401272232, 1401272240, 1401272231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04253840446472 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:12:02.373427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_38_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_35_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_25_10616.jpg', '/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_14_9684.jpg', '/home/nano/Desktop/images/10122025/15/37/image_10122025_15_38_05_9609.jpg', '/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_55_10612.jpg', '/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_44_9608.jpg', '/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_35_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_25_10616.jpg
/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_14_9684.jpg
/home/nano/Desktop/images/10122025/15/37/image_10122025_15_38_05_9609.jpg
/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_55_10612.jpg
/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_44_9608.jpg
/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_35_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":["1401272263","1401272260","1401272262","1401272270","1401272264","1401272261"],"photo_ids_order":["1401272260","1401272261","1401272262","1401272263","1401272264","1401272270"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad5ac51ae1c773745b1c9de137517258.jpg","text":"TemporaryFile(/tmp/multipartBody4810931405553493626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841183199,"filename":"image_10122025_15_37_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71f467d8fb9d92a79903029a56e3e0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7004105150322797851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841183199,"filename":"image_10122025_15_38_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0f8b2590721952b102f79e2e2ad58cc.jpg","text":"TemporaryFile(/tmp/multipartBody7903318932862574570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841183199,"filename":"image_10122025_15_38_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba867c1694a2eb14659bcd61c9ac5b41.jpg","text":"TemporaryFile(/tmp/multipartBody4700018980807523308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841183199,"filename":"image_10122025_15_37_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8545286d9812d1848c4a2ef4a6c10b3.jpg","text":"TemporaryFile(/tmp/multipartBody4968837947165674301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841183199,"filename":"image_10122025_15_37_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/12/27/bdf69f46925cdacab3c3698b5119f1e2.jpg","text":"TemporaryFile(/tmp/multipartBody6670143556279215451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841183199,"filename":"image_10122025_15_38_14_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272262","file1":"1401272261","file0":"1401272260","file4":"1401272264","file5":"1401272270","file3":"1401272263"},"map_files_photo_id_array":[{"photo_id":"1401272270","filename":"file5"},{"photo_id":"1401272262","filename":"file2"},{"photo_id":"1401272264","filename":"file4"},{"photo_id":"1401272261","filename":"file1"},{"photo_id":"1401272260","filename":"file0"},{"photo_id":"1401272263","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272263":["hashtag1","hashtag2"]},{"1401272260":["hashtag1","hashtag2"]},{"1401272262":["hashtag1","hashtag2"]},{"1401272270":["hashtag1","hashtag2"]},{"1401272264":["hashtag1","hashtag2"]},{"1401272261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272263, 1401272260, 1401272262, 1401272270, 1401272264, 1401272261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54458808898926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:12:46.761175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_37_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_35_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_24_9602.jpg', '/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_15_9622.jpg', '/home/nano/Desktop/images/10122025/15/36/image_10122025_15_37_05_10617.jpg', '/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_54_9602.jpg', '/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_45_9605.jpg', '/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_35_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_24_9602.jpg
/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_15_9622.jpg
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_37_05_10617.jpg
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_54_9602.jpg
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_45_9605.jpg
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_35_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":["1401272411","1401272440","1401272472","1401272388","1401272390","1401272387"],"photo_ids_order":["1401272387","1401272388","1401272390","1401272411","1401272440","1401272472"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/289b8141469d82e3334af306b91a490f.jpg","text":"TemporaryFile(/tmp/multipartBody511501762921944416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841227550,"filename":"image_10122025_15_36_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/12/27/7ddb902be3ef0d9b5a9aa1776eacae1e.jpg","text":"TemporaryFile(/tmp/multipartBody876192287519856414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841227550,"filename":"image_10122025_15_36_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b2cb54249a5ab9fcc5e36dd3ad58e64.jpg","text":"TemporaryFile(/tmp/multipartBody2379391447722204358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841227550,"filename":"image_10122025_15_36_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5ca8b0dc72f61d916e0d670429ad3b4.jpg","text":"TemporaryFile(/tmp/multipartBody1996004445268003752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841227550,"filename":"image_10122025_15_37_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70ae2f434e96e94aa44eca466c9bf703.jpg","text":"TemporaryFile(/tmp/multipartBody7473357519227885983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841227550,"filename":"image_10122025_15_37_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b40b74d6ff1bebbf67b3a2d732b3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2784463349040298540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841227550,"filename":"image_10122025_15_37_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272390","file1":"1401272388","file0":"1401272387","file4":"1401272440","file5":"1401272472","file3":"1401272411"},"map_files_photo_id_array":[{"photo_id":"1401272472","filename":"file5"},{"photo_id":"1401272390","filename":"file2"},{"photo_id":"1401272440","filename":"file4"},{"photo_id":"1401272388","filename":"file1"},{"photo_id":"1401272387","filename":"file0"},{"photo_id":"1401272411","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272411":["hashtag1","hashtag2"]},{"1401272440":["hashtag1","hashtag2"]},{"1401272472":["hashtag1","hashtag2"]},{"1401272388":["hashtag1","hashtag2"]},{"1401272390":["hashtag1","hashtag2"]},{"1401272387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272411, 1401272440, 1401272472, 1401272388, 1401272390, 1401272387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58158850669861 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:13:31.841541
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg', '/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_9642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6658294200897217 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:13:46.840335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg', '/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg
/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_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":["1401272686","1401272662","1401272659","1401272661","1401272663","1401272720"],"photo_ids_order":["1401272659","1401272661","1401272662","1401272663","1401272686","1401272720"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ac6da353e360f9132e9b516415c93c3.jpg","text":"TemporaryFile(/tmp/multipartBody7382069758196019713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841287642,"filename":"image_10122025_15_35_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20ebd7a9d9f94d531b997a5f26a76eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1591818610987359923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841287642,"filename":"image_10122025_15_36_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/12/27/fa2dddf7aacb80b8ba9e017d0ab92490.jpg","text":"TemporaryFile(/tmp/multipartBody2819707837408391970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841287642,"filename":"image_10122025_15_36_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/12/27/7806df5d65ea4ee1b2cd5423b13f744c.jpg","text":"TemporaryFile(/tmp/multipartBody729044726496644357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841287642,"filename":"image_10122025_15_36_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4091eb5f3e84ba8f958a76a29ddb00a.jpg","text":"TemporaryFile(/tmp/multipartBody1971735335733417006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841287642,"filename":"image_10122025_15_35_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/384303812dc04631ef6dbdebb2908f5a.jpg","text":"TemporaryFile(/tmp/multipartBody188942507191094079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841287642,"filename":"image_10122025_15_35_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272662","file1":"1401272661","file0":"1401272659","file4":"1401272686","file5":"1401272720","file3":"1401272663"},"map_files_photo_id_array":[{"photo_id":"1401272720","filename":"file5"},{"photo_id":"1401272662","filename":"file2"},{"photo_id":"1401272686","filename":"file4"},{"photo_id":"1401272661","filename":"file1"},{"photo_id":"1401272659","filename":"file0"},{"photo_id":"1401272663","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272686":["hashtag1","hashtag2"]},{"1401272662":["hashtag1","hashtag2"]},{"1401272659":["hashtag1","hashtag2"]},{"1401272661":["hashtag1","hashtag2"]},{"1401272663":["hashtag1","hashtag2"]},{"1401272720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272686, 1401272662, 1401272659, 1401272661, 1401272663, 1401272720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.371684551239014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:14:32.019243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_25_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_35_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_55_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_44_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_35_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_25_9657.jpg', '/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_15_10663.jpg', '/home/nano/Desktop/images/10122025/15/34/image_10122025_15_35_04_9619.jpg', '/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_55_10608.jpg', '/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_44_9658.jpg', '/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_35_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_25_9657.jpg
/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_15_10663.jpg
/home/nano/Desktop/images/10122025/15/34/image_10122025_15_35_04_9619.jpg
/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_55_10608.jpg
/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_44_9658.jpg
/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_35_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":["1401272794","1401272800","1401272796","1401272798","1401272792","1401272816"],"photo_ids_order":["1401272792","1401272794","1401272796","1401272798","1401272800","1401272816"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc97cf22605bfda19737cffe06cb42bb.jpg","text":"TemporaryFile(/tmp/multipartBody6281993451345343288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841332802,"filename":"image_10122025_15_35_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9d0006b36e5798519b34520f9b42878.jpg","text":"TemporaryFile(/tmp/multipartBody6757661283066115318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841332802,"filename":"image_10122025_15_34_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/12/27/6e445acfab4ebf56a6dbbb85cb6def4f.jpg","text":"TemporaryFile(/tmp/multipartBody4937508162511168958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841332802,"filename":"image_10122025_15_35_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/12/27/77e1d3fed0da387e45aa8bff27202b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6512395602772691153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841332802,"filename":"image_10122025_15_34_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0335f2f3839efd966528677ed31c2361.jpg","text":"TemporaryFile(/tmp/multipartBody1689108679102982796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841332802,"filename":"image_10122025_15_35_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6fc56c1bc1c84801b0e6fa036244c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1060711658768359067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841332802,"filename":"image_10122025_15_34_35_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272796","file1":"1401272794","file0":"1401272792","file4":"1401272800","file5":"1401272816","file3":"1401272798"},"map_files_photo_id_array":[{"photo_id":"1401272816","filename":"file5"},{"photo_id":"1401272796","filename":"file2"},{"photo_id":"1401272800","filename":"file4"},{"photo_id":"1401272794","filename":"file1"},{"photo_id":"1401272792","filename":"file0"},{"photo_id":"1401272798","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272794":["hashtag1","hashtag2"]},{"1401272800":["hashtag1","hashtag2"]},{"1401272796":["hashtag1","hashtag2"]},{"1401272798":["hashtag1","hashtag2"]},{"1401272792":["hashtag1","hashtag2"]},{"1401272816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272794, 1401272800, 1401272796, 1401272798, 1401272792, 1401272816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16171884536743 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:15:17.044397
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_34_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_55_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_35_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_25_10613.jpg', '/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_14_9616.jpg', '/home/nano/Desktop/images/10122025/15/33/image_10122025_15_34_05_9618.jpg', '/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_55_10642.jpg', '/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_44_9599.jpg', '/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_35_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_25_10613.jpg
/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_14_9616.jpg
/home/nano/Desktop/images/10122025/15/33/image_10122025_15_34_05_9618.jpg
/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_55_10642.jpg
/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_44_9599.jpg
/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_35_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":["1401272900","1401272910","1401272904","1401272907","1401272901","1401272945"],"photo_ids_order":["1401272900","1401272901","1401272904","1401272907","1401272910","1401272945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3610f0d6e6af616ea024ecb76f611069.jpg","text":"TemporaryFile(/tmp/multipartBody1720402652197498638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841377839,"filename":"image_10122025_15_34_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc5d61f0df68308a16faecbad3352c72.jpg","text":"TemporaryFile(/tmp/multipartBody7637445424511848018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841377839,"filename":"image_10122025_15_33_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/12/27/768e52af09cc717657bcd90495d2e273.jpg","text":"TemporaryFile(/tmp/multipartBody7989126771065467349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841377839,"filename":"image_10122025_15_34_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef4e6f9a51ab60d423ac59d8e1a7de5b.jpg","text":"TemporaryFile(/tmp/multipartBody317662295810357594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841377839,"filename":"image_10122025_15_33_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9de1b0a38fe6421b609e71fd0724ecce.jpg","text":"TemporaryFile(/tmp/multipartBody5087108672467277366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841377839,"filename":"image_10122025_15_34_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/12/27/91a8bc2a50345a75e9133cca157f1a09.jpg","text":"TemporaryFile(/tmp/multipartBody1648675010122625962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841377839,"filename":"image_10122025_15_33_35_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401272904","file1":"1401272901","file0":"1401272900","file4":"1401272910","file5":"1401272945","file3":"1401272907"},"map_files_photo_id_array":[{"photo_id":"1401272945","filename":"file5"},{"photo_id":"1401272904","filename":"file2"},{"photo_id":"1401272910","filename":"file4"},{"photo_id":"1401272901","filename":"file1"},{"photo_id":"1401272900","filename":"file0"},{"photo_id":"1401272907","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401272900":["hashtag1","hashtag2"]},{"1401272910":["hashtag1","hashtag2"]},{"1401272904":["hashtag1","hashtag2"]},{"1401272907":["hashtag1","hashtag2"]},{"1401272901":["hashtag1","hashtag2"]},{"1401272945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401272900, 1401272910, 1401272904, 1401272907, 1401272901, 1401272945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3218948841095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:16:02.753709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_24_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_14_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_33_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_35_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_24_9662.jpg', '/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_14_9668.jpg', '/home/nano/Desktop/images/10122025/15/32/image_10122025_15_33_05_10634.jpg', '/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_54_9603.jpg', '/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_45_9654.jpg', '/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_35_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_24_9662.jpg
/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_14_9668.jpg
/home/nano/Desktop/images/10122025/15/32/image_10122025_15_33_05_10634.jpg
/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_54_9603.jpg
/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_45_9654.jpg
/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_35_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":["1401273034","1401273033","1401273032","1401273035","1401273026","1401273037"],"photo_ids_order":["1401273026","1401273032","1401273033","1401273034","1401273035","1401273037"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee71c8a651727cf6f2d88eda06e92cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7115282188801959663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841423642,"filename":"image_10122025_15_32_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/12/27/b402d41481a703cf0d9e525ba69a090f.jpg","text":"TemporaryFile(/tmp/multipartBody7747656794290967867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841423642,"filename":"image_10122025_15_33_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2829a8387b952558e344ebd6e18603b7.jpg","text":"TemporaryFile(/tmp/multipartBody1568619264373852587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841423642,"filename":"image_10122025_15_33_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/12/27/77276f3b95628e5673eb92f80df703dc.jpg","text":"TemporaryFile(/tmp/multipartBody1505128314795427894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841423642,"filename":"image_10122025_15_32_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee2da268fa8d19011f586da9231f6d52.jpg","text":"TemporaryFile(/tmp/multipartBody523043845913687501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841423642,"filename":"image_10122025_15_33_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/12/27/ad6c974fd88e42d5cb91ff917de388bd.jpg","text":"TemporaryFile(/tmp/multipartBody4771073609694666399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841423642,"filename":"image_10122025_15_32_35_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273033","file1":"1401273032","file0":"1401273026","file4":"1401273035","file5":"1401273037","file3":"1401273034"},"map_files_photo_id_array":[{"photo_id":"1401273037","filename":"file5"},{"photo_id":"1401273033","filename":"file2"},{"photo_id":"1401273035","filename":"file4"},{"photo_id":"1401273032","filename":"file1"},{"photo_id":"1401273026","filename":"file0"},{"photo_id":"1401273034","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273034":["hashtag1","hashtag2"]},{"1401273033":["hashtag1","hashtag2"]},{"1401273032":["hashtag1","hashtag2"]},{"1401273035":["hashtag1","hashtag2"]},{"1401273026":["hashtag1","hashtag2"]},{"1401273037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273034, 1401273033, 1401273032, 1401273035, 1401273026, 1401273037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76101779937744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:16:47.126275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_24_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_15_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_32_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_35_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_24_9678.jpg', '/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_15_9651.jpg', '/home/nano/Desktop/images/10122025/15/31/image_10122025_15_32_05_10625.jpg', '/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_54_9613.jpg', '/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_45_9610.jpg', '/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_35_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_24_9678.jpg
/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_15_9651.jpg
/home/nano/Desktop/images/10122025/15/31/image_10122025_15_32_05_10625.jpg
/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_54_9613.jpg
/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_45_9610.jpg
/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_35_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":["1401273205","1401273210","1401273207","1401273140","1401273209","1401273172"],"photo_ids_order":["1401273140","1401273172","1401273205","1401273207","1401273209","1401273210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/644a12a92047fee94c0636f6848e9bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5289070043399782436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841467925,"filename":"image_10122025_15_32_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09c85cb4656457d0bb0354030be29a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6182627705370353546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841467925,"filename":"image_10122025_15_31_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdae782fffe55a7ce646d8eb0ab954b1.jpg","text":"TemporaryFile(/tmp/multipartBody1782193500424672598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841467925,"filename":"image_10122025_15_31_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/12/27/d241e19fc4a3068c532bd5a938356895.jpg","text":"TemporaryFile(/tmp/multipartBody4608804498654798448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841467925,"filename":"image_10122025_15_32_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/12/27/d81f62311fd4f0320898d65dbea159ad.jpg","text":"TemporaryFile(/tmp/multipartBody4530096107609708661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841467925,"filename":"image_10122025_15_31_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92f630bcf793f700ab5a4c675a62e125.jpg","text":"TemporaryFile(/tmp/multipartBody6360567510248178524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841467925,"filename":"image_10122025_15_32_15_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273205","file1":"1401273172","file0":"1401273140","file4":"1401273209","file5":"1401273210","file3":"1401273207"},"map_files_photo_id_array":[{"photo_id":"1401273210","filename":"file5"},{"photo_id":"1401273205","filename":"file2"},{"photo_id":"1401273209","filename":"file4"},{"photo_id":"1401273172","filename":"file1"},{"photo_id":"1401273140","filename":"file0"},{"photo_id":"1401273207","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273205":["hashtag1","hashtag2"]},{"1401273210":["hashtag1","hashtag2"]},{"1401273207":["hashtag1","hashtag2"]},{"1401273140":["hashtag1","hashtag2"]},{"1401273209":["hashtag1","hashtag2"]},{"1401273172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273205, 1401273210, 1401273207, 1401273140, 1401273209, 1401273172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61818599700928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:17:32.231399
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_15_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_31_04_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_54_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_34_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_24_9601.jpg', '/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_15_10671.jpg', '/home/nano/Desktop/images/10122025/15/30/image_10122025_15_31_04_9686.jpg', '/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_54_9647.jpg', '/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_45_10660.jpg', '/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_34_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_24_9601.jpg
/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_15_10671.jpg
/home/nano/Desktop/images/10122025/15/30/image_10122025_15_31_04_9686.jpg
/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_54_9647.jpg
/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_45_10660.jpg
/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_34_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":["1401273282","1401273291","1401273294","1401273298","1401273286","1401273283"],"photo_ids_order":["1401273282","1401273283","1401273286","1401273291","1401273294","1401273298"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b52ac43dae8e6810bfe666773df9d69.jpg","text":"TemporaryFile(/tmp/multipartBody4793963775594647298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841513041,"filename":"image_10122025_15_31_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/12/27/9b98670f21e4c122c58051f976c3f893.jpg","text":"TemporaryFile(/tmp/multipartBody3123810682779193978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841513041,"filename":"image_10122025_15_30_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/12/27/b1ae845ba3a61ea37689941640990767.jpg","text":"TemporaryFile(/tmp/multipartBody892585302037002240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841513041,"filename":"image_10122025_15_30_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44ba12253cba2fa444f6011aff23bcf7.jpg","text":"TemporaryFile(/tmp/multipartBody5280134327488122943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841513041,"filename":"image_10122025_15_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/12/27/695b3ff41e41defe570aad3f0f353023.jpg","text":"TemporaryFile(/tmp/multipartBody8445218263460818599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841513041,"filename":"image_10122025_15_31_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/12/27/bf17b4d270a821b940962b913709c4da.jpg","text":"TemporaryFile(/tmp/multipartBody8100439259750881499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841513041,"filename":"image_10122025_15_31_15_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273286","file1":"1401273283","file0":"1401273282","file4":"1401273294","file5":"1401273298","file3":"1401273291"},"map_files_photo_id_array":[{"photo_id":"1401273298","filename":"file5"},{"photo_id":"1401273286","filename":"file2"},{"photo_id":"1401273294","filename":"file4"},{"photo_id":"1401273283","filename":"file1"},{"photo_id":"1401273282","filename":"file0"},{"photo_id":"1401273291","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273282":["hashtag1","hashtag2"]},{"1401273291":["hashtag1","hashtag2"]},{"1401273294":["hashtag1","hashtag2"]},{"1401273298":["hashtag1","hashtag2"]},{"1401273286":["hashtag1","hashtag2"]},{"1401273283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273282, 1401273291, 1401273294, 1401273298, 1401273286, 1401273283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.325424909591675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:18:17.342716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_30_04_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_55_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_45_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_34_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_25_9604.jpg', '/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_15_10674.jpg', '/home/nano/Desktop/images/10122025/15/29/image_10122025_15_30_04_9645.jpg', '/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_55_9676.jpg', '/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_45_10658.jpg', '/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_34_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_25_9604.jpg
/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_15_10674.jpg
/home/nano/Desktop/images/10122025/15/29/image_10122025_15_30_04_9645.jpg
/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_55_9676.jpg
/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_45_10658.jpg
/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_34_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":["1401273381","1401273372","1401273383","1401273379","1401273373","1401273376"],"photo_ids_order":["1401273372","1401273373","1401273376","1401273379","1401273381","1401273383"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05f01caa982580889221d9542335fcf4.jpg","text":"TemporaryFile(/tmp/multipartBody4574536227974578140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841558159,"filename":"image_10122025_15_29_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a83e649abe8bbe7a3017a41088950f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4500156897217318903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841558159,"filename":"image_10122025_15_30_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c6820af8f47dd21660fff465f57ba62.jpg","text":"TemporaryFile(/tmp/multipartBody2203090919013422306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841558159,"filename":"image_10122025_15_29_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/12/27/d088ba0e396a53087d8cdc9fda4281cd.jpg","text":"TemporaryFile(/tmp/multipartBody3066300781484127793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841558159,"filename":"image_10122025_15_29_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a59727b2e9b06eda4271472e38b2cb66.jpg","text":"TemporaryFile(/tmp/multipartBody6429883164147331326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841558159,"filename":"image_10122025_15_30_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09066936a6ec4ba824b2d6345192049a.jpg","text":"TemporaryFile(/tmp/multipartBody7029225252340745900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841558159,"filename":"image_10122025_15_30_04_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273376","file1":"1401273373","file0":"1401273372","file4":"1401273381","file5":"1401273383","file3":"1401273379"},"map_files_photo_id_array":[{"photo_id":"1401273383","filename":"file5"},{"photo_id":"1401273376","filename":"file2"},{"photo_id":"1401273381","filename":"file4"},{"photo_id":"1401273373","filename":"file1"},{"photo_id":"1401273372","filename":"file0"},{"photo_id":"1401273379","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273381":["hashtag1","hashtag2"]},{"1401273372":["hashtag1","hashtag2"]},{"1401273383":["hashtag1","hashtag2"]},{"1401273379":["hashtag1","hashtag2"]},{"1401273373":["hashtag1","hashtag2"]},{"1401273376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273381, 1401273372, 1401273383, 1401273379, 1401273373, 1401273376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.816590309143066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:19:03.335600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_29_04_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_55_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_34_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_25_9610.jpg', '/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_15_10637.jpg', '/home/nano/Desktop/images/10122025/15/28/image_10122025_15_29_04_9671.jpg', '/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_55_10680.jpg', '/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_44_9622.jpg', '/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_34_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_25_9610.jpg
/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_15_10637.jpg
/home/nano/Desktop/images/10122025/15/28/image_10122025_15_29_04_9671.jpg
/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_55_10680.jpg
/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_44_9622.jpg
/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_34_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":["1401273430","1401273424","1401273427","1401273426","1401273423","1401273425"],"photo_ids_order":["1401273423","1401273424","1401273425","1401273426","1401273427","1401273430"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7dc32d4093d440eec87115693200edb8.jpg","text":"TemporaryFile(/tmp/multipartBody8730823002943763665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841604287,"filename":"image_10122025_15_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/12/27/50432d102ffc0184637b551827255f36.jpg","text":"TemporaryFile(/tmp/multipartBody4899605708017098531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841604287,"filename":"image_10122025_15_29_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb97ff265ce346424a1565db3a74925a.jpg","text":"TemporaryFile(/tmp/multipartBody6906471821757851110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841604287,"filename":"image_10122025_15_28_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/12/27/3bb202e4c7564eaa8d2cb1eb88ab1035.jpg","text":"TemporaryFile(/tmp/multipartBody1580428886270709082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841604287,"filename":"image_10122025_15_28_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/042178f99cbf5a33bb00c487dec3307e.jpg","text":"TemporaryFile(/tmp/multipartBody1350259874666913385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841604287,"filename":"image_10122025_15_29_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25f0ef497b9df891c837233ca92a543c.jpg","text":"TemporaryFile(/tmp/multipartBody8531045711246277040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841604287,"filename":"image_10122025_15_29_04_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273425","file1":"1401273424","file0":"1401273423","file4":"1401273427","file5":"1401273430","file3":"1401273426"},"map_files_photo_id_array":[{"photo_id":"1401273430","filename":"file5"},{"photo_id":"1401273425","filename":"file2"},{"photo_id":"1401273427","filename":"file4"},{"photo_id":"1401273424","filename":"file1"},{"photo_id":"1401273423","filename":"file0"},{"photo_id":"1401273426","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273430":["hashtag1","hashtag2"]},{"1401273424":["hashtag1","hashtag2"]},{"1401273427":["hashtag1","hashtag2"]},{"1401273426":["hashtag1","hashtag2"]},{"1401273423":["hashtag1","hashtag2"]},{"1401273425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273430, 1401273424, 1401273427, 1401273426, 1401273423, 1401273425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15861678123474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:19:47.476377
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_28_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_55_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_24_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_25_10624.jpg', '/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_14_9636.jpg', '/home/nano/Desktop/images/10122025/15/27/image_10122025_15_28_05_9608.jpg', '/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_55_10622.jpg', '/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_35_10628.jpg', '/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_25_10624.jpg
/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_14_9636.jpg
/home/nano/Desktop/images/10122025/15/27/image_10122025_15_28_05_9608.jpg
/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_55_10622.jpg
/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_35_10628.jpg
/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_24_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":["1401273613","1401273687","1401273648","1401273722","1401273580","1401273547"],"photo_ids_order":["1401273547","1401273580","1401273613","1401273648","1401273687","1401273722"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06fb9ab0ce1ef191c16dd90cbeeeb11e.jpg","text":"TemporaryFile(/tmp/multipartBody116696977699587443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841648274,"filename":"image_10122025_15_28_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9abd84c310dc29d24b7859a83b65c1fd.jpg","text":"TemporaryFile(/tmp/multipartBody4502495482575217450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841648274,"filename":"image_10122025_15_27_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11953646c7a76bbf171ff19a059b4a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8719487573678597436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841648274,"filename":"image_10122025_15_27_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afd24789fa8b9d41abf01c9105a3604c.jpg","text":"TemporaryFile(/tmp/multipartBody9206482960779407549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841648274,"filename":"image_10122025_15_27_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/12/27/0d4a57330dca8b69d821162a770b9ac7.jpg","text":"TemporaryFile(/tmp/multipartBody1888683569813266348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841648274,"filename":"image_10122025_15_28_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/12/27/4ca003261a2f60bd5bb7361d6746a0a3.jpg","text":"TemporaryFile(/tmp/multipartBody4043432378164098009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841648274,"filename":"image_10122025_15_28_25_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273613","file1":"1401273580","file0":"1401273547","file4":"1401273687","file5":"1401273722","file3":"1401273648"},"map_files_photo_id_array":[{"photo_id":"1401273722","filename":"file5"},{"photo_id":"1401273613","filename":"file2"},{"photo_id":"1401273687","filename":"file4"},{"photo_id":"1401273580","filename":"file1"},{"photo_id":"1401273547","filename":"file0"},{"photo_id":"1401273648","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273613":["hashtag1","hashtag2"]},{"1401273687":["hashtag1","hashtag2"]},{"1401273648":["hashtag1","hashtag2"]},{"1401273722":["hashtag1","hashtag2"]},{"1401273580":["hashtag1","hashtag2"]},{"1401273547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273613, 1401273687, 1401273648, 1401273722, 1401273580, 1401273547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.160884380340576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:20:32.625365
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_27_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_24_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_14_9647.jpg', '/home/nano/Desktop/images/10122025/15/26/image_10122025_15_27_05_10637.jpg', '/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_54_9606.jpg', '/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_45_9606.jpg', '/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_35_10633.jpg', '/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_24_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_14_9647.jpg
/home/nano/Desktop/images/10122025/15/26/image_10122025_15_27_05_10637.jpg
/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_54_9606.jpg
/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_45_9606.jpg
/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_35_10633.jpg
/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_24_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":["1401273750","1401273747","1401273758","1401273755","1401273749","1401273760"],"photo_ids_order":["1401273747","1401273749","1401273750","1401273755","1401273758","1401273760"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87d93af376ad7eb49eb92920b2d90cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2001907739265409554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841693428,"filename":"image_10122025_15_26_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/12/27/32e3bb7a160cdd3f11397b2bd88e2c89.jpg","text":"TemporaryFile(/tmp/multipartBody6556507125240993053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841693428,"filename":"image_10122025_15_27_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/12/27/54e1c2929ed847495be96595e15ae2cf.jpg","text":"TemporaryFile(/tmp/multipartBody5738910505782394875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841693428,"filename":"image_10122025_15_26_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c3e5ff10b7bc49af06738f5e79c3bbe.jpg","text":"TemporaryFile(/tmp/multipartBody2909427211223521929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841693428,"filename":"image_10122025_15_26_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9077bb7643f145cf7e627d6a6defa0e.jpg","text":"TemporaryFile(/tmp/multipartBody5135109483729444776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841693428,"filename":"image_10122025_15_27_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9447e32d161cb01c7d6593b782c59da1.jpg","text":"TemporaryFile(/tmp/multipartBody2122353289934208700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841693428,"filename":"image_10122025_15_26_24_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273750","file1":"1401273749","file0":"1401273747","file4":"1401273758","file5":"1401273760","file3":"1401273755"},"map_files_photo_id_array":[{"photo_id":"1401273760","filename":"file5"},{"photo_id":"1401273750","filename":"file2"},{"photo_id":"1401273758","filename":"file4"},{"photo_id":"1401273749","filename":"file1"},{"photo_id":"1401273747","filename":"file0"},{"photo_id":"1401273755","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273750":["hashtag1","hashtag2"]},{"1401273747":["hashtag1","hashtag2"]},{"1401273758":["hashtag1","hashtag2"]},{"1401273755":["hashtag1","hashtag2"]},{"1401273749":["hashtag1","hashtag2"]},{"1401273760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273750, 1401273747, 1401273758, 1401273755, 1401273749, 1401273760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55383896827698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:21:16.798389
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_26_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_54_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_25_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_15_10626.jpg', '/home/nano/Desktop/images/10122025/15/25/image_10122025_15_26_04_9613.jpg', '/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_54_9611.jpg', '/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_45_10636.jpg', '/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_34_9608.jpg', '/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_25_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_15_10626.jpg
/home/nano/Desktop/images/10122025/15/25/image_10122025_15_26_04_9613.jpg
/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_54_9611.jpg
/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_45_10636.jpg
/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_34_9608.jpg
/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_25_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":["1401273771","1401273774","1401273768","1401273765","1401273764","1401273775"],"photo_ids_order":["1401273764","1401273765","1401273768","1401273771","1401273774","1401273775"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff49a35633c55f2d7980f6b1ed1bb6d4.jpg","text":"TemporaryFile(/tmp/multipartBody2348476820268401655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841737605,"filename":"image_10122025_15_25_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31c35fce86df7c94a3d0ba2bfb000044.jpg","text":"TemporaryFile(/tmp/multipartBody8995316858369846879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841737605,"filename":"image_10122025_15_25_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/12/27/20b9b43a7ef7040eda607686a6356305.jpg","text":"TemporaryFile(/tmp/multipartBody4992726363088702446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841737605,"filename":"image_10122025_15_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/12/27/fa6bb920a33a700a4e6d4f284f8c0bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6842180062663332369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841737605,"filename":"image_10122025_15_26_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/12/27/41e924ae4dad889438191c8280d96ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7020620324963569599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841737605,"filename":"image_10122025_15_26_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22a0f4e60307037bc00face3c5022bad.jpg","text":"TemporaryFile(/tmp/multipartBody5623706819533557925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841737605,"filename":"image_10122025_15_25_25_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273768","file1":"1401273765","file0":"1401273764","file4":"1401273774","file5":"1401273775","file3":"1401273771"},"map_files_photo_id_array":[{"photo_id":"1401273775","filename":"file5"},{"photo_id":"1401273768","filename":"file2"},{"photo_id":"1401273774","filename":"file4"},{"photo_id":"1401273765","filename":"file1"},{"photo_id":"1401273764","filename":"file0"},{"photo_id":"1401273771","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273771":["hashtag1","hashtag2"]},{"1401273774":["hashtag1","hashtag2"]},{"1401273768":["hashtag1","hashtag2"]},{"1401273765":["hashtag1","hashtag2"]},{"1401273764":["hashtag1","hashtag2"]},{"1401273775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273771, 1401273774, 1401273768, 1401273765, 1401273764, 1401273775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.354915618896484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:22:02.529348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_25_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_25_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_15_10647.jpg', '/home/nano/Desktop/images/10122025/15/24/image_10122025_15_25_04_9633.jpg', '/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_55_10621.jpg', '/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_44_9610.jpg', '/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_35_9613.jpg', '/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_25_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_15_10647.jpg
/home/nano/Desktop/images/10122025/15/24/image_10122025_15_25_04_9633.jpg
/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_55_10621.jpg
/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_44_9610.jpg
/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_35_9613.jpg
/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_25_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":["1401273780","1401273783","1401273782","1401273785","1401273779","1401273781"],"photo_ids_order":["1401273779","1401273780","1401273781","1401273782","1401273783","1401273785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1792766ddcc11066e5443bcac034320b.jpg","text":"TemporaryFile(/tmp/multipartBody8663102896604787072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841783402,"filename":"image_10122025_15_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/12/27/b04c91b7dc2d8bfea2473a796fa10fe7.jpg","text":"TemporaryFile(/tmp/multipartBody4994127374042880263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841783402,"filename":"image_10122025_15_24_35_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3460ec6afcbc2510f76970de6141712.jpg","text":"TemporaryFile(/tmp/multipartBody6409684023205992508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841783402,"filename":"image_10122025_15_24_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/12/27/95daf700b6c9ea757730c78dae0f264e.jpg","text":"TemporaryFile(/tmp/multipartBody4152310222321236556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841783402,"filename":"image_10122025_15_24_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e4cc42e3dc05fba7180b4f9dcaa9668.jpg","text":"TemporaryFile(/tmp/multipartBody7113841304858933605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841783402,"filename":"image_10122025_15_25_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c77cc493c7712e2f6a00e5ac11b5b56.jpg","text":"TemporaryFile(/tmp/multipartBody6852556484939887650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841783402,"filename":"image_10122025_15_24_55_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273781","file1":"1401273780","file0":"1401273779","file4":"1401273783","file5":"1401273785","file3":"1401273782"},"map_files_photo_id_array":[{"photo_id":"1401273785","filename":"file5"},{"photo_id":"1401273781","filename":"file2"},{"photo_id":"1401273783","filename":"file4"},{"photo_id":"1401273780","filename":"file1"},{"photo_id":"1401273779","filename":"file0"},{"photo_id":"1401273782","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273780":["hashtag1","hashtag2"]},{"1401273783":["hashtag1","hashtag2"]},{"1401273782":["hashtag1","hashtag2"]},{"1401273785":["hashtag1","hashtag2"]},{"1401273779":["hashtag1","hashtag2"]},{"1401273781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273780, 1401273783, 1401273782, 1401273785, 1401273779, 1401273781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76564121246338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:22:46.922718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_24_05_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_15_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_14_9635.jpg', '/home/nano/Desktop/images/10122025/15/23/image_10122025_15_24_05_9631.jpg', '/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_44_9621.jpg', '/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_35_10615.jpg', '/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_24_9603.jpg', '/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_15_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_14_9635.jpg
/home/nano/Desktop/images/10122025/15/23/image_10122025_15_24_05_9631.jpg
/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_44_9621.jpg
/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_35_10615.jpg
/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_24_9603.jpg
/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_15_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":["1401273811","1401273808","1401273810","1401273813","1401273809","1401273812"],"photo_ids_order":["1401273808","1401273809","1401273810","1401273811","1401273812","1401273813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38763f8d8e5b169c82892a13299bfb04.jpg","text":"TemporaryFile(/tmp/multipartBody3037579054162469487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841827734,"filename":"image_10122025_15_23_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4645a93a51ca8b1e5f8148a79942687e.jpg","text":"TemporaryFile(/tmp/multipartBody7073780108082327459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841827734,"filename":"image_10122025_15_24_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/12/27/d1f80cb6b4a25c4b13415853ea9e9aff.jpg","text":"TemporaryFile(/tmp/multipartBody2513578808092085996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841827734,"filename":"image_10122025_15_23_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/12/27/bd7a3a91641c6feda7382251b5fabf67.jpg","text":"TemporaryFile(/tmp/multipartBody3005529676411157905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841827734,"filename":"image_10122025_15_23_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f271347593ac1ca64dcd6f9a2bf2853.jpg","text":"TemporaryFile(/tmp/multipartBody3051150941890623878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841827734,"filename":"image_10122025_15_24_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06c5a80905bb3fce4cfdcec840557ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5622384239280426914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841827734,"filename":"image_10122025_15_23_24_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273810","file1":"1401273809","file0":"1401273808","file4":"1401273812","file5":"1401273813","file3":"1401273811"},"map_files_photo_id_array":[{"photo_id":"1401273813","filename":"file5"},{"photo_id":"1401273810","filename":"file2"},{"photo_id":"1401273812","filename":"file4"},{"photo_id":"1401273809","filename":"file1"},{"photo_id":"1401273808","filename":"file0"},{"photo_id":"1401273811","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273811":["hashtag1","hashtag2"]},{"1401273808":["hashtag1","hashtag2"]},{"1401273810":["hashtag1","hashtag2"]},{"1401273813":["hashtag1","hashtag2"]},{"1401273809":["hashtag1","hashtag2"]},{"1401273812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273811, 1401273808, 1401273810, 1401273813, 1401273809, 1401273812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41719388961792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:23:32.040878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_23_05_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_45_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_15_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/22/image_10122025_15_23_05_10651.jpg', '/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_54_9614.jpg', '/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_45_9614.jpg', '/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_35_10624.jpg', '/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_24_9639.jpg', '/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_15_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/22/image_10122025_15_23_05_10651.jpg
/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_54_9614.jpg
/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_45_9614.jpg
/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_35_10624.jpg
/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_24_9639.jpg
/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_15_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":["1401273819","1401273828","1401273827","1401273821","1401273824","1401273818"],"photo_ids_order":["1401273818","1401273819","1401273821","1401273824","1401273827","1401273828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1632b55d5568822bd220c9184ca64fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5749304922738628847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841872848,"filename":"image_10122025_15_22_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/12/27/8513439a93f1719479b20f5a97ba748c.jpg","text":"TemporaryFile(/tmp/multipartBody2900325087847422053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841872848,"filename":"image_10122025_15_22_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/472035730324ab83d2ea6dbcc2e17a71.jpg","text":"TemporaryFile(/tmp/multipartBody4367977945550088086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841872848,"filename":"image_10122025_15_22_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/12/27/fb4e44356ab48ea7d286a1c1bae0adef.jpg","text":"TemporaryFile(/tmp/multipartBody404220632069509364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841872848,"filename":"image_10122025_15_22_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2355444b1eeca4009562005c37b9a1c7.jpg","text":"TemporaryFile(/tmp/multipartBody44550459105991460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841872848,"filename":"image_10122025_15_22_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1a680dc92d53410d95c0336c198c2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8377352561676696240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841872848,"filename":"image_10122025_15_23_05_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273821","file1":"1401273819","file0":"1401273818","file4":"1401273827","file5":"1401273828","file3":"1401273824"},"map_files_photo_id_array":[{"photo_id":"1401273828","filename":"file5"},{"photo_id":"1401273821","filename":"file2"},{"photo_id":"1401273827","filename":"file4"},{"photo_id":"1401273819","filename":"file1"},{"photo_id":"1401273818","filename":"file0"},{"photo_id":"1401273824","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273819":["hashtag1","hashtag2"]},{"1401273828":["hashtag1","hashtag2"]},{"1401273827":["hashtag1","hashtag2"]},{"1401273821":["hashtag1","hashtag2"]},{"1401273824":["hashtag1","hashtag2"]},{"1401273818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273819, 1401273828, 1401273827, 1401273821, 1401273824, 1401273818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8946053981781 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:24:17.226955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_22_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_55_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_45_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_34_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_25_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_15_9737.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/21/image_10122025_15_22_04_9626.jpg', '/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_55_9691.jpg', '/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_45_10640.jpg', '/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_34_9687.jpg', '/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_25_9674.jpg', '/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_15_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/21/image_10122025_15_22_04_9626.jpg
/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_55_9691.jpg
/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_45_10640.jpg
/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_34_9687.jpg
/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_25_9674.jpg
/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_15_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401273835","1401273906","1401273890","1401273860","1401273908","1401273856"],"photo_ids_order":["1401273835","1401273856","1401273860","1401273890","1401273906","1401273908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee8fe6300179c123a5f61f3dfd3826d3.jpg","text":"TemporaryFile(/tmp/multipartBody8538223671396973288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841918043,"filename":"image_10122025_15_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/12/27/37a6fa320d2e794496769ba87ada6284.jpg","text":"TemporaryFile(/tmp/multipartBody1597377543448994074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841918043,"filename":"image_10122025_15_21_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e9dd8183413fb0e0be7909095ed0234.jpg","text":"TemporaryFile(/tmp/multipartBody3656461707267180440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841918043,"filename":"image_10122025_15_21_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eedf074ec2b9fc0822f18fd3b3d38df2.jpg","text":"TemporaryFile(/tmp/multipartBody8326096319143834769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841918043,"filename":"image_10122025_15_21_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba0277d44e73715c4b943e15dc5b12e8.jpg","text":"TemporaryFile(/tmp/multipartBody6198255625117206629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841918043,"filename":"image_10122025_15_21_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ada27a4101ffe96a364be4ac196eb6f.jpg","text":"TemporaryFile(/tmp/multipartBody6192519523104257474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841918043,"filename":"image_10122025_15_21_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273860","file1":"1401273856","file0":"1401273835","file4":"1401273906","file5":"1401273908","file3":"1401273890"},"map_files_photo_id_array":[{"photo_id":"1401273908","filename":"file5"},{"photo_id":"1401273860","filename":"file2"},{"photo_id":"1401273906","filename":"file4"},{"photo_id":"1401273856","filename":"file1"},{"photo_id":"1401273835","filename":"file0"},{"photo_id":"1401273890","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273835":["hashtag1","hashtag2"]},{"1401273906":["hashtag1","hashtag2"]},{"1401273890":["hashtag1","hashtag2"]},{"1401273860":["hashtag1","hashtag2"]},{"1401273908":["hashtag1","hashtag2"]},{"1401273856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273835, 1401273906, 1401273890, 1401273860, 1401273908, 1401273856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01849865913391 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:25:02.805988
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_21_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_54_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_45_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_35_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_24_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_15_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/20/image_10122025_15_21_05_10660.jpg', '/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_54_9673.jpg', '/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_45_9714.jpg', '/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_35_10732.jpg', '/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_24_9701.jpg', '/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_15_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/20/image_10122025_15_21_05_10660.jpg
/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_54_9673.jpg
/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_45_9714.jpg
/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_35_10732.jpg
/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_24_9701.jpg
/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_15_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":["1401273919","1401273913","1401273916","1401273915","1401273912","1401273914"],"photo_ids_order":["1401273912","1401273913","1401273914","1401273915","1401273916","1401273919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9951f4e6e102a37b3c99f04ccc40b287.jpg","text":"TemporaryFile(/tmp/multipartBody4205021973389492543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841963687,"filename":"image_10122025_15_20_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fabc5e56e289a62eeab056e9cc8d3a13.jpg","text":"TemporaryFile(/tmp/multipartBody6627977005706701007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841963687,"filename":"image_10122025_15_20_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f68f80786cf355ce355b4602d60f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody341964754337173296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841963687,"filename":"image_10122025_15_20_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bafe299357e5c7a16d48a372f1fca619.jpg","text":"TemporaryFile(/tmp/multipartBody4459557295718347866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841963687,"filename":"image_10122025_15_20_35_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f95bd205929b8843ac953200b989a877.jpg","text":"TemporaryFile(/tmp/multipartBody2632993680695566045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841963687,"filename":"image_10122025_15_21_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/854f2c3bcd09885cb4a538835cf5b23c.jpg","text":"TemporaryFile(/tmp/multipartBody2593343390178091042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766841963687,"filename":"image_10122025_15_20_45_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273914","file1":"1401273913","file0":"1401273912","file4":"1401273916","file5":"1401273919","file3":"1401273915"},"map_files_photo_id_array":[{"photo_id":"1401273919","filename":"file5"},{"photo_id":"1401273914","filename":"file2"},{"photo_id":"1401273916","filename":"file4"},{"photo_id":"1401273913","filename":"file1"},{"photo_id":"1401273912","filename":"file0"},{"photo_id":"1401273915","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273919":["hashtag1","hashtag2"]},{"1401273913":["hashtag1","hashtag2"]},{"1401273916":["hashtag1","hashtag2"]},{"1401273915":["hashtag1","hashtag2"]},{"1401273912":["hashtag1","hashtag2"]},{"1401273914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273919, 1401273913, 1401273916, 1401273915, 1401273912, 1401273914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84988737106323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:25:47.228352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_20_05_10773.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_54_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_44_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_35_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_25_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_14_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/19/image_10122025_15_20_05_10773.jpg', '/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_54_9730.jpg', '/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_44_9632.jpg', '/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_35_9750.jpg', '/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_25_10783.jpg', '/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/19/image_10122025_15_20_05_10773.jpg
/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_54_9730.jpg
/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_44_9632.jpg
/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_35_9750.jpg
/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_25_10783.jpg
/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_14_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":["1401273931","1401273934","1401273933","1401273936","1401273932","1401273935"],"photo_ids_order":["1401273931","1401273932","1401273933","1401273934","1401273935","1401273936"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3a4f8244d4dcac4d722d274d7ba20c5.jpg","text":"TemporaryFile(/tmp/multipartBody1047014717607200799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842008071,"filename":"image_10122025_15_20_05_10773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c541c3cab13ebc25a21af200949e5f90.jpg","text":"TemporaryFile(/tmp/multipartBody7372556756601752815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842008071,"filename":"image_10122025_15_19_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbf1e3bcfb84fcd21fedcad144a7b67b.jpg","text":"TemporaryFile(/tmp/multipartBody3848463518295047615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842008071,"filename":"image_10122025_15_19_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/12/27/677d7dc88e14f4e4e1992bd4bd1fced1.jpg","text":"TemporaryFile(/tmp/multipartBody9087896890947664725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842008071,"filename":"image_10122025_15_19_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/12/27/f165abbd1fbbd3305477b011e22321a7.jpg","text":"TemporaryFile(/tmp/multipartBody1260999625015162151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842008071,"filename":"image_10122025_15_19_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1d7b759bb17a7f17a54af09dd7f41d5.jpg","text":"TemporaryFile(/tmp/multipartBody3490389664710132333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842008071,"filename":"image_10122025_15_19_25_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273933","file1":"1401273932","file0":"1401273931","file4":"1401273935","file5":"1401273936","file3":"1401273934"},"map_files_photo_id_array":[{"photo_id":"1401273936","filename":"file5"},{"photo_id":"1401273933","filename":"file2"},{"photo_id":"1401273935","filename":"file4"},{"photo_id":"1401273932","filename":"file1"},{"photo_id":"1401273931","filename":"file0"},{"photo_id":"1401273934","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273931":["hashtag1","hashtag2"]},{"1401273934":["hashtag1","hashtag2"]},{"1401273933":["hashtag1","hashtag2"]},{"1401273936":["hashtag1","hashtag2"]},{"1401273932":["hashtag1","hashtag2"]},{"1401273935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273931, 1401273934, 1401273933, 1401273936, 1401273932, 1401273935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50460338592529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:26:32.350771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_19_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_55_10706.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_44_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_35_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_25_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_14_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/18/image_10122025_15_19_05_9634.jpg', '/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_55_10706.jpg', '/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_44_9663.jpg', '/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_35_9651.jpg', '/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_25_10702.jpg', '/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_14_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/18/image_10122025_15_19_05_9634.jpg
/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_55_10706.jpg
/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_44_9663.jpg
/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_35_9651.jpg
/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_25_10702.jpg
/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_14_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":["1401273952","1401273946","1401273954","1401273942","1401273950","1401273944"],"photo_ids_order":["1401273942","1401273944","1401273946","1401273950","1401273952","1401273954"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11c4724bbd0d7c006a809688490c64b4.jpg","text":"TemporaryFile(/tmp/multipartBody6529254500105640987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842053169,"filename":"image_10122025_15_18_25_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/360b6e1a6a7bd7865e3fb381b04774b6.jpg","text":"TemporaryFile(/tmp/multipartBody8265507383746022028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842053169,"filename":"image_10122025_15_18_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/12/27/ef1f9259c455a33391888eed52c17a85.jpg","text":"TemporaryFile(/tmp/multipartBody7202925774683526913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842053169,"filename":"image_10122025_15_18_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/12/27/a8f023a7f2be3db5223513c49a921b24.jpg","text":"TemporaryFile(/tmp/multipartBody8459039933944160642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842053169,"filename":"image_10122025_15_19_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2bb865c86311558d14985517aa63b78.jpg","text":"TemporaryFile(/tmp/multipartBody5175663391719262036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842053169,"filename":"image_10122025_15_18_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cdb61668fcb2df5f17a94eff8787e25.jpg","text":"TemporaryFile(/tmp/multipartBody965884854203677694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842053169,"filename":"image_10122025_15_18_55_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273946","file1":"1401273944","file0":"1401273942","file4":"1401273952","file5":"1401273954","file3":"1401273950"},"map_files_photo_id_array":[{"photo_id":"1401273954","filename":"file5"},{"photo_id":"1401273946","filename":"file2"},{"photo_id":"1401273952","filename":"file4"},{"photo_id":"1401273944","filename":"file1"},{"photo_id":"1401273942","filename":"file0"},{"photo_id":"1401273950","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273952":["hashtag1","hashtag2"]},{"1401273946":["hashtag1","hashtag2"]},{"1401273954":["hashtag1","hashtag2"]},{"1401273942":["hashtag1","hashtag2"]},{"1401273950":["hashtag1","hashtag2"]},{"1401273944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273952, 1401273946, 1401273954, 1401273942, 1401273950, 1401273944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4004328250885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:27:17.489326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_18_05_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_55_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_35_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_24_9764.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_14_9736.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/17/image_10122025_15_18_05_9622.jpg', '/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_55_10641.jpg', '/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_44_9616.jpg', '/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_35_10683.jpg', '/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_24_9764.jpg', '/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_14_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/17/image_10122025_15_18_05_9622.jpg
/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_55_10641.jpg
/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_44_9616.jpg
/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_35_10683.jpg
/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_24_9764.jpg
/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_14_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401273962","1401273971","1401273965","1401273959","1401273968","1401273958"],"photo_ids_order":["1401273958","1401273959","1401273962","1401273965","1401273968","1401273971"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3f3532f378ab5e5b627f00c51c129c6.jpg","text":"TemporaryFile(/tmp/multipartBody2884652845901150003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842098297,"filename":"image_10122025_15_17_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/12/27/655293dc7a7217ad618802dd56b11801.jpg","text":"TemporaryFile(/tmp/multipartBody1162318441667577073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842098297,"filename":"image_10122025_15_17_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50acbc2aac345e473d6bc8bd9934f923.jpg","text":"TemporaryFile(/tmp/multipartBody4179556071601204074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842098297,"filename":"image_10122025_15_17_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e14787d8b3b577416ab21b595162cfc2.jpg","text":"TemporaryFile(/tmp/multipartBody622414424470533146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842098297,"filename":"image_10122025_15_17_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb44f860dc5cb133fc4ad8022e28b1ad.jpg","text":"TemporaryFile(/tmp/multipartBody762142543054808526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842098297,"filename":"image_10122025_15_17_24_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbb9ef538bb79f4ed081cda8cb079a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1844851730394586453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842098297,"filename":"image_10122025_15_18_05_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273962","file1":"1401273959","file0":"1401273958","file4":"1401273968","file5":"1401273971","file3":"1401273965"},"map_files_photo_id_array":[{"photo_id":"1401273971","filename":"file5"},{"photo_id":"1401273962","filename":"file2"},{"photo_id":"1401273968","filename":"file4"},{"photo_id":"1401273959","filename":"file1"},{"photo_id":"1401273958","filename":"file0"},{"photo_id":"1401273965","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273962":["hashtag1","hashtag2"]},{"1401273971":["hashtag1","hashtag2"]},{"1401273965":["hashtag1","hashtag2"]},{"1401273959":["hashtag1","hashtag2"]},{"1401273968":["hashtag1","hashtag2"]},{"1401273958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273962, 1401273971, 1401273965, 1401273959, 1401273968, 1401273958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80629062652588 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:28:03.149087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_17_05_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_55_10763.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_44_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_34_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_25_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_15_10683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/16/image_10122025_15_17_05_9642.jpg', '/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_55_10763.jpg', '/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_44_9787.jpg', '/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_34_9765.jpg', '/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_25_9700.jpg', '/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_15_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/16/image_10122025_15_17_05_9642.jpg
/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_55_10763.jpg
/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_44_9787.jpg
/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_34_9765.jpg
/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_25_9700.jpg
/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_15_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":["1401273978","1401273980","1401273977","1401273985","1401273982","1401273976"],"photo_ids_order":["1401273976","1401273977","1401273978","1401273980","1401273982","1401273985"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8fc7095864a69b8aaa3649ccd18f1873.jpg","text":"TemporaryFile(/tmp/multipartBody2912578922847401226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842144051,"filename":"image_10122025_15_16_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67b72fccbe036ed9a608d5002bde1a44.jpg","text":"TemporaryFile(/tmp/multipartBody2340615837042735516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842144051,"filename":"image_10122025_15_16_34_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a6d6629da7ee05b5e6aba54ff1b61bd.jpg","text":"TemporaryFile(/tmp/multipartBody1429619033229971843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842144051,"filename":"image_10122025_15_16_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe1140c6cda9f5c91c0d6370e4ee4f49.jpg","text":"TemporaryFile(/tmp/multipartBody4510125593922595457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842144051,"filename":"image_10122025_15_16_15_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65b1b935728435b443a81a1542221efb.jpg","text":"TemporaryFile(/tmp/multipartBody8795087883818207221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842144051,"filename":"image_10122025_15_16_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8f83aa5c18531f29d51461bc46a2855.jpg","text":"TemporaryFile(/tmp/multipartBody4134731660351603597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842144051,"filename":"image_10122025_15_17_05_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273978","file1":"1401273977","file0":"1401273976","file4":"1401273982","file5":"1401273985","file3":"1401273980"},"map_files_photo_id_array":[{"photo_id":"1401273985","filename":"file5"},{"photo_id":"1401273978","filename":"file2"},{"photo_id":"1401273982","filename":"file4"},{"photo_id":"1401273977","filename":"file1"},{"photo_id":"1401273976","filename":"file0"},{"photo_id":"1401273980","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273978":["hashtag1","hashtag2"]},{"1401273980":["hashtag1","hashtag2"]},{"1401273977":["hashtag1","hashtag2"]},{"1401273985":["hashtag1","hashtag2"]},{"1401273982":["hashtag1","hashtag2"]},{"1401273976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273978, 1401273980, 1401273977, 1401273985, 1401273982, 1401273976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7437310218811 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:28:47.561633
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_16_04_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_55_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_15_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/15/image_10122025_15_16_04_9727.jpg', '/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_55_9689.jpg', '/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_45_10648.jpg', '/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_34_9617.jpg', '/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_25_9622.jpg', '/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_15_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/15/image_10122025_15_16_04_9727.jpg
/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_55_9689.jpg
/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_45_10648.jpg
/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_34_9617.jpg
/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_25_9622.jpg
/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_15_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":["1401273996","1401273999","1401273993","1401273995","1401273998","1401273994"],"photo_ids_order":["1401273993","1401273994","1401273995","1401273996","1401273998","1401273999"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbc958cca6d87cfabad96bb27d0824a2.jpg","text":"TemporaryFile(/tmp/multipartBody4142906243399548507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842188393,"filename":"image_10122025_15_15_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/12/27/eae762b788c813be1cc97cf9532fe5cb.jpg","text":"TemporaryFile(/tmp/multipartBody6612657550806500000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842188393,"filename":"image_10122025_15_15_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97678da56a189470b12d1eae50ba9255.jpg","text":"TemporaryFile(/tmp/multipartBody4940960994347555318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842188393,"filename":"image_10122025_15_16_04_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7087234726d2d02eccd55f27638764a4.jpg","text":"TemporaryFile(/tmp/multipartBody4594450505331357012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842188393,"filename":"image_10122025_15_15_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c72a0aa54f598413ee600584ce647c7.jpg","text":"TemporaryFile(/tmp/multipartBody7183065894868013232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842188393,"filename":"image_10122025_15_15_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61c95a422c12cbe0a560d6030299a2a3.jpg","text":"TemporaryFile(/tmp/multipartBody2101966860707153247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842188393,"filename":"image_10122025_15_15_55_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401273995","file1":"1401273994","file0":"1401273993","file4":"1401273998","file5":"1401273999","file3":"1401273996"},"map_files_photo_id_array":[{"photo_id":"1401273999","filename":"file5"},{"photo_id":"1401273995","filename":"file2"},{"photo_id":"1401273998","filename":"file4"},{"photo_id":"1401273994","filename":"file1"},{"photo_id":"1401273993","filename":"file0"},{"photo_id":"1401273996","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401273996":["hashtag1","hashtag2"]},{"1401273999":["hashtag1","hashtag2"]},{"1401273993":["hashtag1","hashtag2"]},{"1401273995":["hashtag1","hashtag2"]},{"1401273998":["hashtag1","hashtag2"]},{"1401273994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401273996, 1401273999, 1401273993, 1401273995, 1401273998, 1401273994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10883378982544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:29:32.659116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_15_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_55_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_14_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/14/image_10122025_15_15_04_9615.jpg', '/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_55_10601.jpg', '/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_44_9597.jpg', '/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_35_9594.jpg', '/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_25_10620.jpg', '/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_14_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/14/image_10122025_15_15_04_9615.jpg
/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_55_10601.jpg
/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_44_9597.jpg
/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_35_9594.jpg
/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_25_10620.jpg
/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_14_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":["1401274015","1401274009","1401274013","1401274007","1401274016","1401274010"],"photo_ids_order":["1401274007","1401274009","1401274010","1401274013","1401274015","1401274016"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb10271d1dc9e66357b4aa7c4fe97a8b.jpg","text":"TemporaryFile(/tmp/multipartBody9146733531468444242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842233434,"filename":"image_10122025_15_14_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2fef41139c86922b75a5b2a9bbab666b.jpg","text":"TemporaryFile(/tmp/multipartBody4528707264584085293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842233434,"filename":"image_10122025_15_14_55_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29f0d19e7879eb85265c635957e89c5b.jpg","text":"TemporaryFile(/tmp/multipartBody205206702087663829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842233434,"filename":"image_10122025_15_14_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b51faf290eeca7c235bc099dbe427135.jpg","text":"TemporaryFile(/tmp/multipartBody586879486320781748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842233434,"filename":"image_10122025_15_15_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/12/27/4b21a26ae4df1c587b93088b3c1dd725.jpg","text":"TemporaryFile(/tmp/multipartBody2188284747651558714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842233434,"filename":"image_10122025_15_14_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/12/27/104b9bdd58b2a18d365e321bc11f08d5.jpg","text":"TemporaryFile(/tmp/multipartBody2537026288613168815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842233434,"filename":"image_10122025_15_14_44_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274010","file1":"1401274009","file0":"1401274007","file4":"1401274015","file5":"1401274016","file3":"1401274013"},"map_files_photo_id_array":[{"photo_id":"1401274016","filename":"file5"},{"photo_id":"1401274010","filename":"file2"},{"photo_id":"1401274015","filename":"file4"},{"photo_id":"1401274009","filename":"file1"},{"photo_id":"1401274007","filename":"file0"},{"photo_id":"1401274013","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274015":["hashtag1","hashtag2"]},{"1401274009":["hashtag1","hashtag2"]},{"1401274013":["hashtag1","hashtag2"]},{"1401274007":["hashtag1","hashtag2"]},{"1401274016":["hashtag1","hashtag2"]},{"1401274010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274015, 1401274009, 1401274013, 1401274007, 1401274016, 1401274010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.609946966171265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:30:16.786887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_14_05_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_44_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_35_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_15_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/13/image_10122025_15_14_05_9596.jpg', '/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_55_10604.jpg', '/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_44_9590.jpg', '/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_35_10602.jpg', '/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_24_9617.jpg', '/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_15_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/13/image_10122025_15_14_05_9596.jpg
/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_55_10604.jpg
/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_44_9590.jpg
/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_35_10602.jpg
/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_24_9617.jpg
/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_15_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":["1401274031","1401274025","1401274019","1401274028","1401274022","1401274018"],"photo_ids_order":["1401274018","1401274019","1401274022","1401274025","1401274028","1401274031"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/307b6794d3512390c621c2c75a3a5e45.jpg","text":"TemporaryFile(/tmp/multipartBody4804829497470235520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842277636,"filename":"image_10122025_15_13_15_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7622ae04290e0dfef56268f9efaec2f3.jpg","text":"TemporaryFile(/tmp/multipartBody968160249837639306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842277636,"filename":"image_10122025_15_13_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83fdba6ec363e8d71868ff7c1e42714d.jpg","text":"TemporaryFile(/tmp/multipartBody9074506321279072102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842277636,"filename":"image_10122025_15_13_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3dea797f240a48ce200803ecc2a08d6.jpg","text":"TemporaryFile(/tmp/multipartBody3180282012836810923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842277636,"filename":"image_10122025_15_13_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/12/27/9191ce45bce19e48378834792362677b.jpg","text":"TemporaryFile(/tmp/multipartBody737837645855949717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842277636,"filename":"image_10122025_15_13_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/12/27/e3c525cc1ca057f3892649e82301a009.jpg","text":"TemporaryFile(/tmp/multipartBody3568165692005219917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842277636,"filename":"image_10122025_15_14_05_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274022","file1":"1401274019","file0":"1401274018","file4":"1401274028","file5":"1401274031","file3":"1401274025"},"map_files_photo_id_array":[{"photo_id":"1401274031","filename":"file5"},{"photo_id":"1401274022","filename":"file2"},{"photo_id":"1401274028","filename":"file4"},{"photo_id":"1401274019","filename":"file1"},{"photo_id":"1401274018","filename":"file0"},{"photo_id":"1401274025","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274031":["hashtag1","hashtag2"]},{"1401274025":["hashtag1","hashtag2"]},{"1401274019":["hashtag1","hashtag2"]},{"1401274028":["hashtag1","hashtag2"]},{"1401274022":["hashtag1","hashtag2"]},{"1401274018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274031, 1401274025, 1401274019, 1401274028, 1401274022, 1401274018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.538496017456055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:31:02.727309
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_13_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_54_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_15_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/12/image_10122025_15_13_05_10625.jpg', '/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_54_9589.jpg', '/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_45_10603.jpg', '/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_34_9593.jpg', '/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_25_9595.jpg', '/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_15_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/12/image_10122025_15_13_05_10625.jpg
/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_54_9589.jpg
/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_45_10603.jpg
/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_34_9593.jpg
/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_25_9595.jpg
/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_15_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":["1401274035","1401274038","1401274037","1401274042","1401274036","1401274039"],"photo_ids_order":["1401274035","1401274036","1401274037","1401274038","1401274039","1401274042"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36fa105007b9c80800ef7ef4b024f282.jpg","text":"TemporaryFile(/tmp/multipartBody7388306765306796598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842323619,"filename":"image_10122025_15_13_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/049a10157658a161bffed9a722552f21.jpg","text":"TemporaryFile(/tmp/multipartBody6314823302504953205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842323619,"filename":"image_10122025_15_12_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/12/27/df25e3b08394fe98a9ee58bd9dff8525.jpg","text":"TemporaryFile(/tmp/multipartBody2709675181891373633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842323619,"filename":"image_10122025_15_12_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8920afa7ee5aa91d128fbdfa567c9355.jpg","text":"TemporaryFile(/tmp/multipartBody8922595363236386600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842323619,"filename":"image_10122025_15_12_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ba4d3ddaa458c149d703761d72dda0e.jpg","text":"TemporaryFile(/tmp/multipartBody280628999891568429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842323619,"filename":"image_10122025_15_12_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/12/27/5df76c7d5d28a46e4673dde30cc44699.jpg","text":"TemporaryFile(/tmp/multipartBody4036415966800762323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842323619,"filename":"image_10122025_15_12_25_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274037","file1":"1401274036","file0":"1401274035","file4":"1401274039","file5":"1401274042","file3":"1401274038"},"map_files_photo_id_array":[{"photo_id":"1401274042","filename":"file5"},{"photo_id":"1401274037","filename":"file2"},{"photo_id":"1401274039","filename":"file4"},{"photo_id":"1401274036","filename":"file1"},{"photo_id":"1401274035","filename":"file0"},{"photo_id":"1401274038","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274035":["hashtag1","hashtag2"]},{"1401274038":["hashtag1","hashtag2"]},{"1401274037":["hashtag1","hashtag2"]},{"1401274042":["hashtag1","hashtag2"]},{"1401274036":["hashtag1","hashtag2"]},{"1401274039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274035, 1401274038, 1401274037, 1401274042, 1401274036, 1401274039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27575325965881 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:31:46.895564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_12_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_35_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_14_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/11/image_10122025_15_12_04_9613.jpg', '/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_55_10617.jpg', '/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_44_9594.jpg', '/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_35_9593.jpg', '/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_25_10601.jpg', '/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_14_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/11/image_10122025_15_12_04_9613.jpg
/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_55_10617.jpg
/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_44_9594.jpg
/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_35_9593.jpg
/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_25_10601.jpg
/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_14_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":["1401274053","1401274056","1401274055","1401274052","1401274054","1401274051"],"photo_ids_order":["1401274051","1401274052","1401274053","1401274054","1401274055","1401274056"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c3e025ab19f7f8ac10661d8281bf1f2.jpg","text":"TemporaryFile(/tmp/multipartBody3131545602325918184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842367695,"filename":"image_10122025_15_11_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9ec9544560d08ebdfea4198bf8a19f0.jpg","text":"TemporaryFile(/tmp/multipartBody3917521589049708463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842367695,"filename":"image_10122025_15_11_14_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18b92a44f3194df3ed413424066f305f.jpg","text":"TemporaryFile(/tmp/multipartBody571529235082803189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842367695,"filename":"image_10122025_15_11_25_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0183fb1ad5e3b15518685d69f269701.jpg","text":"TemporaryFile(/tmp/multipartBody6980676664832116786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842367695,"filename":"image_10122025_15_11_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/141a2c4a1e9d84ad391a74d3e9d6327c.jpg","text":"TemporaryFile(/tmp/multipartBody5779450194024334063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842367695,"filename":"image_10122025_15_11_35_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6682ce97992be85837b0fe6116c50f8.jpg","text":"TemporaryFile(/tmp/multipartBody2978875572988572387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842367695,"filename":"image_10122025_15_12_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274053","file1":"1401274052","file0":"1401274051","file4":"1401274055","file5":"1401274056","file3":"1401274054"},"map_files_photo_id_array":[{"photo_id":"1401274056","filename":"file5"},{"photo_id":"1401274053","filename":"file2"},{"photo_id":"1401274055","filename":"file4"},{"photo_id":"1401274052","filename":"file1"},{"photo_id":"1401274051","filename":"file0"},{"photo_id":"1401274054","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274053":["hashtag1","hashtag2"]},{"1401274056":["hashtag1","hashtag2"]},{"1401274055":["hashtag1","hashtag2"]},{"1401274052":["hashtag1","hashtag2"]},{"1401274054":["hashtag1","hashtag2"]},{"1401274051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274053, 1401274056, 1401274055, 1401274052, 1401274054, 1401274051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5167133808136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:32:31.990696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_11_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_54_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_35_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_15_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/10/image_10122025_15_11_05_10614.jpg', '/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_54_9591.jpg', '/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_45_9594.jpg', '/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_35_10599.jpg', '/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_24_9596.jpg', '/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_15_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/10/image_10122025_15_11_05_10614.jpg
/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_54_9591.jpg
/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_45_9594.jpg
/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_35_10599.jpg
/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_24_9596.jpg
/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_15_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":["1401274065","1401274073","1401274070","1401274072","1401274066","1401274063"],"photo_ids_order":["1401274063","1401274065","1401274066","1401274070","1401274072","1401274073"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b5c07f0d7c9b03d56299335d1967ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4953098288748158634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842412783,"filename":"image_10122025_15_10_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/12/27/814eb5d00c98aec9932b734f32a65331.jpg","text":"TemporaryFile(/tmp/multipartBody3666081618793320997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842412783,"filename":"image_10122025_15_10_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51c35cc6e237803099dd823d77f691b3.jpg","text":"TemporaryFile(/tmp/multipartBody1650026944004754255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842412783,"filename":"image_10122025_15_10_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b25cc71502c7e7096193b1e7d7666f88.jpg","text":"TemporaryFile(/tmp/multipartBody2040332971217680634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842412783,"filename":"image_10122025_15_10_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/12/27/a74a052bba3e82c74e8f1dcbce7f4a40.jpg","text":"TemporaryFile(/tmp/multipartBody2621133897090234787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842412783,"filename":"image_10122025_15_10_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b27bf2a14d9cc2161f225d2b5bc03780.jpg","text":"TemporaryFile(/tmp/multipartBody9214638770280249867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842412783,"filename":"image_10122025_15_11_05_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274066","file1":"1401274065","file0":"1401274063","file4":"1401274072","file5":"1401274073","file3":"1401274070"},"map_files_photo_id_array":[{"photo_id":"1401274073","filename":"file5"},{"photo_id":"1401274066","filename":"file2"},{"photo_id":"1401274072","filename":"file4"},{"photo_id":"1401274065","filename":"file1"},{"photo_id":"1401274063","filename":"file0"},{"photo_id":"1401274070","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274065":["hashtag1","hashtag2"]},{"1401274073":["hashtag1","hashtag2"]},{"1401274070":["hashtag1","hashtag2"]},{"1401274072":["hashtag1","hashtag2"]},{"1401274066":["hashtag1","hashtag2"]},{"1401274063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274065, 1401274073, 1401274070, 1401274072, 1401274066, 1401274063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61324191093445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:33:17.076411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_10_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_55_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_14_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/09/image_10122025_15_10_04_9600.jpg', '/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_55_9591.jpg', '/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_45_10602.jpg', '/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_34_9599.jpg', '/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_25_10624.jpg', '/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_14_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/09/image_10122025_15_10_04_9600.jpg
/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_55_9591.jpg
/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_45_10602.jpg
/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_34_9599.jpg
/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_25_10624.jpg
/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_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":["1401274074","1401274101","1401274085","1401274103","1401274075","1401274105"],"photo_ids_order":["1401274074","1401274075","1401274085","1401274101","1401274103","1401274105"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6519f48bb3e362015ad7b09e7924b7b6.jpg","text":"TemporaryFile(/tmp/multipartBody3328436759614061328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842457916,"filename":"image_10122025_15_10_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/12/27/85f4a54b73db22f24131b6ef22f75314.jpg","text":"TemporaryFile(/tmp/multipartBody2556167264778110563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842457916,"filename":"image_10122025_15_09_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/12/27/e260e94f016b0ae288a7ef74fbb7587a.jpg","text":"TemporaryFile(/tmp/multipartBody8057458191407824440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842457916,"filename":"image_10122025_15_09_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f420df03a6a3de9b0807a32b75bafeed.jpg","text":"TemporaryFile(/tmp/multipartBody1424453732795721154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842457916,"filename":"image_10122025_15_09_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d5718a92ef4f1d0a8fb682d8f791afb.jpg","text":"TemporaryFile(/tmp/multipartBody1756904688145346633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842457916,"filename":"image_10122025_15_09_55_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af22f398e08011c8bbdddd18371eb626.jpg","text":"TemporaryFile(/tmp/multipartBody6631733141436482909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842457916,"filename":"image_10122025_15_09_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274085","file1":"1401274075","file0":"1401274074","file4":"1401274103","file5":"1401274105","file3":"1401274101"},"map_files_photo_id_array":[{"photo_id":"1401274105","filename":"file5"},{"photo_id":"1401274085","filename":"file2"},{"photo_id":"1401274103","filename":"file4"},{"photo_id":"1401274075","filename":"file1"},{"photo_id":"1401274074","filename":"file0"},{"photo_id":"1401274101","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274074":["hashtag1","hashtag2"]},{"1401274101":["hashtag1","hashtag2"]},{"1401274085":["hashtag1","hashtag2"]},{"1401274103":["hashtag1","hashtag2"]},{"1401274075":["hashtag1","hashtag2"]},{"1401274105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274074, 1401274101, 1401274085, 1401274103, 1401274075, 1401274105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99983549118042 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:34:03.025533
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_09_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_35_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_15_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/08/image_10122025_15_09_05_9624.jpg', '/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_55_10607.jpg', '/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_44_9600.jpg', '/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_35_10602.jpg', '/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_24_9592.jpg', '/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_15_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/08/image_10122025_15_09_05_9624.jpg
/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_55_10607.jpg
/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_44_9600.jpg
/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_35_10602.jpg
/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_24_9592.jpg
/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_15_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":["1401274114","1401274113","1401274110","1401274112","1401274117","1401274111"],"photo_ids_order":["1401274110","1401274111","1401274112","1401274113","1401274114","1401274117"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/266618b85f5a4db0590cadc47ad2fd78.jpg","text":"TemporaryFile(/tmp/multipartBody1578930010921610779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842503887,"filename":"image_10122025_15_08_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/12/27/5712ce433ea4921ab51867c517115cfd.jpg","text":"TemporaryFile(/tmp/multipartBody447337236839214486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842503887,"filename":"image_10122025_15_08_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64ca6bcef95a7bfe3b2f4ac8c50ad553.jpg","text":"TemporaryFile(/tmp/multipartBody3799888529669939920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842503887,"filename":"image_10122025_15_09_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e668056bf88c5faba4a7831fbb802e61.jpg","text":"TemporaryFile(/tmp/multipartBody941966410396774475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842503887,"filename":"image_10122025_15_08_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/12/27/ce7024844f933a7fa2bbaa84fd23079a.jpg","text":"TemporaryFile(/tmp/multipartBody4935452047240105413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842503887,"filename":"image_10122025_15_08_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53f1389ba523d1854de9515f311dfc88.jpg","text":"TemporaryFile(/tmp/multipartBody2523568748541830853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842503887,"filename":"image_10122025_15_08_55_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274112","file1":"1401274111","file0":"1401274110","file4":"1401274114","file5":"1401274117","file3":"1401274113"},"map_files_photo_id_array":[{"photo_id":"1401274117","filename":"file5"},{"photo_id":"1401274112","filename":"file2"},{"photo_id":"1401274114","filename":"file4"},{"photo_id":"1401274111","filename":"file1"},{"photo_id":"1401274110","filename":"file0"},{"photo_id":"1401274113","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274114":["hashtag1","hashtag2"]},{"1401274113":["hashtag1","hashtag2"]},{"1401274110":["hashtag1","hashtag2"]},{"1401274112":["hashtag1","hashtag2"]},{"1401274117":["hashtag1","hashtag2"]},{"1401274111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274114, 1401274113, 1401274110, 1401274112, 1401274117, 1401274111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88812875747681 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:34:47.220647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_08_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_45_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_25_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_15_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/07/image_10122025_15_08_05_10610.jpg', '/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_54_9596.jpg', '/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_45_10604.jpg', '/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_34_9595.jpg', '/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_25_9596.jpg', '/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/07/image_10122025_15_08_05_10610.jpg
/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_54_9596.jpg
/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_45_10604.jpg
/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_34_9595.jpg
/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_25_9596.jpg
/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_15_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":["1401274245","1401274247","1401274226","1401274127","1401274246","1401274132"],"photo_ids_order":["1401274127","1401274132","1401274226","1401274245","1401274246","1401274247"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc13e7a7ca76f7a28d42afc1d491dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody6418787081402066804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842548018,"filename":"image_10122025_15_07_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/12/27/a444a19b229123b51bd2b4bdf3abe715.jpg","text":"TemporaryFile(/tmp/multipartBody97479934684846808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842548018,"filename":"image_10122025_15_07_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9f8c47f2f74413b40ee3351d43d434c.jpg","text":"TemporaryFile(/tmp/multipartBody5792489220427682890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842548018,"filename":"image_10122025_15_07_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c3e2e82964fe71e93876405370febb0.jpg","text":"TemporaryFile(/tmp/multipartBody2868386031293047296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842548018,"filename":"image_10122025_15_08_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65e8c979695db23261925db934520b05.jpg","text":"TemporaryFile(/tmp/multipartBody700674907215781466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842548018,"filename":"image_10122025_15_07_25_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/942b397b6de713bef400336c33b440b2.jpg","text":"TemporaryFile(/tmp/multipartBody738670604739204489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842548018,"filename":"image_10122025_15_07_54_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274226","file1":"1401274132","file0":"1401274127","file4":"1401274246","file5":"1401274247","file3":"1401274245"},"map_files_photo_id_array":[{"photo_id":"1401274247","filename":"file5"},{"photo_id":"1401274226","filename":"file2"},{"photo_id":"1401274246","filename":"file4"},{"photo_id":"1401274132","filename":"file1"},{"photo_id":"1401274127","filename":"file0"},{"photo_id":"1401274245","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274245":["hashtag1","hashtag2"]},{"1401274247":["hashtag1","hashtag2"]},{"1401274226":["hashtag1","hashtag2"]},{"1401274127":["hashtag1","hashtag2"]},{"1401274246":["hashtag1","hashtag2"]},{"1401274132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274245, 1401274247, 1401274226, 1401274127, 1401274246, 1401274132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38902425765991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:35:32.383968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_07_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_55_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_34_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_14_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/06/image_10122025_15_07_04_9608.jpg', '/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_55_9594.jpg', '/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_45_10606.jpg', '/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_34_9589.jpg', '/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_25_10606.jpg', '/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_14_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/06/image_10122025_15_07_04_9608.jpg
/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_55_9594.jpg
/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_45_10606.jpg
/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_34_9589.jpg
/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_25_10606.jpg
/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_14_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":["1401274260","1401274263","1401274254","1401274253","1401274262","1401274256"],"photo_ids_order":["1401274253","1401274254","1401274256","1401274260","1401274262","1401274263"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83e302df082c53fac7a10a2ea94c18eb.jpg","text":"TemporaryFile(/tmp/multipartBody2685759921489403911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842593160,"filename":"image_10122025_15_06_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a350b216e9b6027685784b611386566f.jpg","text":"TemporaryFile(/tmp/multipartBody5202234885265135714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842593160,"filename":"image_10122025_15_06_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/12/27/d079c9085bac9b176e6cf31e8ca44d86.jpg","text":"TemporaryFile(/tmp/multipartBody7555803823707327813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842593160,"filename":"image_10122025_15_06_55_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd69306e4e97be5205d654e8e3f4a0ee.jpg","text":"TemporaryFile(/tmp/multipartBody6888593762722183206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842593160,"filename":"image_10122025_15_07_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/12/27/e5566d4c99fe21f9ba7962d5e0143e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1167522702839194192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842593160,"filename":"image_10122025_15_06_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fbc4fa8ec322c0bfb13bd415910b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6270800809077789507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842593160,"filename":"image_10122025_15_06_45_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274256","file1":"1401274254","file0":"1401274253","file4":"1401274262","file5":"1401274263","file3":"1401274260"},"map_files_photo_id_array":[{"photo_id":"1401274263","filename":"file5"},{"photo_id":"1401274256","filename":"file2"},{"photo_id":"1401274262","filename":"file4"},{"photo_id":"1401274254","filename":"file1"},{"photo_id":"1401274253","filename":"file0"},{"photo_id":"1401274260","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274260":["hashtag1","hashtag2"]},{"1401274263":["hashtag1","hashtag2"]},{"1401274254":["hashtag1","hashtag2"]},{"1401274253":["hashtag1","hashtag2"]},{"1401274262":["hashtag1","hashtag2"]},{"1401274256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274260, 1401274263, 1401274254, 1401274253, 1401274262, 1401274256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56942129135132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:36:17.413722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_06_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_55_10665.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_44_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_35_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_14_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/05/image_10122025_15_06_05_9647.jpg', '/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_55_10665.jpg', '/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_44_9678.jpg', '/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_35_9667.jpg', '/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_25_10631.jpg', '/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/05/image_10122025_15_06_05_9647.jpg
/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_55_10665.jpg
/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_44_9678.jpg
/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_35_9667.jpg
/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_25_10631.jpg
/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_14_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":["1401274275","1401274277","1401274265","1401274264","1401274273","1401274267"],"photo_ids_order":["1401274264","1401274265","1401274267","1401274273","1401274275","1401274277"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78d79ba2ea6caac72bfcc15070b31d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7357598452768524191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842638212,"filename":"image_10122025_15_05_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b36f982cce30c0f13f050ce2dba8c08a.jpg","text":"TemporaryFile(/tmp/multipartBody8259825969406102514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842638212,"filename":"image_10122025_15_05_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/12/27/3cddd31bd9f33224cee24075b260165a.jpg","text":"TemporaryFile(/tmp/multipartBody6749426617486955910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842638212,"filename":"image_10122025_15_05_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5759c6002dc1d44a7c41763668745dd2.jpg","text":"TemporaryFile(/tmp/multipartBody8669170658930725015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842638212,"filename":"image_10122025_15_06_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6d87d7b51d225adfbf27e42b5802459.jpg","text":"TemporaryFile(/tmp/multipartBody7649776865697796331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842638212,"filename":"image_10122025_15_05_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d48d96a4cf9ea5f867ebee0a9d64152f.jpg","text":"TemporaryFile(/tmp/multipartBody7569306159630111901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842638212,"filename":"image_10122025_15_05_44_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274267","file1":"1401274265","file0":"1401274264","file4":"1401274275","file5":"1401274277","file3":"1401274273"},"map_files_photo_id_array":[{"photo_id":"1401274277","filename":"file5"},{"photo_id":"1401274267","filename":"file2"},{"photo_id":"1401274275","filename":"file4"},{"photo_id":"1401274265","filename":"file1"},{"photo_id":"1401274264","filename":"file0"},{"photo_id":"1401274273","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274275":["hashtag1","hashtag2"]},{"1401274277":["hashtag1","hashtag2"]},{"1401274265":["hashtag1","hashtag2"]},{"1401274264":["hashtag1","hashtag2"]},{"1401274273":["hashtag1","hashtag2"]},{"1401274267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274275, 1401274277, 1401274265, 1401274264, 1401274273, 1401274267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68966054916382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:37:02.997350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_05_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_54_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_15_9682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/04/image_10122025_15_05_05_10637.jpg', '/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_54_9654.jpg', '/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_44_9646.jpg', '/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_35_10651.jpg', '/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_24_9621.jpg', '/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_15_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/04/image_10122025_15_05_05_10637.jpg
/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_54_9654.jpg
/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_44_9646.jpg
/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_35_10651.jpg
/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_24_9621.jpg
/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_15_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":["1401274299","1401274298","1401274295","1401274297","1401274300","1401274303"],"photo_ids_order":["1401274295","1401274297","1401274298","1401274299","1401274300","1401274303"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfcef1b6b4787e288ee4e2a63ea94ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6983688183918032091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842683862,"filename":"image_10122025_15_04_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41afeca141c492e469eea48e95eaaab6.jpg","text":"TemporaryFile(/tmp/multipartBody3696554505385709656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842683862,"filename":"image_10122025_15_04_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/12/27/c24aa04f54f556def2733d522359b112.jpg","text":"TemporaryFile(/tmp/multipartBody7141042311324202373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842683862,"filename":"image_10122025_15_05_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a10be75c3ae64bcb7fa8c0d75071bd0b.jpg","text":"TemporaryFile(/tmp/multipartBody5927610207857362488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842683862,"filename":"image_10122025_15_04_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/12/27/e6770250e6b05fe21ba9023f75bf22fb.jpg","text":"TemporaryFile(/tmp/multipartBody5179615443338790470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842683862,"filename":"image_10122025_15_04_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/12/27/544adce267235bfa7f7a0ede58270cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1984840072991497108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842683862,"filename":"image_10122025_15_04_15_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274298","file1":"1401274297","file0":"1401274295","file4":"1401274300","file5":"1401274303","file3":"1401274299"},"map_files_photo_id_array":[{"photo_id":"1401274303","filename":"file5"},{"photo_id":"1401274298","filename":"file2"},{"photo_id":"1401274300","filename":"file4"},{"photo_id":"1401274297","filename":"file1"},{"photo_id":"1401274295","filename":"file0"},{"photo_id":"1401274299","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274299":["hashtag1","hashtag2"]},{"1401274298":["hashtag1","hashtag2"]},{"1401274295":["hashtag1","hashtag2"]},{"1401274297":["hashtag1","hashtag2"]},{"1401274300":["hashtag1","hashtag2"]},{"1401274303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274299, 1401274298, 1401274295, 1401274297, 1401274300, 1401274303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36948299407959 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:37:47.504192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_9629.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.690544605255127 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:38:03.151798
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg', '/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg
/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_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":["1401274320","1401274317","1401274322","1401274319","1401274315","1401274318"],"photo_ids_order":["1401274315","1401274317","1401274318","1401274319","1401274320","1401274322"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9ecfa27a2df88b74b6333d67f96c270.jpg","text":"TemporaryFile(/tmp/multipartBody3836955579747629030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842743974,"filename":"image_10122025_15_03_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/12/27/3b2d16eae64d45313c0f8ebfd4c5c1da.jpg","text":"TemporaryFile(/tmp/multipartBody6277539974563103962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842743974,"filename":"image_10122025_15_03_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/12/27/058803389c8c64a4083488d9536d8759.jpg","text":"TemporaryFile(/tmp/multipartBody720299638891681412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842743974,"filename":"image_10122025_15_03_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dc65c8fe06c7b7067aaa1df5b61bdec.jpg","text":"TemporaryFile(/tmp/multipartBody8026566443606601498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842743974,"filename":"image_10122025_15_03_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea8590f6d0908ca8fbbdcbea652fa74e.jpg","text":"TemporaryFile(/tmp/multipartBody5442377483166597353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842743974,"filename":"image_10122025_15_04_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d1e013f93b8227585a8fe9df8c1d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody6917917689768433538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842743974,"filename":"image_10122025_15_03_45_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274318","file1":"1401274317","file0":"1401274315","file4":"1401274320","file5":"1401274322","file3":"1401274319"},"map_files_photo_id_array":[{"photo_id":"1401274322","filename":"file5"},{"photo_id":"1401274318","filename":"file2"},{"photo_id":"1401274320","filename":"file4"},{"photo_id":"1401274317","filename":"file1"},{"photo_id":"1401274315","filename":"file0"},{"photo_id":"1401274319","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274320":["hashtag1","hashtag2"]},{"1401274317":["hashtag1","hashtag2"]},{"1401274322":["hashtag1","hashtag2"]},{"1401274319":["hashtag1","hashtag2"]},{"1401274315":["hashtag1","hashtag2"]},{"1401274318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274320, 1401274317, 1401274322, 1401274319, 1401274315, 1401274318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.237295150756836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:38:47.594651
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_03_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_25_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_15_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/02/image_10122025_15_03_05_10631.jpg', '/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_54_9602.jpg', '/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_45_10621.jpg', '/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_34_9621.jpg', '/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_25_9628.jpg', '/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_15_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/02/image_10122025_15_03_05_10631.jpg
/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_54_9602.jpg
/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_45_10621.jpg
/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_34_9621.jpg
/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_25_9628.jpg
/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_15_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":["1401274332","1401274335","1401274334","1401274331","1401274333","1401274336"],"photo_ids_order":["1401274331","1401274332","1401274333","1401274334","1401274335","1401274336"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e11df149164e0b35901642ce045f23f.jpg","text":"TemporaryFile(/tmp/multipartBody6364272707711687145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842788374,"filename":"image_10122025_15_02_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/12/27/a0b7536f450511c7105810d0d3b1ff2a.jpg","text":"TemporaryFile(/tmp/multipartBody4583616765302230734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842788374,"filename":"image_10122025_15_02_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fde295b1ea358c16f54cc56296c137a2.jpg","text":"TemporaryFile(/tmp/multipartBody8674547026756194474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842788374,"filename":"image_10122025_15_02_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/12/27/66c471769c674bc12b8e41e392d94071.jpg","text":"TemporaryFile(/tmp/multipartBody8139721708634926481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842788374,"filename":"image_10122025_15_03_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4abf0e394646690bc0a7a7a80dfbf3e.jpg","text":"TemporaryFile(/tmp/multipartBody4963420072721997687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842788374,"filename":"image_10122025_15_02_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c23e736541737f8c7d138cfd028410d.jpg","text":"TemporaryFile(/tmp/multipartBody7884939544686660457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842788374,"filename":"image_10122025_15_02_15_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274333","file1":"1401274332","file0":"1401274331","file4":"1401274335","file5":"1401274336","file3":"1401274334"},"map_files_photo_id_array":[{"photo_id":"1401274336","filename":"file5"},{"photo_id":"1401274333","filename":"file2"},{"photo_id":"1401274335","filename":"file4"},{"photo_id":"1401274332","filename":"file1"},{"photo_id":"1401274331","filename":"file0"},{"photo_id":"1401274334","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274332":["hashtag1","hashtag2"]},{"1401274335":["hashtag1","hashtag2"]},{"1401274334":["hashtag1","hashtag2"]},{"1401274331":["hashtag1","hashtag2"]},{"1401274333":["hashtag1","hashtag2"]},{"1401274336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274332, 1401274335, 1401274334, 1401274331, 1401274333, 1401274336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.654274225234985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:39:32.705079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_02_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_55_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_45_10700.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_25_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_15_10698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/01/image_10122025_15_02_04_9626.jpg', '/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_55_9658.jpg', '/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_45_10700.jpg', '/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_34_9627.jpg', '/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_25_9673.jpg', '/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_15_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/01/image_10122025_15_02_04_9626.jpg
/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_55_9658.jpg
/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_45_10700.jpg
/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_34_9627.jpg
/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_25_9673.jpg
/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_15_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274350","1401274344","1401274347","1401274349","1401274340","1401274342"],"photo_ids_order":["1401274340","1401274342","1401274344","1401274347","1401274349","1401274350"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecb6fff657d3b4b20a8e194ba4cb3794.jpg","text":"TemporaryFile(/tmp/multipartBody9096952800731085422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842833495,"filename":"image_10122025_15_01_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e8db4cd65e8046c0f7a4ffc1167abfb.jpg","text":"TemporaryFile(/tmp/multipartBody377401867842325841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842833495,"filename":"image_10122025_15_01_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b8dfc0221b33031048102a414af05a6.jpg","text":"TemporaryFile(/tmp/multipartBody5945238535524311046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842833495,"filename":"image_10122025_15_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/12/27/1ce30ed6f932d21c08530723ba65fcbe.jpg","text":"TemporaryFile(/tmp/multipartBody7722611530325098171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842833495,"filename":"image_10122025_15_01_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f497d73af33728f897c88fc1eab29006.jpg","text":"TemporaryFile(/tmp/multipartBody2883527339983369943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842833495,"filename":"image_10122025_15_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/12/27/3b015542446d2925c30047c8c338108a.jpg","text":"TemporaryFile(/tmp/multipartBody377843046858255003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842833495,"filename":"image_10122025_15_01_55_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274344","file1":"1401274342","file0":"1401274340","file4":"1401274349","file5":"1401274350","file3":"1401274347"},"map_files_photo_id_array":[{"photo_id":"1401274350","filename":"file5"},{"photo_id":"1401274344","filename":"file2"},{"photo_id":"1401274349","filename":"file4"},{"photo_id":"1401274342","filename":"file1"},{"photo_id":"1401274340","filename":"file0"},{"photo_id":"1401274347","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274350":["hashtag1","hashtag2"]},{"1401274344":["hashtag1","hashtag2"]},{"1401274347":["hashtag1","hashtag2"]},{"1401274349":["hashtag1","hashtag2"]},{"1401274340":["hashtag1","hashtag2"]},{"1401274342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274350, 1401274344, 1401274347, 1401274349, 1401274340, 1401274342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52118253707886 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:40:16.806912
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_01_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_55_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_34_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_25_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_15_10779.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/15/00/image_10122025_15_01_04_9642.jpg', '/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_55_9634.jpg', '/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_45_10652.jpg', '/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_34_9655.jpg', '/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_25_9671.jpg', '/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_15_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/15/00/image_10122025_15_01_04_9642.jpg
/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_55_9634.jpg
/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_45_10652.jpg
/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_34_9655.jpg
/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_25_9671.jpg
/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_15_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274352","1401274361","1401274355","1401274358","1401274363","1401274351"],"photo_ids_order":["1401274351","1401274352","1401274355","1401274358","1401274361","1401274363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fc25cf1229c38257ffba71173d9de48.jpg","text":"TemporaryFile(/tmp/multipartBody6584426352406388492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842877616,"filename":"image_10122025_15_00_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a171b4d717139f8ddc8f71c6436b128b.jpg","text":"TemporaryFile(/tmp/multipartBody6153727933722403032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842877616,"filename":"image_10122025_15_00_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf2d2c01a73fc585bf89b4a9c9c0a58c.jpg","text":"TemporaryFile(/tmp/multipartBody6745652730633350179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842877616,"filename":"image_10122025_15_00_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5abcf3077dc24e1fd125adfe4d497d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5142558536273272746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842877616,"filename":"image_10122025_15_00_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/12/27/d2310e26a8d9cf5c1df7a81607ee436f.jpg","text":"TemporaryFile(/tmp/multipartBody2964377957654625503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842877616,"filename":"image_10122025_15_00_15_10779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b601a8a6a2bfd39fb8eef4e3745bd42e.jpg","text":"TemporaryFile(/tmp/multipartBody9202888729955012260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842877616,"filename":"image_10122025_15_01_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274355","file1":"1401274352","file0":"1401274351","file4":"1401274361","file5":"1401274363","file3":"1401274358"},"map_files_photo_id_array":[{"photo_id":"1401274363","filename":"file5"},{"photo_id":"1401274355","filename":"file2"},{"photo_id":"1401274361","filename":"file4"},{"photo_id":"1401274352","filename":"file1"},{"photo_id":"1401274351","filename":"file0"},{"photo_id":"1401274358","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274352":["hashtag1","hashtag2"]},{"1401274361":["hashtag1","hashtag2"]},{"1401274355":["hashtag1","hashtag2"]},{"1401274358":["hashtag1","hashtag2"]},{"1401274363":["hashtag1","hashtag2"]},{"1401274351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274352, 1401274361, 1401274355, 1401274358, 1401274363, 1401274351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12457728385925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:41:02.517167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/59/image_10122025_15_00_04_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_55_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_34_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_24_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_15_10733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/59/image_10122025_15_00_04_9757.jpg', '/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_55_9746.jpg', '/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_45_10660.jpg', '/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_34_9650.jpg', '/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_24_9655.jpg', '/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_15_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/59/image_10122025_15_00_04_9757.jpg
/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_55_9746.jpg
/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_45_10660.jpg
/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_34_9650.jpg
/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_24_9655.jpg
/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_15_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":["1401274368","1401274371","1401274370","1401274373","1401274367","1401274369"],"photo_ids_order":["1401274367","1401274368","1401274369","1401274370","1401274371","1401274373"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2423dd95968a11641d2d1bddc7c39b6a.jpg","text":"TemporaryFile(/tmp/multipartBody8803148982371857520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842923402,"filename":"image_10122025_14_59_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92cd5a6a54517160c92edbeec8925148.jpg","text":"TemporaryFile(/tmp/multipartBody8937792809646708370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842923402,"filename":"image_10122025_14_59_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/12/27/aace9499f1e32b6dc06aa47ea5815c88.jpg","text":"TemporaryFile(/tmp/multipartBody1507459249320344136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842923402,"filename":"image_10122025_14_59_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/12/27/ffc2f0f816f3fda96a3eddb2fa2065fa.jpg","text":"TemporaryFile(/tmp/multipartBody589284254288795208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842923402,"filename":"image_10122025_14_59_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7459c65a6ac1d274236f8c5ca1dbe09b.jpg","text":"TemporaryFile(/tmp/multipartBody8070392791729220712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842923402,"filename":"image_10122025_15_00_04_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9385345b91b10ad155d62db32a33963.jpg","text":"TemporaryFile(/tmp/multipartBody4432393063606643388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842923402,"filename":"image_10122025_14_59_45_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274369","file1":"1401274368","file0":"1401274367","file4":"1401274371","file5":"1401274373","file3":"1401274370"},"map_files_photo_id_array":[{"photo_id":"1401274373","filename":"file5"},{"photo_id":"1401274369","filename":"file2"},{"photo_id":"1401274371","filename":"file4"},{"photo_id":"1401274368","filename":"file1"},{"photo_id":"1401274367","filename":"file0"},{"photo_id":"1401274370","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274368":["hashtag1","hashtag2"]},{"1401274371":["hashtag1","hashtag2"]},{"1401274370":["hashtag1","hashtag2"]},{"1401274373":["hashtag1","hashtag2"]},{"1401274367":["hashtag1","hashtag2"]},{"1401274369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274368, 1401274371, 1401274370, 1401274373, 1401274367, 1401274369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48857808113098 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:41:46.915299
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_59_04_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_54_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_34_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_24_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_15_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/58/image_10122025_14_59_04_9667.jpg', '/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_54_9651.jpg', '/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_45_10652.jpg', '/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_34_9666.jpg', '/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_24_9687.jpg', '/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_15_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/58/image_10122025_14_59_04_9667.jpg
/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_54_9651.jpg
/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_45_10652.jpg
/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_34_9666.jpg
/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_24_9687.jpg
/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_15_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":["1401274385","1401274388","1401274382","1401274384","1401274387","1401274386"],"photo_ids_order":["1401274382","1401274384","1401274385","1401274386","1401274387","1401274388"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9f37480d25eaa721358da4e0ea01dee.jpg","text":"TemporaryFile(/tmp/multipartBody2997642848603038463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842967734,"filename":"image_10122025_14_58_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3d1ccaf7f470224733bf2c9c24f1d33.jpg","text":"TemporaryFile(/tmp/multipartBody8289789057017371455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842967734,"filename":"image_10122025_14_58_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b37f40194d9579fa1fba8cd50a94595.jpg","text":"TemporaryFile(/tmp/multipartBody7523006523256625997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842967734,"filename":"image_10122025_14_59_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/12/27/49d6b414e60714e2eefbbca8a6402290.jpg","text":"TemporaryFile(/tmp/multipartBody6148617751237906257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842967734,"filename":"image_10122025_14_58_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/12/27/b7d1d83c609c29fbb1edb09b5fecd7c3.jpg","text":"TemporaryFile(/tmp/multipartBody2550153604123156834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842967734,"filename":"image_10122025_14_58_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92a9c5da9b26f1ef6ceab15abb31ee04.jpg","text":"TemporaryFile(/tmp/multipartBody4080264670176011923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766842967734,"filename":"image_10122025_14_58_34_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274385","file1":"1401274384","file0":"1401274382","file4":"1401274387","file5":"1401274388","file3":"1401274386"},"map_files_photo_id_array":[{"photo_id":"1401274388","filename":"file5"},{"photo_id":"1401274385","filename":"file2"},{"photo_id":"1401274387","filename":"file4"},{"photo_id":"1401274384","filename":"file1"},{"photo_id":"1401274382","filename":"file0"},{"photo_id":"1401274386","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274385":["hashtag1","hashtag2"]},{"1401274388":["hashtag1","hashtag2"]},{"1401274382":["hashtag1","hashtag2"]},{"1401274384":["hashtag1","hashtag2"]},{"1401274387":["hashtag1","hashtag2"]},{"1401274386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274385, 1401274388, 1401274382, 1401274384, 1401274387, 1401274386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.717092037200928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:42:32.024169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_58_04_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_54_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_34_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_15_10674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/57/image_10122025_14_58_04_9657.jpg', '/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_54_9654.jpg', '/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_45_10652.jpg', '/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_34_9699.jpg', '/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_25_9623.jpg', '/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_15_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/57/image_10122025_14_58_04_9657.jpg
/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_54_9654.jpg
/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_45_10652.jpg
/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_34_9699.jpg
/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_25_9623.jpg
/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_15_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":["1401274395","1401274397","1401274401","1401274393","1401274399","1401274402"],"photo_ids_order":["1401274393","1401274395","1401274397","1401274399","1401274401","1401274402"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4545237f7a4999550affd1d4435ef4c.jpg","text":"TemporaryFile(/tmp/multipartBody4296140077659233081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843012840,"filename":"image_10122025_14_57_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/12/27/c60125a7f930a20b236ed4af28ee8cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2972726169986782335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843012840,"filename":"image_10122025_14_57_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f8957aa313c2f8682c7df61e94fae0e.jpg","text":"TemporaryFile(/tmp/multipartBody5406125419362808046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843012840,"filename":"image_10122025_14_57_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7a5113521f093100e2a4d21e32df5c8.jpg","text":"TemporaryFile(/tmp/multipartBody3510260714875564769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843012840,"filename":"image_10122025_14_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/12/27/f4bf0260e03665acbac0650bf8947bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2620064852982118749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843012840,"filename":"image_10122025_14_57_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22c314c1e23439cac5befd51132a3522.jpg","text":"TemporaryFile(/tmp/multipartBody650670720612373618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843012840,"filename":"image_10122025_14_57_15_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274397","file1":"1401274395","file0":"1401274393","file4":"1401274401","file5":"1401274402","file3":"1401274399"},"map_files_photo_id_array":[{"photo_id":"1401274402","filename":"file5"},{"photo_id":"1401274397","filename":"file2"},{"photo_id":"1401274401","filename":"file4"},{"photo_id":"1401274395","filename":"file1"},{"photo_id":"1401274393","filename":"file0"},{"photo_id":"1401274399","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274395":["hashtag1","hashtag2"]},{"1401274397":["hashtag1","hashtag2"]},{"1401274401":["hashtag1","hashtag2"]},{"1401274393":["hashtag1","hashtag2"]},{"1401274399":["hashtag1","hashtag2"]},{"1401274402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274395, 1401274397, 1401274401, 1401274393, 1401274399, 1401274402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0710186958313 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:43:17.174503
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_57_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_34_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_15_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/56/image_10122025_14_57_04_9634.jpg', '/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_55_9610.jpg', '/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_45_10636.jpg', '/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_34_9639.jpg', '/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_25_9623.jpg', '/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_15_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/56/image_10122025_14_57_04_9634.jpg
/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_55_9610.jpg
/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_45_10636.jpg
/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_34_9639.jpg
/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_25_9623.jpg
/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_15_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":["1401274404","1401274413","1401274407","1401274403","1401274409","1401274411"],"photo_ids_order":["1401274403","1401274404","1401274407","1401274409","1401274411","1401274413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c798c38ad290cdf5bdaae4ba0593335.jpg","text":"TemporaryFile(/tmp/multipartBody1142357237682638653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843057973,"filename":"image_10122025_14_56_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/372e361a6d3a16d64feae4bcc2e3f305.jpg","text":"TemporaryFile(/tmp/multipartBody6998241076136491650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843057973,"filename":"image_10122025_14_56_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/319ec408531b24e316edb217f39702fc.jpg","text":"TemporaryFile(/tmp/multipartBody1843521326362846659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843057973,"filename":"image_10122025_14_56_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e41b7294459806c72b0d12eb7da39f82.jpg","text":"TemporaryFile(/tmp/multipartBody4974000823437123357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843057973,"filename":"image_10122025_14_57_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/12/27/e72ff116454d96690a6c61b2d7413457.jpg","text":"TemporaryFile(/tmp/multipartBody5016667347020374658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843057973,"filename":"image_10122025_14_56_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/12/27/cfd17ba6d3993b9106ea4be8f4fdb1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4838947319600769871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843057973,"filename":"image_10122025_14_56_25_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274407","file1":"1401274404","file0":"1401274403","file4":"1401274411","file5":"1401274413","file3":"1401274409"},"map_files_photo_id_array":[{"photo_id":"1401274413","filename":"file5"},{"photo_id":"1401274407","filename":"file2"},{"photo_id":"1401274411","filename":"file4"},{"photo_id":"1401274404","filename":"file1"},{"photo_id":"1401274403","filename":"file0"},{"photo_id":"1401274409","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274404":["hashtag1","hashtag2"]},{"1401274413":["hashtag1","hashtag2"]},{"1401274407":["hashtag1","hashtag2"]},{"1401274403":["hashtag1","hashtag2"]},{"1401274409":["hashtag1","hashtag2"]},{"1401274411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274404, 1401274413, 1401274407, 1401274403, 1401274409, 1401274411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.164416551589966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:44:03.050429
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_56_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_35_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_14_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/55/image_10122025_14_56_04_9617.jpg', '/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_55_10612.jpg', '/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_44_9604.jpg', '/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_35_9595.jpg', '/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_25_10610.jpg', '/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_14_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/55/image_10122025_14_56_04_9617.jpg
/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_55_10612.jpg
/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_44_9604.jpg
/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_35_9595.jpg
/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_25_10610.jpg
/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_14_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":["1401274422","1401274419","1401274424","1401274418","1401274420","1401274423"],"photo_ids_order":["1401274418","1401274419","1401274420","1401274422","1401274423","1401274424"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68cb5e683b80caec7388d3d76215d730.jpg","text":"TemporaryFile(/tmp/multipartBody1145693567084659303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843103966,"filename":"image_10122025_14_55_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/162a71bf6fd8b9abe0149a21c7d0d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody2593630475561871012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843103966,"filename":"image_10122025_14_55_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/deb224f9f455f1b2f6b7ad7037f01be2.jpg","text":"TemporaryFile(/tmp/multipartBody8106165251235047528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843103966,"filename":"image_10122025_14_55_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/519259ed065f5fe3c7801eb8c19bb940.jpg","text":"TemporaryFile(/tmp/multipartBody4998707421769041499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843103966,"filename":"image_10122025_14_56_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/12/27/72ce296dd5304927c07acc4f67215ab6.jpg","text":"TemporaryFile(/tmp/multipartBody34913612837048860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843103966,"filename":"image_10122025_14_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/12/27/4a97e15659a15a949f0694447641cdb0.jpg","text":"TemporaryFile(/tmp/multipartBody4299325646541192470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843103966,"filename":"image_10122025_14_55_25_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274420","file1":"1401274419","file0":"1401274418","file4":"1401274423","file5":"1401274424","file3":"1401274422"},"map_files_photo_id_array":[{"photo_id":"1401274424","filename":"file5"},{"photo_id":"1401274420","filename":"file2"},{"photo_id":"1401274423","filename":"file4"},{"photo_id":"1401274419","filename":"file1"},{"photo_id":"1401274418","filename":"file0"},{"photo_id":"1401274422","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274422":["hashtag1","hashtag2"]},{"1401274419":["hashtag1","hashtag2"]},{"1401274424":["hashtag1","hashtag2"]},{"1401274418":["hashtag1","hashtag2"]},{"1401274420":["hashtag1","hashtag2"]},{"1401274423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274422, 1401274419, 1401274424, 1401274418, 1401274420, 1401274423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99368715286255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:44:47.318897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_55_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_24_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_15_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/54/image_10122025_14_55_05_10629.jpg', '/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_54_9596.jpg', '/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_44_9593.jpg', '/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_35_10606.jpg', '/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_24_9590.jpg', '/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_15_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/54/image_10122025_14_55_05_10629.jpg
/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_54_9596.jpg
/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_44_9593.jpg
/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_35_10606.jpg
/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_24_9590.jpg
/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_15_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":["1401274437","1401274434","1401274433","1401274436","1401274432","1401274435"],"photo_ids_order":["1401274432","1401274433","1401274434","1401274435","1401274436","1401274437"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bef31f3af8bf25eafaaec40704e398d5.jpg","text":"TemporaryFile(/tmp/multipartBody4283906962416454076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843148098,"filename":"image_10122025_14_54_15_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bf0c37f255d868ff650c24f36fbf8dd.jpg","text":"TemporaryFile(/tmp/multipartBody7711388281778925992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843148098,"filename":"image_10122025_14_54_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/12/27/ab996e0ab90a3438e39ac1f750094269.jpg","text":"TemporaryFile(/tmp/multipartBody1778980889905254931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843148098,"filename":"image_10122025_14_54_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/12/27/386d86c66c8379d0c00a7f6ac2437a1d.jpg","text":"TemporaryFile(/tmp/multipartBody586026638195222587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843148098,"filename":"image_10122025_14_54_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1feadb0106060aa0e4b6596b06d25e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2538410803606532554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843148098,"filename":"image_10122025_14_55_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57456cd3a99fc99a222d910a372f9083.jpg","text":"TemporaryFile(/tmp/multipartBody4538994697503075423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843148098,"filename":"image_10122025_14_54_35_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274434","file1":"1401274433","file0":"1401274432","file4":"1401274436","file5":"1401274437","file3":"1401274435"},"map_files_photo_id_array":[{"photo_id":"1401274437","filename":"file5"},{"photo_id":"1401274434","filename":"file2"},{"photo_id":"1401274436","filename":"file4"},{"photo_id":"1401274433","filename":"file1"},{"photo_id":"1401274432","filename":"file0"},{"photo_id":"1401274435","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274437":["hashtag1","hashtag2"]},{"1401274434":["hashtag1","hashtag2"]},{"1401274433":["hashtag1","hashtag2"]},{"1401274436":["hashtag1","hashtag2"]},{"1401274432":["hashtag1","hashtag2"]},{"1401274435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274437, 1401274434, 1401274433, 1401274436, 1401274432, 1401274435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60387420654297 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:45:32.428647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_54_05_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_54_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_15_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/53/image_10122025_14_54_05_10667.jpg', '/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_54_9611.jpg', '/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_45_10621.jpg', '/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_34_9608.jpg', '/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_25_9601.jpg', '/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/53/image_10122025_14_54_05_10667.jpg
/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_54_9611.jpg
/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_45_10621.jpg
/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_34_9608.jpg
/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_25_9601.jpg
/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_15_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":["1401274455","1401274451","1401274454","1401274448","1401274444","1401274447"],"photo_ids_order":["1401274444","1401274447","1401274448","1401274451","1401274454","1401274455"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bccc6c07e348dd4a15842f47856406a2.jpg","text":"TemporaryFile(/tmp/multipartBody79436936655177908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843193233,"filename":"image_10122025_14_53_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/936d5168c15e9fa4ac6f107b0e124e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7130587265402820368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843193233,"filename":"image_10122025_14_53_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/12/27/06ed91fbc0e318f1e3567c5bbc74d810.jpg","text":"TemporaryFile(/tmp/multipartBody5898550440277141260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843193233,"filename":"image_10122025_14_53_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9730136131376b20c073573f36a4d2cc.jpg","text":"TemporaryFile(/tmp/multipartBody7861765029619166753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843193233,"filename":"image_10122025_14_53_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86e9520e5a4ae9c7d96c648c80f2184b.jpg","text":"TemporaryFile(/tmp/multipartBody8915903188284927982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843193233,"filename":"image_10122025_14_54_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f28e31d0ba41dcea46034ceab07f332.jpg","text":"TemporaryFile(/tmp/multipartBody7452994562851990348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843193233,"filename":"image_10122025_14_53_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274448","file1":"1401274447","file0":"1401274444","file4":"1401274454","file5":"1401274455","file3":"1401274451"},"map_files_photo_id_array":[{"photo_id":"1401274455","filename":"file5"},{"photo_id":"1401274448","filename":"file2"},{"photo_id":"1401274454","filename":"file4"},{"photo_id":"1401274447","filename":"file1"},{"photo_id":"1401274444","filename":"file0"},{"photo_id":"1401274451","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274455":["hashtag1","hashtag2"]},{"1401274451":["hashtag1","hashtag2"]},{"1401274454":["hashtag1","hashtag2"]},{"1401274448":["hashtag1","hashtag2"]},{"1401274444":["hashtag1","hashtag2"]},{"1401274447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274455, 1401274451, 1401274454, 1401274448, 1401274444, 1401274447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.81208372116089 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:46:17.532334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_53_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_14_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/52/image_10122025_14_53_04_9607.jpg', '/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_55_10615.jpg', '/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_44_9604.jpg', '/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_34_9603.jpg', '/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_25_10616.jpg', '/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_14_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/52/image_10122025_14_53_04_9607.jpg
/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_55_10615.jpg
/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_44_9604.jpg
/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_34_9603.jpg
/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_25_10616.jpg
/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_14_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":["1401274458","1401274460","1401274463","1401274457","1401274462","1401274456"],"photo_ids_order":["1401274456","1401274457","1401274458","1401274460","1401274462","1401274463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9210e59099b346f8c3b43adbdbc74e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4823868142072830335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843238330,"filename":"image_10122025_14_52_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/12/27/3c43d14e0322bd3afbeeba5268ab12f3.jpg","text":"TemporaryFile(/tmp/multipartBody4613870797452838025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843238330,"filename":"image_10122025_14_52_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/12/27/e9efc71d88fff2c6d30d4b9b3f65f76e.jpg","text":"TemporaryFile(/tmp/multipartBody2657169002405341300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843238330,"filename":"image_10122025_14_52_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/12/27/54d315b2581b947ab1edf2a67bbf9b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8175359416591825345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843238330,"filename":"image_10122025_14_52_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c9116fa9c77ca3a0ab7b056871a9795.jpg","text":"TemporaryFile(/tmp/multipartBody745777350232030841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843238330,"filename":"image_10122025_14_52_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24c08f108cc2689d540cd94b70f69b94.jpg","text":"TemporaryFile(/tmp/multipartBody5589701831464277995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843238330,"filename":"image_10122025_14_53_04_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274458","file1":"1401274457","file0":"1401274456","file4":"1401274462","file5":"1401274463","file3":"1401274460"},"map_files_photo_id_array":[{"photo_id":"1401274463","filename":"file5"},{"photo_id":"1401274458","filename":"file2"},{"photo_id":"1401274462","filename":"file4"},{"photo_id":"1401274457","filename":"file1"},{"photo_id":"1401274456","filename":"file0"},{"photo_id":"1401274460","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274458":["hashtag1","hashtag2"]},{"1401274460":["hashtag1","hashtag2"]},{"1401274463":["hashtag1","hashtag2"]},{"1401274457":["hashtag1","hashtag2"]},{"1401274462":["hashtag1","hashtag2"]},{"1401274456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274458, 1401274460, 1401274463, 1401274457, 1401274462, 1401274456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.195234298706055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:47:03.049010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_52_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_24_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_15_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/51/image_10122025_14_52_05_9618.jpg', '/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_55_10613.jpg', '/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_44_9604.jpg', '/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_35_10604.jpg', '/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_24_9593.jpg', '/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_15_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/51/image_10122025_14_52_05_9618.jpg
/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_55_10613.jpg
/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_44_9604.jpg
/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_35_10604.jpg
/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_24_9593.jpg
/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_15_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":["1401274473","1401274476","1401274478","1401274481","1401274475","1401274477"],"photo_ids_order":["1401274473","1401274475","1401274476","1401274477","1401274478","1401274481"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2efb464cd0902e542087f6715c3a7f1.jpg","text":"TemporaryFile(/tmp/multipartBody4584379028697581579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843283863,"filename":"image_10122025_14_52_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b99acedd6bc3189d9393e5c1548821d.jpg","text":"TemporaryFile(/tmp/multipartBody5542987569598753107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843283863,"filename":"image_10122025_14_51_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/12/27/2aac2d4f828cf960694e5ee5534aa4ab.jpg","text":"TemporaryFile(/tmp/multipartBody3267798041348910214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843283863,"filename":"image_10122025_14_51_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0ed723c3ca6e3f5bad5026d7e68bf21.jpg","text":"TemporaryFile(/tmp/multipartBody1285452436109000541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843283863,"filename":"image_10122025_14_51_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b268516aa2d0914a4ca639013f5b8e37.jpg","text":"TemporaryFile(/tmp/multipartBody5073043843919523962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843283863,"filename":"image_10122025_14_51_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6757b915869428f7f109aa3bba18614.jpg","text":"TemporaryFile(/tmp/multipartBody6417719487740398581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843283863,"filename":"image_10122025_14_51_35_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274476","file1":"1401274475","file0":"1401274473","file4":"1401274478","file5":"1401274481","file3":"1401274477"},"map_files_photo_id_array":[{"photo_id":"1401274481","filename":"file5"},{"photo_id":"1401274476","filename":"file2"},{"photo_id":"1401274478","filename":"file4"},{"photo_id":"1401274475","filename":"file1"},{"photo_id":"1401274473","filename":"file0"},{"photo_id":"1401274477","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274473":["hashtag1","hashtag2"]},{"1401274476":["hashtag1","hashtag2"]},{"1401274478":["hashtag1","hashtag2"]},{"1401274481":["hashtag1","hashtag2"]},{"1401274475":["hashtag1","hashtag2"]},{"1401274477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274473, 1401274476, 1401274478, 1401274481, 1401274475, 1401274477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45920157432556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:47:47.635024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_51_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_45_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_24_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_50_04_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/50/image_10122025_14_51_05_10650.jpg', '/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_54_9607.jpg', '/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_45_9681.jpg', '/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_35_10654.jpg', '/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_24_9628.jpg', '/home/nano/Desktop/images/10122025/14/49/image_10122025_14_50_04_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/50/image_10122025_14_51_05_10650.jpg
/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_54_9607.jpg
/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_45_9681.jpg
/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_35_10654.jpg
/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_24_9628.jpg
/home/nano/Desktop/images/10122025/14/49/image_10122025_14_50_04_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":["1401274494","1401274488","1401274490","1401274493","1401274489","1401274491"],"photo_ids_order":["1401274488","1401274489","1401274490","1401274491","1401274493","1401274494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5086e84ee8af5cd6905f38237000dc7d.jpg","text":"TemporaryFile(/tmp/multipartBody8002168565791312970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843328452,"filename":"image_10122025_14_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/12/27/b0fedffc9274cd7a3f2ae035b7a4a356.jpg","text":"TemporaryFile(/tmp/multipartBody1462626542865732506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843328452,"filename":"image_10122025_14_51_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7225c6179ec1ce78e0d59c203d366d9.jpg","text":"TemporaryFile(/tmp/multipartBody7550134661683782360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843328452,"filename":"image_10122025_14_50_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a9f38bbcf67b713cf78c0c82657f19e.jpg","text":"TemporaryFile(/tmp/multipartBody6200593977643434835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843328452,"filename":"image_10122025_14_50_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/12/27/8ec5e6ad164b8da8aade2e7abc0d9cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3556934175861061401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843328452,"filename":"image_10122025_14_50_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/12/27/4d383c7384c7331d25710690bdb12d0c.jpg","text":"TemporaryFile(/tmp/multipartBody8856203911464579901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843328452,"filename":"image_10122025_14_50_35_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274490","file1":"1401274489","file0":"1401274488","file4":"1401274493","file5":"1401274494","file3":"1401274491"},"map_files_photo_id_array":[{"photo_id":"1401274494","filename":"file5"},{"photo_id":"1401274490","filename":"file2"},{"photo_id":"1401274493","filename":"file4"},{"photo_id":"1401274489","filename":"file1"},{"photo_id":"1401274488","filename":"file0"},{"photo_id":"1401274491","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274494":["hashtag1","hashtag2"]},{"1401274488":["hashtag1","hashtag2"]},{"1401274490":["hashtag1","hashtag2"]},{"1401274493":["hashtag1","hashtag2"]},{"1401274489":["hashtag1","hashtag2"]},{"1401274491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274494, 1401274488, 1401274490, 1401274493, 1401274489, 1401274491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.302445650100708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:48:32.745763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_34_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_25_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_49_04_9750.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_54_9628.jpg', '/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_45_10634.jpg', '/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_34_9705.jpg', '/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_25_9700.jpg', '/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_15_10637.jpg', '/home/nano/Desktop/images/10122025/14/48/image_10122025_14_49_04_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_54_9628.jpg
/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_45_10634.jpg
/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_34_9705.jpg
/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_25_9700.jpg
/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_15_10637.jpg
/home/nano/Desktop/images/10122025/14/48/image_10122025_14_49_04_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274504","1401274509","1401274500","1401274508","1401274502","1401274507"],"photo_ids_order":["1401274500","1401274502","1401274504","1401274507","1401274508","1401274509"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb1bbcd0b33857c515e1af3495cfe6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2778820384357781741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843373571,"filename":"image_10122025_14_49_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db54b39d447156c2b47831260ecc331e.jpg","text":"TemporaryFile(/tmp/multipartBody3305604699509901088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843373571,"filename":"image_10122025_14_49_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76053f3d576af6ed522cdbd9c9a57d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6114339038862082887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843373571,"filename":"image_10122025_14_49_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/12/27/8ab9f9d4864228739e014ea1062e4f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7267726664398963193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843373571,"filename":"image_10122025_14_49_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/781cea7629d8631591403da76bd7e222.jpg","text":"TemporaryFile(/tmp/multipartBody8626748604530663925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843373571,"filename":"image_10122025_14_49_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6c850e7a846552f2bf26fc00ae4003b.jpg","text":"TemporaryFile(/tmp/multipartBody6698759535060649704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843373571,"filename":"image_10122025_14_49_25_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274504","file1":"1401274502","file0":"1401274500","file4":"1401274508","file5":"1401274509","file3":"1401274507"},"map_files_photo_id_array":[{"photo_id":"1401274509","filename":"file5"},{"photo_id":"1401274504","filename":"file2"},{"photo_id":"1401274508","filename":"file4"},{"photo_id":"1401274502","filename":"file1"},{"photo_id":"1401274500","filename":"file0"},{"photo_id":"1401274507","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274504":["hashtag1","hashtag2"]},{"1401274509":["hashtag1","hashtag2"]},{"1401274500":["hashtag1","hashtag2"]},{"1401274508":["hashtag1","hashtag2"]},{"1401274502":["hashtag1","hashtag2"]},{"1401274507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274504, 1401274509, 1401274500, 1401274508, 1401274502, 1401274507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.103695154190063 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:49:16.855689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_45_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_34_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_24_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_15_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_48_05_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_54_9624.jpg', '/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_45_10696.jpg', '/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_34_9689.jpg', '/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_24_9687.jpg', '/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_15_9699.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_48_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_54_9624.jpg
/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_45_10696.jpg
/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_34_9689.jpg
/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_24_9687.jpg
/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_15_9699.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_48_05_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":["1401274518","1401274514","1401274511","1401274519","1401274510","1401274516"],"photo_ids_order":["1401274510","1401274511","1401274514","1401274516","1401274518","1401274519"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41c2de0a469ca14c2ca3f3d14ee91438.jpg","text":"TemporaryFile(/tmp/multipartBody40316007963987576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843417698,"filename":"image_10122025_14_48_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc4360f846658ed99817c85b783af6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6211488189597363355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843417698,"filename":"image_10122025_14_48_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/12/27/3ee59575407b9a9e338779a2ede25611.jpg","text":"TemporaryFile(/tmp/multipartBody1592033968404187032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843417698,"filename":"image_10122025_14_48_45_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66c33ae8679089af481fd11bfe30c414.jpg","text":"TemporaryFile(/tmp/multipartBody6835673951466566812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843417698,"filename":"image_10122025_14_48_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/549863761523881615a5fc3cacdf7cd6.jpg","text":"TemporaryFile(/tmp/multipartBody316436221718437664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843417698,"filename":"image_10122025_14_48_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/12/27/86a0c7329e451fe070b4817b9abe99c9.jpg","text":"TemporaryFile(/tmp/multipartBody1355610295707332703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843417698,"filename":"image_10122025_14_48_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274514","file1":"1401274511","file0":"1401274510","file4":"1401274518","file5":"1401274519","file3":"1401274516"},"map_files_photo_id_array":[{"photo_id":"1401274519","filename":"file5"},{"photo_id":"1401274514","filename":"file2"},{"photo_id":"1401274518","filename":"file4"},{"photo_id":"1401274511","filename":"file1"},{"photo_id":"1401274510","filename":"file0"},{"photo_id":"1401274516","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274518":["hashtag1","hashtag2"]},{"1401274514":["hashtag1","hashtag2"]},{"1401274511":["hashtag1","hashtag2"]},{"1401274519":["hashtag1","hashtag2"]},{"1401274510":["hashtag1","hashtag2"]},{"1401274516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274518, 1401274514, 1401274511, 1401274519, 1401274510, 1401274516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54609251022339 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:50:02.565898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg', '/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg
/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_10650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.82039475440979 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:50:16.963936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg', '/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg', '/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg
/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg
/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_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":["1401274536","1401274530","1401274533","1401274538","1401274540","1401274528"],"photo_ids_order":["1401274528","1401274530","1401274533","1401274536","1401274538","1401274540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fecd21d4e27298d4d39f9ce645842747.jpg","text":"TemporaryFile(/tmp/multipartBody9117290611043856104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843477793,"filename":"image_10122025_14_47_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/12/27/b7bfaabd6056ad767b5b6f8dfa6bad85.jpg","text":"TemporaryFile(/tmp/multipartBody5304244237715952320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843477793,"filename":"image_10122025_14_47_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14fbc6a3b73d2c2e51d266a219e2c048.jpg","text":"TemporaryFile(/tmp/multipartBody5904608027526658390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843477793,"filename":"image_10122025_14_47_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbc66280f2625b2a1f03f944bda004d2.jpg","text":"TemporaryFile(/tmp/multipartBody8774196341115308703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843477793,"filename":"image_10122025_14_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/12/27/7fb4ead89f7da9049ff5a41d6d2d735e.jpg","text":"TemporaryFile(/tmp/multipartBody7509040222530929458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843477793,"filename":"image_10122025_14_47_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/120bcf51590b6020d287eecfb61609bd.jpg","text":"TemporaryFile(/tmp/multipartBody342024363748655066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843477793,"filename":"image_10122025_14_47_54_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274533","file1":"1401274530","file0":"1401274528","file4":"1401274538","file5":"1401274540","file3":"1401274536"},"map_files_photo_id_array":[{"photo_id":"1401274540","filename":"file5"},{"photo_id":"1401274533","filename":"file2"},{"photo_id":"1401274538","filename":"file4"},{"photo_id":"1401274530","filename":"file1"},{"photo_id":"1401274528","filename":"file0"},{"photo_id":"1401274536","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274536":["hashtag1","hashtag2"]},{"1401274530":["hashtag1","hashtag2"]},{"1401274533":["hashtag1","hashtag2"]},{"1401274538":["hashtag1","hashtag2"]},{"1401274540":["hashtag1","hashtag2"]},{"1401274528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274536, 1401274530, 1401274533, 1401274538, 1401274540, 1401274528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.761319160461426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:51:02.900543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_54_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_45_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_24_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_46_05_10695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_54_9636.jpg', '/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_45_9637.jpg', '/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_35_10690.jpg', '/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_24_9679.jpg', '/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_15_9706.jpg', '/home/nano/Desktop/images/10122025/14/45/image_10122025_14_46_05_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_54_9636.jpg
/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_45_9637.jpg
/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_35_10690.jpg
/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_24_9679.jpg
/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_15_9706.jpg
/home/nano/Desktop/images/10122025/14/45/image_10122025_14_46_05_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274548","1401274551","1401274545","1401274544","1401274547","1401274546"],"photo_ids_order":["1401274544","1401274545","1401274546","1401274547","1401274548","1401274551"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/176c49a17d08a6d4997e4ba249d4cee0.jpg","text":"TemporaryFile(/tmp/multipartBody8812504647098335458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843523757,"filename":"image_10122025_14_46_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fb8d83fbaf8fd729330fb9ac11220c7.jpg","text":"TemporaryFile(/tmp/multipartBody7191319252184800449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843523757,"filename":"image_10122025_14_46_05_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3acdb930cb409503774ca9139177032a.jpg","text":"TemporaryFile(/tmp/multipartBody8791225996730235083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843523757,"filename":"image_10122025_14_46_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03d8af107505a20f33562a67e1863c68.jpg","text":"TemporaryFile(/tmp/multipartBody403084860035822974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843523757,"filename":"image_10122025_14_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/12/27/acded9ff0860608bc822e8c5a9782a3c.jpg","text":"TemporaryFile(/tmp/multipartBody357992634548197850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843523757,"filename":"image_10122025_14_46_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/12/27/93fd9d4d0c976cc800ba18461df94a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6754335526156717557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843523757,"filename":"image_10122025_14_46_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274546","file1":"1401274545","file0":"1401274544","file4":"1401274548","file5":"1401274551","file3":"1401274547"},"map_files_photo_id_array":[{"photo_id":"1401274551","filename":"file5"},{"photo_id":"1401274546","filename":"file2"},{"photo_id":"1401274548","filename":"file4"},{"photo_id":"1401274545","filename":"file1"},{"photo_id":"1401274544","filename":"file0"},{"photo_id":"1401274547","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274548":["hashtag1","hashtag2"]},{"1401274551":["hashtag1","hashtag2"]},{"1401274545":["hashtag1","hashtag2"]},{"1401274544":["hashtag1","hashtag2"]},{"1401274547":["hashtag1","hashtag2"]},{"1401274546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274548, 1401274551, 1401274545, 1401274544, 1401274547, 1401274546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47155499458313 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:51:47.044830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_44_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_24_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_45_05_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_55_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_35_9678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_44_9681.jpg', '/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_24_9678.jpg', '/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_14_9684.jpg', '/home/nano/Desktop/images/10122025/14/44/image_10122025_14_45_05_9695.jpg', '/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_55_10690.jpg', '/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_35_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_44_9681.jpg
/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_24_9678.jpg
/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_14_9684.jpg
/home/nano/Desktop/images/10122025/14/44/image_10122025_14_45_05_9695.jpg
/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_55_10690.jpg
/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_35_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":["1401274560","1401274557","1401274562","1401274559","1401274561","1401274558"],"photo_ids_order":["1401274557","1401274558","1401274559","1401274560","1401274561","1401274562"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4cee53153bcb24f34cb70cf14b34ae47.jpg","text":"TemporaryFile(/tmp/multipartBody2780293061975297860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843567886,"filename":"image_10122025_14_45_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4144fce8c9927306888ce6cfc4b98db.jpg","text":"TemporaryFile(/tmp/multipartBody8506748486608178087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843567886,"filename":"image_10122025_14_45_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/12/27/d252e880cee6a67d83e572108f88b7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2206290809016144465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843567886,"filename":"image_10122025_14_44_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a015f1522e33f1e3234fe9f67a379c97.jpg","text":"TemporaryFile(/tmp/multipartBody3404509479984730510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843567886,"filename":"image_10122025_14_45_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/12/27/7ebdb0e8b69db88de51cef0d6c554bf9.jpg","text":"TemporaryFile(/tmp/multipartBody3699728458865750074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843567886,"filename":"image_10122025_14_44_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ec69dfc62e4d52ab60d0a57cfd8f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody3248266392628444735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843567886,"filename":"image_10122025_14_45_24_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274559","file1":"1401274558","file0":"1401274557","file4":"1401274561","file5":"1401274562","file3":"1401274560"},"map_files_photo_id_array":[{"photo_id":"1401274562","filename":"file5"},{"photo_id":"1401274559","filename":"file2"},{"photo_id":"1401274561","filename":"file4"},{"photo_id":"1401274558","filename":"file1"},{"photo_id":"1401274557","filename":"file0"},{"photo_id":"1401274560","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274560":["hashtag1","hashtag2"]},{"1401274557":["hashtag1","hashtag2"]},{"1401274562":["hashtag1","hashtag2"]},{"1401274559":["hashtag1","hashtag2"]},{"1401274561":["hashtag1","hashtag2"]},{"1401274558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274560, 1401274557, 1401274562, 1401274559, 1401274561, 1401274558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.656349658966064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:52:32.165420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_25_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_44_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_35_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_25_10687.jpg', '/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_14_9611.jpg', '/home/nano/Desktop/images/10122025/14/43/image_10122025_14_44_05_10612.jpg', '/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_54_9595.jpg', '/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_44_9607.jpg', '/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_35_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_25_10687.jpg
/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_14_9611.jpg
/home/nano/Desktop/images/10122025/14/43/image_10122025_14_44_05_10612.jpg
/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_54_9595.jpg
/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_44_9607.jpg
/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_35_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":["1401274569","1401274577","1401274571","1401274574","1401274568","1401274576"],"photo_ids_order":["1401274568","1401274569","1401274571","1401274574","1401274576","1401274577"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67a95d90600f6e8698b28c7f34da0e24.jpg","text":"TemporaryFile(/tmp/multipartBody117045843427189425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843612981,"filename":"image_10122025_14_44_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/12/27/70787df828aa5e37b786beb0998f812d.jpg","text":"TemporaryFile(/tmp/multipartBody526391722028335885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843612981,"filename":"image_10122025_14_43_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e66c0a1e4ad01fd27fc8614678e416b.jpg","text":"TemporaryFile(/tmp/multipartBody9103690773327505841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843612981,"filename":"image_10122025_14_44_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67bdc294fecf78e5f032ce4af6f49246.jpg","text":"TemporaryFile(/tmp/multipartBody443462399949476729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843612981,"filename":"image_10122025_14_43_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/12/27/b24f5fbecdb6eb7c688ec36240b6abe4.jpg","text":"TemporaryFile(/tmp/multipartBody2050757609938728794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843612981,"filename":"image_10122025_14_44_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c18a25b2560a1db712310acd7f0f815d.jpg","text":"TemporaryFile(/tmp/multipartBody1696244417161473632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843612981,"filename":"image_10122025_14_43_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274571","file1":"1401274569","file0":"1401274568","file4":"1401274576","file5":"1401274577","file3":"1401274574"},"map_files_photo_id_array":[{"photo_id":"1401274577","filename":"file5"},{"photo_id":"1401274571","filename":"file2"},{"photo_id":"1401274576","filename":"file4"},{"photo_id":"1401274569","filename":"file1"},{"photo_id":"1401274568","filename":"file0"},{"photo_id":"1401274574","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274569":["hashtag1","hashtag2"]},{"1401274577":["hashtag1","hashtag2"]},{"1401274571":["hashtag1","hashtag2"]},{"1401274574":["hashtag1","hashtag2"]},{"1401274568":["hashtag1","hashtag2"]},{"1401274576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274569, 1401274577, 1401274571, 1401274574, 1401274568, 1401274576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24598526954651 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:53:17.265065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_24_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_43_05_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_54_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_34_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_24_9591.jpg', '/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_15_9611.jpg', '/home/nano/Desktop/images/10122025/14/42/image_10122025_14_43_05_10615.jpg', '/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_54_9593.jpg', '/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_45_10603.jpg', '/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_34_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_24_9591.jpg
/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_15_9611.jpg
/home/nano/Desktop/images/10122025/14/42/image_10122025_14_43_05_10615.jpg
/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_54_9593.jpg
/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_45_10603.jpg
/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_34_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":["1401274581","1401274583","1401274586","1401274585","1401274579","1401274578"],"photo_ids_order":["1401274578","1401274579","1401274581","1401274583","1401274585","1401274586"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/138efa4230e504c676e8096a4e444991.jpg","text":"TemporaryFile(/tmp/multipartBody372709485357057010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843658070,"filename":"image_10122025_14_43_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/516be13411d12cfb43e718306df2a435.jpg","text":"TemporaryFile(/tmp/multipartBody5649427045816265804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843658070,"filename":"image_10122025_14_42_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/12/27/675d5f18bf3239bcaf5703f10a402599.jpg","text":"TemporaryFile(/tmp/multipartBody8624125808811450397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843658070,"filename":"image_10122025_14_42_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/12/27/2bd996a67254ab877c126176bdb9a08b.jpg","text":"TemporaryFile(/tmp/multipartBody3548608775916187567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843658070,"filename":"image_10122025_14_42_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4caa180ef86e55cd1d6c0122a8c7fbe7.jpg","text":"TemporaryFile(/tmp/multipartBody2895937167026747382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843658070,"filename":"image_10122025_14_43_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccdb149d92dbd27b1df82c0a49921622.jpg","text":"TemporaryFile(/tmp/multipartBody3077568881419022605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843658070,"filename":"image_10122025_14_43_24_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274581","file1":"1401274579","file0":"1401274578","file4":"1401274585","file5":"1401274586","file3":"1401274583"},"map_files_photo_id_array":[{"photo_id":"1401274586","filename":"file5"},{"photo_id":"1401274581","filename":"file2"},{"photo_id":"1401274585","filename":"file4"},{"photo_id":"1401274579","filename":"file1"},{"photo_id":"1401274578","filename":"file0"},{"photo_id":"1401274583","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274581":["hashtag1","hashtag2"]},{"1401274583":["hashtag1","hashtag2"]},{"1401274586":["hashtag1","hashtag2"]},{"1401274585":["hashtag1","hashtag2"]},{"1401274579":["hashtag1","hashtag2"]},{"1401274578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274581, 1401274583, 1401274586, 1401274585, 1401274579, 1401274578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52091383934021 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:54:03.175992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_42_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_25_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_15_10626.jpg', '/home/nano/Desktop/images/10122025/14/41/image_10122025_14_42_04_9636.jpg', '/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_55_10624.jpg', '/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_44_9597.jpg', '/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_35_9603.jpg', '/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_25_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_15_10626.jpg
/home/nano/Desktop/images/10122025/14/41/image_10122025_14_42_04_9636.jpg
/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_55_10624.jpg
/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_44_9597.jpg
/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_35_9603.jpg
/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_25_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":["1401274593","1401274595","1401274592","1401274594","1401274597","1401274596"],"photo_ids_order":["1401274592","1401274593","1401274594","1401274595","1401274596","1401274597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a479e0573d7686226288fcf2c03d9998.jpg","text":"TemporaryFile(/tmp/multipartBody2877948095423776350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843703999,"filename":"image_10122025_14_42_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/12/27/cd6e488e397df3426f1d90c3b5dde0b2.jpg","text":"TemporaryFile(/tmp/multipartBody819827435427649108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843703999,"filename":"image_10122025_14_41_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/12/27/ebb16cfbd78928e16452957365ed78ca.jpg","text":"TemporaryFile(/tmp/multipartBody4262969159421487543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843703999,"filename":"image_10122025_14_42_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/514712171225651c119ba6b365911eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5562424579321114356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843703999,"filename":"image_10122025_14_41_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43e59d783a59714722eaff8e6bab7d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4966795841883691388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843703999,"filename":"image_10122025_14_41_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c0aa7f411fb4c8a64dfd15a3fb10bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2673689437905720488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843703999,"filename":"image_10122025_14_41_35_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274594","file1":"1401274593","file0":"1401274592","file4":"1401274596","file5":"1401274597","file3":"1401274595"},"map_files_photo_id_array":[{"photo_id":"1401274597","filename":"file5"},{"photo_id":"1401274594","filename":"file2"},{"photo_id":"1401274596","filename":"file4"},{"photo_id":"1401274593","filename":"file1"},{"photo_id":"1401274592","filename":"file0"},{"photo_id":"1401274595","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274593":["hashtag1","hashtag2"]},{"1401274595":["hashtag1","hashtag2"]},{"1401274592":["hashtag1","hashtag2"]},{"1401274594":["hashtag1","hashtag2"]},{"1401274597":["hashtag1","hashtag2"]},{"1401274596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274593, 1401274595, 1401274592, 1401274594, 1401274597, 1401274596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.234899044036865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:54:47.417724
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/14/53/image_27122025_14_54_04_9522.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/14/53/image_27122025_14_54_04_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/14/53/image_27122025_14_54_04_9522.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274605"],"photo_id":"1401274605","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/220ad46c056e83a1fea397b603ee6ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2916717475788786719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843747670,"filename":"image_27122025_14_54_04_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401274605"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401274605"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.358738660812378 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:55:03.241696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_41_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_45_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_24_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_14_9613.jpg', '/home/nano/Desktop/images/10122025/14/40/image_10122025_14_41_05_10632.jpg', '/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_54_9615.jpg', '/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_45_9597.jpg', '/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_35_10623.jpg', '/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_24_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_14_9613.jpg
/home/nano/Desktop/images/10122025/14/40/image_10122025_14_41_05_10632.jpg
/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_54_9615.jpg
/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_45_9597.jpg
/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_35_10623.jpg
/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_24_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274608","1401274613","1401274607","1401274610","1401274606","1401274609"],"photo_ids_order":["1401274606","1401274607","1401274608","1401274609","1401274610","1401274613"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b697eb5a4fc5af384b9a182479c203a.jpg","text":"TemporaryFile(/tmp/multipartBody8945602468147300349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843764122,"filename":"image_10122025_14_40_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/12/27/5bdb15c653399b70d3d8970b2686d433.jpg","text":"TemporaryFile(/tmp/multipartBody8577880660486935994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843764122,"filename":"image_10122025_14_40_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/12/27/545624ed27c8c6e1c536d39c949a9f04.jpg","text":"TemporaryFile(/tmp/multipartBody7629317049474537117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843764122,"filename":"image_10122025_14_41_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1e90ea9dc39455ec53e8b81156ac74c.jpg","text":"TemporaryFile(/tmp/multipartBody3389134059856806371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843764122,"filename":"image_10122025_14_40_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e77da37a91c06e558d2274bf5583f98b.jpg","text":"TemporaryFile(/tmp/multipartBody1669675925587249916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843764122,"filename":"image_10122025_14_41_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/12/27/3b19614236b93fbac02ae55c23f10c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6374085181949458640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843764122,"filename":"image_10122025_14_40_45_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274608","file1":"1401274607","file0":"1401274606","file4":"1401274610","file5":"1401274613","file3":"1401274609"},"map_files_photo_id_array":[{"photo_id":"1401274613","filename":"file5"},{"photo_id":"1401274608","filename":"file2"},{"photo_id":"1401274610","filename":"file4"},{"photo_id":"1401274607","filename":"file1"},{"photo_id":"1401274606","filename":"file0"},{"photo_id":"1401274609","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274608":["hashtag1","hashtag2"]},{"1401274613":["hashtag1","hashtag2"]},{"1401274607":["hashtag1","hashtag2"]},{"1401274610":["hashtag1","hashtag2"]},{"1401274606":["hashtag1","hashtag2"]},{"1401274609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274608, 1401274613, 1401274607, 1401274610, 1401274606, 1401274609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.552732706069946 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:55:47.504910
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_40_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_45_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_25_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_15_9614.jpg', '/home/nano/Desktop/images/10122025/14/39/image_10122025_14_40_05_10635.jpg', '/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_54_9596.jpg', '/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_45_10605.jpg', '/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_34_9593.jpg', '/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_25_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_15_9614.jpg
/home/nano/Desktop/images/10122025/14/39/image_10122025_14_40_05_10635.jpg
/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_54_9596.jpg
/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_45_10605.jpg
/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_34_9593.jpg
/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_25_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":["1401274623","1401274626","1401274625","1401274622","1401274624","1401274621"],"photo_ids_order":["1401274621","1401274622","1401274623","1401274624","1401274625","1401274626"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c34b632f4ccd97b5cc6e0ccfcf377047.jpg","text":"TemporaryFile(/tmp/multipartBody6700573355145319936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843808365,"filename":"image_10122025_14_39_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/12/27/53c24d28b01f1f61d6df98da1d5aace6.jpg","text":"TemporaryFile(/tmp/multipartBody4612604820950132717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843808365,"filename":"image_10122025_14_39_25_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3768f8c8b0be80e0e4123a1c8b4965e.jpg","text":"TemporaryFile(/tmp/multipartBody8736203906578861962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843808365,"filename":"image_10122025_14_39_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/12/27/41ab08b3b939782084ab6c56c92f5e61.jpg","text":"TemporaryFile(/tmp/multipartBody447402629495300020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843808365,"filename":"image_10122025_14_40_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fde9fdc67a24acdcc11f58ca68062e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7981201540911284555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843808365,"filename":"image_10122025_14_39_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ea151199c60c519183cb3fe874c5c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1942782397447443674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843808365,"filename":"image_10122025_14_40_15_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274623","file1":"1401274622","file0":"1401274621","file4":"1401274625","file5":"1401274626","file3":"1401274624"},"map_files_photo_id_array":[{"photo_id":"1401274626","filename":"file5"},{"photo_id":"1401274623","filename":"file2"},{"photo_id":"1401274625","filename":"file4"},{"photo_id":"1401274622","filename":"file1"},{"photo_id":"1401274621","filename":"file0"},{"photo_id":"1401274624","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274623":["hashtag1","hashtag2"]},{"1401274626":["hashtag1","hashtag2"]},{"1401274625":["hashtag1","hashtag2"]},{"1401274622":["hashtag1","hashtag2"]},{"1401274624":["hashtag1","hashtag2"]},{"1401274621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274623, 1401274626, 1401274625, 1401274622, 1401274624, 1401274621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.858100175857544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:56:32.635838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_39_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_55_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_25_10603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_15_10649.jpg', '/home/nano/Desktop/images/10122025/14/38/image_10122025_14_39_04_9600.jpg', '/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_55_10603.jpg', '/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_44_9594.jpg', '/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_35_9598.jpg', '/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_25_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_15_10649.jpg
/home/nano/Desktop/images/10122025/14/38/image_10122025_14_39_04_9600.jpg
/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_55_10603.jpg
/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_44_9594.jpg
/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_35_9598.jpg
/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_25_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274638","1401274632","1401274634","1401274637","1401274636","1401274639"],"photo_ids_order":["1401274632","1401274634","1401274636","1401274637","1401274638","1401274639"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c58626315b670303dc6db5753de90086.jpg","text":"TemporaryFile(/tmp/multipartBody5271452061672415451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843853448,"filename":"image_10122025_14_38_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38c059fc18950bd8aa882054fa2e0f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6141320028510153641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843853448,"filename":"image_10122025_14_39_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/437a3f1886c18bc4cf4e7a03351ef09e.jpg","text":"TemporaryFile(/tmp/multipartBody3859406776631581491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843853448,"filename":"image_10122025_14_39_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/12/27/0eec00b22c658d96fe7da3425aa298c5.jpg","text":"TemporaryFile(/tmp/multipartBody6867503564345253557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843853448,"filename":"image_10122025_14_38_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82f856d96376528992e851d3108d490e.jpg","text":"TemporaryFile(/tmp/multipartBody2631373015880412386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843853448,"filename":"image_10122025_14_38_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/602b0a44ea9904e95e35d19d1611e9f3.jpg","text":"TemporaryFile(/tmp/multipartBody1029780158147403976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843853448,"filename":"image_10122025_14_38_25_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274636","file1":"1401274634","file0":"1401274632","file4":"1401274638","file5":"1401274639","file3":"1401274637"},"map_files_photo_id_array":[{"photo_id":"1401274639","filename":"file5"},{"photo_id":"1401274636","filename":"file2"},{"photo_id":"1401274638","filename":"file4"},{"photo_id":"1401274634","filename":"file1"},{"photo_id":"1401274632","filename":"file0"},{"photo_id":"1401274637","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274638":["hashtag1","hashtag2"]},{"1401274632":["hashtag1","hashtag2"]},{"1401274634":["hashtag1","hashtag2"]},{"1401274637":["hashtag1","hashtag2"]},{"1401274636":["hashtag1","hashtag2"]},{"1401274639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274638, 1401274632, 1401274634, 1401274637, 1401274636, 1401274639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49270796775818 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:57:17.693809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_38_05_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_24_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_14_9607.jpg', '/home/nano/Desktop/images/10122025/14/37/image_10122025_14_38_05_10605.jpg', '/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_54_9598.jpg', '/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_45_9594.jpg', '/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_35_10608.jpg', '/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_24_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_14_9607.jpg
/home/nano/Desktop/images/10122025/14/37/image_10122025_14_38_05_10605.jpg
/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_54_9598.jpg
/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_45_9594.jpg
/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_35_10608.jpg
/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_24_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274641","1401274650","1401274644","1401274646","1401274640","1401274648"],"photo_ids_order":["1401274640","1401274641","1401274644","1401274646","1401274648","1401274650"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fdb74cff8caf2306a81f3633a16e159.jpg","text":"TemporaryFile(/tmp/multipartBody2636648518112531476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843898475,"filename":"image_10122025_14_38_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a108970c175dddab7e8b6ca00ef234ca.jpg","text":"TemporaryFile(/tmp/multipartBody49747580561465327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843898475,"filename":"image_10122025_14_37_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/12/27/9ba5355f84bfa27090adc3034785f7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2219280394406303742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843898475,"filename":"image_10122025_14_37_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/764495fe01659a631234dd77e2d9d5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8923809865492886232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843898475,"filename":"image_10122025_14_37_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd41fc92f58f98bb0bc2db6f9f13182d.jpg","text":"TemporaryFile(/tmp/multipartBody8626167375048772581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843898475,"filename":"image_10122025_14_38_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76ed28d59b8385713cc9a5fe5997d510.jpg","text":"TemporaryFile(/tmp/multipartBody3049435884913802612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843898475,"filename":"image_10122025_14_37_35_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274644","file1":"1401274641","file0":"1401274640","file4":"1401274648","file5":"1401274650","file3":"1401274646"},"map_files_photo_id_array":[{"photo_id":"1401274650","filename":"file5"},{"photo_id":"1401274644","filename":"file2"},{"photo_id":"1401274648","filename":"file4"},{"photo_id":"1401274641","filename":"file1"},{"photo_id":"1401274640","filename":"file0"},{"photo_id":"1401274646","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274641":["hashtag1","hashtag2"]},{"1401274650":["hashtag1","hashtag2"]},{"1401274644":["hashtag1","hashtag2"]},{"1401274646":["hashtag1","hashtag2"]},{"1401274640":["hashtag1","hashtag2"]},{"1401274648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274641, 1401274650, 1401274644, 1401274646, 1401274640, 1401274648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.638322114944458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:58:02.243062
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_37_04_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_55_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_25_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_15_10624.jpg', '/home/nano/Desktop/images/10122025/14/36/image_10122025_14_37_04_9596.jpg', '/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_55_9595.jpg', '/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_45_10607.jpg', '/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_34_9609.jpg', '/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_15_10624.jpg
/home/nano/Desktop/images/10122025/14/36/image_10122025_14_37_04_9596.jpg
/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_55_9595.jpg
/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_45_10607.jpg
/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_34_9609.jpg
/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_25_10627.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401274659","1401274656","1401274658","1401274655","1401274660","1401274657"],"photo_ids_order":["1401274655","1401274656","1401274657","1401274658","1401274659","1401274660"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74b6f8e1451d7cb9178547f1f29f4fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8178098225612530047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843943040,"filename":"image_10122025_14_36_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/12/27/b74c13e5153e3de9a61e8b35c10bac45.jpg","text":"TemporaryFile(/tmp/multipartBody5948300450815358403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843943040,"filename":"image_10122025_14_37_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd9b0bf92ef4085123432b8a868ac975.jpg","text":"TemporaryFile(/tmp/multipartBody3975848019621480051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843943040,"filename":"image_10122025_14_36_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fa9debdd835ff75c58c2e7b74b151ce4.jpg","text":"TemporaryFile(/tmp/multipartBody4794456735934792536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843943040,"filename":"image_10122025_14_37_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d986299d50d523bf07049d29674f699.jpg","text":"TemporaryFile(/tmp/multipartBody5095679188223492976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843943040,"filename":"image_10122025_14_36_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d022eb4279e3b4f13340ba2015926f99.jpg","text":"TemporaryFile(/tmp/multipartBody5118057220130763259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766843943040,"filename":"image_10122025_14_36_55_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274657","file1":"1401274656","file0":"1401274655","file4":"1401274659","file5":"1401274660","file3":"1401274658"},"map_files_photo_id_array":[{"photo_id":"1401274660","filename":"file5"},{"photo_id":"1401274657","filename":"file2"},{"photo_id":"1401274659","filename":"file4"},{"photo_id":"1401274656","filename":"file1"},{"photo_id":"1401274655","filename":"file0"},{"photo_id":"1401274658","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274659":["hashtag1","hashtag2"]},{"1401274656":["hashtag1","hashtag2"]},{"1401274658":["hashtag1","hashtag2"]},{"1401274655":["hashtag1","hashtag2"]},{"1401274660":["hashtag1","hashtag2"]},{"1401274657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274659, 1401274656, 1401274658, 1401274655, 1401274660, 1401274657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.587768077850342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:59:02.950892
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_36_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_25_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_14_9631.jpg', '/home/nano/Desktop/images/10122025/14/35/image_10122025_14_36_05_9604.jpg', '/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_55_10606.jpg', '/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_44_9600.jpg', '/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_35_9603.jpg', '/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_25_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_14_9631.jpg
/home/nano/Desktop/images/10122025/14/35/image_10122025_14_36_05_9604.jpg
/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_55_10606.jpg
/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_44_9600.jpg
/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_35_9603.jpg
/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_25_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":["1401274665","1401274674","1401274676","1401274672","1401274669","1401274663"],"photo_ids_order":["1401274663","1401274665","1401274669","1401274672","1401274674","1401274676"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6ba97b18dd63bf0a7859e45d38912b6.jpg","text":"TemporaryFile(/tmp/multipartBody7023902132276366717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844003814,"filename":"image_10122025_14_36_05_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0bcbd957dbdb4ba16653b840936157e8.jpg","text":"TemporaryFile(/tmp/multipartBody1636274390844533501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844003814,"filename":"image_10122025_14_35_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2436819213da1ea0c67d353ad8634b9.jpg","text":"TemporaryFile(/tmp/multipartBody8371795702425812732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844003814,"filename":"image_10122025_14_35_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f25c10f5d94d269d5d9264b6f763ccac.jpg","text":"TemporaryFile(/tmp/multipartBody7267805303580305933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844003814,"filename":"image_10122025_14_35_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/12/27/7c366ec7b0108aaa071b70e7d5dffe50.jpg","text":"TemporaryFile(/tmp/multipartBody8523615373646981434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844003814,"filename":"image_10122025_14_35_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa69d58d0642fa17cf0e99dcabbd13db.jpg","text":"TemporaryFile(/tmp/multipartBody7415105354014626631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844003814,"filename":"image_10122025_14_36_14_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274669","file1":"1401274665","file0":"1401274663","file4":"1401274674","file5":"1401274676","file3":"1401274672"},"map_files_photo_id_array":[{"photo_id":"1401274676","filename":"file5"},{"photo_id":"1401274669","filename":"file2"},{"photo_id":"1401274674","filename":"file4"},{"photo_id":"1401274665","filename":"file1"},{"photo_id":"1401274663","filename":"file0"},{"photo_id":"1401274672","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274665":["hashtag1","hashtag2"]},{"1401274674":["hashtag1","hashtag2"]},{"1401274676":["hashtag1","hashtag2"]},{"1401274672":["hashtag1","hashtag2"]},{"1401274669":["hashtag1","hashtag2"]},{"1401274663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274665, 1401274674, 1401274676, 1401274672, 1401274669, 1401274663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.810354709625244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 14:59:46.914684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_35_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_24_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_14_9621.jpg', '/home/nano/Desktop/images/10122025/14/34/image_10122025_14_35_05_10643.jpg', '/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_54_9604.jpg', '/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_45_9608.jpg', '/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_35_10612.jpg', '/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_24_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_14_9621.jpg
/home/nano/Desktop/images/10122025/14/34/image_10122025_14_35_05_10643.jpg
/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_54_9604.jpg
/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_45_9608.jpg
/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_35_10612.jpg
/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_24_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":["1401274702","1401274686","1401274769","1401274682","1401274733","1401274684"],"photo_ids_order":["1401274682","1401274684","1401274686","1401274702","1401274733","1401274769"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6ed44e4781257c138b055cd4e73d25e.jpg","text":"TemporaryFile(/tmp/multipartBody6354225994827676279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844047721,"filename":"image_10122025_14_34_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5b0fca0bf484846e8e49e98c9fab687.jpg","text":"TemporaryFile(/tmp/multipartBody3672092036316811495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844047721,"filename":"image_10122025_14_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/12/27/6b9e57f85533951e74e43322d2f94021.jpg","text":"TemporaryFile(/tmp/multipartBody6990196997383534326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844047721,"filename":"image_10122025_14_34_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/12/27/de457e6a9096f70e2166ce8e0d458650.jpg","text":"TemporaryFile(/tmp/multipartBody8345054555721417527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844047721,"filename":"image_10122025_14_35_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ebbfcea0fe595025c0b5ef623ea38bf.jpg","text":"TemporaryFile(/tmp/multipartBody4498991053874776321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844047721,"filename":"image_10122025_14_34_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1ea031fe7e675813dfcfe0ad746e672.jpg","text":"TemporaryFile(/tmp/multipartBody836934849599882395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844047721,"filename":"image_10122025_14_35_05_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401274686","file1":"1401274684","file0":"1401274682","file4":"1401274733","file5":"1401274769","file3":"1401274702"},"map_files_photo_id_array":[{"photo_id":"1401274769","filename":"file5"},{"photo_id":"1401274686","filename":"file2"},{"photo_id":"1401274733","filename":"file4"},{"photo_id":"1401274684","filename":"file1"},{"photo_id":"1401274682","filename":"file0"},{"photo_id":"1401274702","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401274702":["hashtag1","hashtag2"]},{"1401274686":["hashtag1","hashtag2"]},{"1401274769":["hashtag1","hashtag2"]},{"1401274682":["hashtag1","hashtag2"]},{"1401274733":["hashtag1","hashtag2"]},{"1401274684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401274702, 1401274686, 1401274769, 1401274682, 1401274733, 1401274684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02067255973816 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:00:32.012615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_34_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_25_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_15_10631.jpg', '/home/nano/Desktop/images/10122025/14/33/image_10122025_14_34_04_9605.jpg', '/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_55_9607.jpg', '/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_45_10632.jpg', '/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_34_9605.jpg', '/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_25_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_15_10631.jpg
/home/nano/Desktop/images/10122025/14/33/image_10122025_14_34_04_9605.jpg
/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_55_9607.jpg
/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_45_10632.jpg
/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_34_9605.jpg
/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_25_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":["1401275075","1401275135","1401275032","1401274999","1401274966","1401275199"],"photo_ids_order":["1401274966","1401274999","1401275032","1401275075","1401275135","1401275199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ef7f6433ee7188c8f9613187c0817f4.jpg","text":"TemporaryFile(/tmp/multipartBody7293538182312524228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844092812,"filename":"image_10122025_14_33_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78710fa2b7927f81f82a68f48bb8387f.jpg","text":"TemporaryFile(/tmp/multipartBody6347888277448601388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844092812,"filename":"image_10122025_14_33_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/12/27/2355b412a3cc5f200f3f52c68a3966b8.jpg","text":"TemporaryFile(/tmp/multipartBody8765917170748379409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844092812,"filename":"image_10122025_14_33_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efeabadc83e87a62ac444da73df80572.jpg","text":"TemporaryFile(/tmp/multipartBody3344478912544898101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844092812,"filename":"image_10122025_14_34_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/12/27/d49444b6526c91733d9e402a8c0fd303.jpg","text":"TemporaryFile(/tmp/multipartBody6797818579744183304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844092812,"filename":"image_10122025_14_34_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e67215092dd93505865574a9af89d85a.jpg","text":"TemporaryFile(/tmp/multipartBody8488272873613383387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844092812,"filename":"image_10122025_14_33_25_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401275032","file1":"1401274999","file0":"1401274966","file4":"1401275135","file5":"1401275199","file3":"1401275075"},"map_files_photo_id_array":[{"photo_id":"1401275199","filename":"file5"},{"photo_id":"1401275032","filename":"file2"},{"photo_id":"1401275135","filename":"file4"},{"photo_id":"1401274999","filename":"file1"},{"photo_id":"1401274966","filename":"file0"},{"photo_id":"1401275075","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401275075":["hashtag1","hashtag2"]},{"1401275135":["hashtag1","hashtag2"]},{"1401275032":["hashtag1","hashtag2"]},{"1401274999":["hashtag1","hashtag2"]},{"1401274966":["hashtag1","hashtag2"]},{"1401275199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401275075, 1401275135, 1401275032, 1401274999, 1401274966, 1401275199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10544204711914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:01:17.179655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_25_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_15_10633.jpg', '/home/nano/Desktop/images/10122025/14/32/image_10122025_14_33_04_9632.jpg', '/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_55_10615.jpg', '/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_44_9607.jpg', '/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_35_9621.jpg', '/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_25_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_15_10633.jpg
/home/nano/Desktop/images/10122025/14/32/image_10122025_14_33_04_9632.jpg
/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_55_10615.jpg
/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_44_9607.jpg
/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_35_9621.jpg
/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_25_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":["1401276182","1401276009","1401275925","1401276100","1401276270","1401276234"],"photo_ids_order":["1401275925","1401276009","1401276100","1401276182","1401276234","1401276270"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76e24447e7427d5fa06a373224b6ab76.jpg","text":"TemporaryFile(/tmp/multipartBody74646094602237974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844137986,"filename":"image_10122025_14_32_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/12/27/7942232dbaf2280509a4c4716d3601ec.jpg","text":"TemporaryFile(/tmp/multipartBody354329921118086935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844137986,"filename":"image_10122025_14_33_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/12/27/04bc159ac6276028236cbc2a3a4aa811.jpg","text":"TemporaryFile(/tmp/multipartBody1395429686310462819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844137986,"filename":"image_10122025_14_33_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/563eeba7a214880e9ef632618c726090.jpg","text":"TemporaryFile(/tmp/multipartBody4746096512091419183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844137986,"filename":"image_10122025_14_32_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53594096aad47e08ba990adc66c8e350.jpg","text":"TemporaryFile(/tmp/multipartBody2453686211794745538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844137986,"filename":"image_10122025_14_32_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2fe850189c79c847be3192c970f0d779.jpg","text":"TemporaryFile(/tmp/multipartBody6256511428952861492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844137986,"filename":"image_10122025_14_32_35_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401276100","file1":"1401276009","file0":"1401275925","file4":"1401276234","file5":"1401276270","file3":"1401276182"},"map_files_photo_id_array":[{"photo_id":"1401276270","filename":"file5"},{"photo_id":"1401276100","filename":"file2"},{"photo_id":"1401276234","filename":"file4"},{"photo_id":"1401276009","filename":"file1"},{"photo_id":"1401275925","filename":"file0"},{"photo_id":"1401276182","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401276182":["hashtag1","hashtag2"]},{"1401276009":["hashtag1","hashtag2"]},{"1401275925":["hashtag1","hashtag2"]},{"1401276100":["hashtag1","hashtag2"]},{"1401276270":["hashtag1","hashtag2"]},{"1401276234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401276182, 1401276009, 1401275925, 1401276100, 1401276270, 1401276234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69998025894165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:02:02.572981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_32_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_14_9627.jpg', '/home/nano/Desktop/images/10122025/14/31/image_10122025_14_32_05_10619.jpg', '/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_54_9603.jpg', '/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_45_9605.jpg', '/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_35_10616.jpg', '/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_14_9627.jpg
/home/nano/Desktop/images/10122025/14/31/image_10122025_14_32_05_10619.jpg
/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_54_9603.jpg
/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_45_9605.jpg
/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_35_10616.jpg
/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_24_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":["1401276898","1401276704","1401276905","1401276805","1401276939","1401276881"],"photo_ids_order":["1401276704","1401276805","1401276881","1401276898","1401276905","1401276939"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a43d4e18b85d663c8e7a39025f66e60f.jpg","text":"TemporaryFile(/tmp/multipartBody137267061372672121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844183388,"filename":"image_10122025_14_31_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d3d16b9594684fa3d7dc8e2d4ba66de.jpg","text":"TemporaryFile(/tmp/multipartBody6616351000961758657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844183388,"filename":"image_10122025_14_32_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/12/27/2043cd81b212edae5367df123aac1388.jpg","text":"TemporaryFile(/tmp/multipartBody7203966471133249303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844183388,"filename":"image_10122025_14_31_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e59a23ff9fd504a9653fdb5c934e4b15.jpg","text":"TemporaryFile(/tmp/multipartBody5058477729196313508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844183388,"filename":"image_10122025_14_32_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/159250ea65c5215cce7a1e0eaf7f10f2.jpg","text":"TemporaryFile(/tmp/multipartBody1942081339214028529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844183388,"filename":"image_10122025_14_31_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/12/27/cd212b7681f78862ecc7ce2f278a56f3.jpg","text":"TemporaryFile(/tmp/multipartBody1990180879384262474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844183388,"filename":"image_10122025_14_31_54_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401276881","file1":"1401276805","file0":"1401276704","file4":"1401276905","file5":"1401276939","file3":"1401276898"},"map_files_photo_id_array":[{"photo_id":"1401276939","filename":"file5"},{"photo_id":"1401276881","filename":"file2"},{"photo_id":"1401276905","filename":"file4"},{"photo_id":"1401276805","filename":"file1"},{"photo_id":"1401276704","filename":"file0"},{"photo_id":"1401276898","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401276898":["hashtag1","hashtag2"]},{"1401276704":["hashtag1","hashtag2"]},{"1401276905":["hashtag1","hashtag2"]},{"1401276805":["hashtag1","hashtag2"]},{"1401276939":["hashtag1","hashtag2"]},{"1401276881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401276898, 1401276704, 1401276905, 1401276805, 1401276939, 1401276881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7607319355011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:02:47.234744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_31_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_25_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_15_9614.jpg', '/home/nano/Desktop/images/10122025/14/30/image_10122025_14_31_05_10633.jpg', '/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_54_9622.jpg', '/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_45_10631.jpg', '/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_34_9607.jpg', '/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_25_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_15_9614.jpg
/home/nano/Desktop/images/10122025/14/30/image_10122025_14_31_05_10633.jpg
/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_54_9622.jpg
/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_45_10631.jpg
/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_34_9607.jpg
/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_25_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":["1401277226","1401277228","1401277216","1401277225","1401277227","1401277175"],"photo_ids_order":["1401277175","1401277216","1401277225","1401277226","1401277227","1401277228"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e29e2a6cbe0f76de32eb10d1a9e38d8.jpg","text":"TemporaryFile(/tmp/multipartBody4130752917620828921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844228032,"filename":"image_10122025_14_30_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d356af09748d43e2749a1f9b5764dbd8.jpg","text":"TemporaryFile(/tmp/multipartBody4247840269640582892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844228032,"filename":"image_10122025_14_30_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b762eb2988b6e216e6dae2e734ff11d9.jpg","text":"TemporaryFile(/tmp/multipartBody7821017141731933541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844228032,"filename":"image_10122025_14_31_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47e57e148707b84954309f3630c032dc.jpg","text":"TemporaryFile(/tmp/multipartBody8311794673677244226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844228032,"filename":"image_10122025_14_30_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/12/27/50b308a641aa8f9eb1dde5545c618156.jpg","text":"TemporaryFile(/tmp/multipartBody5543149755463220156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844228032,"filename":"image_10122025_14_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/12/27/3fa5f9875d675f196c0a7e3990832d31.jpg","text":"TemporaryFile(/tmp/multipartBody1717907768340154953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844228032,"filename":"image_10122025_14_31_15_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401277225","file1":"1401277216","file0":"1401277175","file4":"1401277227","file5":"1401277228","file3":"1401277226"},"map_files_photo_id_array":[{"photo_id":"1401277228","filename":"file5"},{"photo_id":"1401277225","filename":"file2"},{"photo_id":"1401277227","filename":"file4"},{"photo_id":"1401277216","filename":"file1"},{"photo_id":"1401277175","filename":"file0"},{"photo_id":"1401277226","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401277226":["hashtag1","hashtag2"]},{"1401277228":["hashtag1","hashtag2"]},{"1401277216":["hashtag1","hashtag2"]},{"1401277225":["hashtag1","hashtag2"]},{"1401277227":["hashtag1","hashtag2"]},{"1401277175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401277226, 1401277228, 1401277216, 1401277225, 1401277227, 1401277175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10813927650452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:03:32.339222
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/15/03/image_27122025_15_03_14_9534.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/15/03/image_27122025_15_03_14_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/15/03/image_27122025_15_03_14_9534.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401277470"],"photo_id":"1401277470","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1fb00e1fa0f8bd4595f6b850f6f7297.jpg","text":"TemporaryFile(/tmp/multipartBody8545406457651582227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844272579,"filename":"image_27122025_15_03_14_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401277470"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401277470"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.951039552688599 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:03:47.355556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_30_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_14_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_15_10628.jpg', '/home/nano/Desktop/images/10122025/14/29/image_10122025_14_30_04_9612.jpg', '/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_55_10615.jpg', '/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_44_9606.jpg', '/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_35_9603.jpg', '/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_15_10628.jpg
/home/nano/Desktop/images/10122025/14/29/image_10122025_14_30_04_9612.jpg
/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_55_10615.jpg
/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_44_9606.jpg
/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_35_9603.jpg
/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_14_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":["1401277511","1401277543","1401277546","1401277545","1401277544","1401277547"],"photo_ids_order":["1401277511","1401277543","1401277544","1401277545","1401277546","1401277547"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5dc3d088b031f2091eba96eb0b3ef08.jpg","text":"TemporaryFile(/tmp/multipartBody1869662020233169166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844288172,"filename":"image_10122025_14_30_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37ceaba4232ecfddcab418d277c344dc.jpg","text":"TemporaryFile(/tmp/multipartBody5982245650822027942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844288172,"filename":"image_10122025_14_30_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/12/27/bfb8ef872cea6faea77c2f0dcaba56f8.jpg","text":"TemporaryFile(/tmp/multipartBody6739979598317603416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844288172,"filename":"image_10122025_14_29_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff502cfc2dbc90c30166d61aa0acbd67.jpg","text":"TemporaryFile(/tmp/multipartBody7927505081915918366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844288172,"filename":"image_10122025_14_29_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/12/27/6bd8a6dd246a8dbbd8b62a1ec269a7fa.jpg","text":"TemporaryFile(/tmp/multipartBody4362385087608939367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844288172,"filename":"image_10122025_14_29_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ac3236ff086bef6d8e07be1fec6981f.jpg","text":"TemporaryFile(/tmp/multipartBody2849848327999363023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844288172,"filename":"image_10122025_14_29_14_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401277544","file1":"1401277543","file0":"1401277511","file4":"1401277546","file5":"1401277547","file3":"1401277545"},"map_files_photo_id_array":[{"photo_id":"1401277547","filename":"file5"},{"photo_id":"1401277544","filename":"file2"},{"photo_id":"1401277546","filename":"file4"},{"photo_id":"1401277543","filename":"file1"},{"photo_id":"1401277511","filename":"file0"},{"photo_id":"1401277545","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401277511":["hashtag1","hashtag2"]},{"1401277543":["hashtag1","hashtag2"]},{"1401277546":["hashtag1","hashtag2"]},{"1401277545":["hashtag1","hashtag2"]},{"1401277544":["hashtag1","hashtag2"]},{"1401277547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401277511, 1401277543, 1401277546, 1401277545, 1401277544, 1401277547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60036659240723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:04:32.462190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_29_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_15_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/28/image_10122025_14_29_05_9618.jpg', '/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_55_10630.jpg', '/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_44_9603.jpg', '/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_35_10612.jpg', '/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_24_9602.jpg', '/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_15_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/28/image_10122025_14_29_05_9618.jpg
/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_55_10630.jpg
/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_44_9603.jpg
/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_35_10612.jpg
/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_24_9602.jpg
/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_15_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":["1401277576","1401277579","1401277578","1401277575","1401277557","1401277562"],"photo_ids_order":["1401277557","1401277562","1401277575","1401277576","1401277578","1401277579"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cf7a3d6bc3cce172b95465d5eaea03b.jpg","text":"TemporaryFile(/tmp/multipartBody2226583823745795090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844333269,"filename":"image_10122025_14_28_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d689a52924107fa27c77376743eca18c.jpg","text":"TemporaryFile(/tmp/multipartBody2252925620440954887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844333269,"filename":"image_10122025_14_28_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dec2d1cb557bd53fd6877727d4b05a70.jpg","text":"TemporaryFile(/tmp/multipartBody2615780371533453198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844333269,"filename":"image_10122025_14_28_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/12/27/1ff7d7ab9699aa8db410b44ff82f0b1e.jpg","text":"TemporaryFile(/tmp/multipartBody6266612875462189157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844333269,"filename":"image_10122025_14_28_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/12/27/085aaa75210af39f2d8246c8dab926cd.jpg","text":"TemporaryFile(/tmp/multipartBody6273442349504456201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844333269,"filename":"image_10122025_14_29_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4807163cb3961c8fb3ce3554ba61eb1.jpg","text":"TemporaryFile(/tmp/multipartBody9084485393134383747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844333269,"filename":"image_10122025_14_28_55_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401277575","file1":"1401277562","file0":"1401277557","file4":"1401277578","file5":"1401277579","file3":"1401277576"},"map_files_photo_id_array":[{"photo_id":"1401277579","filename":"file5"},{"photo_id":"1401277575","filename":"file2"},{"photo_id":"1401277578","filename":"file4"},{"photo_id":"1401277562","filename":"file1"},{"photo_id":"1401277557","filename":"file0"},{"photo_id":"1401277576","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401277576":["hashtag1","hashtag2"]},{"1401277579":["hashtag1","hashtag2"]},{"1401277578":["hashtag1","hashtag2"]},{"1401277575":["hashtag1","hashtag2"]},{"1401277557":["hashtag1","hashtag2"]},{"1401277562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401277576, 1401277579, 1401277578, 1401277575, 1401277557, 1401277562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95620036125183 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:05:17.607087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_28_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_27_04_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/27/image_10122025_14_28_05_10622.jpg', '/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_54_9619.jpg', '/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_45_10615.jpg', '/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_25_9604.jpg', '/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_15_10628.jpg', '/home/nano/Desktop/images/10122025/14/26/image_10122025_14_27_04_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/27/image_10122025_14_28_05_10622.jpg
/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_54_9619.jpg
/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_45_10615.jpg
/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_25_9604.jpg
/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_15_10628.jpg
/home/nano/Desktop/images/10122025/14/26/image_10122025_14_27_04_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":["1401277588","1401277590","1401277584","1401277581","1401277580","1401277586"],"photo_ids_order":["1401277580","1401277581","1401277584","1401277586","1401277588","1401277590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed9ff7a6c4bbf80dc079a027fa11e94d.jpg","text":"TemporaryFile(/tmp/multipartBody7533445588237690980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844378400,"filename":"image_10122025_14_27_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/caab8d66abb17ad96b2e280ffd48b7d5.jpg","text":"TemporaryFile(/tmp/multipartBody5720535833946258084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844378400,"filename":"image_10122025_14_27_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/12/27/fa88f13bb4e71eef31261da5ff93ceb2.jpg","text":"TemporaryFile(/tmp/multipartBody3941164878339615850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844378400,"filename":"image_10122025_14_27_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84b943facf266419312c92c8eb89fb82.jpg","text":"TemporaryFile(/tmp/multipartBody1481605394492179464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844378400,"filename":"image_10122025_14_27_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/12/27/95247e3a8af959158e8180f19953c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8532179721669528074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844378400,"filename":"image_10122025_14_28_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7d38da22a5ed81358c76ed7493e644d.jpg","text":"TemporaryFile(/tmp/multipartBody929389758769412481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844378400,"filename":"image_10122025_14_27_25_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401277584","file1":"1401277581","file0":"1401277580","file4":"1401277588","file5":"1401277590","file3":"1401277586"},"map_files_photo_id_array":[{"photo_id":"1401277590","filename":"file5"},{"photo_id":"1401277584","filename":"file2"},{"photo_id":"1401277588","filename":"file4"},{"photo_id":"1401277581","filename":"file1"},{"photo_id":"1401277580","filename":"file0"},{"photo_id":"1401277586","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401277588":["hashtag1","hashtag2"]},{"1401277590":["hashtag1","hashtag2"]},{"1401277584":["hashtag1","hashtag2"]},{"1401277581":["hashtag1","hashtag2"]},{"1401277580":["hashtag1","hashtag2"]},{"1401277586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401277588, 1401277590, 1401277584, 1401277581, 1401277580, 1401277586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.560842752456665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:06:03.335539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_55_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_26_05_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_55_9601.jpg', '/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_45_10615.jpg', '/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_34_9602.jpg', '/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_25_10610.jpg', '/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_14_9621.jpg', '/home/nano/Desktop/images/10122025/14/25/image_10122025_14_26_05_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_55_9601.jpg
/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_45_10615.jpg
/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_34_9602.jpg
/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_25_10610.jpg
/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_14_9621.jpg
/home/nano/Desktop/images/10122025/14/25/image_10122025_14_26_05_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":["1401277616","1401277597","1401277596","1401277609","1401277595","1401277598"],"photo_ids_order":["1401277595","1401277596","1401277597","1401277598","1401277609","1401277616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11e2d8cb5980182932a6f15df0979ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4848778953546605622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844424169,"filename":"image_10122025_14_26_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/406e0ad6499d97d4065f5323050b3e49.jpg","text":"TemporaryFile(/tmp/multipartBody839794892221135610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844424169,"filename":"image_10122025_14_26_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/12/27/54bfac1623d1e83327401d96c6add669.jpg","text":"TemporaryFile(/tmp/multipartBody7938971421608834682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844424169,"filename":"image_10122025_14_26_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/720b3dd5a65d6f72521eecc5d3728061.jpg","text":"TemporaryFile(/tmp/multipartBody6502479415941085029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844424169,"filename":"image_10122025_14_26_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d82d76e713517d94b69016e2fee616d.jpg","text":"TemporaryFile(/tmp/multipartBody5952686516678845421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844424169,"filename":"image_10122025_14_26_55_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cca58a5bf950dce3a5ba877893cd7985.jpg","text":"TemporaryFile(/tmp/multipartBody3794360417346070983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844424169,"filename":"image_10122025_14_26_25_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401277597","file1":"1401277596","file0":"1401277595","file4":"1401277609","file5":"1401277616","file3":"1401277598"},"map_files_photo_id_array":[{"photo_id":"1401277616","filename":"file5"},{"photo_id":"1401277597","filename":"file2"},{"photo_id":"1401277609","filename":"file4"},{"photo_id":"1401277596","filename":"file1"},{"photo_id":"1401277595","filename":"file0"},{"photo_id":"1401277598","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401277616":["hashtag1","hashtag2"]},{"1401277597":["hashtag1","hashtag2"]},{"1401277596":["hashtag1","hashtag2"]},{"1401277609":["hashtag1","hashtag2"]},{"1401277595":["hashtag1","hashtag2"]},{"1401277598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401277616, 1401277597, 1401277596, 1401277609, 1401277595, 1401277598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94452500343323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:06:47.722729
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_25_05_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_55_10633.jpg', '/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_44_9604.jpg', '/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_35_10616.jpg', '/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_24_9603.jpg', '/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_15_9622.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_25_05_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_55_10633.jpg
/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_44_9604.jpg
/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_35_10616.jpg
/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_24_9603.jpg
/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_15_9622.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_25_05_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":["1401277649","1401277753","1401277633","1401277683","1401277635","1401277722"],"photo_ids_order":["1401277633","1401277635","1401277649","1401277683","1401277722","1401277753"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c7fd1f7d03f63896cc714a2b72b472c.jpg","text":"TemporaryFile(/tmp/multipartBody7608865561392250329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844468661,"filename":"image_10122025_14_25_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/160ed0888a92989cb0962be356e77418.jpg","text":"TemporaryFile(/tmp/multipartBody3455318648234340395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844468661,"filename":"image_10122025_14_25_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14be9e2159671707141c40c6f9bdd8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3353306245948506958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844468661,"filename":"image_10122025_14_25_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ef6df0b6d04ba7daa0f875f00c56177.jpg","text":"TemporaryFile(/tmp/multipartBody7100288665452645223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844468661,"filename":"image_10122025_14_25_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/12/27/412a2ea2b450b76079dde9b9debd9b75.jpg","text":"TemporaryFile(/tmp/multipartBody2497614590795722747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844468661,"filename":"image_10122025_14_25_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/12/27/03c55b7aa5eefddc28d062785590367e.jpg","text":"TemporaryFile(/tmp/multipartBody3219498716948854210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844468661,"filename":"image_10122025_14_25_15_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401277649","file1":"1401277635","file0":"1401277633","file4":"1401277722","file5":"1401277753","file3":"1401277683"},"map_files_photo_id_array":[{"photo_id":"1401277753","filename":"file5"},{"photo_id":"1401277649","filename":"file2"},{"photo_id":"1401277722","filename":"file4"},{"photo_id":"1401277635","filename":"file1"},{"photo_id":"1401277633","filename":"file0"},{"photo_id":"1401277683","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401277649":["hashtag1","hashtag2"]},{"1401277753":["hashtag1","hashtag2"]},{"1401277633":["hashtag1","hashtag2"]},{"1401277683":["hashtag1","hashtag2"]},{"1401277635":["hashtag1","hashtag2"]},{"1401277722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401277649, 1401277753, 1401277633, 1401277683, 1401277635, 1401277722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.889856576919556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:07:31.837351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_04_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg', '/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg
/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_04_9653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7351882457733154 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:07:46.836181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_04_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg', '/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg', '/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg
/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg
/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_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":["1401278341","1401278308","1401278372","1401278273","1401278240","1401278201"],"photo_ids_order":["1401278201","1401278240","1401278273","1401278308","1401278341","1401278372"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a535cde1912c8e838e5a2a903aff6ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1646003346689034738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844528179,"filename":"image_10122025_14_24_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f82b8cf215a5d82b1b58183639deb827.jpg","text":"TemporaryFile(/tmp/multipartBody3427865482648914776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844528179,"filename":"image_10122025_14_24_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/12/27/a316f6c17f06f814500ae92ef8bce89d.jpg","text":"TemporaryFile(/tmp/multipartBody7127402766558351257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844528179,"filename":"image_10122025_14_24_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/12/27/ec237e1295aafcac9483ba130cf43841.jpg","text":"TemporaryFile(/tmp/multipartBody5075293137599112920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844528179,"filename":"image_10122025_14_24_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aeca33c1a15dd996d565f5c3e2e901de.jpg","text":"TemporaryFile(/tmp/multipartBody1419490612280629517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844528179,"filename":"image_10122025_14_24_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c123c08bfe9cab862366d1c355fb805.jpg","text":"TemporaryFile(/tmp/multipartBody1753497966605647440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844528179,"filename":"image_10122025_14_24_54_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401278273","file1":"1401278240","file0":"1401278201","file4":"1401278341","file5":"1401278372","file3":"1401278308"},"map_files_photo_id_array":[{"photo_id":"1401278372","filename":"file5"},{"photo_id":"1401278273","filename":"file2"},{"photo_id":"1401278341","filename":"file4"},{"photo_id":"1401278240","filename":"file1"},{"photo_id":"1401278201","filename":"file0"},{"photo_id":"1401278308","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401278341":["hashtag1","hashtag2"]},{"1401278308":["hashtag1","hashtag2"]},{"1401278372":["hashtag1","hashtag2"]},{"1401278273":["hashtag1","hashtag2"]},{"1401278240":["hashtag1","hashtag2"]},{"1401278201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401278341, 1401278308, 1401278372, 1401278273, 1401278240, 1401278201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.063992738723755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:08:31.975715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_23_04_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_55_9603.jpg', '/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_45_10632.jpg', '/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_34_9605.jpg', '/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_25_9605.jpg', '/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_15_10652.jpg', '/home/nano/Desktop/images/10122025/14/22/image_10122025_14_23_04_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_55_9603.jpg
/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_45_10632.jpg
/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_34_9605.jpg
/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_25_9605.jpg
/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_15_10652.jpg
/home/nano/Desktop/images/10122025/14/22/image_10122025_14_23_04_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":["1401278566","1401278734","1401278667","1401278631","1401278733","1401278699"],"photo_ids_order":["1401278566","1401278631","1401278667","1401278699","1401278733","1401278734"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ded034bd7d9213030fc0bd49e18def05.jpg","text":"TemporaryFile(/tmp/multipartBody5100112041025392618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844572758,"filename":"image_10122025_14_23_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/601b526b146689000cbaa1f399394d99.jpg","text":"TemporaryFile(/tmp/multipartBody4241126983480486138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844572758,"filename":"image_10122025_14_23_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/12/27/1e3a37c2defe27a92b0f10f508913950.jpg","text":"TemporaryFile(/tmp/multipartBody8650084111431569082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844572758,"filename":"image_10122025_14_23_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/12/27/f6bdc1d37cdb3fe42cdc4b6d7a68d503.jpg","text":"TemporaryFile(/tmp/multipartBody8021209069637575135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844572758,"filename":"image_10122025_14_23_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7f3a05baa24a5f35698c522c7ea2bee.jpg","text":"TemporaryFile(/tmp/multipartBody2060892774870160850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844572758,"filename":"image_10122025_14_23_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3082d7bc0e1ddcdddbf8735a5fdc12a2.jpg","text":"TemporaryFile(/tmp/multipartBody1243383475872682055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844572758,"filename":"image_10122025_14_23_25_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401278667","file1":"1401278631","file0":"1401278566","file4":"1401278733","file5":"1401278734","file3":"1401278699"},"map_files_photo_id_array":[{"photo_id":"1401278734","filename":"file5"},{"photo_id":"1401278667","filename":"file2"},{"photo_id":"1401278733","filename":"file4"},{"photo_id":"1401278631","filename":"file1"},{"photo_id":"1401278566","filename":"file0"},{"photo_id":"1401278699","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401278566":["hashtag1","hashtag2"]},{"1401278734":["hashtag1","hashtag2"]},{"1401278667":["hashtag1","hashtag2"]},{"1401278631":["hashtag1","hashtag2"]},{"1401278733":["hashtag1","hashtag2"]},{"1401278699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401278566, 1401278734, 1401278667, 1401278631, 1401278733, 1401278699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81646156311035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:09:17.140814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_55_10615.jpg', '/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_44_9610.jpg', '/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_35_9604.jpg', '/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_25_10611.jpg', '/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_14_9615.jpg', '/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_55_10615.jpg
/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_44_9610.jpg
/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_35_9604.jpg
/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_25_10611.jpg
/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_14_9615.jpg
/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_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":["1401278845","1401278800","1401278961","1401278751","1401278910","1401278765"],"photo_ids_order":["1401278751","1401278765","1401278800","1401278845","1401278910","1401278961"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87d7762ce927d1522c3d4c71e51b2cfa.jpg","text":"TemporaryFile(/tmp/multipartBody6372962622234059713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844617934,"filename":"image_10122025_14_22_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b2ce4f46bcd037970145bde23f3eade.jpg","text":"TemporaryFile(/tmp/multipartBody6279055659335825242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844617934,"filename":"image_10122025_14_22_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a5a2ba6fdec0576e95109bffbf42933.jpg","text":"TemporaryFile(/tmp/multipartBody5653013934185812907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844617934,"filename":"image_10122025_14_21_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/12/27/76b28b10f9b84e9abd02344d21e669ee.jpg","text":"TemporaryFile(/tmp/multipartBody9095509440882464459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844617934,"filename":"image_10122025_14_22_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e853cd27b9366def1966d3d4c8b8e6f.jpg","text":"TemporaryFile(/tmp/multipartBody4038296958853194323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844617934,"filename":"image_10122025_14_22_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/12/27/5faf5a8190f08e1f6a0a8f17a7ac9385.jpg","text":"TemporaryFile(/tmp/multipartBody6435711570052640041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844617934,"filename":"image_10122025_14_22_44_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401278800","file1":"1401278765","file0":"1401278751","file4":"1401278910","file5":"1401278961","file3":"1401278845"},"map_files_photo_id_array":[{"photo_id":"1401278961","filename":"file5"},{"photo_id":"1401278800","filename":"file2"},{"photo_id":"1401278910","filename":"file4"},{"photo_id":"1401278765","filename":"file1"},{"photo_id":"1401278751","filename":"file0"},{"photo_id":"1401278845","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401278845":["hashtag1","hashtag2"]},{"1401278800":["hashtag1","hashtag2"]},{"1401278961":["hashtag1","hashtag2"]},{"1401278751":["hashtag1","hashtag2"]},{"1401278910":["hashtag1","hashtag2"]},{"1401278765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401278845, 1401278800, 1401278961, 1401278751, 1401278910, 1401278765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51596665382385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:10:02.843767
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_21_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_45_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_45_9603.jpg', '/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_35_10613.jpg', '/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_15_10629.jpg', '/home/nano/Desktop/images/10122025/14/20/image_10122025_14_21_04_9615.jpg', '/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_54_9618.jpg', '/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_45_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_45_9603.jpg
/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_35_10613.jpg
/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_15_10629.jpg
/home/nano/Desktop/images/10122025/14/20/image_10122025_14_21_04_9615.jpg
/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_54_9618.jpg
/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_45_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":["1401279115","1401279147","1401279173","1401279161","1401279083","1401279160"],"photo_ids_order":["1401279083","1401279115","1401279147","1401279160","1401279161","1401279173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/993df6bca1c5a6ab42fbba709dc7b991.jpg","text":"TemporaryFile(/tmp/multipartBody3873014436790156494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844663749,"filename":"image_10122025_14_21_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abcd52d301c5037571ff86eec5b17d86.jpg","text":"TemporaryFile(/tmp/multipartBody7478275000251926854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844663749,"filename":"image_10122025_14_21_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3a1a3f031c4baf15a879d657011635d.jpg","text":"TemporaryFile(/tmp/multipartBody2583226178176873571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844663749,"filename":"image_10122025_14_20_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/787616fb37e730a334e1c5cc9e605577.jpg","text":"TemporaryFile(/tmp/multipartBody6120316716407695518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844663749,"filename":"image_10122025_14_20_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/12/27/4fb37276cb7c736b07d4c8a22a596069.jpg","text":"TemporaryFile(/tmp/multipartBody6669776455787881082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844663749,"filename":"image_10122025_14_21_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7261e667b5206b40ad5fdefcd657545.jpg","text":"TemporaryFile(/tmp/multipartBody8498196884797180060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844663749,"filename":"image_10122025_14_21_04_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401279147","file1":"1401279115","file0":"1401279083","file4":"1401279161","file5":"1401279173","file3":"1401279160"},"map_files_photo_id_array":[{"photo_id":"1401279173","filename":"file5"},{"photo_id":"1401279147","filename":"file2"},{"photo_id":"1401279161","filename":"file4"},{"photo_id":"1401279115","filename":"file1"},{"photo_id":"1401279083","filename":"file0"},{"photo_id":"1401279160","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401279115":["hashtag1","hashtag2"]},{"1401279147":["hashtag1","hashtag2"]},{"1401279173":["hashtag1","hashtag2"]},{"1401279161":["hashtag1","hashtag2"]},{"1401279083":["hashtag1","hashtag2"]},{"1401279160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401279115, 1401279147, 1401279173, 1401279161, 1401279083, 1401279160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34979486465454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:10:47.242811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_20_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_44_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_34_9605.jpg', '/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_25_9603.jpg', '/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_15_10634.jpg', '/home/nano/Desktop/images/10122025/14/19/image_10122025_14_20_04_9634.jpg', '/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_55_10615.jpg', '/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_34_9605.jpg
/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_25_9603.jpg
/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_15_10634.jpg
/home/nano/Desktop/images/10122025/14/19/image_10122025_14_20_04_9634.jpg
/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_55_10615.jpg
/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_44_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":["1401279882","1401279780","1401279677","1401279464","1401279577","1401279976"],"photo_ids_order":["1401279464","1401279577","1401279677","1401279780","1401279882","1401279976"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b48f7066246909f5b8247b880627c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5932592685470487583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844708040,"filename":"image_10122025_14_19_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51d9eed9d7d6d71629c15e2f5aae09bf.jpg","text":"TemporaryFile(/tmp/multipartBody104327694007485263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844708040,"filename":"image_10122025_14_20_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/12/27/a381b73a0970165896ddd86c949c4b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2211761375366922976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844708040,"filename":"image_10122025_14_20_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/759de260ab6765abcebdf0733e6e0ec7.jpg","text":"TemporaryFile(/tmp/multipartBody677657936000994165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844708040,"filename":"image_10122025_14_20_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/12/27/6acf1c697ef3c12a666ffcc0ceb9a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody6183807155733083012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844708040,"filename":"image_10122025_14_20_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3edf269975ccd94c52422ba802baa799.jpg","text":"TemporaryFile(/tmp/multipartBody8072318970534299130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844708040,"filename":"image_10122025_14_19_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401279677","file1":"1401279577","file0":"1401279464","file4":"1401279882","file5":"1401279976","file3":"1401279780"},"map_files_photo_id_array":[{"photo_id":"1401279976","filename":"file5"},{"photo_id":"1401279677","filename":"file2"},{"photo_id":"1401279882","filename":"file4"},{"photo_id":"1401279577","filename":"file1"},{"photo_id":"1401279464","filename":"file0"},{"photo_id":"1401279780","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401279882":["hashtag1","hashtag2"]},{"1401279780":["hashtag1","hashtag2"]},{"1401279677":["hashtag1","hashtag2"]},{"1401279464":["hashtag1","hashtag2"]},{"1401279577":["hashtag1","hashtag2"]},{"1401279976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401279882, 1401279780, 1401279677, 1401279464, 1401279577, 1401279976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87219738960266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:11:32.393455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_19_05_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_35_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_25_10612.jpg', '/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_14_9643.jpg', '/home/nano/Desktop/images/10122025/14/18/image_10122025_14_19_05_9644.jpg', '/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_55_10611.jpg', '/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_44_9618.jpg', '/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_35_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_25_10612.jpg
/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_14_9643.jpg
/home/nano/Desktop/images/10122025/14/18/image_10122025_14_19_05_9644.jpg
/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_55_10611.jpg
/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_44_9618.jpg
/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_35_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":["1401280141","1401280143","1401280149","1401280148","1401280145","1401280139"],"photo_ids_order":["1401280139","1401280141","1401280143","1401280145","1401280148","1401280149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc52aaf4b84263dd1f46fa0d6cb6d888.jpg","text":"TemporaryFile(/tmp/multipartBody4171748393966735238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844753197,"filename":"image_10122025_14_19_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/12/27/0301aec789e5006be24599f1c414f8ec.jpg","text":"TemporaryFile(/tmp/multipartBody3230074212049302835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844753197,"filename":"image_10122025_14_19_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/443b07b203cddc36a34c302b624d424d.jpg","text":"TemporaryFile(/tmp/multipartBody2455196966710716851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844753197,"filename":"image_10122025_14_18_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22f1b916747a9762d866958dd8165f67.jpg","text":"TemporaryFile(/tmp/multipartBody3815283211507963124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844753197,"filename":"image_10122025_14_18_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/12/27/9f4e6563d6407a5683df689b973a8f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3915448951235254401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844753197,"filename":"image_10122025_14_18_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71b37d7fc5f82c6c8e0953d8f58c40b8.jpg","text":"TemporaryFile(/tmp/multipartBody5768897651727997282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844753197,"filename":"image_10122025_14_19_25_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280143","file1":"1401280141","file0":"1401280139","file4":"1401280148","file5":"1401280149","file3":"1401280145"},"map_files_photo_id_array":[{"photo_id":"1401280149","filename":"file5"},{"photo_id":"1401280143","filename":"file2"},{"photo_id":"1401280148","filename":"file4"},{"photo_id":"1401280141","filename":"file1"},{"photo_id":"1401280139","filename":"file0"},{"photo_id":"1401280145","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280141":["hashtag1","hashtag2"]},{"1401280143":["hashtag1","hashtag2"]},{"1401280149":["hashtag1","hashtag2"]},{"1401280148":["hashtag1","hashtag2"]},{"1401280145":["hashtag1","hashtag2"]},{"1401280139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280141, 1401280143, 1401280149, 1401280148, 1401280145, 1401280139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54106688499451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:12:17.463677
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/15/12/image_27122025_15_12_24_9527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/15/12/image_27122025_15_12_24_9527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/15/12/image_27122025_15_12_24_9527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401280373"],"photo_id":"1401280373","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4301d4b8334536bed3f4f4a5becba3b6.jpg","text":"TemporaryFile(/tmp/multipartBody1279068083738370506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844797703,"filename":"image_27122025_15_12_24_9527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401280373"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401280373"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.599529504776001 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:12:32.475795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_18_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_34_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_24_9607.jpg', '/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_15_9622.jpg', '/home/nano/Desktop/images/10122025/14/17/image_10122025_14_18_05_10619.jpg', '/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_54_9604.jpg', '/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_45_10615.jpg', '/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_24_9607.jpg
/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_15_9622.jpg
/home/nano/Desktop/images/10122025/14/17/image_10122025_14_18_05_10619.jpg
/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_54_9604.jpg
/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_45_10615.jpg
/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_34_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":["1401280471","1401280531","1401280402","1401280551","1401280476","1401280472"],"photo_ids_order":["1401280402","1401280471","1401280472","1401280476","1401280531","1401280551"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f01fef32e5dc769c6083973c13f8efc9.jpg","text":"TemporaryFile(/tmp/multipartBody7534768849444120228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844813264,"filename":"image_10122025_14_18_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23a0b8d405ec64ee6535ce75aed03e25.jpg","text":"TemporaryFile(/tmp/multipartBody5832045321384595133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844813264,"filename":"image_10122025_14_17_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2079e791ba13ec8f2ed4ab95eb3026b.jpg","text":"TemporaryFile(/tmp/multipartBody5614070033943226887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844813264,"filename":"image_10122025_14_18_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/12/27/0b690a2cbb50415afa13e45c42a27e92.jpg","text":"TemporaryFile(/tmp/multipartBody3370371845057021720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844813264,"filename":"image_10122025_14_17_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/12/27/ddf12fbc636afbc030ab13ede3af8a9a.jpg","text":"TemporaryFile(/tmp/multipartBody7014009436646796244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844813264,"filename":"image_10122025_14_17_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/12/27/c9857cf55e6ba8a34891c2cccdd746f9.jpg","text":"TemporaryFile(/tmp/multipartBody6859414261866666633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844813264,"filename":"image_10122025_14_18_05_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280472","file1":"1401280471","file0":"1401280402","file4":"1401280531","file5":"1401280551","file3":"1401280476"},"map_files_photo_id_array":[{"photo_id":"1401280551","filename":"file5"},{"photo_id":"1401280472","filename":"file2"},{"photo_id":"1401280531","filename":"file4"},{"photo_id":"1401280471","filename":"file1"},{"photo_id":"1401280402","filename":"file0"},{"photo_id":"1401280476","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280471":["hashtag1","hashtag2"]},{"1401280531":["hashtag1","hashtag2"]},{"1401280402":["hashtag1","hashtag2"]},{"1401280551":["hashtag1","hashtag2"]},{"1401280476":["hashtag1","hashtag2"]},{"1401280472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280471, 1401280531, 1401280402, 1401280551, 1401280476, 1401280472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17443823814392 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:13:17.528401
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_17_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_25_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_25_9605.jpg', '/home/nano/Desktop/images/10122025/14/16/image_10122025_14_17_04_9627.jpg', '/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_55_9600.jpg', '/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_45_10611.jpg', '/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_34_9604.jpg', '/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_25_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_25_9605.jpg
/home/nano/Desktop/images/10122025/14/16/image_10122025_14_17_04_9627.jpg
/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_55_9600.jpg
/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_45_10611.jpg
/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_34_9604.jpg
/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_25_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":["1401280597","1401280603","1401280612","1401280606","1401280609","1401280600"],"photo_ids_order":["1401280597","1401280600","1401280603","1401280606","1401280609","1401280612"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6de265f864c980d9e126c3c05801846.jpg","text":"TemporaryFile(/tmp/multipartBody6073279882415158362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844858322,"filename":"image_10122025_14_17_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6e66a0cbb2748ef4e817cefc7d35c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6184700405736570016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844858322,"filename":"image_10122025_14_16_55_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eee4dacf51ad52484d405047fa66f579.jpg","text":"TemporaryFile(/tmp/multipartBody6383452993333602159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844858322,"filename":"image_10122025_14_16_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/718839d1042a171c9dd49dfa49b4eebb.jpg","text":"TemporaryFile(/tmp/multipartBody7126926771620804828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844858322,"filename":"image_10122025_14_16_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6b8b12f15f9d4ed158222e70fc23d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5712126764675947135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844858322,"filename":"image_10122025_14_16_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/12/27/746e6538f92fa9189d62b5e3a44b131a.jpg","text":"TemporaryFile(/tmp/multipartBody7134799342048499535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844858322,"filename":"image_10122025_14_17_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280603","file1":"1401280600","file0":"1401280597","file4":"1401280609","file5":"1401280612","file3":"1401280606"},"map_files_photo_id_array":[{"photo_id":"1401280612","filename":"file5"},{"photo_id":"1401280603","filename":"file2"},{"photo_id":"1401280609","filename":"file4"},{"photo_id":"1401280600","filename":"file1"},{"photo_id":"1401280597","filename":"file0"},{"photo_id":"1401280606","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280597":["hashtag1","hashtag2"]},{"1401280603":["hashtag1","hashtag2"]},{"1401280612":["hashtag1","hashtag2"]},{"1401280606":["hashtag1","hashtag2"]},{"1401280609":["hashtag1","hashtag2"]},{"1401280600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280597, 1401280603, 1401280612, 1401280606, 1401280609, 1401280600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.031580686569214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:14:03.380784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_15_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_14_9621.jpg', '/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_44_9602.jpg', '/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_24_9603.jpg', '/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_15_9614.jpg', '/home/nano/Desktop/images/10122025/14/14/image_10122025_14_15_05_10613.jpg', '/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_14_9621.jpg
/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_44_9602.jpg
/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_24_9603.jpg
/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_15_9614.jpg
/home/nano/Desktop/images/10122025/14/14/image_10122025_14_15_05_10613.jpg
/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_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":["1401280621","1401280618","1401280623","1401280626","1401280622","1401280619"],"photo_ids_order":["1401280618","1401280619","1401280621","1401280622","1401280623","1401280626"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d249ae86cb3c5441cd8766e5afb560d.jpg","text":"TemporaryFile(/tmp/multipartBody2864801858478620825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844904279,"filename":"image_10122025_14_15_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/12/27/7a903abead20a27ecb13a40ab3962d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3002934859836334607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844904279,"filename":"image_10122025_14_16_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa93a09275fa88cde6de8bae399c60e9.jpg","text":"TemporaryFile(/tmp/multipartBody5118064720318837986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844904279,"filename":"image_10122025_14_15_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29b9ff10f75dd240b57878832289d41b.jpg","text":"TemporaryFile(/tmp/multipartBody6419701065686458524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844904279,"filename":"image_10122025_14_14_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/12/27/c2a3ecd0d48c8e01bdd91fd61705d557.jpg","text":"TemporaryFile(/tmp/multipartBody1525161331929071701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844904279,"filename":"image_10122025_14_15_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e456bc18bb0785d7e383b9dc4d58029.jpg","text":"TemporaryFile(/tmp/multipartBody5509392732377294268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844904279,"filename":"image_10122025_14_15_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280621","file1":"1401280619","file0":"1401280618","file4":"1401280623","file5":"1401280626","file3":"1401280622"},"map_files_photo_id_array":[{"photo_id":"1401280626","filename":"file5"},{"photo_id":"1401280621","filename":"file2"},{"photo_id":"1401280623","filename":"file4"},{"photo_id":"1401280619","filename":"file1"},{"photo_id":"1401280618","filename":"file0"},{"photo_id":"1401280622","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280621":["hashtag1","hashtag2"]},{"1401280618":["hashtag1","hashtag2"]},{"1401280623":["hashtag1","hashtag2"]},{"1401280626":["hashtag1","hashtag2"]},{"1401280622":["hashtag1","hashtag2"]},{"1401280619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280621, 1401280618, 1401280623, 1401280626, 1401280622, 1401280619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84290885925293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:14:47.698566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_15_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_14_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_55_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_45_9604.jpg', '/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_35_10613.jpg', '/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_24_9620.jpg', '/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_15_10660.jpg', '/home/nano/Desktop/images/10122025/14/13/image_10122025_14_14_04_9607.jpg', '/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_55_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_45_9604.jpg
/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_35_10613.jpg
/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_24_9620.jpg
/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_15_10660.jpg
/home/nano/Desktop/images/10122025/14/13/image_10122025_14_14_04_9607.jpg
/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_55_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":["1401280642","1401280639","1401280641","1401280638","1401280643","1401280640"],"photo_ids_order":["1401280638","1401280639","1401280640","1401280641","1401280642","1401280643"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ca5fd0111679285586c41b1fb5da9c1.jpg","text":"TemporaryFile(/tmp/multipartBody7099271094628576847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844948505,"filename":"image_10122025_14_14_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/12/27/2df811142f9efbf868795574aca68768.jpg","text":"TemporaryFile(/tmp/multipartBody7766439363584807064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844948505,"filename":"image_10122025_14_14_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a72dd0c7e6493122a307f5d6a047e2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7179326536500680812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844948505,"filename":"image_10122025_14_14_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0f4d7192c802e201d8a8db9247cc880.jpg","text":"TemporaryFile(/tmp/multipartBody414190218252390146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844948505,"filename":"image_10122025_14_14_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcf3b9844ba011623bc392e0c1f18ccb.jpg","text":"TemporaryFile(/tmp/multipartBody825550995192104901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844948505,"filename":"image_10122025_14_13_55_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38b8bcc83cfc1ef90d33d9672284dee4.jpg","text":"TemporaryFile(/tmp/multipartBody1768950687368104907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844948505,"filename":"image_10122025_14_14_24_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280640","file1":"1401280639","file0":"1401280638","file4":"1401280642","file5":"1401280643","file3":"1401280641"},"map_files_photo_id_array":[{"photo_id":"1401280643","filename":"file5"},{"photo_id":"1401280640","filename":"file2"},{"photo_id":"1401280642","filename":"file4"},{"photo_id":"1401280639","filename":"file1"},{"photo_id":"1401280638","filename":"file0"},{"photo_id":"1401280641","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280642":["hashtag1","hashtag2"]},{"1401280639":["hashtag1","hashtag2"]},{"1401280641":["hashtag1","hashtag2"]},{"1401280638":["hashtag1","hashtag2"]},{"1401280643":["hashtag1","hashtag2"]},{"1401280640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280642, 1401280639, 1401280641, 1401280638, 1401280643, 1401280640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.581400632858276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:15:31.804255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_13_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_55_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_45_10615.jpg', '/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_34_9601.jpg', '/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_25_10612.jpg', '/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_14_9617.jpg', '/home/nano/Desktop/images/10122025/14/12/image_10122025_14_13_05_9606.jpg', '/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_45_10615.jpg
/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_34_9601.jpg
/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_25_10612.jpg
/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_14_9617.jpg
/home/nano/Desktop/images/10122025/14/12/image_10122025_14_13_05_9606.jpg
/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_55_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":["1401280675","1401280677","1401280680","1401280682","1401280685","1401280684"],"photo_ids_order":["1401280675","1401280677","1401280680","1401280682","1401280684","1401280685"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17f18b903419d08241869e3e0d8aba55.jpg","text":"TemporaryFile(/tmp/multipartBody4314788403262180426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844992602,"filename":"image_10122025_14_13_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a676a43eb55daca8c06f305d9fc77c11.jpg","text":"TemporaryFile(/tmp/multipartBody1095455711608368181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844992602,"filename":"image_10122025_14_13_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/12/27/fdba690eb8b342abd7ef4c3b677f91ec.jpg","text":"TemporaryFile(/tmp/multipartBody3320146986687948829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844992602,"filename":"image_10122025_14_13_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dac81a185978c721254c9890ffce8496.jpg","text":"TemporaryFile(/tmp/multipartBody698350999244066532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844992602,"filename":"image_10122025_14_13_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/12/27/0f16c456ef11743093a8abe0161d0d69.jpg","text":"TemporaryFile(/tmp/multipartBody8743000746723904434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844992602,"filename":"image_10122025_14_12_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ef4a519f79d364c610f2462bb608fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5573806678632736693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766844992602,"filename":"image_10122025_14_13_05_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280680","file1":"1401280677","file0":"1401280675","file4":"1401280684","file5":"1401280685","file3":"1401280682"},"map_files_photo_id_array":[{"photo_id":"1401280685","filename":"file5"},{"photo_id":"1401280680","filename":"file2"},{"photo_id":"1401280684","filename":"file4"},{"photo_id":"1401280677","filename":"file1"},{"photo_id":"1401280675","filename":"file0"},{"photo_id":"1401280682","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280675":["hashtag1","hashtag2"]},{"1401280677":["hashtag1","hashtag2"]},{"1401280680":["hashtag1","hashtag2"]},{"1401280682":["hashtag1","hashtag2"]},{"1401280685":["hashtag1","hashtag2"]},{"1401280684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280675, 1401280677, 1401280680, 1401280682, 1401280685, 1401280684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.292466163635254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:16:16.952578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_45_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_44_9611.jpg', '/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_35_9623.jpg', '/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_25_10611.jpg', '/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_14_9614.jpg', '/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_54_9604.jpg', '/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_45_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_44_9611.jpg
/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_35_9623.jpg
/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_25_10611.jpg
/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_14_9614.jpg
/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_54_9604.jpg
/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_45_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":["1401280849","1401280741","1401280843","1401280807","1401280773","1401280709"],"photo_ids_order":["1401280709","1401280741","1401280773","1401280807","1401280843","1401280849"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3aea6a20331c468123b573fb34e3ad4c.jpg","text":"TemporaryFile(/tmp/multipartBody3872993970442038040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845037795,"filename":"image_10122025_14_11_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/812136c55b5157cd2a66f4bac3caa797.jpg","text":"TemporaryFile(/tmp/multipartBody7036406569681096360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845037795,"filename":"image_10122025_14_12_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4e3c384a7b95410593d132fc53e09ba.jpg","text":"TemporaryFile(/tmp/multipartBody1342814287679604140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845037795,"filename":"image_10122025_14_11_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/12/27/26336b1d8c8bbbf71e134a1fb0eed686.jpg","text":"TemporaryFile(/tmp/multipartBody5022095324297071862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845037795,"filename":"image_10122025_14_12_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/12/27/85ff7040dc31a64fcc7d77c2a5a36d6f.jpg","text":"TemporaryFile(/tmp/multipartBody3041157329963650637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845037795,"filename":"image_10122025_14_12_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ece6a680e7abe1a40d77b8c86e7359bb.jpg","text":"TemporaryFile(/tmp/multipartBody2530902217696604256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845037795,"filename":"image_10122025_14_12_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280773","file1":"1401280741","file0":"1401280709","file4":"1401280843","file5":"1401280849","file3":"1401280807"},"map_files_photo_id_array":[{"photo_id":"1401280849","filename":"file5"},{"photo_id":"1401280773","filename":"file2"},{"photo_id":"1401280843","filename":"file4"},{"photo_id":"1401280741","filename":"file1"},{"photo_id":"1401280709","filename":"file0"},{"photo_id":"1401280807","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280849":["hashtag1","hashtag2"]},{"1401280741":["hashtag1","hashtag2"]},{"1401280843":["hashtag1","hashtag2"]},{"1401280807":["hashtag1","hashtag2"]},{"1401280773":["hashtag1","hashtag2"]},{"1401280709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280849, 1401280741, 1401280843, 1401280807, 1401280773, 1401280709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29597544670105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:17:02.636173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_11_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_25_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_35_10612.jpg', '/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_15_10631.jpg', '/home/nano/Desktop/images/10122025/14/10/image_10122025_14_11_04_9608.jpg', '/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_55_9615.jpg', '/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_34_9602.jpg', '/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_35_10612.jpg
/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_15_10631.jpg
/home/nano/Desktop/images/10122025/14/10/image_10122025_14_11_04_9608.jpg
/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_55_9615.jpg
/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_34_9602.jpg
/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_25_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":["1401280915","1401280918","1401280893","1401280914","1401280916","1401280913"],"photo_ids_order":["1401280893","1401280913","1401280914","1401280915","1401280916","1401280918"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e1417afe074a81b0a84b2ab6eee38a3.jpg","text":"TemporaryFile(/tmp/multipartBody4024182313858548094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845083451,"filename":"image_10122025_14_10_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c42f3d7a0bda3a7a7c5606577303707.jpg","text":"TemporaryFile(/tmp/multipartBody4461642557537411281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845083451,"filename":"image_10122025_14_10_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be4a7dbe96cb89c0932579b05550f1b8.jpg","text":"TemporaryFile(/tmp/multipartBody2707513804732668274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845083451,"filename":"image_10122025_14_11_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f9114aa5758e77d1f4b3bd8ae4caf71.jpg","text":"TemporaryFile(/tmp/multipartBody449694797535920730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845083451,"filename":"image_10122025_14_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/12/27/5716c6381f962e68f58ac88a8e0369ad.jpg","text":"TemporaryFile(/tmp/multipartBody4329253782506057652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845083451,"filename":"image_10122025_14_10_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/12/27/a6d3f78d8b4dfb277b1e9eef9de1109e.jpg","text":"TemporaryFile(/tmp/multipartBody8218099611961436184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845083451,"filename":"image_10122025_14_11_15_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401280914","file1":"1401280913","file0":"1401280893","file4":"1401280916","file5":"1401280918","file3":"1401280915"},"map_files_photo_id_array":[{"photo_id":"1401280918","filename":"file5"},{"photo_id":"1401280914","filename":"file2"},{"photo_id":"1401280916","filename":"file4"},{"photo_id":"1401280913","filename":"file1"},{"photo_id":"1401280893","filename":"file0"},{"photo_id":"1401280915","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401280915":["hashtag1","hashtag2"]},{"1401280918":["hashtag1","hashtag2"]},{"1401280893":["hashtag1","hashtag2"]},{"1401280914":["hashtag1","hashtag2"]},{"1401280916":["hashtag1","hashtag2"]},{"1401280913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401280915, 1401280918, 1401280893, 1401280914, 1401280916, 1401280913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98255634307861 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:17:47.053941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_10_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_25_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_14_9617.jpg', '/home/nano/Desktop/images/10122025/14/09/image_10122025_14_10_05_9618.jpg', '/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_55_10610.jpg', '/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_44_9602.jpg', '/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_35_9606.jpg', '/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_25_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_14_9617.jpg
/home/nano/Desktop/images/10122025/14/09/image_10122025_14_10_05_9618.jpg
/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_55_10610.jpg
/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_44_9602.jpg
/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_35_9606.jpg
/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_25_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":["1401281029","1401281025","1401281028","1401281022","1401281024","1401281027"],"photo_ids_order":["1401281022","1401281024","1401281025","1401281027","1401281028","1401281029"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6b9e976d8675f3bdf717ef90765172b.jpg","text":"TemporaryFile(/tmp/multipartBody3628601544155019295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845127838,"filename":"image_10122025_14_09_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91759c0268fd01fd16c97711d233f862.jpg","text":"TemporaryFile(/tmp/multipartBody2211998287810363511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845127838,"filename":"image_10122025_14_09_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d60e3e1d3fca49697977e443fe204ef.jpg","text":"TemporaryFile(/tmp/multipartBody50231252092877991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845127838,"filename":"image_10122025_14_09_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c80c32410cfbfd6323091eb67d1277eb.jpg","text":"TemporaryFile(/tmp/multipartBody2157199412640347760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845127838,"filename":"image_10122025_14_10_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/12/27/b4d34a944c9c85db310cc8ee3be51f04.jpg","text":"TemporaryFile(/tmp/multipartBody3846695694159919704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845127838,"filename":"image_10122025_14_10_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ddbdeb50c469d49e31b0bdd11f8fb3d0.jpg","text":"TemporaryFile(/tmp/multipartBody802027842982486388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845127838,"filename":"image_10122025_14_09_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281025","file1":"1401281024","file0":"1401281022","file4":"1401281028","file5":"1401281029","file3":"1401281027"},"map_files_photo_id_array":[{"photo_id":"1401281029","filename":"file5"},{"photo_id":"1401281025","filename":"file2"},{"photo_id":"1401281028","filename":"file4"},{"photo_id":"1401281024","filename":"file1"},{"photo_id":"1401281022","filename":"file0"},{"photo_id":"1401281027","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281029":["hashtag1","hashtag2"]},{"1401281025":["hashtag1","hashtag2"]},{"1401281028":["hashtag1","hashtag2"]},{"1401281022":["hashtag1","hashtag2"]},{"1401281024":["hashtag1","hashtag2"]},{"1401281027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281029, 1401281025, 1401281028, 1401281022, 1401281024, 1401281027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1059889793396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:18:32.172123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_15_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_14_9622.jpg', '/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_54_9602.jpg', '/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_45_9607.jpg', '/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_35_10612.jpg', '/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_24_9606.jpg', '/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_15_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_14_9622.jpg
/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_54_9602.jpg
/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_45_9607.jpg
/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_35_10612.jpg
/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_24_9606.jpg
/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_15_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":["1401281035","1401281043","1401281037","1401281040","1401281034","1401281042"],"photo_ids_order":["1401281034","1401281035","1401281037","1401281040","1401281042","1401281043"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cd21b64ca3759eb0e0d1b4b09211d46.jpg","text":"TemporaryFile(/tmp/multipartBody8857253869511660200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845172983,"filename":"image_10122025_14_08_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/12/27/b016bce7e1fab9733d24368617dbb4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3322477351167361654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845172983,"filename":"image_10122025_14_08_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ec764c6d8743ce3e968917832348930.jpg","text":"TemporaryFile(/tmp/multipartBody2727569773081137365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845172983,"filename":"image_10122025_14_08_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef6ac25de8d4bc8d0bafea09c27f2e1f.jpg","text":"TemporaryFile(/tmp/multipartBody3151480114639361126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845172983,"filename":"image_10122025_14_08_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/967a140f32c3f22e08594c0bbd40fffd.jpg","text":"TemporaryFile(/tmp/multipartBody829188580183158217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845172983,"filename":"image_10122025_14_09_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/12/27/4d88a66c3382d31d4107298a645e44ac.jpg","text":"TemporaryFile(/tmp/multipartBody6729550771810329156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845172983,"filename":"image_10122025_14_08_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281037","file1":"1401281035","file0":"1401281034","file4":"1401281042","file5":"1401281043","file3":"1401281040"},"map_files_photo_id_array":[{"photo_id":"1401281043","filename":"file5"},{"photo_id":"1401281037","filename":"file2"},{"photo_id":"1401281042","filename":"file4"},{"photo_id":"1401281035","filename":"file1"},{"photo_id":"1401281034","filename":"file0"},{"photo_id":"1401281040","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281035":["hashtag1","hashtag2"]},{"1401281043":["hashtag1","hashtag2"]},{"1401281037":["hashtag1","hashtag2"]},{"1401281040":["hashtag1","hashtag2"]},{"1401281034":["hashtag1","hashtag2"]},{"1401281042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281035, 1401281043, 1401281037, 1401281040, 1401281034, 1401281042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11625003814697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:19:17.304229
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_08_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_15_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/07/image_10122025_14_08_04_9614.jpg', '/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_55_9603.jpg', '/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_45_10613.jpg', '/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_34_9606.jpg', '/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_25_9601.jpg', '/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/07/image_10122025_14_08_04_9614.jpg
/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_55_9603.jpg
/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_45_10613.jpg
/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_34_9606.jpg
/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_25_9601.jpg
/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_15_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":["1401281101","1401281067","1401281046","1401281050","1401281053","1401281047"],"photo_ids_order":["1401281046","1401281047","1401281050","1401281053","1401281067","1401281101"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79d9372e4159cbcc3f0e1e0bf8d18ec6.jpg","text":"TemporaryFile(/tmp/multipartBody3525640216329907689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845218122,"filename":"image_10122025_14_07_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3872139a7ebd9ff0cb0383f37b2cce77.jpg","text":"TemporaryFile(/tmp/multipartBody3716959749479350786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845218122,"filename":"image_10122025_14_07_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f042ba1bb300686182ffb4eea32b1bec.jpg","text":"TemporaryFile(/tmp/multipartBody1161893274411497020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845218122,"filename":"image_10122025_14_08_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/12/27/e713406c2edc28c9256ec3de55898c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7889719430310774908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845218122,"filename":"image_10122025_14_07_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/583a906316869d48cd4ea40693f3c270.jpg","text":"TemporaryFile(/tmp/multipartBody3919083653592423212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845218122,"filename":"image_10122025_14_07_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/12/27/f56ba7a1a54cfa35804d30e5dc031623.jpg","text":"TemporaryFile(/tmp/multipartBody6527498507612006944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845218122,"filename":"image_10122025_14_07_55_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281050","file1":"1401281047","file0":"1401281046","file4":"1401281067","file5":"1401281101","file3":"1401281053"},"map_files_photo_id_array":[{"photo_id":"1401281101","filename":"file5"},{"photo_id":"1401281050","filename":"file2"},{"photo_id":"1401281067","filename":"file4"},{"photo_id":"1401281047","filename":"file1"},{"photo_id":"1401281046","filename":"file0"},{"photo_id":"1401281053","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281101":["hashtag1","hashtag2"]},{"1401281067":["hashtag1","hashtag2"]},{"1401281046":["hashtag1","hashtag2"]},{"1401281050":["hashtag1","hashtag2"]},{"1401281053":["hashtag1","hashtag2"]},{"1401281047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281101, 1401281067, 1401281046, 1401281050, 1401281053, 1401281047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30700397491455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:20:02.801166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_07_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_14_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/06/image_10122025_14_07_04_9620.jpg', '/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg', '/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_44_9604.jpg', '/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_35_9607.jpg', '/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_25_10614.jpg', '/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_14_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/06/image_10122025_14_07_04_9620.jpg
/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg
/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_44_9604.jpg
/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_35_9607.jpg
/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_25_10614.jpg
/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_14_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":["1401281352","1401281363","1401281348","1401281336","1401281303","1401281362"],"photo_ids_order":["1401281303","1401281336","1401281348","1401281352","1401281362","1401281363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b385d4ba8ccd6a28ae5116ffbf8e689c.jpg","text":"TemporaryFile(/tmp/multipartBody4686666226750547588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845263654,"filename":"image_10122025_14_06_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93586b232b91cd0b8743cf9bc09d5441.jpg","text":"TemporaryFile(/tmp/multipartBody3482584252261894318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845263654,"filename":"image_10122025_14_06_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/12/27/6e753e101f4c03f01d5a7330116548f3.jpg","text":"TemporaryFile(/tmp/multipartBody461202065528714817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845263654,"filename":"image_10122025_14_06_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/12/27/0692d49193239d0a2b5febad3beda0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3743853287133803423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845263654,"filename":"image_10122025_14_06_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a763b8da411a24464f3f05efc545a891.jpg","text":"TemporaryFile(/tmp/multipartBody3282378573461511535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845263654,"filename":"image_10122025_14_07_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/12/27/0fd0b5729353524901d5f197d3cdf5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4085275709722730963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845263654,"filename":"image_10122025_14_06_25_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281348","file1":"1401281336","file0":"1401281303","file4":"1401281362","file5":"1401281363","file3":"1401281352"},"map_files_photo_id_array":[{"photo_id":"1401281363","filename":"file5"},{"photo_id":"1401281348","filename":"file2"},{"photo_id":"1401281362","filename":"file4"},{"photo_id":"1401281336","filename":"file1"},{"photo_id":"1401281303","filename":"file0"},{"photo_id":"1401281352","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281352":["hashtag1","hashtag2"]},{"1401281363":["hashtag1","hashtag2"]},{"1401281348":["hashtag1","hashtag2"]},{"1401281336":["hashtag1","hashtag2"]},{"1401281303":["hashtag1","hashtag2"]},{"1401281362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281352, 1401281363, 1401281348, 1401281336, 1401281303, 1401281362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74101161956787 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:20:47.367853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_10632.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6733949184417725 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:21:03.269927
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/15/21/image_27122025_15_21_34_10536.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/15/21/image_27122025_15_21_34_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/15/21/image_27122025_15_21_34_10536.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401281444"],"photo_id":"1401281444","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a78723f6f9e63f547050d54aa926165.jpg","text":"TemporaryFile(/tmp/multipartBody6376772607336680995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845323520,"filename":"image_27122025_15_21_34_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401281444"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401281444"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.294171571731567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:21:17.488550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg', '/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg
/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_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":["1401281446","1401281451","1401281453","1401281447","1401281455","1401281449"],"photo_ids_order":["1401281446","1401281447","1401281449","1401281451","1401281453","1401281455"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/036b39f9fb40a5d8e4d29faac26b172f.jpg","text":"TemporaryFile(/tmp/multipartBody3732225711729943621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845338296,"filename":"image_10122025_14_06_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01daae2bb11832b9a1c2e1cc1f7a1052.jpg","text":"TemporaryFile(/tmp/multipartBody6301690818654293274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845338296,"filename":"image_10122025_14_05_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/12/27/a8e8d752e9af5863d0a360e6ca6c5a69.jpg","text":"TemporaryFile(/tmp/multipartBody848639917525276279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845338296,"filename":"image_10122025_14_05_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4b944085c85c2549d4af880c85afc18.jpg","text":"TemporaryFile(/tmp/multipartBody7823947949646914633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845338296,"filename":"image_10122025_14_05_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/12/27/69d4e51c91d9cab112930ddfbfa88afb.jpg","text":"TemporaryFile(/tmp/multipartBody6642503681158531430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845338296,"filename":"image_10122025_14_05_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7bcda08757b0e20410b6ec9f69592da.jpg","text":"TemporaryFile(/tmp/multipartBody1488757501477200175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845338296,"filename":"image_10122025_14_05_45_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281449","file1":"1401281447","file0":"1401281446","file4":"1401281453","file5":"1401281455","file3":"1401281451"},"map_files_photo_id_array":[{"photo_id":"1401281455","filename":"file5"},{"photo_id":"1401281449","filename":"file2"},{"photo_id":"1401281453","filename":"file4"},{"photo_id":"1401281447","filename":"file1"},{"photo_id":"1401281446","filename":"file0"},{"photo_id":"1401281451","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281446":["hashtag1","hashtag2"]},{"1401281451":["hashtag1","hashtag2"]},{"1401281453":["hashtag1","hashtag2"]},{"1401281447":["hashtag1","hashtag2"]},{"1401281455":["hashtag1","hashtag2"]},{"1401281449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281446, 1401281451, 1401281453, 1401281447, 1401281455, 1401281449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85295057296753 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:22:03.194204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg', '/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg
/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_9621.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7615580558776855 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:22:17.559222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg', '/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg', '/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg
/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg
/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_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":["1401281463","1401281466","1401281475","1401281468","1401281471","1401281473"],"photo_ids_order":["1401281463","1401281466","1401281468","1401281471","1401281473","1401281475"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f22a2380bf6845c9dcfe4f267d1320d4.jpg","text":"TemporaryFile(/tmp/multipartBody1908101427796701735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845398333,"filename":"image_10122025_14_04_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/12/27/ba6a1dfd3c4c286218c16697fe08157a.jpg","text":"TemporaryFile(/tmp/multipartBody8065470212960096618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845398333,"filename":"image_10122025_14_04_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e89a8ffda68297065dd5ba12f66b22e4.jpg","text":"TemporaryFile(/tmp/multipartBody6608112220697347479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845398333,"filename":"image_10122025_14_04_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/12/27/94e8e1a4749bd5fe0e2d32d1ceffd47d.jpg","text":"TemporaryFile(/tmp/multipartBody7163931548126211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845398333,"filename":"image_10122025_14_04_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/12/27/c4a9ae583e8a0e972df69b9dcfbe04e5.jpg","text":"TemporaryFile(/tmp/multipartBody6633413772703813062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845398333,"filename":"image_10122025_14_04_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fcaca0dbd14d9cf402f56ddf061b641.jpg","text":"TemporaryFile(/tmp/multipartBody4646121295599889499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845398333,"filename":"image_10122025_14_04_15_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281468","file1":"1401281466","file0":"1401281463","file4":"1401281473","file5":"1401281475","file3":"1401281471"},"map_files_photo_id_array":[{"photo_id":"1401281475","filename":"file5"},{"photo_id":"1401281468","filename":"file2"},{"photo_id":"1401281473","filename":"file4"},{"photo_id":"1401281466","filename":"file1"},{"photo_id":"1401281463","filename":"file0"},{"photo_id":"1401281471","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281463":["hashtag1","hashtag2"]},{"1401281466":["hashtag1","hashtag2"]},{"1401281475":["hashtag1","hashtag2"]},{"1401281468":["hashtag1","hashtag2"]},{"1401281471":["hashtag1","hashtag2"]},{"1401281473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281463, 1401281466, 1401281475, 1401281468, 1401281471, 1401281473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90730309486389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:23:03.420349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_03_05_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_55_10614.jpg', '/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_44_9604.jpg', '/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_35_9602.jpg', '/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_25_10630.jpg', '/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_14_9625.jpg', '/home/nano/Desktop/images/10122025/14/02/image_10122025_14_03_05_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_55_10614.jpg
/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_44_9604.jpg
/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_35_9602.jpg
/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_25_10630.jpg
/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_14_9625.jpg
/home/nano/Desktop/images/10122025/14/02/image_10122025_14_03_05_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":["1401281481","1401281490","1401281484","1401281493","1401281483","1401281479"],"photo_ids_order":["1401281479","1401281481","1401281483","1401281484","1401281490","1401281493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6940bf9cef55776cb884eb68e6a0d33.jpg","text":"TemporaryFile(/tmp/multipartBody8960376714020287126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845444242,"filename":"image_10122025_14_03_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/12/27/f3b32a12a1b35dcab522db7daf8b8bee.jpg","text":"TemporaryFile(/tmp/multipartBody8882443989525889309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845444242,"filename":"image_10122025_14_03_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/12/27/640423c37194bd45442744ddc3552cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1400788611187285004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845444242,"filename":"image_10122025_14_03_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a905e06688fb7d9b11c08d8d8152e068.jpg","text":"TemporaryFile(/tmp/multipartBody839721157441290451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845444242,"filename":"image_10122025_14_03_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49779200e5c0fe0abcb74deca0e7e02a.jpg","text":"TemporaryFile(/tmp/multipartBody1197336306485691168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845444242,"filename":"image_10122025_14_03_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/749bbcef306d8143871b5db5c33d54cc.jpg","text":"TemporaryFile(/tmp/multipartBody40747923663833287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845444242,"filename":"image_10122025_14_03_55_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281483","file1":"1401281481","file0":"1401281479","file4":"1401281490","file5":"1401281493","file3":"1401281484"},"map_files_photo_id_array":[{"photo_id":"1401281493","filename":"file5"},{"photo_id":"1401281483","filename":"file2"},{"photo_id":"1401281490","filename":"file4"},{"photo_id":"1401281481","filename":"file1"},{"photo_id":"1401281479","filename":"file0"},{"photo_id":"1401281484","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281481":["hashtag1","hashtag2"]},{"1401281490":["hashtag1","hashtag2"]},{"1401281484":["hashtag1","hashtag2"]},{"1401281493":["hashtag1","hashtag2"]},{"1401281483":["hashtag1","hashtag2"]},{"1401281479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281481, 1401281490, 1401281484, 1401281493, 1401281483, 1401281479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.88450813293457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:23:47.673888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_02_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_55_10616.jpg', '/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_35_10611.jpg', '/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_24_9599.jpg', '/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_15_9620.jpg', '/home/nano/Desktop/images/10122025/14/01/image_10122025_14_02_05_10617.jpg', '/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_55_10616.jpg
/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_35_10611.jpg
/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_24_9599.jpg
/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_15_9620.jpg
/home/nano/Desktop/images/10122025/14/01/image_10122025_14_02_05_10617.jpg
/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_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":["1401281503","1401281506","1401281508","1401281505","1401281504","1401281507"],"photo_ids_order":["1401281503","1401281504","1401281505","1401281506","1401281507","1401281508"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0528ba2e7324c5666d5fa8cd9ba4383.jpg","text":"TemporaryFile(/tmp/multipartBody6418814464566089419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845488471,"filename":"image_10122025_14_02_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9f5ff9b4b03489f1e700a9b4aa39ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8315741032406643316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845488471,"filename":"image_10122025_14_02_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ec7c27899d8c2a2671c28b1e1deb3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8633380555654059945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845488471,"filename":"image_10122025_14_01_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/12/27/d7dd9def5edd7d1a0f151f51127762c8.jpg","text":"TemporaryFile(/tmp/multipartBody1635199911417236020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845488471,"filename":"image_10122025_14_02_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/12/27/944591067f83529d96422ee5e38835b4.jpg","text":"TemporaryFile(/tmp/multipartBody1218560146492415925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845488471,"filename":"image_10122025_14_02_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc9ccbef2e41b4bfda5122b22780d010.jpg","text":"TemporaryFile(/tmp/multipartBody5250106646743830551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845488471,"filename":"image_10122025_14_02_05_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281505","file1":"1401281504","file0":"1401281503","file4":"1401281507","file5":"1401281508","file3":"1401281506"},"map_files_photo_id_array":[{"photo_id":"1401281508","filename":"file5"},{"photo_id":"1401281505","filename":"file2"},{"photo_id":"1401281507","filename":"file4"},{"photo_id":"1401281504","filename":"file1"},{"photo_id":"1401281503","filename":"file0"},{"photo_id":"1401281506","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281503":["hashtag1","hashtag2"]},{"1401281506":["hashtag1","hashtag2"]},{"1401281508":["hashtag1","hashtag2"]},{"1401281505":["hashtag1","hashtag2"]},{"1401281504":["hashtag1","hashtag2"]},{"1401281507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281503, 1401281506, 1401281508, 1401281505, 1401281504, 1401281507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59116077423096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:24:32.801184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_01_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_25_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_34_9603.jpg', '/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_25_9602.jpg', '/home/nano/Desktop/images/10122025/14/00/image_10122025_14_01_04_9613.jpg', '/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_45_10613.jpg', '/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_34_9602.jpg', '/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_25_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_34_9603.jpg
/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_25_9602.jpg
/home/nano/Desktop/images/10122025/14/00/image_10122025_14_01_04_9613.jpg
/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_45_10613.jpg
/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_34_9602.jpg
/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_25_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":["1401281524","1401281518","1401281523","1401281517","1401281521","1401281515"],"photo_ids_order":["1401281515","1401281517","1401281518","1401281521","1401281523","1401281524"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb9031b9759306be81d734189f78944d.jpg","text":"TemporaryFile(/tmp/multipartBody6833645852339835190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845533602,"filename":"image_10122025_14_00_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9fd463805a4380a96b25a05a5baa421.jpg","text":"TemporaryFile(/tmp/multipartBody7449239089504987214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845533602,"filename":"image_10122025_14_01_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/12/27/1278b30cb6f61394f3e37832eaab3b31.jpg","text":"TemporaryFile(/tmp/multipartBody4760474961173442880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845533602,"filename":"image_10122025_14_00_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/12/27/a6866e265acfd68758ad2f746618f3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4490885024363643402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845533602,"filename":"image_10122025_14_01_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f954b3ccc55aa5b2cc631bf63e8513d.jpg","text":"TemporaryFile(/tmp/multipartBody4189305074315934029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845533602,"filename":"image_10122025_14_00_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81fc792eaf549575e0846821dd4e3c5d.jpg","text":"TemporaryFile(/tmp/multipartBody4071511151486602676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845533602,"filename":"image_10122025_14_01_34_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281518","file1":"1401281517","file0":"1401281515","file4":"1401281523","file5":"1401281524","file3":"1401281521"},"map_files_photo_id_array":[{"photo_id":"1401281524","filename":"file5"},{"photo_id":"1401281518","filename":"file2"},{"photo_id":"1401281523","filename":"file4"},{"photo_id":"1401281517","filename":"file1"},{"photo_id":"1401281515","filename":"file0"},{"photo_id":"1401281521","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281524":["hashtag1","hashtag2"]},{"1401281518":["hashtag1","hashtag2"]},{"1401281523":["hashtag1","hashtag2"]},{"1401281517":["hashtag1","hashtag2"]},{"1401281521":["hashtag1","hashtag2"]},{"1401281515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281524, 1401281518, 1401281523, 1401281517, 1401281521, 1401281515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06855225563049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:25:16.919749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_14_00_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_55_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_24_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_14_9616.jpg', '/home/nano/Desktop/images/10122025/13/59/image_10122025_14_00_05_9612.jpg', '/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_55_10605.jpg', '/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_44_9597.jpg', '/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_35_10608.jpg', '/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_24_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_14_9616.jpg
/home/nano/Desktop/images/10122025/13/59/image_10122025_14_00_05_9612.jpg
/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_55_10605.jpg
/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_44_9597.jpg
/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_35_10608.jpg
/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_24_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":["1401281527","1401281540","1401281537","1401281531","1401281534","1401281528"],"photo_ids_order":["1401281527","1401281528","1401281531","1401281534","1401281537","1401281540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f565a77b4bd99287ec247dd2366948e8.jpg","text":"TemporaryFile(/tmp/multipartBody1411963034384137494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845577710,"filename":"image_10122025_14_00_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/12/27/3fe3c66a4d5ee5196bcb4f8713ca2632.jpg","text":"TemporaryFile(/tmp/multipartBody7043395887991777030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845577710,"filename":"image_10122025_13_59_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/12/27/64de1a57a9a420b431f654f4cfb9aa28.jpg","text":"TemporaryFile(/tmp/multipartBody5392728063543073857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845577710,"filename":"image_10122025_13_59_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94b2f7444a596d11d8e090299587865e.jpg","text":"TemporaryFile(/tmp/multipartBody3743230825592009458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845577710,"filename":"image_10122025_13_59_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d9fc53249ef4cb06b7f75b545e01e86.jpg","text":"TemporaryFile(/tmp/multipartBody2576512708258682936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845577710,"filename":"image_10122025_13_59_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/12/27/83b3bd430c978a84def8074ba541f4bf.jpg","text":"TemporaryFile(/tmp/multipartBody1852528354397472210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845577710,"filename":"image_10122025_14_00_05_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281531","file1":"1401281528","file0":"1401281527","file4":"1401281537","file5":"1401281540","file3":"1401281534"},"map_files_photo_id_array":[{"photo_id":"1401281540","filename":"file5"},{"photo_id":"1401281531","filename":"file2"},{"photo_id":"1401281537","filename":"file4"},{"photo_id":"1401281528","filename":"file1"},{"photo_id":"1401281527","filename":"file0"},{"photo_id":"1401281534","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281527":["hashtag1","hashtag2"]},{"1401281540":["hashtag1","hashtag2"]},{"1401281537":["hashtag1","hashtag2"]},{"1401281531":["hashtag1","hashtag2"]},{"1401281534":["hashtag1","hashtag2"]},{"1401281528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281527, 1401281540, 1401281537, 1401281531, 1401281534, 1401281528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38737893104553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:26:02.499777
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_59_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_54_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_25_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_15_9603.jpg', '/home/nano/Desktop/images/10122025/13/58/image_10122025_13_59_05_10617.jpg', '/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_54_9597.jpg', '/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_45_10609.jpg', '/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_34_9597.jpg', '/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_25_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_15_9603.jpg
/home/nano/Desktop/images/10122025/13/58/image_10122025_13_59_05_10617.jpg
/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_54_9597.jpg
/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_45_10609.jpg
/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_34_9597.jpg
/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_25_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":["1401281545","1401281544","1401281547","1401281549","1401281543","1401281546"],"photo_ids_order":["1401281543","1401281544","1401281545","1401281546","1401281547","1401281549"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fd7208a32a13b7d3c1775f51f607442.jpg","text":"TemporaryFile(/tmp/multipartBody2559497289868941756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845623361,"filename":"image_10122025_13_58_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/12/27/6d6abe1ee8ad4117e28fd7e6063efe73.jpg","text":"TemporaryFile(/tmp/multipartBody1286923526805772342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845623361,"filename":"image_10122025_13_59_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90668012d0b5cb861de7f628d3e04e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3541644444494015719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845623361,"filename":"image_10122025_13_58_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/12/27/711094f55e2e0f1045c30e144af3585a.jpg","text":"TemporaryFile(/tmp/multipartBody6438208732539055205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845623361,"filename":"image_10122025_13_58_25_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3e4730b044cec3a23c0e5f1d9523e94.jpg","text":"TemporaryFile(/tmp/multipartBody1996656248500322841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845623361,"filename":"image_10122025_13_59_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9f5c20e1c2458e13f2e6c2024c7545d.jpg","text":"TemporaryFile(/tmp/multipartBody8136268058894253554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845623361,"filename":"image_10122025_13_58_45_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281545","file1":"1401281544","file0":"1401281543","file4":"1401281547","file5":"1401281549","file3":"1401281546"},"map_files_photo_id_array":[{"photo_id":"1401281549","filename":"file5"},{"photo_id":"1401281545","filename":"file2"},{"photo_id":"1401281547","filename":"file4"},{"photo_id":"1401281544","filename":"file1"},{"photo_id":"1401281543","filename":"file0"},{"photo_id":"1401281546","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281545":["hashtag1","hashtag2"]},{"1401281544":["hashtag1","hashtag2"]},{"1401281547":["hashtag1","hashtag2"]},{"1401281549":["hashtag1","hashtag2"]},{"1401281543":["hashtag1","hashtag2"]},{"1401281546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281545, 1401281544, 1401281547, 1401281549, 1401281543, 1401281546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16925001144409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:26:47.030558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_58_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_55_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_25_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_15_10618.jpg', '/home/nano/Desktop/images/10122025/13/57/image_10122025_13_58_04_9604.jpg', '/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_55_10603.jpg', '/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_44_9596.jpg', '/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_35_9617.jpg', '/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_25_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_15_10618.jpg
/home/nano/Desktop/images/10122025/13/57/image_10122025_13_58_04_9604.jpg
/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_55_10603.jpg
/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_44_9596.jpg
/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_35_9617.jpg
/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_25_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":["1401281562","1401281556","1401281555","1401281560","1401281554","1401281557"],"photo_ids_order":["1401281554","1401281555","1401281556","1401281557","1401281560","1401281562"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6a0bdcc130bd7ef0912276cf2daeeb1.jpg","text":"TemporaryFile(/tmp/multipartBody2577636744649641276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845667815,"filename":"image_10122025_13_57_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d017963bf6ec790541e274769eca69a9.jpg","text":"TemporaryFile(/tmp/multipartBody7208767127879354528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845667815,"filename":"image_10122025_13_57_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1916d3671881fb53b8363e302d4c2d00.jpg","text":"TemporaryFile(/tmp/multipartBody8535271015422110019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845667815,"filename":"image_10122025_13_58_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/12/27/b19680b44d3307efd13531fdebe3249a.jpg","text":"TemporaryFile(/tmp/multipartBody8825513753771639172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845667815,"filename":"image_10122025_13_57_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f00fd5cb19ed1b52ef3e1c4f11b3fb4c.jpg","text":"TemporaryFile(/tmp/multipartBody5739698743190326437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845667815,"filename":"image_10122025_13_58_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b69f6da6e6af9cfea88cffe2d67aaea4.jpg","text":"TemporaryFile(/tmp/multipartBody7343909052841941333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845667815,"filename":"image_10122025_13_57_44_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281556","file1":"1401281555","file0":"1401281554","file4":"1401281560","file5":"1401281562","file3":"1401281557"},"map_files_photo_id_array":[{"photo_id":"1401281562","filename":"file5"},{"photo_id":"1401281556","filename":"file2"},{"photo_id":"1401281560","filename":"file4"},{"photo_id":"1401281555","filename":"file1"},{"photo_id":"1401281554","filename":"file0"},{"photo_id":"1401281557","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281562":["hashtag1","hashtag2"]},{"1401281556":["hashtag1","hashtag2"]},{"1401281555":["hashtag1","hashtag2"]},{"1401281560":["hashtag1","hashtag2"]},{"1401281554":["hashtag1","hashtag2"]},{"1401281557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281562, 1401281556, 1401281555, 1401281560, 1401281554, 1401281557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9235634803772 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:27:32.152949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_9595.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6932919025421143 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:27:47.107485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg', '/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_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":["1401281580","1401281582","1401281576","1401281579","1401281578","1401281581"],"photo_ids_order":["1401281576","1401281578","1401281579","1401281580","1401281581","1401281582"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c14f44202fb2490bfa334ae0b0230ccc.jpg","text":"TemporaryFile(/tmp/multipartBody1955691823820714602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845727894,"filename":"image_10122025_13_56_45_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd1eeb176794dfbad3a3bc78b9fb1617.jpg","text":"TemporaryFile(/tmp/multipartBody2063540333548927120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845727894,"filename":"image_10122025_13_56_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/12/27/95b9c938df0c36741b6571ae4f524099.jpg","text":"TemporaryFile(/tmp/multipartBody1989212682376453677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845727894,"filename":"image_10122025_13_57_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/159c69e9262c11fb39fdac8dbd2d0ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1816673324818119770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845727894,"filename":"image_10122025_13_56_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/12/27/bbcd558b397296bbb4664f1c1a429691.jpg","text":"TemporaryFile(/tmp/multipartBody6633903508507999819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845727894,"filename":"image_10122025_13_57_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03035007f50241f287d3ecd8942b10b1.jpg","text":"TemporaryFile(/tmp/multipartBody8234515966532517759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845727894,"filename":"image_10122025_13_56_35_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281579","file1":"1401281578","file0":"1401281576","file4":"1401281581","file5":"1401281582","file3":"1401281580"},"map_files_photo_id_array":[{"photo_id":"1401281582","filename":"file5"},{"photo_id":"1401281579","filename":"file2"},{"photo_id":"1401281581","filename":"file4"},{"photo_id":"1401281578","filename":"file1"},{"photo_id":"1401281576","filename":"file0"},{"photo_id":"1401281580","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281580":["hashtag1","hashtag2"]},{"1401281582":["hashtag1","hashtag2"]},{"1401281576":["hashtag1","hashtag2"]},{"1401281579":["hashtag1","hashtag2"]},{"1401281578":["hashtag1","hashtag2"]},{"1401281581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281580, 1401281582, 1401281576, 1401281579, 1401281578, 1401281581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.023191928863525 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:28:32.204974
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_56_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_55_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_25_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_15_10617.jpg', '/home/nano/Desktop/images/10122025/13/55/image_10122025_13_56_04_9601.jpg', '/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_55_9595.jpg', '/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_45_10607.jpg', '/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_34_9618.jpg', '/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_25_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_15_10617.jpg
/home/nano/Desktop/images/10122025/13/55/image_10122025_13_56_04_9601.jpg
/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_55_9595.jpg
/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_45_10607.jpg
/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_34_9618.jpg
/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_25_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":["1401281592","1401281589","1401281598","1401281594","1401281597","1401281596"],"photo_ids_order":["1401281589","1401281592","1401281594","1401281596","1401281597","1401281598"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cb6713c7129b4251e172eb75c6a80c3.jpg","text":"TemporaryFile(/tmp/multipartBody1191611172616849026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845772982,"filename":"image_10122025_13_56_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/12/27/fe5a9313e576a070d11d024dfddac2e5.jpg","text":"TemporaryFile(/tmp/multipartBody4500216814456053553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845772982,"filename":"image_10122025_13_56_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c68a4d4ee27c85d3c20c55a91f43a2ce.jpg","text":"TemporaryFile(/tmp/multipartBody2098421864616237884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845772982,"filename":"image_10122025_13_55_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c641067a394e27cdae272d3026152c96.jpg","text":"TemporaryFile(/tmp/multipartBody3833740277004190455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845772982,"filename":"image_10122025_13_55_55_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6143a91432d7b441baab3494e0f7f2db.jpg","text":"TemporaryFile(/tmp/multipartBody4361900906723109460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845772982,"filename":"image_10122025_13_55_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/12/27/cdbfa8995396309666e5a7258181e473.jpg","text":"TemporaryFile(/tmp/multipartBody5441530447514675544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845772982,"filename":"image_10122025_13_55_45_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281594","file1":"1401281592","file0":"1401281589","file4":"1401281597","file5":"1401281598","file3":"1401281596"},"map_files_photo_id_array":[{"photo_id":"1401281598","filename":"file5"},{"photo_id":"1401281594","filename":"file2"},{"photo_id":"1401281597","filename":"file4"},{"photo_id":"1401281592","filename":"file1"},{"photo_id":"1401281589","filename":"file0"},{"photo_id":"1401281596","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281592":["hashtag1","hashtag2"]},{"1401281589":["hashtag1","hashtag2"]},{"1401281598":["hashtag1","hashtag2"]},{"1401281594":["hashtag1","hashtag2"]},{"1401281597":["hashtag1","hashtag2"]},{"1401281596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281592, 1401281589, 1401281598, 1401281594, 1401281597, 1401281596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32709717750549 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:29:17.358613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_55_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_25_10601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_15_10628.jpg', '/home/nano/Desktop/images/10122025/13/54/image_10122025_13_55_04_9637.jpg', '/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_55_10604.jpg', '/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_44_9618.jpg', '/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_35_9598.jpg', '/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_25_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_15_10628.jpg
/home/nano/Desktop/images/10122025/13/54/image_10122025_13_55_04_9637.jpg
/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_55_10604.jpg
/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_44_9618.jpg
/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_35_9598.jpg
/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_25_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":["1401281602","1401281611","1401281605","1401281613","1401281601","1401281609"],"photo_ids_order":["1401281601","1401281602","1401281605","1401281609","1401281611","1401281613"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/033e5a330d3e0e5a3e61d56e2d31bf64.jpg","text":"TemporaryFile(/tmp/multipartBody2050377354048274371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845818168,"filename":"image_10122025_13_55_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/12/27/3003b1843239e9d41e76efaea362a7d8.jpg","text":"TemporaryFile(/tmp/multipartBody6761123675875964834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845818168,"filename":"image_10122025_13_54_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf78f07203c9fe10a5a8544f4462a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody4942441227147547273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845818168,"filename":"image_10122025_13_54_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3769f7ded54d721e258eb2b96910c76.jpg","text":"TemporaryFile(/tmp/multipartBody5583076816689467790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845818168,"filename":"image_10122025_13_54_25_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15f08951afcdfd1e9bc9b1926385867c.jpg","text":"TemporaryFile(/tmp/multipartBody8865890585328627262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845818168,"filename":"image_10122025_13_55_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f8ed4753426e90b60770ce784b7d4ba.jpg","text":"TemporaryFile(/tmp/multipartBody7288958047057912496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845818168,"filename":"image_10122025_13_54_44_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281605","file1":"1401281602","file0":"1401281601","file4":"1401281611","file5":"1401281613","file3":"1401281609"},"map_files_photo_id_array":[{"photo_id":"1401281613","filename":"file5"},{"photo_id":"1401281605","filename":"file2"},{"photo_id":"1401281611","filename":"file4"},{"photo_id":"1401281602","filename":"file1"},{"photo_id":"1401281601","filename":"file0"},{"photo_id":"1401281609","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281602":["hashtag1","hashtag2"]},{"1401281611":["hashtag1","hashtag2"]},{"1401281605":["hashtag1","hashtag2"]},{"1401281613":["hashtag1","hashtag2"]},{"1401281601":["hashtag1","hashtag2"]},{"1401281609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281602, 1401281611, 1401281605, 1401281613, 1401281601, 1401281609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.308950901031494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:30:02.943750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_54_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_54_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_24_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_14_9614.jpg', '/home/nano/Desktop/images/10122025/13/53/image_10122025_13_54_05_10614.jpg', '/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_54_9597.jpg', '/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_45_9607.jpg', '/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_35_10607.jpg', '/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_24_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_14_9614.jpg
/home/nano/Desktop/images/10122025/13/53/image_10122025_13_54_05_10614.jpg
/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_54_9597.jpg
/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_45_9607.jpg
/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_35_10607.jpg
/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_24_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":["1401281623","1401281626","1401281619","1401281622","1401281621","1401281620"],"photo_ids_order":["1401281619","1401281620","1401281621","1401281622","1401281623","1401281626"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68d8a155f33694ec3a58325fc7380bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7547428267752795292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845863864,"filename":"image_10122025_13_53_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65c58b6e831d0ecafeff68ac0e99ce96.jpg","text":"TemporaryFile(/tmp/multipartBody3090984635669989083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845863864,"filename":"image_10122025_13_53_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2f5347309dd044b09729cd598da8538.jpg","text":"TemporaryFile(/tmp/multipartBody8043971157353288719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845863864,"filename":"image_10122025_13_54_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/12/27/766de7f91a6b395e4ee9fc7ffec99e73.jpg","text":"TemporaryFile(/tmp/multipartBody8226590041307992112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845863864,"filename":"image_10122025_13_53_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55215588574f1f83ba9db77710196548.jpg","text":"TemporaryFile(/tmp/multipartBody2985793628062413596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845863864,"filename":"image_10122025_13_53_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/12/27/fd291211abca4108aeeaf3ca21a9886b.jpg","text":"TemporaryFile(/tmp/multipartBody7288921790916732558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845863864,"filename":"image_10122025_13_54_05_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281621","file1":"1401281620","file0":"1401281619","file4":"1401281623","file5":"1401281626","file3":"1401281622"},"map_files_photo_id_array":[{"photo_id":"1401281626","filename":"file5"},{"photo_id":"1401281621","filename":"file2"},{"photo_id":"1401281623","filename":"file4"},{"photo_id":"1401281620","filename":"file1"},{"photo_id":"1401281619","filename":"file0"},{"photo_id":"1401281622","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281623":["hashtag1","hashtag2"]},{"1401281626":["hashtag1","hashtag2"]},{"1401281619":["hashtag1","hashtag2"]},{"1401281622":["hashtag1","hashtag2"]},{"1401281621":["hashtag1","hashtag2"]},{"1401281620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281623, 1401281626, 1401281619, 1401281622, 1401281621, 1401281620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.927380323410034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:30:47.544433
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/15/30/image_27122025_15_30_44_9524.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/15/30/image_27122025_15_30_44_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/15/30/image_27122025_15_30_44_9524.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401281636"],"photo_id":"1401281636","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4e192825da3db330da7742636b5b318.jpg","text":"TemporaryFile(/tmp/multipartBody4585225895010832280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845907794,"filename":"image_27122025_15_30_44_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401281636"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401281636"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.304343461990356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:31:03.398287
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_53_04_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_55_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_25_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_15_10642.jpg', '/home/nano/Desktop/images/10122025/13/52/image_10122025_13_53_04_9603.jpg', '/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_55_9596.jpg', '/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_45_10623.jpg', '/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_34_9597.jpg', '/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_25_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_15_10642.jpg
/home/nano/Desktop/images/10122025/13/52/image_10122025_13_53_04_9603.jpg
/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_55_9596.jpg
/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_45_10623.jpg
/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_34_9597.jpg
/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_25_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":["1401281638","1401281694","1401281637","1401281657","1401281639","1401281686"],"photo_ids_order":["1401281637","1401281638","1401281639","1401281657","1401281686","1401281694"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28ebda3d03ae9267cf671e3157343d80.jpg","text":"TemporaryFile(/tmp/multipartBody6927884527342906947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845924273,"filename":"image_10122025_13_53_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab639cc2594cb0b127b64c858e692940.jpg","text":"TemporaryFile(/tmp/multipartBody2090103365869787519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845924273,"filename":"image_10122025_13_52_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b38d0510472a6209d098d85e37d65c58.jpg","text":"TemporaryFile(/tmp/multipartBody1448480774105800834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845924273,"filename":"image_10122025_13_53_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecb254ab5acc931113af1af409587b66.jpg","text":"TemporaryFile(/tmp/multipartBody7263094077461562162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845924273,"filename":"image_10122025_13_52_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b9da8fc66a4906a36b15eba757e3599.jpg","text":"TemporaryFile(/tmp/multipartBody3068467825891567479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845924273,"filename":"image_10122025_13_52_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ca5250104cee44a542bc14876048712.jpg","text":"TemporaryFile(/tmp/multipartBody821270675674694911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845924273,"filename":"image_10122025_13_52_34_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281639","file1":"1401281638","file0":"1401281637","file4":"1401281686","file5":"1401281694","file3":"1401281657"},"map_files_photo_id_array":[{"photo_id":"1401281694","filename":"file5"},{"photo_id":"1401281639","filename":"file2"},{"photo_id":"1401281686","filename":"file4"},{"photo_id":"1401281638","filename":"file1"},{"photo_id":"1401281637","filename":"file0"},{"photo_id":"1401281657","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281638":["hashtag1","hashtag2"]},{"1401281694":["hashtag1","hashtag2"]},{"1401281637":["hashtag1","hashtag2"]},{"1401281657":["hashtag1","hashtag2"]},{"1401281639":["hashtag1","hashtag2"]},{"1401281686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281638, 1401281694, 1401281637, 1401281657, 1401281639, 1401281686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62142062187195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:31:47.671059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_52_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_25_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_14_9623.jpg', '/home/nano/Desktop/images/10122025/13/51/image_10122025_13_52_04_9601.jpg', '/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_55_10604.jpg', '/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_44_9613.jpg', '/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_35_9617.jpg', '/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_25_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_14_9623.jpg
/home/nano/Desktop/images/10122025/13/51/image_10122025_13_52_04_9601.jpg
/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_55_10604.jpg
/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_44_9613.jpg
/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_35_9617.jpg
/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_25_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":["1401281803","1401281769","1401281934","1401281835","1401281867","1401281900"],"photo_ids_order":["1401281769","1401281803","1401281835","1401281867","1401281900","1401281934"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b650e2f8febde6fea7667975521ada62.jpg","text":"TemporaryFile(/tmp/multipartBody8037263337473264297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845968473,"filename":"image_10122025_13_52_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/12/27/c45807b51eeefa77370dcd654167a8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8436213286814883158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845968473,"filename":"image_10122025_13_52_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/12/27/eefb3488540dce3626135239cfda01cd.jpg","text":"TemporaryFile(/tmp/multipartBody8287275754066301373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845968473,"filename":"image_10122025_13_51_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d83bcc441b14a54ae9c6c5b089681c71.jpg","text":"TemporaryFile(/tmp/multipartBody6474697150068575040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845968473,"filename":"image_10122025_13_51_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25f8cc02c7ddb0f34e07c5e9c8ecea9e.jpg","text":"TemporaryFile(/tmp/multipartBody265525003483949533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845968473,"filename":"image_10122025_13_51_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/12/27/49eb6fa153e02d78d8df78e62ca527ab.jpg","text":"TemporaryFile(/tmp/multipartBody2977682887609622463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766845968473,"filename":"image_10122025_13_51_35_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401281835","file1":"1401281803","file0":"1401281769","file4":"1401281900","file5":"1401281934","file3":"1401281867"},"map_files_photo_id_array":[{"photo_id":"1401281934","filename":"file5"},{"photo_id":"1401281835","filename":"file2"},{"photo_id":"1401281900","filename":"file4"},{"photo_id":"1401281803","filename":"file1"},{"photo_id":"1401281769","filename":"file0"},{"photo_id":"1401281867","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401281803":["hashtag1","hashtag2"]},{"1401281769":["hashtag1","hashtag2"]},{"1401281934":["hashtag1","hashtag2"]},{"1401281835":["hashtag1","hashtag2"]},{"1401281867":["hashtag1","hashtag2"]},{"1401281900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401281803, 1401281769, 1401281934, 1401281835, 1401281867, 1401281900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87852907180786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:32:32.744909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_51_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_45_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_24_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_14_9615.jpg', '/home/nano/Desktop/images/10122025/13/50/image_10122025_13_51_05_10610.jpg', '/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_54_9596.jpg', '/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_45_9591.jpg', '/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_35_10603.jpg', '/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_24_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_14_9615.jpg
/home/nano/Desktop/images/10122025/13/50/image_10122025_13_51_05_10610.jpg
/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_54_9596.jpg
/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_45_9591.jpg
/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_35_10603.jpg
/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_24_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":["1401282057","1401282059","1401282053","1401282082","1401282022","1401282001"],"photo_ids_order":["1401282001","1401282022","1401282053","1401282057","1401282059","1401282082"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b619fdf9abcf613e76b82f07840980f.jpg","text":"TemporaryFile(/tmp/multipartBody7339187640806420430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846013524,"filename":"image_10122025_13_50_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/170e0a15aa93c53aa58c706f2cc2b868.jpg","text":"TemporaryFile(/tmp/multipartBody5421205968320459391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846013524,"filename":"image_10122025_13_50_35_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f614aa4241643b8d5f4361e0d2114f8.jpg","text":"TemporaryFile(/tmp/multipartBody8832387577634221855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846013524,"filename":"image_10122025_13_50_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/12/27/9d02ebe3066870aea3737615eafae715.jpg","text":"TemporaryFile(/tmp/multipartBody339663021587240420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846013524,"filename":"image_10122025_13_50_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/12/27/eb43c8bcc5e09a5b02c593edfa913cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7155760783717209742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846013524,"filename":"image_10122025_13_51_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efb5d95fcb867a071e2a7333df8977a1.jpg","text":"TemporaryFile(/tmp/multipartBody1093684064797880017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846013524,"filename":"image_10122025_13_51_14_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282053","file1":"1401282022","file0":"1401282001","file4":"1401282059","file5":"1401282082","file3":"1401282057"},"map_files_photo_id_array":[{"photo_id":"1401282082","filename":"file5"},{"photo_id":"1401282053","filename":"file2"},{"photo_id":"1401282059","filename":"file4"},{"photo_id":"1401282022","filename":"file1"},{"photo_id":"1401282001","filename":"file0"},{"photo_id":"1401282057","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282057":["hashtag1","hashtag2"]},{"1401282059":["hashtag1","hashtag2"]},{"1401282053":["hashtag1","hashtag2"]},{"1401282082":["hashtag1","hashtag2"]},{"1401282022":["hashtag1","hashtag2"]},{"1401282001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282057, 1401282059, 1401282053, 1401282082, 1401282022, 1401282001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.978390216827393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:33:16.829959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_50_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_55_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_25_10596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_15_10625.jpg', '/home/nano/Desktop/images/10122025/13/49/image_10122025_13_50_04_9616.jpg', '/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_55_9593.jpg', '/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_45_10607.jpg', '/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_34_9597.jpg', '/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_25_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_15_10625.jpg
/home/nano/Desktop/images/10122025/13/49/image_10122025_13_50_04_9616.jpg
/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_55_9593.jpg
/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_45_10607.jpg
/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_34_9597.jpg
/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_25_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":["1401282114","1401282117","1401282111","1401282119","1401282110","1401282121"],"photo_ids_order":["1401282110","1401282111","1401282114","1401282117","1401282119","1401282121"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca0502bb5015e7a82b59abf38bda0a90.jpg","text":"TemporaryFile(/tmp/multipartBody7353026420422720531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846057615,"filename":"image_10122025_13_49_55_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca8e2b4efd44338f5ed54700f98d73b8.jpg","text":"TemporaryFile(/tmp/multipartBody4952122357047864787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846057615,"filename":"image_10122025_13_49_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/727e590f0e7890d27a29b3e27187cba6.jpg","text":"TemporaryFile(/tmp/multipartBody989472095029654126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846057615,"filename":"image_10122025_13_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/12/27/7d885ae2b27c8d287a9b516f4c825cd1.jpg","text":"TemporaryFile(/tmp/multipartBody4344162059646674470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846057615,"filename":"image_10122025_13_49_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/12/27/ccd9ddd869df2d19616e2024540f1b88.jpg","text":"TemporaryFile(/tmp/multipartBody6295634968927519352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846057615,"filename":"image_10122025_13_50_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea8fc57928e624eb1b454bae3001db2a.jpg","text":"TemporaryFile(/tmp/multipartBody2098813220070454773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846057615,"filename":"image_10122025_13_49_25_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282114","file1":"1401282111","file0":"1401282110","file4":"1401282119","file5":"1401282121","file3":"1401282117"},"map_files_photo_id_array":[{"photo_id":"1401282121","filename":"file5"},{"photo_id":"1401282114","filename":"file2"},{"photo_id":"1401282119","filename":"file4"},{"photo_id":"1401282111","filename":"file1"},{"photo_id":"1401282110","filename":"file0"},{"photo_id":"1401282117","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282114":["hashtag1","hashtag2"]},{"1401282117":["hashtag1","hashtag2"]},{"1401282111":["hashtag1","hashtag2"]},{"1401282119":["hashtag1","hashtag2"]},{"1401282110":["hashtag1","hashtag2"]},{"1401282121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282114, 1401282117, 1401282111, 1401282119, 1401282110, 1401282121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02994513511658 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:34:02.602077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_9616.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7653074264526367 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:34:17.033802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg', '/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_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":["1401282132","1401282141","1401282135","1401282138","1401282142","1401282130"],"photo_ids_order":["1401282130","1401282132","1401282135","1401282138","1401282141","1401282142"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10a6cf35b3a398b18e907a30254295d2.jpg","text":"TemporaryFile(/tmp/multipartBody383684565531957332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846117846,"filename":"image_10122025_13_49_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8475b3045d44830248c12ae916b56f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2474461128276971003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846117846,"filename":"image_10122025_13_48_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69874ce65cf59992adb9f73e710ee6c8.jpg","text":"TemporaryFile(/tmp/multipartBody4975476757133176100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846117846,"filename":"image_10122025_13_48_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba749f915cf3c7acf5f2cb04fd60e19e.jpg","text":"TemporaryFile(/tmp/multipartBody8253555850452320665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846117846,"filename":"image_10122025_13_48_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/12/27/5bc6c0b2f4a76f142ffcf67cd2275e89.jpg","text":"TemporaryFile(/tmp/multipartBody1293346674179869147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846117846,"filename":"image_10122025_13_48_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/12/27/a737dec8bdbba4598d47b38c0cf15904.jpg","text":"TemporaryFile(/tmp/multipartBody4228232985558856111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846117846,"filename":"image_10122025_13_49_14_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282135","file1":"1401282132","file0":"1401282130","file4":"1401282141","file5":"1401282142","file3":"1401282138"},"map_files_photo_id_array":[{"photo_id":"1401282142","filename":"file5"},{"photo_id":"1401282135","filename":"file2"},{"photo_id":"1401282141","filename":"file4"},{"photo_id":"1401282132","filename":"file1"},{"photo_id":"1401282130","filename":"file0"},{"photo_id":"1401282138","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282132":["hashtag1","hashtag2"]},{"1401282141":["hashtag1","hashtag2"]},{"1401282135":["hashtag1","hashtag2"]},{"1401282138":["hashtag1","hashtag2"]},{"1401282142":["hashtag1","hashtag2"]},{"1401282130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282132, 1401282141, 1401282135, 1401282138, 1401282142, 1401282130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.213664054870605 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:35:02.857781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_48_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_54_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_45_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_24_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_15_9617.jpg', '/home/nano/Desktop/images/10122025/13/47/image_10122025_13_48_05_10623.jpg', '/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_54_9611.jpg', '/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_45_9597.jpg', '/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_35_10606.jpg', '/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_24_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_15_9617.jpg
/home/nano/Desktop/images/10122025/13/47/image_10122025_13_48_05_10623.jpg
/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_54_9611.jpg
/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_45_9597.jpg
/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_35_10606.jpg
/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_24_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":["1401282150","1401282147","1401282156","1401282152","1401282149","1401282148"],"photo_ids_order":["1401282147","1401282148","1401282149","1401282150","1401282152","1401282156"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7616f70120b81df31abaaf9fc5ba39e7.jpg","text":"TemporaryFile(/tmp/multipartBody3727909009176505934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846163718,"filename":"image_10122025_13_47_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/145e74e0cba452ffefa0c9ccb040fbbf.jpg","text":"TemporaryFile(/tmp/multipartBody8114024102118744467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846163718,"filename":"image_10122025_13_48_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22504d8b0b9e5f1d27dc9e2226904e3d.jpg","text":"TemporaryFile(/tmp/multipartBody1624925314387086215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846163718,"filename":"image_10122025_13_47_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/12/27/393e17d5347eae6c573fb54411d1dd30.jpg","text":"TemporaryFile(/tmp/multipartBody2168123129884099524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846163718,"filename":"image_10122025_13_47_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c7a834be184043331d05405f48fbec6.jpg","text":"TemporaryFile(/tmp/multipartBody8088817302431963948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846163718,"filename":"image_10122025_13_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/12/27/c567283b81737a5062bc97b307e6bf81.jpg","text":"TemporaryFile(/tmp/multipartBody4507869576457746680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846163718,"filename":"image_10122025_13_48_05_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282149","file1":"1401282148","file0":"1401282147","file4":"1401282152","file5":"1401282156","file3":"1401282150"},"map_files_photo_id_array":[{"photo_id":"1401282156","filename":"file5"},{"photo_id":"1401282149","filename":"file2"},{"photo_id":"1401282152","filename":"file4"},{"photo_id":"1401282148","filename":"file1"},{"photo_id":"1401282147","filename":"file0"},{"photo_id":"1401282150","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282150":["hashtag1","hashtag2"]},{"1401282147":["hashtag1","hashtag2"]},{"1401282156":["hashtag1","hashtag2"]},{"1401282152":["hashtag1","hashtag2"]},{"1401282149":["hashtag1","hashtag2"]},{"1401282148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282150, 1401282147, 1401282156, 1401282152, 1401282149, 1401282148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74232506752014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:35:47.092124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_47_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_55_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_25_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_15_10615.jpg', '/home/nano/Desktop/images/10122025/13/46/image_10122025_13_47_04_9610.jpg', '/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_55_9602.jpg', '/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_45_10611.jpg', '/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_34_9602.jpg', '/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_25_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_15_10615.jpg
/home/nano/Desktop/images/10122025/13/46/image_10122025_13_47_04_9610.jpg
/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_55_9602.jpg
/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_45_10611.jpg
/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_34_9602.jpg
/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_25_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":["1401282165","1401282168","1401282170","1401282167","1401282166","1401282169"],"photo_ids_order":["1401282165","1401282166","1401282167","1401282168","1401282169","1401282170"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/162e2581ce5f87798d732f7f94d971a8.jpg","text":"TemporaryFile(/tmp/multipartBody7402051854007833612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846207900,"filename":"image_10122025_13_47_15_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9fda7500a5bdbc451b157fbc15f73db.jpg","text":"TemporaryFile(/tmp/multipartBody8541627765200629229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846207900,"filename":"image_10122025_13_46_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88f8a7cac3fcf961c2faa2bc147a574e.jpg","text":"TemporaryFile(/tmp/multipartBody4208888236379698171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846207900,"filename":"image_10122025_13_46_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64a5f28c872ce19c3304e4ba37dfc732.jpg","text":"TemporaryFile(/tmp/multipartBody1551884455304180042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846207900,"filename":"image_10122025_13_46_55_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0017b593b68c26ae0f70307df0a85c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4964974435094339926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846207900,"filename":"image_10122025_13_47_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/12/27/45169e3014397a506195f2797af0bff0.jpg","text":"TemporaryFile(/tmp/multipartBody5567981228275201800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846207900,"filename":"image_10122025_13_46_34_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282167","file1":"1401282166","file0":"1401282165","file4":"1401282169","file5":"1401282170","file3":"1401282168"},"map_files_photo_id_array":[{"photo_id":"1401282170","filename":"file5"},{"photo_id":"1401282167","filename":"file2"},{"photo_id":"1401282169","filename":"file4"},{"photo_id":"1401282166","filename":"file1"},{"photo_id":"1401282165","filename":"file0"},{"photo_id":"1401282168","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282165":["hashtag1","hashtag2"]},{"1401282168":["hashtag1","hashtag2"]},{"1401282170":["hashtag1","hashtag2"]},{"1401282167":["hashtag1","hashtag2"]},{"1401282166":["hashtag1","hashtag2"]},{"1401282169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282165, 1401282168, 1401282170, 1401282167, 1401282166, 1401282169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.226314544677734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:36:32.262570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_46_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_24_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_14_9612.jpg', '/home/nano/Desktop/images/10122025/13/45/image_10122025_13_46_05_9625.jpg', '/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_55_10611.jpg', '/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_44_9593.jpg', '/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_35_10603.jpg', '/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_24_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_14_9612.jpg
/home/nano/Desktop/images/10122025/13/45/image_10122025_13_46_05_9625.jpg
/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_55_10611.jpg
/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_44_9593.jpg
/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_35_10603.jpg
/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_24_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":["1401282186","1401282185","1401282179","1401282181","1401282183","1401282177"],"photo_ids_order":["1401282177","1401282179","1401282181","1401282183","1401282185","1401282186"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d345874ad2709b303e354974f52e724d.jpg","text":"TemporaryFile(/tmp/multipartBody7833604228013779954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846253072,"filename":"image_10122025_13_45_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/12/27/77f12214441f2752f036a7780366fefc.jpg","text":"TemporaryFile(/tmp/multipartBody832457971479885533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846253072,"filename":"image_10122025_13_45_35_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41096f5d047763758bd0133f5cc69320.jpg","text":"TemporaryFile(/tmp/multipartBody1057144789630080804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846253072,"filename":"image_10122025_13_46_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/80e304ca8bf3a6afb6ebfaf2c53f62f0.jpg","text":"TemporaryFile(/tmp/multipartBody7743418400554344331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846253072,"filename":"image_10122025_13_45_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4f105102a097a8a26f8c1cfd4628abc.jpg","text":"TemporaryFile(/tmp/multipartBody317631667968461720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846253072,"filename":"image_10122025_13_45_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/12/27/81772bf3e6212bb56b1a80edbfc8882f.jpg","text":"TemporaryFile(/tmp/multipartBody3143297424178911305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846253072,"filename":"image_10122025_13_46_14_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282181","file1":"1401282179","file0":"1401282177","file4":"1401282185","file5":"1401282186","file3":"1401282183"},"map_files_photo_id_array":[{"photo_id":"1401282186","filename":"file5"},{"photo_id":"1401282181","filename":"file2"},{"photo_id":"1401282185","filename":"file4"},{"photo_id":"1401282179","filename":"file1"},{"photo_id":"1401282177","filename":"file0"},{"photo_id":"1401282183","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282186":["hashtag1","hashtag2"]},{"1401282185":["hashtag1","hashtag2"]},{"1401282179":["hashtag1","hashtag2"]},{"1401282181":["hashtag1","hashtag2"]},{"1401282183":["hashtag1","hashtag2"]},{"1401282177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282186, 1401282185, 1401282179, 1401282181, 1401282183, 1401282177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69131422042847 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:37:17.268980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_45_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_34_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_25_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_15_9612.jpg', '/home/nano/Desktop/images/10122025/13/44/image_10122025_13_45_05_10633.jpg', '/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_54_9595.jpg', '/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_45_10602.jpg', '/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_34_9591.jpg', '/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_25_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_15_9612.jpg
/home/nano/Desktop/images/10122025/13/44/image_10122025_13_45_05_10633.jpg
/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_54_9595.jpg
/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_45_10602.jpg
/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_34_9591.jpg
/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_25_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":["1401282191","1401282194","1401282188","1401282197","1401282199","1401282187"],"photo_ids_order":["1401282187","1401282188","1401282191","1401282194","1401282197","1401282199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b59387b2c9dc0419511f3b6dacf9efcd.jpg","text":"TemporaryFile(/tmp/multipartBody7859518647630714400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846298068,"filename":"image_10122025_13_44_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/12/27/a7d7ad4bc3ce9414a5f0aeba18dde5a7.jpg","text":"TemporaryFile(/tmp/multipartBody3806594023494438248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846298068,"filename":"image_10122025_13_44_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf249f8d41d76a71e889c8d4e95e3ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6900261004394919248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846298068,"filename":"image_10122025_13_45_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/024cbe288cc34a5ed0bb575704b8ed8a.jpg","text":"TemporaryFile(/tmp/multipartBody382756864837270833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846298068,"filename":"image_10122025_13_44_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47ed69d84d480eddfa01246d0e933dde.jpg","text":"TemporaryFile(/tmp/multipartBody8422708647794344269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846298068,"filename":"image_10122025_13_44_25_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3db97babcc4a5ccee0a579ae26576a31.jpg","text":"TemporaryFile(/tmp/multipartBody2389506496232072923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846298068,"filename":"image_10122025_13_45_15_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282191","file1":"1401282188","file0":"1401282187","file4":"1401282197","file5":"1401282199","file3":"1401282194"},"map_files_photo_id_array":[{"photo_id":"1401282199","filename":"file5"},{"photo_id":"1401282191","filename":"file2"},{"photo_id":"1401282197","filename":"file4"},{"photo_id":"1401282188","filename":"file1"},{"photo_id":"1401282187","filename":"file0"},{"photo_id":"1401282194","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282191":["hashtag1","hashtag2"]},{"1401282194":["hashtag1","hashtag2"]},{"1401282188":["hashtag1","hashtag2"]},{"1401282197":["hashtag1","hashtag2"]},{"1401282199":["hashtag1","hashtag2"]},{"1401282187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282191, 1401282194, 1401282188, 1401282197, 1401282199, 1401282187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54618000984192 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:38:03.025449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_44_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_25_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_15_10620.jpg', '/home/nano/Desktop/images/10122025/13/43/image_10122025_13_44_04_9598.jpg', '/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_55_10604.jpg', '/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_44_9591.jpg', '/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_35_9594.jpg', '/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_25_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_15_10620.jpg
/home/nano/Desktop/images/10122025/13/43/image_10122025_13_44_04_9598.jpg
/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_55_10604.jpg
/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_44_9591.jpg
/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_35_9594.jpg
/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_25_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":["1401282204","1401282207","1401282206","1401282211","1401282205","1401282208"],"photo_ids_order":["1401282204","1401282205","1401282206","1401282207","1401282208","1401282211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20eec3ffffc53f0f8e3c6a9799ceed58.jpg","text":"TemporaryFile(/tmp/multipartBody5558925250397312880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846343872,"filename":"image_10122025_13_44_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1994059e1789dc227e2da4ba844ceb3c.jpg","text":"TemporaryFile(/tmp/multipartBody4253518920877111165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846343872,"filename":"image_10122025_13_43_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d8732ad9f7d39f7671867976335cd88.jpg","text":"TemporaryFile(/tmp/multipartBody8176374570209963468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846343872,"filename":"image_10122025_13_43_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c2c071b763d2ee96991feaa701b9149.jpg","text":"TemporaryFile(/tmp/multipartBody4378163986480152620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846343872,"filename":"image_10122025_13_43_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/346f3f6043c6d8360b1cd36c4c245336.jpg","text":"TemporaryFile(/tmp/multipartBody326283867978740885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846343872,"filename":"image_10122025_13_44_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd422cb9aa7ea2f8936755c11b97eebd.jpg","text":"TemporaryFile(/tmp/multipartBody730717560264431116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846343872,"filename":"image_10122025_13_43_35_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282206","file1":"1401282205","file0":"1401282204","file4":"1401282208","file5":"1401282211","file3":"1401282207"},"map_files_photo_id_array":[{"photo_id":"1401282211","filename":"file5"},{"photo_id":"1401282206","filename":"file2"},{"photo_id":"1401282208","filename":"file4"},{"photo_id":"1401282205","filename":"file1"},{"photo_id":"1401282204","filename":"file0"},{"photo_id":"1401282207","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282204":["hashtag1","hashtag2"]},{"1401282207":["hashtag1","hashtag2"]},{"1401282206":["hashtag1","hashtag2"]},{"1401282211":["hashtag1","hashtag2"]},{"1401282205":["hashtag1","hashtag2"]},{"1401282208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282204, 1401282207, 1401282206, 1401282211, 1401282205, 1401282208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03263783454895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:38:47.404587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_43_05_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_54_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_24_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_14_9612.jpg', '/home/nano/Desktop/images/10122025/13/42/image_10122025_13_43_05_10606.jpg', '/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_54_9592.jpg', '/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_44_9618.jpg', '/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_35_10607.jpg', '/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_24_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_14_9612.jpg
/home/nano/Desktop/images/10122025/13/42/image_10122025_13_43_05_10606.jpg
/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_54_9592.jpg
/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_44_9618.jpg
/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_35_10607.jpg
/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_24_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":["1401282234","1401282228","1401282237","1401282225","1401282236","1401282235"],"photo_ids_order":["1401282225","1401282228","1401282234","1401282235","1401282236","1401282237"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5a71a4498551ced98ebed02eb08a1d6.jpg","text":"TemporaryFile(/tmp/multipartBody6099202861000398280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846388204,"filename":"image_10122025_13_42_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/12/27/54ba943832c85a50983bffc17d7306c2.jpg","text":"TemporaryFile(/tmp/multipartBody246047115819656381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846388204,"filename":"image_10122025_13_43_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c390c3e26ad3a65eac1eb19b5bdacae.jpg","text":"TemporaryFile(/tmp/multipartBody1905505098414193552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846388204,"filename":"image_10122025_13_42_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/12/27/9b8c681069f7f93e8b3ed43f2601dcdf.jpg","text":"TemporaryFile(/tmp/multipartBody8390489356644446773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846388204,"filename":"image_10122025_13_43_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/12/27/cfcf72d79d37e70c19e5b81d2215c6b5.jpg","text":"TemporaryFile(/tmp/multipartBody3678095104362504179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846388204,"filename":"image_10122025_13_42_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f0a50b7d3b0f6c086f3bd5e15298c40.jpg","text":"TemporaryFile(/tmp/multipartBody3735167279284210820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846388204,"filename":"image_10122025_13_42_44_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282234","file1":"1401282228","file0":"1401282225","file4":"1401282236","file5":"1401282237","file3":"1401282235"},"map_files_photo_id_array":[{"photo_id":"1401282237","filename":"file5"},{"photo_id":"1401282234","filename":"file2"},{"photo_id":"1401282236","filename":"file4"},{"photo_id":"1401282228","filename":"file1"},{"photo_id":"1401282225","filename":"file0"},{"photo_id":"1401282235","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282234":["hashtag1","hashtag2"]},{"1401282228":["hashtag1","hashtag2"]},{"1401282237":["hashtag1","hashtag2"]},{"1401282225":["hashtag1","hashtag2"]},{"1401282236":["hashtag1","hashtag2"]},{"1401282235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282234, 1401282228, 1401282237, 1401282225, 1401282236, 1401282235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78676390647888 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:39:32.619270
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/15/39/image_27122025_15_39_54_10552.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/15/39/image_27122025_15_39_54_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/15/39/image_27122025_15_39_54_10552.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401282318"],"photo_id":"1401282318","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fc1ffe49caca8b43b584b1164f45a9f.jpg","text":"TemporaryFile(/tmp/multipartBody900808403969341545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846432874,"filename":"image_27122025_15_39_54_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401282318"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401282318"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.666170835494995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:39:47.498926
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_42_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_54_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_34_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_25_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_15_9608.jpg', '/home/nano/Desktop/images/10122025/13/41/image_10122025_13_42_05_10610.jpg', '/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_54_9593.jpg', '/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_45_10621.jpg', '/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_34_9592.jpg', '/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_25_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_15_9608.jpg
/home/nano/Desktop/images/10122025/13/41/image_10122025_13_42_05_10610.jpg
/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_54_9593.jpg
/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_45_10621.jpg
/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_34_9592.jpg
/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_25_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":["1401282459","1401282461","1401282422","1401282416","1401282460","1401282436"],"photo_ids_order":["1401282416","1401282422","1401282436","1401282459","1401282460","1401282461"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68ce4e05a96d82f517228369d14b4e90.jpg","text":"TemporaryFile(/tmp/multipartBody1104471330595180128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846448291,"filename":"image_10122025_13_41_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ab55f2e3aea436dbd00df844a8901a3.jpg","text":"TemporaryFile(/tmp/multipartBody6328399600368826137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846448291,"filename":"image_10122025_13_41_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0cf22179036b475eba772a5a1f00ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2559563135626790414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846448291,"filename":"image_10122025_13_42_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e437eb241c97743bf8565cbc7c2c040d.jpg","text":"TemporaryFile(/tmp/multipartBody7263785570628173046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846448291,"filename":"image_10122025_13_42_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c88b57cafd9836181425552e4a237ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3795428584034517220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846448291,"filename":"image_10122025_13_41_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7018b7b1d3f2a6297d89722dc24c4f85.jpg","text":"TemporaryFile(/tmp/multipartBody4153720545196911842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846448291,"filename":"image_10122025_13_41_54_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282436","file1":"1401282422","file0":"1401282416","file4":"1401282460","file5":"1401282461","file3":"1401282459"},"map_files_photo_id_array":[{"photo_id":"1401282461","filename":"file5"},{"photo_id":"1401282436","filename":"file2"},{"photo_id":"1401282460","filename":"file4"},{"photo_id":"1401282422","filename":"file1"},{"photo_id":"1401282416","filename":"file0"},{"photo_id":"1401282459","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282459":["hashtag1","hashtag2"]},{"1401282461":["hashtag1","hashtag2"]},{"1401282422":["hashtag1","hashtag2"]},{"1401282416":["hashtag1","hashtag2"]},{"1401282460":["hashtag1","hashtag2"]},{"1401282436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282459, 1401282461, 1401282422, 1401282416, 1401282460, 1401282436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09393119812012 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:40:32.619381
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_41_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_44_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_25_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_15_10624.jpg', '/home/nano/Desktop/images/10122025/13/40/image_10122025_13_41_04_9626.jpg', '/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_55_10607.jpg', '/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_44_9588.jpg', '/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_35_9599.jpg', '/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_25_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_15_10624.jpg
/home/nano/Desktop/images/10122025/13/40/image_10122025_13_41_04_9626.jpg
/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_55_10607.jpg
/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_44_9588.jpg
/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_35_9599.jpg
/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_25_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":["1401282467","1401282476","1401282472","1401282466","1401282469","1401282474"],"photo_ids_order":["1401282466","1401282467","1401282469","1401282472","1401282474","1401282476"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3888eb6763449dccb63a2011a029189.jpg","text":"TemporaryFile(/tmp/multipartBody7742712525882721834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846493399,"filename":"image_10122025_13_41_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/12/27/b1b6fb4a4533024bc0be6b4bfea40a24.jpg","text":"TemporaryFile(/tmp/multipartBody4023587065230708469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846493399,"filename":"image_10122025_13_40_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5899817339b16e4a9d6b71d61cc63ac.jpg","text":"TemporaryFile(/tmp/multipartBody7455882957661322829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846493399,"filename":"image_10122025_13_40_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/12/27/267c51704dac075b4569f75fc53dfc22.jpg","text":"TemporaryFile(/tmp/multipartBody3675473114423706154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846493399,"filename":"image_10122025_13_41_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f133043dcdd15ac11e7590e406a22919.jpg","text":"TemporaryFile(/tmp/multipartBody6960235563060870898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846493399,"filename":"image_10122025_13_40_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01a820a5a92d5b206fc4a6fb33ef2725.jpg","text":"TemporaryFile(/tmp/multipartBody673453727177222938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846493399,"filename":"image_10122025_13_40_35_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282469","file1":"1401282467","file0":"1401282466","file4":"1401282474","file5":"1401282476","file3":"1401282472"},"map_files_photo_id_array":[{"photo_id":"1401282476","filename":"file5"},{"photo_id":"1401282469","filename":"file2"},{"photo_id":"1401282474","filename":"file4"},{"photo_id":"1401282467","filename":"file1"},{"photo_id":"1401282466","filename":"file0"},{"photo_id":"1401282472","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282467":["hashtag1","hashtag2"]},{"1401282476":["hashtag1","hashtag2"]},{"1401282472":["hashtag1","hashtag2"]},{"1401282466":["hashtag1","hashtag2"]},{"1401282469":["hashtag1","hashtag2"]},{"1401282474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282467, 1401282476, 1401282472, 1401282466, 1401282469, 1401282474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.258795976638794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:41:17.706463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_40_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_45_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_24_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_14_9621.jpg', '/home/nano/Desktop/images/10122025/13/39/image_10122025_13_40_05_10623.jpg', '/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_54_9595.jpg', '/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_45_9595.jpg', '/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_35_10610.jpg', '/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_24_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_14_9621.jpg
/home/nano/Desktop/images/10122025/13/39/image_10122025_13_40_05_10623.jpg
/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_54_9595.jpg
/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_45_9595.jpg
/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_35_10610.jpg
/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_24_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":["1401282519","1401282521","1401282515","1401282512","1401282508","1401282517"],"photo_ids_order":["1401282508","1401282512","1401282515","1401282517","1401282519","1401282521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e710685830cd3b35888363524412c3df.jpg","text":"TemporaryFile(/tmp/multipartBody7944832315886841376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846538480,"filename":"image_10122025_13_39_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1dbaa30c981b86526867b74bb9a1fecf.jpg","text":"TemporaryFile(/tmp/multipartBody4490877411553245117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846538480,"filename":"image_10122025_13_39_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/12/27/3f83a62092b1e08cdc2f332af6a75eb4.jpg","text":"TemporaryFile(/tmp/multipartBody6687110754565071055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846538480,"filename":"image_10122025_13_39_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/12/27/30906afc9abfcff71398902bab8d7a74.jpg","text":"TemporaryFile(/tmp/multipartBody7789320228002042384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846538480,"filename":"image_10122025_13_40_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cfe8b620d8c41b6af31b618aec0f3c9.jpg","text":"TemporaryFile(/tmp/multipartBody765762121195790539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846538480,"filename":"image_10122025_13_40_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b76c645b7915162cb4f86edbee97e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody3018883287707920736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846538480,"filename":"image_10122025_13_39_45_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282515","file1":"1401282512","file0":"1401282508","file4":"1401282519","file5":"1401282521","file3":"1401282517"},"map_files_photo_id_array":[{"photo_id":"1401282521","filename":"file5"},{"photo_id":"1401282515","filename":"file2"},{"photo_id":"1401282519","filename":"file4"},{"photo_id":"1401282512","filename":"file1"},{"photo_id":"1401282508","filename":"file0"},{"photo_id":"1401282517","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282519":["hashtag1","hashtag2"]},{"1401282521":["hashtag1","hashtag2"]},{"1401282515":["hashtag1","hashtag2"]},{"1401282512":["hashtag1","hashtag2"]},{"1401282508":["hashtag1","hashtag2"]},{"1401282517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282519, 1401282521, 1401282515, 1401282512, 1401282508, 1401282517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50765872001648 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:42:02.252616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_39_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_55_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_25_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_15_10618.jpg', '/home/nano/Desktop/images/10122025/13/38/image_10122025_13_39_04_9608.jpg', '/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_55_9597.jpg', '/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_45_10613.jpg', '/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_34_9602.jpg', '/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_25_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_15_10618.jpg
/home/nano/Desktop/images/10122025/13/38/image_10122025_13_39_04_9608.jpg
/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_55_9597.jpg
/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_45_10613.jpg
/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_34_9602.jpg
/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_25_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":["1401282570","1401282572","1401282569","1401282571","1401282568","1401282567"],"photo_ids_order":["1401282567","1401282568","1401282569","1401282570","1401282571","1401282572"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff953221fb59f509d3c1eebdd05fd37f.jpg","text":"TemporaryFile(/tmp/multipartBody728205710376907861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846583102,"filename":"image_10122025_13_38_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ce922c916f5139a8c7c91b1c7ec79ae.jpg","text":"TemporaryFile(/tmp/multipartBody868772725738466554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846583102,"filename":"image_10122025_13_38_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de656d575350429486971bc0a8aee001.jpg","text":"TemporaryFile(/tmp/multipartBody3162669713454876195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846583102,"filename":"image_10122025_13_38_55_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b35cfae0c079651202c4646e8e040584.jpg","text":"TemporaryFile(/tmp/multipartBody6181975295430019580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846583102,"filename":"image_10122025_13_38_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/12/27/5db2261e829628fcc6d112ff06b8aa3b.jpg","text":"TemporaryFile(/tmp/multipartBody2079882610090076258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846583102,"filename":"image_10122025_13_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/12/27/26a8894dcc57459377acecad563d30c0.jpg","text":"TemporaryFile(/tmp/multipartBody3058278206516942935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846583102,"filename":"image_10122025_13_39_15_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282569","file1":"1401282568","file0":"1401282567","file4":"1401282571","file5":"1401282572","file3":"1401282570"},"map_files_photo_id_array":[{"photo_id":"1401282572","filename":"file5"},{"photo_id":"1401282569","filename":"file2"},{"photo_id":"1401282571","filename":"file4"},{"photo_id":"1401282568","filename":"file1"},{"photo_id":"1401282567","filename":"file0"},{"photo_id":"1401282570","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282570":["hashtag1","hashtag2"]},{"1401282572":["hashtag1","hashtag2"]},{"1401282569":["hashtag1","hashtag2"]},{"1401282571":["hashtag1","hashtag2"]},{"1401282568":["hashtag1","hashtag2"]},{"1401282567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282570, 1401282572, 1401282569, 1401282571, 1401282568, 1401282567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.998250722885132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:42:46.948034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_15_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_38_04_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_55_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_35_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_25_10602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_15_10621.jpg', '/home/nano/Desktop/images/10122025/13/37/image_10122025_13_38_04_9596.jpg', '/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_55_10600.jpg', '/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_44_9596.jpg', '/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_35_9592.jpg', '/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_25_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_15_10621.jpg
/home/nano/Desktop/images/10122025/13/37/image_10122025_13_38_04_9596.jpg
/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_55_10600.jpg
/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_44_9596.jpg
/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_35_9592.jpg
/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_25_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":["1401282582","1401282584","1401282587","1401282581","1401282583","1401282585"],"photo_ids_order":["1401282581","1401282582","1401282583","1401282584","1401282585","1401282587"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/517fad0774fe80bc92622c10408c2b86.jpg","text":"TemporaryFile(/tmp/multipartBody5602603757569053129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846627767,"filename":"image_10122025_13_38_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc584e7e45fa2fcac8d33ee8c7bb070f.jpg","text":"TemporaryFile(/tmp/multipartBody1015640392771781582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846627767,"filename":"image_10122025_13_37_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/12/27/964d52a0aec5d0e34579ead12d3bc214.jpg","text":"TemporaryFile(/tmp/multipartBody3674397083813835066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846627767,"filename":"image_10122025_13_37_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbf2a091c16acb26e735e9e3850dfd6f.jpg","text":"TemporaryFile(/tmp/multipartBody1872554354742693422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846627767,"filename":"image_10122025_13_38_15_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9032a5ab176bd23a7adbb3d7203462c8.jpg","text":"TemporaryFile(/tmp/multipartBody1797644911008442356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846627767,"filename":"image_10122025_13_37_55_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ab36a65dc4bb583d6a7753f3e062861.jpg","text":"TemporaryFile(/tmp/multipartBody361025682855582700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846627767,"filename":"image_10122025_13_37_35_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282583","file1":"1401282582","file0":"1401282581","file4":"1401282585","file5":"1401282587","file3":"1401282584"},"map_files_photo_id_array":[{"photo_id":"1401282587","filename":"file5"},{"photo_id":"1401282583","filename":"file2"},{"photo_id":"1401282585","filename":"file4"},{"photo_id":"1401282582","filename":"file1"},{"photo_id":"1401282581","filename":"file0"},{"photo_id":"1401282584","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282582":["hashtag1","hashtag2"]},{"1401282584":["hashtag1","hashtag2"]},{"1401282587":["hashtag1","hashtag2"]},{"1401282581":["hashtag1","hashtag2"]},{"1401282583":["hashtag1","hashtag2"]},{"1401282585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282582, 1401282584, 1401282587, 1401282581, 1401282583, 1401282585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13892912864685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:43:32.032503
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_9595.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6633563041687012 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:43:47.125079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg', '/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_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":["1401282642","1401282639","1401282641","1401282635","1401282638","1401282637"],"photo_ids_order":["1401282635","1401282637","1401282638","1401282639","1401282641","1401282642"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09c99a7c9068ba9b11c0fa3625b27b25.jpg","text":"TemporaryFile(/tmp/multipartBody6717874832140344949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846687897,"filename":"image_10122025_13_36_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/12/27/004be5e5c3792dbce4914fd8269ed3ed.jpg","text":"TemporaryFile(/tmp/multipartBody1198144820033889018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846687897,"filename":"image_10122025_13_36_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3f15848749bac1bc640bc0b0c0f869f.jpg","text":"TemporaryFile(/tmp/multipartBody6676108691895930970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846687897,"filename":"image_10122025_13_36_35_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dfd8d2a4dc025757c2dde962e0401dbd.jpg","text":"TemporaryFile(/tmp/multipartBody9154564013834748788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846687897,"filename":"image_10122025_13_37_14_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40e16790e6fea9f6082a91760e034a09.jpg","text":"TemporaryFile(/tmp/multipartBody3966208425111046146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846687897,"filename":"image_10122025_13_36_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/12/27/f3b8c16a51a4293f6bfee3b1a3cfc562.jpg","text":"TemporaryFile(/tmp/multipartBody7197361874765274871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846687897,"filename":"image_10122025_13_37_05_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282638","file1":"1401282637","file0":"1401282635","file4":"1401282641","file5":"1401282642","file3":"1401282639"},"map_files_photo_id_array":[{"photo_id":"1401282642","filename":"file5"},{"photo_id":"1401282638","filename":"file2"},{"photo_id":"1401282641","filename":"file4"},{"photo_id":"1401282637","filename":"file1"},{"photo_id":"1401282635","filename":"file0"},{"photo_id":"1401282639","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282642":["hashtag1","hashtag2"]},{"1401282639":["hashtag1","hashtag2"]},{"1401282641":["hashtag1","hashtag2"]},{"1401282635":["hashtag1","hashtag2"]},{"1401282638":["hashtag1","hashtag2"]},{"1401282637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282642, 1401282639, 1401282641, 1401282635, 1401282638, 1401282637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44905066490173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:44:32.241826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_36_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_55_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_25_10602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_15_10620.jpg', '/home/nano/Desktop/images/10122025/13/35/image_10122025_13_36_04_9608.jpg', '/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_55_9589.jpg', '/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_45_10602.jpg', '/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_34_9598.jpg', '/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_25_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_15_10620.jpg
/home/nano/Desktop/images/10122025/13/35/image_10122025_13_36_04_9608.jpg
/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_55_9589.jpg
/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_45_10602.jpg
/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_34_9598.jpg
/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_25_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":["1401282705","1401282650","1401282673","1401282796","1401282736","1401282766"],"photo_ids_order":["1401282650","1401282673","1401282705","1401282736","1401282766","1401282796"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ee5ac809ae8f46ce2ef69905c74400e.jpg","text":"TemporaryFile(/tmp/multipartBody4299264571935060810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846733036,"filename":"image_10122025_13_35_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0ad45170c3f03ea8ad703e949ab645f.jpg","text":"TemporaryFile(/tmp/multipartBody7866238508810137738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846733036,"filename":"image_10122025_13_36_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba2bd67212f7bdc643f68756fdefad85.jpg","text":"TemporaryFile(/tmp/multipartBody2779490994090062447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846733036,"filename":"image_10122025_13_36_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/12/27/e27d01723b9adc66410e62435cd95aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4376582046821427834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846733036,"filename":"image_10122025_13_35_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8185f5502cd9ab03576fc21760d57512.jpg","text":"TemporaryFile(/tmp/multipartBody7916499326855298892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846733036,"filename":"image_10122025_13_35_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18f61b305a23eac9e51429bbdaa3a9e2.jpg","text":"TemporaryFile(/tmp/multipartBody6189136269979658150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846733036,"filename":"image_10122025_13_35_34_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282705","file1":"1401282673","file0":"1401282650","file4":"1401282766","file5":"1401282796","file3":"1401282736"},"map_files_photo_id_array":[{"photo_id":"1401282796","filename":"file5"},{"photo_id":"1401282705","filename":"file2"},{"photo_id":"1401282766","filename":"file4"},{"photo_id":"1401282673","filename":"file1"},{"photo_id":"1401282650","filename":"file0"},{"photo_id":"1401282736","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282705":["hashtag1","hashtag2"]},{"1401282650":["hashtag1","hashtag2"]},{"1401282673":["hashtag1","hashtag2"]},{"1401282796":["hashtag1","hashtag2"]},{"1401282736":["hashtag1","hashtag2"]},{"1401282766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282705, 1401282650, 1401282673, 1401282796, 1401282736, 1401282766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.592857360839844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:45:17.335719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_35_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_35_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_24_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_14_9613.jpg', '/home/nano/Desktop/images/10122025/13/34/image_10122025_13_35_05_9613.jpg', '/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_55_10606.jpg', '/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_44_9606.jpg', '/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_35_10600.jpg', '/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_24_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_14_9613.jpg
/home/nano/Desktop/images/10122025/13/34/image_10122025_13_35_05_9613.jpg
/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_55_10606.jpg
/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_44_9606.jpg
/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_35_10600.jpg
/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_24_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":["1401282875","1401282869","1401282877","1401282916","1401282859","1401282879"],"photo_ids_order":["1401282859","1401282869","1401282875","1401282877","1401282879","1401282916"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b534f5f381b76fb82d57e2064c14cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4911263208245908341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846778147,"filename":"image_10122025_13_34_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d30f2e098b6e8e34f5756fa4456b1bf4.jpg","text":"TemporaryFile(/tmp/multipartBody262379781373660315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846778147,"filename":"image_10122025_13_35_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/954d38d8bd6c6504a653c69ba59e3c1c.jpg","text":"TemporaryFile(/tmp/multipartBody4775645600423263436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846778147,"filename":"image_10122025_13_34_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/12/27/906cd024de68131809d3038ebd383c01.jpg","text":"TemporaryFile(/tmp/multipartBody2277075340468386358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846778147,"filename":"image_10122025_13_34_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/12/27/6d238a24d20f73968cf886ea1862f7b6.jpg","text":"TemporaryFile(/tmp/multipartBody7153062583573334780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846778147,"filename":"image_10122025_13_35_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/12/27/cf7233dcef99ed59428c4c142c4dbaf4.jpg","text":"TemporaryFile(/tmp/multipartBody2827395484606340392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846778147,"filename":"image_10122025_13_34_35_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282875","file1":"1401282869","file0":"1401282859","file4":"1401282879","file5":"1401282916","file3":"1401282877"},"map_files_photo_id_array":[{"photo_id":"1401282916","filename":"file5"},{"photo_id":"1401282875","filename":"file2"},{"photo_id":"1401282879","filename":"file4"},{"photo_id":"1401282869","filename":"file1"},{"photo_id":"1401282859","filename":"file0"},{"photo_id":"1401282877","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282875":["hashtag1","hashtag2"]},{"1401282869":["hashtag1","hashtag2"]},{"1401282877":["hashtag1","hashtag2"]},{"1401282916":["hashtag1","hashtag2"]},{"1401282859":["hashtag1","hashtag2"]},{"1401282879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282875, 1401282869, 1401282877, 1401282916, 1401282859, 1401282879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.399657249450684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:46:03.030952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_34_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_34_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_25_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_15_9611.jpg', '/home/nano/Desktop/images/10122025/13/33/image_10122025_13_34_05_10621.jpg', '/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_54_9596.jpg', '/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_45_10600.jpg', '/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_34_9587.jpg', '/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_25_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_15_9611.jpg
/home/nano/Desktop/images/10122025/13/33/image_10122025_13_34_05_10621.jpg
/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_54_9596.jpg
/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_45_10600.jpg
/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_34_9587.jpg
/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_25_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":["1401282992","1401282991","1401282961","1401282993","1401282996","1401282990"],"photo_ids_order":["1401282961","1401282990","1401282991","1401282992","1401282993","1401282996"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b78f173e35ca002b630d83e85fe1649.jpg","text":"TemporaryFile(/tmp/multipartBody6001059966792756664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846823862,"filename":"image_10122025_13_33_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9297a8f5ab55f04e8be7339d1506e089.jpg","text":"TemporaryFile(/tmp/multipartBody757838631361904667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846823862,"filename":"image_10122025_13_33_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/12/27/6fd0d953b572abc503d37ad2f6fdee95.jpg","text":"TemporaryFile(/tmp/multipartBody3349530738776116415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846823862,"filename":"image_10122025_13_34_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73a2c2ff2833c492873149a9581859cf.jpg","text":"TemporaryFile(/tmp/multipartBody4299885091578438138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846823862,"filename":"image_10122025_13_33_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbcad70f67088ca84837d65f206fb8b8.jpg","text":"TemporaryFile(/tmp/multipartBody7474316136807569423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846823862,"filename":"image_10122025_13_33_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b766d319aefc78a12e2d67c9cf3f83d.jpg","text":"TemporaryFile(/tmp/multipartBody7527233583177307370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846823862,"filename":"image_10122025_13_34_05_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401282991","file1":"1401282990","file0":"1401282961","file4":"1401282993","file5":"1401282996","file3":"1401282992"},"map_files_photo_id_array":[{"photo_id":"1401282996","filename":"file5"},{"photo_id":"1401282991","filename":"file2"},{"photo_id":"1401282993","filename":"file4"},{"photo_id":"1401282990","filename":"file1"},{"photo_id":"1401282961","filename":"file0"},{"photo_id":"1401282992","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401282992":["hashtag1","hashtag2"]},{"1401282991":["hashtag1","hashtag2"]},{"1401282961":["hashtag1","hashtag2"]},{"1401282993":["hashtag1","hashtag2"]},{"1401282996":["hashtag1","hashtag2"]},{"1401282990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401282992, 1401282991, 1401282961, 1401282993, 1401282996, 1401282990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50718593597412 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:46:47.443668
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_33_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_55_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_35_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_25_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_15_10643.jpg', '/home/nano/Desktop/images/10122025/13/32/image_10122025_13_33_04_9613.jpg', '/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_55_10608.jpg', '/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_44_9602.jpg', '/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_35_9591.jpg', '/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_25_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_15_10643.jpg
/home/nano/Desktop/images/10122025/13/32/image_10122025_13_33_04_9613.jpg
/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_55_10608.jpg
/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_44_9602.jpg
/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_35_9591.jpg
/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_25_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":["1401283002","1401283005","1401283004","1401283007","1401283001","1401283003"],"photo_ids_order":["1401283001","1401283002","1401283003","1401283004","1401283005","1401283007"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2209d5f0382a67eb9cfe11329c35df4.jpg","text":"TemporaryFile(/tmp/multipartBody4312675590611422768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846868239,"filename":"image_10122025_13_33_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/12/27/134415b1d1170c14c7058160e1fbf640.jpg","text":"TemporaryFile(/tmp/multipartBody2933329703916804415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846868239,"filename":"image_10122025_13_32_35_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e26b4f4c12b559f3d618aae1c523d27e.jpg","text":"TemporaryFile(/tmp/multipartBody605496859300636929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846868239,"filename":"image_10122025_13_32_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/12/27/0ac1fb0b05185f293f039d814fb4117a.jpg","text":"TemporaryFile(/tmp/multipartBody7814501657278650361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846868239,"filename":"image_10122025_13_32_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26d54fbdceaf6e11cd77a2c5c6557faf.jpg","text":"TemporaryFile(/tmp/multipartBody7492507677282072533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846868239,"filename":"image_10122025_13_33_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b088e1c5f11b0a90cec697438978e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5151511576634102670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846868239,"filename":"image_10122025_13_32_55_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283003","file1":"1401283002","file0":"1401283001","file4":"1401283005","file5":"1401283007","file3":"1401283004"},"map_files_photo_id_array":[{"photo_id":"1401283007","filename":"file5"},{"photo_id":"1401283003","filename":"file2"},{"photo_id":"1401283005","filename":"file4"},{"photo_id":"1401283002","filename":"file1"},{"photo_id":"1401283001","filename":"file0"},{"photo_id":"1401283004","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283002":["hashtag1","hashtag2"]},{"1401283005":["hashtag1","hashtag2"]},{"1401283004":["hashtag1","hashtag2"]},{"1401283007":["hashtag1","hashtag2"]},{"1401283001":["hashtag1","hashtag2"]},{"1401283003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283002, 1401283005, 1401283004, 1401283007, 1401283001, 1401283003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10556387901306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:47:32.547545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_32_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_55_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_24_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_14_9615.jpg', '/home/nano/Desktop/images/10122025/13/31/image_10122025_13_32_05_9621.jpg', '/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_55_10603.jpg', '/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_44_9597.jpg', '/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_35_10607.jpg', '/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_24_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_14_9615.jpg
/home/nano/Desktop/images/10122025/13/31/image_10122025_13_32_05_9621.jpg
/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_55_10603.jpg
/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_44_9597.jpg
/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_35_10607.jpg
/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_24_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":["1401283014","1401283023","1401283017","1401283019","1401283021","1401283024"],"photo_ids_order":["1401283014","1401283017","1401283019","1401283021","1401283023","1401283024"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02d0f727675f9f2981537316050b4381.jpg","text":"TemporaryFile(/tmp/multipartBody673093200609847220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846913350,"filename":"image_10122025_13_32_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/12/27/20a94dfa7492cfd1cd46eac044a2ad1a.jpg","text":"TemporaryFile(/tmp/multipartBody8596893616550998594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846913350,"filename":"image_10122025_13_31_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ea28d2d5789bd0805778df8a778145e.jpg","text":"TemporaryFile(/tmp/multipartBody6226325946440614336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846913350,"filename":"image_10122025_13_32_05_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37dad6e7a36ea0bdc640a092dea1d691.jpg","text":"TemporaryFile(/tmp/multipartBody8362482334275211766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846913350,"filename":"image_10122025_13_31_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56e5942b4902f20eed9358cc0e9254d1.jpg","text":"TemporaryFile(/tmp/multipartBody1934847891544914147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846913350,"filename":"image_10122025_13_31_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/12/27/53f3e6da187316386c264163de020f95.jpg","text":"TemporaryFile(/tmp/multipartBody4753653942483469618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846913350,"filename":"image_10122025_13_31_24_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283019","file1":"1401283017","file0":"1401283014","file4":"1401283023","file5":"1401283024","file3":"1401283021"},"map_files_photo_id_array":[{"photo_id":"1401283024","filename":"file5"},{"photo_id":"1401283019","filename":"file2"},{"photo_id":"1401283023","filename":"file4"},{"photo_id":"1401283017","filename":"file1"},{"photo_id":"1401283014","filename":"file0"},{"photo_id":"1401283021","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283014":["hashtag1","hashtag2"]},{"1401283023":["hashtag1","hashtag2"]},{"1401283017":["hashtag1","hashtag2"]},{"1401283019":["hashtag1","hashtag2"]},{"1401283021":["hashtag1","hashtag2"]},{"1401283024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283014, 1401283023, 1401283017, 1401283019, 1401283021, 1401283024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.809858322143555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:48:17.726781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_15_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_31_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_54_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_45_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_25_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_15_9599.jpg', '/home/nano/Desktop/images/10122025/13/30/image_10122025_13_31_05_10630.jpg', '/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_54_9592.jpg', '/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_45_10601.jpg', '/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_34_9598.jpg', '/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_25_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_15_9599.jpg
/home/nano/Desktop/images/10122025/13/30/image_10122025_13_31_05_10630.jpg
/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_54_9592.jpg
/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_45_10601.jpg
/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_34_9598.jpg
/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_25_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":["1401283035","1401283029","1401283025","1401283038","1401283032","1401283026"],"photo_ids_order":["1401283025","1401283026","1401283029","1401283032","1401283035","1401283038"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f4892581e9eba04381f2b0f52bbb3a7.jpg","text":"TemporaryFile(/tmp/multipartBody2745783555343537387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846958512,"filename":"image_10122025_13_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/12/27/fac440996e5df47ec6ee034c651d297a.jpg","text":"TemporaryFile(/tmp/multipartBody7474910648023794837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846958512,"filename":"image_10122025_13_30_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/12/27/e532251176e72608c06659419b2d3b52.jpg","text":"TemporaryFile(/tmp/multipartBody899767562128255296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846958512,"filename":"image_10122025_13_31_15_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/242d2f1a9c3dc7877842603b78d9324a.jpg","text":"TemporaryFile(/tmp/multipartBody124737135307707472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846958512,"filename":"image_10122025_13_30_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7432df344f71c76f331cf5a73faa3d4.jpg","text":"TemporaryFile(/tmp/multipartBody4725315644778960538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846958512,"filename":"image_10122025_13_30_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8865df66d9b92b84ff422c8b4d2342db.jpg","text":"TemporaryFile(/tmp/multipartBody636126157169473395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766846958512,"filename":"image_10122025_13_31_05_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283029","file1":"1401283026","file0":"1401283025","file4":"1401283035","file5":"1401283038","file3":"1401283032"},"map_files_photo_id_array":[{"photo_id":"1401283038","filename":"file5"},{"photo_id":"1401283029","filename":"file2"},{"photo_id":"1401283035","filename":"file4"},{"photo_id":"1401283026","filename":"file1"},{"photo_id":"1401283025","filename":"file0"},{"photo_id":"1401283032","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283035":["hashtag1","hashtag2"]},{"1401283029":["hashtag1","hashtag2"]},{"1401283025":["hashtag1","hashtag2"]},{"1401283038":["hashtag1","hashtag2"]},{"1401283032":["hashtag1","hashtag2"]},{"1401283026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283035, 1401283029, 1401283025, 1401283038, 1401283032, 1401283026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88991069793701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:49:02.807839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_30_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_55_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_25_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_15_10623.jpg', '/home/nano/Desktop/images/10122025/13/29/image_10122025_13_30_04_9619.jpg', '/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_55_10622.jpg', '/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_44_9600.jpg', '/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_35_9598.jpg', '/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_25_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_15_10623.jpg
/home/nano/Desktop/images/10122025/13/29/image_10122025_13_30_04_9619.jpg
/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_55_10622.jpg
/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_44_9600.jpg
/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_35_9598.jpg
/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_25_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":["1401283049","1401283043","1401283046","1401283045","1401283044","1401283047"],"photo_ids_order":["1401283043","1401283044","1401283045","1401283046","1401283047","1401283049"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cb168d34d28e184b5d293fea561688f.jpg","text":"TemporaryFile(/tmp/multipartBody9087882609489136708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847003734,"filename":"image_10122025_13_29_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3f452f9d5c082bbdd93a948cd079d58.jpg","text":"TemporaryFile(/tmp/multipartBody7133587322375289307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847003734,"filename":"image_10122025_13_30_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e58cb3ed08ad47a7b1a6b25a251b6d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6200480958555053901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847003734,"filename":"image_10122025_13_29_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/12/27/b7854f8283fbdc39f424c66b704ab704.jpg","text":"TemporaryFile(/tmp/multipartBody7788784232954395970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847003734,"filename":"image_10122025_13_29_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cf658420cd49ec29b0f2f83c978cce2.jpg","text":"TemporaryFile(/tmp/multipartBody5366709483945666101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847003734,"filename":"image_10122025_13_30_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/12/27/e77fff0d0ab56d08800cc7f7bb8f0825.jpg","text":"TemporaryFile(/tmp/multipartBody5746108511537339565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847003734,"filename":"image_10122025_13_29_35_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283045","file1":"1401283044","file0":"1401283043","file4":"1401283047","file5":"1401283049","file3":"1401283046"},"map_files_photo_id_array":[{"photo_id":"1401283049","filename":"file5"},{"photo_id":"1401283045","filename":"file2"},{"photo_id":"1401283047","filename":"file4"},{"photo_id":"1401283044","filename":"file1"},{"photo_id":"1401283043","filename":"file0"},{"photo_id":"1401283046","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283049":["hashtag1","hashtag2"]},{"1401283043":["hashtag1","hashtag2"]},{"1401283046":["hashtag1","hashtag2"]},{"1401283045":["hashtag1","hashtag2"]},{"1401283044":["hashtag1","hashtag2"]},{"1401283047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283049, 1401283043, 1401283046, 1401283045, 1401283044, 1401283047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.92514729499817 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:49:46.934411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_29_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_24_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_14_9621.jpg', '/home/nano/Desktop/images/10122025/13/28/image_10122025_13_29_05_10611.jpg', '/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_54_9598.jpg', '/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_45_9594.jpg', '/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_35_10605.jpg', '/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_24_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_14_9621.jpg
/home/nano/Desktop/images/10122025/13/28/image_10122025_13_29_05_10611.jpg
/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_54_9598.jpg
/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_45_9594.jpg
/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_35_10605.jpg
/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_24_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401283067","1401283064","1401283066","1401283063","1401283065","1401283068"],"photo_ids_order":["1401283063","1401283064","1401283065","1401283066","1401283067","1401283068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa70d2dd7d98f770779398cb1ffc4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5486607680113647820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847047741,"filename":"image_10122025_13_28_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af33c92d7d5577f088eda1317ae1b607.jpg","text":"TemporaryFile(/tmp/multipartBody5175318937840541378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847047741,"filename":"image_10122025_13_29_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48ff97b59853ab3fa17431f8d496012c.jpg","text":"TemporaryFile(/tmp/multipartBody3964207766500935559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847047741,"filename":"image_10122025_13_28_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29f042982691da0e91404a330bb63fad.jpg","text":"TemporaryFile(/tmp/multipartBody6184693501737152678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847047741,"filename":"image_10122025_13_29_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5f7b901588808174cc58903bc8061a6.jpg","text":"TemporaryFile(/tmp/multipartBody8480805884758494981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847047741,"filename":"image_10122025_13_28_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e81c9584402cef013da12f9a05bf320f.jpg","text":"TemporaryFile(/tmp/multipartBody3032843709560280085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847047741,"filename":"image_10122025_13_28_24_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283065","file1":"1401283064","file0":"1401283063","file4":"1401283067","file5":"1401283068","file3":"1401283066"},"map_files_photo_id_array":[{"photo_id":"1401283068","filename":"file5"},{"photo_id":"1401283065","filename":"file2"},{"photo_id":"1401283067","filename":"file4"},{"photo_id":"1401283064","filename":"file1"},{"photo_id":"1401283063","filename":"file0"},{"photo_id":"1401283066","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283067":["hashtag1","hashtag2"]},{"1401283064":["hashtag1","hashtag2"]},{"1401283066":["hashtag1","hashtag2"]},{"1401283063":["hashtag1","hashtag2"]},{"1401283065":["hashtag1","hashtag2"]},{"1401283068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283067, 1401283064, 1401283066, 1401283063, 1401283065, 1401283068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6594672203064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:50:32.027891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_28_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_25_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_15_10623.jpg', '/home/nano/Desktop/images/10122025/13/27/image_10122025_13_28_04_9612.jpg', '/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_55_9603.jpg', '/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_45_10614.jpg', '/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_34_9621.jpg', '/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_15_10623.jpg
/home/nano/Desktop/images/10122025/13/27/image_10122025_13_28_04_9612.jpg
/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_55_9603.jpg
/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_45_10614.jpg
/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_34_9621.jpg
/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_25_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":["1401283073","1401283076","1401283079","1401283087","1401283083","1401283086"],"photo_ids_order":["1401283073","1401283076","1401283079","1401283083","1401283086","1401283087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5265ef35e868bbe7536675f2283e05c.jpg","text":"TemporaryFile(/tmp/multipartBody6398935301831671834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847092811,"filename":"image_10122025_13_28_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca7233425e9038adb3c436951dd6d3fd.jpg","text":"TemporaryFile(/tmp/multipartBody5128758428427817149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847092811,"filename":"image_10122025_13_28_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/12/27/52d75f40df2e73bbe4ecd1d41739efc9.jpg","text":"TemporaryFile(/tmp/multipartBody256536143929293728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847092811,"filename":"image_10122025_13_27_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57fb05d5091f5a8d6833793abac402fb.jpg","text":"TemporaryFile(/tmp/multipartBody7980301467793957652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847092811,"filename":"image_10122025_13_27_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b42021137c5bec4b3f96b597a1445af.jpg","text":"TemporaryFile(/tmp/multipartBody8447441758768656171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847092811,"filename":"image_10122025_13_27_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9bf5131103e5eb2136399b10e6bc8a90.jpg","text":"TemporaryFile(/tmp/multipartBody7014926354418315432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847092811,"filename":"image_10122025_13_27_34_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283079","file1":"1401283076","file0":"1401283073","file4":"1401283086","file5":"1401283087","file3":"1401283083"},"map_files_photo_id_array":[{"photo_id":"1401283087","filename":"file5"},{"photo_id":"1401283079","filename":"file2"},{"photo_id":"1401283086","filename":"file4"},{"photo_id":"1401283076","filename":"file1"},{"photo_id":"1401283073","filename":"file0"},{"photo_id":"1401283083","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283073":["hashtag1","hashtag2"]},{"1401283076":["hashtag1","hashtag2"]},{"1401283079":["hashtag1","hashtag2"]},{"1401283087":["hashtag1","hashtag2"]},{"1401283083":["hashtag1","hashtag2"]},{"1401283086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283073, 1401283076, 1401283079, 1401283087, 1401283083, 1401283086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57767367362976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:51:17.147682
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_27_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_44_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_35_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_25_9748.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_15_10626.jpg', '/home/nano/Desktop/images/10122025/13/26/image_10122025_13_27_04_9616.jpg', '/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_55_10654.jpg', '/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_44_9640.jpg', '/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_35_9749.jpg', '/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_25_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_15_10626.jpg
/home/nano/Desktop/images/10122025/13/26/image_10122025_13_27_04_9616.jpg
/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_55_10654.jpg
/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_44_9640.jpg
/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_35_9749.jpg
/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_25_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401283088","1401283100","1401283092","1401283095","1401283089","1401283098"],"photo_ids_order":["1401283088","1401283089","1401283092","1401283095","1401283098","1401283100"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8785f9fcc109a9c20825bafb9c842e6e.jpg","text":"TemporaryFile(/tmp/multipartBody145926659971524213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847137956,"filename":"image_10122025_13_27_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78d8668b8a8e0d214608fa3e97194932.jpg","text":"TemporaryFile(/tmp/multipartBody3806147841158153332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847137956,"filename":"image_10122025_13_26_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdcd7b4931a3790a74a140d18c6b605b.jpg","text":"TemporaryFile(/tmp/multipartBody8050254069231696419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847137956,"filename":"image_10122025_13_26_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e14fd1103acb6f6c611872222ba1067d.jpg","text":"TemporaryFile(/tmp/multipartBody601873844845995936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847137956,"filename":"image_10122025_13_26_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/12/27/72cd85a6b990848be137490ad0ff0ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2607936525241941990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847137956,"filename":"image_10122025_13_27_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/12/27/12f5af8c9c253a0c3b52479a75e895fe.jpg","text":"TemporaryFile(/tmp/multipartBody5534592757229852208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847137956,"filename":"image_10122025_13_26_35_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283092","file1":"1401283089","file0":"1401283088","file4":"1401283098","file5":"1401283100","file3":"1401283095"},"map_files_photo_id_array":[{"photo_id":"1401283100","filename":"file5"},{"photo_id":"1401283092","filename":"file2"},{"photo_id":"1401283098","filename":"file4"},{"photo_id":"1401283089","filename":"file1"},{"photo_id":"1401283088","filename":"file0"},{"photo_id":"1401283095","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283088":["hashtag1","hashtag2"]},{"1401283100":["hashtag1","hashtag2"]},{"1401283092":["hashtag1","hashtag2"]},{"1401283095":["hashtag1","hashtag2"]},{"1401283089":["hashtag1","hashtag2"]},{"1401283098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283088, 1401283100, 1401283092, 1401283095, 1401283089, 1401283098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51832318305969 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:52:02.854861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_15_10822.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_26_04_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_54_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_45_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_35_10787.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_24_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_15_10822.jpg', '/home/nano/Desktop/images/10122025/13/25/image_10122025_13_26_04_9738.jpg', '/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_54_9632.jpg', '/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_45_9780.jpg', '/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_35_10787.jpg', '/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_24_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_15_10822.jpg
/home/nano/Desktop/images/10122025/13/25/image_10122025_13_26_04_9738.jpg
/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_54_9632.jpg
/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_45_9780.jpg
/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_35_10787.jpg
/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_24_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":["1401283107","1401283109","1401283114","1401283108","1401283111","1401283110"],"photo_ids_order":["1401283107","1401283108","1401283109","1401283110","1401283111","1401283114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8e2ed22486ea3dcd61f435e9a8ce355.jpg","text":"TemporaryFile(/tmp/multipartBody405689025473285751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847183783,"filename":"image_10122025_13_26_15_10822.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ffd6b718135b4036331148666c0fa31.jpg","text":"TemporaryFile(/tmp/multipartBody3107755015667212189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847183783,"filename":"image_10122025_13_25_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/12/27/cfc405391edeec386f9ec0b061fc947b.jpg","text":"TemporaryFile(/tmp/multipartBody6271402845795445590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847183783,"filename":"image_10122025_13_25_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e50dbd742d6b0b11b274524a7b65f1d3.jpg","text":"TemporaryFile(/tmp/multipartBody7824537616997530450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847183783,"filename":"image_10122025_13_26_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19a5ddb123cf3a8ae2760d3bad6a3118.jpg","text":"TemporaryFile(/tmp/multipartBody7477251763173235990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847183783,"filename":"image_10122025_13_25_35_10787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8766c51c9739885c8e2fab79d51e83cb.jpg","text":"TemporaryFile(/tmp/multipartBody3970391817500476596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847183783,"filename":"image_10122025_13_25_45_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283109","file1":"1401283108","file0":"1401283107","file4":"1401283111","file5":"1401283114","file3":"1401283110"},"map_files_photo_id_array":[{"photo_id":"1401283114","filename":"file5"},{"photo_id":"1401283109","filename":"file2"},{"photo_id":"1401283111","filename":"file4"},{"photo_id":"1401283108","filename":"file1"},{"photo_id":"1401283107","filename":"file0"},{"photo_id":"1401283110","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283107":["hashtag1","hashtag2"]},{"1401283109":["hashtag1","hashtag2"]},{"1401283114":["hashtag1","hashtag2"]},{"1401283108":["hashtag1","hashtag2"]},{"1401283111":["hashtag1","hashtag2"]},{"1401283110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283107, 1401283109, 1401283114, 1401283108, 1401283111, 1401283110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.028605699539185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:52:47.262021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_15_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_25_05_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_24_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_15_9680.jpg', '/home/nano/Desktop/images/10122025/13/24/image_10122025_13_25_05_10680.jpg', '/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_54_9601.jpg', '/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_45_9610.jpg', '/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_35_10617.jpg', '/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_24_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_15_9680.jpg
/home/nano/Desktop/images/10122025/13/24/image_10122025_13_25_05_10680.jpg
/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_54_9601.jpg
/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_45_9610.jpg
/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_35_10617.jpg
/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_24_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":["1401283128","1401283130","1401283127","1401283126","1401283129","1401283131"],"photo_ids_order":["1401283126","1401283127","1401283128","1401283129","1401283130","1401283131"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2eefb3c266a20247c78603806a910c65.jpg","text":"TemporaryFile(/tmp/multipartBody3215342510814126320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847228068,"filename":"image_10122025_13_24_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/12/27/0c5269c4060b4c1f6fc57726d28c5151.jpg","text":"TemporaryFile(/tmp/multipartBody2298660105134942537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847228068,"filename":"image_10122025_13_24_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/364dd8c851c617bff4e14c5949ac1d36.jpg","text":"TemporaryFile(/tmp/multipartBody11744653891031981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847228068,"filename":"image_10122025_13_25_05_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1199b5f27629bc21a56448d3a7bc48ff.jpg","text":"TemporaryFile(/tmp/multipartBody7620172300441457083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847228068,"filename":"image_10122025_13_25_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f331170cd6f89c8ddde3c38e42b55e9.jpg","text":"TemporaryFile(/tmp/multipartBody4277615054596025880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847228068,"filename":"image_10122025_13_24_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15c48c7ad5445febeb798cce000025d1.jpg","text":"TemporaryFile(/tmp/multipartBody6484200092744623137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847228068,"filename":"image_10122025_13_24_24_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283128","file1":"1401283127","file0":"1401283126","file4":"1401283130","file5":"1401283131","file3":"1401283129"},"map_files_photo_id_array":[{"photo_id":"1401283131","filename":"file5"},{"photo_id":"1401283128","filename":"file2"},{"photo_id":"1401283130","filename":"file4"},{"photo_id":"1401283127","filename":"file1"},{"photo_id":"1401283126","filename":"file0"},{"photo_id":"1401283129","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283128":["hashtag1","hashtag2"]},{"1401283130":["hashtag1","hashtag2"]},{"1401283127":["hashtag1","hashtag2"]},{"1401283126":["hashtag1","hashtag2"]},{"1401283129":["hashtag1","hashtag2"]},{"1401283131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283128, 1401283130, 1401283127, 1401283126, 1401283129, 1401283131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37448310852051 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:53:32.368218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_24_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_55_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_25_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_15_10635.jpg', '/home/nano/Desktop/images/10122025/13/23/image_10122025_13_24_04_9604.jpg', '/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_55_9622.jpg', '/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_45_10611.jpg', '/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_34_9599.jpg', '/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_25_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_15_10635.jpg
/home/nano/Desktop/images/10122025/13/23/image_10122025_13_24_04_9604.jpg
/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_55_9622.jpg
/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_45_10611.jpg
/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_34_9599.jpg
/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_25_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":["1401283140","1401283148","1401283142","1401283153","1401283138","1401283152"],"photo_ids_order":["1401283138","1401283140","1401283142","1401283148","1401283152","1401283153"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d432bf1f8e5c65ebe5fa4dd840a6976a.jpg","text":"TemporaryFile(/tmp/multipartBody5470326192865026820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847273163,"filename":"image_10122025_13_24_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/12/27/75bcadc2606c8146465179a4c89e25ce.jpg","text":"TemporaryFile(/tmp/multipartBody2061501552087606269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847273163,"filename":"image_10122025_13_23_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35f4525017508615c388ace2a9d83acd.jpg","text":"TemporaryFile(/tmp/multipartBody3947638586827447064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847273163,"filename":"image_10122025_13_23_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82d225bb3855684ec0f15ec6092353f6.jpg","text":"TemporaryFile(/tmp/multipartBody331531750900103139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847273163,"filename":"image_10122025_13_23_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab07bac301e8aa259455f6375a3c54c3.jpg","text":"TemporaryFile(/tmp/multipartBody8558223222524486773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847273163,"filename":"image_10122025_13_24_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa3051c24765f712508f2f2cb5b3767f.jpg","text":"TemporaryFile(/tmp/multipartBody2635493907175432285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847273163,"filename":"image_10122025_13_23_34_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283142","file1":"1401283140","file0":"1401283138","file4":"1401283152","file5":"1401283153","file3":"1401283148"},"map_files_photo_id_array":[{"photo_id":"1401283153","filename":"file5"},{"photo_id":"1401283142","filename":"file2"},{"photo_id":"1401283152","filename":"file4"},{"photo_id":"1401283140","filename":"file1"},{"photo_id":"1401283138","filename":"file0"},{"photo_id":"1401283148","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283140":["hashtag1","hashtag2"]},{"1401283148":["hashtag1","hashtag2"]},{"1401283142":["hashtag1","hashtag2"]},{"1401283153":["hashtag1","hashtag2"]},{"1401283138":["hashtag1","hashtag2"]},{"1401283152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283140, 1401283148, 1401283142, 1401283153, 1401283138, 1401283152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.862256050109863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:54:17.477758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_23_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_35_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_25_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_15_10627.jpg', '/home/nano/Desktop/images/10122025/13/22/image_10122025_13_23_04_9644.jpg', '/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_55_10617.jpg', '/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_44_9601.jpg', '/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_35_9600.jpg', '/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_25_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_15_10627.jpg
/home/nano/Desktop/images/10122025/13/22/image_10122025_13_23_04_9644.jpg
/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_55_10617.jpg
/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_44_9601.jpg
/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_35_9600.jpg
/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_25_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":["1401283162","1401283165","1401283159","1401283168","1401283156","1401283155"],"photo_ids_order":["1401283155","1401283156","1401283159","1401283162","1401283165","1401283168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21de727e1c7e9d3c502dbcbc14f0e082.jpg","text":"TemporaryFile(/tmp/multipartBody2722019729622439785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847318282,"filename":"image_10122025_13_22_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/12/27/09481c306a37e7fc47dc84efdfd52cec.jpg","text":"TemporaryFile(/tmp/multipartBody8900105693661722527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847318282,"filename":"image_10122025_13_22_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd417eb3fe005ae2228cd7528e00185f.jpg","text":"TemporaryFile(/tmp/multipartBody3471922821347316182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847318282,"filename":"image_10122025_13_22_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94dd5cd1f37b4de264c86ca61af57c7c.jpg","text":"TemporaryFile(/tmp/multipartBody5900789662381192252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847318282,"filename":"image_10122025_13_22_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6517bfebf17592b82acae361a7fa2dc.jpg","text":"TemporaryFile(/tmp/multipartBody8697536474512397527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847318282,"filename":"image_10122025_13_23_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/12/27/cef54af0686f532178ac1340ff19e45b.jpg","text":"TemporaryFile(/tmp/multipartBody8934699573726157070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847318282,"filename":"image_10122025_13_23_15_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283159","file1":"1401283156","file0":"1401283155","file4":"1401283165","file5":"1401283168","file3":"1401283162"},"map_files_photo_id_array":[{"photo_id":"1401283168","filename":"file5"},{"photo_id":"1401283159","filename":"file2"},{"photo_id":"1401283165","filename":"file4"},{"photo_id":"1401283156","filename":"file1"},{"photo_id":"1401283155","filename":"file0"},{"photo_id":"1401283162","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283162":["hashtag1","hashtag2"]},{"1401283165":["hashtag1","hashtag2"]},{"1401283159":["hashtag1","hashtag2"]},{"1401283168":["hashtag1","hashtag2"]},{"1401283156":["hashtag1","hashtag2"]},{"1401283155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283162, 1401283165, 1401283159, 1401283168, 1401283156, 1401283155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99605703353882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:55:03.216581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_22_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_24_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_14_9614.jpg', '/home/nano/Desktop/images/10122025/13/21/image_10122025_13_22_05_10618.jpg', '/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_54_9601.jpg', '/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_45_9606.jpg', '/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_35_10611.jpg', '/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_14_9614.jpg
/home/nano/Desktop/images/10122025/13/21/image_10122025_13_22_05_10618.jpg
/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_54_9601.jpg
/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_45_9606.jpg
/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_35_10611.jpg
/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_24_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":["1401283172","1401283175","1401283174","1401283173","1401283176","1401283179"],"photo_ids_order":["1401283172","1401283173","1401283174","1401283175","1401283176","1401283179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34a6fd8c29a3d61fd4509c4a1a293e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8749133692272941609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847364047,"filename":"image_10122025_13_22_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/12/27/9d2ad8fac517c6ef583064d161548b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5724489922439112367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847364047,"filename":"image_10122025_13_21_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f114688be767cdf70cc2fa3a8b6cbe5a.jpg","text":"TemporaryFile(/tmp/multipartBody580694231114116663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847364047,"filename":"image_10122025_13_21_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/12/27/232008352651e71e740b3d3589ea4315.jpg","text":"TemporaryFile(/tmp/multipartBody5787671533254491258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847364047,"filename":"image_10122025_13_22_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dde7688ebc8f65abd6452e43c13ec915.jpg","text":"TemporaryFile(/tmp/multipartBody8427938738515494614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847364047,"filename":"image_10122025_13_21_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b83b081bf717d471e99413d780aba3b.jpg","text":"TemporaryFile(/tmp/multipartBody2540969225299157761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847364047,"filename":"image_10122025_13_21_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283174","file1":"1401283173","file0":"1401283172","file4":"1401283176","file5":"1401283179","file3":"1401283175"},"map_files_photo_id_array":[{"photo_id":"1401283179","filename":"file5"},{"photo_id":"1401283174","filename":"file2"},{"photo_id":"1401283176","filename":"file4"},{"photo_id":"1401283173","filename":"file1"},{"photo_id":"1401283172","filename":"file0"},{"photo_id":"1401283175","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283172":["hashtag1","hashtag2"]},{"1401283175":["hashtag1","hashtag2"]},{"1401283174":["hashtag1","hashtag2"]},{"1401283173":["hashtag1","hashtag2"]},{"1401283176":["hashtag1","hashtag2"]},{"1401283179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283172, 1401283175, 1401283174, 1401283173, 1401283176, 1401283179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75056028366089 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:55:47.582834
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_15_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_21_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_25_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_15_9624.jpg', '/home/nano/Desktop/images/10122025/13/20/image_10122025_13_21_05_10631.jpg', '/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_54_9619.jpg', '/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_45_10628.jpg', '/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_34_9618.jpg', '/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_25_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_15_9624.jpg
/home/nano/Desktop/images/10122025/13/20/image_10122025_13_21_05_10631.jpg
/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_54_9619.jpg
/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_45_10628.jpg
/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_34_9618.jpg
/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_25_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":["1401283190","1401283193","1401283195","1401283192","1401283191","1401283194"],"photo_ids_order":["1401283190","1401283191","1401283192","1401283193","1401283194","1401283195"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3521ab5277037819fce1074c472e16d1.jpg","text":"TemporaryFile(/tmp/multipartBody5257718627803781839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847408380,"filename":"image_10122025_13_21_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40f6810987ffd0733982891475ee3e15.jpg","text":"TemporaryFile(/tmp/multipartBody5008969691369665201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847408380,"filename":"image_10122025_13_20_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9360ce393d2cd6e25de0135050f2927.jpg","text":"TemporaryFile(/tmp/multipartBody4444662483995658387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847408380,"filename":"image_10122025_13_20_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/faf8d1c7f2c472eaebd23e5c3c73dec0.jpg","text":"TemporaryFile(/tmp/multipartBody8452748509761048417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847408380,"filename":"image_10122025_13_20_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/12/27/4e18cdb1adcd9f07464ebee966d50cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5180089965400398093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847408380,"filename":"image_10122025_13_21_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4944e31a39e18bdfa71bde425a928455.jpg","text":"TemporaryFile(/tmp/multipartBody2257110749343498223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847408380,"filename":"image_10122025_13_20_34_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283192","file1":"1401283191","file0":"1401283190","file4":"1401283194","file5":"1401283195","file3":"1401283193"},"map_files_photo_id_array":[{"photo_id":"1401283195","filename":"file5"},{"photo_id":"1401283192","filename":"file2"},{"photo_id":"1401283194","filename":"file4"},{"photo_id":"1401283191","filename":"file1"},{"photo_id":"1401283190","filename":"file0"},{"photo_id":"1401283193","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283190":["hashtag1","hashtag2"]},{"1401283193":["hashtag1","hashtag2"]},{"1401283195":["hashtag1","hashtag2"]},{"1401283192":["hashtag1","hashtag2"]},{"1401283191":["hashtag1","hashtag2"]},{"1401283194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283190, 1401283193, 1401283195, 1401283192, 1401283191, 1401283194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72183346748352 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:56:32.677457
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_20_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_25_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_15_10652.jpg', '/home/nano/Desktop/images/10122025/13/19/image_10122025_13_20_04_9627.jpg', '/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_55_9617.jpg', '/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_45_10628.jpg', '/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_34_9619.jpg', '/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_25_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_15_10652.jpg
/home/nano/Desktop/images/10122025/13/19/image_10122025_13_20_04_9627.jpg
/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_55_9617.jpg
/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_45_10628.jpg
/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_34_9619.jpg
/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_25_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":["1401283212","1401283209","1401283203","1401283205","1401283214","1401283201"],"photo_ids_order":["1401283201","1401283203","1401283205","1401283209","1401283212","1401283214"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a026b3a4af6eb994086522cb6c41b3c.jpg","text":"TemporaryFile(/tmp/multipartBody651789996878226153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847453462,"filename":"image_10122025_13_19_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/12/27/83e139d2ebb280dda606b4ceb7cc3d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3993649100030681038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847453462,"filename":"image_10122025_13_19_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/672f7fe0828ec65736ae476f8632d850.jpg","text":"TemporaryFile(/tmp/multipartBody7479711199913094325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847453462,"filename":"image_10122025_13_20_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/12/27/6bc5ff249e7861f9901b91106243945f.jpg","text":"TemporaryFile(/tmp/multipartBody6191567724696705792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847453462,"filename":"image_10122025_13_19_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9cf50649ff694e0a5b0bdf0c4de12290.jpg","text":"TemporaryFile(/tmp/multipartBody639655900066646943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847453462,"filename":"image_10122025_13_19_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e4c4a96ef6872bca3d8fbe75b4c757d.jpg","text":"TemporaryFile(/tmp/multipartBody1417461500052185693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847453462,"filename":"image_10122025_13_20_15_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283205","file1":"1401283203","file0":"1401283201","file4":"1401283212","file5":"1401283214","file3":"1401283209"},"map_files_photo_id_array":[{"photo_id":"1401283214","filename":"file5"},{"photo_id":"1401283205","filename":"file2"},{"photo_id":"1401283212","filename":"file4"},{"photo_id":"1401283203","filename":"file1"},{"photo_id":"1401283201","filename":"file0"},{"photo_id":"1401283209","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283212":["hashtag1","hashtag2"]},{"1401283209":["hashtag1","hashtag2"]},{"1401283203":["hashtag1","hashtag2"]},{"1401283205":["hashtag1","hashtag2"]},{"1401283214":["hashtag1","hashtag2"]},{"1401283201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283212, 1401283209, 1401283203, 1401283205, 1401283214, 1401283201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.151482343673706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:57:16.800215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_19_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_44_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_25_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_14_9626.jpg', '/home/nano/Desktop/images/10122025/13/18/image_10122025_13_19_05_9628.jpg', '/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_55_10629.jpg', '/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_44_9638.jpg', '/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_35_9618.jpg', '/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_14_9626.jpg
/home/nano/Desktop/images/10122025/13/18/image_10122025_13_19_05_9628.jpg
/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_55_10629.jpg
/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_44_9638.jpg
/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_35_9618.jpg
/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_25_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":["1401283233","1401283235","1401283223","1401283231","1401283225","1401283228"],"photo_ids_order":["1401283223","1401283225","1401283228","1401283231","1401283233","1401283235"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c409ba9ec712877d3aed350fb7a0b58b.jpg","text":"TemporaryFile(/tmp/multipartBody7203549575829883163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847497622,"filename":"image_10122025_13_18_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2a60b272f43ab912054c3ca1651964f.jpg","text":"TemporaryFile(/tmp/multipartBody7646375059510278355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847497622,"filename":"image_10122025_13_18_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ec5e77ba724a79e900e754a8d214b84.jpg","text":"TemporaryFile(/tmp/multipartBody4605384427473617962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847497622,"filename":"image_10122025_13_19_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/12/27/61d949ba7362f80011821921efc3f88b.jpg","text":"TemporaryFile(/tmp/multipartBody3736851245306759133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847497622,"filename":"image_10122025_13_18_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/12/27/c72d0ef0787041a3003ab68a98a4680f.jpg","text":"TemporaryFile(/tmp/multipartBody6132871260398573064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847497622,"filename":"image_10122025_13_19_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8969f66e06a59fbef1ace6c8481e8c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4726495321168195944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847497622,"filename":"image_10122025_13_18_55_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283228","file1":"1401283225","file0":"1401283223","file4":"1401283233","file5":"1401283235","file3":"1401283231"},"map_files_photo_id_array":[{"photo_id":"1401283235","filename":"file5"},{"photo_id":"1401283228","filename":"file2"},{"photo_id":"1401283233","filename":"file4"},{"photo_id":"1401283225","filename":"file1"},{"photo_id":"1401283223","filename":"file0"},{"photo_id":"1401283231","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283233":["hashtag1","hashtag2"]},{"1401283235":["hashtag1","hashtag2"]},{"1401283223":["hashtag1","hashtag2"]},{"1401283231":["hashtag1","hashtag2"]},{"1401283225":["hashtag1","hashtag2"]},{"1401283228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283233, 1401283235, 1401283223, 1401283231, 1401283225, 1401283228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52577757835388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:58:02.257315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_18_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_35_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_24_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_14_9625.jpg', '/home/nano/Desktop/images/10122025/13/17/image_10122025_13_18_05_10652.jpg', '/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_54_9620.jpg', '/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_45_9620.jpg', '/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_35_10649.jpg', '/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_24_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_14_9625.jpg
/home/nano/Desktop/images/10122025/13/17/image_10122025_13_18_05_10652.jpg
/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_54_9620.jpg
/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_45_9620.jpg
/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_35_10649.jpg
/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_24_9617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401283248","1401283247","1401283243","1401283246","1401283249","1401283245"],"photo_ids_order":["1401283243","1401283245","1401283246","1401283247","1401283248","1401283249"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bdd5adf88c20932da2f538d6bea71f15.jpg","text":"TemporaryFile(/tmp/multipartBody2157852570069695325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847543053,"filename":"image_10122025_13_17_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20549f99b98eb5584a2ea9189d00e981.jpg","text":"TemporaryFile(/tmp/multipartBody381010357787076684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847543053,"filename":"image_10122025_13_17_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14644bc62af9c53415ed43302b104b17.jpg","text":"TemporaryFile(/tmp/multipartBody6017679378066084270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847543053,"filename":"image_10122025_13_18_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/12/27/ca568b03faaa522df8315e67f120bca7.jpg","text":"TemporaryFile(/tmp/multipartBody7291177263592158986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847543053,"filename":"image_10122025_13_17_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/12/27/de281a3e03c75331786afc991e5710d8.jpg","text":"TemporaryFile(/tmp/multipartBody246245335959578861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847543053,"filename":"image_10122025_13_17_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/12/27/79c0433a5f7b3a8967e7a7737203c589.jpg","text":"TemporaryFile(/tmp/multipartBody4277169954472732288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847543053,"filename":"image_10122025_13_18_05_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283246","file1":"1401283245","file0":"1401283243","file4":"1401283248","file5":"1401283249","file3":"1401283247"},"map_files_photo_id_array":[{"photo_id":"1401283249","filename":"file5"},{"photo_id":"1401283246","filename":"file2"},{"photo_id":"1401283248","filename":"file4"},{"photo_id":"1401283245","filename":"file1"},{"photo_id":"1401283243","filename":"file0"},{"photo_id":"1401283247","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283248":["hashtag1","hashtag2"]},{"1401283247":["hashtag1","hashtag2"]},{"1401283243":["hashtag1","hashtag2"]},{"1401283246":["hashtag1","hashtag2"]},{"1401283249":["hashtag1","hashtag2"]},{"1401283245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283248, 1401283247, 1401283243, 1401283246, 1401283249, 1401283245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.435827016830444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:59:02.927775
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_17_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_54_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_24_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_15_9637.jpg', '/home/nano/Desktop/images/10122025/13/16/image_10122025_13_17_05_10646.jpg', '/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_54_9633.jpg', '/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_45_10629.jpg', '/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_34_9618.jpg', '/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_24_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_15_9637.jpg
/home/nano/Desktop/images/10122025/13/16/image_10122025_13_17_05_10646.jpg
/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_54_9633.jpg
/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_45_10629.jpg
/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_34_9618.jpg
/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_24_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":["1401283742","1401283607","1401283675","1401283498","1401283806","1401283542"],"photo_ids_order":["1401283498","1401283542","1401283607","1401283675","1401283742","1401283806"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b592b1395f2b127295e3d5e87a5d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody2195200321367651981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847603732,"filename":"image_10122025_13_16_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/12/27/1035077dcf3ad7519294dc93fb95279c.jpg","text":"TemporaryFile(/tmp/multipartBody5644311757556420114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847603732,"filename":"image_10122025_13_16_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/12/27/eb4a63e633e2e4c5058ec51863f2b12a.jpg","text":"TemporaryFile(/tmp/multipartBody3357002655604866810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847603732,"filename":"image_10122025_13_16_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2dc08b505c1bb1fd0a0f9e01fdd78a6.jpg","text":"TemporaryFile(/tmp/multipartBody8757912174925207428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847603732,"filename":"image_10122025_13_17_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/496c40146ff392f5479fe2f19c359b14.jpg","text":"TemporaryFile(/tmp/multipartBody5481768162991795839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847603732,"filename":"image_10122025_13_16_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/12/27/4d1b433fa2f28c98a26a201033204fd2.jpg","text":"TemporaryFile(/tmp/multipartBody217707385966396665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847603732,"filename":"image_10122025_13_17_05_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401283607","file1":"1401283542","file0":"1401283498","file4":"1401283742","file5":"1401283806","file3":"1401283675"},"map_files_photo_id_array":[{"photo_id":"1401283806","filename":"file5"},{"photo_id":"1401283607","filename":"file2"},{"photo_id":"1401283742","filename":"file4"},{"photo_id":"1401283542","filename":"file1"},{"photo_id":"1401283498","filename":"file0"},{"photo_id":"1401283675","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401283742":["hashtag1","hashtag2"]},{"1401283607":["hashtag1","hashtag2"]},{"1401283675":["hashtag1","hashtag2"]},{"1401283498":["hashtag1","hashtag2"]},{"1401283806":["hashtag1","hashtag2"]},{"1401283542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401283742, 1401283607, 1401283675, 1401283498, 1401283806, 1401283542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58112645149231 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 15:59:46.851078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_16_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_45_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_25_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_15_10644.jpg', '/home/nano/Desktop/images/10122025/13/15/image_10122025_13_16_04_9628.jpg', '/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_55_9615.jpg', '/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_45_10624.jpg', '/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_34_9618.jpg', '/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_25_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_15_10644.jpg
/home/nano/Desktop/images/10122025/13/15/image_10122025_13_16_04_9628.jpg
/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_55_9615.jpg
/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_45_10624.jpg
/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_34_9618.jpg
/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_25_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":["1401284270","1401284473","1401284458","1401284355","1401284517","1401284424"],"photo_ids_order":["1401284270","1401284355","1401284424","1401284458","1401284473","1401284517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7ce38973c1c123eaba27c7354be813a.jpg","text":"TemporaryFile(/tmp/multipartBody6566313665787901990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847647670,"filename":"image_10122025_13_16_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea05eb13505beabe1094f83e3dfaa8dc.jpg","text":"TemporaryFile(/tmp/multipartBody5995108242170083635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847647670,"filename":"image_10122025_13_15_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/12/27/0924525d3eaf2e57d0fd25430748c0a2.jpg","text":"TemporaryFile(/tmp/multipartBody327491721294681870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847647670,"filename":"image_10122025_13_15_45_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d3879b986d7215f2fa207d4bdbd0824.jpg","text":"TemporaryFile(/tmp/multipartBody180568595896028767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847647670,"filename":"image_10122025_13_16_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/12/27/465d039f8d413421deae0ce34d2baab7.jpg","text":"TemporaryFile(/tmp/multipartBody577644911450672531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847647670,"filename":"image_10122025_13_15_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71222d494cfe9052749cce5e37d2e833.jpg","text":"TemporaryFile(/tmp/multipartBody4811960075978452442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847647670,"filename":"image_10122025_13_15_55_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401284424","file1":"1401284355","file0":"1401284270","file4":"1401284473","file5":"1401284517","file3":"1401284458"},"map_files_photo_id_array":[{"photo_id":"1401284517","filename":"file5"},{"photo_id":"1401284424","filename":"file2"},{"photo_id":"1401284473","filename":"file4"},{"photo_id":"1401284355","filename":"file1"},{"photo_id":"1401284270","filename":"file0"},{"photo_id":"1401284458","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401284270":["hashtag1","hashtag2"]},{"1401284473":["hashtag1","hashtag2"]},{"1401284458":["hashtag1","hashtag2"]},{"1401284355":["hashtag1","hashtag2"]},{"1401284517":["hashtag1","hashtag2"]},{"1401284424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401284270, 1401284473, 1401284458, 1401284355, 1401284517, 1401284424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.135340213775635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:00:31.947875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_15_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_44_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_35_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_25_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_14_9643.jpg', '/home/nano/Desktop/images/10122025/13/14/image_10122025_13_15_04_9636.jpg', '/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_55_10621.jpg', '/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_44_9637.jpg', '/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_35_9686.jpg', '/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_14_9643.jpg
/home/nano/Desktop/images/10122025/13/14/image_10122025_13_15_04_9636.jpg
/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_55_10621.jpg
/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_44_9637.jpg
/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_35_9686.jpg
/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_25_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":["1401285160","1401285220","1401285052","1401284952","1401285098","1401284996"],"photo_ids_order":["1401284952","1401284996","1401285052","1401285098","1401285160","1401285220"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/955c822d401588d5ee7d2499522113e8.jpg","text":"TemporaryFile(/tmp/multipartBody6661827020015208725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847692769,"filename":"image_10122025_13_14_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc04d47f802942820e864e54a18512a0.jpg","text":"TemporaryFile(/tmp/multipartBody949425113766673069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847692769,"filename":"image_10122025_13_14_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd42060fb15b2aa35ae4b2f2a2b73ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7762847063736570495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847692769,"filename":"image_10122025_13_14_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c87f4f2e836acfc66b7e3da211b2536e.jpg","text":"TemporaryFile(/tmp/multipartBody8716287546613177674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847692769,"filename":"image_10122025_13_15_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/12/27/da3025b0b7a745e0da6beed966494adb.jpg","text":"TemporaryFile(/tmp/multipartBody6735900945911804322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847692769,"filename":"image_10122025_13_14_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/12/27/cc22a685adabe086a7d7fd6eee42d04d.jpg","text":"TemporaryFile(/tmp/multipartBody2038281495308569393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847692769,"filename":"image_10122025_13_15_04_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401285052","file1":"1401284996","file0":"1401284952","file4":"1401285160","file5":"1401285220","file3":"1401285098"},"map_files_photo_id_array":[{"photo_id":"1401285220","filename":"file5"},{"photo_id":"1401285052","filename":"file2"},{"photo_id":"1401285160","filename":"file4"},{"photo_id":"1401284996","filename":"file1"},{"photo_id":"1401284952","filename":"file0"},{"photo_id":"1401285098","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401285160":["hashtag1","hashtag2"]},{"1401285220":["hashtag1","hashtag2"]},{"1401285052":["hashtag1","hashtag2"]},{"1401284952":["hashtag1","hashtag2"]},{"1401285098":["hashtag1","hashtag2"]},{"1401284996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401285160, 1401285220, 1401285052, 1401284952, 1401285098, 1401284996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99362778663635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:01:17.038498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_14_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_14_05_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_55_10688.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_44_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_34_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_25_10678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_14_9703.jpg', '/home/nano/Desktop/images/10122025/13/13/image_10122025_13_14_05_9697.jpg', '/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_55_10688.jpg', '/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_44_9681.jpg', '/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_34_9678.jpg', '/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_25_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_14_9703.jpg
/home/nano/Desktop/images/10122025/13/13/image_10122025_13_14_05_9697.jpg
/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_55_10688.jpg
/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_44_9681.jpg
/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_34_9678.jpg
/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_25_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":["1401285643","1401285471","1401285537","1401285501","1401285572","1401285608"],"photo_ids_order":["1401285471","1401285501","1401285537","1401285572","1401285608","1401285643"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdd7be669d57428454214139322a4b1d.jpg","text":"TemporaryFile(/tmp/multipartBody766609799308711064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847737851,"filename":"image_10122025_13_13_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/80ce357504e9967a50d9ef32bf05723a.jpg","text":"TemporaryFile(/tmp/multipartBody8290472834817269340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847737851,"filename":"image_10122025_13_14_14_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb39d5f5746bcfc351ee38547117aeb3.jpg","text":"TemporaryFile(/tmp/multipartBody6031414407458664181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847737851,"filename":"image_10122025_13_13_55_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/094d49dadb6583d820c714b4f918bb9e.jpg","text":"TemporaryFile(/tmp/multipartBody4512941841888287677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847737851,"filename":"image_10122025_13_14_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6535bf0f8cd333d16db4547b01360895.jpg","text":"TemporaryFile(/tmp/multipartBody2461790834245610891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847737851,"filename":"image_10122025_13_13_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/12/27/498b99ab8cdec5f85de71f143d2d53e7.jpg","text":"TemporaryFile(/tmp/multipartBody5568088091101705129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847737851,"filename":"image_10122025_13_13_34_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401285537","file1":"1401285501","file0":"1401285471","file4":"1401285608","file5":"1401285643","file3":"1401285572"},"map_files_photo_id_array":[{"photo_id":"1401285643","filename":"file5"},{"photo_id":"1401285537","filename":"file2"},{"photo_id":"1401285608","filename":"file4"},{"photo_id":"1401285501","filename":"file1"},{"photo_id":"1401285471","filename":"file0"},{"photo_id":"1401285572","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401285643":["hashtag1","hashtag2"]},{"1401285471":["hashtag1","hashtag2"]},{"1401285537":["hashtag1","hashtag2"]},{"1401285501":["hashtag1","hashtag2"]},{"1401285572":["hashtag1","hashtag2"]},{"1401285608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401285643, 1401285471, 1401285537, 1401285501, 1401285572, 1401285608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59752559661865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:02:02.609933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_14_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_13_04_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_55_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_45_10751.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_25_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_14_9646.jpg', '/home/nano/Desktop/images/10122025/13/12/image_10122025_13_13_04_9747.jpg', '/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_55_9738.jpg', '/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_45_10751.jpg', '/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_34_9640.jpg', '/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_25_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_14_9646.jpg
/home/nano/Desktop/images/10122025/13/12/image_10122025_13_13_04_9747.jpg
/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_55_9738.jpg
/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_45_10751.jpg
/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_34_9640.jpg
/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_25_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401285737","1401285742","1401285736","1401285739","1401285738","1401285740"],"photo_ids_order":["1401285736","1401285737","1401285738","1401285739","1401285740","1401285742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92007d4751247df5caf1cea209807441.jpg","text":"TemporaryFile(/tmp/multipartBody5121113138933735265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847783482,"filename":"image_10122025_13_13_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f28a5d91ee67d0f585949c508d676e9.jpg","text":"TemporaryFile(/tmp/multipartBody2889651598671374873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847783482,"filename":"image_10122025_13_12_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fc9344a1c48d0fb20d9f5e8077997d4.jpg","text":"TemporaryFile(/tmp/multipartBody4142716781613424098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847783482,"filename":"image_10122025_13_13_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/12/27/2acff8f2b2513d08181e6af1e8693439.jpg","text":"TemporaryFile(/tmp/multipartBody4018977996926138074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847783482,"filename":"image_10122025_13_12_45_10751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74701255d6745a1bb0b7001a86d466a4.jpg","text":"TemporaryFile(/tmp/multipartBody747883428635843793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847783482,"filename":"image_10122025_13_12_55_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c451fb73590ba132147be36e6490b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4740650715589185430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847783482,"filename":"image_10122025_13_12_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401285738","file1":"1401285737","file0":"1401285736","file4":"1401285740","file5":"1401285742","file3":"1401285739"},"map_files_photo_id_array":[{"photo_id":"1401285742","filename":"file5"},{"photo_id":"1401285738","filename":"file2"},{"photo_id":"1401285740","filename":"file4"},{"photo_id":"1401285737","filename":"file1"},{"photo_id":"1401285736","filename":"file0"},{"photo_id":"1401285739","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401285737":["hashtag1","hashtag2"]},{"1401285742":["hashtag1","hashtag2"]},{"1401285736":["hashtag1","hashtag2"]},{"1401285739":["hashtag1","hashtag2"]},{"1401285738":["hashtag1","hashtag2"]},{"1401285740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401285737, 1401285742, 1401285736, 1401285739, 1401285738, 1401285740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.785334587097168 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:02:47.155865
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_15_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_12_04_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_55_9677.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_34_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_25_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_15_10659.jpg', '/home/nano/Desktop/images/10122025/13/11/image_10122025_13_12_04_9649.jpg', '/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_55_9677.jpg', '/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_45_10635.jpg', '/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_34_9694.jpg', '/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_25_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_15_10659.jpg
/home/nano/Desktop/images/10122025/13/11/image_10122025_13_12_04_9649.jpg
/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_55_9677.jpg
/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_45_10635.jpg
/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_34_9694.jpg
/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_25_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":["1401285973","1401285961","1401285939","1401286023","1401285960","1401285962"],"photo_ids_order":["1401285939","1401285960","1401285961","1401285962","1401285973","1401286023"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fff5a73107cb235a363acf54e1ce9ce8.jpg","text":"TemporaryFile(/tmp/multipartBody5614081892330281859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847827962,"filename":"image_10122025_13_11_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75072c134a3e330cce71b063cb836526.jpg","text":"TemporaryFile(/tmp/multipartBody954168417149372631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847827962,"filename":"image_10122025_13_11_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0812efa03e588e8951b5aa4cd9011f82.jpg","text":"TemporaryFile(/tmp/multipartBody1851852079350445415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847827962,"filename":"image_10122025_13_12_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/679bd22a0f46c91921169601b46b0065.jpg","text":"TemporaryFile(/tmp/multipartBody8798488568923035478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847827962,"filename":"image_10122025_13_11_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd8e40da3bc996d90359ab5f97c95dce.jpg","text":"TemporaryFile(/tmp/multipartBody8978366824945775502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847827962,"filename":"image_10122025_13_12_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/12/27/ec8e47762755ff20ea89ef3690a39e80.jpg","text":"TemporaryFile(/tmp/multipartBody5174561345515934799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847827962,"filename":"image_10122025_13_11_45_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401285961","file1":"1401285960","file0":"1401285939","file4":"1401285973","file5":"1401286023","file3":"1401285962"},"map_files_photo_id_array":[{"photo_id":"1401286023","filename":"file5"},{"photo_id":"1401285961","filename":"file2"},{"photo_id":"1401285973","filename":"file4"},{"photo_id":"1401285960","filename":"file1"},{"photo_id":"1401285939","filename":"file0"},{"photo_id":"1401285962","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401285973":["hashtag1","hashtag2"]},{"1401285961":["hashtag1","hashtag2"]},{"1401285939":["hashtag1","hashtag2"]},{"1401286023":["hashtag1","hashtag2"]},{"1401285960":["hashtag1","hashtag2"]},{"1401285962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401285973, 1401285961, 1401285939, 1401286023, 1401285960, 1401285962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27754831314087 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:03:32.252294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_15_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_11_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_25_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_15_10692.jpg', '/home/nano/Desktop/images/10122025/13/10/image_10122025_13_11_04_9641.jpg', '/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_55_9617.jpg', '/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_45_10648.jpg', '/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_34_9635.jpg', '/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_25_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_15_10692.jpg
/home/nano/Desktop/images/10122025/13/10/image_10122025_13_11_04_9641.jpg
/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_55_9617.jpg
/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_45_10648.jpg
/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_34_9635.jpg
/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_25_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":["1401286264","1401286213","1401286219","1401286217","1401286211","1401286208"],"photo_ids_order":["1401286208","1401286211","1401286213","1401286217","1401286219","1401286264"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdd6f6832b5520f1e659cf4078cee3ae.jpg","text":"TemporaryFile(/tmp/multipartBody979015816339408003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847873066,"filename":"image_10122025_13_10_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35bedac69cf3dc2fa8e24c78f5556015.jpg","text":"TemporaryFile(/tmp/multipartBody3303356810665794418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847873066,"filename":"image_10122025_13_10_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15cd3015a78173284c6ff79648b23622.jpg","text":"TemporaryFile(/tmp/multipartBody324959983681007776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847873066,"filename":"image_10122025_13_10_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/12/27/7e7e26b9bda691366a47797e990d4e8d.jpg","text":"TemporaryFile(/tmp/multipartBody3456339547680204244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847873066,"filename":"image_10122025_13_10_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df4b53acc2d1a3ce126dad7d8330ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody3846508502837823961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847873066,"filename":"image_10122025_13_11_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/12/27/a321b2a48af7074936a07fff5952fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody5009158041539897788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847873066,"filename":"image_10122025_13_11_15_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286213","file1":"1401286211","file0":"1401286208","file4":"1401286219","file5":"1401286264","file3":"1401286217"},"map_files_photo_id_array":[{"photo_id":"1401286264","filename":"file5"},{"photo_id":"1401286213","filename":"file2"},{"photo_id":"1401286219","filename":"file4"},{"photo_id":"1401286211","filename":"file1"},{"photo_id":"1401286208","filename":"file0"},{"photo_id":"1401286217","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286264":["hashtag1","hashtag2"]},{"1401286213":["hashtag1","hashtag2"]},{"1401286219":["hashtag1","hashtag2"]},{"1401286217":["hashtag1","hashtag2"]},{"1401286211":["hashtag1","hashtag2"]},{"1401286208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286264, 1401286213, 1401286219, 1401286217, 1401286211, 1401286208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.546868562698364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:04:17.388050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_10_04_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_25_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_15_10644.jpg', '/home/nano/Desktop/images/10122025/13/09/image_10122025_13_10_04_9660.jpg', '/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_55_10621.jpg', '/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_44_9609.jpg', '/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_35_9616.jpg', '/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_15_10644.jpg
/home/nano/Desktop/images/10122025/13/09/image_10122025_13_10_04_9660.jpg
/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_55_10621.jpg
/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_44_9609.jpg
/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_35_9616.jpg
/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_25_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":["1401286318","1401286320","1401286323","1401286317","1401286326","1401286328"],"photo_ids_order":["1401286317","1401286318","1401286320","1401286323","1401286326","1401286328"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/230ccc26a815ae3511bb912f5b0ca39c.jpg","text":"TemporaryFile(/tmp/multipartBody2089007149937169574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847918193,"filename":"image_10122025_13_10_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/12/27/b29cb65f78fc29b1b51ac3750ecd06b1.jpg","text":"TemporaryFile(/tmp/multipartBody3480633890780379637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847918193,"filename":"image_10122025_13_09_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bacb7742547253c2ffe6c71de7569ec.jpg","text":"TemporaryFile(/tmp/multipartBody4903386051410626970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847918193,"filename":"image_10122025_13_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/12/27/c0181a39703d049ed678ef868245005c.jpg","text":"TemporaryFile(/tmp/multipartBody5532095116423059276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847918193,"filename":"image_10122025_13_10_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/080e1d4068d6d3ff25ec01d4554c41b6.jpg","text":"TemporaryFile(/tmp/multipartBody6032640755895462264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847918193,"filename":"image_10122025_13_09_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47a58caaea3d56fa8e134dc427c45d55.jpg","text":"TemporaryFile(/tmp/multipartBody3843376822804582156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847918193,"filename":"image_10122025_13_09_25_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286320","file1":"1401286318","file0":"1401286317","file4":"1401286326","file5":"1401286328","file3":"1401286323"},"map_files_photo_id_array":[{"photo_id":"1401286328","filename":"file5"},{"photo_id":"1401286320","filename":"file2"},{"photo_id":"1401286326","filename":"file4"},{"photo_id":"1401286318","filename":"file1"},{"photo_id":"1401286317","filename":"file0"},{"photo_id":"1401286323","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286318":["hashtag1","hashtag2"]},{"1401286320":["hashtag1","hashtag2"]},{"1401286323":["hashtag1","hashtag2"]},{"1401286317":["hashtag1","hashtag2"]},{"1401286326":["hashtag1","hashtag2"]},{"1401286328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286318, 1401286320, 1401286323, 1401286317, 1401286326, 1401286328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00580191612244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:05:03.210410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_09_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_55_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_24_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_14_9650.jpg', '/home/nano/Desktop/images/10122025/13/08/image_10122025_13_09_05_9652.jpg', '/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_55_10619.jpg', '/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_44_9626.jpg', '/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_35_10630.jpg', '/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_14_9650.jpg
/home/nano/Desktop/images/10122025/13/08/image_10122025_13_09_05_9652.jpg
/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_55_10619.jpg
/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_44_9626.jpg
/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_35_10630.jpg
/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_24_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":["1401286336","1401286339","1401286338","1401286340","1401286343","1401286337"],"photo_ids_order":["1401286336","1401286337","1401286338","1401286339","1401286340","1401286343"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a6a5935a7daefe2e89ca2297856322a.jpg","text":"TemporaryFile(/tmp/multipartBody3157154484002030403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847964074,"filename":"image_10122025_13_09_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/12/27/83d548fcac461c53c3eaa46628634b23.jpg","text":"TemporaryFile(/tmp/multipartBody6694224337347937702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847964074,"filename":"image_10122025_13_08_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/12/27/edb89fee36d4e147566dfcbc7066cd53.jpg","text":"TemporaryFile(/tmp/multipartBody5893911419774026346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847964074,"filename":"image_10122025_13_08_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01640cfce4304de635a87c2ec3601b32.jpg","text":"TemporaryFile(/tmp/multipartBody3085694048147563128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847964074,"filename":"image_10122025_13_08_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f87963ea23b5d92cf583940da6fba3b.jpg","text":"TemporaryFile(/tmp/multipartBody3279702250089175137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847964074,"filename":"image_10122025_13_08_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/12/27/fc7079bf734b82aa7b0fb48e298403a8.jpg","text":"TemporaryFile(/tmp/multipartBody167528051869627906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766847964074,"filename":"image_10122025_13_09_05_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286338","file1":"1401286337","file0":"1401286336","file4":"1401286340","file5":"1401286343","file3":"1401286339"},"map_files_photo_id_array":[{"photo_id":"1401286343","filename":"file5"},{"photo_id":"1401286338","filename":"file2"},{"photo_id":"1401286340","filename":"file4"},{"photo_id":"1401286337","filename":"file1"},{"photo_id":"1401286336","filename":"file0"},{"photo_id":"1401286339","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286336":["hashtag1","hashtag2"]},{"1401286339":["hashtag1","hashtag2"]},{"1401286338":["hashtag1","hashtag2"]},{"1401286340":["hashtag1","hashtag2"]},{"1401286343":["hashtag1","hashtag2"]},{"1401286337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286336, 1401286339, 1401286338, 1401286340, 1401286343, 1401286337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30504059791565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:05:47.498979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.695037841796875 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:06:03.157197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg', '/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_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":["1401286366","1401286371","1401286368","1401286364","1401286367","1401286369"],"photo_ids_order":["1401286364","1401286366","1401286367","1401286368","1401286369","1401286371"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76f54279369bf1e6525eedb132e783ba.jpg","text":"TemporaryFile(/tmp/multipartBody6565254290431994051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848024036,"filename":"image_10122025_13_08_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2910c13ed69f4f29d7accae99edaeceb.jpg","text":"TemporaryFile(/tmp/multipartBody2909083013348451760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848024036,"filename":"image_10122025_13_07_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/12/27/9c9093d9fbd6b6f05a0db5c97927759c.jpg","text":"TemporaryFile(/tmp/multipartBody6053854619291079333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848024036,"filename":"image_10122025_13_07_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90c315bafab9df94fe8e65bbe0805ba3.jpg","text":"TemporaryFile(/tmp/multipartBody648886255159983033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848024036,"filename":"image_10122025_13_08_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d7b45e7fcda72c35a96413820d91a01.jpg","text":"TemporaryFile(/tmp/multipartBody5514615686209688280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848024036,"filename":"image_10122025_13_07_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/12/27/d04411efa576e5abb364aa832ecf92ef.jpg","text":"TemporaryFile(/tmp/multipartBody8772326116766443281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848024036,"filename":"image_10122025_13_07_35_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286367","file1":"1401286366","file0":"1401286364","file4":"1401286369","file5":"1401286371","file3":"1401286368"},"map_files_photo_id_array":[{"photo_id":"1401286371","filename":"file5"},{"photo_id":"1401286367","filename":"file2"},{"photo_id":"1401286369","filename":"file4"},{"photo_id":"1401286366","filename":"file1"},{"photo_id":"1401286364","filename":"file0"},{"photo_id":"1401286368","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286366":["hashtag1","hashtag2"]},{"1401286371":["hashtag1","hashtag2"]},{"1401286368":["hashtag1","hashtag2"]},{"1401286364":["hashtag1","hashtag2"]},{"1401286367":["hashtag1","hashtag2"]},{"1401286369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286366, 1401286371, 1401286368, 1401286364, 1401286367, 1401286369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.785037755966187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:06:47.574952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_07_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_54_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_45_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_35_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_24_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_15_9660.jpg', '/home/nano/Desktop/images/10122025/13/06/image_10122025_13_07_05_10644.jpg', '/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_54_9632.jpg', '/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_45_9658.jpg', '/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_35_10656.jpg', '/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_24_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_15_9660.jpg
/home/nano/Desktop/images/10122025/13/06/image_10122025_13_07_05_10644.jpg
/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_54_9632.jpg
/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_45_9658.jpg
/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_35_10656.jpg
/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_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":["1401286384","1401286386","1401286389","1401286388","1401286385","1401286387"],"photo_ids_order":["1401286384","1401286385","1401286386","1401286387","1401286388","1401286389"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e74d647430412fcbe3292eaaf9543105.jpg","text":"TemporaryFile(/tmp/multipartBody3647524903979046033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848068387,"filename":"image_10122025_13_07_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6182520e3d8705c3c70069378783aa6c.jpg","text":"TemporaryFile(/tmp/multipartBody6988090177684840971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848068387,"filename":"image_10122025_13_06_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/12/27/e48a014e4e643031fbdfc86611247f13.jpg","text":"TemporaryFile(/tmp/multipartBody977253059225109654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848068387,"filename":"image_10122025_13_06_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/12/27/ab45c484af9184a7ca3893163ac35e18.jpg","text":"TemporaryFile(/tmp/multipartBody6645817469469929241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848068387,"filename":"image_10122025_13_06_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e14f40dd6901102bf15c4d3bf5cead74.jpg","text":"TemporaryFile(/tmp/multipartBody5984170417899903385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848068387,"filename":"image_10122025_13_07_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/022538c90c22f72cbc14c0bb8fa48495.jpg","text":"TemporaryFile(/tmp/multipartBody2572668292001930267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848068387,"filename":"image_10122025_13_06_45_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286386","file1":"1401286385","file0":"1401286384","file4":"1401286388","file5":"1401286389","file3":"1401286387"},"map_files_photo_id_array":[{"photo_id":"1401286389","filename":"file5"},{"photo_id":"1401286386","filename":"file2"},{"photo_id":"1401286388","filename":"file4"},{"photo_id":"1401286385","filename":"file1"},{"photo_id":"1401286384","filename":"file0"},{"photo_id":"1401286387","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286384":["hashtag1","hashtag2"]},{"1401286386":["hashtag1","hashtag2"]},{"1401286389":["hashtag1","hashtag2"]},{"1401286388":["hashtag1","hashtag2"]},{"1401286385":["hashtag1","hashtag2"]},{"1401286387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286384, 1401286386, 1401286389, 1401286388, 1401286385, 1401286387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.149837255477905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:07:32.687468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_15_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_06_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_54_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_35_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_24_9723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_15_9714.jpg', '/home/nano/Desktop/images/10122025/13/05/image_10122025_13_06_05_10686.jpg', '/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_54_9746.jpg', '/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_45_9654.jpg', '/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_35_10686.jpg', '/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_24_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_15_9714.jpg
/home/nano/Desktop/images/10122025/13/05/image_10122025_13_06_05_10686.jpg
/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_54_9746.jpg
/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_45_9654.jpg
/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_35_10686.jpg
/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_24_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401286395","1401286401","1401286404","1401286397","1401286399","1401286403"],"photo_ids_order":["1401286395","1401286397","1401286399","1401286401","1401286403","1401286404"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/383a27c3cd7925b2aafbf5a089dc8292.jpg","text":"TemporaryFile(/tmp/multipartBody439131391007444286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848113509,"filename":"image_10122025_13_06_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28ff95da9c1c4150522c7d0ab519a1eb.jpg","text":"TemporaryFile(/tmp/multipartBody1838313975406475232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848113509,"filename":"image_10122025_13_05_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2a01c16fcbd96aca738cc58592301b2.jpg","text":"TemporaryFile(/tmp/multipartBody2542549661488103232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848113509,"filename":"image_10122025_13_05_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df347a79a2c3795f67237e088f04372e.jpg","text":"TemporaryFile(/tmp/multipartBody4742636881690156072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848113509,"filename":"image_10122025_13_06_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/217ab3cb3d2aa8ccab006af83d9d8448.jpg","text":"TemporaryFile(/tmp/multipartBody8560402039661891442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848113509,"filename":"image_10122025_13_05_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c937a1f228117d0f71b501404ae90537.jpg","text":"TemporaryFile(/tmp/multipartBody3241141492628878542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848113509,"filename":"image_10122025_13_05_35_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286399","file1":"1401286397","file0":"1401286395","file4":"1401286403","file5":"1401286404","file3":"1401286401"},"map_files_photo_id_array":[{"photo_id":"1401286404","filename":"file5"},{"photo_id":"1401286399","filename":"file2"},{"photo_id":"1401286403","filename":"file4"},{"photo_id":"1401286397","filename":"file1"},{"photo_id":"1401286395","filename":"file0"},{"photo_id":"1401286401","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286395":["hashtag1","hashtag2"]},{"1401286401":["hashtag1","hashtag2"]},{"1401286404":["hashtag1","hashtag2"]},{"1401286397":["hashtag1","hashtag2"]},{"1401286399":["hashtag1","hashtag2"]},{"1401286403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286395, 1401286401, 1401286404, 1401286397, 1401286399, 1401286403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.318817138671875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:08:16.762781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_05_05_10774.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_54_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_44_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_35_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_25_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_15_9706.jpg', '/home/nano/Desktop/images/10122025/13/04/image_10122025_13_05_05_10774.jpg', '/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_54_9763.jpg', '/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_44_9761.jpg', '/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_35_9746.jpg', '/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_25_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_15_9706.jpg
/home/nano/Desktop/images/10122025/13/04/image_10122025_13_05_05_10774.jpg
/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_54_9763.jpg
/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_44_9761.jpg
/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_35_9746.jpg
/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_25_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":["1401286405","1401286412","1401286415","1401286409","1401286418","1401286406"],"photo_ids_order":["1401286405","1401286406","1401286409","1401286412","1401286415","1401286418"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40a948c03461bdff044681a04c55c55e.jpg","text":"TemporaryFile(/tmp/multipartBody3209604068627969830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848157594,"filename":"image_10122025_13_05_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2848da172182ec65df7dd7ef3bcef1b.jpg","text":"TemporaryFile(/tmp/multipartBody5942956260829357103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848157594,"filename":"image_10122025_13_04_44_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0e530cd4a13f098c77c26d35266f126.jpg","text":"TemporaryFile(/tmp/multipartBody8515292873255832221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848157594,"filename":"image_10122025_13_04_35_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/363b4def125694000b1f7f1df64f54ed.jpg","text":"TemporaryFile(/tmp/multipartBody4943361661811279796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848157594,"filename":"image_10122025_13_04_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2fb0c813c25f1192f835c3038df853f9.jpg","text":"TemporaryFile(/tmp/multipartBody2809335359812137865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848157594,"filename":"image_10122025_13_04_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a5cea75f06bbe032418042842c2b5de.jpg","text":"TemporaryFile(/tmp/multipartBody3543126247617299438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848157594,"filename":"image_10122025_13_05_05_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286409","file1":"1401286406","file0":"1401286405","file4":"1401286415","file5":"1401286418","file3":"1401286412"},"map_files_photo_id_array":[{"photo_id":"1401286418","filename":"file5"},{"photo_id":"1401286409","filename":"file2"},{"photo_id":"1401286415","filename":"file4"},{"photo_id":"1401286406","filename":"file1"},{"photo_id":"1401286405","filename":"file0"},{"photo_id":"1401286412","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286405":["hashtag1","hashtag2"]},{"1401286412":["hashtag1","hashtag2"]},{"1401286415":["hashtag1","hashtag2"]},{"1401286409":["hashtag1","hashtag2"]},{"1401286418":["hashtag1","hashtag2"]},{"1401286406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286405, 1401286412, 1401286415, 1401286409, 1401286418, 1401286406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9593300819397 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:09:02.871810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_14_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_04_04_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_55_9734.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_45_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_34_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_25_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_14_9714.jpg', '/home/nano/Desktop/images/10122025/13/03/image_10122025_13_04_04_9690.jpg', '/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_55_9734.jpg', '/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_45_10685.jpg', '/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_34_9787.jpg', '/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_25_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_14_9714.jpg
/home/nano/Desktop/images/10122025/13/03/image_10122025_13_04_04_9690.jpg
/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_55_9734.jpg
/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_45_10685.jpg
/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_34_9787.jpg
/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_25_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":["1401286426","1401286429","1401286428","1401286430","1401286433","1401286427"],"photo_ids_order":["1401286426","1401286427","1401286428","1401286429","1401286430","1401286433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55ad1270031f30eed976d948b18b231f.jpg","text":"TemporaryFile(/tmp/multipartBody9036323382971802621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848203742,"filename":"image_10122025_13_04_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/232ed5a4557cce35f05f805b27d87072.jpg","text":"TemporaryFile(/tmp/multipartBody535802478394858689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848203742,"filename":"image_10122025_13_03_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fe6c6666c5e9e3e3db1297a1d6a4ac2.jpg","text":"TemporaryFile(/tmp/multipartBody293752793616447729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848203742,"filename":"image_10122025_13_03_55_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ddce77fbdebdce35ca4af02c374d9ba.jpg","text":"TemporaryFile(/tmp/multipartBody2816098358932180357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848203742,"filename":"image_10122025_13_03_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/12/27/0f0c8b75d1442b0a00aeb7c7281844f3.jpg","text":"TemporaryFile(/tmp/multipartBody3691207388822658468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848203742,"filename":"image_10122025_13_03_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d87cbafd46b4d0457290748d8a07443a.jpg","text":"TemporaryFile(/tmp/multipartBody1275062016837401243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848203742,"filename":"image_10122025_13_04_04_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286428","file1":"1401286427","file0":"1401286426","file4":"1401286430","file5":"1401286433","file3":"1401286429"},"map_files_photo_id_array":[{"photo_id":"1401286433","filename":"file5"},{"photo_id":"1401286428","filename":"file2"},{"photo_id":"1401286430","filename":"file4"},{"photo_id":"1401286427","filename":"file1"},{"photo_id":"1401286426","filename":"file0"},{"photo_id":"1401286429","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286426":["hashtag1","hashtag2"]},{"1401286429":["hashtag1","hashtag2"]},{"1401286428":["hashtag1","hashtag2"]},{"1401286430":["hashtag1","hashtag2"]},{"1401286433":["hashtag1","hashtag2"]},{"1401286427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286426, 1401286429, 1401286428, 1401286430, 1401286433, 1401286427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.541913747787476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:09:46.889404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_15_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_03_04_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_55_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_45_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_34_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_25_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_15_10702.jpg', '/home/nano/Desktop/images/10122025/13/02/image_10122025_13_03_04_9668.jpg', '/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_55_9649.jpg', '/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_45_10655.jpg', '/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_34_9637.jpg', '/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_25_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_15_10702.jpg
/home/nano/Desktop/images/10122025/13/02/image_10122025_13_03_04_9668.jpg
/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_55_9649.jpg
/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_45_10655.jpg
/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_34_9637.jpg
/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_25_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":["1401286447","1401286446","1401286449","1401286443","1401286445","1401286448"],"photo_ids_order":["1401286443","1401286445","1401286446","1401286447","1401286448","1401286449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7e5cde33ecfd85a3ecfd37e4c431370.jpg","text":"TemporaryFile(/tmp/multipartBody7247823314548524998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848247716,"filename":"image_10122025_13_02_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15137b5995c7372a60ef444496988ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3098822083425442182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848247716,"filename":"image_10122025_13_02_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/849d1b420e8fd0f4acf3b9d03cc10fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4293965784509336360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848247716,"filename":"image_10122025_13_02_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43e7cb310e26000ab058c2bbc3585f21.jpg","text":"TemporaryFile(/tmp/multipartBody5188430386357702779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848247716,"filename":"image_10122025_13_03_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c3a52b07f0172010fd49645c40382b6.jpg","text":"TemporaryFile(/tmp/multipartBody6591581203681047759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848247716,"filename":"image_10122025_13_03_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/12/27/705debe05f4f63b8fe98554afa76cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody2163063767255445204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848247716,"filename":"image_10122025_13_02_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286446","file1":"1401286445","file0":"1401286443","file4":"1401286448","file5":"1401286449","file3":"1401286447"},"map_files_photo_id_array":[{"photo_id":"1401286449","filename":"file5"},{"photo_id":"1401286446","filename":"file2"},{"photo_id":"1401286448","filename":"file4"},{"photo_id":"1401286445","filename":"file1"},{"photo_id":"1401286443","filename":"file0"},{"photo_id":"1401286447","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286447":["hashtag1","hashtag2"]},{"1401286446":["hashtag1","hashtag2"]},{"1401286449":["hashtag1","hashtag2"]},{"1401286443":["hashtag1","hashtag2"]},{"1401286445":["hashtag1","hashtag2"]},{"1401286448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286447, 1401286446, 1401286449, 1401286443, 1401286445, 1401286448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.742631673812866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:10:32.008029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_02_04_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_55_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_45_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_34_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_25_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_15_10647.jpg', '/home/nano/Desktop/images/10122025/13/01/image_10122025_13_02_04_9657.jpg', '/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_55_9630.jpg', '/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_45_10661.jpg', '/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_34_9668.jpg', '/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_25_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_15_10647.jpg
/home/nano/Desktop/images/10122025/13/01/image_10122025_13_02_04_9657.jpg
/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_55_9630.jpg
/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_45_10661.jpg
/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_34_9668.jpg
/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_25_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":["1401286456","1401286465","1401286463","1401286457","1401286466","1401286460"],"photo_ids_order":["1401286456","1401286457","1401286460","1401286463","1401286465","1401286466"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f0002a84aeebf3b27e60099730c42a9.jpg","text":"TemporaryFile(/tmp/multipartBody6166494747643974040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848292829,"filename":"image_10122025_13_02_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96c5858a322e0ab546f63fe5ffcf7162.jpg","text":"TemporaryFile(/tmp/multipartBody3217732281542435716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848292829,"filename":"image_10122025_13_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/12/27/2d0c47d567a878549db35a15a0efc88b.jpg","text":"TemporaryFile(/tmp/multipartBody3165468719135304258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848292829,"filename":"image_10122025_13_01_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2698a321616858b68d502f5c5d415cf9.jpg","text":"TemporaryFile(/tmp/multipartBody5124147264676165493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848292829,"filename":"image_10122025_13_02_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/12/27/695d6925a29e8915e94cac0d28cd8230.jpg","text":"TemporaryFile(/tmp/multipartBody7284980904937942339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848292829,"filename":"image_10122025_13_01_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/953ca7738a3117cf445b818d724220ca.jpg","text":"TemporaryFile(/tmp/multipartBody7855202165874554799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848292829,"filename":"image_10122025_13_01_55_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286460","file1":"1401286457","file0":"1401286456","file4":"1401286465","file5":"1401286466","file3":"1401286463"},"map_files_photo_id_array":[{"photo_id":"1401286466","filename":"file5"},{"photo_id":"1401286460","filename":"file2"},{"photo_id":"1401286465","filename":"file4"},{"photo_id":"1401286457","filename":"file1"},{"photo_id":"1401286456","filename":"file0"},{"photo_id":"1401286463","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286456":["hashtag1","hashtag2"]},{"1401286465":["hashtag1","hashtag2"]},{"1401286463":["hashtag1","hashtag2"]},{"1401286457":["hashtag1","hashtag2"]},{"1401286466":["hashtag1","hashtag2"]},{"1401286460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286456, 1401286465, 1401286463, 1401286457, 1401286466, 1401286460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.606913089752197 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:11:17.100000
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_15_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_01_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_25_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_15_10654.jpg', '/home/nano/Desktop/images/10122025/13/00/image_10122025_13_01_04_9613.jpg', '/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_55_10607.jpg', '/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_44_9603.jpg', '/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_35_9601.jpg', '/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_25_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_15_10654.jpg
/home/nano/Desktop/images/10122025/13/00/image_10122025_13_01_04_9613.jpg
/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_55_10607.jpg
/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_44_9603.jpg
/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_35_9601.jpg
/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_25_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":["1401286482","1401286479","1401286475","1401286469","1401286478","1401286472"],"photo_ids_order":["1401286469","1401286472","1401286475","1401286478","1401286479","1401286482"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df5f28b56dc270360c576f59d120c836.jpg","text":"TemporaryFile(/tmp/multipartBody3361384764582905309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848337912,"filename":"image_10122025_13_00_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0662c9e48c69a3dc900dd62193448a03.jpg","text":"TemporaryFile(/tmp/multipartBody499686894408911448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848337912,"filename":"image_10122025_13_00_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a96add24214e8a62a40fd5779ca156b7.jpg","text":"TemporaryFile(/tmp/multipartBody4370011392667522063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848337912,"filename":"image_10122025_13_00_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1ce9052b4f1966c25dd649de8e34454.jpg","text":"TemporaryFile(/tmp/multipartBody6265864019099877028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848337912,"filename":"image_10122025_13_01_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16696be6df47c75b5a8a83368715bafa.jpg","text":"TemporaryFile(/tmp/multipartBody246735285624499471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848337912,"filename":"image_10122025_13_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/12/27/1af3c9004ed643158481a289c84659aa.jpg","text":"TemporaryFile(/tmp/multipartBody4540220619332770297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848337912,"filename":"image_10122025_13_01_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286475","file1":"1401286472","file0":"1401286469","file4":"1401286479","file5":"1401286482","file3":"1401286478"},"map_files_photo_id_array":[{"photo_id":"1401286482","filename":"file5"},{"photo_id":"1401286475","filename":"file2"},{"photo_id":"1401286479","filename":"file4"},{"photo_id":"1401286472","filename":"file1"},{"photo_id":"1401286469","filename":"file0"},{"photo_id":"1401286478","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286482":["hashtag1","hashtag2"]},{"1401286479":["hashtag1","hashtag2"]},{"1401286475":["hashtag1","hashtag2"]},{"1401286469":["hashtag1","hashtag2"]},{"1401286478":["hashtag1","hashtag2"]},{"1401286472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286482, 1401286479, 1401286475, 1401286469, 1401286478, 1401286472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0184211730957 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:12:02.716702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/59/image_10122025_13_00_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/59/image_10122025_12_59_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_55_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_14_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_14_9612.jpg', '/home/nano/Desktop/images/10122025/12/59/image_10122025_13_00_05_10608.jpg', '/home/nano/Desktop/images/10122025/12/59/image_10122025_12_59_54_9614.jpg', '/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_55_9616.jpg', '/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg', '/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_14_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_14_9612.jpg
/home/nano/Desktop/images/10122025/12/59/image_10122025_13_00_05_10608.jpg
/home/nano/Desktop/images/10122025/12/59/image_10122025_12_59_54_9614.jpg
/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_55_9616.jpg
/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg
/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_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":["1401286497","1401286494","1401286493","1401286496","1401286498","1401286495"],"photo_ids_order":["1401286493","1401286494","1401286495","1401286496","1401286497","1401286498"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d64730a394dec2ec481a999a56336e79.jpg","text":"TemporaryFile(/tmp/multipartBody2952723540673978724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848383618,"filename":"image_10122025_12_57_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c0b41cc2230be8bec04059ba9c11288.jpg","text":"TemporaryFile(/tmp/multipartBody1961379898568051935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848383618,"filename":"image_10122025_13_00_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26bfa6efe161223a83e4926dbf48f055.jpg","text":"TemporaryFile(/tmp/multipartBody2389971325939684591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848383618,"filename":"image_10122025_13_00_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/12/27/0696395d1922baa8b2f11d018ae8a403.jpg","text":"TemporaryFile(/tmp/multipartBody8211937936194596621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848383618,"filename":"image_10122025_12_57_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6db87264db435940137c27496d5ed3eb.jpg","text":"TemporaryFile(/tmp/multipartBody3857887659931023286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848383618,"filename":"image_10122025_12_56_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/12/27/c0255953aba0315f90657286f062024b.jpg","text":"TemporaryFile(/tmp/multipartBody3622415197672852241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848383618,"filename":"image_10122025_12_59_54_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286495","file1":"1401286494","file0":"1401286493","file4":"1401286497","file5":"1401286498","file3":"1401286496"},"map_files_photo_id_array":[{"photo_id":"1401286498","filename":"file5"},{"photo_id":"1401286495","filename":"file2"},{"photo_id":"1401286497","filename":"file4"},{"photo_id":"1401286494","filename":"file1"},{"photo_id":"1401286493","filename":"file0"},{"photo_id":"1401286496","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286497":["hashtag1","hashtag2"]},{"1401286494":["hashtag1","hashtag2"]},{"1401286493":["hashtag1","hashtag2"]},{"1401286496":["hashtag1","hashtag2"]},{"1401286498":["hashtag1","hashtag2"]},{"1401286495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286497, 1401286494, 1401286493, 1401286496, 1401286498, 1401286495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27169704437256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:12:47.214969
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', '/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', '/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', '/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', '/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', '/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg
/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg
/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg
/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg
/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg
/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_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":["1401286510","1401286513","1401286509","1401286512","1401286511","1401286508"],"photo_ids_order":["1401286508","1401286509","1401286510","1401286511","1401286512","1401286513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2b0878310452122a5e5a9c02ef5b61a.jpg","text":"TemporaryFile(/tmp/multipartBody5511580162781552019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848428040,"filename":"image_10122025_12_54_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/12/27/2e0a41cb4d83d6807f72f9d064bd52db.jpg","text":"TemporaryFile(/tmp/multipartBody2543096866688459363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848428040,"filename":"image_10122025_12_54_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0dd3e6b99d3ffa49a411c71d61ced060.jpg","text":"TemporaryFile(/tmp/multipartBody6074556211572643768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848428040,"filename":"image_10122025_12_55_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/272d018d82d7c495bd9069c9629f2b6b.jpg","text":"TemporaryFile(/tmp/multipartBody1052025452378299328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848428040,"filename":"image_10122025_12_54_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3762588ea31ba524a4caa987025ac11.jpg","text":"TemporaryFile(/tmp/multipartBody8762922538358634470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848428040,"filename":"image_10122025_12_54_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/12/27/e8f4b7338a3f64b50b5df7dea221e56e.jpg","text":"TemporaryFile(/tmp/multipartBody1473131464558293416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848428040,"filename":"image_10122025_12_56_05_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286510","file1":"1401286509","file0":"1401286508","file4":"1401286512","file5":"1401286513","file3":"1401286511"},"map_files_photo_id_array":[{"photo_id":"1401286513","filename":"file5"},{"photo_id":"1401286510","filename":"file2"},{"photo_id":"1401286512","filename":"file4"},{"photo_id":"1401286509","filename":"file1"},{"photo_id":"1401286508","filename":"file0"},{"photo_id":"1401286511","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286510":["hashtag1","hashtag2"]},{"1401286513":["hashtag1","hashtag2"]},{"1401286509":["hashtag1","hashtag2"]},{"1401286512":["hashtag1","hashtag2"]},{"1401286511":["hashtag1","hashtag2"]},{"1401286508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286510, 1401286513, 1401286509, 1401286512, 1401286511, 1401286508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38921022415161 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:13:32.312952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_54_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_14_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/53/image_10122025_12_54_04_9602.jpg', '/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_55_10613.jpg', '/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_44_9629.jpg', '/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_35_9599.jpg', '/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_25_10602.jpg', '/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/53/image_10122025_12_54_04_9602.jpg
/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_55_10613.jpg
/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_44_9629.jpg
/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_35_9599.jpg
/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_25_10602.jpg
/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_14_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":["1401286522","1401286531","1401286525","1401286519","1401286528","1401286532"],"photo_ids_order":["1401286519","1401286522","1401286525","1401286528","1401286531","1401286532"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfb5b2c3277225073a6a46dca43e61e1.jpg","text":"TemporaryFile(/tmp/multipartBody3033477220189540261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848473102,"filename":"image_10122025_12_53_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86221e6277b275e79a81f581003ea588.jpg","text":"TemporaryFile(/tmp/multipartBody2490452090228832489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848473102,"filename":"image_10122025_12_53_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6482d6991df8b5f791025f3b9620283.jpg","text":"TemporaryFile(/tmp/multipartBody4531853577039143033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848473102,"filename":"image_10122025_12_53_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/12/27/acd5c23bedb8fa7e409af09a5a745127.jpg","text":"TemporaryFile(/tmp/multipartBody133058738376506995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848473102,"filename":"image_10122025_12_54_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/12/27/03d87d77b5c6230cfa281d6fc6e5651a.jpg","text":"TemporaryFile(/tmp/multipartBody2066303876222966256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848473102,"filename":"image_10122025_12_53_35_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c018d6ba7ef9a255f17a9b6be630cba1.jpg","text":"TemporaryFile(/tmp/multipartBody2621178547714915518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848473102,"filename":"image_10122025_12_53_14_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286525","file1":"1401286522","file0":"1401286519","file4":"1401286531","file5":"1401286532","file3":"1401286528"},"map_files_photo_id_array":[{"photo_id":"1401286532","filename":"file5"},{"photo_id":"1401286525","filename":"file2"},{"photo_id":"1401286531","filename":"file4"},{"photo_id":"1401286522","filename":"file1"},{"photo_id":"1401286519","filename":"file0"},{"photo_id":"1401286528","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286522":["hashtag1","hashtag2"]},{"1401286531":["hashtag1","hashtag2"]},{"1401286525":["hashtag1","hashtag2"]},{"1401286519":["hashtag1","hashtag2"]},{"1401286528":["hashtag1","hashtag2"]},{"1401286532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286522, 1401286531, 1401286525, 1401286519, 1401286528, 1401286532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.067012548446655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:14:17.445147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_53_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_55_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_44_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_35_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_14_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/52/image_10122025_12_53_05_9623.jpg', '/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_55_10648.jpg', '/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_44_9684.jpg', '/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_35_9701.jpg', '/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_25_10707.jpg', '/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_14_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/52/image_10122025_12_53_05_9623.jpg
/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_55_10648.jpg
/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_44_9684.jpg
/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_35_9701.jpg
/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_25_10707.jpg
/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_14_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401286534","1401286545","1401286548","1401286542","1401286538","1401286535"],"photo_ids_order":["1401286534","1401286535","1401286538","1401286542","1401286545","1401286548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea78b6702142c784474c77047ccd88ee.jpg","text":"TemporaryFile(/tmp/multipartBody1907460422538262972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848518266,"filename":"image_10122025_12_53_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7d11b5b224acb687472bf25c5b5f4b8.jpg","text":"TemporaryFile(/tmp/multipartBody3634546824330556214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848518266,"filename":"image_10122025_12_52_25_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee7e235bd32aaaea5afc8705fc1b719d.jpg","text":"TemporaryFile(/tmp/multipartBody847608891676949852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848518266,"filename":"image_10122025_12_52_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a3558539af6a4a9412c3abb9d28c211.jpg","text":"TemporaryFile(/tmp/multipartBody1057549852023019230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848518266,"filename":"image_10122025_12_52_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69938d9d1c2d4ad69b4a4cf7883868ce.jpg","text":"TemporaryFile(/tmp/multipartBody2249538262788674277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848518266,"filename":"image_10122025_12_52_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/12/27/b7c73704be236a4d5c0eeebe23ee8878.jpg","text":"TemporaryFile(/tmp/multipartBody8474529165475648881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848518266,"filename":"image_10122025_12_52_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286538","file1":"1401286535","file0":"1401286534","file4":"1401286545","file5":"1401286548","file3":"1401286542"},"map_files_photo_id_array":[{"photo_id":"1401286548","filename":"file5"},{"photo_id":"1401286538","filename":"file2"},{"photo_id":"1401286545","filename":"file4"},{"photo_id":"1401286535","filename":"file1"},{"photo_id":"1401286534","filename":"file0"},{"photo_id":"1401286542","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286534":["hashtag1","hashtag2"]},{"1401286545":["hashtag1","hashtag2"]},{"1401286548":["hashtag1","hashtag2"]},{"1401286542":["hashtag1","hashtag2"]},{"1401286538":["hashtag1","hashtag2"]},{"1401286535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286534, 1401286545, 1401286548, 1401286542, 1401286538, 1401286535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93710899353027 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:15:03.371142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_52_05_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_55_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_44_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_25_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_15_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/51/image_10122025_12_52_05_9711.jpg', '/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_55_10725.jpg', '/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_44_9717.jpg', '/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_34_9770.jpg', '/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_25_9704.jpg', '/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_15_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/51/image_10122025_12_52_05_9711.jpg
/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_55_10725.jpg
/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_44_9717.jpg
/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_34_9770.jpg
/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_25_9704.jpg
/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_15_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":["1401286564","1401286563","1401286566","1401286565","1401286570","1401286567"],"photo_ids_order":["1401286563","1401286564","1401286565","1401286566","1401286567","1401286570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6bf4c86d908f10335f23af825450217.jpg","text":"TemporaryFile(/tmp/multipartBody8747572182253827599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848564298,"filename":"image_10122025_12_51_55_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0146c00a90ce45abab915e6f57eda79b.jpg","text":"TemporaryFile(/tmp/multipartBody3208259092211574360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848564298,"filename":"image_10122025_12_52_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8b730188f68e9dc1e70526c7f5def5c.jpg","text":"TemporaryFile(/tmp/multipartBody3180069423405576292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848564298,"filename":"image_10122025_12_51_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d4d4a4751e50a53bb15d3b12e8790c7.jpg","text":"TemporaryFile(/tmp/multipartBody7416399653599865398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848564298,"filename":"image_10122025_12_51_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af553972375aed505a02557815ba9b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5178265440373345906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848564298,"filename":"image_10122025_12_51_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ab7fb4fd092efe25c9821abe88f9f61.jpg","text":"TemporaryFile(/tmp/multipartBody4986024491775228665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848564298,"filename":"image_10122025_12_51_25_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286565","file1":"1401286564","file0":"1401286563","file4":"1401286567","file5":"1401286570","file3":"1401286566"},"map_files_photo_id_array":[{"photo_id":"1401286570","filename":"file5"},{"photo_id":"1401286565","filename":"file2"},{"photo_id":"1401286567","filename":"file4"},{"photo_id":"1401286564","filename":"file1"},{"photo_id":"1401286563","filename":"file0"},{"photo_id":"1401286566","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286564":["hashtag1","hashtag2"]},{"1401286563":["hashtag1","hashtag2"]},{"1401286566":["hashtag1","hashtag2"]},{"1401286565":["hashtag1","hashtag2"]},{"1401286570":["hashtag1","hashtag2"]},{"1401286567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286564, 1401286563, 1401286566, 1401286565, 1401286570, 1401286567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13629412651062 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:15:47.550848
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_51_04_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_55_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_34_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_25_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_15_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/50/image_10122025_12_51_04_9711.jpg', '/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_55_9655.jpg', '/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_45_10625.jpg', '/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_34_9671.jpg', '/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_25_9633.jpg', '/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_15_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/50/image_10122025_12_51_04_9711.jpg
/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_55_9655.jpg
/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_45_10625.jpg
/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_34_9671.jpg
/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_25_9633.jpg
/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_15_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":["1401286582","1401286581","1401286578","1401286580","1401286583","1401286579"],"photo_ids_order":["1401286578","1401286579","1401286580","1401286581","1401286582","1401286583"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5602a8dd3a55eb52d350d34de7fc9d95.jpg","text":"TemporaryFile(/tmp/multipartBody2013415103514536943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848608359,"filename":"image_10122025_12_50_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4ba4134f62da0f7c1cd13848ba0ed66.jpg","text":"TemporaryFile(/tmp/multipartBody2928304670856009403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848608359,"filename":"image_10122025_12_50_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e5a53931fb0c04c6958ad316a8e1873.jpg","text":"TemporaryFile(/tmp/multipartBody3814622514876838770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848608359,"filename":"image_10122025_12_51_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/12/27/a4170395741451d57743e86ed5c1d763.jpg","text":"TemporaryFile(/tmp/multipartBody34914115625735149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848608359,"filename":"image_10122025_12_50_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcae1f4610060f2e95eafa793975dd33.jpg","text":"TemporaryFile(/tmp/multipartBody6026696952188781261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848608359,"filename":"image_10122025_12_50_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8d8ebe6e4eeb0c2ce7484bf446b620e.jpg","text":"TemporaryFile(/tmp/multipartBody3468008311851107905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848608359,"filename":"image_10122025_12_50_55_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286580","file1":"1401286579","file0":"1401286578","file4":"1401286582","file5":"1401286583","file3":"1401286581"},"map_files_photo_id_array":[{"photo_id":"1401286583","filename":"file5"},{"photo_id":"1401286580","filename":"file2"},{"photo_id":"1401286582","filename":"file4"},{"photo_id":"1401286579","filename":"file1"},{"photo_id":"1401286578","filename":"file0"},{"photo_id":"1401286581","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286582":["hashtag1","hashtag2"]},{"1401286581":["hashtag1","hashtag2"]},{"1401286578":["hashtag1","hashtag2"]},{"1401286580":["hashtag1","hashtag2"]},{"1401286583":["hashtag1","hashtag2"]},{"1401286579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286582, 1401286581, 1401286578, 1401286580, 1401286583, 1401286579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02905464172363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:16:32.650398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_50_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_55_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_34_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_25_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_15_10749.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/49/image_10122025_12_50_04_9653.jpg', '/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_55_9692.jpg', '/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_45_10652.jpg', '/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_34_9708.jpg', '/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_25_9663.jpg', '/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_15_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/49/image_10122025_12_50_04_9653.jpg
/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_55_9692.jpg
/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_45_10652.jpg
/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_34_9708.jpg
/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_25_9663.jpg
/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_15_10749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401286596","1401286593","1401286587","1401286595","1401286589","1401286591"],"photo_ids_order":["1401286587","1401286589","1401286591","1401286593","1401286595","1401286596"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8af40488aab2f8fe831a4b4250f109e.jpg","text":"TemporaryFile(/tmp/multipartBody6321553980143141636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848653468,"filename":"image_10122025_12_49_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88f8481cd46ed875815aff13bb9b88ef.jpg","text":"TemporaryFile(/tmp/multipartBody3585883542665008210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848653468,"filename":"image_10122025_12_49_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9352361c9630ab57bacc52a33910510.jpg","text":"TemporaryFile(/tmp/multipartBody3038016616731067542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848653468,"filename":"image_10122025_12_50_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/12/27/011b7c8d8af5a18dac9b91be45697e81.jpg","text":"TemporaryFile(/tmp/multipartBody4129620743135813603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848653468,"filename":"image_10122025_12_49_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad6f7c42cc3e3bc10939cba73a66cf60.jpg","text":"TemporaryFile(/tmp/multipartBody7009540618672522490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848653468,"filename":"image_10122025_12_49_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08ce5ef5e5c09bbea228982759702228.jpg","text":"TemporaryFile(/tmp/multipartBody95164714483633883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848653468,"filename":"image_10122025_12_49_45_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286591","file1":"1401286589","file0":"1401286587","file4":"1401286595","file5":"1401286596","file3":"1401286593"},"map_files_photo_id_array":[{"photo_id":"1401286596","filename":"file5"},{"photo_id":"1401286591","filename":"file2"},{"photo_id":"1401286595","filename":"file4"},{"photo_id":"1401286589","filename":"file1"},{"photo_id":"1401286587","filename":"file0"},{"photo_id":"1401286593","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286596":["hashtag1","hashtag2"]},{"1401286593":["hashtag1","hashtag2"]},{"1401286587":["hashtag1","hashtag2"]},{"1401286595":["hashtag1","hashtag2"]},{"1401286589":["hashtag1","hashtag2"]},{"1401286591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286596, 1401286593, 1401286587, 1401286595, 1401286589, 1401286591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.286065101623535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:17:16.779009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_49_04_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_54_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_45_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_15_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/48/image_10122025_12_49_04_9719.jpg', '/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_54_9637.jpg', '/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_45_10695.jpg', '/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_34_9636.jpg', '/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_25_9622.jpg', '/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_15_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/48/image_10122025_12_49_04_9719.jpg
/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_54_9637.jpg
/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_45_10695.jpg
/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_34_9636.jpg
/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_25_9622.jpg
/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_15_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":["1401286599","1401286608","1401286602","1401286605","1401286598","1401286610"],"photo_ids_order":["1401286598","1401286599","1401286602","1401286605","1401286608","1401286610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e0f9c0c398f9dc09d4e238430462642.jpg","text":"TemporaryFile(/tmp/multipartBody6395054155717561651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848697605,"filename":"image_10122025_12_48_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/12/27/09724d9673d331ab02e0cbc9f0c8e8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7557490693669723394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848697605,"filename":"image_10122025_12_48_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18023b90b911291994adf53ffafc91af.jpg","text":"TemporaryFile(/tmp/multipartBody1444338721575194954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848697605,"filename":"image_10122025_12_48_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/725059aa604fcf856c9939d352b7a064.jpg","text":"TemporaryFile(/tmp/multipartBody4883884316650142845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848697605,"filename":"image_10122025_12_48_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/12/27/6a3f19a348e299824088f9a07cb1f662.jpg","text":"TemporaryFile(/tmp/multipartBody7804694926661160599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848697605,"filename":"image_10122025_12_49_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1dab0a9296609ffd80e8329af1b7632f.jpg","text":"TemporaryFile(/tmp/multipartBody28298150069509769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848697605,"filename":"image_10122025_12_48_15_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286602","file1":"1401286599","file0":"1401286598","file4":"1401286608","file5":"1401286610","file3":"1401286605"},"map_files_photo_id_array":[{"photo_id":"1401286610","filename":"file5"},{"photo_id":"1401286602","filename":"file2"},{"photo_id":"1401286608","filename":"file4"},{"photo_id":"1401286599","filename":"file1"},{"photo_id":"1401286598","filename":"file0"},{"photo_id":"1401286605","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286599":["hashtag1","hashtag2"]},{"1401286608":["hashtag1","hashtag2"]},{"1401286602":["hashtag1","hashtag2"]},{"1401286605":["hashtag1","hashtag2"]},{"1401286598":["hashtag1","hashtag2"]},{"1401286610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286599, 1401286608, 1401286602, 1401286605, 1401286598, 1401286610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.59952735900879 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:18:02.484256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_48_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_55_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_34_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_25_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_15_10766.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/47/image_10122025_12_48_04_9610.jpg', '/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_55_9699.jpg', '/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_45_10627.jpg', '/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_34_9687.jpg', '/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_25_9699.jpg', '/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_15_10766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/47/image_10122025_12_48_04_9610.jpg
/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_55_9699.jpg
/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_45_10627.jpg
/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_34_9687.jpg
/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_25_9699.jpg
/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_15_10766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401286630","1401286627","1401286626","1401286629","1401286625","1401286628"],"photo_ids_order":["1401286625","1401286626","1401286627","1401286628","1401286629","1401286630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1b06fcf32267955c383236dc72f5b84.jpg","text":"TemporaryFile(/tmp/multipartBody8739412636259320691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848743377,"filename":"image_10122025_12_47_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ee286494c0d999cb769c6f3b4055657.jpg","text":"TemporaryFile(/tmp/multipartBody8233022988157827474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848743377,"filename":"image_10122025_12_47_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41fd397eadbf01bee43d87e83d229afd.jpg","text":"TemporaryFile(/tmp/multipartBody159960787709754098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848743377,"filename":"image_10122025_12_47_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01752efbe3ec76e3fdf39a35b5eb4c97.jpg","text":"TemporaryFile(/tmp/multipartBody6487166297504529640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848743377,"filename":"image_10122025_12_47_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41f9cb6cd0d218e59042712661eeea93.jpg","text":"TemporaryFile(/tmp/multipartBody281155451439690805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848743377,"filename":"image_10122025_12_48_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/12/27/e30b0ee057f8c970fdc607ca2ffabfe4.jpg","text":"TemporaryFile(/tmp/multipartBody745980369825578647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848743377,"filename":"image_10122025_12_47_34_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286627","file1":"1401286626","file0":"1401286625","file4":"1401286629","file5":"1401286630","file3":"1401286628"},"map_files_photo_id_array":[{"photo_id":"1401286630","filename":"file5"},{"photo_id":"1401286627","filename":"file2"},{"photo_id":"1401286629","filename":"file4"},{"photo_id":"1401286626","filename":"file1"},{"photo_id":"1401286625","filename":"file0"},{"photo_id":"1401286628","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286630":["hashtag1","hashtag2"]},{"1401286627":["hashtag1","hashtag2"]},{"1401286626":["hashtag1","hashtag2"]},{"1401286629":["hashtag1","hashtag2"]},{"1401286625":["hashtag1","hashtag2"]},{"1401286628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286630, 1401286627, 1401286626, 1401286629, 1401286625, 1401286628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.508958339691162 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:18:46.892953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_47_04_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_45_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_24_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_15_10713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/46/image_10122025_12_47_04_9697.jpg', '/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_54_9622.jpg', '/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_45_10727.jpg', '/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_34_9617.jpg', '/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_24_9660.jpg', '/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_15_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/46/image_10122025_12_47_04_9697.jpg
/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_54_9622.jpg
/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_45_10727.jpg
/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_34_9617.jpg
/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_24_9660.jpg
/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_15_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401286642","1401286645","1401286644","1401286641","1401286640","1401286643"],"photo_ids_order":["1401286640","1401286641","1401286642","1401286643","1401286644","1401286645"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6478bc2e915930442adfb30cb61afa4b.jpg","text":"TemporaryFile(/tmp/multipartBody8202292823582720376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848787715,"filename":"image_10122025_12_46_45_10727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45315f51f23dd7ff966875c420d0cbbf.jpg","text":"TemporaryFile(/tmp/multipartBody1872502350203505368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848787715,"filename":"image_10122025_12_46_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d468b2b552f7db603b413b837805ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody8284643832526493731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848787715,"filename":"image_10122025_12_46_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d59ab2cea29a87844978d1e5eedf1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4142742807659658442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848787715,"filename":"image_10122025_12_46_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/12/27/ab673f98af4bbd17130a84b7c8a59a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1243206012001225293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848787715,"filename":"image_10122025_12_47_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/12/27/05ac13fd32dd42c22825664f1efa6f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3515559829103526238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848787715,"filename":"image_10122025_12_46_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286642","file1":"1401286641","file0":"1401286640","file4":"1401286644","file5":"1401286645","file3":"1401286643"},"map_files_photo_id_array":[{"photo_id":"1401286645","filename":"file5"},{"photo_id":"1401286642","filename":"file2"},{"photo_id":"1401286644","filename":"file4"},{"photo_id":"1401286641","filename":"file1"},{"photo_id":"1401286640","filename":"file0"},{"photo_id":"1401286643","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286642":["hashtag1","hashtag2"]},{"1401286645":["hashtag1","hashtag2"]},{"1401286644":["hashtag1","hashtag2"]},{"1401286641":["hashtag1","hashtag2"]},{"1401286640":["hashtag1","hashtag2"]},{"1401286643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286642, 1401286645, 1401286644, 1401286641, 1401286640, 1401286643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24539875984192 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:19:31.977470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_46_04_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_15_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/45/image_10122025_12_46_04_9658.jpg', '/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_54_9599.jpg', '/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_45_10617.jpg', '/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_34_9608.jpg', '/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_25_9604.jpg', '/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_15_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/45/image_10122025_12_46_04_9658.jpg
/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_54_9599.jpg
/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_45_10617.jpg
/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_34_9608.jpg
/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_25_9604.jpg
/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_15_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":["1401286660","1401286663","1401286656","1401286653","1401286664","1401286651"],"photo_ids_order":["1401286651","1401286653","1401286656","1401286660","1401286663","1401286664"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0037a142e4937cdbe99fd183f645ce66.jpg","text":"TemporaryFile(/tmp/multipartBody506437648766526411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848832775,"filename":"image_10122025_12_45_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/12/27/4bef48ab0fa4bd82ef132f882dc96b40.jpg","text":"TemporaryFile(/tmp/multipartBody1614334317715834467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848832775,"filename":"image_10122025_12_45_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47ce8f1395ca8d8b44732e86068e1abd.jpg","text":"TemporaryFile(/tmp/multipartBody8523514142845397257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848832775,"filename":"image_10122025_12_45_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e41b8e536ede81df2b65fa819fbcdc9c.jpg","text":"TemporaryFile(/tmp/multipartBody6944838053203827603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848832775,"filename":"image_10122025_12_45_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/12/27/2c487f2f4bc2ec012fdd6112c7809e41.jpg","text":"TemporaryFile(/tmp/multipartBody4440726752774244869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848832775,"filename":"image_10122025_12_45_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70534fd9b213b1da15ffc3daa6716eeb.jpg","text":"TemporaryFile(/tmp/multipartBody367733352836792472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848832775,"filename":"image_10122025_12_46_04_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286656","file1":"1401286653","file0":"1401286651","file4":"1401286663","file5":"1401286664","file3":"1401286660"},"map_files_photo_id_array":[{"photo_id":"1401286664","filename":"file5"},{"photo_id":"1401286656","filename":"file2"},{"photo_id":"1401286663","filename":"file4"},{"photo_id":"1401286653","filename":"file1"},{"photo_id":"1401286651","filename":"file0"},{"photo_id":"1401286660","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286660":["hashtag1","hashtag2"]},{"1401286663":["hashtag1","hashtag2"]},{"1401286656":["hashtag1","hashtag2"]},{"1401286653":["hashtag1","hashtag2"]},{"1401286664":["hashtag1","hashtag2"]},{"1401286651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286660, 1401286663, 1401286656, 1401286653, 1401286664, 1401286651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.032570123672485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:20:17.091078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_45_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_55_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_14_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/44/image_10122025_12_45_04_9635.jpg', '/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_55_10622.jpg', '/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_44_9606.jpg', '/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_35_9616.jpg', '/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_25_10625.jpg', '/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_14_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/44/image_10122025_12_45_04_9635.jpg
/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_55_10622.jpg
/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_44_9606.jpg
/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_35_9616.jpg
/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_25_10625.jpg
/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_14_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":["1401286669","1401286674","1401286665","1401286676","1401286672","1401286666"],"photo_ids_order":["1401286665","1401286666","1401286669","1401286672","1401286674","1401286676"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/739061e8a0a6e4ee2afe3fab0ea8d298.jpg","text":"TemporaryFile(/tmp/multipartBody2234823197827054653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848877899,"filename":"image_10122025_12_44_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/12/27/ecb97de04fda677a7e401607b5b552f1.jpg","text":"TemporaryFile(/tmp/multipartBody5083449020134081947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848877899,"filename":"image_10122025_12_44_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afcef88446a02fceb58375e09a00417d.jpg","text":"TemporaryFile(/tmp/multipartBody6143576941653994157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848877899,"filename":"image_10122025_12_45_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/12/27/f35801aeb0aeb3ea145d0679ff2d5e77.jpg","text":"TemporaryFile(/tmp/multipartBody729709884810974416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848877899,"filename":"image_10122025_12_44_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/12/27/3db48ed4c73fd3230fcb9e85374fdddf.jpg","text":"TemporaryFile(/tmp/multipartBody3098198530008329153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848877899,"filename":"image_10122025_12_44_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89aad1fb75f78e873f8a9ae06009aada.jpg","text":"TemporaryFile(/tmp/multipartBody6434698675039369158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848877899,"filename":"image_10122025_12_44_55_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286669","file1":"1401286666","file0":"1401286665","file4":"1401286674","file5":"1401286676","file3":"1401286672"},"map_files_photo_id_array":[{"photo_id":"1401286676","filename":"file5"},{"photo_id":"1401286669","filename":"file2"},{"photo_id":"1401286674","filename":"file4"},{"photo_id":"1401286666","filename":"file1"},{"photo_id":"1401286665","filename":"file0"},{"photo_id":"1401286672","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286669":["hashtag1","hashtag2"]},{"1401286674":["hashtag1","hashtag2"]},{"1401286665":["hashtag1","hashtag2"]},{"1401286676":["hashtag1","hashtag2"]},{"1401286672":["hashtag1","hashtag2"]},{"1401286666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286669, 1401286674, 1401286665, 1401286676, 1401286672, 1401286666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01610970497131 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:21:02.891051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_35_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_55_10624.jpg', '/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_44_9619.jpg', '/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_35_10627.jpg', '/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_15_9620.jpg', '/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_54_9615.jpg', '/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_35_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_55_10624.jpg
/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_44_9619.jpg
/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_35_10627.jpg
/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_15_9620.jpg
/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_54_9615.jpg
/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_35_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":["1401286692","1401286689","1401286691","1401286696","1401286690","1401286693"],"photo_ids_order":["1401286689","1401286690","1401286691","1401286692","1401286693","1401286696"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4a8c2581445132e97693ace506441f0.jpg","text":"TemporaryFile(/tmp/multipartBody4159166143769144397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848923725,"filename":"image_10122025_12_43_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da8a631d2532daf4274369c7f76e7f65.jpg","text":"TemporaryFile(/tmp/multipartBody3673768298904251463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848923725,"filename":"image_10122025_12_43_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9e86bef1794bacbde21683711ba9b80.jpg","text":"TemporaryFile(/tmp/multipartBody7704916884774366781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848923725,"filename":"image_10122025_12_43_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8fd542064923cc1b4d0a89c06871b1e5.jpg","text":"TemporaryFile(/tmp/multipartBody2974203110127015213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848923725,"filename":"image_10122025_12_42_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc7959bbfc5af0b76ea65ad0b0206413.jpg","text":"TemporaryFile(/tmp/multipartBody1171083493145664769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848923725,"filename":"image_10122025_12_43_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/12/27/f9d66473ca0a56a1e7f71daaa4a01b61.jpg","text":"TemporaryFile(/tmp/multipartBody6438568122307337703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848923725,"filename":"image_10122025_12_42_54_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286691","file1":"1401286690","file0":"1401286689","file4":"1401286693","file5":"1401286696","file3":"1401286692"},"map_files_photo_id_array":[{"photo_id":"1401286696","filename":"file5"},{"photo_id":"1401286691","filename":"file2"},{"photo_id":"1401286693","filename":"file4"},{"photo_id":"1401286690","filename":"file1"},{"photo_id":"1401286689","filename":"file0"},{"photo_id":"1401286692","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286692":["hashtag1","hashtag2"]},{"1401286689":["hashtag1","hashtag2"]},{"1401286691":["hashtag1","hashtag2"]},{"1401286696":["hashtag1","hashtag2"]},{"1401286690":["hashtag1","hashtag2"]},{"1401286693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286692, 1401286689, 1401286691, 1401286696, 1401286690, 1401286693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.977275609970093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:21:47.173983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_42_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_34_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_24_9617.jpg', '/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_15_10644.jpg', '/home/nano/Desktop/images/10122025/12/41/image_10122025_12_42_04_9623.jpg', '/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_54_9614.jpg', '/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_45_10629.jpg', '/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_34_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_24_9617.jpg
/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_15_10644.jpg
/home/nano/Desktop/images/10122025/12/41/image_10122025_12_42_04_9623.jpg
/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_54_9614.jpg
/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_45_10629.jpg
/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_34_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":["1401286711","1401286708","1401286713","1401286710","1401286712","1401286709"],"photo_ids_order":["1401286708","1401286709","1401286710","1401286711","1401286712","1401286713"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/763553b2967d5e987f8aa792ad9456df.jpg","text":"TemporaryFile(/tmp/multipartBody7815421308071897961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848967973,"filename":"image_10122025_12_41_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/12/27/60db885db9e89d059db40eaffeb398e1.jpg","text":"TemporaryFile(/tmp/multipartBody7229346459506860751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848967973,"filename":"image_10122025_12_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/12/27/198d2b5362eb61bd9574213e8667ad5b.jpg","text":"TemporaryFile(/tmp/multipartBody794569259356335261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848967973,"filename":"image_10122025_12_41_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/12/27/27ad8bd8f8b70757af7a70e3a20fc14f.jpg","text":"TemporaryFile(/tmp/multipartBody4698848413321036361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848967973,"filename":"image_10122025_12_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/12/27/23072cdeb2d2c05728f1f7e2a93271c6.jpg","text":"TemporaryFile(/tmp/multipartBody1323419039027837304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848967973,"filename":"image_10122025_12_41_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8998b02719b1f920932e527c3529d4df.jpg","text":"TemporaryFile(/tmp/multipartBody7300463420108478259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766848967973,"filename":"image_10122025_12_42_15_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286710","file1":"1401286709","file0":"1401286708","file4":"1401286712","file5":"1401286713","file3":"1401286711"},"map_files_photo_id_array":[{"photo_id":"1401286713","filename":"file5"},{"photo_id":"1401286710","filename":"file2"},{"photo_id":"1401286712","filename":"file4"},{"photo_id":"1401286709","filename":"file1"},{"photo_id":"1401286708","filename":"file0"},{"photo_id":"1401286711","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286711":["hashtag1","hashtag2"]},{"1401286708":["hashtag1","hashtag2"]},{"1401286713":["hashtag1","hashtag2"]},{"1401286710":["hashtag1","hashtag2"]},{"1401286712":["hashtag1","hashtag2"]},{"1401286709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286711, 1401286708, 1401286713, 1401286710, 1401286712, 1401286709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.238513469696045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:22:32.252336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_41_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_55_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_25_9618.jpg', '/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_15_10642.jpg', '/home/nano/Desktop/images/10122025/12/40/image_10122025_12_41_04_9625.jpg', '/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_55_10624.jpg', '/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_44_9615.jpg', '/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_55_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_25_9618.jpg
/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_15_10642.jpg
/home/nano/Desktop/images/10122025/12/40/image_10122025_12_41_04_9625.jpg
/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_55_10624.jpg
/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_44_9615.jpg
/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_55_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":["1401286729","1401286720","1401286728","1401286722","1401286724","1401286727"],"photo_ids_order":["1401286720","1401286722","1401286724","1401286727","1401286728","1401286729"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0488d4805b450a1660567732609e971.jpg","text":"TemporaryFile(/tmp/multipartBody4935998620026046181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849013091,"filename":"image_10122025_12_39_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf1c9711d6ab6ce78278fb69b86a0268.jpg","text":"TemporaryFile(/tmp/multipartBody8110955269450863392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849013091,"filename":"image_10122025_12_41_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5b39fe0843c652598d0a18d1b633946.jpg","text":"TemporaryFile(/tmp/multipartBody8165512761796629093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849013091,"filename":"image_10122025_12_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/12/27/cc20460f59bf8adec8bf752c50e818e2.jpg","text":"TemporaryFile(/tmp/multipartBody2136033873852329395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849013091,"filename":"image_10122025_12_41_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b530f233a228570f271fc7ca1600cc4.jpg","text":"TemporaryFile(/tmp/multipartBody4894169611457460699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849013091,"filename":"image_10122025_12_41_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/12/27/0196e7bf2ea1c97534d71fb93e71431e.jpg","text":"TemporaryFile(/tmp/multipartBody6142738533293914601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849013091,"filename":"image_10122025_12_40_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286724","file1":"1401286722","file0":"1401286720","file4":"1401286728","file5":"1401286729","file3":"1401286727"},"map_files_photo_id_array":[{"photo_id":"1401286729","filename":"file5"},{"photo_id":"1401286724","filename":"file2"},{"photo_id":"1401286728","filename":"file4"},{"photo_id":"1401286722","filename":"file1"},{"photo_id":"1401286720","filename":"file0"},{"photo_id":"1401286727","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286729":["hashtag1","hashtag2"]},{"1401286720":["hashtag1","hashtag2"]},{"1401286728":["hashtag1","hashtag2"]},{"1401286722":["hashtag1","hashtag2"]},{"1401286724":["hashtag1","hashtag2"]},{"1401286727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286729, 1401286720, 1401286728, 1401286722, 1401286724, 1401286727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.974804639816284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:23:17.373319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/38/image_10122025_12_39_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/12/38/image_10122025_12_38_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_44_9631.jpg', '/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_35_10626.jpg', '/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_24_9622.jpg', '/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_14_9631.jpg', '/home/nano/Desktop/images/10122025/12/38/image_10122025_12_39_05_10648.jpg', '/home/nano/Desktop/images/10122025/12/38/image_10122025_12_38_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_44_9631.jpg
/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_35_10626.jpg
/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_24_9622.jpg
/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_14_9631.jpg
/home/nano/Desktop/images/10122025/12/38/image_10122025_12_39_05_10648.jpg
/home/nano/Desktop/images/10122025/12/38/image_10122025_12_38_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":["1401286737","1401286731","1401286740","1401286734","1401286742","1401286730"],"photo_ids_order":["1401286730","1401286731","1401286734","1401286737","1401286740","1401286742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69a2be4e71fb22706682ca3aa78b3558.jpg","text":"TemporaryFile(/tmp/multipartBody9156567859688245351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849058166,"filename":"image_10122025_12_39_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/12/27/cc52c6404e7dd38f7e45770daa049c1b.jpg","text":"TemporaryFile(/tmp/multipartBody649980282670335205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849058166,"filename":"image_10122025_12_39_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccf8feda1bef3ceb7ecd7bf678ca4275.jpg","text":"TemporaryFile(/tmp/multipartBody101089406327810197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849058166,"filename":"image_10122025_12_39_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da9d1469267f956bba61ef2e92236aae.jpg","text":"TemporaryFile(/tmp/multipartBody8577084066581101340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849058166,"filename":"image_10122025_12_39_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/12/27/6c07bd89d325fa6f3ce2c78c499c462b.jpg","text":"TemporaryFile(/tmp/multipartBody6511465314399974520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849058166,"filename":"image_10122025_12_38_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/12/27/e3aa1f11d8b00d66b8bb68c39e6bebf5.jpg","text":"TemporaryFile(/tmp/multipartBody290578821161799343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849058166,"filename":"image_10122025_12_39_44_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286734","file1":"1401286731","file0":"1401286730","file4":"1401286740","file5":"1401286742","file3":"1401286737"},"map_files_photo_id_array":[{"photo_id":"1401286742","filename":"file5"},{"photo_id":"1401286734","filename":"file2"},{"photo_id":"1401286740","filename":"file4"},{"photo_id":"1401286731","filename":"file1"},{"photo_id":"1401286730","filename":"file0"},{"photo_id":"1401286737","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286737":["hashtag1","hashtag2"]},{"1401286731":["hashtag1","hashtag2"]},{"1401286740":["hashtag1","hashtag2"]},{"1401286734":["hashtag1","hashtag2"]},{"1401286742":["hashtag1","hashtag2"]},{"1401286730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286737, 1401286731, 1401286740, 1401286734, 1401286742, 1401286730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39464020729065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:24:03.306664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_38_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_36_45_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/37/image_10122025_12_38_05_10633.jpg', '/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_54_9613.jpg', '/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_45_10626.jpg', '/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_34_9634.jpg', '/home/nano/Desktop/images/10122025/12/36/image_10122025_12_37_04_9630.jpg', '/home/nano/Desktop/images/10122025/12/36/image_10122025_12_36_45_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/37/image_10122025_12_38_05_10633.jpg
/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_54_9613.jpg
/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_45_10626.jpg
/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_34_9634.jpg
/home/nano/Desktop/images/10122025/12/36/image_10122025_12_37_04_9630.jpg
/home/nano/Desktop/images/10122025/12/36/image_10122025_12_36_45_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":["1401286762","1401286756","1401286755","1401286758","1401286757","1401286759"],"photo_ids_order":["1401286755","1401286756","1401286757","1401286758","1401286759","1401286762"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0dc52e734228872919f7e84ea163296e.jpg","text":"TemporaryFile(/tmp/multipartBody4085840230889825984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849104223,"filename":"image_10122025_12_36_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba71a8462352162f6b5d6bea2dfb6a84.jpg","text":"TemporaryFile(/tmp/multipartBody5411423347847927407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849104223,"filename":"image_10122025_12_37_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/12/27/c0a24675c1e8b9de95b80f419309197f.jpg","text":"TemporaryFile(/tmp/multipartBody7197798041809181670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849104223,"filename":"image_10122025_12_38_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/189ae3e306cf663ff8febbe30c8dcff7.jpg","text":"TemporaryFile(/tmp/multipartBody4916163393520323313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849104223,"filename":"image_10122025_12_37_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/12/27/6716208c812cfa164ff7d55c281eba3a.jpg","text":"TemporaryFile(/tmp/multipartBody8784973925750088987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849104223,"filename":"image_10122025_12_37_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0234f9b9d67bbb0dcc6b5353a7254d41.jpg","text":"TemporaryFile(/tmp/multipartBody6704391988852116936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849104223,"filename":"image_10122025_12_37_04_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286757","file1":"1401286756","file0":"1401286755","file4":"1401286759","file5":"1401286762","file3":"1401286758"},"map_files_photo_id_array":[{"photo_id":"1401286762","filename":"file5"},{"photo_id":"1401286757","filename":"file2"},{"photo_id":"1401286759","filename":"file4"},{"photo_id":"1401286756","filename":"file1"},{"photo_id":"1401286755","filename":"file0"},{"photo_id":"1401286758","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286762":["hashtag1","hashtag2"]},{"1401286756":["hashtag1","hashtag2"]},{"1401286755":["hashtag1","hashtag2"]},{"1401286758":["hashtag1","hashtag2"]},{"1401286757":["hashtag1","hashtag2"]},{"1401286759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286762, 1401286756, 1401286755, 1401286758, 1401286757, 1401286759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.532073497772217 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:24:47.448946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_35_05_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_55_10624.jpg', '/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', '/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_35_9618.jpg', '/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_25_10626.jpg', '/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_14_9655.jpg', '/home/nano/Desktop/images/10122025/12/34/image_10122025_12_35_05_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_55_10624.jpg
/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg
/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_35_9618.jpg
/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_25_10626.jpg
/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_14_9655.jpg
/home/nano/Desktop/images/10122025/12/34/image_10122025_12_35_05_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":["1401286774","1401286773","1401286776","1401286772","1401286775","1401286771"],"photo_ids_order":["1401286771","1401286772","1401286773","1401286774","1401286775","1401286776"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb48c34f5deb6a9da734b75d97c240a6.jpg","text":"TemporaryFile(/tmp/multipartBody6107429273518145992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849148236,"filename":"image_10122025_12_35_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b48e1e03904d4f1d33f76e696c3fbf74.jpg","text":"TemporaryFile(/tmp/multipartBody8305964629099941238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849148236,"filename":"image_10122025_12_35_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21ae44730a4a018da7a018626f1d3ddc.jpg","text":"TemporaryFile(/tmp/multipartBody5009192551829021772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849148236,"filename":"image_10122025_12_35_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/796f4e11ea4e041303905200262778f7.jpg","text":"TemporaryFile(/tmp/multipartBody1230824082618292584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849148236,"filename":"image_10122025_12_35_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/12/27/d3e8bb56ec7b84acc83b6deb75d5a3bb.jpg","text":"TemporaryFile(/tmp/multipartBody5836821421311806794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849148236,"filename":"image_10122025_12_35_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/12/27/7ed470ffcf859d145fd445b4af6128ec.jpg","text":"TemporaryFile(/tmp/multipartBody9201489456581135946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849148236,"filename":"image_10122025_12_35_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286773","file1":"1401286772","file0":"1401286771","file4":"1401286775","file5":"1401286776","file3":"1401286774"},"map_files_photo_id_array":[{"photo_id":"1401286776","filename":"file5"},{"photo_id":"1401286773","filename":"file2"},{"photo_id":"1401286775","filename":"file4"},{"photo_id":"1401286772","filename":"file1"},{"photo_id":"1401286771","filename":"file0"},{"photo_id":"1401286774","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286774":["hashtag1","hashtag2"]},{"1401286773":["hashtag1","hashtag2"]},{"1401286776":["hashtag1","hashtag2"]},{"1401286772":["hashtag1","hashtag2"]},{"1401286775":["hashtag1","hashtag2"]},{"1401286771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286774, 1401286773, 1401286776, 1401286772, 1401286775, 1401286771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.912453651428223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:25:32.558522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_35_10623.jpg', '/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_24_9614.jpg', '/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_25_10624.jpg', '/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', '/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', '/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_35_10623.jpg
/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_24_9614.jpg
/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_25_10624.jpg
/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg
/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg
/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_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":["1401286791","1401286794","1401286788","1401286793","1401286783","1401286786"],"photo_ids_order":["1401286783","1401286786","1401286788","1401286791","1401286793","1401286794"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f37fa3dae49a7493a31227c500965a5.jpg","text":"TemporaryFile(/tmp/multipartBody5082874346399808345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849193348,"filename":"image_10122025_12_32_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/12/27/3ede3f34317ead5ceb6a51362059c30d.jpg","text":"TemporaryFile(/tmp/multipartBody2158417946069237912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849193348,"filename":"image_10122025_12_31_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c80bd3afa7ae5b9f0e420bdf3dcedd59.jpg","text":"TemporaryFile(/tmp/multipartBody2404256937396958965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849193348,"filename":"image_10122025_12_32_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89d5f84d74aad6ce085a1b98de04a185.jpg","text":"TemporaryFile(/tmp/multipartBody2461301611253508841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849193348,"filename":"image_10122025_12_32_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/12/27/8d7071899096c9f17e6f820dc802d48c.jpg","text":"TemporaryFile(/tmp/multipartBody8722793969469546200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849193348,"filename":"image_10122025_12_34_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/debf19c97835536c6e593a8bba1172f0.jpg","text":"TemporaryFile(/tmp/multipartBody2958452007760834721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849193348,"filename":"image_10122025_12_34_24_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286788","file1":"1401286786","file0":"1401286783","file4":"1401286793","file5":"1401286794","file3":"1401286791"},"map_files_photo_id_array":[{"photo_id":"1401286794","filename":"file5"},{"photo_id":"1401286788","filename":"file2"},{"photo_id":"1401286793","filename":"file4"},{"photo_id":"1401286786","filename":"file1"},{"photo_id":"1401286783","filename":"file0"},{"photo_id":"1401286791","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286791":["hashtag1","hashtag2"]},{"1401286794":["hashtag1","hashtag2"]},{"1401286788":["hashtag1","hashtag2"]},{"1401286793":["hashtag1","hashtag2"]},{"1401286783":["hashtag1","hashtag2"]},{"1401286786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286791, 1401286794, 1401286788, 1401286793, 1401286783, 1401286786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.143229484558105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:26:17.655600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_31_05_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_44_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', '/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', '/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', '/home/nano/Desktop/images/10122025/12/30/image_10122025_12_31_05_10649.jpg', '/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_54_9617.jpg', '/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_44_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg
/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg
/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg
/home/nano/Desktop/images/10122025/12/30/image_10122025_12_31_05_10649.jpg
/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_54_9617.jpg
/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_44_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":["1401286801","1401286799","1401286803","1401286796","1401286805","1401286795"],"photo_ids_order":["1401286795","1401286796","1401286799","1401286801","1401286803","1401286805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32291030bc28621ee2d8260e2b382f8a.jpg","text":"TemporaryFile(/tmp/multipartBody359797954631778355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849238449,"filename":"image_10122025_12_31_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0835e8f073092954bb9c7c87b9180e62.jpg","text":"TemporaryFile(/tmp/multipartBody5765473919040617548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849238449,"filename":"image_10122025_12_31_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72f7cfe50e230800d5447651e04d426b.jpg","text":"TemporaryFile(/tmp/multipartBody7089260131072732520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849238449,"filename":"image_10122025_12_30_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/12/27/c0f4618ba65396b175d1df37b27c8ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3849977830230585343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849238449,"filename":"image_10122025_12_31_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3be5df8eb75957ea2045fb11f489bf36.jpg","text":"TemporaryFile(/tmp/multipartBody1066631198553633757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849238449,"filename":"image_10122025_12_30_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/12/27/40f9370430e502feb10381e9faeb129f.jpg","text":"TemporaryFile(/tmp/multipartBody5453726925601541693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849238449,"filename":"image_10122025_12_31_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286799","file1":"1401286796","file0":"1401286795","file4":"1401286803","file5":"1401286805","file3":"1401286801"},"map_files_photo_id_array":[{"photo_id":"1401286805","filename":"file5"},{"photo_id":"1401286799","filename":"file2"},{"photo_id":"1401286803","filename":"file4"},{"photo_id":"1401286796","filename":"file1"},{"photo_id":"1401286795","filename":"file0"},{"photo_id":"1401286801","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286801":["hashtag1","hashtag2"]},{"1401286799":["hashtag1","hashtag2"]},{"1401286803":["hashtag1","hashtag2"]},{"1401286796":["hashtag1","hashtag2"]},{"1401286805":["hashtag1","hashtag2"]},{"1401286795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286801, 1401286799, 1401286803, 1401286796, 1401286805, 1401286795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.886258125305176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:27:02.571550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_15_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_30_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_35_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_24_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_35_10627.jpg', '/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_24_9615.jpg', '/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_15_9632.jpg', '/home/nano/Desktop/images/10122025/12/29/image_10122025_12_30_05_10655.jpg', '/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_35_10644.jpg', '/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_24_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_35_10627.jpg
/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_24_9615.jpg
/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_15_9632.jpg
/home/nano/Desktop/images/10122025/12/29/image_10122025_12_30_05_10655.jpg
/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_35_10644.jpg
/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_24_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":["1401286822","1401286825","1401286819","1401286824","1401286829","1401286826"],"photo_ids_order":["1401286819","1401286822","1401286824","1401286825","1401286826","1401286829"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/335f8559a395097786655a682504d647.jpg","text":"TemporaryFile(/tmp/multipartBody6392392243963839928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849283426,"filename":"image_10122025_12_30_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/12/27/f549948dc58cbe650128472e3cda1bfa.jpg","text":"TemporaryFile(/tmp/multipartBody7372094647841295511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849283426,"filename":"image_10122025_12_30_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb92c1314908b472f599bd6fb19cf6f7.jpg","text":"TemporaryFile(/tmp/multipartBody8930748196762898174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849283426,"filename":"image_10122025_12_30_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38a78b4bd484752b19851ee45453ef2b.jpg","text":"TemporaryFile(/tmp/multipartBody5962646138924928247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849283426,"filename":"image_10122025_12_30_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c77a0a9f6cb8912a4661d4b47a1b95b.jpg","text":"TemporaryFile(/tmp/multipartBody8363630958855679849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849283426,"filename":"image_10122025_12_29_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/12/27/f928b381c82664e9ad47c183b47fa4bc.jpg","text":"TemporaryFile(/tmp/multipartBody3914086926928258419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849283426,"filename":"image_10122025_12_29_35_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286824","file1":"1401286822","file0":"1401286819","file4":"1401286826","file5":"1401286829","file3":"1401286825"},"map_files_photo_id_array":[{"photo_id":"1401286829","filename":"file5"},{"photo_id":"1401286824","filename":"file2"},{"photo_id":"1401286826","filename":"file4"},{"photo_id":"1401286822","filename":"file1"},{"photo_id":"1401286819","filename":"file0"},{"photo_id":"1401286825","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286822":["hashtag1","hashtag2"]},{"1401286825":["hashtag1","hashtag2"]},{"1401286819":["hashtag1","hashtag2"]},{"1401286824":["hashtag1","hashtag2"]},{"1401286829":["hashtag1","hashtag2"]},{"1401286826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286822, 1401286825, 1401286819, 1401286824, 1401286829, 1401286826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66279077529907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:27:46.778006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_29_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_28_04_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_15_10644.jpg', '/home/nano/Desktop/images/10122025/12/28/image_10122025_12_29_04_9625.jpg', '/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_34_9616.jpg', '/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_25_9619.jpg', '/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_15_10645.jpg', '/home/nano/Desktop/images/10122025/12/27/image_10122025_12_28_04_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_15_10644.jpg
/home/nano/Desktop/images/10122025/12/28/image_10122025_12_29_04_9625.jpg
/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_34_9616.jpg
/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_25_9619.jpg
/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_15_10645.jpg
/home/nano/Desktop/images/10122025/12/27/image_10122025_12_28_04_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":["1401286840","1401286837","1401286842","1401286839","1401286841","1401286844"],"photo_ids_order":["1401286837","1401286839","1401286840","1401286841","1401286842","1401286844"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a654fa0a545d061f6b65ac7591e1279a.jpg","text":"TemporaryFile(/tmp/multipartBody1274082048196077403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849327586,"filename":"image_10122025_12_28_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/12/27/258dba15007d3f68bb94286bf08b9f34.jpg","text":"TemporaryFile(/tmp/multipartBody5695127373627264856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849327586,"filename":"image_10122025_12_29_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a641cf36372edee96b793583be6e80c.jpg","text":"TemporaryFile(/tmp/multipartBody8520970663153687330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849327586,"filename":"image_10122025_12_28_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/631863de3939a7a05d77b99158d21c53.jpg","text":"TemporaryFile(/tmp/multipartBody4314684548326926462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849327586,"filename":"image_10122025_12_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/12/27/3eb7e9275520f6bde0d42bfe3f81327f.jpg","text":"TemporaryFile(/tmp/multipartBody876232046964382318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849327586,"filename":"image_10122025_12_28_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7110f2e909b2838980fc82cf4022cd69.jpg","text":"TemporaryFile(/tmp/multipartBody3969070282317516728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849327586,"filename":"image_10122025_12_28_04_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286840","file1":"1401286839","file0":"1401286837","file4":"1401286842","file5":"1401286844","file3":"1401286841"},"map_files_photo_id_array":[{"photo_id":"1401286844","filename":"file5"},{"photo_id":"1401286840","filename":"file2"},{"photo_id":"1401286842","filename":"file4"},{"photo_id":"1401286839","filename":"file1"},{"photo_id":"1401286837","filename":"file0"},{"photo_id":"1401286841","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286840":["hashtag1","hashtag2"]},{"1401286837":["hashtag1","hashtag2"]},{"1401286842":["hashtag1","hashtag2"]},{"1401286839":["hashtag1","hashtag2"]},{"1401286841":["hashtag1","hashtag2"]},{"1401286844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286840, 1401286837, 1401286842, 1401286839, 1401286841, 1401286844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.656550884246826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:28:31.905892
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_35_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_27_05_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_55_10629.jpg', '/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_44_9617.jpg', '/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_35_9629.jpg', '/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_25_10603.jpg', '/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_14_9624.jpg', '/home/nano/Desktop/images/10122025/12/26/image_10122025_12_27_05_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_55_10629.jpg
/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_44_9617.jpg
/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_35_9629.jpg
/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_25_10603.jpg
/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_14_9624.jpg
/home/nano/Desktop/images/10122025/12/26/image_10122025_12_27_05_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":["1401286852","1401286860","1401286863","1401286853","1401286856","1401286864"],"photo_ids_order":["1401286852","1401286853","1401286856","1401286860","1401286863","1401286864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3672ac7d18fe68e46ac787b855ad0217.jpg","text":"TemporaryFile(/tmp/multipartBody6195211910006717221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849372709,"filename":"image_10122025_12_27_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67c43c97ae3e587c46533cb393b80331.jpg","text":"TemporaryFile(/tmp/multipartBody6970815815094118946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849372709,"filename":"image_10122025_12_27_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6ad8a1cfa6961b497952e1e6b7249c9.jpg","text":"TemporaryFile(/tmp/multipartBody4328596693629932551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849372709,"filename":"image_10122025_12_27_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/12/27/651168ab357af8382de6cf5c30c43ad7.jpg","text":"TemporaryFile(/tmp/multipartBody6509717009937108244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849372709,"filename":"image_10122025_12_27_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/12/27/913c52b9652937bda02fbe9faf99a49d.jpg","text":"TemporaryFile(/tmp/multipartBody2368346435789360535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849372709,"filename":"image_10122025_12_27_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00e08de5cfd88f1793879ff3200c45d9.jpg","text":"TemporaryFile(/tmp/multipartBody775996136447341327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849372709,"filename":"image_10122025_12_27_05_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286856","file1":"1401286853","file0":"1401286852","file4":"1401286863","file5":"1401286864","file3":"1401286860"},"map_files_photo_id_array":[{"photo_id":"1401286864","filename":"file5"},{"photo_id":"1401286856","filename":"file2"},{"photo_id":"1401286863","filename":"file4"},{"photo_id":"1401286853","filename":"file1"},{"photo_id":"1401286852","filename":"file0"},{"photo_id":"1401286860","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286852":["hashtag1","hashtag2"]},{"1401286860":["hashtag1","hashtag2"]},{"1401286863":["hashtag1","hashtag2"]},{"1401286853":["hashtag1","hashtag2"]},{"1401286856":["hashtag1","hashtag2"]},{"1401286864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286852, 1401286860, 1401286863, 1401286853, 1401286856, 1401286864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16829180717468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:29:17.057994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_26_05_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg', '/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_44_9609.jpg', '/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_35_10610.jpg', '/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_24_9600.jpg', '/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_15_9626.jpg', '/home/nano/Desktop/images/10122025/12/25/image_10122025_12_26_05_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg
/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_44_9609.jpg
/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_35_10610.jpg
/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_24_9600.jpg
/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_15_9626.jpg
/home/nano/Desktop/images/10122025/12/25/image_10122025_12_26_05_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":["1401286867","1401286866","1401286874","1401286877","1401286879","1401286870"],"photo_ids_order":["1401286866","1401286867","1401286870","1401286874","1401286877","1401286879"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10e48b542add19ac9b875f6272b08d09.jpg","text":"TemporaryFile(/tmp/multipartBody5286606009608761543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849417853,"filename":"image_10122025_12_26_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/12/27/7947f3091523ca37e2ad97fb9d5b5b94.jpg","text":"TemporaryFile(/tmp/multipartBody6916875225758343717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849417853,"filename":"image_10122025_12_26_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f4f4f497e41f7f0f7c1a5ee7854647e.jpg","text":"TemporaryFile(/tmp/multipartBody3622025231420549262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849417853,"filename":"image_10122025_12_26_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/12/27/73a9470501ba61ea2fcf623dc3ba73c4.jpg","text":"TemporaryFile(/tmp/multipartBody104635063812956070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849417853,"filename":"image_10122025_12_26_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e037c92287be9c591d419e5ff97cea33.jpg","text":"TemporaryFile(/tmp/multipartBody4827022477266344414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849417853,"filename":"image_10122025_12_26_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed84d918b38b17c25ec69a5fd1e742aa.jpg","text":"TemporaryFile(/tmp/multipartBody2002394892657050467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849417853,"filename":"image_10122025_12_26_35_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286870","file1":"1401286867","file0":"1401286866","file4":"1401286877","file5":"1401286879","file3":"1401286874"},"map_files_photo_id_array":[{"photo_id":"1401286879","filename":"file5"},{"photo_id":"1401286870","filename":"file2"},{"photo_id":"1401286877","filename":"file4"},{"photo_id":"1401286867","filename":"file1"},{"photo_id":"1401286866","filename":"file0"},{"photo_id":"1401286874","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286867":["hashtag1","hashtag2"]},{"1401286866":["hashtag1","hashtag2"]},{"1401286874":["hashtag1","hashtag2"]},{"1401286877":["hashtag1","hashtag2"]},{"1401286879":["hashtag1","hashtag2"]},{"1401286870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286867, 1401286866, 1401286874, 1401286877, 1401286879, 1401286870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97536873817444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:30:02.659780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_25_04_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_54_9610.jpg', '/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_45_10619.jpg', '/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_34_9608.jpg', '/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_25_9622.jpg', '/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_15_10648.jpg', '/home/nano/Desktop/images/10122025/12/24/image_10122025_12_25_04_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_54_9610.jpg
/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_45_10619.jpg
/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_34_9608.jpg
/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_25_9622.jpg
/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_15_10648.jpg
/home/nano/Desktop/images/10122025/12/24/image_10122025_12_25_04_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":["1401286899","1401286896","1401286898","1401286895","1401286894","1401286897"],"photo_ids_order":["1401286894","1401286895","1401286896","1401286897","1401286898","1401286899"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0902a2e2364aba9e836a6389b6ba83c6.jpg","text":"TemporaryFile(/tmp/multipartBody2602620288801880706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849463500,"filename":"image_10122025_12_25_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/12/27/062f2b3f70c92acd95484200a862e367.jpg","text":"TemporaryFile(/tmp/multipartBody9129268240685977448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849463500,"filename":"image_10122025_12_25_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/12/27/2813b7b694b48482f03ca939b701f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody3307414865470941242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849463500,"filename":"image_10122025_12_25_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a93ae305b87e53368e252a5f2d28481.jpg","text":"TemporaryFile(/tmp/multipartBody3972022191550826371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849463500,"filename":"image_10122025_12_25_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ed36de03c2a8e5338c88912b5582cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7196996671499096671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849463500,"filename":"image_10122025_12_25_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/12/27/231b3b1d5e4623c1aaea272e6f0223ef.jpg","text":"TemporaryFile(/tmp/multipartBody5056660137871750042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849463500,"filename":"image_10122025_12_25_25_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286896","file1":"1401286895","file0":"1401286894","file4":"1401286898","file5":"1401286899","file3":"1401286897"},"map_files_photo_id_array":[{"photo_id":"1401286899","filename":"file5"},{"photo_id":"1401286896","filename":"file2"},{"photo_id":"1401286898","filename":"file4"},{"photo_id":"1401286895","filename":"file1"},{"photo_id":"1401286894","filename":"file0"},{"photo_id":"1401286897","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286899":["hashtag1","hashtag2"]},{"1401286896":["hashtag1","hashtag2"]},{"1401286898":["hashtag1","hashtag2"]},{"1401286895":["hashtag1","hashtag2"]},{"1401286894":["hashtag1","hashtag2"]},{"1401286897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286899, 1401286896, 1401286898, 1401286895, 1401286894, 1401286897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02725434303284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:30:47.119594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_24_05_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_55_9606.jpg', '/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_45_10619.jpg', '/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_34_9611.jpg', '/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_25_10609.jpg', '/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_14_9617.jpg', '/home/nano/Desktop/images/10122025/12/23/image_10122025_12_24_05_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_55_9606.jpg
/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_45_10619.jpg
/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_34_9611.jpg
/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_25_10609.jpg
/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_14_9617.jpg
/home/nano/Desktop/images/10122025/12/23/image_10122025_12_24_05_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":["1401286912","1401286909","1401286911","1401286908","1401286910","1401286907"],"photo_ids_order":["1401286907","1401286908","1401286909","1401286910","1401286911","1401286912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92bd093337f8caec88aab89daac86086.jpg","text":"TemporaryFile(/tmp/multipartBody2700796699880003339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849507924,"filename":"image_10122025_12_24_05_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4e6e277fb5612570e5acb4b5cd10ca5.jpg","text":"TemporaryFile(/tmp/multipartBody6096631569159024594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849507924,"filename":"image_10122025_12_24_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/12/27/6899225f21785a35112f474d8ba06998.jpg","text":"TemporaryFile(/tmp/multipartBody5504113376883901086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849507924,"filename":"image_10122025_12_24_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/12/27/d374875b08d62a89936a209a7b41b870.jpg","text":"TemporaryFile(/tmp/multipartBody4286127315549838981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849507924,"filename":"image_10122025_12_24_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5622da6be51977100c4e46bfc5601d2.jpg","text":"TemporaryFile(/tmp/multipartBody4049017728822712979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849507924,"filename":"image_10122025_12_24_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/555a3b6541c12c02e363df2f3664c209.jpg","text":"TemporaryFile(/tmp/multipartBody8675997697098676515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849507924,"filename":"image_10122025_12_24_55_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286909","file1":"1401286908","file0":"1401286907","file4":"1401286911","file5":"1401286912","file3":"1401286910"},"map_files_photo_id_array":[{"photo_id":"1401286912","filename":"file5"},{"photo_id":"1401286909","filename":"file2"},{"photo_id":"1401286911","filename":"file4"},{"photo_id":"1401286908","filename":"file1"},{"photo_id":"1401286907","filename":"file0"},{"photo_id":"1401286910","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286912":["hashtag1","hashtag2"]},{"1401286909":["hashtag1","hashtag2"]},{"1401286911":["hashtag1","hashtag2"]},{"1401286908":["hashtag1","hashtag2"]},{"1401286910":["hashtag1","hashtag2"]},{"1401286907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286912, 1401286909, 1401286911, 1401286908, 1401286910, 1401286907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79344034194946 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:31:32.235823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_15_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_23_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_54_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_55_10609.jpg', '/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_35_10610.jpg', '/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_24_9609.jpg', '/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_15_9602.jpg', '/home/nano/Desktop/images/10122025/12/22/image_10122025_12_23_05_10634.jpg', '/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_54_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_55_10609.jpg
/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_35_10610.jpg
/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_24_9609.jpg
/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_15_9602.jpg
/home/nano/Desktop/images/10122025/12/22/image_10122025_12_23_05_10634.jpg
/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_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":["1401286929","1401286920","1401286928","1401286922","1401286925","1401286919"],"photo_ids_order":["1401286919","1401286920","1401286922","1401286925","1401286928","1401286929"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd96d1104db47e8cea6b82b76d895a55.jpg","text":"TemporaryFile(/tmp/multipartBody3083699250142899716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849553022,"filename":"image_10122025_12_22_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/12/27/0f641ab3589c591db66f3b3e9de656e1.jpg","text":"TemporaryFile(/tmp/multipartBody5481355910212395551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849553022,"filename":"image_10122025_12_23_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebc447d7972780e356b7239674650e76.jpg","text":"TemporaryFile(/tmp/multipartBody1890247421272850831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849553022,"filename":"image_10122025_12_23_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a048af1250adab43fa0491ee3d2e013d.jpg","text":"TemporaryFile(/tmp/multipartBody5253026461524318867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849553022,"filename":"image_10122025_12_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/12/27/49257d0f55af12d46ef49a83dd48f4a3.jpg","text":"TemporaryFile(/tmp/multipartBody3321872445652530667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849553022,"filename":"image_10122025_12_23_15_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f63c08b3eafc9558962bd64ab6f6d449.jpg","text":"TemporaryFile(/tmp/multipartBody1694072219916310195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849553022,"filename":"image_10122025_12_23_55_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286922","file1":"1401286920","file0":"1401286919","file4":"1401286928","file5":"1401286929","file3":"1401286925"},"map_files_photo_id_array":[{"photo_id":"1401286929","filename":"file5"},{"photo_id":"1401286922","filename":"file2"},{"photo_id":"1401286928","filename":"file4"},{"photo_id":"1401286920","filename":"file1"},{"photo_id":"1401286919","filename":"file0"},{"photo_id":"1401286925","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286929":["hashtag1","hashtag2"]},{"1401286920":["hashtag1","hashtag2"]},{"1401286928":["hashtag1","hashtag2"]},{"1401286922":["hashtag1","hashtag2"]},{"1401286925":["hashtag1","hashtag2"]},{"1401286919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286929, 1401286920, 1401286928, 1401286922, 1401286925, 1401286919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47889947891235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:32:17.320140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_45_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_45_10613.jpg', '/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_34_9608.jpg', '/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_24_9616.jpg', '/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_15_10652.jpg', '/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_55_9600.jpg', '/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_45_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_45_10613.jpg
/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_34_9608.jpg
/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_24_9616.jpg
/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_15_10652.jpg
/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_55_9600.jpg
/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_45_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":["1401286930","1401286940","1401286934","1401286943","1401286937","1401286931"],"photo_ids_order":["1401286930","1401286931","1401286934","1401286937","1401286940","1401286943"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0cf4fdb15ebf8c77c4149a4e9e93397.jpg","text":"TemporaryFile(/tmp/multipartBody8915397573323704985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849598114,"filename":"image_10122025_12_22_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cae43bbadd3b6e4840dd716ba724d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3788233003789493903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849598114,"filename":"image_10122025_12_21_55_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36a812b3a406dde183423b7bad571e86.jpg","text":"TemporaryFile(/tmp/multipartBody8498195589479196409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849598114,"filename":"image_10122025_12_22_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/12/27/f74020d433b59f229852346b56de3fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7918001254091039283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849598114,"filename":"image_10122025_12_21_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7c899adec3abaa53aec38125bf5c4aa.jpg","text":"TemporaryFile(/tmp/multipartBody7596356103819222911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849598114,"filename":"image_10122025_12_22_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9698773d5952fc8a888f45d8663643c.jpg","text":"TemporaryFile(/tmp/multipartBody6217714231621564015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849598114,"filename":"image_10122025_12_22_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286934","file1":"1401286931","file0":"1401286930","file4":"1401286940","file5":"1401286943","file3":"1401286937"},"map_files_photo_id_array":[{"photo_id":"1401286943","filename":"file5"},{"photo_id":"1401286934","filename":"file2"},{"photo_id":"1401286940","filename":"file4"},{"photo_id":"1401286931","filename":"file1"},{"photo_id":"1401286930","filename":"file0"},{"photo_id":"1401286937","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286930":["hashtag1","hashtag2"]},{"1401286940":["hashtag1","hashtag2"]},{"1401286934":["hashtag1","hashtag2"]},{"1401286943":["hashtag1","hashtag2"]},{"1401286937":["hashtag1","hashtag2"]},{"1401286931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286930, 1401286940, 1401286934, 1401286943, 1401286937, 1401286931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.578176975250244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:33:03.065613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_21_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_44_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_34_9595.jpg', '/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_25_10605.jpg', '/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_14_9620.jpg', '/home/nano/Desktop/images/10122025/12/20/image_10122025_12_21_05_9615.jpg', '/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_55_10610.jpg', '/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_44_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_34_9595.jpg
/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_25_10605.jpg
/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_14_9620.jpg
/home/nano/Desktop/images/10122025/12/20/image_10122025_12_21_05_9615.jpg
/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_55_10610.jpg
/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_44_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":["1401286959","1401286958","1401286961","1401286960","1401286963","1401286957"],"photo_ids_order":["1401286957","1401286958","1401286959","1401286960","1401286961","1401286963"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdfd4b45e9b71d29fed3ea804e67d9af.jpg","text":"TemporaryFile(/tmp/multipartBody8302423079223180389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849643894,"filename":"image_10122025_12_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/12/27/8fa0708bd0d356de6f7a16add77f7e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6521074950590295213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849643894,"filename":"image_10122025_12_21_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15ec41858f488b85b0084274c7df9b43.jpg","text":"TemporaryFile(/tmp/multipartBody9056213114482532394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849643894,"filename":"image_10122025_12_20_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/085a63dae877497d71cca358c1779cce.jpg","text":"TemporaryFile(/tmp/multipartBody1126962951264659694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849643894,"filename":"image_10122025_12_21_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4679320c68f2beb3461b043383bdbc8d.jpg","text":"TemporaryFile(/tmp/multipartBody5171972713304750052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849643894,"filename":"image_10122025_12_20_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/12/27/c6ad86a98e07d1a28e05eea72037ed56.jpg","text":"TemporaryFile(/tmp/multipartBody9032443219313624650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849643894,"filename":"image_10122025_12_21_34_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286959","file1":"1401286958","file0":"1401286957","file4":"1401286961","file5":"1401286963","file3":"1401286960"},"map_files_photo_id_array":[{"photo_id":"1401286963","filename":"file5"},{"photo_id":"1401286959","filename":"file2"},{"photo_id":"1401286961","filename":"file4"},{"photo_id":"1401286958","filename":"file1"},{"photo_id":"1401286957","filename":"file0"},{"photo_id":"1401286960","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286959":["hashtag1","hashtag2"]},{"1401286958":["hashtag1","hashtag2"]},{"1401286961":["hashtag1","hashtag2"]},{"1401286960":["hashtag1","hashtag2"]},{"1401286963":["hashtag1","hashtag2"]},{"1401286957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286959, 1401286958, 1401286961, 1401286960, 1401286963, 1401286957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99728012084961 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:33:47.406669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_20_05_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_45_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_35_10606.jpg', '/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_24_9600.jpg', '/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_15_9607.jpg', '/home/nano/Desktop/images/10122025/12/19/image_10122025_12_20_05_10640.jpg', '/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_54_9596.jpg', '/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_45_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_35_10606.jpg
/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_24_9600.jpg
/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_15_9607.jpg
/home/nano/Desktop/images/10122025/12/19/image_10122025_12_20_05_10640.jpg
/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_54_9596.jpg
/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_45_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":["1401286980","1401286977","1401286976","1401286979","1401286981","1401286978"],"photo_ids_order":["1401286976","1401286977","1401286978","1401286979","1401286980","1401286981"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38c1f1f419982c90345c22b3e5a398cb.jpg","text":"TemporaryFile(/tmp/multipartBody5034089416003393170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849688229,"filename":"image_10122025_12_19_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/12/27/4add0a887402a63e677c036b592d4f01.jpg","text":"TemporaryFile(/tmp/multipartBody5307349544041732817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849688229,"filename":"image_10122025_12_20_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/12/27/d168fb5dc31b427ad879bfedfa481644.jpg","text":"TemporaryFile(/tmp/multipartBody2404660348979266496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849688229,"filename":"image_10122025_12_20_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66e7af1dcace2838ba1cddffc38e2443.jpg","text":"TemporaryFile(/tmp/multipartBody739183020578769835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849688229,"filename":"image_10122025_12_20_05_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ae24ea7f6aed697a6fbc20e9cf17e3e.jpg","text":"TemporaryFile(/tmp/multipartBody1172567224401184131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849688229,"filename":"image_10122025_12_19_45_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/539710783fb3a8b73d99f0b6598f24cd.jpg","text":"TemporaryFile(/tmp/multipartBody8714547258421969948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849688229,"filename":"image_10122025_12_20_15_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286978","file1":"1401286977","file0":"1401286976","file4":"1401286980","file5":"1401286981","file3":"1401286979"},"map_files_photo_id_array":[{"photo_id":"1401286981","filename":"file5"},{"photo_id":"1401286978","filename":"file2"},{"photo_id":"1401286980","filename":"file4"},{"photo_id":"1401286977","filename":"file1"},{"photo_id":"1401286976","filename":"file0"},{"photo_id":"1401286979","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286980":["hashtag1","hashtag2"]},{"1401286977":["hashtag1","hashtag2"]},{"1401286976":["hashtag1","hashtag2"]},{"1401286979":["hashtag1","hashtag2"]},{"1401286981":["hashtag1","hashtag2"]},{"1401286978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286980, 1401286977, 1401286976, 1401286979, 1401286981, 1401286978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51479959487915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:34:32.500878
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/16/33/image_27122025_16_34_04_10566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/16/33/image_27122025_16_34_04_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/16/33/image_27122025_16_34_04_10566.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401286988"],"photo_id":"1401286988","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4aec2e0d6022d55eee191507b5e4b3a9.jpg","text":"TemporaryFile(/tmp/multipartBody3739647305940040935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849732742,"filename":"image_27122025_16_34_04_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401286988"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401286988"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.038163185119629 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:34:47.512933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_24_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_19_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_55_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_45_10602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_35_10609.jpg', '/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_24_9589.jpg', '/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_15_10623.jpg', '/home/nano/Desktop/images/10122025/12/18/image_10122025_12_19_04_9608.jpg', '/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_55_9592.jpg', '/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_45_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_35_10609.jpg
/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_24_9589.jpg
/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_15_10623.jpg
/home/nano/Desktop/images/10122025/12/18/image_10122025_12_19_04_9608.jpg
/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_55_9592.jpg
/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_45_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":["1401286998","1401286995","1401286997","1401287000","1401286996","1401286999"],"photo_ids_order":["1401286995","1401286996","1401286997","1401286998","1401286999","1401287000"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9bd6269b2789d74504c01fa7f6069091.jpg","text":"TemporaryFile(/tmp/multipartBody6340823021955617991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849748301,"filename":"image_10122025_12_19_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/12/27/74e5f6f7a81f9373d82a25aced069c6d.jpg","text":"TemporaryFile(/tmp/multipartBody6817086441117528231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849748301,"filename":"image_10122025_12_19_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35e939dedddde40939d6024b94245cab.jpg","text":"TemporaryFile(/tmp/multipartBody6479912797236957351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849748301,"filename":"image_10122025_12_19_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fd1670ca40b6eb3329c0f701d739833.jpg","text":"TemporaryFile(/tmp/multipartBody7346540345825389484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849748301,"filename":"image_10122025_12_18_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e94c086faa4ee72dcb11bd862a119e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3629041946598264554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849748301,"filename":"image_10122025_12_19_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/12/27/0a02b78f62d2db4f0610274af83835de.jpg","text":"TemporaryFile(/tmp/multipartBody8288423427067210615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849748301,"filename":"image_10122025_12_18_55_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401286997","file1":"1401286996","file0":"1401286995","file4":"1401286999","file5":"1401287000","file3":"1401286998"},"map_files_photo_id_array":[{"photo_id":"1401287000","filename":"file5"},{"photo_id":"1401286997","filename":"file2"},{"photo_id":"1401286999","filename":"file4"},{"photo_id":"1401286996","filename":"file1"},{"photo_id":"1401286995","filename":"file0"},{"photo_id":"1401286998","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401286998":["hashtag1","hashtag2"]},{"1401286995":["hashtag1","hashtag2"]},{"1401286997":["hashtag1","hashtag2"]},{"1401287000":["hashtag1","hashtag2"]},{"1401286996":["hashtag1","hashtag2"]},{"1401286999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401286998, 1401286995, 1401286997, 1401287000, 1401286996, 1401286999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3900728225708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:35:32.603280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_18_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_44_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_34_9604.jpg', '/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_25_10606.jpg', '/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_14_9618.jpg', '/home/nano/Desktop/images/10122025/12/17/image_10122025_12_18_05_9625.jpg', '/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_55_10606.jpg', '/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_44_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_34_9604.jpg
/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_25_10606.jpg
/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_14_9618.jpg
/home/nano/Desktop/images/10122025/12/17/image_10122025_12_18_05_9625.jpg
/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_55_10606.jpg
/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_44_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401287008","1401287016","1401287010","1401287007","1401287027","1401287026"],"photo_ids_order":["1401287007","1401287008","1401287010","1401287016","1401287026","1401287027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/633096aa410586d46d923cc75972dc07.jpg","text":"TemporaryFile(/tmp/multipartBody8854222235938406948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849793386,"filename":"image_10122025_12_18_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5851c915231d3199b82daa296eff9b4f.jpg","text":"TemporaryFile(/tmp/multipartBody393089440535509263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849793386,"filename":"image_10122025_12_18_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94fd4a7f8474d5674e40f4533a5c3ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7504701292158152458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849793386,"filename":"image_10122025_12_18_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/12/27/190e29a7693b60816e46bd1679a9d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody4691847409906239618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849793386,"filename":"image_10122025_12_18_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/12/27/d5419e0a659a41f63616cd632fd1074f.jpg","text":"TemporaryFile(/tmp/multipartBody285192937696481091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849793386,"filename":"image_10122025_12_17_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/12/27/ff0aa8096b0cdec555a28d35d43d2f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5613034840281049129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849793386,"filename":"image_10122025_12_17_55_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287010","file1":"1401287008","file0":"1401287007","file4":"1401287026","file5":"1401287027","file3":"1401287016"},"map_files_photo_id_array":[{"photo_id":"1401287027","filename":"file5"},{"photo_id":"1401287010","filename":"file2"},{"photo_id":"1401287026","filename":"file4"},{"photo_id":"1401287008","filename":"file1"},{"photo_id":"1401287007","filename":"file0"},{"photo_id":"1401287016","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287008":["hashtag1","hashtag2"]},{"1401287016":["hashtag1","hashtag2"]},{"1401287010":["hashtag1","hashtag2"]},{"1401287007":["hashtag1","hashtag2"]},{"1401287027":["hashtag1","hashtag2"]},{"1401287026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287008, 1401287016, 1401287010, 1401287007, 1401287027, 1401287026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31782031059265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:36:17.719697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_17_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_45_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_35_10626.jpg', '/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_24_9604.jpg', '/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_15_9621.jpg', '/home/nano/Desktop/images/10122025/12/16/image_10122025_12_17_05_10618.jpg', '/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_54_9603.jpg', '/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_45_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_35_10626.jpg
/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_24_9604.jpg
/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_15_9621.jpg
/home/nano/Desktop/images/10122025/12/16/image_10122025_12_17_05_10618.jpg
/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_54_9603.jpg
/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_45_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":["1401287035","1401287029","1401287037","1401287031","1401287033","1401287030"],"photo_ids_order":["1401287029","1401287030","1401287031","1401287033","1401287035","1401287037"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e0edb35993b931b4b0bf1fc72fdab92.jpg","text":"TemporaryFile(/tmp/multipartBody5977930244168203099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849838522,"filename":"image_10122025_12_16_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/12/27/b5ff87cd60c9f270b5784df9beda6f7a.jpg","text":"TemporaryFile(/tmp/multipartBody9153225393513034800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849838522,"filename":"image_10122025_12_17_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a812e26165e298c985abe0028cff0799.jpg","text":"TemporaryFile(/tmp/multipartBody8247389140712251321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849838522,"filename":"image_10122025_12_16_45_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6bc3f642618a07c3f2060b8e7077074.jpg","text":"TemporaryFile(/tmp/multipartBody3614733226245997552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849838522,"filename":"image_10122025_12_17_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9f64ef264ecd6240937b564db7559a1.jpg","text":"TemporaryFile(/tmp/multipartBody2784633842045447410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849838522,"filename":"image_10122025_12_17_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ecac2be2a5a13ec6ffbdef2e0b82911.jpg","text":"TemporaryFile(/tmp/multipartBody7441680802544491349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849838522,"filename":"image_10122025_12_17_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287031","file1":"1401287030","file0":"1401287029","file4":"1401287035","file5":"1401287037","file3":"1401287033"},"map_files_photo_id_array":[{"photo_id":"1401287037","filename":"file5"},{"photo_id":"1401287031","filename":"file2"},{"photo_id":"1401287035","filename":"file4"},{"photo_id":"1401287030","filename":"file1"},{"photo_id":"1401287029","filename":"file0"},{"photo_id":"1401287033","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287035":["hashtag1","hashtag2"]},{"1401287029":["hashtag1","hashtag2"]},{"1401287037":["hashtag1","hashtag2"]},{"1401287031":["hashtag1","hashtag2"]},{"1401287033":["hashtag1","hashtag2"]},{"1401287030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287035, 1401287029, 1401287037, 1401287031, 1401287033, 1401287030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95930862426758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:37:02.588585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_16_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_34_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_34_9604.jpg', '/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_25_9612.jpg', '/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_15_10642.jpg', '/home/nano/Desktop/images/10122025/12/15/image_10122025_12_16_04_9614.jpg', '/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_45_10618.jpg', '/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_34_9604.jpg
/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_25_9612.jpg
/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_15_10642.jpg
/home/nano/Desktop/images/10122025/12/15/image_10122025_12_16_04_9614.jpg
/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_45_10618.jpg
/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_34_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":["1401287064","1401287063","1401287066","1401287068","1401287062","1401287065"],"photo_ids_order":["1401287062","1401287063","1401287064","1401287065","1401287066","1401287068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74365cf417ed1c378c9e2200b4c45715.jpg","text":"TemporaryFile(/tmp/multipartBody7993283612524335579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849883438,"filename":"image_10122025_12_16_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8f11728e085972738dd3e7b5c401d70.jpg","text":"TemporaryFile(/tmp/multipartBody7237340097329656531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849883438,"filename":"image_10122025_12_16_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad2bed0233c7971a3259f6e9f4193793.jpg","text":"TemporaryFile(/tmp/multipartBody9020311781982336853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849883438,"filename":"image_10122025_12_15_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/366e4cd297e02bedeea9928c86f8a33a.jpg","text":"TemporaryFile(/tmp/multipartBody1013981226617406201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849883438,"filename":"image_10122025_12_15_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/12/27/f926fd66aa17b63405e492f40b6f607c.jpg","text":"TemporaryFile(/tmp/multipartBody5960497591045251839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849883438,"filename":"image_10122025_12_16_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/12/27/e36f056649520489b42ef7121a7629ac.jpg","text":"TemporaryFile(/tmp/multipartBody2321884745091525739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849883438,"filename":"image_10122025_12_16_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287064","file1":"1401287063","file0":"1401287062","file4":"1401287066","file5":"1401287068","file3":"1401287065"},"map_files_photo_id_array":[{"photo_id":"1401287068","filename":"file5"},{"photo_id":"1401287064","filename":"file2"},{"photo_id":"1401287066","filename":"file4"},{"photo_id":"1401287063","filename":"file1"},{"photo_id":"1401287062","filename":"file0"},{"photo_id":"1401287065","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287064":["hashtag1","hashtag2"]},{"1401287063":["hashtag1","hashtag2"]},{"1401287066":["hashtag1","hashtag2"]},{"1401287068":["hashtag1","hashtag2"]},{"1401287062":["hashtag1","hashtag2"]},{"1401287065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287064, 1401287063, 1401287066, 1401287068, 1401287062, 1401287065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23717927932739 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:37:46.870032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_14_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_15_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_44_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_35_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_25_10649.jpg', '/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_14_9644.jpg', '/home/nano/Desktop/images/10122025/12/14/image_10122025_12_15_05_9614.jpg', '/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_55_10617.jpg', '/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_44_9655.jpg', '/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_35_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_25_10649.jpg
/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_14_9644.jpg
/home/nano/Desktop/images/10122025/12/14/image_10122025_12_15_05_9614.jpg
/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_55_10617.jpg
/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_44_9655.jpg
/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_35_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":["1401287082","1401287081","1401287084","1401287087","1401287086","1401287083"],"photo_ids_order":["1401287081","1401287082","1401287083","1401287084","1401287086","1401287087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d2e14a17c2fdc440babc90f290b993c.jpg","text":"TemporaryFile(/tmp/multipartBody7362633296908420417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849927733,"filename":"image_10122025_12_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/12/27/79028e9709c68248d8ba1bcf07d9632b.jpg","text":"TemporaryFile(/tmp/multipartBody2553401709573755163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849927733,"filename":"image_10122025_12_15_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f4342a83ca6544bd5ef738f8c4c7b08.jpg","text":"TemporaryFile(/tmp/multipartBody5551322378828735020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849927733,"filename":"image_10122025_12_14_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76180015a4b7706555f41665b271f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody406997542331718655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849927733,"filename":"image_10122025_12_14_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50ccad75ff2f8689c987ea3f21b4dc2b.jpg","text":"TemporaryFile(/tmp/multipartBody9030037669203590598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849927733,"filename":"image_10122025_12_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/12/27/f62f61ba5da1b161a583bea8c53df60d.jpg","text":"TemporaryFile(/tmp/multipartBody2070755345530992702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849927733,"filename":"image_10122025_12_15_05_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287083","file1":"1401287082","file0":"1401287081","file4":"1401287086","file5":"1401287087","file3":"1401287084"},"map_files_photo_id_array":[{"photo_id":"1401287087","filename":"file5"},{"photo_id":"1401287083","filename":"file2"},{"photo_id":"1401287086","filename":"file4"},{"photo_id":"1401287082","filename":"file1"},{"photo_id":"1401287081","filename":"file0"},{"photo_id":"1401287084","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287082":["hashtag1","hashtag2"]},{"1401287081":["hashtag1","hashtag2"]},{"1401287084":["hashtag1","hashtag2"]},{"1401287087":["hashtag1","hashtag2"]},{"1401287086":["hashtag1","hashtag2"]},{"1401287083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287082, 1401287081, 1401287084, 1401287087, 1401287086, 1401287083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.163679122924805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:38:31.952426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_25_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_14_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_14_05_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_55_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_44_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_34_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_25_10650.jpg', '/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_14_9730.jpg', '/home/nano/Desktop/images/10122025/12/13/image_10122025_12_14_05_9720.jpg', '/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_55_10738.jpg', '/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_44_9738.jpg', '/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_34_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_25_10650.jpg
/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_14_9730.jpg
/home/nano/Desktop/images/10122025/12/13/image_10122025_12_14_05_9720.jpg
/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_55_10738.jpg
/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_44_9738.jpg
/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_34_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":["1401287154","1401287136","1401287156","1401287168","1401287167","1401287119"],"photo_ids_order":["1401287119","1401287136","1401287154","1401287156","1401287167","1401287168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d6396f93090eb22e08d8d69850a11a5.jpg","text":"TemporaryFile(/tmp/multipartBody4315325770767010500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849972790,"filename":"image_10122025_12_14_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2120f9d3ba985157cc81020144af5b0f.jpg","text":"TemporaryFile(/tmp/multipartBody796794450934271328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849972790,"filename":"image_10122025_12_14_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ebe3e174614cd6f7a9365a2543e475f.jpg","text":"TemporaryFile(/tmp/multipartBody8286404323435424843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849972790,"filename":"image_10122025_12_13_55_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16e2dec0fd93006b187f5c3d7eef43db.jpg","text":"TemporaryFile(/tmp/multipartBody1711355564531915890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849972790,"filename":"image_10122025_12_13_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/12/27/1c520e55e136627c36f5eb75229574f9.jpg","text":"TemporaryFile(/tmp/multipartBody6891874120537736028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849972790,"filename":"image_10122025_12_13_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f539ba2d62b94e06ba20c95a65615563.jpg","text":"TemporaryFile(/tmp/multipartBody6304958689721063714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766849972790,"filename":"image_10122025_12_14_25_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287154","file1":"1401287136","file0":"1401287119","file4":"1401287167","file5":"1401287168","file3":"1401287156"},"map_files_photo_id_array":[{"photo_id":"1401287168","filename":"file5"},{"photo_id":"1401287154","filename":"file2"},{"photo_id":"1401287167","filename":"file4"},{"photo_id":"1401287136","filename":"file1"},{"photo_id":"1401287119","filename":"file0"},{"photo_id":"1401287156","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287154":["hashtag1","hashtag2"]},{"1401287136":["hashtag1","hashtag2"]},{"1401287156":["hashtag1","hashtag2"]},{"1401287168":["hashtag1","hashtag2"]},{"1401287167":["hashtag1","hashtag2"]},{"1401287119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287154, 1401287136, 1401287156, 1401287168, 1401287167, 1401287119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15648126602173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:39:17.062713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_25_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_15_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_13_04_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_55_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_45_10681.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_34_9756.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_25_9710.jpg', '/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_15_10749.jpg', '/home/nano/Desktop/images/10122025/12/12/image_10122025_12_13_04_9725.jpg', '/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_55_9723.jpg', '/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_45_10681.jpg', '/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_34_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_25_9710.jpg
/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_15_10749.jpg
/home/nano/Desktop/images/10122025/12/12/image_10122025_12_13_04_9725.jpg
/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_55_9723.jpg
/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_45_10681.jpg
/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_34_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":["1401287212","1401287223","1401287219","1401287216","1401287221","1401287203"],"photo_ids_order":["1401287203","1401287212","1401287216","1401287219","1401287221","1401287223"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f8a288695c7ceda75ea9d261d96e159.jpg","text":"TemporaryFile(/tmp/multipartBody1238831147608435052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850017896,"filename":"image_10122025_12_13_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e7c6668c8affd459b4c2bbac189236e.jpg","text":"TemporaryFile(/tmp/multipartBody1485769814506089136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850017896,"filename":"image_10122025_12_12_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c0b0e7ea5e2f54ffd50faa340721c6c.jpg","text":"TemporaryFile(/tmp/multipartBody8302737504866276888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850017896,"filename":"image_10122025_12_12_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/201f72497defdb46597efba08522251d.jpg","text":"TemporaryFile(/tmp/multipartBody4744295421427730506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850017896,"filename":"image_10122025_12_13_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/12/27/64585d2891b399c0c511aae575388745.jpg","text":"TemporaryFile(/tmp/multipartBody7000830540002424148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850017896,"filename":"image_10122025_12_12_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ccd6f187a751e06a0565aa998af32e0.jpg","text":"TemporaryFile(/tmp/multipartBody9066215328025171418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850017896,"filename":"image_10122025_12_13_25_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287216","file1":"1401287212","file0":"1401287203","file4":"1401287221","file5":"1401287223","file3":"1401287219"},"map_files_photo_id_array":[{"photo_id":"1401287223","filename":"file5"},{"photo_id":"1401287216","filename":"file2"},{"photo_id":"1401287221","filename":"file4"},{"photo_id":"1401287212","filename":"file1"},{"photo_id":"1401287203","filename":"file0"},{"photo_id":"1401287219","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287212":["hashtag1","hashtag2"]},{"1401287223":["hashtag1","hashtag2"]},{"1401287219":["hashtag1","hashtag2"]},{"1401287216":["hashtag1","hashtag2"]},{"1401287221":["hashtag1","hashtag2"]},{"1401287203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287212, 1401287223, 1401287219, 1401287216, 1401287221, 1401287203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54508709907532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:40:02.720683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_24_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_15_9800.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_12_05_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_55_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_44_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_35_9748.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_24_9746.jpg', '/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_15_9800.jpg', '/home/nano/Desktop/images/10122025/12/11/image_10122025_12_12_05_9776.jpg', '/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_55_10605.jpg', '/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_44_9743.jpg', '/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_35_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_24_9746.jpg
/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_15_9800.jpg
/home/nano/Desktop/images/10122025/12/11/image_10122025_12_12_05_9776.jpg
/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_55_10605.jpg
/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_44_9743.jpg
/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_35_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401287253","1401287247","1401287255","1401287246","1401287249","1401287251"],"photo_ids_order":["1401287246","1401287247","1401287249","1401287251","1401287253","1401287255"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c87e937eceb280ee072653a929636c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7865237496275786180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850063621,"filename":"image_10122025_12_11_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/12/27/3b239dd63e34c8fc8dcee79c6f8af612.jpg","text":"TemporaryFile(/tmp/multipartBody8983611594083990688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850063621,"filename":"image_10122025_12_12_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69a2bcb493cf106496fa1c0d7d102c95.jpg","text":"TemporaryFile(/tmp/multipartBody5151033387973857589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850063621,"filename":"image_10122025_12_11_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e83f28b6839b4411f10be0476e622f21.jpg","text":"TemporaryFile(/tmp/multipartBody8077281731051261511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850063621,"filename":"image_10122025_12_12_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/835e490f92a00bbc4240545d2203d134.jpg","text":"TemporaryFile(/tmp/multipartBody7916006587380364513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850063621,"filename":"image_10122025_12_12_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbebc669f0e09d4fc3d75281e8650488.jpg","text":"TemporaryFile(/tmp/multipartBody639915111664101194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850063621,"filename":"image_10122025_12_11_55_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287249","file1":"1401287247","file0":"1401287246","file4":"1401287253","file5":"1401287255","file3":"1401287251"},"map_files_photo_id_array":[{"photo_id":"1401287255","filename":"file5"},{"photo_id":"1401287249","filename":"file2"},{"photo_id":"1401287253","filename":"file4"},{"photo_id":"1401287247","filename":"file1"},{"photo_id":"1401287246","filename":"file0"},{"photo_id":"1401287251","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287253":["hashtag1","hashtag2"]},{"1401287247":["hashtag1","hashtag2"]},{"1401287255":["hashtag1","hashtag2"]},{"1401287246":["hashtag1","hashtag2"]},{"1401287249":["hashtag1","hashtag2"]},{"1401287251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287253, 1401287247, 1401287255, 1401287246, 1401287249, 1401287251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14234185218811 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:40:47.178827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_14_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_11_05_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_55_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_44_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_34_9734.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_25_10678.jpg', '/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_14_9716.jpg', '/home/nano/Desktop/images/10122025/12/10/image_10122025_12_11_05_9710.jpg', '/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_55_10677.jpg', '/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_44_9731.jpg', '/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_34_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_25_10678.jpg
/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_14_9716.jpg
/home/nano/Desktop/images/10122025/12/10/image_10122025_12_11_05_9710.jpg
/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_55_10677.jpg
/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_44_9731.jpg
/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_34_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":["1401287265","1401287262","1401287264","1401287267","1401287269","1401287263"],"photo_ids_order":["1401287262","1401287263","1401287264","1401287265","1401287267","1401287269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19a515dddeebc250cedc4e8269f36c61.jpg","text":"TemporaryFile(/tmp/multipartBody7410754830208681736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850108021,"filename":"image_10122025_12_10_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd1ec712a60e53203c42d965d4fbd8f7.jpg","text":"TemporaryFile(/tmp/multipartBody4525928026044158424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850108021,"filename":"image_10122025_12_11_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b829fbf010c0a7f1096c8431fc8ae375.jpg","text":"TemporaryFile(/tmp/multipartBody1508101517570367187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850108021,"filename":"image_10122025_12_11_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50569acaa99c12118b5801d4a33f3878.jpg","text":"TemporaryFile(/tmp/multipartBody6204708550956449872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850108021,"filename":"image_10122025_12_10_44_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a631ce56f0f19a3cddcf56181f1226ff.jpg","text":"TemporaryFile(/tmp/multipartBody730301003831732489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850108021,"filename":"image_10122025_12_10_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c23007b59eea46dc488dc156b8294375.jpg","text":"TemporaryFile(/tmp/multipartBody969070470417743788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850108021,"filename":"image_10122025_12_11_14_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287264","file1":"1401287263","file0":"1401287262","file4":"1401287267","file5":"1401287269","file3":"1401287265"},"map_files_photo_id_array":[{"photo_id":"1401287269","filename":"file5"},{"photo_id":"1401287264","filename":"file2"},{"photo_id":"1401287267","filename":"file4"},{"photo_id":"1401287263","filename":"file1"},{"photo_id":"1401287262","filename":"file0"},{"photo_id":"1401287265","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287265":["hashtag1","hashtag2"]},{"1401287262":["hashtag1","hashtag2"]},{"1401287264":["hashtag1","hashtag2"]},{"1401287267":["hashtag1","hashtag2"]},{"1401287269":["hashtag1","hashtag2"]},{"1401287263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287265, 1401287262, 1401287264, 1401287267, 1401287269, 1401287263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32404160499573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:41:32.283629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_14_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_10_04_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_55_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_45_10753.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_34_9731.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_25_10635.jpg', '/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_14_9716.jpg', '/home/nano/Desktop/images/10122025/12/09/image_10122025_12_10_04_9659.jpg', '/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_55_9750.jpg', '/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_45_10753.jpg', '/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_34_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_25_10635.jpg
/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_14_9716.jpg
/home/nano/Desktop/images/10122025/12/09/image_10122025_12_10_04_9659.jpg
/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_55_9750.jpg
/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_45_10753.jpg
/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_34_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401287283","1401287301","1401287297","1401287285","1401287300","1401287281"],"photo_ids_order":["1401287281","1401287283","1401287285","1401287297","1401287300","1401287301"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f302269593573a80fd5e1e963316a66.jpg","text":"TemporaryFile(/tmp/multipartBody8068740152021593837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850153158,"filename":"image_10122025_12_10_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/12/27/b0cfcfcb928c1fa1fcb4a5b1b8f951da.jpg","text":"TemporaryFile(/tmp/multipartBody7173705937598026613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850153158,"filename":"image_10122025_12_09_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0076b6d422afb3dd62050f28e673edc1.jpg","text":"TemporaryFile(/tmp/multipartBody3458212331144366220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850153158,"filename":"image_10122025_12_09_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0975ed70f6668fde8376d3c58f071bc7.jpg","text":"TemporaryFile(/tmp/multipartBody5949472833940636397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850153158,"filename":"image_10122025_12_10_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/12/27/24ffb6064b36369642a4f727b318d49d.jpg","text":"TemporaryFile(/tmp/multipartBody728768820461972490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850153158,"filename":"image_10122025_12_09_45_10753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/172a7a41e041d63ff6873d178b8be786.jpg","text":"TemporaryFile(/tmp/multipartBody2475194514040404682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850153158,"filename":"image_10122025_12_10_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287285","file1":"1401287283","file0":"1401287281","file4":"1401287300","file5":"1401287301","file3":"1401287297"},"map_files_photo_id_array":[{"photo_id":"1401287301","filename":"file5"},{"photo_id":"1401287285","filename":"file2"},{"photo_id":"1401287300","filename":"file4"},{"photo_id":"1401287283","filename":"file1"},{"photo_id":"1401287281","filename":"file0"},{"photo_id":"1401287297","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287283":["hashtag1","hashtag2"]},{"1401287301":["hashtag1","hashtag2"]},{"1401287297":["hashtag1","hashtag2"]},{"1401287285":["hashtag1","hashtag2"]},{"1401287300":["hashtag1","hashtag2"]},{"1401287281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287283, 1401287301, 1401287297, 1401287285, 1401287300, 1401287281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07871770858765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:42:17.399589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_24_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_15_9752.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_09_05_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_54_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_45_9851.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_35_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_24_9727.jpg', '/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_15_9752.jpg', '/home/nano/Desktop/images/10122025/12/08/image_10122025_12_09_05_10736.jpg', '/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_54_9763.jpg', '/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_45_9851.jpg', '/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_35_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_24_9727.jpg
/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_15_9752.jpg
/home/nano/Desktop/images/10122025/12/08/image_10122025_12_09_05_10736.jpg
/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_54_9763.jpg
/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_45_9851.jpg
/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_35_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":["1401287311","1401287314","1401287307","1401287327","1401287306","1401287309"],"photo_ids_order":["1401287306","1401287307","1401287309","1401287311","1401287314","1401287327"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93ccf268ea6037373838f4dcda334817.jpg","text":"TemporaryFile(/tmp/multipartBody4969975146889410242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850198266,"filename":"image_10122025_12_08_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f596e8d65aa02500d2826d3eeee5f5af.jpg","text":"TemporaryFile(/tmp/multipartBody6490089012403889780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850198266,"filename":"image_10122025_12_08_45_9851.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3646be0ee0958c452c3c8ca46829d69d.jpg","text":"TemporaryFile(/tmp/multipartBody547557066426886896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850198266,"filename":"image_10122025_12_09_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc8f4983640a361999c601875e06a136.jpg","text":"TemporaryFile(/tmp/multipartBody6155210444382322542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850198266,"filename":"image_10122025_12_08_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02bf0d9b0bfa88194714a0c80ae0e77f.jpg","text":"TemporaryFile(/tmp/multipartBody7180085142231718255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850198266,"filename":"image_10122025_12_09_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6078a7bd58c9aab98b4035b61abd4eb6.jpg","text":"TemporaryFile(/tmp/multipartBody3439257537744319615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850198266,"filename":"image_10122025_12_09_05_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287309","file1":"1401287307","file0":"1401287306","file4":"1401287314","file5":"1401287327","file3":"1401287311"},"map_files_photo_id_array":[{"photo_id":"1401287327","filename":"file5"},{"photo_id":"1401287309","filename":"file2"},{"photo_id":"1401287314","filename":"file4"},{"photo_id":"1401287307","filename":"file1"},{"photo_id":"1401287306","filename":"file0"},{"photo_id":"1401287311","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287311":["hashtag1","hashtag2"]},{"1401287314":["hashtag1","hashtag2"]},{"1401287307":["hashtag1","hashtag2"]},{"1401287327":["hashtag1","hashtag2"]},{"1401287306":["hashtag1","hashtag2"]},{"1401287309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287311, 1401287314, 1401287307, 1401287327, 1401287306, 1401287309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39234733581543 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:43:03.248900
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/16/43/image_27122025_16_43_14_9536.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/16/43/image_27122025_16_43_14_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/16/43/image_27122025_16_43_14_9536.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401287351"],"photo_id":"1401287351","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eed299f750042c89e82e92039eec70d0.jpg","text":"TemporaryFile(/tmp/multipartBody5625370240850604812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850243502,"filename":"image_27122025_16_43_14_9536.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401287351"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401287351"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.685491800308228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:43:17.494605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_25_10758.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_14_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_08_05_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_55_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_44_9793.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_34_9765.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_25_10758.jpg', '/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_14_9756.jpg', '/home/nano/Desktop/images/10122025/12/07/image_10122025_12_08_05_9739.jpg', '/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_55_10659.jpg', '/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_44_9793.jpg', '/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_34_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_25_10758.jpg
/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_14_9756.jpg
/home/nano/Desktop/images/10122025/12/07/image_10122025_12_08_05_9739.jpg
/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_55_10659.jpg
/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_44_9793.jpg
/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_34_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401287361","1401287355","1401287387","1401287363","1401287357","1401287359"],"photo_ids_order":["1401287355","1401287357","1401287359","1401287361","1401287363","1401287387"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c98ece669cb8ca8258ce9c69fd20699.jpg","text":"TemporaryFile(/tmp/multipartBody1110741060729541196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850258325,"filename":"image_10122025_12_07_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f4ff35ea447a0105ff20b46fdfb41bb.jpg","text":"TemporaryFile(/tmp/multipartBody272825669119141726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850258325,"filename":"image_10122025_12_08_25_10758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1a7d268ff1795d01ef91c9a73ec776b.jpg","text":"TemporaryFile(/tmp/multipartBody4072811265309027088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850258325,"filename":"image_10122025_12_07_34_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c8db1de25b4302bd6a83a6e36e21bf2.jpg","text":"TemporaryFile(/tmp/multipartBody5971305270065743333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850258325,"filename":"image_10122025_12_07_44_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d069481f8f1578e8e0b4527752801a7.jpg","text":"TemporaryFile(/tmp/multipartBody872037402974592120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850258325,"filename":"image_10122025_12_08_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/12/27/fb2dd72f4a84f35dd6dc238fba61c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7326206441960760673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850258325,"filename":"image_10122025_12_08_05_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287359","file1":"1401287357","file0":"1401287355","file4":"1401287363","file5":"1401287387","file3":"1401287361"},"map_files_photo_id_array":[{"photo_id":"1401287387","filename":"file5"},{"photo_id":"1401287359","filename":"file2"},{"photo_id":"1401287363","filename":"file4"},{"photo_id":"1401287357","filename":"file1"},{"photo_id":"1401287355","filename":"file0"},{"photo_id":"1401287361","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287361":["hashtag1","hashtag2"]},{"1401287355":["hashtag1","hashtag2"]},{"1401287387":["hashtag1","hashtag2"]},{"1401287363":["hashtag1","hashtag2"]},{"1401287357":["hashtag1","hashtag2"]},{"1401287359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287361, 1401287355, 1401287387, 1401287363, 1401287357, 1401287359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82878828048706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:44:03.261914
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_25_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_07_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_45_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_34_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_25_9780.jpg', '/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_15_10630.jpg', '/home/nano/Desktop/images/10122025/12/06/image_10122025_12_07_04_9633.jpg', '/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_55_9617.jpg', '/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_45_10639.jpg', '/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_34_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_25_9780.jpg
/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_15_10630.jpg
/home/nano/Desktop/images/10122025/12/06/image_10122025_12_07_04_9633.jpg
/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_55_9617.jpg
/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_45_10639.jpg
/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_34_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":["1401287562","1401287565","1401287538","1401287529","1401287591","1401287566"],"photo_ids_order":["1401287529","1401287538","1401287562","1401287565","1401287566","1401287591"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cde901664ee590a940b42b4e840e695f.jpg","text":"TemporaryFile(/tmp/multipartBody3222769024142666396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850304284,"filename":"image_10122025_12_07_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/12/27/0e508733bd7d000d4fe7968037490f94.jpg","text":"TemporaryFile(/tmp/multipartBody2515622864149258877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850304284,"filename":"image_10122025_12_06_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a26e8bbdb61737328600953b0dd9c462.jpg","text":"TemporaryFile(/tmp/multipartBody3757318367389679260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850304284,"filename":"image_10122025_12_07_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dea2b037be61fa255778baaac6f79b4.jpg","text":"TemporaryFile(/tmp/multipartBody7205627477150341602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850304284,"filename":"image_10122025_12_07_25_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9abdf118ae19b99948c10f4ef55a413.jpg","text":"TemporaryFile(/tmp/multipartBody6342933926178558645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850304284,"filename":"image_10122025_12_06_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/12/27/24ac4c35032a1748aaa630629df2b5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6104843767800391057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850304284,"filename":"image_10122025_12_06_45_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287562","file1":"1401287538","file0":"1401287529","file4":"1401287566","file5":"1401287591","file3":"1401287565"},"map_files_photo_id_array":[{"photo_id":"1401287591","filename":"file5"},{"photo_id":"1401287562","filename":"file2"},{"photo_id":"1401287566","filename":"file4"},{"photo_id":"1401287538","filename":"file1"},{"photo_id":"1401287529","filename":"file0"},{"photo_id":"1401287565","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287562":["hashtag1","hashtag2"]},{"1401287565":["hashtag1","hashtag2"]},{"1401287538":["hashtag1","hashtag2"]},{"1401287529":["hashtag1","hashtag2"]},{"1401287591":["hashtag1","hashtag2"]},{"1401287566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287562, 1401287565, 1401287538, 1401287529, 1401287591, 1401287566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97643446922302 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:44:47.608858
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_25_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_15_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_06_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_34_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_25_9657.jpg', '/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_15_10708.jpg', '/home/nano/Desktop/images/10122025/12/05/image_10122025_12_06_04_9636.jpg', '/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_55_9603.jpg', '/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_45_10613.jpg', '/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_34_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_25_9657.jpg
/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_15_10708.jpg
/home/nano/Desktop/images/10122025/12/05/image_10122025_12_06_04_9636.jpg
/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_55_9603.jpg
/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_45_10613.jpg
/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_34_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":["1401287676","1401287700","1401287702","1401287698","1401287677","1401287653"],"photo_ids_order":["1401287653","1401287676","1401287677","1401287698","1401287700","1401287702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfac1d2856f5c8d521eff75bd2262e53.jpg","text":"TemporaryFile(/tmp/multipartBody2632039947337236852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850348418,"filename":"image_10122025_12_06_15_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1f56f9e8f162af698d4b8d25a6cde48.jpg","text":"TemporaryFile(/tmp/multipartBody694729545211055498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850348418,"filename":"image_10122025_12_05_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/63e9d1997b411eae1f6ece62b73df275.jpg","text":"TemporaryFile(/tmp/multipartBody658773480270736220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850348418,"filename":"image_10122025_12_05_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/12/27/edbc63b18983bdfc5b58b1934fb6b1f4.jpg","text":"TemporaryFile(/tmp/multipartBody1072900995359506594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850348418,"filename":"image_10122025_12_05_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44a0d7868ad80d3678be3f06cee43b98.jpg","text":"TemporaryFile(/tmp/multipartBody513635642274588978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850348418,"filename":"image_10122025_12_06_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/12/27/c5d658c3459562943438a0a3b17fd0aa.jpg","text":"TemporaryFile(/tmp/multipartBody8336120532585472921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850348418,"filename":"image_10122025_12_06_25_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287677","file1":"1401287676","file0":"1401287653","file4":"1401287700","file5":"1401287702","file3":"1401287698"},"map_files_photo_id_array":[{"photo_id":"1401287702","filename":"file5"},{"photo_id":"1401287677","filename":"file2"},{"photo_id":"1401287700","filename":"file4"},{"photo_id":"1401287676","filename":"file1"},{"photo_id":"1401287653","filename":"file0"},{"photo_id":"1401287698","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287676":["hashtag1","hashtag2"]},{"1401287700":["hashtag1","hashtag2"]},{"1401287702":["hashtag1","hashtag2"]},{"1401287698":["hashtag1","hashtag2"]},{"1401287677":["hashtag1","hashtag2"]},{"1401287653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287676, 1401287700, 1401287702, 1401287698, 1401287677, 1401287653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85569739341736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:45:32.733076
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_05_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_35_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_25_10601.jpg', '/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_14_9614.jpg', '/home/nano/Desktop/images/10122025/12/04/image_10122025_12_05_05_9612.jpg', '/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_55_10615.jpg', '/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_44_9598.jpg', '/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_35_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_25_10601.jpg
/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_14_9614.jpg
/home/nano/Desktop/images/10122025/12/04/image_10122025_12_05_05_9612.jpg
/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_55_10615.jpg
/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_44_9598.jpg
/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_35_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":["1401287745","1401287780","1401287714","1401287708","1401287711","1401287710"],"photo_ids_order":["1401287708","1401287710","1401287711","1401287714","1401287745","1401287780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5241c45f3b94b18171f7e8dd35a5c08.jpg","text":"TemporaryFile(/tmp/multipartBody2415772823605386836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850393537,"filename":"image_10122025_12_04_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/12/27/a8891c8df6b87ece0d2c132d9984d110.jpg","text":"TemporaryFile(/tmp/multipartBody2438681060774843587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850393537,"filename":"image_10122025_12_04_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b638e7321d2fff5137bdb56cfd550e47.jpg","text":"TemporaryFile(/tmp/multipartBody7395305420168897502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850393537,"filename":"image_10122025_12_04_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22aae3fc575161610e0f7d02bd71385f.jpg","text":"TemporaryFile(/tmp/multipartBody9049328657216989279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850393537,"filename":"image_10122025_12_05_25_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fd109e7e51a4f0727280cc50d140cd6.jpg","text":"TemporaryFile(/tmp/multipartBody180991396995412282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850393537,"filename":"image_10122025_12_05_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1083e19269cd8602625977051f262cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5040423862467065963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850393537,"filename":"image_10122025_12_05_14_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287711","file1":"1401287710","file0":"1401287708","file4":"1401287745","file5":"1401287780","file3":"1401287714"},"map_files_photo_id_array":[{"photo_id":"1401287780","filename":"file5"},{"photo_id":"1401287711","filename":"file2"},{"photo_id":"1401287745","filename":"file4"},{"photo_id":"1401287710","filename":"file1"},{"photo_id":"1401287708","filename":"file0"},{"photo_id":"1401287714","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287745":["hashtag1","hashtag2"]},{"1401287780":["hashtag1","hashtag2"]},{"1401287714":["hashtag1","hashtag2"]},{"1401287708":["hashtag1","hashtag2"]},{"1401287711":["hashtag1","hashtag2"]},{"1401287710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287745, 1401287780, 1401287714, 1401287708, 1401287711, 1401287710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53979730606079 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:46:16.909995
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_04_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_35_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_24_9615.jpg', '/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_15_9609.jpg', '/home/nano/Desktop/images/10122025/12/03/image_10122025_12_04_05_10618.jpg', '/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_54_9606.jpg', '/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_45_9613.jpg', '/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_35_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_24_9615.jpg
/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_15_9609.jpg
/home/nano/Desktop/images/10122025/12/03/image_10122025_12_04_05_10618.jpg
/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_54_9606.jpg
/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_45_9613.jpg
/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_35_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":["1401287859","1401287853","1401287861","1401287855","1401287854","1401287857"],"photo_ids_order":["1401287853","1401287854","1401287855","1401287857","1401287859","1401287861"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51b0df509c814659bbbf1111c0ff76ff.jpg","text":"TemporaryFile(/tmp/multipartBody3104975079320669958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850437790,"filename":"image_10122025_12_03_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81e65cf131a8ac23e42196765d571dac.jpg","text":"TemporaryFile(/tmp/multipartBody146894768402735156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850437790,"filename":"image_10122025_12_04_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/12/27/a051ac7eab88b7e0fc48f895c0d3ec08.jpg","text":"TemporaryFile(/tmp/multipartBody1483320211847280255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850437790,"filename":"image_10122025_12_03_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b8e8f7e3a36c25d2d4ef523125a4ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1852342229138999598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850437790,"filename":"image_10122025_12_04_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96452bfe9cf10354dcaa0afe922730d3.jpg","text":"TemporaryFile(/tmp/multipartBody5833701068811088389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850437790,"filename":"image_10122025_12_04_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b61bb48231889c7df4ddbbcab13ea6e8.jpg","text":"TemporaryFile(/tmp/multipartBody5587601742679978949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850437790,"filename":"image_10122025_12_03_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287855","file1":"1401287854","file0":"1401287853","file4":"1401287859","file5":"1401287861","file3":"1401287857"},"map_files_photo_id_array":[{"photo_id":"1401287861","filename":"file5"},{"photo_id":"1401287855","filename":"file2"},{"photo_id":"1401287859","filename":"file4"},{"photo_id":"1401287854","filename":"file1"},{"photo_id":"1401287853","filename":"file0"},{"photo_id":"1401287857","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287859":["hashtag1","hashtag2"]},{"1401287853":["hashtag1","hashtag2"]},{"1401287861":["hashtag1","hashtag2"]},{"1401287855":["hashtag1","hashtag2"]},{"1401287854":["hashtag1","hashtag2"]},{"1401287857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287859, 1401287853, 1401287861, 1401287855, 1401287854, 1401287857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24633836746216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:47:02.516216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_24_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_03_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_55_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_34_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_24_9629.jpg', '/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_15_10628.jpg', '/home/nano/Desktop/images/10122025/12/02/image_10122025_12_03_04_9625.jpg', '/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_55_9601.jpg', '/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_45_10633.jpg', '/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_34_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_24_9629.jpg
/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_15_10628.jpg
/home/nano/Desktop/images/10122025/12/02/image_10122025_12_03_04_9625.jpg
/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_55_9601.jpg
/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_45_10633.jpg
/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_34_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":["1401287877","1401287871","1401287880","1401287874","1401287875","1401287878"],"photo_ids_order":["1401287871","1401287874","1401287875","1401287877","1401287878","1401287880"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e64880b7b9276d427e157ad2348dd3b3.jpg","text":"TemporaryFile(/tmp/multipartBody632763761135600695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850483354,"filename":"image_10122025_12_02_55_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e2f3be98558e95d9baff1ad85f609a5.jpg","text":"TemporaryFile(/tmp/multipartBody336248518564090722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850483354,"filename":"image_10122025_12_03_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/12/27/039219e593b7fce4f02d4fbf6248f46d.jpg","text":"TemporaryFile(/tmp/multipartBody8381745532646555364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850483354,"filename":"image_10122025_12_02_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/12/27/068a0473ed75d458f51114c7c96a5916.jpg","text":"TemporaryFile(/tmp/multipartBody1969247977302555201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850483354,"filename":"image_10122025_12_03_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd6292e08cb28930a8b4a23c35a5f2fa.jpg","text":"TemporaryFile(/tmp/multipartBody4396570017294417730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850483354,"filename":"image_10122025_12_03_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/12/27/de6bbe0876251f5933c8eae07f0227ac.jpg","text":"TemporaryFile(/tmp/multipartBody6520380170894298696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850483354,"filename":"image_10122025_12_02_45_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287875","file1":"1401287874","file0":"1401287871","file4":"1401287878","file5":"1401287880","file3":"1401287877"},"map_files_photo_id_array":[{"photo_id":"1401287880","filename":"file5"},{"photo_id":"1401287875","filename":"file2"},{"photo_id":"1401287878","filename":"file4"},{"photo_id":"1401287874","filename":"file1"},{"photo_id":"1401287871","filename":"file0"},{"photo_id":"1401287877","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287877":["hashtag1","hashtag2"]},{"1401287871":["hashtag1","hashtag2"]},{"1401287880":["hashtag1","hashtag2"]},{"1401287874":["hashtag1","hashtag2"]},{"1401287875":["hashtag1","hashtag2"]},{"1401287878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287877, 1401287871, 1401287880, 1401287874, 1401287875, 1401287878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.216970920562744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:47:46.993044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_02_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_12_00_05_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_25_10615.jpg', '/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_14_9630.jpg', '/home/nano/Desktop/images/10122025/12/01/image_10122025_12_02_04_9598.jpg', '/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_55_10618.jpg', '/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_44_9626.jpg', '/home/nano/Desktop/images/10122025/11/59/image_10122025_12_00_05_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_25_10615.jpg
/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_14_9630.jpg
/home/nano/Desktop/images/10122025/12/01/image_10122025_12_02_04_9598.jpg
/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_55_10618.jpg
/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_44_9626.jpg
/home/nano/Desktop/images/10122025/11/59/image_10122025_12_00_05_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":["1401287898","1401287902","1401287904","1401287900","1401287899","1401287896"],"photo_ids_order":["1401287896","1401287898","1401287899","1401287900","1401287902","1401287904"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c2b00d894cfbbd17807bd40ae699fbc.jpg","text":"TemporaryFile(/tmp/multipartBody5967268245147862798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850527802,"filename":"image_10122025_12_02_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/12/27/899e157172bd5285483a2800c341204b.jpg","text":"TemporaryFile(/tmp/multipartBody8455686980301029330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850527802,"filename":"image_10122025_12_01_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/12/27/d4b3f4a040dd6f8e880e4904fa58815d.jpg","text":"TemporaryFile(/tmp/multipartBody1655336195711699149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850527802,"filename":"image_10122025_12_00_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e57747c560e7f856f048c14de0dbd90.jpg","text":"TemporaryFile(/tmp/multipartBody2816240392783963577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850527802,"filename":"image_10122025_12_01_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/423de036d00facf22710dd3d95c56f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2775338536696236964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850527802,"filename":"image_10122025_12_02_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c62df0468acb351cbaf5dcc84fbbec6f.jpg","text":"TemporaryFile(/tmp/multipartBody4876187576545492363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850527802,"filename":"image_10122025_12_02_25_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287899","file1":"1401287898","file0":"1401287896","file4":"1401287902","file5":"1401287904","file3":"1401287900"},"map_files_photo_id_array":[{"photo_id":"1401287904","filename":"file5"},{"photo_id":"1401287899","filename":"file2"},{"photo_id":"1401287902","filename":"file4"},{"photo_id":"1401287898","filename":"file1"},{"photo_id":"1401287896","filename":"file0"},{"photo_id":"1401287900","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287898":["hashtag1","hashtag2"]},{"1401287902":["hashtag1","hashtag2"]},{"1401287904":["hashtag1","hashtag2"]},{"1401287900":["hashtag1","hashtag2"]},{"1401287899":["hashtag1","hashtag2"]},{"1401287896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287898, 1401287902, 1401287904, 1401287900, 1401287899, 1401287896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.719916105270386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:48:32.097311
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_59_04_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_54_9605.jpg', '/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', '/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', '/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', '/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_15_10623.jpg', '/home/nano/Desktop/images/10122025/11/58/image_10122025_11_59_04_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_54_9605.jpg
/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg
/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg
/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg
/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_15_10623.jpg
/home/nano/Desktop/images/10122025/11/58/image_10122025_11_59_04_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":["1401287973","1401287937","1401287922","1401287919","1401287981","1401287917"],"photo_ids_order":["1401287917","1401287919","1401287922","1401287937","1401287973","1401287981"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1eb094df58abb2a137f39038ab3f21da.jpg","text":"TemporaryFile(/tmp/multipartBody1037212462132400315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850572910,"filename":"image_10122025_11_59_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0507649c70ac809530741424eee89058.jpg","text":"TemporaryFile(/tmp/multipartBody1722365084465311008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850572910,"filename":"image_10122025_11_59_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/12/27/12ea10b3bb2aca9f02b9712339819055.jpg","text":"TemporaryFile(/tmp/multipartBody1730278025684595333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850572910,"filename":"image_10122025_11_59_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f3c04231cd8ed9675cbc92b6842ef79.jpg","text":"TemporaryFile(/tmp/multipartBody6170632398593823049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850572910,"filename":"image_10122025_11_59_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42854528ec8e1752ec03e28406ae4b75.jpg","text":"TemporaryFile(/tmp/multipartBody2001442872028967850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850572910,"filename":"image_10122025_11_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/12/27/99df5ebd3e49be38e139733902b06ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8328395098340658537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850572910,"filename":"image_10122025_11_59_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401287922","file1":"1401287919","file0":"1401287917","file4":"1401287973","file5":"1401287981","file3":"1401287937"},"map_files_photo_id_array":[{"photo_id":"1401287981","filename":"file5"},{"photo_id":"1401287922","filename":"file2"},{"photo_id":"1401287973","filename":"file4"},{"photo_id":"1401287919","filename":"file1"},{"photo_id":"1401287917","filename":"file0"},{"photo_id":"1401287937","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401287973":["hashtag1","hashtag2"]},{"1401287937":["hashtag1","hashtag2"]},{"1401287922":["hashtag1","hashtag2"]},{"1401287919":["hashtag1","hashtag2"]},{"1401287981":["hashtag1","hashtag2"]},{"1401287917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401287973, 1401287937, 1401287922, 1401287919, 1401287981, 1401287917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61853528022766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:49:17.215107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_34_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_58_05_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_55_9615.jpg', '/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_45_10619.jpg', '/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_34_9625.jpg', '/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_25_10614.jpg', '/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_14_9623.jpg', '/home/nano/Desktop/images/10122025/11/57/image_10122025_11_58_05_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_55_9615.jpg
/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_45_10619.jpg
/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_34_9625.jpg
/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_25_10614.jpg
/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_14_9623.jpg
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_58_05_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":["1401288144","1401288068","1401288179","1401288230","1401288107","1401288037"],"photo_ids_order":["1401288037","1401288068","1401288107","1401288144","1401288179","1401288230"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84378917a758c62ffb706e0d047b93b9.jpg","text":"TemporaryFile(/tmp/multipartBody4172501141388760929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850617993,"filename":"image_10122025_11_58_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6359322352d3967c60507b1f22b79c6f.jpg","text":"TemporaryFile(/tmp/multipartBody2999995351578383794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850617993,"filename":"image_10122025_11_58_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12d365d7d1244e35f53fb136fb509fed.jpg","text":"TemporaryFile(/tmp/multipartBody1834480915360171137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850617993,"filename":"image_10122025_11_58_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/12/27/adc089962901da77de50554c6ba2d071.jpg","text":"TemporaryFile(/tmp/multipartBody6442768949390235215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850617993,"filename":"image_10122025_11_58_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f79784b578b3f71802de3ab36939ac46.jpg","text":"TemporaryFile(/tmp/multipartBody6863468727857904309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850617993,"filename":"image_10122025_11_58_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/12/27/60c57113f352ceefae95dc876adc0a52.jpg","text":"TemporaryFile(/tmp/multipartBody7304253691472934308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850617993,"filename":"image_10122025_11_58_55_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288107","file1":"1401288068","file0":"1401288037","file4":"1401288179","file5":"1401288230","file3":"1401288144"},"map_files_photo_id_array":[{"photo_id":"1401288230","filename":"file5"},{"photo_id":"1401288107","filename":"file2"},{"photo_id":"1401288179","filename":"file4"},{"photo_id":"1401288068","filename":"file1"},{"photo_id":"1401288037","filename":"file0"},{"photo_id":"1401288144","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288144":["hashtag1","hashtag2"]},{"1401288068":["hashtag1","hashtag2"]},{"1401288179":["hashtag1","hashtag2"]},{"1401288230":["hashtag1","hashtag2"]},{"1401288107":["hashtag1","hashtag2"]},{"1401288037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288144, 1401288068, 1401288179, 1401288230, 1401288107, 1401288037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.546560764312744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:50:02.900529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_55_10615.jpg', '/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg', '/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg', '/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_55_10615.jpg
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7460970878601074 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:50:17.360220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_55_10615.jpg', '/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg', '/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg', '/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_55_10615.jpg
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg
/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_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":["1401288363","1401288365","1401288353","1401288361","1401288358","1401288355"],"photo_ids_order":["1401288353","1401288355","1401288358","1401288361","1401288363","1401288365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f702a29691f78243ccf5c9c8c1f0b0a5.jpg","text":"TemporaryFile(/tmp/multipartBody4783227817799884426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850678153,"filename":"image_10122025_11_57_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b925f4f81684932f74c10e0c44b088d0.jpg","text":"TemporaryFile(/tmp/multipartBody2970079023627045068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850678153,"filename":"image_10122025_11_56_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7386b3bfc164a9b4b94c57f7b1c57971.jpg","text":"TemporaryFile(/tmp/multipartBody3392019373852343361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850678153,"filename":"image_10122025_11_57_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52be495e440c9aae52c4e6da37bdbaf9.jpg","text":"TemporaryFile(/tmp/multipartBody4654515732834236009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850678153,"filename":"image_10122025_11_57_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/12/27/c4dc5ad4e1436782fb12748902f29eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7275333835053152739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850678153,"filename":"image_10122025_11_57_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abfdf4c6418c89a33940c205e66395f2.jpg","text":"TemporaryFile(/tmp/multipartBody1321395081530219979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850678153,"filename":"image_10122025_11_57_35_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288358","file1":"1401288355","file0":"1401288353","file4":"1401288363","file5":"1401288365","file3":"1401288361"},"map_files_photo_id_array":[{"photo_id":"1401288365","filename":"file5"},{"photo_id":"1401288358","filename":"file2"},{"photo_id":"1401288363","filename":"file4"},{"photo_id":"1401288355","filename":"file1"},{"photo_id":"1401288353","filename":"file0"},{"photo_id":"1401288361","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288363":["hashtag1","hashtag2"]},{"1401288365":["hashtag1","hashtag2"]},{"1401288353":["hashtag1","hashtag2"]},{"1401288361":["hashtag1","hashtag2"]},{"1401288358":["hashtag1","hashtag2"]},{"1401288355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288363, 1401288365, 1401288353, 1401288361, 1401288358, 1401288355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23193669319153 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:51:03.308595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_10690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg', '/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg', '/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_10690.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7899494171142578 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:51:17.438598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_10690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg', '/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg', '/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg', '/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg
/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_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":["1401288384","1401288392","1401288386","1401288389","1401288394","1401288381"],"photo_ids_order":["1401288381","1401288384","1401288386","1401288389","1401288392","1401288394"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e7357df4685cae21b869a62fcc28f27.jpg","text":"TemporaryFile(/tmp/multipartBody5567402132022477200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850738248,"filename":"image_10122025_11_56_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2e019e6821048060175d1fc2cd62eec.jpg","text":"TemporaryFile(/tmp/multipartBody6253812177844975785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850738248,"filename":"image_10122025_11_56_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72afd5b4c7d2ffd45419e42e7dfcea40.jpg","text":"TemporaryFile(/tmp/multipartBody3237937800929899185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850738248,"filename":"image_10122025_11_56_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb8b8a9d01796a5be83cff295f95707b.jpg","text":"TemporaryFile(/tmp/multipartBody7609914758489330554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850738248,"filename":"image_10122025_11_56_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/12/27/d72f2adac06375c047a07906646c3a72.jpg","text":"TemporaryFile(/tmp/multipartBody5005226878532954957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850738248,"filename":"image_10122025_11_55_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e79f3c7f4a1c48483626dd9362a0393f.jpg","text":"TemporaryFile(/tmp/multipartBody3066582648064098043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850738248,"filename":"image_10122025_11_56_44_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288386","file1":"1401288384","file0":"1401288381","file4":"1401288392","file5":"1401288394","file3":"1401288389"},"map_files_photo_id_array":[{"photo_id":"1401288394","filename":"file5"},{"photo_id":"1401288386","filename":"file2"},{"photo_id":"1401288392","filename":"file4"},{"photo_id":"1401288384","filename":"file1"},{"photo_id":"1401288381","filename":"file0"},{"photo_id":"1401288389","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288384":["hashtag1","hashtag2"]},{"1401288392":["hashtag1","hashtag2"]},{"1401288386":["hashtag1","hashtag2"]},{"1401288389":["hashtag1","hashtag2"]},{"1401288394":["hashtag1","hashtag2"]},{"1401288381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288384, 1401288392, 1401288386, 1401288389, 1401288394, 1401288381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94456648826599 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:52:03.141514
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/16/52/image_27122025_16_52_24_10539.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/16/52/image_27122025_16_52_24_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/16/52/image_27122025_16_52_24_10539.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401288410"],"photo_id":"1401288410","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c4d1917b42728244e0ec885a7099bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6305853381949003832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850783402,"filename":"image_27122025_16_52_24_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401288410"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401288410"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.56684398651123 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:52:17.547871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_44_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_35_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_55_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_55_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_44_9688.jpg', '/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_35_9724.jpg', '/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_25_10613.jpg', '/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_14_9622.jpg', '/home/nano/Desktop/images/10122025/11/54/image_10122025_11_55_05_9613.jpg', '/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_55_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_44_9688.jpg
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_35_9724.jpg
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_25_10613.jpg
/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_14_9622.jpg
/home/nano/Desktop/images/10122025/11/54/image_10122025_11_55_05_9613.jpg
/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_55_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":["1401288411","1401288488","1401288428","1401288490","1401288466","1401288492"],"photo_ids_order":["1401288411","1401288428","1401288466","1401288488","1401288490","1401288492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ca6b628118c48623b4d2757221ebb76.jpg","text":"TemporaryFile(/tmp/multipartBody6645201195873694534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850798375,"filename":"image_10122025_11_55_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8b58532fc0ea109fcb7de4d7c4df71f.jpg","text":"TemporaryFile(/tmp/multipartBody727591118487697989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850798375,"filename":"image_10122025_11_55_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/12/27/8badd03a444059e521652032f41f81c4.jpg","text":"TemporaryFile(/tmp/multipartBody684735917227206250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850798375,"filename":"image_10122025_11_55_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26c752a92e9dfc2617bde5b27af24e05.jpg","text":"TemporaryFile(/tmp/multipartBody7585593774128845974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850798375,"filename":"image_10122025_11_55_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8592c2bf6a1d0b019f957f5acba14ad.jpg","text":"TemporaryFile(/tmp/multipartBody1910594053291759198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850798375,"filename":"image_10122025_11_55_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84674c16c5ba14f4929b52e7d5d5be92.jpg","text":"TemporaryFile(/tmp/multipartBody6490345672148775496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850798375,"filename":"image_10122025_11_54_55_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288466","file1":"1401288428","file0":"1401288411","file4":"1401288490","file5":"1401288492","file3":"1401288488"},"map_files_photo_id_array":[{"photo_id":"1401288492","filename":"file5"},{"photo_id":"1401288466","filename":"file2"},{"photo_id":"1401288490","filename":"file4"},{"photo_id":"1401288428","filename":"file1"},{"photo_id":"1401288411","filename":"file0"},{"photo_id":"1401288488","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288411":["hashtag1","hashtag2"]},{"1401288488":["hashtag1","hashtag2"]},{"1401288428":["hashtag1","hashtag2"]},{"1401288490":["hashtag1","hashtag2"]},{"1401288466":["hashtag1","hashtag2"]},{"1401288492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288411, 1401288488, 1401288428, 1401288490, 1401288466, 1401288492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37032198905945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:53:03.519959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_54_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_44_9611.jpg', '/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_35_10610.jpg', '/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_24_9602.jpg', '/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_15_9618.jpg', '/home/nano/Desktop/images/10122025/11/53/image_10122025_11_54_05_10614.jpg', '/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_44_9611.jpg
/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_35_10610.jpg
/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_24_9602.jpg
/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_15_9618.jpg
/home/nano/Desktop/images/10122025/11/53/image_10122025_11_54_05_10614.jpg
/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_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":["1401288497","1401288500","1401288503","1401288496","1401288499","1401288498"],"photo_ids_order":["1401288496","1401288497","1401288498","1401288499","1401288500","1401288503"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afb383b806efb7cf08f9c31f63d9c19a.jpg","text":"TemporaryFile(/tmp/multipartBody313182860008108819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850844378,"filename":"image_10122025_11_54_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3f82e97305ce1c31610409b52da124f.jpg","text":"TemporaryFile(/tmp/multipartBody143388927667723477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850844378,"filename":"image_10122025_11_54_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87f2ee6aebd09e1a203a78b82243435b.jpg","text":"TemporaryFile(/tmp/multipartBody5196806713514871657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850844378,"filename":"image_10122025_11_53_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/12/27/504c46578477e0e49c0392b902473e47.jpg","text":"TemporaryFile(/tmp/multipartBody6960430702831647397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850844378,"filename":"image_10122025_11_54_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/12/27/a841a886a8121268d511f5a531fff772.jpg","text":"TemporaryFile(/tmp/multipartBody3319449303050818526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850844378,"filename":"image_10122025_11_54_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93468ed5d8436dc7f2fdb7ad35cd78d2.jpg","text":"TemporaryFile(/tmp/multipartBody2869785343810151711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850844378,"filename":"image_10122025_11_54_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288498","file1":"1401288497","file0":"1401288496","file4":"1401288500","file5":"1401288503","file3":"1401288499"},"map_files_photo_id_array":[{"photo_id":"1401288503","filename":"file5"},{"photo_id":"1401288498","filename":"file2"},{"photo_id":"1401288500","filename":"file4"},{"photo_id":"1401288497","filename":"file1"},{"photo_id":"1401288496","filename":"file0"},{"photo_id":"1401288499","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288497":["hashtag1","hashtag2"]},{"1401288500":["hashtag1","hashtag2"]},{"1401288503":["hashtag1","hashtag2"]},{"1401288496":["hashtag1","hashtag2"]},{"1401288499":["hashtag1","hashtag2"]},{"1401288498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288497, 1401288500, 1401288503, 1401288496, 1401288499, 1401288498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.708279609680176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:53:47.682785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_53_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_55_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_45_10615.jpg', '/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_34_9610.jpg', '/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_25_9615.jpg', '/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_15_10630.jpg', '/home/nano/Desktop/images/10122025/11/52/image_10122025_11_53_04_9608.jpg', '/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_45_10615.jpg
/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_34_9610.jpg
/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_25_9615.jpg
/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_15_10630.jpg
/home/nano/Desktop/images/10122025/11/52/image_10122025_11_53_04_9608.jpg
/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_55_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":["1401288525","1401288527","1401288515","1401288524","1401288523","1401288526"],"photo_ids_order":["1401288515","1401288523","1401288524","1401288525","1401288526","1401288527"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1678d5bdd7f129ad2599d01ec63edb7b.jpg","text":"TemporaryFile(/tmp/multipartBody1373695358081263626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850888499,"filename":"image_10122025_11_53_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/525383efd80fca9aa62053cd2148d4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6174621984037730548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850888499,"filename":"image_10122025_11_52_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d2f47b62e87427c5c1d300aa49a2a66.jpg","text":"TemporaryFile(/tmp/multipartBody4743079833799005461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850888499,"filename":"image_10122025_11_53_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8416e44aceb30bda879bba9e98a1a77d.jpg","text":"TemporaryFile(/tmp/multipartBody6266749112982839574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850888499,"filename":"image_10122025_11_53_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd0ad14fb11131c283f008b8d951bd82.jpg","text":"TemporaryFile(/tmp/multipartBody5775649810135798273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850888499,"filename":"image_10122025_11_53_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/12/27/878a4210fcc482d8fd6b9847e004f8c7.jpg","text":"TemporaryFile(/tmp/multipartBody5618773313279439146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850888499,"filename":"image_10122025_11_53_04_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288524","file1":"1401288523","file0":"1401288515","file4":"1401288526","file5":"1401288527","file3":"1401288525"},"map_files_photo_id_array":[{"photo_id":"1401288527","filename":"file5"},{"photo_id":"1401288524","filename":"file2"},{"photo_id":"1401288526","filename":"file4"},{"photo_id":"1401288523","filename":"file1"},{"photo_id":"1401288515","filename":"file0"},{"photo_id":"1401288525","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288525":["hashtag1","hashtag2"]},{"1401288527":["hashtag1","hashtag2"]},{"1401288515":["hashtag1","hashtag2"]},{"1401288524":["hashtag1","hashtag2"]},{"1401288523":["hashtag1","hashtag2"]},{"1401288526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288525, 1401288527, 1401288515, 1401288524, 1401288523, 1401288526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.795998096466064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:54:31.787954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_52_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_55_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_44_9610.jpg', '/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_34_9612.jpg', '/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_25_10620.jpg', '/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_14_9625.jpg', '/home/nano/Desktop/images/10122025/11/51/image_10122025_11_52_05_9609.jpg', '/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_55_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_44_9610.jpg
/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_34_9612.jpg
/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_25_10620.jpg
/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_14_9625.jpg
/home/nano/Desktop/images/10122025/11/51/image_10122025_11_52_05_9609.jpg
/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_55_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":["1401288540","1401288534","1401288543","1401288537","1401288542","1401288535"],"photo_ids_order":["1401288534","1401288535","1401288537","1401288540","1401288542","1401288543"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d781faf2b793f3133708eaefdce7ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6211462079650252207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850932612,"filename":"image_10122025_11_52_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/12/27/4a0f4220d047c0b6223130c70a7e5f53.jpg","text":"TemporaryFile(/tmp/multipartBody8126432554058065991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850932612,"filename":"image_10122025_11_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/12/27/5cc355cd9f3877740e6d9e9fd0cb9e6a.jpg","text":"TemporaryFile(/tmp/multipartBody7213153330619614577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850932612,"filename":"image_10122025_11_51_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee089b665515c3a82e03960d4ed74abc.jpg","text":"TemporaryFile(/tmp/multipartBody2537343435451742064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850932612,"filename":"image_10122025_11_52_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f46c4d2d3ac8385d8e1eba4b6dba6c1.jpg","text":"TemporaryFile(/tmp/multipartBody6615432113636851211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850932612,"filename":"image_10122025_11_52_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed83171747ac652f7504fea099c9e111.jpg","text":"TemporaryFile(/tmp/multipartBody3365537873263128030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850932612,"filename":"image_10122025_11_52_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288537","file1":"1401288535","file0":"1401288534","file4":"1401288542","file5":"1401288543","file3":"1401288540"},"map_files_photo_id_array":[{"photo_id":"1401288543","filename":"file5"},{"photo_id":"1401288537","filename":"file2"},{"photo_id":"1401288542","filename":"file4"},{"photo_id":"1401288535","filename":"file1"},{"photo_id":"1401288534","filename":"file0"},{"photo_id":"1401288540","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288540":["hashtag1","hashtag2"]},{"1401288534":["hashtag1","hashtag2"]},{"1401288543":["hashtag1","hashtag2"]},{"1401288537":["hashtag1","hashtag2"]},{"1401288542":["hashtag1","hashtag2"]},{"1401288535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288540, 1401288534, 1401288543, 1401288537, 1401288542, 1401288535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.201012134552 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:55:16.898986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_35_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_25_10681.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_51_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_44_9631.jpg', '/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_35_9662.jpg', '/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_25_10681.jpg', '/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_14_9608.jpg', '/home/nano/Desktop/images/10122025/11/50/image_10122025_11_51_05_10652.jpg', '/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_44_9631.jpg
/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_35_9662.jpg
/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_25_10681.jpg
/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_14_9608.jpg
/home/nano/Desktop/images/10122025/11/50/image_10122025_11_51_05_10652.jpg
/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_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":["1401288555","1401288551","1401288545","1401288548","1401288544","1401288553"],"photo_ids_order":["1401288544","1401288545","1401288548","1401288551","1401288553","1401288555"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2aa5c7a3510b3c92d74d784a59a3c904.jpg","text":"TemporaryFile(/tmp/multipartBody6465149609299329900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850977718,"filename":"image_10122025_11_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/12/27/cc6e7817ace1e6b757efee68fb310e68.jpg","text":"TemporaryFile(/tmp/multipartBody3190677641972363384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850977718,"filename":"image_10122025_11_51_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f939df2c64a54e6ada29524985c04c7.jpg","text":"TemporaryFile(/tmp/multipartBody4972093593309066687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850977718,"filename":"image_10122025_11_51_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/667fe92082e4cf9a0d8d04ab06b5bbdf.jpg","text":"TemporaryFile(/tmp/multipartBody1650483169570128818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850977718,"filename":"image_10122025_11_51_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62023efb29fdfeaab72edf5ba8a8b46e.jpg","text":"TemporaryFile(/tmp/multipartBody7240034928631693216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850977718,"filename":"image_10122025_11_51_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/12/27/4c76727a27b37638a3263dea96ef7c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4877173817834487160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766850977718,"filename":"image_10122025_11_51_05_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288548","file1":"1401288545","file0":"1401288544","file4":"1401288553","file5":"1401288555","file3":"1401288551"},"map_files_photo_id_array":[{"photo_id":"1401288555","filename":"file5"},{"photo_id":"1401288548","filename":"file2"},{"photo_id":"1401288553","filename":"file4"},{"photo_id":"1401288545","filename":"file1"},{"photo_id":"1401288544","filename":"file0"},{"photo_id":"1401288551","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288555":["hashtag1","hashtag2"]},{"1401288551":["hashtag1","hashtag2"]},{"1401288545":["hashtag1","hashtag2"]},{"1401288548":["hashtag1","hashtag2"]},{"1401288544":["hashtag1","hashtag2"]},{"1401288553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288555, 1401288551, 1401288545, 1401288548, 1401288544, 1401288553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80991983413696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:56:02.409267
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_45_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_15_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_50_05_10694.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_54_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_45_9661.jpg', '/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_35_10634.jpg', '/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_24_9639.jpg', '/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_15_9667.jpg', '/home/nano/Desktop/images/10122025/11/49/image_10122025_11_50_05_10694.jpg', '/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_45_9661.jpg
/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_35_10634.jpg
/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_24_9639.jpg
/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_15_9667.jpg
/home/nano/Desktop/images/10122025/11/49/image_10122025_11_50_05_10694.jpg
/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_54_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":["1401288561","1401288563","1401288566","1401288560","1401288562","1401288564"],"photo_ids_order":["1401288560","1401288561","1401288562","1401288563","1401288564","1401288566"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5345287943208d864e573c110619c798.jpg","text":"TemporaryFile(/tmp/multipartBody752866161139577163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851023271,"filename":"image_10122025_11_50_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cde99e476b12d5e01b2b24c97cd63c8.jpg","text":"TemporaryFile(/tmp/multipartBody3443119634246297406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851023271,"filename":"image_10122025_11_50_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82f34dcb546eff9e00a3a31c2e67d23f.jpg","text":"TemporaryFile(/tmp/multipartBody1737971775063500506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851023271,"filename":"image_10122025_11_49_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/12/27/a64e4154d500e12a73cfdbb386485997.jpg","text":"TemporaryFile(/tmp/multipartBody7141599720662541975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851023271,"filename":"image_10122025_11_50_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05cef5673e13ddccb7846bc60046be9a.jpg","text":"TemporaryFile(/tmp/multipartBody8246578445646523008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851023271,"filename":"image_10122025_11_50_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/12/27/d5a172b25b5b105c2d50385ab2151100.jpg","text":"TemporaryFile(/tmp/multipartBody4473677806282855924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851023271,"filename":"image_10122025_11_50_05_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288562","file1":"1401288561","file0":"1401288560","file4":"1401288564","file5":"1401288566","file3":"1401288563"},"map_files_photo_id_array":[{"photo_id":"1401288566","filename":"file5"},{"photo_id":"1401288562","filename":"file2"},{"photo_id":"1401288564","filename":"file4"},{"photo_id":"1401288561","filename":"file1"},{"photo_id":"1401288560","filename":"file0"},{"photo_id":"1401288563","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288561":["hashtag1","hashtag2"]},{"1401288563":["hashtag1","hashtag2"]},{"1401288566":["hashtag1","hashtag2"]},{"1401288560":["hashtag1","hashtag2"]},{"1401288562":["hashtag1","hashtag2"]},{"1401288564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288561, 1401288563, 1401288566, 1401288560, 1401288562, 1401288564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20091533660889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:56:46.963496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_24_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_15_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_49_05_10673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_45_9609.jpg', '/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_35_10634.jpg', '/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_24_9651.jpg', '/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_15_9665.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_49_05_10673.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_45_9609.jpg
/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_35_10634.jpg
/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_24_9651.jpg
/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_15_9665.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_49_05_10673.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_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":["1401288584","1401288587","1401288583","1401288582","1401288585","1401288588"],"photo_ids_order":["1401288582","1401288583","1401288584","1401288585","1401288587","1401288588"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e87c54e7c6a1ae40c21a9c63ebc16757.jpg","text":"TemporaryFile(/tmp/multipartBody4440442539570612348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851067766,"filename":"image_10122025_11_49_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/12/27/54a7462e99459d6b39bb97f0aa3f5858.jpg","text":"TemporaryFile(/tmp/multipartBody4628638383076921215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851067766,"filename":"image_10122025_11_49_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b046dc7c07cd3c66a14e2f2c0c144c9.jpg","text":"TemporaryFile(/tmp/multipartBody945111668842616931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851067766,"filename":"image_10122025_11_49_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5261ff03711ab7e0e3df4697e66f7f32.jpg","text":"TemporaryFile(/tmp/multipartBody1903863289152330639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851067766,"filename":"image_10122025_11_49_45_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06867f29856fd4e58dc484e24f0fcd0a.jpg","text":"TemporaryFile(/tmp/multipartBody3134784176822676457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851067766,"filename":"image_10122025_11_49_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/360e0da02f68488dc16c1b149fe35f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2330170970722742027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851067766,"filename":"image_10122025_11_48_54_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288584","file1":"1401288583","file0":"1401288582","file4":"1401288587","file5":"1401288588","file3":"1401288585"},"map_files_photo_id_array":[{"photo_id":"1401288588","filename":"file5"},{"photo_id":"1401288584","filename":"file2"},{"photo_id":"1401288587","filename":"file4"},{"photo_id":"1401288583","filename":"file1"},{"photo_id":"1401288582","filename":"file0"},{"photo_id":"1401288585","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288584":["hashtag1","hashtag2"]},{"1401288587":["hashtag1","hashtag2"]},{"1401288583":["hashtag1","hashtag2"]},{"1401288582":["hashtag1","hashtag2"]},{"1401288585":["hashtag1","hashtag2"]},{"1401288588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288584, 1401288587, 1401288583, 1401288582, 1401288585, 1401288588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.140374422073364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:57:32.061151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg', '/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg', '/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg
/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg
/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:58:02.539379
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg', '/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg', '/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg', '/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg
/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg
/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg
/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401288603","1401288606","1401288608","1401288605","1401288604","1401288607"],"photo_ids_order":["1401288603","1401288604","1401288605","1401288606","1401288607","1401288608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/355b7cfdff92520f712a6be7c4908487.jpg","text":"TemporaryFile(/tmp/multipartBody893519394604844215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851143362,"filename":"image_10122025_11_48_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69fbb01fdd88436b1d1655752a57e43d.jpg","text":"TemporaryFile(/tmp/multipartBody6160147134304268298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851143362,"filename":"image_10122025_11_48_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8bb25ff0b86e6803dba76e78d4446ff.jpg","text":"TemporaryFile(/tmp/multipartBody8755840783772380574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851143362,"filename":"image_10122025_11_47_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/12/27/777930c9e6050f24a534095eb970b820.jpg","text":"TemporaryFile(/tmp/multipartBody1099773008219590939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851143362,"filename":"image_10122025_11_48_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/12/27/8ecbe3aeebd0b81bef4e1018d42e1dea.jpg","text":"TemporaryFile(/tmp/multipartBody7511326004049252581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851143362,"filename":"image_10122025_11_48_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6a1d85ea33182102047eee7abdacb00.jpg","text":"TemporaryFile(/tmp/multipartBody7883507684439443044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851143362,"filename":"image_10122025_11_48_05_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288605","file1":"1401288604","file0":"1401288603","file4":"1401288607","file5":"1401288608","file3":"1401288606"},"map_files_photo_id_array":[{"photo_id":"1401288608","filename":"file5"},{"photo_id":"1401288605","filename":"file2"},{"photo_id":"1401288607","filename":"file4"},{"photo_id":"1401288604","filename":"file1"},{"photo_id":"1401288603","filename":"file0"},{"photo_id":"1401288606","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288603":["hashtag1","hashtag2"]},{"1401288606":["hashtag1","hashtag2"]},{"1401288608":["hashtag1","hashtag2"]},{"1401288605":["hashtag1","hashtag2"]},{"1401288604":["hashtag1","hashtag2"]},{"1401288607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288603, 1401288606, 1401288608, 1401288605, 1401288604, 1401288607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17085123062134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:59:03.088881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_15_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_47_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_55_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_34_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_45_10613.jpg', '/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_15_10619.jpg', '/home/nano/Desktop/images/10122025/11/46/image_10122025_11_47_04_9627.jpg', '/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_55_9595.jpg', '/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_45_10614.jpg', '/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_45_10613.jpg
/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_15_10619.jpg
/home/nano/Desktop/images/10122025/11/46/image_10122025_11_47_04_9627.jpg
/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_55_9595.jpg
/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_45_10614.jpg
/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_34_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":["1401288621","1401288615","1401288624","1401288619","1401288610","1401288616"],"photo_ids_order":["1401288610","1401288615","1401288616","1401288619","1401288621","1401288624"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57e12cde92974beb51562a694ae2f9a4.jpg","text":"TemporaryFile(/tmp/multipartBody5446794518518440602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851203914,"filename":"image_10122025_11_46_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc52f72b37200098d67f896f7f07052c.jpg","text":"TemporaryFile(/tmp/multipartBody8453340594122409582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851203914,"filename":"image_10122025_11_47_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc944ed0e7ec3109fb4b41f3c6329d69.jpg","text":"TemporaryFile(/tmp/multipartBody7040142617427487221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851203914,"filename":"image_10122025_11_46_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/12/27/e75306a3e0fa0cf7e1c6d826acb15442.jpg","text":"TemporaryFile(/tmp/multipartBody3318269108095966218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851203914,"filename":"image_10122025_11_46_55_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbec4aebf208840241c4b0711f20db39.jpg","text":"TemporaryFile(/tmp/multipartBody2142253286968552010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851203914,"filename":"image_10122025_11_47_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a88dc2096793d1b0d27a6a15602c45bf.jpg","text":"TemporaryFile(/tmp/multipartBody4667512612457277528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851203914,"filename":"image_10122025_11_47_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288616","file1":"1401288615","file0":"1401288610","file4":"1401288621","file5":"1401288624","file3":"1401288619"},"map_files_photo_id_array":[{"photo_id":"1401288624","filename":"file5"},{"photo_id":"1401288616","filename":"file2"},{"photo_id":"1401288621","filename":"file4"},{"photo_id":"1401288615","filename":"file1"},{"photo_id":"1401288610","filename":"file0"},{"photo_id":"1401288619","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288621":["hashtag1","hashtag2"]},{"1401288615":["hashtag1","hashtag2"]},{"1401288624":["hashtag1","hashtag2"]},{"1401288619":["hashtag1","hashtag2"]},{"1401288610":["hashtag1","hashtag2"]},{"1401288616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288621, 1401288615, 1401288624, 1401288619, 1401288610, 1401288616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49821329116821 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 16:59:47.017189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_46_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_35_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_25_10609.jpg', '/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_14_9616.jpg', '/home/nano/Desktop/images/10122025/11/45/image_10122025_11_46_05_9618.jpg', '/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_55_10607.jpg', '/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_44_9598.jpg', '/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_35_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_25_10609.jpg
/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_14_9616.jpg
/home/nano/Desktop/images/10122025/11/45/image_10122025_11_46_05_9618.jpg
/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_55_10607.jpg
/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_44_9598.jpg
/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_35_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":["1401288747","1401288980","1401288782","1401288917","1401288851","1401288815"],"photo_ids_order":["1401288747","1401288782","1401288815","1401288851","1401288917","1401288980"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b679de49d81dacec8102f5889033357.jpg","text":"TemporaryFile(/tmp/multipartBody845618663597504316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851247802,"filename":"image_10122025_11_46_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae9787fdf1a4cc0f59ccc22f41315e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1333375503838425825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851247802,"filename":"image_10122025_11_45_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37074bf6cdeaf324a389318a734cc459.jpg","text":"TemporaryFile(/tmp/multipartBody7521438088818823785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851247802,"filename":"image_10122025_11_46_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/12/27/64fa0a9fee9b8e6af3e1ade9673c76f2.jpg","text":"TemporaryFile(/tmp/multipartBody1927017437507560560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851247802,"filename":"image_10122025_11_45_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/12/27/1980424bf4b59fad76fcd346169c06ec.jpg","text":"TemporaryFile(/tmp/multipartBody4867822140946348586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851247802,"filename":"image_10122025_11_45_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9259f67b21ff50bdb174dfd07530820.jpg","text":"TemporaryFile(/tmp/multipartBody204351136734103620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851247802,"filename":"image_10122025_11_46_05_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401288815","file1":"1401288782","file0":"1401288747","file4":"1401288917","file5":"1401288980","file3":"1401288851"},"map_files_photo_id_array":[{"photo_id":"1401288980","filename":"file5"},{"photo_id":"1401288815","filename":"file2"},{"photo_id":"1401288917","filename":"file4"},{"photo_id":"1401288782","filename":"file1"},{"photo_id":"1401288747","filename":"file0"},{"photo_id":"1401288851","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401288747":["hashtag1","hashtag2"]},{"1401288980":["hashtag1","hashtag2"]},{"1401288782":["hashtag1","hashtag2"]},{"1401288917":["hashtag1","hashtag2"]},{"1401288851":["hashtag1","hashtag2"]},{"1401288815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401288747, 1401288980, 1401288782, 1401288917, 1401288851, 1401288815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36752700805664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:00:32.125029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_45_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_54_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_34_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_24_9598.jpg', '/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_15_9615.jpg', '/home/nano/Desktop/images/10122025/11/44/image_10122025_11_45_05_10633.jpg', '/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_54_9600.jpg', '/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_45_10610.jpg', '/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_24_9598.jpg
/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_15_9615.jpg
/home/nano/Desktop/images/10122025/11/44/image_10122025_11_45_05_10633.jpg
/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_54_9600.jpg
/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_45_10610.jpg
/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_34_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":["1401289518","1401289419","1401289354","1401289581","1401289485","1401289551"],"photo_ids_order":["1401289354","1401289419","1401289485","1401289518","1401289551","1401289581"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0bfe3336c69e4bc5a315cf888f5f20f.jpg","text":"TemporaryFile(/tmp/multipartBody5354482377510418542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851292933,"filename":"image_10122025_11_44_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/12/27/5a4ade2a80a4a5b330b87606102b365c.jpg","text":"TemporaryFile(/tmp/multipartBody5812131375787877202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851292933,"filename":"image_10122025_11_45_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/015e683d4fcd93fd4896549c6f39c60e.jpg","text":"TemporaryFile(/tmp/multipartBody6417137198464559747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851292933,"filename":"image_10122025_11_45_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/12/27/57781fa38d5c5a386deb6727b7ce96ae.jpg","text":"TemporaryFile(/tmp/multipartBody7503244683339296287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851292933,"filename":"image_10122025_11_44_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/12/27/2738492178c7420cbdf8afb34f0ddcce.jpg","text":"TemporaryFile(/tmp/multipartBody1293672689468880678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851292933,"filename":"image_10122025_11_45_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7570bf7ca2710e1b5bd96fd322778e7.jpg","text":"TemporaryFile(/tmp/multipartBody4640873318240143849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851292933,"filename":"image_10122025_11_44_45_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401289485","file1":"1401289419","file0":"1401289354","file4":"1401289551","file5":"1401289581","file3":"1401289518"},"map_files_photo_id_array":[{"photo_id":"1401289581","filename":"file5"},{"photo_id":"1401289485","filename":"file2"},{"photo_id":"1401289551","filename":"file4"},{"photo_id":"1401289419","filename":"file1"},{"photo_id":"1401289354","filename":"file0"},{"photo_id":"1401289518","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401289518":["hashtag1","hashtag2"]},{"1401289419":["hashtag1","hashtag2"]},{"1401289354":["hashtag1","hashtag2"]},{"1401289581":["hashtag1","hashtag2"]},{"1401289485":["hashtag1","hashtag2"]},{"1401289551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401289518, 1401289419, 1401289354, 1401289581, 1401289485, 1401289551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41974329948425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:01:17.252064
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/17/01/image_27122025_17_01_34_9525.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/17/01/image_27122025_17_01_34_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/17/01/image_27122025_17_01_34_9525.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401289862"],"photo_id":"1401289862","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dbe401c1abaf7ab3740b00b6b011c88.jpg","text":"TemporaryFile(/tmp/multipartBody3885657695022746989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851337494,"filename":"image_27122025_17_01_34_9525.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401289862"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401289862"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.268749475479126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:01:32.234469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_44_04_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_45_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_25_9606.jpg', '/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_15_10642.jpg', '/home/nano/Desktop/images/10122025/11/43/image_10122025_11_44_04_9665.jpg', '/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_55_9617.jpg', '/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_45_10675.jpg', '/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_25_9606.jpg
/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_15_10642.jpg
/home/nano/Desktop/images/10122025/11/43/image_10122025_11_44_04_9665.jpg
/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_55_9617.jpg
/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_45_10675.jpg
/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_34_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":["1401290145","1401290143","1401290146","1401290125","1401290041","1401290085"],"photo_ids_order":["1401290041","1401290085","1401290125","1401290143","1401290145","1401290146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b56198bf28fc4d8434cc226e86808de6.jpg","text":"TemporaryFile(/tmp/multipartBody7718997190139676677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851353040,"filename":"image_10122025_11_43_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cb7f5b9232d0df9fcf4e0f83b768416.jpg","text":"TemporaryFile(/tmp/multipartBody3478330558844255795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851353040,"filename":"image_10122025_11_43_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a975ccb94738c8719ef632338da83f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1681866188096545898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851353040,"filename":"image_10122025_11_43_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/12/27/ff8be615467286b3ea9f48f8b6a380db.jpg","text":"TemporaryFile(/tmp/multipartBody977032855624876059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851353040,"filename":"image_10122025_11_44_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/12/27/6114782adc25e94f9869664be4ec98f7.jpg","text":"TemporaryFile(/tmp/multipartBody7561072231364943624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851353040,"filename":"image_10122025_11_44_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/417b153d7a22da5fd9f151ae7c55a80a.jpg","text":"TemporaryFile(/tmp/multipartBody5036933112528204126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851353040,"filename":"image_10122025_11_44_15_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401290125","file1":"1401290085","file0":"1401290041","file4":"1401290145","file5":"1401290146","file3":"1401290143"},"map_files_photo_id_array":[{"photo_id":"1401290146","filename":"file5"},{"photo_id":"1401290125","filename":"file2"},{"photo_id":"1401290145","filename":"file4"},{"photo_id":"1401290085","filename":"file1"},{"photo_id":"1401290041","filename":"file0"},{"photo_id":"1401290143","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401290145":["hashtag1","hashtag2"]},{"1401290143":["hashtag1","hashtag2"]},{"1401290146":["hashtag1","hashtag2"]},{"1401290125":["hashtag1","hashtag2"]},{"1401290041":["hashtag1","hashtag2"]},{"1401290085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401290145, 1401290143, 1401290146, 1401290125, 1401290041, 1401290085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.913989305496216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:02:17.348313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_25_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_43_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_55_10665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_34_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_25_9661.jpg', '/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_15_10630.jpg', '/home/nano/Desktop/images/10122025/11/42/image_10122025_11_43_04_9620.jpg', '/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_55_10665.jpg', '/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_44_9631.jpg', '/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_34_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_25_9661.jpg
/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_15_10630.jpg
/home/nano/Desktop/images/10122025/11/42/image_10122025_11_43_04_9620.jpg
/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_55_10665.jpg
/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_44_9631.jpg
/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_34_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":["1401290409","1401290228","1401290272","1401290368","1401290449","1401290323"],"photo_ids_order":["1401290228","1401290272","1401290323","1401290368","1401290409","1401290449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d16db08aa0d386bffec7f71b47065085.jpg","text":"TemporaryFile(/tmp/multipartBody688558691016031182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851398146,"filename":"image_10122025_11_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/12/27/992de00954c0bacf24ea2a183ff07416.jpg","text":"TemporaryFile(/tmp/multipartBody4165324660789660358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851398146,"filename":"image_10122025_11_43_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba4ba9c7931f34e10f3ff14f31dff8c8.jpg","text":"TemporaryFile(/tmp/multipartBody2814827386383861314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851398146,"filename":"image_10122025_11_43_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d07c6fcc5f8f11100ce582e26e86d42a.jpg","text":"TemporaryFile(/tmp/multipartBody8788617452420410071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851398146,"filename":"image_10122025_11_42_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b67e6236f5ff92264b2fc2678faa327e.jpg","text":"TemporaryFile(/tmp/multipartBody2687858978422733030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851398146,"filename":"image_10122025_11_42_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/12/27/8a1bd514743c01d2bfffe7fa1be2d57e.jpg","text":"TemporaryFile(/tmp/multipartBody2318688382628267434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851398146,"filename":"image_10122025_11_43_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401290323","file1":"1401290272","file0":"1401290228","file4":"1401290409","file5":"1401290449","file3":"1401290368"},"map_files_photo_id_array":[{"photo_id":"1401290449","filename":"file5"},{"photo_id":"1401290323","filename":"file2"},{"photo_id":"1401290409","filename":"file4"},{"photo_id":"1401290272","filename":"file1"},{"photo_id":"1401290228","filename":"file0"},{"photo_id":"1401290368","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401290409":["hashtag1","hashtag2"]},{"1401290228":["hashtag1","hashtag2"]},{"1401290272":["hashtag1","hashtag2"]},{"1401290368":["hashtag1","hashtag2"]},{"1401290449":["hashtag1","hashtag2"]},{"1401290323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401290409, 1401290228, 1401290272, 1401290368, 1401290449, 1401290323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70745778083801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:03:02.963462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_25_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_14_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_42_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_55_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_44_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_35_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_25_10708.jpg', '/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_14_9656.jpg', '/home/nano/Desktop/images/10122025/11/41/image_10122025_11_42_04_9628.jpg', '/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_55_10663.jpg', '/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_44_9656.jpg', '/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_35_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_25_10708.jpg
/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_14_9656.jpg
/home/nano/Desktop/images/10122025/11/41/image_10122025_11_42_04_9628.jpg
/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_55_10663.jpg
/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_44_9656.jpg
/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_35_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":["1401290585","1401290575","1401290507","1401290609","1401290542","1401290586"],"photo_ids_order":["1401290507","1401290542","1401290575","1401290585","1401290586","1401290609"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13326c9069bf7dd9143aa84c4dabb9eb.jpg","text":"TemporaryFile(/tmp/multipartBody3925278797156221693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851443839,"filename":"image_10122025_11_41_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6683d20246aba97ebefd325e9b99d8cd.jpg","text":"TemporaryFile(/tmp/multipartBody5120132206471722454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851443839,"filename":"image_10122025_11_42_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/12/27/d5e1e9765204b2ca359a02dd8b6f740d.jpg","text":"TemporaryFile(/tmp/multipartBody5954562465871116827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851443839,"filename":"image_10122025_11_42_25_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4515a17b456963b22e4347bc1cce7637.jpg","text":"TemporaryFile(/tmp/multipartBody9208878568964325099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851443839,"filename":"image_10122025_11_41_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82ee07cc96ed7456bcaf0ec29d739872.jpg","text":"TemporaryFile(/tmp/multipartBody6963534364315530831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851443839,"filename":"image_10122025_11_42_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/12/27/b282771cfb4803caf8f44f615fe2c607.jpg","text":"TemporaryFile(/tmp/multipartBody5249692652821590215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851443839,"filename":"image_10122025_11_41_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401290575","file1":"1401290542","file0":"1401290507","file4":"1401290586","file5":"1401290609","file3":"1401290585"},"map_files_photo_id_array":[{"photo_id":"1401290609","filename":"file5"},{"photo_id":"1401290575","filename":"file2"},{"photo_id":"1401290586","filename":"file4"},{"photo_id":"1401290542","filename":"file1"},{"photo_id":"1401290507","filename":"file0"},{"photo_id":"1401290585","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401290585":["hashtag1","hashtag2"]},{"1401290575":["hashtag1","hashtag2"]},{"1401290507":["hashtag1","hashtag2"]},{"1401290609":["hashtag1","hashtag2"]},{"1401290542":["hashtag1","hashtag2"]},{"1401290586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401290585, 1401290575, 1401290507, 1401290609, 1401290542, 1401290586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7836377620697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:03:47.475508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_41_05_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_55_10670.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_35_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_25_10656.jpg', '/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_14_9673.jpg', '/home/nano/Desktop/images/10122025/11/40/image_10122025_11_41_05_9650.jpg', '/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_55_10670.jpg', '/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_44_9635.jpg', '/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_35_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_25_10656.jpg
/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_14_9673.jpg
/home/nano/Desktop/images/10122025/11/40/image_10122025_11_41_05_9650.jpg
/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_55_10670.jpg
/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_44_9635.jpg
/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_35_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":["1401290664","1401290739","1401290724","1401290646","1401290695","1401290749"],"photo_ids_order":["1401290646","1401290664","1401290695","1401290724","1401290739","1401290749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a2aa1e0df31f77ec1038b0ee1b93a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3070296195679610195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851488305,"filename":"image_10122025_11_41_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/12/27/704b97c7794217acff0d39043f5db10e.jpg","text":"TemporaryFile(/tmp/multipartBody1901781374594862909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851488305,"filename":"image_10122025_11_40_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/12/27/59775f67765f0243929b64cd5efd0d66.jpg","text":"TemporaryFile(/tmp/multipartBody6984333303960146157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851488305,"filename":"image_10122025_11_40_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/821386076b5a6393b8db145e1d1f9bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6431574942943521851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851488305,"filename":"image_10122025_11_41_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/263c4c569992852f10640b699df67a60.jpg","text":"TemporaryFile(/tmp/multipartBody2417091698254709761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851488305,"filename":"image_10122025_11_41_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/904cd5f00448873a6706fa624d815f99.jpg","text":"TemporaryFile(/tmp/multipartBody7334270770024585908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851488305,"filename":"image_10122025_11_40_35_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401290695","file1":"1401290664","file0":"1401290646","file4":"1401290739","file5":"1401290749","file3":"1401290724"},"map_files_photo_id_array":[{"photo_id":"1401290749","filename":"file5"},{"photo_id":"1401290695","filename":"file2"},{"photo_id":"1401290739","filename":"file4"},{"photo_id":"1401290664","filename":"file1"},{"photo_id":"1401290646","filename":"file0"},{"photo_id":"1401290724","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401290664":["hashtag1","hashtag2"]},{"1401290739":["hashtag1","hashtag2"]},{"1401290724":["hashtag1","hashtag2"]},{"1401290646":["hashtag1","hashtag2"]},{"1401290695":["hashtag1","hashtag2"]},{"1401290749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401290664, 1401290739, 1401290724, 1401290646, 1401290695, 1401290749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15870380401611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:04:32.595337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_25_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_40_05_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_55_10717.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_44_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_35_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_25_10640.jpg', '/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_14_9650.jpg', '/home/nano/Desktop/images/10122025/11/39/image_10122025_11_40_05_9655.jpg', '/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_55_10717.jpg', '/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_44_9676.jpg', '/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_35_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_25_10640.jpg
/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_14_9650.jpg
/home/nano/Desktop/images/10122025/11/39/image_10122025_11_40_05_9655.jpg
/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_55_10717.jpg
/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_44_9676.jpg
/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_35_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":["1401290778","1401290783","1401290771","1401290774","1401290772","1401290781"],"photo_ids_order":["1401290771","1401290772","1401290774","1401290778","1401290781","1401290783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6ec503bf20a4cd276c56ade3f56b684.jpg","text":"TemporaryFile(/tmp/multipartBody1720763174037157205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851533406,"filename":"image_10122025_11_39_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2d1292b3bf9dfc9bcc265dac4bf7830.jpg","text":"TemporaryFile(/tmp/multipartBody4086899443544950365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851533406,"filename":"image_10122025_11_39_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7f623e2225039b8cd2fc8b7d69d2813.jpg","text":"TemporaryFile(/tmp/multipartBody4416065862743674412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851533406,"filename":"image_10122025_11_40_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fdf219c89d4f8ca1b24bae04fdec9b87.jpg","text":"TemporaryFile(/tmp/multipartBody7114330700271206904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851533406,"filename":"image_10122025_11_40_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/724ab8672c2872b7c6464ff92125f3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6805660306317960555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851533406,"filename":"image_10122025_11_40_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/12/27/8e7faad721543ef7b869e8b5a32f6674.jpg","text":"TemporaryFile(/tmp/multipartBody8785568017501180183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851533406,"filename":"image_10122025_11_39_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401290774","file1":"1401290772","file0":"1401290771","file4":"1401290781","file5":"1401290783","file3":"1401290778"},"map_files_photo_id_array":[{"photo_id":"1401290783","filename":"file5"},{"photo_id":"1401290774","filename":"file2"},{"photo_id":"1401290781","filename":"file4"},{"photo_id":"1401290772","filename":"file1"},{"photo_id":"1401290771","filename":"file0"},{"photo_id":"1401290778","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401290778":["hashtag1","hashtag2"]},{"1401290783":["hashtag1","hashtag2"]},{"1401290771":["hashtag1","hashtag2"]},{"1401290774":["hashtag1","hashtag2"]},{"1401290772":["hashtag1","hashtag2"]},{"1401290781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401290778, 1401290783, 1401290771, 1401290774, 1401290772, 1401290781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92653226852417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:05:16.790427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_25_10701.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_39_05_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_55_10682.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_44_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_35_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_25_10701.jpg', '/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_14_9673.jpg', '/home/nano/Desktop/images/10122025/11/38/image_10122025_11_39_05_9660.jpg', '/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_55_10682.jpg', '/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_44_9639.jpg', '/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_35_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_25_10701.jpg
/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_14_9673.jpg
/home/nano/Desktop/images/10122025/11/38/image_10122025_11_39_05_9660.jpg
/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_55_10682.jpg
/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_44_9639.jpg
/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_35_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":["1401290795","1401290791","1401290788","1401290797","1401290793","1401290787"],"photo_ids_order":["1401290787","1401290788","1401290791","1401290793","1401290795","1401290797"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51e54300d0528401fd2d8fbfd2308294.jpg","text":"TemporaryFile(/tmp/multipartBody8315697044921166419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851577600,"filename":"image_10122025_11_38_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/12/27/4a387f0f956e8d5a9e6bc8aacb7966e0.jpg","text":"TemporaryFile(/tmp/multipartBody2520339807089710430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851577600,"filename":"image_10122025_11_39_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a3032166d3f7fb09cdb52b1ae89f30b.jpg","text":"TemporaryFile(/tmp/multipartBody8055013002056523803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851577600,"filename":"image_10122025_11_39_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/12/27/a50d2ddb55c028981f7a08efa94ec2f7.jpg","text":"TemporaryFile(/tmp/multipartBody4082067450536044046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851577600,"filename":"image_10122025_11_38_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27fa1d5aab48ac8a89d531f3700adeeb.jpg","text":"TemporaryFile(/tmp/multipartBody8819904875082748188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851577600,"filename":"image_10122025_11_38_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b58c8fc57db18efe8d528828f982fe0c.jpg","text":"TemporaryFile(/tmp/multipartBody5212438980776948609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851577600,"filename":"image_10122025_11_39_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401290791","file1":"1401290788","file0":"1401290787","file4":"1401290795","file5":"1401290797","file3":"1401290793"},"map_files_photo_id_array":[{"photo_id":"1401290797","filename":"file5"},{"photo_id":"1401290791","filename":"file2"},{"photo_id":"1401290795","filename":"file4"},{"photo_id":"1401290788","filename":"file1"},{"photo_id":"1401290787","filename":"file0"},{"photo_id":"1401290793","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401290795":["hashtag1","hashtag2"]},{"1401290791":["hashtag1","hashtag2"]},{"1401290788":["hashtag1","hashtag2"]},{"1401290797":["hashtag1","hashtag2"]},{"1401290793":["hashtag1","hashtag2"]},{"1401290787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401290795, 1401290791, 1401290788, 1401290797, 1401290793, 1401290787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.498759269714355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:06:02.517992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_38_05_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_55_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_44_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_35_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_25_10648.jpg', '/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_14_9684.jpg', '/home/nano/Desktop/images/10122025/11/37/image_10122025_11_38_05_9673.jpg', '/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_55_10625.jpg', '/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_44_9675.jpg', '/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_35_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_25_10648.jpg
/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_14_9684.jpg
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_38_05_9673.jpg
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_55_10625.jpg
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_44_9675.jpg
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_35_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":["1401291076","1401291235","1401291163","1401291198","1401291267","1401291132"],"photo_ids_order":["1401291076","1401291132","1401291163","1401291198","1401291235","1401291267"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/602c7086788054f236bd6ba8be56dcc2.jpg","text":"TemporaryFile(/tmp/multipartBody1558170388101608297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851623402,"filename":"image_10122025_11_38_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fea20320aa91c65eff1011569659ea40.jpg","text":"TemporaryFile(/tmp/multipartBody8279834907708454596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851623402,"filename":"image_10122025_11_37_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/12/27/8474d47e6a35ecdd631de6d6cbf14e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6166479119662023974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851623402,"filename":"image_10122025_11_38_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b020b2c08632965bfa8d58ab14864a27.jpg","text":"TemporaryFile(/tmp/multipartBody2669152255352795678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851623402,"filename":"image_10122025_11_37_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ed9f7fcda676db7390b0bd4d63e6b14.jpg","text":"TemporaryFile(/tmp/multipartBody8317685847105672674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851623402,"filename":"image_10122025_11_37_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9873adddba490f027435548a33fd3fd8.jpg","text":"TemporaryFile(/tmp/multipartBody9188216170577827322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851623402,"filename":"image_10122025_11_38_14_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401291163","file1":"1401291132","file0":"1401291076","file4":"1401291235","file5":"1401291267","file3":"1401291198"},"map_files_photo_id_array":[{"photo_id":"1401291267","filename":"file5"},{"photo_id":"1401291163","filename":"file2"},{"photo_id":"1401291235","filename":"file4"},{"photo_id":"1401291132","filename":"file1"},{"photo_id":"1401291076","filename":"file0"},{"photo_id":"1401291198","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401291076":["hashtag1","hashtag2"]},{"1401291235":["hashtag1","hashtag2"]},{"1401291163":["hashtag1","hashtag2"]},{"1401291198":["hashtag1","hashtag2"]},{"1401291267":["hashtag1","hashtag2"]},{"1401291132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401291076, 1401291235, 1401291163, 1401291198, 1401291267, 1401291132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1593337059021 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:06:46.894501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg', '/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_10636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6846413612365723 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:07:02.405844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg', '/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg
/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_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":["1401291650","1401291649","1401291583","1401291651","1401291654","1401291615"],"photo_ids_order":["1401291583","1401291615","1401291649","1401291650","1401291651","1401291654"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8010549d582f299a2fa0d620b0d7960.jpg","text":"TemporaryFile(/tmp/multipartBody1871746518018754797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851683247,"filename":"image_10122025_11_36_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c0c612e2fe9d9cee6a05351e86c36a5.jpg","text":"TemporaryFile(/tmp/multipartBody7615946301130475898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851683247,"filename":"image_10122025_11_37_05_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6093754167fd04bf7366a84de3674967.jpg","text":"TemporaryFile(/tmp/multipartBody8434136143159862883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851683247,"filename":"image_10122025_11_37_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3692f432dd354ca6cc8e0f9df3c7ba56.jpg","text":"TemporaryFile(/tmp/multipartBody5172099192697927859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851683247,"filename":"image_10122025_11_36_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/12/27/13b61f2c388a51494c388c6b645147b4.jpg","text":"TemporaryFile(/tmp/multipartBody7035743570684572828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851683247,"filename":"image_10122025_11_36_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb5d3d47ace9dd76cad27c7bb8720591.jpg","text":"TemporaryFile(/tmp/multipartBody2779706667860190516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851683247,"filename":"image_10122025_11_37_14_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401291649","file1":"1401291615","file0":"1401291583","file4":"1401291651","file5":"1401291654","file3":"1401291650"},"map_files_photo_id_array":[{"photo_id":"1401291654","filename":"file5"},{"photo_id":"1401291649","filename":"file2"},{"photo_id":"1401291651","filename":"file4"},{"photo_id":"1401291615","filename":"file1"},{"photo_id":"1401291583","filename":"file0"},{"photo_id":"1401291650","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401291650":["hashtag1","hashtag2"]},{"1401291649":["hashtag1","hashtag2"]},{"1401291583":["hashtag1","hashtag2"]},{"1401291651":["hashtag1","hashtag2"]},{"1401291654":["hashtag1","hashtag2"]},{"1401291615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401291650, 1401291649, 1401291583, 1401291651, 1401291654, 1401291615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.336520195007324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:07:47.006769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_24_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_14_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_36_05_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_54_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_45_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_35_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_24_9658.jpg', '/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_14_9649.jpg', '/home/nano/Desktop/images/10122025/11/35/image_10122025_11_36_05_10678.jpg', '/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_54_9591.jpg', '/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_45_9577.jpg', '/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_35_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_24_9658.jpg
/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_14_9649.jpg
/home/nano/Desktop/images/10122025/11/35/image_10122025_11_36_05_10678.jpg
/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_54_9591.jpg
/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_45_9577.jpg
/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_35_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":["1401292010","1401291976","1401291901","1401291870","1401291930","1401291822"],"photo_ids_order":["1401291822","1401291870","1401291901","1401291930","1401291976","1401292010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2e20c626ace3d9890caa40f12b127ea.jpg","text":"TemporaryFile(/tmp/multipartBody5260049202681715753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851727799,"filename":"image_10122025_11_35_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8ba4850b675497d51dfaf5bc2b327a9.jpg","text":"TemporaryFile(/tmp/multipartBody6876387249106258857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851727799,"filename":"image_10122025_11_35_45_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/726b46854b156866cae9178415089e51.jpg","text":"TemporaryFile(/tmp/multipartBody5589888800119041029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851727799,"filename":"image_10122025_11_36_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64b5fedf6684d4ec286e1703ca6cb47c.jpg","text":"TemporaryFile(/tmp/multipartBody8893212465546933400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851727799,"filename":"image_10122025_11_36_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/12/27/8ccddb212216b9ad85381420041257ff.jpg","text":"TemporaryFile(/tmp/multipartBody7530551803696282656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851727799,"filename":"image_10122025_11_35_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/12/27/757c5c88f79d700669949bda721fb7b4.jpg","text":"TemporaryFile(/tmp/multipartBody3734298480599739448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851727799,"filename":"image_10122025_11_36_24_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401291901","file1":"1401291870","file0":"1401291822","file4":"1401291976","file5":"1401292010","file3":"1401291930"},"map_files_photo_id_array":[{"photo_id":"1401292010","filename":"file5"},{"photo_id":"1401291901","filename":"file2"},{"photo_id":"1401291976","filename":"file4"},{"photo_id":"1401291870","filename":"file1"},{"photo_id":"1401291822","filename":"file0"},{"photo_id":"1401291930","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292010":["hashtag1","hashtag2"]},{"1401291976":["hashtag1","hashtag2"]},{"1401291901":["hashtag1","hashtag2"]},{"1401291870":["hashtag1","hashtag2"]},{"1401291930":["hashtag1","hashtag2"]},{"1401291822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292010, 1401291976, 1401291901, 1401291870, 1401291930, 1401291822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.656250476837158 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:08:32.117667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_24_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_15_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_35_04_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_55_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_45_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_34_9571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_24_9580.jpg', '/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_15_10602.jpg', '/home/nano/Desktop/images/10122025/11/34/image_10122025_11_35_04_9585.jpg', '/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_55_9573.jpg', '/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_45_10588.jpg', '/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_34_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_24_9580.jpg
/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_15_10602.jpg
/home/nano/Desktop/images/10122025/11/34/image_10122025_11_35_04_9585.jpg
/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_55_9573.jpg
/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_45_10588.jpg
/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_34_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401292268","1401292177","1401292309","1401292204","1401292215","1401292199"],"photo_ids_order":["1401292177","1401292199","1401292204","1401292215","1401292268","1401292309"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5da0e70ab8c226cf168e38e0514ff03.jpg","text":"TemporaryFile(/tmp/multipartBody5387652492191156423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851772898,"filename":"image_10122025_11_34_45_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ab0381e136803333710f2eea86e5600.jpg","text":"TemporaryFile(/tmp/multipartBody6527883844218670403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851772898,"filename":"image_10122025_11_35_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/08f98d316e4ea73a5f76dac7b8692232.jpg","text":"TemporaryFile(/tmp/multipartBody3430580180283821807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851772898,"filename":"image_10122025_11_34_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0716721eb395c77a3f5e38f204b8ead2.jpg","text":"TemporaryFile(/tmp/multipartBody1296337424697431943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851772898,"filename":"image_10122025_11_35_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33ff86be3d8e3b71a20e598dff3d2221.jpg","text":"TemporaryFile(/tmp/multipartBody9021717135922913502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851772898,"filename":"image_10122025_11_34_55_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5333a182246b3bfb73974a95d880fe36.jpg","text":"TemporaryFile(/tmp/multipartBody1502075136209190345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851772898,"filename":"image_10122025_11_35_15_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292204","file1":"1401292199","file0":"1401292177","file4":"1401292268","file5":"1401292309","file3":"1401292215"},"map_files_photo_id_array":[{"photo_id":"1401292309","filename":"file5"},{"photo_id":"1401292204","filename":"file2"},{"photo_id":"1401292268","filename":"file4"},{"photo_id":"1401292199","filename":"file1"},{"photo_id":"1401292177","filename":"file0"},{"photo_id":"1401292215","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292268":["hashtag1","hashtag2"]},{"1401292177":["hashtag1","hashtag2"]},{"1401292309":["hashtag1","hashtag2"]},{"1401292204":["hashtag1","hashtag2"]},{"1401292215":["hashtag1","hashtag2"]},{"1401292199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292268, 1401292177, 1401292309, 1401292204, 1401292215, 1401292199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25956416130066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:09:17.231830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_25_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_14_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_34_05_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_55_10581.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_35_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_24_9577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_25_10584.jpg', '/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_14_9579.jpg', '/home/nano/Desktop/images/10122025/11/33/image_10122025_11_34_05_9595.jpg', '/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_55_10581.jpg', '/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_35_10585.jpg', '/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_24_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_25_10584.jpg
/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_14_9579.jpg
/home/nano/Desktop/images/10122025/11/33/image_10122025_11_34_05_9595.jpg
/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_55_10581.jpg
/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_35_10585.jpg
/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_24_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401292427","1401292421","1401292423","1401292429","1401292420","1401292425"],"photo_ids_order":["1401292420","1401292421","1401292423","1401292425","1401292427","1401292429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da0a7db72810d6036e582994433243f1.jpg","text":"TemporaryFile(/tmp/multipartBody4715000910339819334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851818024,"filename":"image_10122025_11_33_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48f42e790c634b5633dc546e2b1d0dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6036596497895703675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851818024,"filename":"image_10122025_11_34_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9443e35a03da3b4f102b4ce639155dd7.jpg","text":"TemporaryFile(/tmp/multipartBody949251602119737599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851818024,"filename":"image_10122025_11_34_05_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05bfbc0827276d55a2aa96fa9962528a.jpg","text":"TemporaryFile(/tmp/multipartBody2205092724015840751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851818024,"filename":"image_10122025_11_33_24_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a167f52f54d91cdb2d5c46aa6574aac8.jpg","text":"TemporaryFile(/tmp/multipartBody2116220226575904320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851818024,"filename":"image_10122025_11_34_25_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1f0587247285b294ec29bfd31141cd9.jpg","text":"TemporaryFile(/tmp/multipartBody340267139232784783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851818024,"filename":"image_10122025_11_33_55_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292423","file1":"1401292421","file0":"1401292420","file4":"1401292427","file5":"1401292429","file3":"1401292425"},"map_files_photo_id_array":[{"photo_id":"1401292429","filename":"file5"},{"photo_id":"1401292423","filename":"file2"},{"photo_id":"1401292427","filename":"file4"},{"photo_id":"1401292421","filename":"file1"},{"photo_id":"1401292420","filename":"file0"},{"photo_id":"1401292425","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292427":["hashtag1","hashtag2"]},{"1401292421":["hashtag1","hashtag2"]},{"1401292423":["hashtag1","hashtag2"]},{"1401292429":["hashtag1","hashtag2"]},{"1401292420":["hashtag1","hashtag2"]},{"1401292425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292427, 1401292421, 1401292423, 1401292429, 1401292420, 1401292425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.802515268325806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:10:02.941565
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/17/10/image_27122025_17_10_44_10527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/17/10/image_27122025_17_10_44_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/17/10/image_27122025_17_10_44_10527.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.13515734672546387 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:10:17.317522
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/17/10/image_27122025_17_10_44_10527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/17/10/image_27122025_17_10_44_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/17/10/image_27122025_17_10_44_10527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401292438"],"photo_id":"1401292438","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/612830ebdea21cd51647f53c7b91df42.jpg","text":"TemporaryFile(/tmp/multipartBody7869187095023005269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851877557,"filename":"image_27122025_17_10_44_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401292438"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401292438"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.666407585144043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:10:32.353445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_15_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_55_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_45_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_34_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_32_05_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_15_10597.jpg', '/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_55_9574.jpg', '/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_45_10583.jpg', '/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_34_9576.jpg', '/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_25_10599.jpg', '/home/nano/Desktop/images/10122025/11/31/image_10122025_11_32_05_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_15_10597.jpg
/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_55_9574.jpg
/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_45_10583.jpg
/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_34_9576.jpg
/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_25_10599.jpg
/home/nano/Desktop/images/10122025/11/31/image_10122025_11_32_05_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":["1401292486","1401292480","1401292483","1401292477","1401292487","1401292478"],"photo_ids_order":["1401292477","1401292478","1401292480","1401292483","1401292486","1401292487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b186527210aeda1296497d85f3213b6.jpg","text":"TemporaryFile(/tmp/multipartBody7951175650775640400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851893144,"filename":"image_10122025_11_32_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c7f78c5227b4e396dd8ca13305b0f22.jpg","text":"TemporaryFile(/tmp/multipartBody8303687384540186146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851893144,"filename":"image_10122025_11_32_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2099d0d8458b8b49e29e0861f681c80.jpg","text":"TemporaryFile(/tmp/multipartBody3841241967981796536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851893144,"filename":"image_10122025_11_32_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2f10f2121eeed072ab9140887efdd9b.jpg","text":"TemporaryFile(/tmp/multipartBody745006289964741231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851893144,"filename":"image_10122025_11_33_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd14f6a77286332480f699e49ef2d310.jpg","text":"TemporaryFile(/tmp/multipartBody3849019211860273424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851893144,"filename":"image_10122025_11_32_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc67d7db3bd8b8e39270e57c9f914e1a.jpg","text":"TemporaryFile(/tmp/multipartBody7170640448446162884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851893144,"filename":"image_10122025_11_32_55_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292480","file1":"1401292478","file0":"1401292477","file4":"1401292486","file5":"1401292487","file3":"1401292483"},"map_files_photo_id_array":[{"photo_id":"1401292487","filename":"file5"},{"photo_id":"1401292480","filename":"file2"},{"photo_id":"1401292486","filename":"file4"},{"photo_id":"1401292478","filename":"file1"},{"photo_id":"1401292477","filename":"file0"},{"photo_id":"1401292483","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292486":["hashtag1","hashtag2"]},{"1401292480":["hashtag1","hashtag2"]},{"1401292483":["hashtag1","hashtag2"]},{"1401292477":["hashtag1","hashtag2"]},{"1401292487":["hashtag1","hashtag2"]},{"1401292478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292486, 1401292480, 1401292483, 1401292477, 1401292487, 1401292478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.417582273483276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:11:17.434468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_55_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_44_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_24_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_15_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_31_05_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_55_10588.jpg', '/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_44_9583.jpg', '/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_35_10609.jpg', '/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_24_9659.jpg', '/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_15_9705.jpg', '/home/nano/Desktop/images/10122025/11/30/image_10122025_11_31_05_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_55_10588.jpg
/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_44_9583.jpg
/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_35_10609.jpg
/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_24_9659.jpg
/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_15_9705.jpg
/home/nano/Desktop/images/10122025/11/30/image_10122025_11_31_05_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":["1401292489","1401292488","1401292527","1401292598","1401292602","1401292562"],"photo_ids_order":["1401292488","1401292489","1401292527","1401292562","1401292598","1401292602"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a707a1b8485e60f85bc2733ef00f296.jpg","text":"TemporaryFile(/tmp/multipartBody4391867760848007199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851938262,"filename":"image_10122025_11_31_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fa1c6a296eee10ae604d337edd0a44d.jpg","text":"TemporaryFile(/tmp/multipartBody4611424190695060885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851938262,"filename":"image_10122025_11_31_55_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba7388507bb0734367ec712257a10070.jpg","text":"TemporaryFile(/tmp/multipartBody3698906757586030579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851938262,"filename":"image_10122025_11_31_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/523a62e3aa0a34e904240207c9fe3563.jpg","text":"TemporaryFile(/tmp/multipartBody8540755954613018431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851938262,"filename":"image_10122025_11_31_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/056596af0919b9eff4846e288d22b449.jpg","text":"TemporaryFile(/tmp/multipartBody5272309594152965254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851938262,"filename":"image_10122025_11_31_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/063f9f488bf621d9f4f1574b7f7ef11b.jpg","text":"TemporaryFile(/tmp/multipartBody1347173714641909438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851938262,"filename":"image_10122025_11_31_24_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292527","file1":"1401292489","file0":"1401292488","file4":"1401292598","file5":"1401292602","file3":"1401292562"},"map_files_photo_id_array":[{"photo_id":"1401292602","filename":"file5"},{"photo_id":"1401292527","filename":"file2"},{"photo_id":"1401292598","filename":"file4"},{"photo_id":"1401292489","filename":"file1"},{"photo_id":"1401292488","filename":"file0"},{"photo_id":"1401292562","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292489":["hashtag1","hashtag2"]},{"1401292488":["hashtag1","hashtag2"]},{"1401292527":["hashtag1","hashtag2"]},{"1401292598":["hashtag1","hashtag2"]},{"1401292602":["hashtag1","hashtag2"]},{"1401292562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292489, 1401292488, 1401292527, 1401292598, 1401292602, 1401292562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.673081398010254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:12:03.043467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_54_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_45_10581.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_30_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_55_10582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_54_9579.jpg', '/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_45_10581.jpg', '/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_34_9571.jpg', '/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_15_10620.jpg', '/home/nano/Desktop/images/10122025/11/29/image_10122025_11_30_04_9608.jpg', '/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_55_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_54_9579.jpg
/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_45_10581.jpg
/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_34_9571.jpg
/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_15_10620.jpg
/home/nano/Desktop/images/10122025/11/29/image_10122025_11_30_04_9608.jpg
/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_55_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401292643","1401292645","1401292648","1401292642","1401292644","1401292641"],"photo_ids_order":["1401292641","1401292642","1401292643","1401292644","1401292645","1401292648"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93a696df11f7fdb1fa3e6e50aba7ecf1.jpg","text":"TemporaryFile(/tmp/multipartBody3149420690339803545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851983865,"filename":"image_10122025_11_30_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b32c63a2889c4835ee8d39eaabc7195a.jpg","text":"TemporaryFile(/tmp/multipartBody9043594158552457831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851983865,"filename":"image_10122025_11_30_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/12/27/f2cc5af63877744353946cdb24ebeee7.jpg","text":"TemporaryFile(/tmp/multipartBody1548930500655173025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851983865,"filename":"image_10122025_11_29_55_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f068e33574389bb7530974bba05e7574.jpg","text":"TemporaryFile(/tmp/multipartBody466131611854963427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851983865,"filename":"image_10122025_11_30_45_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29a5f47c1e8b053f6eb672ed589e7c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8012952150260127945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851983865,"filename":"image_10122025_11_30_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8fb89f93db8b4f63ea4cb40da4bd7c3.jpg","text":"TemporaryFile(/tmp/multipartBody6990114652627618817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766851983865,"filename":"image_10122025_11_30_54_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292643","file1":"1401292642","file0":"1401292641","file4":"1401292645","file5":"1401292648","file3":"1401292644"},"map_files_photo_id_array":[{"photo_id":"1401292648","filename":"file5"},{"photo_id":"1401292643","filename":"file2"},{"photo_id":"1401292645","filename":"file4"},{"photo_id":"1401292642","filename":"file1"},{"photo_id":"1401292641","filename":"file0"},{"photo_id":"1401292644","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292643":["hashtag1","hashtag2"]},{"1401292645":["hashtag1","hashtag2"]},{"1401292648":["hashtag1","hashtag2"]},{"1401292642":["hashtag1","hashtag2"]},{"1401292644":["hashtag1","hashtag2"]},{"1401292641":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292643, 1401292645, 1401292648, 1401292642, 1401292644, 1401292641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.127373933792114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:12:47.541566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_44_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_35_9568.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_25_10577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_14_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_29_05_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_54_9570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_44_9573.jpg', '/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_35_9568.jpg', '/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_25_10577.jpg', '/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_14_9586.jpg', '/home/nano/Desktop/images/10122025/11/28/image_10122025_11_29_05_10580.jpg', '/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_44_9573.jpg
/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_35_9568.jpg
/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_25_10577.jpg
/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_14_9586.jpg
/home/nano/Desktop/images/10122025/11/28/image_10122025_11_29_05_10580.jpg
/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_54_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401292712","1401292684","1401292714","1401292717","1401292713","1401292716"],"photo_ids_order":["1401292684","1401292712","1401292713","1401292714","1401292716","1401292717"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b50cacc845f4410eed804fd176939e96.jpg","text":"TemporaryFile(/tmp/multipartBody3956638328816689015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852028338,"filename":"image_10122025_11_29_35_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebe217e92068755626a5268480ac1e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3389600231059198902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852028338,"filename":"image_10122025_11_29_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f9ec8701beb0cf9c46768c67feaf5c0.jpg","text":"TemporaryFile(/tmp/multipartBody702352937057119226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852028338,"filename":"image_10122025_11_29_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79f648c510f8dec7afc1e08a9d0575a6.jpg","text":"TemporaryFile(/tmp/multipartBody8398622622579435653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852028338,"filename":"image_10122025_11_28_54_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dba9707e93603046cfac6925510f0ab2.jpg","text":"TemporaryFile(/tmp/multipartBody9116691037770622778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852028338,"filename":"image_10122025_11_29_25_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ab31fe3394af68cd3ac853a951ae393.jpg","text":"TemporaryFile(/tmp/multipartBody3834661274579828911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852028338,"filename":"image_10122025_11_29_05_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292713","file1":"1401292712","file0":"1401292684","file4":"1401292716","file5":"1401292717","file3":"1401292714"},"map_files_photo_id_array":[{"photo_id":"1401292717","filename":"file5"},{"photo_id":"1401292713","filename":"file2"},{"photo_id":"1401292716","filename":"file4"},{"photo_id":"1401292712","filename":"file1"},{"photo_id":"1401292684","filename":"file0"},{"photo_id":"1401292714","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292712":["hashtag1","hashtag2"]},{"1401292684":["hashtag1","hashtag2"]},{"1401292714":["hashtag1","hashtag2"]},{"1401292717":["hashtag1","hashtag2"]},{"1401292713":["hashtag1","hashtag2"]},{"1401292716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292712, 1401292684, 1401292714, 1401292717, 1401292713, 1401292716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75647950172424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:13:32.625980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_45_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_34_9568.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_25_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_15_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_28_04_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_55_10579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_45_10580.jpg', '/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_34_9568.jpg', '/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_25_9586.jpg', '/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_15_10601.jpg', '/home/nano/Desktop/images/10122025/11/27/image_10122025_11_28_04_9583.jpg', '/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_55_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_45_10580.jpg
/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_34_9568.jpg
/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_25_9586.jpg
/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_15_10601.jpg
/home/nano/Desktop/images/10122025/11/27/image_10122025_11_28_04_9583.jpg
/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_55_10579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401292721","1401292789","1401292753","1401292822","1401292854","1401292853"],"photo_ids_order":["1401292721","1401292753","1401292789","1401292822","1401292853","1401292854"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b03ad1cff1ed2e9c9028e0a6d162355.jpg","text":"TemporaryFile(/tmp/multipartBody2695600718857318819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852073429,"filename":"image_10122025_11_28_45_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/757debcfd9f8b032e72c2c1323e3a740.jpg","text":"TemporaryFile(/tmp/multipartBody8296112328673206511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852073429,"filename":"image_10122025_11_28_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0378121aa4d4fb40dcff5dcc3ffe512.jpg","text":"TemporaryFile(/tmp/multipartBody9149145365091992618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852073429,"filename":"image_10122025_11_28_34_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74840971fa897e5b0080c69c9de1c43b.jpg","text":"TemporaryFile(/tmp/multipartBody4723435322957186531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852073429,"filename":"image_10122025_11_28_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fade3e0be419feeea411e804c17af772.jpg","text":"TemporaryFile(/tmp/multipartBody1576600439636739096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852073429,"filename":"image_10122025_11_27_55_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eebb936c2eb183584f4f563bd125784c.jpg","text":"TemporaryFile(/tmp/multipartBody7103891555663485905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852073429,"filename":"image_10122025_11_28_04_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292789","file1":"1401292753","file0":"1401292721","file4":"1401292853","file5":"1401292854","file3":"1401292822"},"map_files_photo_id_array":[{"photo_id":"1401292854","filename":"file5"},{"photo_id":"1401292789","filename":"file2"},{"photo_id":"1401292853","filename":"file4"},{"photo_id":"1401292753","filename":"file1"},{"photo_id":"1401292721","filename":"file0"},{"photo_id":"1401292822","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292721":["hashtag1","hashtag2"]},{"1401292789":["hashtag1","hashtag2"]},{"1401292753":["hashtag1","hashtag2"]},{"1401292822":["hashtag1","hashtag2"]},{"1401292854":["hashtag1","hashtag2"]},{"1401292853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292721, 1401292789, 1401292753, 1401292822, 1401292854, 1401292853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.132850646972656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:14:17.741451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_44_9570.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_35_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_25_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_14_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_27_05_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_54_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_44_9570.jpg', '/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_35_9571.jpg', '/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_25_10584.jpg', '/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_14_9584.jpg', '/home/nano/Desktop/images/10122025/11/26/image_10122025_11_27_05_10587.jpg', '/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_54_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_44_9570.jpg
/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_35_9571.jpg
/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_25_10584.jpg
/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_14_9584.jpg
/home/nano/Desktop/images/10122025/11/26/image_10122025_11_27_05_10587.jpg
/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_54_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401292856","1401292867","1401292860","1401292863","1401292857","1401292865"],"photo_ids_order":["1401292856","1401292857","1401292860","1401292863","1401292865","1401292867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e44dad0472e46e88a9905de7e95218ce.jpg","text":"TemporaryFile(/tmp/multipartBody8049446307595351475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852118517,"filename":"image_10122025_11_27_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6099cad27fc9391c08ea9b86a07ee14d.jpg","text":"TemporaryFile(/tmp/multipartBody3316475977963223105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852118517,"filename":"image_10122025_11_26_54_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d92e568bedaf1213b484634dda949bf.jpg","text":"TemporaryFile(/tmp/multipartBody6282693708322131155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852118517,"filename":"image_10122025_11_27_25_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d7234282bace2e4782048f6847b9c54.jpg","text":"TemporaryFile(/tmp/multipartBody993788276396365615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852118517,"filename":"image_10122025_11_27_14_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/312ed5d255ca7754f4dc493b60efcc1c.jpg","text":"TemporaryFile(/tmp/multipartBody1808153459257148829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852118517,"filename":"image_10122025_11_27_35_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52f6ff4b82d83564330f96b07dda3a8f.jpg","text":"TemporaryFile(/tmp/multipartBody415796950007973878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852118517,"filename":"image_10122025_11_27_05_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292860","file1":"1401292857","file0":"1401292856","file4":"1401292865","file5":"1401292867","file3":"1401292863"},"map_files_photo_id_array":[{"photo_id":"1401292867","filename":"file5"},{"photo_id":"1401292860","filename":"file2"},{"photo_id":"1401292865","filename":"file4"},{"photo_id":"1401292857","filename":"file1"},{"photo_id":"1401292856","filename":"file0"},{"photo_id":"1401292863","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401292856":["hashtag1","hashtag2"]},{"1401292867":["hashtag1","hashtag2"]},{"1401292860":["hashtag1","hashtag2"]},{"1401292863":["hashtag1","hashtag2"]},{"1401292857":["hashtag1","hashtag2"]},{"1401292865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401292856, 1401292867, 1401292860, 1401292863, 1401292857, 1401292865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00839400291443 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:15:02.645226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_45_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_34_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_25_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_15_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_26_04_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_55_10580.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_45_10584.jpg', '/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_34_9587.jpg', '/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_25_9593.jpg', '/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_15_10595.jpg', '/home/nano/Desktop/images/10122025/11/25/image_10122025_11_26_04_9576.jpg', '/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_55_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_45_10584.jpg
/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_34_9587.jpg
/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_25_9593.jpg
/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_15_10595.jpg
/home/nano/Desktop/images/10122025/11/25/image_10122025_11_26_04_9576.jpg
/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_55_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401293102","1401293068","1401292999","1401293035","1401292966","1401292930"],"photo_ids_order":["1401292930","1401292966","1401292999","1401293035","1401293068","1401293102"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02a89d4feb2b5088820c0d53c8557100.jpg","text":"TemporaryFile(/tmp/multipartBody5023571773234097770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852163470,"filename":"image_10122025_11_25_55_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1419d26c0001de3dcd9a5420eb8ba28c.jpg","text":"TemporaryFile(/tmp/multipartBody7697654799122956684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852163470,"filename":"image_10122025_11_26_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7c8d4a32b200b9718aa5cdad65a0f43.jpg","text":"TemporaryFile(/tmp/multipartBody5556266404241414686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852163470,"filename":"image_10122025_11_26_25_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21df097064ae7b14e602b805a198a764.jpg","text":"TemporaryFile(/tmp/multipartBody1052403318018083848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852163470,"filename":"image_10122025_11_26_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a2cec24f38cbd5115a35fdff2922386.jpg","text":"TemporaryFile(/tmp/multipartBody8998823955864549601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852163470,"filename":"image_10122025_11_26_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/039c1cf13342ec44b6cae78e15b6437b.jpg","text":"TemporaryFile(/tmp/multipartBody5431953744329334522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852163470,"filename":"image_10122025_11_26_45_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401292999","file1":"1401292966","file0":"1401292930","file4":"1401293068","file5":"1401293102","file3":"1401293035"},"map_files_photo_id_array":[{"photo_id":"1401293102","filename":"file5"},{"photo_id":"1401292999","filename":"file2"},{"photo_id":"1401293068","filename":"file4"},{"photo_id":"1401292966","filename":"file1"},{"photo_id":"1401292930","filename":"file0"},{"photo_id":"1401293035","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401293102":["hashtag1","hashtag2"]},{"1401293068":["hashtag1","hashtag2"]},{"1401292999":["hashtag1","hashtag2"]},{"1401293035":["hashtag1","hashtag2"]},{"1401292966":["hashtag1","hashtag2"]},{"1401292930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401293102, 1401293068, 1401292999, 1401293035, 1401292966, 1401292930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40618276596069 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:15:46.814071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_44_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_35_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_25_10579.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_14_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_25_05_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_54_9570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_44_9574.jpg', '/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_35_9576.jpg', '/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_25_10579.jpg', '/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_14_9582.jpg', '/home/nano/Desktop/images/10122025/11/24/image_10122025_11_25_05_10597.jpg', '/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_44_9574.jpg
/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_35_9576.jpg
/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_25_10579.jpg
/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_14_9582.jpg
/home/nano/Desktop/images/10122025/11/24/image_10122025_11_25_05_10597.jpg
/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_54_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401293251","1401293248","1401293250","1401293253","1401293252","1401293249"],"photo_ids_order":["1401293248","1401293249","1401293250","1401293251","1401293252","1401293253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ea0eb79223f7eec3621971dbb5b7d22.jpg","text":"TemporaryFile(/tmp/multipartBody3096163314271240719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852207639,"filename":"image_10122025_11_25_14_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a522464cde471a93ab221131e01144a.jpg","text":"TemporaryFile(/tmp/multipartBody2355196755058798735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852207639,"filename":"image_10122025_11_25_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffe9fccd03e0b2740be29b9cc7920daf.jpg","text":"TemporaryFile(/tmp/multipartBody8868227741595238945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852207639,"filename":"image_10122025_11_25_25_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f73d1c7a68f639bd5c694f5c8960c37.jpg","text":"TemporaryFile(/tmp/multipartBody2168389006853533548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852207639,"filename":"image_10122025_11_24_54_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba1a3810a20ca5cbbdb3d63636c525d1.jpg","text":"TemporaryFile(/tmp/multipartBody5345791693928595034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852207639,"filename":"image_10122025_11_25_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a2ee542f99aa507ef3d3be56e51ea10.jpg","text":"TemporaryFile(/tmp/multipartBody3204237385785047104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852207639,"filename":"image_10122025_11_25_35_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401293250","file1":"1401293249","file0":"1401293248","file4":"1401293252","file5":"1401293253","file3":"1401293251"},"map_files_photo_id_array":[{"photo_id":"1401293253","filename":"file5"},{"photo_id":"1401293250","filename":"file2"},{"photo_id":"1401293252","filename":"file4"},{"photo_id":"1401293249","filename":"file1"},{"photo_id":"1401293248","filename":"file0"},{"photo_id":"1401293251","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401293251":["hashtag1","hashtag2"]},{"1401293248":["hashtag1","hashtag2"]},{"1401293250":["hashtag1","hashtag2"]},{"1401293253":["hashtag1","hashtag2"]},{"1401293252":["hashtag1","hashtag2"]},{"1401293249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401293251, 1401293248, 1401293250, 1401293253, 1401293252, 1401293249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89141130447388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:16:31.925647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_34_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_25_9569.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_15_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_24_04_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_55_10582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_45_10603.jpg', '/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_34_9575.jpg', '/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_25_9569.jpg', '/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_15_10594.jpg', '/home/nano/Desktop/images/10122025/11/23/image_10122025_11_24_04_9582.jpg', '/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_55_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_45_10603.jpg
/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_34_9575.jpg
/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_25_9569.jpg
/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_15_10594.jpg
/home/nano/Desktop/images/10122025/11/23/image_10122025_11_24_04_9582.jpg
/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_55_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401293425","1401293419","1401293427","1401293400","1401293423","1401293417"],"photo_ids_order":["1401293400","1401293417","1401293419","1401293423","1401293425","1401293427"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f8700c2a589525a0e2909d0be0bb085.jpg","text":"TemporaryFile(/tmp/multipartBody3360690074081051935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852252697,"filename":"image_10122025_11_24_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a082b97ea7a46aa4708785990087263.jpg","text":"TemporaryFile(/tmp/multipartBody3829047914029241654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852252697,"filename":"image_10122025_11_24_25_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c9d627cedfbf0b85e1bcd720d67f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3831499712658851137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852252697,"filename":"image_10122025_11_23_55_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4dcb7c3d86fc821c132c8f707a607f7.jpg","text":"TemporaryFile(/tmp/multipartBody5788964676669886577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852252697,"filename":"image_10122025_11_24_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d2a0dfa080481f24f32033fee42e692.jpg","text":"TemporaryFile(/tmp/multipartBody2216414344276266653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852252697,"filename":"image_10122025_11_24_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e75c7e81d84e6ba7ab40086b5eccb23.jpg","text":"TemporaryFile(/tmp/multipartBody2039356073411490641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852252697,"filename":"image_10122025_11_24_34_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401293419","file1":"1401293417","file0":"1401293400","file4":"1401293425","file5":"1401293427","file3":"1401293423"},"map_files_photo_id_array":[{"photo_id":"1401293427","filename":"file5"},{"photo_id":"1401293419","filename":"file2"},{"photo_id":"1401293425","filename":"file4"},{"photo_id":"1401293417","filename":"file1"},{"photo_id":"1401293400","filename":"file0"},{"photo_id":"1401293423","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401293425":["hashtag1","hashtag2"]},{"1401293419":["hashtag1","hashtag2"]},{"1401293427":["hashtag1","hashtag2"]},{"1401293400":["hashtag1","hashtag2"]},{"1401293423":["hashtag1","hashtag2"]},{"1401293417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401293425, 1401293419, 1401293427, 1401293400, 1401293423, 1401293417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58524489402771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:17:17.107292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_35_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_25_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_14_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_23_05_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_54_9576.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_44_9580.jpg', '/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_35_9576.jpg', '/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_25_10582.jpg', '/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_14_9586.jpg', '/home/nano/Desktop/images/10122025/11/22/image_10122025_11_23_05_10590.jpg', '/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_54_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_44_9580.jpg
/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_35_9576.jpg
/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_25_10582.jpg
/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_14_9586.jpg
/home/nano/Desktop/images/10122025/11/22/image_10122025_11_23_05_10590.jpg
/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_54_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401293446","1401293449","1401293437","1401293433","1401293435","1401293432"],"photo_ids_order":["1401293432","1401293433","1401293435","1401293437","1401293446","1401293449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/934748af570fb6d4b58d866ba59aa3b7.jpg","text":"TemporaryFile(/tmp/multipartBody1500421497837124764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852297893,"filename":"image_10122025_11_23_05_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/670665c56e70da1cdf0d70adbd84b47d.jpg","text":"TemporaryFile(/tmp/multipartBody1552642086408672629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852297893,"filename":"image_10122025_11_22_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9c6fd524aef1b6c71372ca0af5ca88e.jpg","text":"TemporaryFile(/tmp/multipartBody549894295111603858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852297893,"filename":"image_10122025_11_23_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c8ccb1ab2c71f71fa686035012d4a34.jpg","text":"TemporaryFile(/tmp/multipartBody621511135670201227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852297893,"filename":"image_10122025_11_23_35_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3d637938a654fc36823f91949753042.jpg","text":"TemporaryFile(/tmp/multipartBody2649725169674731351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852297893,"filename":"image_10122025_11_23_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d6e1d2a4f5a08efe70166636b632670.jpg","text":"TemporaryFile(/tmp/multipartBody7900413995936917714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852297893,"filename":"image_10122025_11_23_44_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401293435","file1":"1401293433","file0":"1401293432","file4":"1401293446","file5":"1401293449","file3":"1401293437"},"map_files_photo_id_array":[{"photo_id":"1401293449","filename":"file5"},{"photo_id":"1401293435","filename":"file2"},{"photo_id":"1401293446","filename":"file4"},{"photo_id":"1401293433","filename":"file1"},{"photo_id":"1401293432","filename":"file0"},{"photo_id":"1401293437","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401293446":["hashtag1","hashtag2"]},{"1401293449":["hashtag1","hashtag2"]},{"1401293437":["hashtag1","hashtag2"]},{"1401293433":["hashtag1","hashtag2"]},{"1401293435":["hashtag1","hashtag2"]},{"1401293432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401293446, 1401293449, 1401293437, 1401293433, 1401293435, 1401293432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92321467399597 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:18:02.678639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_45_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_25_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_15_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_55_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_35_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_45_10580.jpg', '/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_34_9571.jpg', '/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_25_9573.jpg', '/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_15_10601.jpg', '/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_55_10595.jpg', '/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_35_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_45_10580.jpg
/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_34_9571.jpg
/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_25_9573.jpg
/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_15_10601.jpg
/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_55_10595.jpg
/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_35_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401293500","1401293503","1401293506","1401293502","1401293501","1401293504"],"photo_ids_order":["1401293500","1401293501","1401293502","1401293503","1401293504","1401293506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9c1a12a4d7dab9aa167785323408064.jpg","text":"TemporaryFile(/tmp/multipartBody2570150407563941554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852343487,"filename":"image_10122025_11_22_45_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b548de9b126c63de48609294159f44a.jpg","text":"TemporaryFile(/tmp/multipartBody6507682245596749407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852343487,"filename":"image_10122025_11_22_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d66f30b0fcb94b592755d938d1104d5a.jpg","text":"TemporaryFile(/tmp/multipartBody6960506064677849473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852343487,"filename":"image_10122025_11_21_35_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dfe57cc5f78b95bf41102c8efebb51b.jpg","text":"TemporaryFile(/tmp/multipartBody5647577510896167408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852343487,"filename":"image_10122025_11_22_25_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/911e701db8031b205ba4f1bc75f1e9ae.jpg","text":"TemporaryFile(/tmp/multipartBody138935517478744757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852343487,"filename":"image_10122025_11_22_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f05483a29932c895cfe8cdabe9c2f37.jpg","text":"TemporaryFile(/tmp/multipartBody6689367395711043042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852343487,"filename":"image_10122025_11_21_55_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401293502","file1":"1401293501","file0":"1401293500","file4":"1401293504","file5":"1401293506","file3":"1401293503"},"map_files_photo_id_array":[{"photo_id":"1401293506","filename":"file5"},{"photo_id":"1401293502","filename":"file2"},{"photo_id":"1401293504","filename":"file4"},{"photo_id":"1401293501","filename":"file1"},{"photo_id":"1401293500","filename":"file0"},{"photo_id":"1401293503","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401293500":["hashtag1","hashtag2"]},{"1401293503":["hashtag1","hashtag2"]},{"1401293506":["hashtag1","hashtag2"]},{"1401293502":["hashtag1","hashtag2"]},{"1401293501":["hashtag1","hashtag2"]},{"1401293504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401293500, 1401293503, 1401293506, 1401293502, 1401293501, 1401293504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33922362327576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:18:47.208264
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_25_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_14_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_21_05_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_54_9570.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_45_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_34_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_25_10595.jpg', '/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_14_9588.jpg', '/home/nano/Desktop/images/10122025/11/20/image_10122025_11_21_05_10588.jpg', '/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_54_9570.jpg', '/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_45_10582.jpg', '/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_34_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_25_10595.jpg
/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_14_9588.jpg
/home/nano/Desktop/images/10122025/11/20/image_10122025_11_21_05_10588.jpg
/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_54_9570.jpg
/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_45_10582.jpg
/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_34_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401293513","1401293512","1401293635","1401293542","1401293604","1401293573"],"photo_ids_order":["1401293512","1401293513","1401293542","1401293573","1401293604","1401293635"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1e654f3da2bd1d30493b4922ea8429c.jpg","text":"TemporaryFile(/tmp/multipartBody1624664342255660481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852387972,"filename":"image_10122025_11_21_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6380b208b431e82b31cd69f79eb2d794.jpg","text":"TemporaryFile(/tmp/multipartBody1334893665518126523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852387972,"filename":"image_10122025_11_21_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aae27a9ceb5b12411027b375f8001ea9.jpg","text":"TemporaryFile(/tmp/multipartBody3126127243800892122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852387972,"filename":"image_10122025_11_20_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d3024846595e55c25c7d0de5ab14022.jpg","text":"TemporaryFile(/tmp/multipartBody4001269508548726006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852387972,"filename":"image_10122025_11_21_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60884969741aedcb1aef13b78f2e6988.jpg","text":"TemporaryFile(/tmp/multipartBody5593128641064823576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852387972,"filename":"image_10122025_11_20_45_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ec1424a803a3903d060340c091d23b6.jpg","text":"TemporaryFile(/tmp/multipartBody4262046938309425928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852387972,"filename":"image_10122025_11_20_54_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401293542","file1":"1401293513","file0":"1401293512","file4":"1401293604","file5":"1401293635","file3":"1401293573"},"map_files_photo_id_array":[{"photo_id":"1401293635","filename":"file5"},{"photo_id":"1401293542","filename":"file2"},{"photo_id":"1401293604","filename":"file4"},{"photo_id":"1401293513","filename":"file1"},{"photo_id":"1401293512","filename":"file0"},{"photo_id":"1401293573","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401293513":["hashtag1","hashtag2"]},{"1401293512":["hashtag1","hashtag2"]},{"1401293635":["hashtag1","hashtag2"]},{"1401293542":["hashtag1","hashtag2"]},{"1401293604":["hashtag1","hashtag2"]},{"1401293573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401293513, 1401293512, 1401293635, 1401293542, 1401293604, 1401293573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02130484580994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:19:32.343308
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/17/19/image_27122025_17_19_54_10526.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/17/19/image_27122025_17_19_54_10526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/17/19/image_27122025_17_19_54_10526.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401293869"],"photo_id":"1401293869","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d08b7fb744a2a1978bed22d76ba43a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1624865498432425700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852432599,"filename":"image_27122025_17_19_54_10526.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401293869"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401293869"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.256248712539673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:19:47.306460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_25_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_15_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_20_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_55_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_44_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_35_9573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_25_9586.jpg', '/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_15_10612.jpg', '/home/nano/Desktop/images/10122025/11/19/image_10122025_11_20_04_9615.jpg', '/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_55_10582.jpg', '/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_44_9576.jpg', '/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_35_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_25_9586.jpg
/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_15_10612.jpg
/home/nano/Desktop/images/10122025/11/19/image_10122025_11_20_04_9615.jpg
/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_55_10582.jpg
/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_44_9576.jpg
/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_35_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401294061","1401294138","1401294122","1401293996","1401294029","1401294091"],"photo_ids_order":["1401293996","1401294029","1401294061","1401294091","1401294122","1401294138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e06dbd107a587d4b5d0bacd5e5d9684f.jpg","text":"TemporaryFile(/tmp/multipartBody2827595602117188301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852448091,"filename":"image_10122025_11_20_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/12/27/f4c5eae6d310d23e42709b586b68b545.jpg","text":"TemporaryFile(/tmp/multipartBody3893779105680670047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852448091,"filename":"image_10122025_11_19_35_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6247b20c652751f86f287f7d3d3013ff.jpg","text":"TemporaryFile(/tmp/multipartBody3787972297458386331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852448091,"filename":"image_10122025_11_19_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4999c2018a60ea110b22fd40ff87ace.jpg","text":"TemporaryFile(/tmp/multipartBody1681441256562188893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852448091,"filename":"image_10122025_11_20_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/072c443584291132e7acdc5eb53c4605.jpg","text":"TemporaryFile(/tmp/multipartBody6960316892275972786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852448091,"filename":"image_10122025_11_20_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4bb553fdb53ea4fde99a3dc46fa8450f.jpg","text":"TemporaryFile(/tmp/multipartBody7381290186549901028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852448091,"filename":"image_10122025_11_19_55_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294061","file1":"1401294029","file0":"1401293996","file4":"1401294122","file5":"1401294138","file3":"1401294091"},"map_files_photo_id_array":[{"photo_id":"1401294138","filename":"file5"},{"photo_id":"1401294061","filename":"file2"},{"photo_id":"1401294122","filename":"file4"},{"photo_id":"1401294029","filename":"file1"},{"photo_id":"1401293996","filename":"file0"},{"photo_id":"1401294091","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294061":["hashtag1","hashtag2"]},{"1401294138":["hashtag1","hashtag2"]},{"1401294122":["hashtag1","hashtag2"]},{"1401293996":["hashtag1","hashtag2"]},{"1401294029":["hashtag1","hashtag2"]},{"1401294091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294061, 1401294138, 1401294122, 1401293996, 1401294029, 1401294091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.175344944000244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:20:32.434051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_19_05_10665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_35_10712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_25_10587.jpg', '/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_14_9626.jpg', '/home/nano/Desktop/images/10122025/11/18/image_10122025_11_19_05_10665.jpg', '/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_54_9607.jpg', '/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_45_9617.jpg', '/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_35_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_25_10587.jpg
/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_14_9626.jpg
/home/nano/Desktop/images/10122025/11/18/image_10122025_11_19_05_10665.jpg
/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_54_9607.jpg
/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_45_9617.jpg
/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_35_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":["1401294160","1401294148","1401294157","1401294150","1401294161","1401294146"],"photo_ids_order":["1401294146","1401294148","1401294150","1401294157","1401294160","1401294161"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bb1533e51a37f2aafaabded508e2c02.jpg","text":"TemporaryFile(/tmp/multipartBody8843564714892586744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852493230,"filename":"image_10122025_11_18_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aeb260f5e110f996741a167442cbd97f.jpg","text":"TemporaryFile(/tmp/multipartBody283974232640182430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852493230,"filename":"image_10122025_11_19_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/12/27/6b90d67eff0395b12d2ec44b77d7295d.jpg","text":"TemporaryFile(/tmp/multipartBody1637102486514568560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852493230,"filename":"image_10122025_11_18_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/12/27/abd9472dfc0ed233e85ce93f55ee076e.jpg","text":"TemporaryFile(/tmp/multipartBody7865396342243765109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852493230,"filename":"image_10122025_11_19_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf9f729e75875a8bdb090cdd503d83a1.jpg","text":"TemporaryFile(/tmp/multipartBody2004231746240524297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852493230,"filename":"image_10122025_11_18_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acc0041c33db98fe2e3779f3bde9a06a.jpg","text":"TemporaryFile(/tmp/multipartBody4190877107745221200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852493230,"filename":"image_10122025_11_19_25_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294150","file1":"1401294148","file0":"1401294146","file4":"1401294160","file5":"1401294161","file3":"1401294157"},"map_files_photo_id_array":[{"photo_id":"1401294161","filename":"file5"},{"photo_id":"1401294150","filename":"file2"},{"photo_id":"1401294160","filename":"file4"},{"photo_id":"1401294148","filename":"file1"},{"photo_id":"1401294146","filename":"file0"},{"photo_id":"1401294157","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294160":["hashtag1","hashtag2"]},{"1401294148":["hashtag1","hashtag2"]},{"1401294157":["hashtag1","hashtag2"]},{"1401294150":["hashtag1","hashtag2"]},{"1401294161":["hashtag1","hashtag2"]},{"1401294146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294160, 1401294148, 1401294157, 1401294150, 1401294161, 1401294146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35727334022522 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:21:17.505225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_24_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_14_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_18_05_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_55_10764.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_44_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_34_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_24_9761.jpg', '/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_14_9778.jpg', '/home/nano/Desktop/images/10122025/11/17/image_10122025_11_18_05_9769.jpg', '/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_55_10764.jpg', '/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_44_9674.jpg', '/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_34_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_24_9761.jpg
/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_14_9778.jpg
/home/nano/Desktop/images/10122025/11/17/image_10122025_11_18_05_9769.jpg
/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_55_10764.jpg
/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_44_9674.jpg
/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_34_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":["1401294168","1401294162","1401294170","1401294163","1401294172","1401294166"],"photo_ids_order":["1401294162","1401294163","1401294166","1401294168","1401294170","1401294172"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ec2643e66fd3dcba1427031553fda13.jpg","text":"TemporaryFile(/tmp/multipartBody9078172650042148165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852538360,"filename":"image_10122025_11_17_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81fc94117547dc7145b27c9726e1ed23.jpg","text":"TemporaryFile(/tmp/multipartBody2933837120761369368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852538360,"filename":"image_10122025_11_18_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ad170edbf73fe1e5d3a4165dd8d6517.jpg","text":"TemporaryFile(/tmp/multipartBody8705389798240601875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852538360,"filename":"image_10122025_11_17_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/12/27/a6774d9b7b10872a75216703a69dd9a8.jpg","text":"TemporaryFile(/tmp/multipartBody5209691791658770975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852538360,"filename":"image_10122025_11_18_14_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/008850abd1b6e97f7139c2ff37587192.jpg","text":"TemporaryFile(/tmp/multipartBody3448597765655130669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852538360,"filename":"image_10122025_11_17_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/266a2c4312a44f97d4e57091bd622344.jpg","text":"TemporaryFile(/tmp/multipartBody5141502102213729026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852538360,"filename":"image_10122025_11_18_05_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294166","file1":"1401294163","file0":"1401294162","file4":"1401294170","file5":"1401294172","file3":"1401294168"},"map_files_photo_id_array":[{"photo_id":"1401294172","filename":"file5"},{"photo_id":"1401294166","filename":"file2"},{"photo_id":"1401294170","filename":"file4"},{"photo_id":"1401294163","filename":"file1"},{"photo_id":"1401294162","filename":"file0"},{"photo_id":"1401294168","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294168":["hashtag1","hashtag2"]},{"1401294162":["hashtag1","hashtag2"]},{"1401294170":["hashtag1","hashtag2"]},{"1401294163":["hashtag1","hashtag2"]},{"1401294172":["hashtag1","hashtag2"]},{"1401294166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294168, 1401294162, 1401294170, 1401294163, 1401294172, 1401294166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6388885974884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:22:03.161027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_14_9779.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_17_04_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_55_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_25_10649.jpg', '/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_14_9779.jpg', '/home/nano/Desktop/images/10122025/11/16/image_10122025_11_17_04_9696.jpg', '/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_55_9636.jpg', '/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_45_10638.jpg', '/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_25_10649.jpg
/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_14_9779.jpg
/home/nano/Desktop/images/10122025/11/16/image_10122025_11_17_04_9696.jpg
/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_55_9636.jpg
/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_45_10638.jpg
/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_34_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":["1401294186","1401294185","1401294188","1401294190","1401294184","1401294187"],"photo_ids_order":["1401294184","1401294185","1401294186","1401294187","1401294188","1401294190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f40b3ee14a48722adb9159efe34c5153.jpg","text":"TemporaryFile(/tmp/multipartBody736020362000585564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852583991,"filename":"image_10122025_11_17_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/266a5106eab03ee98480e191712844a4.jpg","text":"TemporaryFile(/tmp/multipartBody251221134835346829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852583991,"filename":"image_10122025_11_17_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f457a8987583668a0d87a55440bd5ffc.jpg","text":"TemporaryFile(/tmp/multipartBody646843287120004630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852583991,"filename":"image_10122025_11_16_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4d3b791199ef11b556c3992498e2dd2.jpg","text":"TemporaryFile(/tmp/multipartBody2641672406434855788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852583991,"filename":"image_10122025_11_16_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/12/27/bac8229a27eb5d7122f1def8b05b0410.jpg","text":"TemporaryFile(/tmp/multipartBody2086811093585656280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852583991,"filename":"image_10122025_11_17_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b67de4ce772b90447faff76af2208d5.jpg","text":"TemporaryFile(/tmp/multipartBody3085883191184525466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852583991,"filename":"image_10122025_11_16_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294186","file1":"1401294185","file0":"1401294184","file4":"1401294188","file5":"1401294190","file3":"1401294187"},"map_files_photo_id_array":[{"photo_id":"1401294190","filename":"file5"},{"photo_id":"1401294186","filename":"file2"},{"photo_id":"1401294188","filename":"file4"},{"photo_id":"1401294185","filename":"file1"},{"photo_id":"1401294184","filename":"file0"},{"photo_id":"1401294187","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294186":["hashtag1","hashtag2"]},{"1401294185":["hashtag1","hashtag2"]},{"1401294188":["hashtag1","hashtag2"]},{"1401294190":["hashtag1","hashtag2"]},{"1401294184":["hashtag1","hashtag2"]},{"1401294187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294186, 1401294185, 1401294188, 1401294190, 1401294184, 1401294187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7483971118927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:22:47.616311
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_25_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_16_04_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_54_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_35_10775.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_24_9750.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_25_9760.jpg', '/home/nano/Desktop/images/10122025/11/15/image_10122025_11_16_04_9787.jpg', '/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_54_9778.jpg', '/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_45_9605.jpg', '/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_35_10775.jpg', '/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_24_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_25_9760.jpg
/home/nano/Desktop/images/10122025/11/15/image_10122025_11_16_04_9787.jpg
/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_54_9778.jpg
/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_45_9605.jpg
/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_35_10775.jpg
/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_24_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401294235","1401294237","1401294231","1401294234","1401294236","1401294227"],"photo_ids_order":["1401294227","1401294231","1401294234","1401294235","1401294236","1401294237"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78037ab05efef714a1a8a227d7a0b21a.jpg","text":"TemporaryFile(/tmp/multipartBody7163692542821732889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852628446,"filename":"image_10122025_11_15_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4664d8c0f4fe8dc3ac525af9534adbfa.jpg","text":"TemporaryFile(/tmp/multipartBody7367339565677141392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852628446,"filename":"image_10122025_11_15_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65d142d11947ce82f9a04f063f63e468.jpg","text":"TemporaryFile(/tmp/multipartBody1057606672374404255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852628446,"filename":"image_10122025_11_16_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c0450620df6e3faef4ba5fec5430934.jpg","text":"TemporaryFile(/tmp/multipartBody1907360799654910716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852628446,"filename":"image_10122025_11_15_54_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d9e2def1c8558734b04d0d1db637a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2024289626015122600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852628446,"filename":"image_10122025_11_15_35_10775.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9d33b913840aa8edd0051444d6649ef.jpg","text":"TemporaryFile(/tmp/multipartBody9160784280868126626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852628446,"filename":"image_10122025_11_16_25_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294234","file1":"1401294231","file0":"1401294227","file4":"1401294236","file5":"1401294237","file3":"1401294235"},"map_files_photo_id_array":[{"photo_id":"1401294237","filename":"file5"},{"photo_id":"1401294234","filename":"file2"},{"photo_id":"1401294236","filename":"file4"},{"photo_id":"1401294231","filename":"file1"},{"photo_id":"1401294227","filename":"file0"},{"photo_id":"1401294235","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294235":["hashtag1","hashtag2"]},{"1401294237":["hashtag1","hashtag2"]},{"1401294231":["hashtag1","hashtag2"]},{"1401294234":["hashtag1","hashtag2"]},{"1401294236":["hashtag1","hashtag2"]},{"1401294227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294235, 1401294237, 1401294231, 1401294234, 1401294236, 1401294227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52481722831726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:23:32.744145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_15_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_15_05_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_55_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_44_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_35_9791.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_25_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_15_9646.jpg', '/home/nano/Desktop/images/10122025/11/14/image_10122025_11_15_05_9787.jpg', '/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_55_10660.jpg', '/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_44_9787.jpg', '/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_35_9791.jpg', '/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_25_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_15_9646.jpg
/home/nano/Desktop/images/10122025/11/14/image_10122025_11_15_05_9787.jpg
/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_55_10660.jpg
/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_44_9787.jpg
/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_35_9791.jpg
/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_25_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":["1401294241","1401294243","1401294252","1401294251","1401294245","1401294250"],"photo_ids_order":["1401294241","1401294243","1401294245","1401294250","1401294251","1401294252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb2f00a445abe3e7135e1eabcc455fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3492542861017713769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852673584,"filename":"image_10122025_11_15_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7439258685e19eadbbb7ff804a538df.jpg","text":"TemporaryFile(/tmp/multipartBody4205171650486672621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852673584,"filename":"image_10122025_11_15_05_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93b97411ad9bb975e4d2fb65fe666e37.jpg","text":"TemporaryFile(/tmp/multipartBody6595993747438803281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852673584,"filename":"image_10122025_11_14_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8c0b268e3cc0b2469317b6dccf987d3.jpg","text":"TemporaryFile(/tmp/multipartBody2462907771946949773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852673584,"filename":"image_10122025_11_14_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cf91bed0b2b85af9a685d24e624ea86.jpg","text":"TemporaryFile(/tmp/multipartBody8152823366313969596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852673584,"filename":"image_10122025_11_14_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8713ef701f1fa31ed4caeb5c8ed17213.jpg","text":"TemporaryFile(/tmp/multipartBody4364428816733784677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852673584,"filename":"image_10122025_11_14_44_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294245","file1":"1401294243","file0":"1401294241","file4":"1401294251","file5":"1401294252","file3":"1401294250"},"map_files_photo_id_array":[{"photo_id":"1401294252","filename":"file5"},{"photo_id":"1401294245","filename":"file2"},{"photo_id":"1401294251","filename":"file4"},{"photo_id":"1401294243","filename":"file1"},{"photo_id":"1401294241","filename":"file0"},{"photo_id":"1401294250","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294241":["hashtag1","hashtag2"]},{"1401294243":["hashtag1","hashtag2"]},{"1401294252":["hashtag1","hashtag2"]},{"1401294251":["hashtag1","hashtag2"]},{"1401294245":["hashtag1","hashtag2"]},{"1401294250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294241, 1401294243, 1401294252, 1401294251, 1401294245, 1401294250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07520246505737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:24:16.837928
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_14_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_14_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_55_9762.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_45_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_34_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_25_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_14_9683.jpg', '/home/nano/Desktop/images/10122025/11/13/image_10122025_11_14_04_9640.jpg', '/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_55_9762.jpg', '/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_45_10707.jpg', '/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_34_9657.jpg', '/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_25_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_14_9683.jpg
/home/nano/Desktop/images/10122025/11/13/image_10122025_11_14_04_9640.jpg
/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_55_9762.jpg
/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_45_10707.jpg
/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_34_9657.jpg
/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_25_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":["1401294253","1401294256","1401294258","1401294260","1401294254","1401294262"],"photo_ids_order":["1401294253","1401294254","1401294256","1401294258","1401294260","1401294262"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a952de1a6bb925b3d1028bf853fbdffe.jpg","text":"TemporaryFile(/tmp/multipartBody111416611990715592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852717657,"filename":"image_10122025_11_14_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/12/27/2846b2593e20a566266217ab3fa822e3.jpg","text":"TemporaryFile(/tmp/multipartBody354697290267900222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852717657,"filename":"image_10122025_11_13_55_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16057a22d9c00a904b9fb240c28c8414.jpg","text":"TemporaryFile(/tmp/multipartBody2986735233758638988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852717657,"filename":"image_10122025_11_13_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/091e5d09b2622d167083701c418f45e6.jpg","text":"TemporaryFile(/tmp/multipartBody1066946630869884817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852717657,"filename":"image_10122025_11_13_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/12/27/c9768087150b6862ac9444c4811f5934.jpg","text":"TemporaryFile(/tmp/multipartBody6207567104089745212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852717657,"filename":"image_10122025_11_14_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/12/27/7a0d45b74cab675e0dc2c66ab5be9624.jpg","text":"TemporaryFile(/tmp/multipartBody1256899358749160234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852717657,"filename":"image_10122025_11_13_25_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294256","file1":"1401294254","file0":"1401294253","file4":"1401294260","file5":"1401294262","file3":"1401294258"},"map_files_photo_id_array":[{"photo_id":"1401294262","filename":"file5"},{"photo_id":"1401294256","filename":"file2"},{"photo_id":"1401294260","filename":"file4"},{"photo_id":"1401294254","filename":"file1"},{"photo_id":"1401294253","filename":"file0"},{"photo_id":"1401294258","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294253":["hashtag1","hashtag2"]},{"1401294256":["hashtag1","hashtag2"]},{"1401294258":["hashtag1","hashtag2"]},{"1401294260":["hashtag1","hashtag2"]},{"1401294254":["hashtag1","hashtag2"]},{"1401294262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294253, 1401294256, 1401294258, 1401294260, 1401294254, 1401294262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77678561210632 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:25:02.668124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_15_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_13_04_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_55_9702.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_45_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_34_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_25_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_15_10725.jpg', '/home/nano/Desktop/images/10122025/11/12/image_10122025_11_13_04_9740.jpg', '/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_55_9702.jpg', '/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_45_10677.jpg', '/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_34_9646.jpg', '/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_25_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_15_10725.jpg
/home/nano/Desktop/images/10122025/11/12/image_10122025_11_13_04_9740.jpg
/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_55_9702.jpg
/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_45_10677.jpg
/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_34_9646.jpg
/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_25_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":["1401294274","1401294268","1401294267","1401294270","1401294269","1401294271"],"photo_ids_order":["1401294267","1401294268","1401294269","1401294270","1401294271","1401294274"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77ff43d8216feb72f53ff7f826ef2250.jpg","text":"TemporaryFile(/tmp/multipartBody627743231732104091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852763590,"filename":"image_10122025_11_12_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06320995f77bd0a0886a8d7b7597c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody64405735646505664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852763590,"filename":"image_10122025_11_13_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa3bf9eb093928df2453ccaa8431a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody6213408172631755959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852763590,"filename":"image_10122025_11_13_15_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8622cf04344fd7e886210c11a69f69cb.jpg","text":"TemporaryFile(/tmp/multipartBody5406226325519848179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852763590,"filename":"image_10122025_11_12_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37b5cbfb6d621f182b9d5cb778ea9349.jpg","text":"TemporaryFile(/tmp/multipartBody8021987808042447398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852763590,"filename":"image_10122025_11_12_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dc89cf4512d6438dcbcec2c4bad7f57.jpg","text":"TemporaryFile(/tmp/multipartBody1535859914125315220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852763590,"filename":"image_10122025_11_12_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294269","file1":"1401294268","file0":"1401294267","file4":"1401294271","file5":"1401294274","file3":"1401294270"},"map_files_photo_id_array":[{"photo_id":"1401294274","filename":"file5"},{"photo_id":"1401294269","filename":"file2"},{"photo_id":"1401294271","filename":"file4"},{"photo_id":"1401294268","filename":"file1"},{"photo_id":"1401294267","filename":"file0"},{"photo_id":"1401294270","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294274":["hashtag1","hashtag2"]},{"1401294268":["hashtag1","hashtag2"]},{"1401294267":["hashtag1","hashtag2"]},{"1401294270":["hashtag1","hashtag2"]},{"1401294269":["hashtag1","hashtag2"]},{"1401294271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294274, 1401294268, 1401294267, 1401294270, 1401294269, 1401294271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76922106742859 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:25:46.899025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_12_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_25_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_15_10623.jpg', '/home/nano/Desktop/images/10122025/11/11/image_10122025_11_12_04_9610.jpg', '/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_55_9604.jpg', '/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_45_10611.jpg', '/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_34_9601.jpg', '/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_25_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_15_10623.jpg
/home/nano/Desktop/images/10122025/11/11/image_10122025_11_12_04_9610.jpg
/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_55_9604.jpg
/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_45_10611.jpg
/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_34_9601.jpg
/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_25_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":["1401294301","1401294282","1401294279","1401294278","1401294281","1401294280"],"photo_ids_order":["1401294278","1401294279","1401294280","1401294281","1401294282","1401294301"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8a37589cf8b97f28e5b46e2cdeb71dc.jpg","text":"TemporaryFile(/tmp/multipartBody3932669985539740494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852807692,"filename":"image_10122025_11_11_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a981bd046a5a5c146702608c695d9ac4.jpg","text":"TemporaryFile(/tmp/multipartBody5587624229698633181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852807692,"filename":"image_10122025_11_11_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/12/27/0361d8458ebc678be467622ec7cf174b.jpg","text":"TemporaryFile(/tmp/multipartBody659681588539833176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852807692,"filename":"image_10122025_11_12_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/12/27/e1e3ab01766155bba6f2c26bc82ed743.jpg","text":"TemporaryFile(/tmp/multipartBody5937760293447682352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852807692,"filename":"image_10122025_11_12_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5518c6c2a68616fd31a79d6585f49dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6797716768179819626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852807692,"filename":"image_10122025_11_11_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0031d5b96b55b1adf442d5deb6cb1fab.jpg","text":"TemporaryFile(/tmp/multipartBody9210544086237574614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852807692,"filename":"image_10122025_11_11_55_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294280","file1":"1401294279","file0":"1401294278","file4":"1401294282","file5":"1401294301","file3":"1401294281"},"map_files_photo_id_array":[{"photo_id":"1401294301","filename":"file5"},{"photo_id":"1401294280","filename":"file2"},{"photo_id":"1401294282","filename":"file4"},{"photo_id":"1401294279","filename":"file1"},{"photo_id":"1401294278","filename":"file0"},{"photo_id":"1401294281","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294301":["hashtag1","hashtag2"]},{"1401294282":["hashtag1","hashtag2"]},{"1401294279":["hashtag1","hashtag2"]},{"1401294278":["hashtag1","hashtag2"]},{"1401294281":["hashtag1","hashtag2"]},{"1401294280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294301, 1401294282, 1401294279, 1401294278, 1401294281, 1401294280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66585159301758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:26:31.997424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_11_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_24_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_14_9621.jpg', '/home/nano/Desktop/images/10122025/11/10/image_10122025_11_11_05_9621.jpg', '/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_55_10611.jpg', '/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_44_9621.jpg', '/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_35_10618.jpg', '/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_24_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_14_9621.jpg
/home/nano/Desktop/images/10122025/11/10/image_10122025_11_11_05_9621.jpg
/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_55_10611.jpg
/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_44_9621.jpg
/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_35_10618.jpg
/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_24_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":["1401294406","1401294402","1401294411","1401294414","1401294416","1401294404"],"photo_ids_order":["1401294402","1401294404","1401294406","1401294411","1401294414","1401294416"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f886009ade7f9dbf6b310e4a9f6738f3.jpg","text":"TemporaryFile(/tmp/multipartBody7403720136666791352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852852787,"filename":"image_10122025_11_10_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84337d27f9d32d321f0fbf05d70e7840.jpg","text":"TemporaryFile(/tmp/multipartBody7983704722719101715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852852787,"filename":"image_10122025_11_11_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42ad4e40d922adfec2dac538a404b8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3212228047845867812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852852787,"filename":"image_10122025_11_10_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/12/27/eb1e7d0289b3efe63f4aeb2c8423d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1661900038859461580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852852787,"filename":"image_10122025_11_10_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d178ebbe3c180aa7e659678c5ec89afb.jpg","text":"TemporaryFile(/tmp/multipartBody6208414554736703640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852852787,"filename":"image_10122025_11_10_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/12/27/f585537482eb326768be556a48058e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1867295442948329828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852852787,"filename":"image_10122025_11_11_05_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294406","file1":"1401294404","file0":"1401294402","file4":"1401294414","file5":"1401294416","file3":"1401294411"},"map_files_photo_id_array":[{"photo_id":"1401294416","filename":"file5"},{"photo_id":"1401294406","filename":"file2"},{"photo_id":"1401294414","filename":"file4"},{"photo_id":"1401294404","filename":"file1"},{"photo_id":"1401294402","filename":"file0"},{"photo_id":"1401294411","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294406":["hashtag1","hashtag2"]},{"1401294402":["hashtag1","hashtag2"]},{"1401294411":["hashtag1","hashtag2"]},{"1401294414":["hashtag1","hashtag2"]},{"1401294416":["hashtag1","hashtag2"]},{"1401294404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294406, 1401294402, 1401294411, 1401294414, 1401294416, 1401294404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5717191696167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:27:17.105290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_10_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_24_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_15_9618.jpg', '/home/nano/Desktop/images/10122025/11/09/image_10122025_11_10_05_10627.jpg', '/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_54_9609.jpg', '/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_45_9623.jpg', '/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_35_10614.jpg', '/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_15_9618.jpg
/home/nano/Desktop/images/10122025/11/09/image_10122025_11_10_05_10627.jpg
/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_54_9609.jpg
/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_45_9623.jpg
/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_35_10614.jpg
/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_24_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":["1401294427","1401294421","1401294429","1401294420","1401294423","1401294425"],"photo_ids_order":["1401294420","1401294421","1401294423","1401294425","1401294427","1401294429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6be432ecd75c6f39989d4b3524ab2c32.jpg","text":"TemporaryFile(/tmp/multipartBody7475678286151562864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852897921,"filename":"image_10122025_11_09_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d0dca2b5bc9a3d1edf0a5a814642f76.jpg","text":"TemporaryFile(/tmp/multipartBody9136880952385155893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852897921,"filename":"image_10122025_11_10_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fa85eda7c53f9d52f54cff1dd5adb5a.jpg","text":"TemporaryFile(/tmp/multipartBody5299870341069905817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852897921,"filename":"image_10122025_11_09_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/12/27/2548e73fbfe2f4e5e0f140f3f1361c92.jpg","text":"TemporaryFile(/tmp/multipartBody2823940620181972715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852897921,"filename":"image_10122025_11_10_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3442788148de56e7a6a33550664d3842.jpg","text":"TemporaryFile(/tmp/multipartBody5693663063466235429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852897921,"filename":"image_10122025_11_09_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/12/27/51eae787272ee520cd165a3ed3a629de.jpg","text":"TemporaryFile(/tmp/multipartBody7319439756420647332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852897921,"filename":"image_10122025_11_09_45_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294423","file1":"1401294421","file0":"1401294420","file4":"1401294427","file5":"1401294429","file3":"1401294425"},"map_files_photo_id_array":[{"photo_id":"1401294429","filename":"file5"},{"photo_id":"1401294423","filename":"file2"},{"photo_id":"1401294427","filename":"file4"},{"photo_id":"1401294421","filename":"file1"},{"photo_id":"1401294420","filename":"file0"},{"photo_id":"1401294425","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294427":["hashtag1","hashtag2"]},{"1401294421":["hashtag1","hashtag2"]},{"1401294429":["hashtag1","hashtag2"]},{"1401294420":["hashtag1","hashtag2"]},{"1401294423":["hashtag1","hashtag2"]},{"1401294425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294427, 1401294421, 1401294429, 1401294420, 1401294423, 1401294425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5286545753479 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:28:02.783246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_09_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_55_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_14_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_15_10652.jpg', '/home/nano/Desktop/images/10122025/11/08/image_10122025_11_09_04_9618.jpg', '/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_55_9596.jpg', '/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_45_10612.jpg', '/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_25_10610.jpg', '/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_14_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_15_10652.jpg
/home/nano/Desktop/images/10122025/11/08/image_10122025_11_09_04_9618.jpg
/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_55_9596.jpg
/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_45_10612.jpg
/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_25_10610.jpg
/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_14_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":["1401294435","1401294438","1401294432","1401294434","1401294437","1401294436"],"photo_ids_order":["1401294432","1401294434","1401294435","1401294436","1401294437","1401294438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/349d819d6c264df720653c906372fa3e.jpg","text":"TemporaryFile(/tmp/multipartBody3687893949605198842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852943587,"filename":"image_10122025_11_08_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82c4312a13bf7dfd376a1f24b1ebfed1.jpg","text":"TemporaryFile(/tmp/multipartBody7205044251082634681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852943587,"filename":"image_10122025_11_08_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/12/27/f7bde0fab8062dfeaa478d56b8be06fb.jpg","text":"TemporaryFile(/tmp/multipartBody6047748906505430099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852943587,"filename":"image_10122025_11_09_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90cb68a1552a5c770e9034fa52ce6b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6031498584922081597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852943587,"filename":"image_10122025_11_09_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/12/27/715895cf4032e29461c6b88ce1c4b51f.jpg","text":"TemporaryFile(/tmp/multipartBody6889256429145844179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852943587,"filename":"image_10122025_11_08_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c448b6dc646731514210927787a8aa2.jpg","text":"TemporaryFile(/tmp/multipartBody1120992697390991771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766852943587,"filename":"image_10122025_11_08_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294435","file1":"1401294434","file0":"1401294432","file4":"1401294437","file5":"1401294438","file3":"1401294436"},"map_files_photo_id_array":[{"photo_id":"1401294438","filename":"file5"},{"photo_id":"1401294435","filename":"file2"},{"photo_id":"1401294437","filename":"file4"},{"photo_id":"1401294434","filename":"file1"},{"photo_id":"1401294432","filename":"file0"},{"photo_id":"1401294436","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294435":["hashtag1","hashtag2"]},{"1401294438":["hashtag1","hashtag2"]},{"1401294432":["hashtag1","hashtag2"]},{"1401294434":["hashtag1","hashtag2"]},{"1401294437":["hashtag1","hashtag2"]},{"1401294436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294435, 1401294438, 1401294432, 1401294434, 1401294437, 1401294436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.094406604766846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:28:47.281301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_9604.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.669196367263794 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:29:03.458458
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg', '/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg
/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_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":["1401294482","1401294491","1401294485","1401294455","1401294481","1401294484"],"photo_ids_order":["1401294455","1401294481","1401294482","1401294484","1401294485","1401294491"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83fad8d42a30106f825ee2dc407d8e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2991760259950761240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853004312,"filename":"image_10122025_11_07_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/12/27/10cad1be59b5daff19d980da699482dc.jpg","text":"TemporaryFile(/tmp/multipartBody7846118384922297614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853004312,"filename":"image_10122025_11_07_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7afbb477737ce7b6bf9f75c1ecbc504f.jpg","text":"TemporaryFile(/tmp/multipartBody1525528512896683834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853004312,"filename":"image_10122025_11_07_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ddd385bd01db056224931ed682028060.jpg","text":"TemporaryFile(/tmp/multipartBody7326550649163138147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853004312,"filename":"image_10122025_11_08_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5632128777c61e8581dea37f9af03a8e.jpg","text":"TemporaryFile(/tmp/multipartBody1870716562748521779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853004312,"filename":"image_10122025_11_07_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b40d2630618a66b7c33b65d39f77c09c.jpg","text":"TemporaryFile(/tmp/multipartBody4115323974103410089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853004312,"filename":"image_10122025_11_07_35_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294482","file1":"1401294481","file0":"1401294455","file4":"1401294485","file5":"1401294491","file3":"1401294484"},"map_files_photo_id_array":[{"photo_id":"1401294491","filename":"file5"},{"photo_id":"1401294482","filename":"file2"},{"photo_id":"1401294485","filename":"file4"},{"photo_id":"1401294481","filename":"file1"},{"photo_id":"1401294455","filename":"file0"},{"photo_id":"1401294484","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294482":["hashtag1","hashtag2"]},{"1401294491":["hashtag1","hashtag2"]},{"1401294485":["hashtag1","hashtag2"]},{"1401294455":["hashtag1","hashtag2"]},{"1401294481":["hashtag1","hashtag2"]},{"1401294484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294482, 1401294491, 1401294485, 1401294455, 1401294481, 1401294484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55737924575806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:29:47.449894
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_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
uploaded 0 photos
time to upload: 38.84670639038086 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8bpdk9bbn</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8bpdk9bbn</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:30:32.623909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg', '/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg
/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_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":["1401294520","1401294513","1401294512","1401294521","1401294515","1401294518"],"photo_ids_order":["1401294512","1401294513","1401294515","1401294518","1401294520","1401294521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/658f69470d9ec87d46e6683221779751.jpg","text":"TemporaryFile(/tmp/multipartBody1790600900012661037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853093420,"filename":"image_10122025_11_06_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/12/27/5636f4740ca8c342ed39c1025fa8ec83.jpg","text":"TemporaryFile(/tmp/multipartBody2595926207584430703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853093420,"filename":"image_10122025_11_06_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/12/27/b19716695e18e9cb1086a2a35f11df57.jpg","text":"TemporaryFile(/tmp/multipartBody308710316379226747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853093420,"filename":"image_10122025_11_07_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49280fcceb9dc8d4efc4873dbee04b6a.jpg","text":"TemporaryFile(/tmp/multipartBody4262487743500123835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853093420,"filename":"image_10122025_11_06_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ca95141a364647d89936fba11021747.jpg","text":"TemporaryFile(/tmp/multipartBody6105806074759364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853093420,"filename":"image_10122025_11_06_45_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d031bcbb32f5308baa88eb43575b3b12.jpg","text":"TemporaryFile(/tmp/multipartBody201708561889415430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853093420,"filename":"image_10122025_11_06_35_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294515","file1":"1401294513","file0":"1401294512","file4":"1401294520","file5":"1401294521","file3":"1401294518"},"map_files_photo_id_array":[{"photo_id":"1401294521","filename":"file5"},{"photo_id":"1401294515","filename":"file2"},{"photo_id":"1401294520","filename":"file4"},{"photo_id":"1401294513","filename":"file1"},{"photo_id":"1401294512","filename":"file0"},{"photo_id":"1401294518","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294520":["hashtag1","hashtag2"]},{"1401294513":["hashtag1","hashtag2"]},{"1401294512":["hashtag1","hashtag2"]},{"1401294521":["hashtag1","hashtag2"]},{"1401294515":["hashtag1","hashtag2"]},{"1401294518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294520, 1401294513, 1401294512, 1401294521, 1401294515, 1401294518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.084593772888184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:31:17.648027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_06_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_14_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/05/image_10122025_11_06_04_9605.jpg', '/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_55_9600.jpg', '/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_45_10611.jpg', '/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_34_9605.jpg', '/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_25_10610.jpg', '/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_14_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/05/image_10122025_11_06_04_9605.jpg
/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_55_9600.jpg
/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_45_10611.jpg
/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_34_9605.jpg
/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_25_10610.jpg
/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_14_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":["1401294664","1401294637","1401294675","1401294669","1401294701","1401294652"],"photo_ids_order":["1401294637","1401294652","1401294664","1401294669","1401294675","1401294701"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21a6da6827b3638e771980cd2fe62fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7343853730744964342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853138440,"filename":"image_10122025_11_05_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aaa89b52f81de697f0695a2be1d3b9c1.jpg","text":"TemporaryFile(/tmp/multipartBody6217321484330031788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853138440,"filename":"image_10122025_11_06_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/12/27/f57cfc2803986d0db063243144b83381.jpg","text":"TemporaryFile(/tmp/multipartBody3893459210545124341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853138440,"filename":"image_10122025_11_05_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1bb7ff59388cf63927c3d98b0a053f1e.jpg","text":"TemporaryFile(/tmp/multipartBody7883163167453525342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853138440,"filename":"image_10122025_11_05_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/12/27/f2016cfa49ae638bb5ce7862851969b1.jpg","text":"TemporaryFile(/tmp/multipartBody1403395915128198338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853138440,"filename":"image_10122025_11_05_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/12/27/72a0d291745ba76738533b741bdd287c.jpg","text":"TemporaryFile(/tmp/multipartBody2658480072477983522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853138440,"filename":"image_10122025_11_05_55_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294664","file1":"1401294652","file0":"1401294637","file4":"1401294675","file5":"1401294701","file3":"1401294669"},"map_files_photo_id_array":[{"photo_id":"1401294701","filename":"file5"},{"photo_id":"1401294664","filename":"file2"},{"photo_id":"1401294675","filename":"file4"},{"photo_id":"1401294652","filename":"file1"},{"photo_id":"1401294637","filename":"file0"},{"photo_id":"1401294669","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294664":["hashtag1","hashtag2"]},{"1401294637":["hashtag1","hashtag2"]},{"1401294675":["hashtag1","hashtag2"]},{"1401294669":["hashtag1","hashtag2"]},{"1401294701":["hashtag1","hashtag2"]},{"1401294652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294664, 1401294637, 1401294675, 1401294669, 1401294701, 1401294652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13713097572327 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:32:02.315824
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_05_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_15_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/04/image_10122025_11_05_05_9617.jpg', '/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_55_10621.jpg', '/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_44_9601.jpg', '/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_35_10608.jpg', '/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_24_9599.jpg', '/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_15_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/04/image_10122025_11_05_05_9617.jpg
/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_55_10621.jpg
/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_44_9601.jpg
/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_35_10608.jpg
/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_24_9599.jpg
/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_15_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":["1401294903","1401294968","1401294782","1401294842","1401294752","1401294719"],"photo_ids_order":["1401294719","1401294752","1401294782","1401294842","1401294903","1401294968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/645bd013622af06f9e99b74a7b605296.jpg","text":"TemporaryFile(/tmp/multipartBody4987755923265744125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853183168,"filename":"image_10122025_11_04_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/12/27/774053fb88206dc9c4ae1eef4a874ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7978973706858278864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853183168,"filename":"image_10122025_11_04_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/704df4d5643619cad3c0cfd74c58d94e.jpg","text":"TemporaryFile(/tmp/multipartBody7406036130980760304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853183168,"filename":"image_10122025_11_04_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/12/27/af138bfc2142fe25b498d59711fd6ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8101133194287873456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853183168,"filename":"image_10122025_11_04_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0867f649ca9383a5bef2a4dd7fc75142.jpg","text":"TemporaryFile(/tmp/multipartBody3329024816035622276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853183168,"filename":"image_10122025_11_04_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82651defddc91917bfc3d13f442f85ae.jpg","text":"TemporaryFile(/tmp/multipartBody8182015395947578550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853183168,"filename":"image_10122025_11_05_05_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401294782","file1":"1401294752","file0":"1401294719","file4":"1401294903","file5":"1401294968","file3":"1401294842"},"map_files_photo_id_array":[{"photo_id":"1401294968","filename":"file5"},{"photo_id":"1401294782","filename":"file2"},{"photo_id":"1401294903","filename":"file4"},{"photo_id":"1401294752","filename":"file1"},{"photo_id":"1401294719","filename":"file0"},{"photo_id":"1401294842","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401294903":["hashtag1","hashtag2"]},{"1401294968":["hashtag1","hashtag2"]},{"1401294782":["hashtag1","hashtag2"]},{"1401294842":["hashtag1","hashtag2"]},{"1401294752":["hashtag1","hashtag2"]},{"1401294719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401294903, 1401294968, 1401294782, 1401294842, 1401294752, 1401294719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87472438812256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:32:46.764849
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_03_04_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/03/image_10122025_11_04_05_10627.jpg', '/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_54_9621.jpg', '/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_45_9624.jpg', '/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_35_10613.jpg', '/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_15_10620.jpg', '/home/nano/Desktop/images/10122025/11/02/image_10122025_11_03_04_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/03/image_10122025_11_04_05_10627.jpg
/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_54_9621.jpg
/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_45_9624.jpg
/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_35_10613.jpg
/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_15_10620.jpg
/home/nano/Desktop/images/10122025/11/02/image_10122025_11_03_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":["1401295281","1401295248","1401295233","1401295325","1401295232","1401295313"],"photo_ids_order":["1401295232","1401295233","1401295248","1401295281","1401295313","1401295325"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d01ee7abda9bc28547285b9cd0372d26.jpg","text":"TemporaryFile(/tmp/multipartBody3461791276028234319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853227575,"filename":"image_10122025_11_03_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2e5286766623d2c27fdb144d4519a80.jpg","text":"TemporaryFile(/tmp/multipartBody3474214545819886882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853227575,"filename":"image_10122025_11_03_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26609c47727783d1a5380a7dbcd7a226.jpg","text":"TemporaryFile(/tmp/multipartBody4039135647418979864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853227575,"filename":"image_10122025_11_03_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/12/27/6943339315cbb2e29ae96d26ecfb7960.jpg","text":"TemporaryFile(/tmp/multipartBody7506592960978534670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853227575,"filename":"image_10122025_11_03_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/12/27/bb6f3d8395e7dafad0f70c623417a0c2.jpg","text":"TemporaryFile(/tmp/multipartBody1713831790054593577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853227575,"filename":"image_10122025_11_04_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/354642f018062d95cc29dced2cf2903e.jpg","text":"TemporaryFile(/tmp/multipartBody8145246955377227612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853227575,"filename":"image_10122025_11_03_15_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295248","file1":"1401295233","file0":"1401295232","file4":"1401295313","file5":"1401295325","file3":"1401295281"},"map_files_photo_id_array":[{"photo_id":"1401295325","filename":"file5"},{"photo_id":"1401295248","filename":"file2"},{"photo_id":"1401295313","filename":"file4"},{"photo_id":"1401295233","filename":"file1"},{"photo_id":"1401295232","filename":"file0"},{"photo_id":"1401295281","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295281":["hashtag1","hashtag2"]},{"1401295248":["hashtag1","hashtag2"]},{"1401295233":["hashtag1","hashtag2"]},{"1401295325":["hashtag1","hashtag2"]},{"1401295232":["hashtag1","hashtag2"]},{"1401295313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295281, 1401295248, 1401295233, 1401295325, 1401295232, 1401295313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31286430358887 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:33:31.851056
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_55_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_02_04_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_55_9599.jpg', '/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_45_10607.jpg', '/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_34_9598.jpg', '/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_25_10614.jpg', '/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_14_9642.jpg', '/home/nano/Desktop/images/10122025/11/01/image_10122025_11_02_04_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_55_9599.jpg
/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_45_10607.jpg
/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_34_9598.jpg
/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_25_10614.jpg
/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_14_9642.jpg
/home/nano/Desktop/images/10122025/11/01/image_10122025_11_02_04_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":["1401295452","1401295374","1401295451","1401295366","1401295438","1401295405"],"photo_ids_order":["1401295366","1401295374","1401295405","1401295438","1401295451","1401295452"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4615994915583a2c2f8ce97805dcc0a.jpg","text":"TemporaryFile(/tmp/multipartBody4695725339243727462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853272647,"filename":"image_10122025_11_02_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/12/27/a2c2e11a1bd78f2cf41291c4ecf2664c.jpg","text":"TemporaryFile(/tmp/multipartBody126085357787079290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853272647,"filename":"image_10122025_11_02_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc29ab5f003972d43a048366cbecaa9d.jpg","text":"TemporaryFile(/tmp/multipartBody7321950856281912972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853272647,"filename":"image_10122025_11_02_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/12/27/147638a6d9e2eab3043c8e019f43e8e8.jpg","text":"TemporaryFile(/tmp/multipartBody4520399809008978043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853272647,"filename":"image_10122025_11_02_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a8c042a9090be9a85eb7d55659b0835.jpg","text":"TemporaryFile(/tmp/multipartBody6406128036855390998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853272647,"filename":"image_10122025_11_02_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7f7f4106326e272c9977cae5707844e.jpg","text":"TemporaryFile(/tmp/multipartBody1471701094859360535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853272647,"filename":"image_10122025_11_02_34_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295405","file1":"1401295374","file0":"1401295366","file4":"1401295451","file5":"1401295452","file3":"1401295438"},"map_files_photo_id_array":[{"photo_id":"1401295452","filename":"file5"},{"photo_id":"1401295405","filename":"file2"},{"photo_id":"1401295451","filename":"file4"},{"photo_id":"1401295374","filename":"file1"},{"photo_id":"1401295366","filename":"file0"},{"photo_id":"1401295438","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295452":["hashtag1","hashtag2"]},{"1401295374":["hashtag1","hashtag2"]},{"1401295451":["hashtag1","hashtag2"]},{"1401295366":["hashtag1","hashtag2"]},{"1401295438":["hashtag1","hashtag2"]},{"1401295405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295452, 1401295374, 1401295451, 1401295366, 1401295438, 1401295405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.831796169281006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:34:16.947858
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_01_05_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_55_10610.jpg', '/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_44_9602.jpg', '/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_35_9603.jpg', '/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_25_10608.jpg', '/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_14_9608.jpg', '/home/nano/Desktop/images/10122025/11/00/image_10122025_11_01_05_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_55_10610.jpg
/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_44_9602.jpg
/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_35_9603.jpg
/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_25_10608.jpg
/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_14_9608.jpg
/home/nano/Desktop/images/10122025/11/00/image_10122025_11_01_05_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":["1401295458","1401295460","1401295454","1401295453","1401295462","1401295456"],"photo_ids_order":["1401295453","1401295454","1401295456","1401295458","1401295460","1401295462"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e3f2159e780bb7373606a156222e24a.jpg","text":"TemporaryFile(/tmp/multipartBody5806065664188043794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853317754,"filename":"image_10122025_11_01_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c46f263f76c3acdbd576dc4c0564d658.jpg","text":"TemporaryFile(/tmp/multipartBody3671459789668789866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853317754,"filename":"image_10122025_11_01_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ddf08bacd625a0ba705e3f6534e1c41.jpg","text":"TemporaryFile(/tmp/multipartBody6279642109580012565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853317754,"filename":"image_10122025_11_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/12/27/b7fba92ac0d6645781cd7bc7e0d29887.jpg","text":"TemporaryFile(/tmp/multipartBody1324583582851293175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853317754,"filename":"image_10122025_11_01_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d101a34a4a72c6ebca2ff74cf576f15e.jpg","text":"TemporaryFile(/tmp/multipartBody2983387312237398883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853317754,"filename":"image_10122025_11_01_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8ba8b294170f8b41140f58147ee0fd1.jpg","text":"TemporaryFile(/tmp/multipartBody8781484443169615477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853317754,"filename":"image_10122025_11_01_35_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295456","file1":"1401295454","file0":"1401295453","file4":"1401295460","file5":"1401295462","file3":"1401295458"},"map_files_photo_id_array":[{"photo_id":"1401295462","filename":"file5"},{"photo_id":"1401295456","filename":"file2"},{"photo_id":"1401295460","filename":"file4"},{"photo_id":"1401295454","filename":"file1"},{"photo_id":"1401295453","filename":"file0"},{"photo_id":"1401295458","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295458":["hashtag1","hashtag2"]},{"1401295460":["hashtag1","hashtag2"]},{"1401295454":["hashtag1","hashtag2"]},{"1401295453":["hashtag1","hashtag2"]},{"1401295462":["hashtag1","hashtag2"]},{"1401295456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295458, 1401295460, 1401295454, 1401295453, 1401295462, 1401295456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.973925590515137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:35:02.877840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_11_00_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_55_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_54_9613.jpg', '/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_45_9594.jpg', '/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_35_10610.jpg', '/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_15_10630.jpg', '/home/nano/Desktop/images/10122025/10/59/image_10122025_11_00_04_9614.jpg', '/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_55_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_54_9613.jpg
/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_45_9594.jpg
/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_35_10610.jpg
/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_15_10630.jpg
/home/nano/Desktop/images/10122025/10/59/image_10122025_11_00_04_9614.jpg
/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_55_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":["1401295470","1401295473","1401295467","1401295469","1401295471","1401295468"],"photo_ids_order":["1401295467","1401295468","1401295469","1401295470","1401295471","1401295473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b01ecf2383573a851ae085665c79921.jpg","text":"TemporaryFile(/tmp/multipartBody690734872892819841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853363756,"filename":"image_10122025_11_00_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2290e9dc9887fb8ebf731f8e42a0d2b5.jpg","text":"TemporaryFile(/tmp/multipartBody6163668612300408938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853363756,"filename":"image_10122025_10_59_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7bfafca1431036626c502e4388559e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4912219417572847962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853363756,"filename":"image_10122025_11_00_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/12/27/50c22418ddebe1becf3f3a8299d3de3d.jpg","text":"TemporaryFile(/tmp/multipartBody1675255806543030630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853363756,"filename":"image_10122025_11_00_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d36b02d3c3320e40c1f2ba76b2f46274.jpg","text":"TemporaryFile(/tmp/multipartBody6741080272627638691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853363756,"filename":"image_10122025_11_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/12/27/930a9442470b703b2c941911bb5c7112.jpg","text":"TemporaryFile(/tmp/multipartBody4653735236510020490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853363756,"filename":"image_10122025_11_00_45_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295469","file1":"1401295468","file0":"1401295467","file4":"1401295471","file5":"1401295473","file3":"1401295470"},"map_files_photo_id_array":[{"photo_id":"1401295473","filename":"file5"},{"photo_id":"1401295469","filename":"file2"},{"photo_id":"1401295471","filename":"file4"},{"photo_id":"1401295468","filename":"file1"},{"photo_id":"1401295467","filename":"file0"},{"photo_id":"1401295470","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295470":["hashtag1","hashtag2"]},{"1401295473":["hashtag1","hashtag2"]},{"1401295467":["hashtag1","hashtag2"]},{"1401295469":["hashtag1","hashtag2"]},{"1401295471":["hashtag1","hashtag2"]},{"1401295468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295470, 1401295473, 1401295467, 1401295469, 1401295471, 1401295468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78805923461914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:35:47.049356
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_59_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_45_10614.jpg', '/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_34_9606.jpg', '/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_25_10629.jpg', '/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_14_9613.jpg', '/home/nano/Desktop/images/10122025/10/58/image_10122025_10_59_04_9598.jpg', '/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_45_10614.jpg
/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_34_9606.jpg
/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_25_10629.jpg
/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_14_9613.jpg
/home/nano/Desktop/images/10122025/10/58/image_10122025_10_59_04_9598.jpg
/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_55_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":["1401295491","1401295490","1401295493","1401295492","1401295489","1401295494"],"photo_ids_order":["1401295489","1401295490","1401295491","1401295492","1401295493","1401295494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48a302a484193b3cb93d119fc329221d.jpg","text":"TemporaryFile(/tmp/multipartBody3952281885775781845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853407835,"filename":"image_10122025_10_59_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/963c94bc8eadd6f73b71c2c9e81e5fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7891609714218751592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853407835,"filename":"image_10122025_10_59_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/12/27/ef9b815d38194bb92834b3e3b82db7b1.jpg","text":"TemporaryFile(/tmp/multipartBody4897066261195391290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853407835,"filename":"image_10122025_10_59_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75fea266b02d01e0a69a760990032a61.jpg","text":"TemporaryFile(/tmp/multipartBody596961909629110881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853407835,"filename":"image_10122025_10_59_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/12/27/c6965e360dcb1deaecdf3c0119970f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7387505300016437452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853407835,"filename":"image_10122025_10_59_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccde2193e74fcc0d6852edc6b7cf2acc.jpg","text":"TemporaryFile(/tmp/multipartBody72858722480253447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853407835,"filename":"image_10122025_10_58_55_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295491","file1":"1401295490","file0":"1401295489","file4":"1401295493","file5":"1401295494","file3":"1401295492"},"map_files_photo_id_array":[{"photo_id":"1401295494","filename":"file5"},{"photo_id":"1401295491","filename":"file2"},{"photo_id":"1401295493","filename":"file4"},{"photo_id":"1401295490","filename":"file1"},{"photo_id":"1401295489","filename":"file0"},{"photo_id":"1401295492","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295491":["hashtag1","hashtag2"]},{"1401295490":["hashtag1","hashtag2"]},{"1401295493":["hashtag1","hashtag2"]},{"1401295492":["hashtag1","hashtag2"]},{"1401295489":["hashtag1","hashtag2"]},{"1401295494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295491, 1401295490, 1401295493, 1401295492, 1401295489, 1401295494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.186617612838745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:36:32.167963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_58_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_45_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_44_9602.jpg', '/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_35_9602.jpg', '/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_25_10613.jpg', '/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_14_9620.jpg', '/home/nano/Desktop/images/10122025/10/57/image_10122025_10_58_05_10633.jpg', '/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_45_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_44_9602.jpg
/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_35_9602.jpg
/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_25_10613.jpg
/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_14_9620.jpg
/home/nano/Desktop/images/10122025/10/57/image_10122025_10_58_05_10633.jpg
/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_45_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":["1401295507","1401295497","1401295499","1401295508","1401295501","1401295504"],"photo_ids_order":["1401295497","1401295499","1401295501","1401295504","1401295507","1401295508"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5d0d1052e340250e41b45daa2bb502a.jpg","text":"TemporaryFile(/tmp/multipartBody8382759915579147791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853452972,"filename":"image_10122025_10_58_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/853b004d4fd6d1752897b7980c878ee1.jpg","text":"TemporaryFile(/tmp/multipartBody349871344351323466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853452972,"filename":"image_10122025_10_58_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/12/27/000a00a6561d209473deb77ec8e29672.jpg","text":"TemporaryFile(/tmp/multipartBody8982075826061507888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853452972,"filename":"image_10122025_10_58_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6da5ca089ab31749cf3c7c3086566339.jpg","text":"TemporaryFile(/tmp/multipartBody4883769681387796291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853452972,"filename":"image_10122025_10_57_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/394651056a7829c4ffce9578545d272f.jpg","text":"TemporaryFile(/tmp/multipartBody8347564350059647638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853452972,"filename":"image_10122025_10_58_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0fa9c1f8295cc1d8ca771de3917b2ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1918120664188227767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853452972,"filename":"image_10122025_10_58_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295501","file1":"1401295499","file0":"1401295497","file4":"1401295507","file5":"1401295508","file3":"1401295504"},"map_files_photo_id_array":[{"photo_id":"1401295508","filename":"file5"},{"photo_id":"1401295501","filename":"file2"},{"photo_id":"1401295507","filename":"file4"},{"photo_id":"1401295499","filename":"file1"},{"photo_id":"1401295497","filename":"file0"},{"photo_id":"1401295504","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295507":["hashtag1","hashtag2"]},{"1401295497":["hashtag1","hashtag2"]},{"1401295499":["hashtag1","hashtag2"]},{"1401295508":["hashtag1","hashtag2"]},{"1401295501":["hashtag1","hashtag2"]},{"1401295504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295507, 1401295497, 1401295499, 1401295508, 1401295501, 1401295504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73713755607605 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:37:17.250182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_57_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_55_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_45_10706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_35_10611.jpg', '/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_24_9602.jpg', '/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_15_10645.jpg', '/home/nano/Desktop/images/10122025/10/56/image_10122025_10_57_04_9618.jpg', '/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_55_9639.jpg', '/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_45_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_35_10611.jpg
/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_24_9602.jpg
/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_15_10645.jpg
/home/nano/Desktop/images/10122025/10/56/image_10122025_10_57_04_9618.jpg
/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_55_9639.jpg
/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_45_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295512","1401295509","1401295517","1401295514","1401295516","1401295510"],"photo_ids_order":["1401295509","1401295510","1401295512","1401295514","1401295516","1401295517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6740464ffe082f775732334a11edeea7.jpg","text":"TemporaryFile(/tmp/multipartBody2630087402751276715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853498086,"filename":"image_10122025_10_57_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/534011a1136e380f8c5ba0ad81bfc751.jpg","text":"TemporaryFile(/tmp/multipartBody8465328279563516559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853498086,"filename":"image_10122025_10_57_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e41e665a85ae8c3a42b847a7ab7fd1b1.jpg","text":"TemporaryFile(/tmp/multipartBody5809584830957293606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853498086,"filename":"image_10122025_10_56_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/186cf35e165b292a4fb0ccfd7c0c93a8.jpg","text":"TemporaryFile(/tmp/multipartBody1927710546675408325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853498086,"filename":"image_10122025_10_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/12/27/fa7009b720d7f310ad057590618a2332.jpg","text":"TemporaryFile(/tmp/multipartBody218698705840387703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853498086,"filename":"image_10122025_10_56_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f96b694d9fa69d9f977c6a615c5bdd89.jpg","text":"TemporaryFile(/tmp/multipartBody3910591899180576200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853498086,"filename":"image_10122025_10_57_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295512","file1":"1401295510","file0":"1401295509","file4":"1401295516","file5":"1401295517","file3":"1401295514"},"map_files_photo_id_array":[{"photo_id":"1401295517","filename":"file5"},{"photo_id":"1401295512","filename":"file2"},{"photo_id":"1401295516","filename":"file4"},{"photo_id":"1401295510","filename":"file1"},{"photo_id":"1401295509","filename":"file0"},{"photo_id":"1401295514","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295512":["hashtag1","hashtag2"]},{"1401295509":["hashtag1","hashtag2"]},{"1401295517":["hashtag1","hashtag2"]},{"1401295514":["hashtag1","hashtag2"]},{"1401295516":["hashtag1","hashtag2"]},{"1401295510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295512, 1401295509, 1401295517, 1401295514, 1401295516, 1401295510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.835053205490112 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:38:02.835095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_24_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_56_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_45_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_34_9712.jpg', '/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_24_9657.jpg', '/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_15_10632.jpg', '/home/nano/Desktop/images/10122025/10/55/image_10122025_10_56_04_9610.jpg', '/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_55_9605.jpg', '/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_45_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_34_9712.jpg
/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_24_9657.jpg
/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_15_10632.jpg
/home/nano/Desktop/images/10122025/10/55/image_10122025_10_56_04_9610.jpg
/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_55_9605.jpg
/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_45_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":["1401295524","1401295523","1401295526","1401295528","1401295522","1401295525"],"photo_ids_order":["1401295522","1401295523","1401295524","1401295525","1401295526","1401295528"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/405faa561acc7a4a608e6b0f63e5c9b3.jpg","text":"TemporaryFile(/tmp/multipartBody1316399668871088304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853543732,"filename":"image_10122025_10_56_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ea235d018d12f82b5bf1c394a832632.jpg","text":"TemporaryFile(/tmp/multipartBody2457216701654320296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853543732,"filename":"image_10122025_10_56_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/12/27/517bc2412ddbcc80be3947bcb5b1872c.jpg","text":"TemporaryFile(/tmp/multipartBody3411572938175508305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853543732,"filename":"image_10122025_10_55_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b646cda49bbc8c765ef38118f219ee5c.jpg","text":"TemporaryFile(/tmp/multipartBody3972039166484027286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853543732,"filename":"image_10122025_10_55_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/804d495ca5f734afb9ae4d0cc7d570f4.jpg","text":"TemporaryFile(/tmp/multipartBody7152809570233665777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853543732,"filename":"image_10122025_10_56_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f75596e00fd0ff447b1da35859f57e14.jpg","text":"TemporaryFile(/tmp/multipartBody6768011149148007823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853543732,"filename":"image_10122025_10_56_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295524","file1":"1401295523","file0":"1401295522","file4":"1401295526","file5":"1401295528","file3":"1401295525"},"map_files_photo_id_array":[{"photo_id":"1401295528","filename":"file5"},{"photo_id":"1401295524","filename":"file2"},{"photo_id":"1401295526","filename":"file4"},{"photo_id":"1401295523","filename":"file1"},{"photo_id":"1401295522","filename":"file0"},{"photo_id":"1401295525","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295524":["hashtag1","hashtag2"]},{"1401295523":["hashtag1","hashtag2"]},{"1401295526":["hashtag1","hashtag2"]},{"1401295528":["hashtag1","hashtag2"]},{"1401295522":["hashtag1","hashtag2"]},{"1401295525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295524, 1401295523, 1401295526, 1401295528, 1401295522, 1401295525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69650053977966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:38:47.351512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_55_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_44_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_34_9610.jpg', '/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_25_10632.jpg', '/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_14_9621.jpg', '/home/nano/Desktop/images/10122025/10/54/image_10122025_10_55_04_9629.jpg', '/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_55_10617.jpg', '/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_44_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_34_9610.jpg
/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_25_10632.jpg
/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_14_9621.jpg
/home/nano/Desktop/images/10122025/10/54/image_10122025_10_55_04_9629.jpg
/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_55_10617.jpg
/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_44_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":["1401295545","1401295548","1401295550","1401295544","1401295547","1401295546"],"photo_ids_order":["1401295544","1401295545","1401295546","1401295547","1401295548","1401295550"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74e09326af92193b066411ed09f7f1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4201631767295348661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853588138,"filename":"image_10122025_10_55_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/156349c32f60ecf4bf80fdd62e08cca4.jpg","text":"TemporaryFile(/tmp/multipartBody8703609295708514443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853588138,"filename":"image_10122025_10_54_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a3a53046985aa5d7a7990c42ed6fb65.jpg","text":"TemporaryFile(/tmp/multipartBody9036902507214999980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853588138,"filename":"image_10122025_10_54_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/12/27/51265d8d7cef96e719f242268d12270b.jpg","text":"TemporaryFile(/tmp/multipartBody4350517171917519128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853588138,"filename":"image_10122025_10_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/12/27/776a0f2dac195bc6c9c405bd91af1894.jpg","text":"TemporaryFile(/tmp/multipartBody1458386548312479376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853588138,"filename":"image_10122025_10_55_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/12/27/0d358dcd195a09d794698fe1f9ada45d.jpg","text":"TemporaryFile(/tmp/multipartBody3302691040876237924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853588138,"filename":"image_10122025_10_55_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295546","file1":"1401295545","file0":"1401295544","file4":"1401295548","file5":"1401295550","file3":"1401295547"},"map_files_photo_id_array":[{"photo_id":"1401295550","filename":"file5"},{"photo_id":"1401295546","filename":"file2"},{"photo_id":"1401295548","filename":"file4"},{"photo_id":"1401295545","filename":"file1"},{"photo_id":"1401295544","filename":"file0"},{"photo_id":"1401295547","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295545":["hashtag1","hashtag2"]},{"1401295548":["hashtag1","hashtag2"]},{"1401295550":["hashtag1","hashtag2"]},{"1401295544":["hashtag1","hashtag2"]},{"1401295547":["hashtag1","hashtag2"]},{"1401295546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295545, 1401295548, 1401295550, 1401295544, 1401295547, 1401295546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.198474168777466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:39:32.460590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_35_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_54_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_44_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_35_9631.jpg', '/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_25_10613.jpg', '/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_14_9624.jpg', '/home/nano/Desktop/images/10122025/10/53/image_10122025_10_54_05_10619.jpg', '/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_54_9620.jpg', '/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_44_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_35_9631.jpg
/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_25_10613.jpg
/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_14_9624.jpg
/home/nano/Desktop/images/10122025/10/53/image_10122025_10_54_05_10619.jpg
/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_54_9620.jpg
/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_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":["1401295560","1401295554","1401295562","1401295556","1401295561","1401295558"],"photo_ids_order":["1401295554","1401295556","1401295558","1401295560","1401295561","1401295562"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8976b592b6fcd279134123da5705eb4b.jpg","text":"TemporaryFile(/tmp/multipartBody1498882533775656940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853633257,"filename":"image_10122025_10_54_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/beadb8ec18778d0c50a1df583d8d75cd.jpg","text":"TemporaryFile(/tmp/multipartBody3729688991414511456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853633257,"filename":"image_10122025_10_54_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03dc559311e9a6cf29db783572bf43c5.jpg","text":"TemporaryFile(/tmp/multipartBody6771942132373684702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853633257,"filename":"image_10122025_10_53_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/12/27/0fdf92eeb1a092daa609a442b66afcce.jpg","text":"TemporaryFile(/tmp/multipartBody7378437347839352995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853633257,"filename":"image_10122025_10_54_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/154076b37e80ead219eda65ceefee553.jpg","text":"TemporaryFile(/tmp/multipartBody3751408364543863025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853633257,"filename":"image_10122025_10_53_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/12/27/c27a30d7bf57d0ecf055394fae678d76.jpg","text":"TemporaryFile(/tmp/multipartBody4240074692115427986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853633257,"filename":"image_10122025_10_54_14_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295558","file1":"1401295556","file0":"1401295554","file4":"1401295561","file5":"1401295562","file3":"1401295560"},"map_files_photo_id_array":[{"photo_id":"1401295562","filename":"file5"},{"photo_id":"1401295558","filename":"file2"},{"photo_id":"1401295561","filename":"file4"},{"photo_id":"1401295556","filename":"file1"},{"photo_id":"1401295554","filename":"file0"},{"photo_id":"1401295560","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295560":["hashtag1","hashtag2"]},{"1401295554":["hashtag1","hashtag2"]},{"1401295562":["hashtag1","hashtag2"]},{"1401295556":["hashtag1","hashtag2"]},{"1401295561":["hashtag1","hashtag2"]},{"1401295558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295560, 1401295554, 1401295562, 1401295556, 1401295561, 1401295558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.794607639312744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:40:17.582529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_53_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_45_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_35_10610.jpg', '/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_24_9625.jpg', '/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_15_9621.jpg', '/home/nano/Desktop/images/10122025/10/52/image_10122025_10_53_05_10633.jpg', '/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_54_9606.jpg', '/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_45_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_35_10610.jpg
/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_24_9625.jpg
/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_15_9621.jpg
/home/nano/Desktop/images/10122025/10/52/image_10122025_10_53_05_10633.jpg
/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_54_9606.jpg
/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_45_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":["1401295590","1401295584","1401295586","1401295577","1401295582","1401295588"],"photo_ids_order":["1401295577","1401295582","1401295584","1401295586","1401295588","1401295590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e3886cd627412d8780ca4be60fbb254.jpg","text":"TemporaryFile(/tmp/multipartBody4347312482755565299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853678368,"filename":"image_10122025_10_52_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1e3ae63123044eaba405c5c90a895ba.jpg","text":"TemporaryFile(/tmp/multipartBody4676488776091663469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853678368,"filename":"image_10122025_10_53_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1a2195d836560fc92504726b701811b.jpg","text":"TemporaryFile(/tmp/multipartBody7292624236409232721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853678368,"filename":"image_10122025_10_53_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee7dc9257b9d0d4b5a8262680ea01c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5380547451206897384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853678368,"filename":"image_10122025_10_53_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3eb8aa633f2014df73fc34016a8c1d87.jpg","text":"TemporaryFile(/tmp/multipartBody2701865504954675701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853678368,"filename":"image_10122025_10_53_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/12/27/cbdf6cdd6dab22c10f70f59e619e3ee1.jpg","text":"TemporaryFile(/tmp/multipartBody728789897361396583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853678368,"filename":"image_10122025_10_52_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295584","file1":"1401295582","file0":"1401295577","file4":"1401295588","file5":"1401295590","file3":"1401295586"},"map_files_photo_id_array":[{"photo_id":"1401295590","filename":"file5"},{"photo_id":"1401295584","filename":"file2"},{"photo_id":"1401295588","filename":"file4"},{"photo_id":"1401295582","filename":"file1"},{"photo_id":"1401295577","filename":"file0"},{"photo_id":"1401295586","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295590":["hashtag1","hashtag2"]},{"1401295584":["hashtag1","hashtag2"]},{"1401295586":["hashtag1","hashtag2"]},{"1401295577":["hashtag1","hashtag2"]},{"1401295582":["hashtag1","hashtag2"]},{"1401295588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295590, 1401295584, 1401295586, 1401295577, 1401295582, 1401295588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.170170307159424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:41:03.283941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_34_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_24_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_52_05_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_54_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_45_9694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_34_9686.jpg', '/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_24_9695.jpg', '/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_15_9721.jpg', '/home/nano/Desktop/images/10122025/10/51/image_10122025_10_52_05_10727.jpg', '/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_54_9710.jpg', '/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_34_9686.jpg
/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_24_9695.jpg
/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_15_9721.jpg
/home/nano/Desktop/images/10122025/10/51/image_10122025_10_52_05_10727.jpg
/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_54_9710.jpg
/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_45_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295599","1401295602","1401295604","1401295607","1401295601","1401295603"],"photo_ids_order":["1401295599","1401295601","1401295602","1401295603","1401295604","1401295607"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29b78373d16a42f499494cabd93b195d.jpg","text":"TemporaryFile(/tmp/multipartBody8223703152477164015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853724141,"filename":"image_10122025_10_52_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/12/27/f12a33db1582fcab505d66b4d8b1f6f9.jpg","text":"TemporaryFile(/tmp/multipartBody4288922517726189541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853724141,"filename":"image_10122025_10_52_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd1d94115a5678eacdf0a63c38b3dfaa.jpg","text":"TemporaryFile(/tmp/multipartBody6984592775393776984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853724141,"filename":"image_10122025_10_51_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/12/27/0f88eba2b3af80ede74c847995381f50.jpg","text":"TemporaryFile(/tmp/multipartBody6450831350624888042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853724141,"filename":"image_10122025_10_51_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c30e2fec3b9eb20ecb2f3f4704797e0.jpg","text":"TemporaryFile(/tmp/multipartBody1956539689603312974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853724141,"filename":"image_10122025_10_52_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a62416700ac516d87349211ba9b9b4fa.jpg","text":"TemporaryFile(/tmp/multipartBody8277303939603684267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853724141,"filename":"image_10122025_10_52_05_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295602","file1":"1401295601","file0":"1401295599","file4":"1401295604","file5":"1401295607","file3":"1401295603"},"map_files_photo_id_array":[{"photo_id":"1401295607","filename":"file5"},{"photo_id":"1401295602","filename":"file2"},{"photo_id":"1401295604","filename":"file4"},{"photo_id":"1401295601","filename":"file1"},{"photo_id":"1401295599","filename":"file0"},{"photo_id":"1401295603","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295599":["hashtag1","hashtag2"]},{"1401295602":["hashtag1","hashtag2"]},{"1401295604":["hashtag1","hashtag2"]},{"1401295607":["hashtag1","hashtag2"]},{"1401295601":["hashtag1","hashtag2"]},{"1401295603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295599, 1401295602, 1401295604, 1401295607, 1401295601, 1401295603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26232647895813 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:41:47.636890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_35_10716.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_24_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_14_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_51_05_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_55_10721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_44_9685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_35_10716.jpg', '/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_24_9707.jpg', '/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_14_9705.jpg', '/home/nano/Desktop/images/10122025/10/50/image_10122025_10_51_05_9694.jpg', '/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_55_10721.jpg', '/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_44_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_35_10716.jpg
/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_24_9707.jpg
/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_14_9705.jpg
/home/nano/Desktop/images/10122025/10/50/image_10122025_10_51_05_9694.jpg
/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_55_10721.jpg
/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_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":["1401295626","1401295625","1401295628","1401295613","1401295630","1401295624"],"photo_ids_order":["1401295613","1401295624","1401295625","1401295626","1401295628","1401295630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8119e23b40da8fdad0a51dbc41b771a3.jpg","text":"TemporaryFile(/tmp/multipartBody7030840347473361722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853768465,"filename":"image_10122025_10_51_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29d2fd0ced27c138f9a0f02e39028d58.jpg","text":"TemporaryFile(/tmp/multipartBody9091795347288492042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853768465,"filename":"image_10122025_10_51_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0d8bb6a4a61fb119623d42a4757abb4.jpg","text":"TemporaryFile(/tmp/multipartBody1707242567899538236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853768465,"filename":"image_10122025_10_50_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe3dcf389c85da730eb315688f1a9d71.jpg","text":"TemporaryFile(/tmp/multipartBody1095199501587724270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853768465,"filename":"image_10122025_10_51_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75435b545abc5c8b09f67b9ab16f0d50.jpg","text":"TemporaryFile(/tmp/multipartBody3029730372728521967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853768465,"filename":"image_10122025_10_50_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/12/27/2db402db1131b6fdda6511058868dc87.jpg","text":"TemporaryFile(/tmp/multipartBody6877767873897006858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853768465,"filename":"image_10122025_10_51_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295625","file1":"1401295624","file0":"1401295613","file4":"1401295628","file5":"1401295630","file3":"1401295626"},"map_files_photo_id_array":[{"photo_id":"1401295630","filename":"file5"},{"photo_id":"1401295625","filename":"file2"},{"photo_id":"1401295628","filename":"file4"},{"photo_id":"1401295624","filename":"file1"},{"photo_id":"1401295613","filename":"file0"},{"photo_id":"1401295626","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295626":["hashtag1","hashtag2"]},{"1401295625":["hashtag1","hashtag2"]},{"1401295628":["hashtag1","hashtag2"]},{"1401295613":["hashtag1","hashtag2"]},{"1401295630":["hashtag1","hashtag2"]},{"1401295624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295626, 1401295625, 1401295628, 1401295613, 1401295630, 1401295624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.837894916534424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:42:32.739548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_35_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_25_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_14_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_50_04_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_55_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_44_9771.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_35_9668.jpg', '/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_25_10733.jpg', '/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_14_9771.jpg', '/home/nano/Desktop/images/10122025/10/49/image_10122025_10_50_04_9718.jpg', '/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_55_10652.jpg', '/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_44_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_35_9668.jpg
/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_25_10733.jpg
/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_14_9771.jpg
/home/nano/Desktop/images/10122025/10/49/image_10122025_10_50_04_9718.jpg
/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_55_10652.jpg
/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_44_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295641","1401295638","1401295634","1401295639","1401295642","1401295636"],"photo_ids_order":["1401295634","1401295636","1401295638","1401295639","1401295641","1401295642"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ba761d30435819188f2a785069e086f.jpg","text":"TemporaryFile(/tmp/multipartBody5955258562151520597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853813618,"filename":"image_10122025_10_49_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00f6873a82d6faf24e4a189ecb268bbd.jpg","text":"TemporaryFile(/tmp/multipartBody8032735311733872338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853813618,"filename":"image_10122025_10_50_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cce8e15be28283c7747b840c2817cf08.jpg","text":"TemporaryFile(/tmp/multipartBody5234992828483632560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853813618,"filename":"image_10122025_10_50_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15efcd066f46c34600b3910c1a32b496.jpg","text":"TemporaryFile(/tmp/multipartBody8733128808234747349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853813618,"filename":"image_10122025_10_50_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46a255c21a9ffa7fa92812e51d4270dc.jpg","text":"TemporaryFile(/tmp/multipartBody2499438437922362899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853813618,"filename":"image_10122025_10_49_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8721a64070ab17bea980baac3eed890c.jpg","text":"TemporaryFile(/tmp/multipartBody4530050232755467118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853813618,"filename":"image_10122025_10_50_25_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295638","file1":"1401295636","file0":"1401295634","file4":"1401295641","file5":"1401295642","file3":"1401295639"},"map_files_photo_id_array":[{"photo_id":"1401295642","filename":"file5"},{"photo_id":"1401295638","filename":"file2"},{"photo_id":"1401295641","filename":"file4"},{"photo_id":"1401295636","filename":"file1"},{"photo_id":"1401295634","filename":"file0"},{"photo_id":"1401295639","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295641":["hashtag1","hashtag2"]},{"1401295638":["hashtag1","hashtag2"]},{"1401295634":["hashtag1","hashtag2"]},{"1401295639":["hashtag1","hashtag2"]},{"1401295642":["hashtag1","hashtag2"]},{"1401295636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295641, 1401295638, 1401295634, 1401295639, 1401295642, 1401295636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.939839124679565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:43:16.847664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_34_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_25_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_15_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_49_04_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_54_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_45_9682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_34_9774.jpg', '/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_25_9682.jpg', '/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_15_10732.jpg', '/home/nano/Desktop/images/10122025/10/48/image_10122025_10_49_04_9716.jpg', '/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_54_9690.jpg', '/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_45_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_34_9774.jpg
/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_25_9682.jpg
/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_15_10732.jpg
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_49_04_9716.jpg
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_54_9690.jpg
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_45_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":["1401295659","1401295644","1401295653","1401295649","1401295643","1401295657"],"photo_ids_order":["1401295643","1401295644","1401295649","1401295653","1401295657","1401295659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b046e53f541ba67f6fb6144299aa32e9.jpg","text":"TemporaryFile(/tmp/multipartBody4695721268514667619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853857686,"filename":"image_10122025_10_48_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/798171d41dc85b94dfcaa1d6db6bfa34.jpg","text":"TemporaryFile(/tmp/multipartBody5788640293995768639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853857686,"filename":"image_10122025_10_49_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8f9b5c51850383f37ef867918bd8acf.jpg","text":"TemporaryFile(/tmp/multipartBody8965907816259260286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853857686,"filename":"image_10122025_10_49_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/12/27/4a6942cae1691e03c189103fc2d89713.jpg","text":"TemporaryFile(/tmp/multipartBody8733062486064970226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853857686,"filename":"image_10122025_10_49_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0c6e9688a6480ed072693f53e1fc395.jpg","text":"TemporaryFile(/tmp/multipartBody6373146887944072782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853857686,"filename":"image_10122025_10_49_34_9774.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3565462ae6edb1547edae043839f84aa.jpg","text":"TemporaryFile(/tmp/multipartBody8713116911553830522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853857686,"filename":"image_10122025_10_48_54_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295649","file1":"1401295644","file0":"1401295643","file4":"1401295657","file5":"1401295659","file3":"1401295653"},"map_files_photo_id_array":[{"photo_id":"1401295659","filename":"file5"},{"photo_id":"1401295649","filename":"file2"},{"photo_id":"1401295657","filename":"file4"},{"photo_id":"1401295644","filename":"file1"},{"photo_id":"1401295643","filename":"file0"},{"photo_id":"1401295653","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295659":["hashtag1","hashtag2"]},{"1401295644":["hashtag1","hashtag2"]},{"1401295653":["hashtag1","hashtag2"]},{"1401295649":["hashtag1","hashtag2"]},{"1401295643":["hashtag1","hashtag2"]},{"1401295657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295659, 1401295644, 1401295653, 1401295649, 1401295643, 1401295657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.479220151901245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:44:02.700624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_44_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg', '/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg', '/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_44_9696.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7763018608093262 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:44:16.932749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_44_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg', '/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg', '/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg
/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_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":["1401295674","1401295668","1401295671","1401295676","1401295678","1401295666"],"photo_ids_order":["1401295666","1401295668","1401295671","1401295674","1401295676","1401295678"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe4ebbfb9b8ac62dd7638e53a2fa8f49.jpg","text":"TemporaryFile(/tmp/multipartBody1167380619754994631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853917761,"filename":"image_10122025_10_48_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fddaf76d56e6a756b4ea2260daf3d93a.jpg","text":"TemporaryFile(/tmp/multipartBody262937123245751421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853917761,"filename":"image_10122025_10_48_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/12/27/9c3f9e9ab134b4cdaf51d5b4504040e0.jpg","text":"TemporaryFile(/tmp/multipartBody6261743994864246054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853917761,"filename":"image_10122025_10_48_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75d67275a226a42bd4e6c76afd86b903.jpg","text":"TemporaryFile(/tmp/multipartBody1564283105849093294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853917761,"filename":"image_10122025_10_47_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/12/27/3ca8be25f76b479141d44f7098aa4e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4059141607383017250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853917761,"filename":"image_10122025_10_47_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55b8f5bcc24d7910f5512103626f0ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1890564083020204659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853917761,"filename":"image_10122025_10_48_35_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295671","file1":"1401295668","file0":"1401295666","file4":"1401295676","file5":"1401295678","file3":"1401295674"},"map_files_photo_id_array":[{"photo_id":"1401295678","filename":"file5"},{"photo_id":"1401295671","filename":"file2"},{"photo_id":"1401295676","filename":"file4"},{"photo_id":"1401295668","filename":"file1"},{"photo_id":"1401295666","filename":"file0"},{"photo_id":"1401295674","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295674":["hashtag1","hashtag2"]},{"1401295668":["hashtag1","hashtag2"]},{"1401295671":["hashtag1","hashtag2"]},{"1401295676":["hashtag1","hashtag2"]},{"1401295678":["hashtag1","hashtag2"]},{"1401295666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295674, 1401295668, 1401295671, 1401295676, 1401295678, 1401295666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80908417701721 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:45:02.697182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_35_10684.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_24_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_14_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_47_05_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_55_10766.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_44_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_35_10684.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_24_9690.jpg', '/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_14_9703.jpg', '/home/nano/Desktop/images/10122025/10/46/image_10122025_10_47_05_9756.jpg', '/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_55_10766.jpg', '/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_35_10684.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_24_9690.jpg
/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_14_9703.jpg
/home/nano/Desktop/images/10122025/10/46/image_10122025_10_47_05_9756.jpg
/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_55_10766.jpg
/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_44_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":["1401295697","1401295691","1401295694","1401295693","1401295690","1401295692"],"photo_ids_order":["1401295690","1401295691","1401295692","1401295693","1401295694","1401295697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09e228f4c2382554873b2a69b391ac55.jpg","text":"TemporaryFile(/tmp/multipartBody5437715880594734676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853963601,"filename":"image_10122025_10_46_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e140ef8e98721233e3b2a1642458e20c.jpg","text":"TemporaryFile(/tmp/multipartBody2650019667019053168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853963601,"filename":"image_10122025_10_47_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/12/27/090fd09f641af3d12a22dff87a52d30c.jpg","text":"TemporaryFile(/tmp/multipartBody4522227365031270455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853963601,"filename":"image_10122025_10_46_55_10766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d7ab4a934e645376de6cdbaa4aa9c80.jpg","text":"TemporaryFile(/tmp/multipartBody4117403351790832889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853963601,"filename":"image_10122025_10_47_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad9e42ded9851d12bc0dce02c1aa0db6.jpg","text":"TemporaryFile(/tmp/multipartBody3990299146261073665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853963601,"filename":"image_10122025_10_47_35_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd3dd39293c14baea3aee33527d96c45.jpg","text":"TemporaryFile(/tmp/multipartBody8744850072366536061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766853963601,"filename":"image_10122025_10_47_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295692","file1":"1401295691","file0":"1401295690","file4":"1401295694","file5":"1401295697","file3":"1401295693"},"map_files_photo_id_array":[{"photo_id":"1401295697","filename":"file5"},{"photo_id":"1401295692","filename":"file2"},{"photo_id":"1401295694","filename":"file4"},{"photo_id":"1401295691","filename":"file1"},{"photo_id":"1401295690","filename":"file0"},{"photo_id":"1401295693","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295697":["hashtag1","hashtag2"]},{"1401295691":["hashtag1","hashtag2"]},{"1401295694":["hashtag1","hashtag2"]},{"1401295693":["hashtag1","hashtag2"]},{"1401295690":["hashtag1","hashtag2"]},{"1401295692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295697, 1401295691, 1401295694, 1401295693, 1401295690, 1401295692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23016715049744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:45:47.086654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_35_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_14_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_46_04_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_55_10688.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_44_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_35_9674.jpg', '/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_25_10649.jpg', '/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_14_9712.jpg', '/home/nano/Desktop/images/10122025/10/45/image_10122025_10_46_04_9689.jpg', '/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_55_10688.jpg', '/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_44_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_35_9674.jpg
/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_25_10649.jpg
/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_14_9712.jpg
/home/nano/Desktop/images/10122025/10/45/image_10122025_10_46_04_9689.jpg
/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_55_10688.jpg
/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_44_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":["1401295711","1401295710","1401295707","1401295706","1401295709","1401295708"],"photo_ids_order":["1401295706","1401295707","1401295708","1401295709","1401295710","1401295711"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/509323dbbc5c116294d03df044d83db4.jpg","text":"TemporaryFile(/tmp/multipartBody5419279521136353384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854007935,"filename":"image_10122025_10_45_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/12/27/927c33bd215c66e7b2460c02c3d6ad4f.jpg","text":"TemporaryFile(/tmp/multipartBody890632009786333033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854007935,"filename":"image_10122025_10_45_55_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36ccd8b0341cb39f7b505df0412f2aa7.jpg","text":"TemporaryFile(/tmp/multipartBody571035524959593734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854007935,"filename":"image_10122025_10_46_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c7eeca8214e5d3699d28bba6c3462bf.jpg","text":"TemporaryFile(/tmp/multipartBody4681450709027621867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854007935,"filename":"image_10122025_10_46_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d69eeaf532f8ed11dbce6f4eec8adb5.jpg","text":"TemporaryFile(/tmp/multipartBody5320067722390389588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854007935,"filename":"image_10122025_10_46_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/049800cf74727394b109c6fc98981edd.jpg","text":"TemporaryFile(/tmp/multipartBody1963445277059798913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854007935,"filename":"image_10122025_10_46_14_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295708","file1":"1401295707","file0":"1401295706","file4":"1401295710","file5":"1401295711","file3":"1401295709"},"map_files_photo_id_array":[{"photo_id":"1401295711","filename":"file5"},{"photo_id":"1401295708","filename":"file2"},{"photo_id":"1401295710","filename":"file4"},{"photo_id":"1401295707","filename":"file1"},{"photo_id":"1401295706","filename":"file0"},{"photo_id":"1401295709","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295711":["hashtag1","hashtag2"]},{"1401295710":["hashtag1","hashtag2"]},{"1401295707":["hashtag1","hashtag2"]},{"1401295706":["hashtag1","hashtag2"]},{"1401295709":["hashtag1","hashtag2"]},{"1401295708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295711, 1401295710, 1401295707, 1401295706, 1401295709, 1401295708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48001527786255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:46:32.202459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_34_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_25_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_45_04_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_55_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_45_10728.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_34_9745.jpg', '/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_25_9673.jpg', '/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_15_10733.jpg', '/home/nano/Desktop/images/10122025/10/44/image_10122025_10_45_04_9689.jpg', '/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_55_9724.jpg', '/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_45_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_34_9745.jpg
/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_25_9673.jpg
/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_15_10733.jpg
/home/nano/Desktop/images/10122025/10/44/image_10122025_10_45_04_9689.jpg
/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_55_9724.jpg
/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_45_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295725","1401295716","1401295724","1401295718","1401295720","1401295723"],"photo_ids_order":["1401295716","1401295718","1401295720","1401295723","1401295724","1401295725"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37b887b96d52a985707be7cc41cd1501.jpg","text":"TemporaryFile(/tmp/multipartBody3805657334817751384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854053049,"filename":"image_10122025_10_44_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/345ad7525c182b3cf76cf32e48b75b8b.jpg","text":"TemporaryFile(/tmp/multipartBody7867657139263090666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854053049,"filename":"image_10122025_10_45_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fccfadc7f3d11985b2a4510866fe9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8903020031604026373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854053049,"filename":"image_10122025_10_44_55_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1261ccf8006a9ea9df966bdbd4b3825f.jpg","text":"TemporaryFile(/tmp/multipartBody3970850413358623785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854053049,"filename":"image_10122025_10_45_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f4c004ba04ed4c9b5715d29a0a6369d.jpg","text":"TemporaryFile(/tmp/multipartBody6887427980990404317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854053049,"filename":"image_10122025_10_45_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4cba3b1f0013ad7d224b19db53ca296.jpg","text":"TemporaryFile(/tmp/multipartBody4806214644590685173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854053049,"filename":"image_10122025_10_45_04_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295720","file1":"1401295718","file0":"1401295716","file4":"1401295724","file5":"1401295725","file3":"1401295723"},"map_files_photo_id_array":[{"photo_id":"1401295725","filename":"file5"},{"photo_id":"1401295720","filename":"file2"},{"photo_id":"1401295724","filename":"file4"},{"photo_id":"1401295718","filename":"file1"},{"photo_id":"1401295716","filename":"file0"},{"photo_id":"1401295723","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295725":["hashtag1","hashtag2"]},{"1401295716":["hashtag1","hashtag2"]},{"1401295724":["hashtag1","hashtag2"]},{"1401295718":["hashtag1","hashtag2"]},{"1401295720":["hashtag1","hashtag2"]},{"1401295723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295725, 1401295716, 1401295724, 1401295718, 1401295720, 1401295723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.645896911621094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:47:17.356861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_34_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_24_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_15_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_44_05_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_54_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_44_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_34_9721.jpg', '/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_24_9721.jpg', '/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_15_9743.jpg', '/home/nano/Desktop/images/10122025/10/43/image_10122025_10_44_05_10732.jpg', '/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_54_9705.jpg', '/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_34_9721.jpg
/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_24_9721.jpg
/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_15_9743.jpg
/home/nano/Desktop/images/10122025/10/43/image_10122025_10_44_05_10732.jpg
/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_54_9705.jpg
/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_44_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":["1401295733","1401295736","1401295730","1401295727","1401295738","1401295726"],"photo_ids_order":["1401295726","1401295727","1401295730","1401295733","1401295736","1401295738"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fa2662dc2e05fd7057066bd34d25710.jpg","text":"TemporaryFile(/tmp/multipartBody1698945882488971375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854098185,"filename":"image_10122025_10_44_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e824fd4147e2fdf5381f15c666cfc209.jpg","text":"TemporaryFile(/tmp/multipartBody118713679978897678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854098185,"filename":"image_10122025_10_43_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6be69f8224df5e9afe201b65d3b8fa59.jpg","text":"TemporaryFile(/tmp/multipartBody6679661353241724339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854098185,"filename":"image_10122025_10_44_15_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71e98a23754bddf2b89302e1e6ed5086.jpg","text":"TemporaryFile(/tmp/multipartBody3474994446571333600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854098185,"filename":"image_10122025_10_44_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35bfd1c857f08d2063d27cac86c9c29f.jpg","text":"TemporaryFile(/tmp/multipartBody5097314015741695378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854098185,"filename":"image_10122025_10_43_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb7c85a35ca125a9df41bcd31adf53ed.jpg","text":"TemporaryFile(/tmp/multipartBody3055435083575793454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854098185,"filename":"image_10122025_10_44_34_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295730","file1":"1401295727","file0":"1401295726","file4":"1401295736","file5":"1401295738","file3":"1401295733"},"map_files_photo_id_array":[{"photo_id":"1401295738","filename":"file5"},{"photo_id":"1401295730","filename":"file2"},{"photo_id":"1401295736","filename":"file4"},{"photo_id":"1401295727","filename":"file1"},{"photo_id":"1401295726","filename":"file0"},{"photo_id":"1401295733","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295733":["hashtag1","hashtag2"]},{"1401295736":["hashtag1","hashtag2"]},{"1401295730":["hashtag1","hashtag2"]},{"1401295727":["hashtag1","hashtag2"]},{"1401295738":["hashtag1","hashtag2"]},{"1401295726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295733, 1401295736, 1401295730, 1401295727, 1401295738, 1401295726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.920130729675293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:48:03.022010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_35_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_25_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_14_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_43_05_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_55_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_44_9718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_35_9675.jpg', '/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_25_10685.jpg', '/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_14_9718.jpg', '/home/nano/Desktop/images/10122025/10/42/image_10122025_10_43_05_9718.jpg', '/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_55_10680.jpg', '/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_44_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_35_9675.jpg
/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_25_10685.jpg
/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_14_9718.jpg
/home/nano/Desktop/images/10122025/10/42/image_10122025_10_43_05_9718.jpg
/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_55_10680.jpg
/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_44_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":["1401295749","1401295752","1401295751","1401295754","1401295748","1401295750"],"photo_ids_order":["1401295748","1401295749","1401295750","1401295751","1401295752","1401295754"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d19ad94b1d6e065c62c824d29d4f95e.jpg","text":"TemporaryFile(/tmp/multipartBody6805660374993110516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854143902,"filename":"image_10122025_10_43_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40bcff5200007721c63435945e998dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3227228705411411901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854143902,"filename":"image_10122025_10_42_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efa201da86f7100f5699149d67b3dd91.jpg","text":"TemporaryFile(/tmp/multipartBody2727221161680612037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854143902,"filename":"image_10122025_10_43_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3f16dced4b7d0f1527f4a481ef047d4.jpg","text":"TemporaryFile(/tmp/multipartBody1512789338428500960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854143902,"filename":"image_10122025_10_42_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27dc04495e640180a959df0016af6e47.jpg","text":"TemporaryFile(/tmp/multipartBody1626704376136658216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854143902,"filename":"image_10122025_10_43_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7913f040b39d732a1a541d3121e9fc87.jpg","text":"TemporaryFile(/tmp/multipartBody4897219372947156125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854143902,"filename":"image_10122025_10_43_14_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295750","file1":"1401295749","file0":"1401295748","file4":"1401295752","file5":"1401295754","file3":"1401295751"},"map_files_photo_id_array":[{"photo_id":"1401295754","filename":"file5"},{"photo_id":"1401295750","filename":"file2"},{"photo_id":"1401295752","filename":"file4"},{"photo_id":"1401295749","filename":"file1"},{"photo_id":"1401295748","filename":"file0"},{"photo_id":"1401295751","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295749":["hashtag1","hashtag2"]},{"1401295752":["hashtag1","hashtag2"]},{"1401295751":["hashtag1","hashtag2"]},{"1401295754":["hashtag1","hashtag2"]},{"1401295748":["hashtag1","hashtag2"]},{"1401295750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295749, 1401295752, 1401295751, 1401295754, 1401295748, 1401295750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12073016166687 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:48:47.471467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_35_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_25_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_14_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_42_04_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_55_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_45_10786.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_35_9697.jpg', '/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_25_10725.jpg', '/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_14_9708.jpg', '/home/nano/Desktop/images/10122025/10/41/image_10122025_10_42_04_9731.jpg', '/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_55_9733.jpg', '/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_45_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_35_9697.jpg
/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_25_10725.jpg
/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_14_9708.jpg
/home/nano/Desktop/images/10122025/10/41/image_10122025_10_42_04_9731.jpg
/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_55_9733.jpg
/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_45_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":["1401295773","1401295770","1401295764","1401295766","1401295771","1401295768"],"photo_ids_order":["1401295764","1401295766","1401295768","1401295770","1401295771","1401295773"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7397c662f0aeb165f94c6071c63f2735.jpg","text":"TemporaryFile(/tmp/multipartBody7701159800984365494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854188318,"filename":"image_10122025_10_41_45_10786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e84a8fa7c22da5d84aeca890d9699caf.jpg","text":"TemporaryFile(/tmp/multipartBody6751102078283236637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854188318,"filename":"image_10122025_10_42_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed4d3c84ff95b7553cbd3dccca402b53.jpg","text":"TemporaryFile(/tmp/multipartBody7488955624189113022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854188318,"filename":"image_10122025_10_42_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a8b136c08811e806deaf20e46f34ae3.jpg","text":"TemporaryFile(/tmp/multipartBody9106753150125916274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854188318,"filename":"image_10122025_10_42_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7bd2e434bc97a5d690ead9da82eca83.jpg","text":"TemporaryFile(/tmp/multipartBody6361866527183019460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854188318,"filename":"image_10122025_10_41_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95890bffeca8f630c77b041bcd4a0f22.jpg","text":"TemporaryFile(/tmp/multipartBody6743982786481641561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854188318,"filename":"image_10122025_10_42_14_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295768","file1":"1401295766","file0":"1401295764","file4":"1401295771","file5":"1401295773","file3":"1401295770"},"map_files_photo_id_array":[{"photo_id":"1401295773","filename":"file5"},{"photo_id":"1401295768","filename":"file2"},{"photo_id":"1401295771","filename":"file4"},{"photo_id":"1401295766","filename":"file1"},{"photo_id":"1401295764","filename":"file0"},{"photo_id":"1401295770","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295773":["hashtag1","hashtag2"]},{"1401295770":["hashtag1","hashtag2"]},{"1401295764":["hashtag1","hashtag2"]},{"1401295766":["hashtag1","hashtag2"]},{"1401295771":["hashtag1","hashtag2"]},{"1401295768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295773, 1401295770, 1401295764, 1401295766, 1401295771, 1401295768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25139141082764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:49:32.578230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_34_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_24_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_41_04_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_45_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_34_9691.jpg', '/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_24_9594.jpg', '/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_15_10617.jpg', '/home/nano/Desktop/images/10122025/10/40/image_10122025_10_41_04_9594.jpg', '/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_55_9608.jpg', '/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_45_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_34_9691.jpg
/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_24_9594.jpg
/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_15_10617.jpg
/home/nano/Desktop/images/10122025/10/40/image_10122025_10_41_04_9594.jpg
/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_55_9608.jpg
/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_45_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295782","1401295779","1401295784","1401295787","1401295780","1401295786"],"photo_ids_order":["1401295779","1401295780","1401295782","1401295784","1401295786","1401295787"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d3e0f6b54c54b3e3c0e162bdd572329.jpg","text":"TemporaryFile(/tmp/multipartBody1024723368181975432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854233387,"filename":"image_10122025_10_41_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2e8e8d95d0b4f72d186bfc4e90d8c37.jpg","text":"TemporaryFile(/tmp/multipartBody1873982828374612168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854233387,"filename":"image_10122025_10_41_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/12/27/9fa06329454db7a49625b3143e50e247.jpg","text":"TemporaryFile(/tmp/multipartBody4176967064032620835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854233387,"filename":"image_10122025_10_41_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/12/27/edd57605131d15f416be3ae1f8176cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3508064198479452993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854233387,"filename":"image_10122025_10_40_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee9036d5755e01ed4cb7ea5923a5aadf.jpg","text":"TemporaryFile(/tmp/multipartBody6121086897272608694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854233387,"filename":"image_10122025_10_41_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/12/27/d1e71bc187f12e56f57e2029c82a7792.jpg","text":"TemporaryFile(/tmp/multipartBody5315709786600194544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854233387,"filename":"image_10122025_10_40_55_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295782","file1":"1401295780","file0":"1401295779","file4":"1401295786","file5":"1401295787","file3":"1401295784"},"map_files_photo_id_array":[{"photo_id":"1401295787","filename":"file5"},{"photo_id":"1401295782","filename":"file2"},{"photo_id":"1401295786","filename":"file4"},{"photo_id":"1401295780","filename":"file1"},{"photo_id":"1401295779","filename":"file0"},{"photo_id":"1401295784","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295782":["hashtag1","hashtag2"]},{"1401295779":["hashtag1","hashtag2"]},{"1401295784":["hashtag1","hashtag2"]},{"1401295787":["hashtag1","hashtag2"]},{"1401295780":["hashtag1","hashtag2"]},{"1401295786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295782, 1401295779, 1401295784, 1401295787, 1401295780, 1401295786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.477418899536133 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:50:17.685130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_14_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_40_05_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_55_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_44_9592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_34_9588.jpg', '/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_25_10603.jpg', '/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_14_9599.jpg', '/home/nano/Desktop/images/10122025/10/39/image_10122025_10_40_05_9591.jpg', '/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_55_10598.jpg', '/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_44_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_34_9588.jpg
/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_25_10603.jpg
/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_14_9599.jpg
/home/nano/Desktop/images/10122025/10/39/image_10122025_10_40_05_9591.jpg
/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_55_10598.jpg
/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_44_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":["1401295794","1401295796","1401295800","1401295792","1401295798","1401295791"],"photo_ids_order":["1401295791","1401295792","1401295794","1401295796","1401295798","1401295800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01e1df70c0e11072d1351b2e7bb93cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8360207941322325445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854278469,"filename":"image_10122025_10_40_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b1ffdfb76b5193fd3113d73c28cb180.jpg","text":"TemporaryFile(/tmp/multipartBody4572738134517615384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854278469,"filename":"image_10122025_10_40_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f8b553d29ce69ec13b371113508e5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4673363799501679257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854278469,"filename":"image_10122025_10_39_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/12/27/3c37a791307a5502ed8c1c3fb3f3458e.jpg","text":"TemporaryFile(/tmp/multipartBody8074113516957987347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854278469,"filename":"image_10122025_10_40_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66f03efd7f3dc01dec57e5bd542089a9.jpg","text":"TemporaryFile(/tmp/multipartBody1989058423061681936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854278469,"filename":"image_10122025_10_39_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b652db88f96913c6c24307dd2655921c.jpg","text":"TemporaryFile(/tmp/multipartBody7633850793969646613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854278469,"filename":"image_10122025_10_40_34_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295794","file1":"1401295792","file0":"1401295791","file4":"1401295798","file5":"1401295800","file3":"1401295796"},"map_files_photo_id_array":[{"photo_id":"1401295800","filename":"file5"},{"photo_id":"1401295794","filename":"file2"},{"photo_id":"1401295798","filename":"file4"},{"photo_id":"1401295792","filename":"file1"},{"photo_id":"1401295791","filename":"file0"},{"photo_id":"1401295796","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295794":["hashtag1","hashtag2"]},{"1401295796":["hashtag1","hashtag2"]},{"1401295800":["hashtag1","hashtag2"]},{"1401295792":["hashtag1","hashtag2"]},{"1401295798":["hashtag1","hashtag2"]},{"1401295791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295794, 1401295796, 1401295800, 1401295792, 1401295798, 1401295791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2077522277832 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:51:02.519308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_35_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_15_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_39_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_54_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_45_10596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_35_10599.jpg', '/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_24_9587.jpg', '/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_15_9616.jpg', '/home/nano/Desktop/images/10122025/10/38/image_10122025_10_39_05_10614.jpg', '/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_54_9586.jpg', '/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_45_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_35_10599.jpg
/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_24_9587.jpg
/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_15_9616.jpg
/home/nano/Desktop/images/10122025/10/38/image_10122025_10_39_05_10614.jpg
/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_54_9586.jpg
/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_45_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":["1401295821","1401295824","1401295815","1401295823","1401295817","1401295819"],"photo_ids_order":["1401295815","1401295817","1401295819","1401295821","1401295823","1401295824"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e42e692ff5980f33dcb3fdd73e1ecaa.jpg","text":"TemporaryFile(/tmp/multipartBody3858965250307431205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854323376,"filename":"image_10122025_10_39_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/326bf7ddfb74665d78bd4c6ffb0b032d.jpg","text":"TemporaryFile(/tmp/multipartBody1970903578520049335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854323376,"filename":"image_10122025_10_38_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fa41327390e97788b5e0bfe0176ad22.jpg","text":"TemporaryFile(/tmp/multipartBody3388113274604476649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854323376,"filename":"image_10122025_10_39_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d27d186e61538f76c994f6f83fb88804.jpg","text":"TemporaryFile(/tmp/multipartBody3606307317797913508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854323376,"filename":"image_10122025_10_38_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad4d5bbf372409fa5c70d99afab13298.jpg","text":"TemporaryFile(/tmp/multipartBody2891173582097311391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854323376,"filename":"image_10122025_10_39_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3fc2bbf6ac6a0fa4cb0c5b95fbd18a20.jpg","text":"TemporaryFile(/tmp/multipartBody8259056617090967268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854323376,"filename":"image_10122025_10_39_15_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295819","file1":"1401295817","file0":"1401295815","file4":"1401295823","file5":"1401295824","file3":"1401295821"},"map_files_photo_id_array":[{"photo_id":"1401295824","filename":"file5"},{"photo_id":"1401295819","filename":"file2"},{"photo_id":"1401295823","filename":"file4"},{"photo_id":"1401295817","filename":"file1"},{"photo_id":"1401295815","filename":"file0"},{"photo_id":"1401295821","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295821":["hashtag1","hashtag2"]},{"1401295824":["hashtag1","hashtag2"]},{"1401295815":["hashtag1","hashtag2"]},{"1401295823":["hashtag1","hashtag2"]},{"1401295817":["hashtag1","hashtag2"]},{"1401295819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295821, 1401295824, 1401295815, 1401295823, 1401295817, 1401295819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38355731964111 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:51:46.803028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_14_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_38_05_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_44_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_34_9588.jpg', '/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_25_10596.jpg', '/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_14_9601.jpg', '/home/nano/Desktop/images/10122025/10/37/image_10122025_10_38_05_9586.jpg', '/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_55_10614.jpg', '/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_44_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_34_9588.jpg
/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_25_10596.jpg
/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_14_9601.jpg
/home/nano/Desktop/images/10122025/10/37/image_10122025_10_38_05_9586.jpg
/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_55_10614.jpg
/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_44_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":["1401295833","1401295832","1401295835","1401295837","1401295831","1401295834"],"photo_ids_order":["1401295831","1401295832","1401295833","1401295834","1401295835","1401295837"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a70e3b4a845e9045609ff1a1c0b51771.jpg","text":"TemporaryFile(/tmp/multipartBody3020600153139392392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854367635,"filename":"image_10122025_10_38_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee7d5ec3de5103388b18a6cf0cef0817.jpg","text":"TemporaryFile(/tmp/multipartBody3215080481594797420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854367635,"filename":"image_10122025_10_38_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1fb5329f79c0201447aee35bb500702.jpg","text":"TemporaryFile(/tmp/multipartBody140205032290746123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854367635,"filename":"image_10122025_10_37_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac0cb5b9b78f29d26091f0ceb4725864.jpg","text":"TemporaryFile(/tmp/multipartBody5891146737676975332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854367635,"filename":"image_10122025_10_37_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d32c81527c9f653a832ba35faf04ab7e.jpg","text":"TemporaryFile(/tmp/multipartBody9142221137577984970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854367635,"filename":"image_10122025_10_38_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/12/27/fb674ff5cb10e0227daaf023bbca47dc.jpg","text":"TemporaryFile(/tmp/multipartBody8126665819202050410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854367635,"filename":"image_10122025_10_38_05_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295833","file1":"1401295832","file0":"1401295831","file4":"1401295835","file5":"1401295837","file3":"1401295834"},"map_files_photo_id_array":[{"photo_id":"1401295837","filename":"file5"},{"photo_id":"1401295833","filename":"file2"},{"photo_id":"1401295835","filename":"file4"},{"photo_id":"1401295832","filename":"file1"},{"photo_id":"1401295831","filename":"file0"},{"photo_id":"1401295834","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295833":["hashtag1","hashtag2"]},{"1401295832":["hashtag1","hashtag2"]},{"1401295835":["hashtag1","hashtag2"]},{"1401295837":["hashtag1","hashtag2"]},{"1401295831":["hashtag1","hashtag2"]},{"1401295834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295833, 1401295832, 1401295835, 1401295837, 1401295831, 1401295834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.667500972747803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:52:31.944305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_35_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_24_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_37_05_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_54_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_45_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_35_10595.jpg', '/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_24_9585.jpg', '/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_15_9604.jpg', '/home/nano/Desktop/images/10122025/10/36/image_10122025_10_37_05_10603.jpg', '/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_54_9587.jpg', '/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_45_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_35_10595.jpg
/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_24_9585.jpg
/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_15_9604.jpg
/home/nano/Desktop/images/10122025/10/36/image_10122025_10_37_05_10603.jpg
/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_54_9587.jpg
/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_45_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":["1401295857","1401295845","1401295850","1401295853","1401295847","1401295856"],"photo_ids_order":["1401295845","1401295847","1401295850","1401295853","1401295856","1401295857"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ace9cf4910e82e844bec39793bf5c72.jpg","text":"TemporaryFile(/tmp/multipartBody8033424402317206373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854412734,"filename":"image_10122025_10_36_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14519a7a309e5de1c5d12fd8c7fa512c.jpg","text":"TemporaryFile(/tmp/multipartBody5447045906264921407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854412734,"filename":"image_10122025_10_37_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/959dac0940b3139ca792f2064472090b.jpg","text":"TemporaryFile(/tmp/multipartBody1905451165975076128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854412734,"filename":"image_10122025_10_37_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8da03d2b5ea3912b044146140d0b139f.jpg","text":"TemporaryFile(/tmp/multipartBody1765443059063258730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854412734,"filename":"image_10122025_10_37_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e873008220a4fa45b00e6cce12dfbbfe.jpg","text":"TemporaryFile(/tmp/multipartBody5888458385264571636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854412734,"filename":"image_10122025_10_37_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83bf841d4bf76520417e171b90bbbb97.jpg","text":"TemporaryFile(/tmp/multipartBody7030215620455151489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854412734,"filename":"image_10122025_10_36_54_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295850","file1":"1401295847","file0":"1401295845","file4":"1401295856","file5":"1401295857","file3":"1401295853"},"map_files_photo_id_array":[{"photo_id":"1401295857","filename":"file5"},{"photo_id":"1401295850","filename":"file2"},{"photo_id":"1401295856","filename":"file4"},{"photo_id":"1401295847","filename":"file1"},{"photo_id":"1401295845","filename":"file0"},{"photo_id":"1401295853","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295857":["hashtag1","hashtag2"]},{"1401295845":["hashtag1","hashtag2"]},{"1401295850":["hashtag1","hashtag2"]},{"1401295853":["hashtag1","hashtag2"]},{"1401295847":["hashtag1","hashtag2"]},{"1401295856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295857, 1401295845, 1401295850, 1401295853, 1401295847, 1401295856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01570439338684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:53:17.006773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_25_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_36_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_55_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_44_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_34_9608.jpg', '/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_25_9592.jpg', '/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_15_10616.jpg', '/home/nano/Desktop/images/10122025/10/35/image_10122025_10_36_04_9600.jpg', '/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_55_10599.jpg', '/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_34_9608.jpg
/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_25_9592.jpg
/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_15_10616.jpg
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_36_04_9600.jpg
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_55_10599.jpg
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_44_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":["1401295869","1401295863","1401295862","1401295865","1401295870","1401295867"],"photo_ids_order":["1401295862","1401295863","1401295865","1401295867","1401295869","1401295870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69285e7e03767ee6b1fd037b2abca4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5162089456584032222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854457787,"filename":"image_10122025_10_35_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb01126441fc1b1060e55971ea557ded.jpg","text":"TemporaryFile(/tmp/multipartBody3255194078722190699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854457787,"filename":"image_10122025_10_36_25_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7406bd2865351bb6638e95def5bbbbd.jpg","text":"TemporaryFile(/tmp/multipartBody7020532257444488034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854457787,"filename":"image_10122025_10_36_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/12/27/7f8e2672efdbff3a944b201d11ad937d.jpg","text":"TemporaryFile(/tmp/multipartBody624978160595957678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854457787,"filename":"image_10122025_10_36_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acdbf536baea06920b838fa447b896d2.jpg","text":"TemporaryFile(/tmp/multipartBody6817366464920533646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854457787,"filename":"image_10122025_10_35_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/12/27/0601caf4cb4dcacb1cbc5418801f7486.jpg","text":"TemporaryFile(/tmp/multipartBody4749198556322470389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854457787,"filename":"image_10122025_10_36_04_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295865","file1":"1401295863","file0":"1401295862","file4":"1401295869","file5":"1401295870","file3":"1401295867"},"map_files_photo_id_array":[{"photo_id":"1401295870","filename":"file5"},{"photo_id":"1401295865","filename":"file2"},{"photo_id":"1401295869","filename":"file4"},{"photo_id":"1401295863","filename":"file1"},{"photo_id":"1401295862","filename":"file0"},{"photo_id":"1401295867","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295869":["hashtag1","hashtag2"]},{"1401295863":["hashtag1","hashtag2"]},{"1401295862":["hashtag1","hashtag2"]},{"1401295865":["hashtag1","hashtag2"]},{"1401295870":["hashtag1","hashtag2"]},{"1401295867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295869, 1401295863, 1401295862, 1401295865, 1401295870, 1401295867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08523678779602 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:54:02.925979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg', '/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg', '/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_9591.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8255362510681152 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:54:17.100259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg', '/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg', '/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg
/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_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":["1401295893","1401295887","1401295895","1401295889","1401295891","1401295884"],"photo_ids_order":["1401295884","1401295887","1401295889","1401295891","1401295893","1401295895"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f388440048cb190dda1aeba1d3cb232.jpg","text":"TemporaryFile(/tmp/multipartBody6516666601612125616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854517871,"filename":"image_10122025_10_34_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b18c49833e4abdf29dc2c7a0cbdd5723.jpg","text":"TemporaryFile(/tmp/multipartBody3354517124293551235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854517871,"filename":"image_10122025_10_35_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/328d24eb584af372b822df41d856886c.jpg","text":"TemporaryFile(/tmp/multipartBody5854934399915824980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854517871,"filename":"image_10122025_10_34_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/63a8fcbbd8a376486d2b14fa7fa8c120.jpg","text":"TemporaryFile(/tmp/multipartBody4190710397669299924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854517871,"filename":"image_10122025_10_35_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/12/27/b7d563c52cbb2e3a80ae0376cfd6033d.jpg","text":"TemporaryFile(/tmp/multipartBody8051651521772532040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854517871,"filename":"image_10122025_10_35_05_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ccaff757bab62fea044ccd98976a5a8.jpg","text":"TemporaryFile(/tmp/multipartBody4429866395926932452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854517871,"filename":"image_10122025_10_35_35_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295889","file1":"1401295887","file0":"1401295884","file4":"1401295893","file5":"1401295895","file3":"1401295891"},"map_files_photo_id_array":[{"photo_id":"1401295895","filename":"file5"},{"photo_id":"1401295889","filename":"file2"},{"photo_id":"1401295893","filename":"file4"},{"photo_id":"1401295887","filename":"file1"},{"photo_id":"1401295884","filename":"file0"},{"photo_id":"1401295891","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295893":["hashtag1","hashtag2"]},{"1401295887":["hashtag1","hashtag2"]},{"1401295895":["hashtag1","hashtag2"]},{"1401295889":["hashtag1","hashtag2"]},{"1401295891":["hashtag1","hashtag2"]},{"1401295884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295893, 1401295887, 1401295895, 1401295889, 1401295891, 1401295884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1509211063385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:55:02.927333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_35_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_15_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_34_05_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_45_10600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_35_10598.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_24_9587.jpg', '/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_15_9592.jpg', '/home/nano/Desktop/images/10122025/10/33/image_10122025_10_34_05_10604.jpg', '/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_54_9599.jpg', '/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_45_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_35_10598.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_24_9587.jpg
/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_15_9592.jpg
/home/nano/Desktop/images/10122025/10/33/image_10122025_10_34_05_10604.jpg
/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_54_9599.jpg
/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_45_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295902","1401295908","1401295904","1401295906","1401295900","1401295899"],"photo_ids_order":["1401295899","1401295900","1401295902","1401295904","1401295906","1401295908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a16ee4a97b2cad90ccfd8598501c197c.jpg","text":"TemporaryFile(/tmp/multipartBody6761419654554486043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854563753,"filename":"image_10122025_10_34_15_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dddc761a0ff177e49dca03160f2af71f.jpg","text":"TemporaryFile(/tmp/multipartBody352850401767472212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854563753,"filename":"image_10122025_10_33_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac1d0c2af7f46bc6040f7556cd8bc0b7.jpg","text":"TemporaryFile(/tmp/multipartBody6917632103159314764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854563753,"filename":"image_10122025_10_34_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fde4092c858cd199f04b1b154c666ea.jpg","text":"TemporaryFile(/tmp/multipartBody6483333561821019085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854563753,"filename":"image_10122025_10_33_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/12/27/67a5ff89112397dcfc9452309be4d640.jpg","text":"TemporaryFile(/tmp/multipartBody583952237055875792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854563753,"filename":"image_10122025_10_34_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da588ce759d2289c67e1fc2d42b45f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6458882112457137827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854563753,"filename":"image_10122025_10_34_35_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295902","file1":"1401295900","file0":"1401295899","file4":"1401295906","file5":"1401295908","file3":"1401295904"},"map_files_photo_id_array":[{"photo_id":"1401295908","filename":"file5"},{"photo_id":"1401295902","filename":"file2"},{"photo_id":"1401295906","filename":"file4"},{"photo_id":"1401295900","filename":"file1"},{"photo_id":"1401295899","filename":"file0"},{"photo_id":"1401295904","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295902":["hashtag1","hashtag2"]},{"1401295908":["hashtag1","hashtag2"]},{"1401295904":["hashtag1","hashtag2"]},{"1401295906":["hashtag1","hashtag2"]},{"1401295900":["hashtag1","hashtag2"]},{"1401295899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295902, 1401295908, 1401295904, 1401295906, 1401295900, 1401295899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44388294219971 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:55:47.268558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_34_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_14_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_33_05_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_55_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_44_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_34_9586.jpg', '/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_25_10599.jpg', '/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_14_9601.jpg', '/home/nano/Desktop/images/10122025/10/32/image_10122025_10_33_05_9591.jpg', '/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_55_10594.jpg', '/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_44_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_34_9586.jpg
/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_25_10599.jpg
/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_14_9601.jpg
/home/nano/Desktop/images/10122025/10/32/image_10122025_10_33_05_9591.jpg
/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_55_10594.jpg
/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_44_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":["1401295920","1401295917","1401295914","1401295916","1401295918","1401295915"],"photo_ids_order":["1401295914","1401295915","1401295916","1401295917","1401295918","1401295920"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2309c95f5506078ea6d6d67f713d5f01.jpg","text":"TemporaryFile(/tmp/multipartBody7360000228976897458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854608056,"filename":"image_10122025_10_32_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/12/27/01b9f57f89dd87f2dacd6ead74d01461.jpg","text":"TemporaryFile(/tmp/multipartBody6204588978062045345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854608056,"filename":"image_10122025_10_33_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f1b26788dcfc82628548d45a8f73df7.jpg","text":"TemporaryFile(/tmp/multipartBody3821511565739746849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854608056,"filename":"image_10122025_10_33_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42b0b926ae8bcb100b295ed587ad13a5.jpg","text":"TemporaryFile(/tmp/multipartBody1397647287102218259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854608056,"filename":"image_10122025_10_33_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1df0fbaef086169dc644bc67ca5a868.jpg","text":"TemporaryFile(/tmp/multipartBody2266210422691734976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854608056,"filename":"image_10122025_10_32_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab47bf46610bba85d47ab1176aec519f.jpg","text":"TemporaryFile(/tmp/multipartBody4989349802058531647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854608056,"filename":"image_10122025_10_33_25_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295916","file1":"1401295915","file0":"1401295914","file4":"1401295918","file5":"1401295920","file3":"1401295917"},"map_files_photo_id_array":[{"photo_id":"1401295920","filename":"file5"},{"photo_id":"1401295916","filename":"file2"},{"photo_id":"1401295918","filename":"file4"},{"photo_id":"1401295915","filename":"file1"},{"photo_id":"1401295914","filename":"file0"},{"photo_id":"1401295917","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295920":["hashtag1","hashtag2"]},{"1401295917":["hashtag1","hashtag2"]},{"1401295914":["hashtag1","hashtag2"]},{"1401295916":["hashtag1","hashtag2"]},{"1401295918":["hashtag1","hashtag2"]},{"1401295915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295920, 1401295917, 1401295914, 1401295916, 1401295918, 1401295915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63141393661499 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:56:32.374575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_24_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_15_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_32_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_54_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_45_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_35_10596.jpg', '/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_24_9585.jpg', '/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_15_9592.jpg', '/home/nano/Desktop/images/10122025/10/31/image_10122025_10_32_05_10614.jpg', '/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_54_9583.jpg', '/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_45_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_35_10596.jpg
/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_24_9585.jpg
/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_15_9592.jpg
/home/nano/Desktop/images/10122025/10/31/image_10122025_10_32_05_10614.jpg
/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_54_9583.jpg
/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_45_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295938","1401295931","1401295928","1401295939","1401295930","1401295933"],"photo_ids_order":["1401295928","1401295930","1401295931","1401295933","1401295938","1401295939"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24994d80485aa0045b4f1bb82757050c.jpg","text":"TemporaryFile(/tmp/multipartBody8508767326181416389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854653169,"filename":"image_10122025_10_31_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/360459203b85dc5e58dd6ac091e7545e.jpg","text":"TemporaryFile(/tmp/multipartBody8810957767403718160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854653169,"filename":"image_10122025_10_32_15_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51b23a4d9367335f461e1839d6619ba2.jpg","text":"TemporaryFile(/tmp/multipartBody329215811886706946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854653169,"filename":"image_10122025_10_32_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99ec0f0064802cb900725ece40ed6b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1326568583156735986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854653169,"filename":"image_10122025_10_31_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87d7ee8d2626b61726d1dffa777a6ea8.jpg","text":"TemporaryFile(/tmp/multipartBody3348884770198928490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854653169,"filename":"image_10122025_10_32_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4513681f52c0339ab0f979fece563ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2879034463055876590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854653169,"filename":"image_10122025_10_32_05_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295931","file1":"1401295930","file0":"1401295928","file4":"1401295938","file5":"1401295939","file3":"1401295933"},"map_files_photo_id_array":[{"photo_id":"1401295939","filename":"file5"},{"photo_id":"1401295931","filename":"file2"},{"photo_id":"1401295938","filename":"file4"},{"photo_id":"1401295930","filename":"file1"},{"photo_id":"1401295928","filename":"file0"},{"photo_id":"1401295933","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295938":["hashtag1","hashtag2"]},{"1401295931":["hashtag1","hashtag2"]},{"1401295928":["hashtag1","hashtag2"]},{"1401295939":["hashtag1","hashtag2"]},{"1401295930":["hashtag1","hashtag2"]},{"1401295933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295938, 1401295931, 1401295928, 1401295939, 1401295930, 1401295933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01730012893677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:57:17.480752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_15_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_31_04_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_44_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_34_9588.jpg', '/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_25_9584.jpg', '/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_15_10611.jpg', '/home/nano/Desktop/images/10122025/10/30/image_10122025_10_31_04_9586.jpg', '/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_55_10613.jpg', '/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_44_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_34_9588.jpg
/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_25_9584.jpg
/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_15_10611.jpg
/home/nano/Desktop/images/10122025/10/30/image_10122025_10_31_04_9586.jpg
/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_55_10613.jpg
/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_44_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401295953","1401295944","1401295946","1401295955","1401295949","1401295951"],"photo_ids_order":["1401295944","1401295946","1401295949","1401295951","1401295953","1401295955"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/265f4882d1490493bb9069e6b171b9b8.jpg","text":"TemporaryFile(/tmp/multipartBody4427795287638975967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854698259,"filename":"image_10122025_10_30_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0613af4b6c57a2878f2e5454477f4f83.jpg","text":"TemporaryFile(/tmp/multipartBody7410255086681244090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854698259,"filename":"image_10122025_10_31_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/12/27/6825f538269feea1f7cd8a905b5d1eb7.jpg","text":"TemporaryFile(/tmp/multipartBody553061801636091760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854698259,"filename":"image_10122025_10_31_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f02595fda265f884738d7b8780208d4.jpg","text":"TemporaryFile(/tmp/multipartBody4356675061575034668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854698259,"filename":"image_10122025_10_30_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/12/27/1b399eb6ef3a35035facdc306806d427.jpg","text":"TemporaryFile(/tmp/multipartBody4126405240955467339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854698259,"filename":"image_10122025_10_31_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed1d866d9efcbd51c6d2b9e4af40329c.jpg","text":"TemporaryFile(/tmp/multipartBody5944337671470394276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854698259,"filename":"image_10122025_10_31_04_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401295949","file1":"1401295946","file0":"1401295944","file4":"1401295953","file5":"1401295955","file3":"1401295951"},"map_files_photo_id_array":[{"photo_id":"1401295955","filename":"file5"},{"photo_id":"1401295949","filename":"file2"},{"photo_id":"1401295953","filename":"file4"},{"photo_id":"1401295946","filename":"file1"},{"photo_id":"1401295944","filename":"file0"},{"photo_id":"1401295951","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401295953":["hashtag1","hashtag2"]},{"1401295944":["hashtag1","hashtag2"]},{"1401295946":["hashtag1","hashtag2"]},{"1401295955":["hashtag1","hashtag2"]},{"1401295949":["hashtag1","hashtag2"]},{"1401295951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401295953, 1401295944, 1401295946, 1401295955, 1401295949, 1401295951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29750919342041 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:59:03.340377
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_30_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_54_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_45_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_35_9602.jpg', '/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_25_10603.jpg', '/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_14_9620.jpg', '/home/nano/Desktop/images/10122025/10/29/image_10122025_10_30_05_10619.jpg', '/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_54_9588.jpg', '/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_45_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_35_9602.jpg
/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_25_10603.jpg
/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_14_9620.jpg
/home/nano/Desktop/images/10122025/10/29/image_10122025_10_30_05_10619.jpg
/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_54_9588.jpg
/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_45_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401296076","1401295962","1401296039","1401296108","1401296003","1401296143"],"photo_ids_order":["1401295962","1401296003","1401296039","1401296076","1401296108","1401296143"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6521fd221b16266f6a64378ac32abcd.jpg","text":"TemporaryFile(/tmp/multipartBody7146460771557735163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854804196,"filename":"image_10122025_10_30_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07ccdd06a4de64b784e6e0eca8181455.jpg","text":"TemporaryFile(/tmp/multipartBody4655199616074122540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854804196,"filename":"image_10122025_10_30_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9d11ec495d47204e8b453c872ad7e7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2528224410683728299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854804196,"filename":"image_10122025_10_30_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/12/27/c45760753f72427b2aa4470b313fd61a.jpg","text":"TemporaryFile(/tmp/multipartBody8308004885367684292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854804196,"filename":"image_10122025_10_29_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/12/27/c254b29242794549c22d99b699e658d1.jpg","text":"TemporaryFile(/tmp/multipartBody8624029612582493968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854804196,"filename":"image_10122025_10_30_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afba5f87c8d415b22296087bbb40020c.jpg","text":"TemporaryFile(/tmp/multipartBody8340474827449518734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854804196,"filename":"image_10122025_10_29_45_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401296039","file1":"1401296003","file0":"1401295962","file4":"1401296108","file5":"1401296143","file3":"1401296076"},"map_files_photo_id_array":[{"photo_id":"1401296143","filename":"file5"},{"photo_id":"1401296039","filename":"file2"},{"photo_id":"1401296108","filename":"file4"},{"photo_id":"1401296003","filename":"file1"},{"photo_id":"1401295962","filename":"file0"},{"photo_id":"1401296076","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401296076":["hashtag1","hashtag2"]},{"1401295962":["hashtag1","hashtag2"]},{"1401296039":["hashtag1","hashtag2"]},{"1401296108":["hashtag1","hashtag2"]},{"1401296003":["hashtag1","hashtag2"]},{"1401296143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401296076, 1401295962, 1401296039, 1401296108, 1401296003, 1401296143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52811360359192 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 17:59:47.521469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_35_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_15_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_29_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_55_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_34_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_35_10597.jpg', '/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_15_10613.jpg', '/home/nano/Desktop/images/10122025/10/28/image_10122025_10_29_04_9617.jpg', '/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_55_9648.jpg', '/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_45_10621.jpg', '/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_35_10597.jpg
/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_15_10613.jpg
/home/nano/Desktop/images/10122025/10/28/image_10122025_10_29_04_9617.jpg
/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_55_9648.jpg
/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_45_10621.jpg
/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_34_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":["1401296532","1401296420","1401296494","1401296386","1401296353","1401296457"],"photo_ids_order":["1401296353","1401296386","1401296420","1401296457","1401296494","1401296532"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fe062511b3e05826b8e2f982cd43e59.jpg","text":"TemporaryFile(/tmp/multipartBody8026838777718840206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854848347,"filename":"image_10122025_10_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/12/27/73d9e9ce4af6e52e172767d0e262c297.jpg","text":"TemporaryFile(/tmp/multipartBody4839898929406799015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854848347,"filename":"image_10122025_10_29_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/12/27/ce6628e5dfe45256702cc5f775f0211b.jpg","text":"TemporaryFile(/tmp/multipartBody6507589975444198600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854848347,"filename":"image_10122025_10_28_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d3af1a33aeff66b0d57794157c5c3e6.jpg","text":"TemporaryFile(/tmp/multipartBody5779835310127305458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854848347,"filename":"image_10122025_10_29_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96eeedd53c96c2117fcb7e1f91c18039.jpg","text":"TemporaryFile(/tmp/multipartBody7755876053153050405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854848347,"filename":"image_10122025_10_29_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b23f4232bbc96d9b61df23c1462778a.jpg","text":"TemporaryFile(/tmp/multipartBody7608977814332500870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854848347,"filename":"image_10122025_10_28_55_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401296420","file1":"1401296386","file0":"1401296353","file4":"1401296494","file5":"1401296532","file3":"1401296457"},"map_files_photo_id_array":[{"photo_id":"1401296532","filename":"file5"},{"photo_id":"1401296420","filename":"file2"},{"photo_id":"1401296494","filename":"file4"},{"photo_id":"1401296386","filename":"file1"},{"photo_id":"1401296353","filename":"file0"},{"photo_id":"1401296457","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401296532":["hashtag1","hashtag2"]},{"1401296420":["hashtag1","hashtag2"]},{"1401296494":["hashtag1","hashtag2"]},{"1401296386":["hashtag1","hashtag2"]},{"1401296353":["hashtag1","hashtag2"]},{"1401296457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401296532, 1401296420, 1401296494, 1401296386, 1401296353, 1401296457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18176531791687 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:00:32.597153
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_25_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_28_04_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_55_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_45_10748.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_34_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_25_9641.jpg', '/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_15_10651.jpg', '/home/nano/Desktop/images/10122025/10/27/image_10122025_10_28_04_9664.jpg', '/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_55_9744.jpg', '/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_45_10748.jpg', '/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_34_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_25_9641.jpg
/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_15_10651.jpg
/home/nano/Desktop/images/10122025/10/27/image_10122025_10_28_04_9664.jpg
/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_55_9744.jpg
/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_45_10748.jpg
/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_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":["1401296954","1401296750","1401296788","1401296626","1401296833","1401296908"],"photo_ids_order":["1401296626","1401296750","1401296788","1401296833","1401296908","1401296954"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42bbf993d464ce72e78f8bebea57773d.jpg","text":"TemporaryFile(/tmp/multipartBody517309845511929914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854893961,"filename":"image_10122025_10_27_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/12/27/6c51ec429cf486e29e92a1a21735b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2013677122318080091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854893961,"filename":"image_10122025_10_28_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5726a1fb5816d5929aec50a89ae797b8.jpg","text":"TemporaryFile(/tmp/multipartBody6665477809984754573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854893961,"filename":"image_10122025_10_28_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/12/27/2d6a90b65dc3f5c2152344e6693d1d90.jpg","text":"TemporaryFile(/tmp/multipartBody1374580840555801037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854893961,"filename":"image_10122025_10_28_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df1dcb66720164b079900b4215bd7ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7437617719645472379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854893961,"filename":"image_10122025_10_27_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5da43f5b90e548bce826074be936566d.jpg","text":"TemporaryFile(/tmp/multipartBody8260773187618581264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854893961,"filename":"image_10122025_10_27_45_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401296788","file1":"1401296750","file0":"1401296626","file4":"1401296908","file5":"1401296954","file3":"1401296833"},"map_files_photo_id_array":[{"photo_id":"1401296954","filename":"file5"},{"photo_id":"1401296788","filename":"file2"},{"photo_id":"1401296908","filename":"file4"},{"photo_id":"1401296750","filename":"file1"},{"photo_id":"1401296626","filename":"file0"},{"photo_id":"1401296833","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401296954":["hashtag1","hashtag2"]},{"1401296750":["hashtag1","hashtag2"]},{"1401296788":["hashtag1","hashtag2"]},{"1401296626":["hashtag1","hashtag2"]},{"1401296833":["hashtag1","hashtag2"]},{"1401296908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401296954, 1401296750, 1401296788, 1401296626, 1401296833, 1401296908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.566773653030396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:01:17.731336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_25_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_15_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_27_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_45_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_34_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_25_9741.jpg', '/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_15_9772.jpg', '/home/nano/Desktop/images/10122025/10/26/image_10122025_10_27_05_10675.jpg', '/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_54_9599.jpg', '/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_45_10653.jpg', '/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_25_9741.jpg
/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_15_9772.jpg
/home/nano/Desktop/images/10122025/10/26/image_10122025_10_27_05_10675.jpg
/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_54_9599.jpg
/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_45_10653.jpg
/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_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":["1401297461","1401297269","1401297523","1401297367","1401297597","1401297204"],"photo_ids_order":["1401297204","1401297269","1401297367","1401297461","1401297523","1401297597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e40ff64bc8a374a48f7fac65ca655f3.jpg","text":"TemporaryFile(/tmp/multipartBody3822017730930165412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854938550,"filename":"image_10122025_10_26_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/12/27/9fb07f0df023323f47d15e40d53faa25.jpg","text":"TemporaryFile(/tmp/multipartBody5777164365907083664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854938550,"filename":"image_10122025_10_27_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffeb58990c69e98d9918c3b38e6f8db8.jpg","text":"TemporaryFile(/tmp/multipartBody3235691854957974282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854938550,"filename":"image_10122025_10_26_45_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55cbd3cf46e6da1d5a87ac3e12d9cfd5.jpg","text":"TemporaryFile(/tmp/multipartBody934597464816136727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854938550,"filename":"image_10122025_10_27_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b2f0b4e1a30cb8ee9685826efeaca62.jpg","text":"TemporaryFile(/tmp/multipartBody8182589147764807687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854938550,"filename":"image_10122025_10_26_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/12/27/ae19d1f59bdb159991aef53f32a17f29.jpg","text":"TemporaryFile(/tmp/multipartBody5438935522071466936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854938550,"filename":"image_10122025_10_27_25_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401297367","file1":"1401297269","file0":"1401297204","file4":"1401297523","file5":"1401297597","file3":"1401297461"},"map_files_photo_id_array":[{"photo_id":"1401297597","filename":"file5"},{"photo_id":"1401297367","filename":"file2"},{"photo_id":"1401297523","filename":"file4"},{"photo_id":"1401297269","filename":"file1"},{"photo_id":"1401297204","filename":"file0"},{"photo_id":"1401297461","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401297461":["hashtag1","hashtag2"]},{"1401297269":["hashtag1","hashtag2"]},{"1401297523":["hashtag1","hashtag2"]},{"1401297367":["hashtag1","hashtag2"]},{"1401297597":["hashtag1","hashtag2"]},{"1401297204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401297461, 1401297269, 1401297523, 1401297367, 1401297597, 1401297204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19850444793701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:02:02.300688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_25_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_15_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_26_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_34_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_25_9644.jpg', '/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_15_10683.jpg', '/home/nano/Desktop/images/10122025/10/25/image_10122025_10_26_04_9652.jpg', '/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_55_9606.jpg', '/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_45_10632.jpg', '/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_25_9644.jpg
/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_15_10683.jpg
/home/nano/Desktop/images/10122025/10/25/image_10122025_10_26_04_9652.jpg
/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_55_9606.jpg
/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_45_10632.jpg
/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_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":["1401297889","1401297827","1401297817","1401297858","1401297819","1401297816"],"photo_ids_order":["1401297816","1401297817","1401297819","1401297827","1401297858","1401297889"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1d78c1a62878c77375dcb8a532decf4.jpg","text":"TemporaryFile(/tmp/multipartBody4485565085920938347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854983128,"filename":"image_10122025_10_25_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/12/27/3e9ca67236ca0883e3728e37e6799ad5.jpg","text":"TemporaryFile(/tmp/multipartBody6334157477949662404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854983128,"filename":"image_10122025_10_25_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0187fe7a02d7e3056559ec431019d98.jpg","text":"TemporaryFile(/tmp/multipartBody1166319050809106656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854983128,"filename":"image_10122025_10_26_15_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecd4980700f908ab22dd0d2155dea72f.jpg","text":"TemporaryFile(/tmp/multipartBody5692081241563203205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854983128,"filename":"image_10122025_10_25_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e816623a9927dfbf520c1c6779ee8af.jpg","text":"TemporaryFile(/tmp/multipartBody7206203527117832106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854983128,"filename":"image_10122025_10_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/12/27/f9a665af7a06da21d81e0dc81252a62a.jpg","text":"TemporaryFile(/tmp/multipartBody4709046326483386706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766854983128,"filename":"image_10122025_10_26_25_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401297819","file1":"1401297817","file0":"1401297816","file4":"1401297858","file5":"1401297889","file3":"1401297827"},"map_files_photo_id_array":[{"photo_id":"1401297889","filename":"file5"},{"photo_id":"1401297819","filename":"file2"},{"photo_id":"1401297858","filename":"file4"},{"photo_id":"1401297817","filename":"file1"},{"photo_id":"1401297816","filename":"file0"},{"photo_id":"1401297827","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401297889":["hashtag1","hashtag2"]},{"1401297827":["hashtag1","hashtag2"]},{"1401297817":["hashtag1","hashtag2"]},{"1401297858":["hashtag1","hashtag2"]},{"1401297819":["hashtag1","hashtag2"]},{"1401297816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401297889, 1401297827, 1401297817, 1401297858, 1401297819, 1401297816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.130338191986084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:02:46.858229
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_25_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_25_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_35_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_25_9614.jpg', '/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_15_10647.jpg', '/home/nano/Desktop/images/10122025/10/24/image_10122025_10_25_04_9607.jpg', '/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_55_10613.jpg', '/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_44_9604.jpg', '/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_35_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_25_9614.jpg
/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_15_10647.jpg
/home/nano/Desktop/images/10122025/10/24/image_10122025_10_25_04_9607.jpg
/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_55_10613.jpg
/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_44_9604.jpg
/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_35_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":["1401298451","1401298439","1401298406","1401298564","1401298557","1401298485"],"photo_ids_order":["1401298406","1401298439","1401298451","1401298485","1401298557","1401298564"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88b1012480f0672eb919b81a7e740a58.jpg","text":"TemporaryFile(/tmp/multipartBody5226016417184859186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855027648,"filename":"image_10122025_10_25_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/12/27/8643db3c50f939109df59cbb1d01e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody8357605697419565128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855027648,"filename":"image_10122025_10_25_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a7d1d10e6404aaaec49ab2b0230338f.jpg","text":"TemporaryFile(/tmp/multipartBody8107848395498939063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855027648,"filename":"image_10122025_10_25_25_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ee3c15111342da3394de036ab7e3a1a.jpg","text":"TemporaryFile(/tmp/multipartBody512312432923759771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855027648,"filename":"image_10122025_10_24_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11829a4cfc137452e866c948de8593ca.jpg","text":"TemporaryFile(/tmp/multipartBody5242418307866988931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855027648,"filename":"image_10122025_10_24_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/12/27/0e4cc583537419566442adc16f287620.jpg","text":"TemporaryFile(/tmp/multipartBody7186696723860162997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855027648,"filename":"image_10122025_10_24_55_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401298451","file1":"1401298439","file0":"1401298406","file4":"1401298557","file5":"1401298564","file3":"1401298485"},"map_files_photo_id_array":[{"photo_id":"1401298564","filename":"file5"},{"photo_id":"1401298451","filename":"file2"},{"photo_id":"1401298557","filename":"file4"},{"photo_id":"1401298439","filename":"file1"},{"photo_id":"1401298406","filename":"file0"},{"photo_id":"1401298485","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401298451":["hashtag1","hashtag2"]},{"1401298439":["hashtag1","hashtag2"]},{"1401298406":["hashtag1","hashtag2"]},{"1401298564":["hashtag1","hashtag2"]},{"1401298557":["hashtag1","hashtag2"]},{"1401298485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401298451, 1401298439, 1401298406, 1401298564, 1401298557, 1401298485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.359835386276245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:03:31.951957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_24_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_35_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_25_10614.jpg', '/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_14_9637.jpg', '/home/nano/Desktop/images/10122025/10/23/image_10122025_10_24_05_10630.jpg', '/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_54_9604.jpg', '/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_44_9603.jpg', '/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_35_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_25_10614.jpg
/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_14_9637.jpg
/home/nano/Desktop/images/10122025/10/23/image_10122025_10_24_05_10630.jpg
/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_54_9604.jpg
/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_44_9603.jpg
/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_35_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":["1401298622","1401298616","1401298625","1401298619","1401298617","1401298626"],"photo_ids_order":["1401298616","1401298617","1401298619","1401298622","1401298625","1401298626"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14f12893e505908d16dd8d31f2dafa80.jpg","text":"TemporaryFile(/tmp/multipartBody3358978291476663492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855072782,"filename":"image_10122025_10_23_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/12/27/04e32790a0048b0b27aa6be114156777.jpg","text":"TemporaryFile(/tmp/multipartBody8782982686847960619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855072782,"filename":"image_10122025_10_24_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecfba680c432ce8fe21f03a75032f63d.jpg","text":"TemporaryFile(/tmp/multipartBody3976842657530992479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855072782,"filename":"image_10122025_10_23_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/12/27/9d19da5bffba406763f960e8dc1417fa.jpg","text":"TemporaryFile(/tmp/multipartBody5442098799835234215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855072782,"filename":"image_10122025_10_24_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec8960323bdd351a3957dc49cad15436.jpg","text":"TemporaryFile(/tmp/multipartBody627090608639957350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855072782,"filename":"image_10122025_10_24_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/12/27/401833fefed333a7374885e974c4b8cc.jpg","text":"TemporaryFile(/tmp/multipartBody264352896085054818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855072782,"filename":"image_10122025_10_23_35_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401298619","file1":"1401298617","file0":"1401298616","file4":"1401298625","file5":"1401298626","file3":"1401298622"},"map_files_photo_id_array":[{"photo_id":"1401298626","filename":"file5"},{"photo_id":"1401298619","filename":"file2"},{"photo_id":"1401298625","filename":"file4"},{"photo_id":"1401298617","filename":"file1"},{"photo_id":"1401298616","filename":"file0"},{"photo_id":"1401298622","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401298622":["hashtag1","hashtag2"]},{"1401298616":["hashtag1","hashtag2"]},{"1401298625":["hashtag1","hashtag2"]},{"1401298619":["hashtag1","hashtag2"]},{"1401298617":["hashtag1","hashtag2"]},{"1401298626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401298622, 1401298616, 1401298625, 1401298619, 1401298617, 1401298626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69782853126526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:04:17.058315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_23_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_24_9603.jpg', '/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_15_9603.jpg', '/home/nano/Desktop/images/10122025/10/22/image_10122025_10_23_05_10657.jpg', '/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_54_9621.jpg', '/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_45_10625.jpg', '/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_24_9603.jpg
/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_15_9603.jpg
/home/nano/Desktop/images/10122025/10/22/image_10122025_10_23_05_10657.jpg
/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_54_9621.jpg
/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_45_10625.jpg
/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_34_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":["1401298631","1401298642","1401298635","1401298638","1401298632","1401298640"],"photo_ids_order":["1401298631","1401298632","1401298635","1401298638","1401298640","1401298642"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93c2ae37cd5f8ddb230595c61d8cbcff.jpg","text":"TemporaryFile(/tmp/multipartBody7046032713284657547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855117887,"filename":"image_10122025_10_23_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/12/27/35a5d2e4e0d6f4120d607ef66e3882f2.jpg","text":"TemporaryFile(/tmp/multipartBody7891399489186795317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855117887,"filename":"image_10122025_10_22_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/12/27/087ac14655b767a1479cc48b613e4ece.jpg","text":"TemporaryFile(/tmp/multipartBody109248731701941902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855117887,"filename":"image_10122025_10_23_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/065f954196cefbe36c37e4c2331c8c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6725011492978850568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855117887,"filename":"image_10122025_10_22_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/12/27/0e440d6c1da6ccd3e61a9c81ade184ba.jpg","text":"TemporaryFile(/tmp/multipartBody8261933723334597408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855117887,"filename":"image_10122025_10_23_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18fbf2f89978a80499b2a8dfa6b877bd.jpg","text":"TemporaryFile(/tmp/multipartBody3857763078516426141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855117887,"filename":"image_10122025_10_22_45_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401298635","file1":"1401298632","file0":"1401298631","file4":"1401298640","file5":"1401298642","file3":"1401298638"},"map_files_photo_id_array":[{"photo_id":"1401298642","filename":"file5"},{"photo_id":"1401298635","filename":"file2"},{"photo_id":"1401298640","filename":"file4"},{"photo_id":"1401298632","filename":"file1"},{"photo_id":"1401298631","filename":"file0"},{"photo_id":"1401298638","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401298631":["hashtag1","hashtag2"]},{"1401298642":["hashtag1","hashtag2"]},{"1401298635":["hashtag1","hashtag2"]},{"1401298638":["hashtag1","hashtag2"]},{"1401298632":["hashtag1","hashtag2"]},{"1401298640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401298631, 1401298642, 1401298635, 1401298638, 1401298632, 1401298640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94444799423218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:05:02.948768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_22_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_34_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_25_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_25_9612.jpg', '/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_15_10633.jpg', '/home/nano/Desktop/images/10122025/10/21/image_10122025_10_22_04_9605.jpg', '/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_45_10614.jpg', '/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_34_9626.jpg', '/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_25_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_25_9612.jpg
/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_15_10633.jpg
/home/nano/Desktop/images/10122025/10/21/image_10122025_10_22_04_9605.jpg
/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_45_10614.jpg
/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_34_9626.jpg
/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_25_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":["1401298798","1401298765","1401298645","1401298698","1401298734","1401298665"],"photo_ids_order":["1401298645","1401298665","1401298698","1401298734","1401298765","1401298798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39ef50fb35ad0b08c7b699fb8147327c.jpg","text":"TemporaryFile(/tmp/multipartBody2567689903704634123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855163824,"filename":"image_10122025_10_21_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8729eeec0b1201fe0a74523a0772b468.jpg","text":"TemporaryFile(/tmp/multipartBody2800413510762267361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855163824,"filename":"image_10122025_10_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/12/27/393e034a2b533a5f9f055f17cd9c6be6.jpg","text":"TemporaryFile(/tmp/multipartBody4380167238823315768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855163824,"filename":"image_10122025_10_22_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34623fd461dcb2e4a93f3d593b19e015.jpg","text":"TemporaryFile(/tmp/multipartBody2980659204652905172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855163824,"filename":"image_10122025_10_22_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/12/27/bd3630d82d057d82faf4db99fe4ddba4.jpg","text":"TemporaryFile(/tmp/multipartBody7885853019581409497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855163824,"filename":"image_10122025_10_21_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9fda64b611c1755be6021bb1e2be3e7.jpg","text":"TemporaryFile(/tmp/multipartBody4167067383327780362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855163824,"filename":"image_10122025_10_22_15_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401298698","file1":"1401298665","file0":"1401298645","file4":"1401298765","file5":"1401298798","file3":"1401298734"},"map_files_photo_id_array":[{"photo_id":"1401298798","filename":"file5"},{"photo_id":"1401298698","filename":"file2"},{"photo_id":"1401298765","filename":"file4"},{"photo_id":"1401298665","filename":"file1"},{"photo_id":"1401298645","filename":"file0"},{"photo_id":"1401298734","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401298798":["hashtag1","hashtag2"]},{"1401298765":["hashtag1","hashtag2"]},{"1401298645":["hashtag1","hashtag2"]},{"1401298698":["hashtag1","hashtag2"]},{"1401298734":["hashtag1","hashtag2"]},{"1401298665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401298798, 1401298765, 1401298645, 1401298698, 1401298734, 1401298665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25623679161072 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:05:47.187759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_21_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_24_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_14_9630.jpg', '/home/nano/Desktop/images/10122025/10/20/image_10122025_10_21_05_9608.jpg', '/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_55_10624.jpg', '/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_44_9612.jpg', '/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_35_10618.jpg', '/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_24_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_14_9630.jpg
/home/nano/Desktop/images/10122025/10/20/image_10122025_10_21_05_9608.jpg
/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_55_10624.jpg
/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_44_9612.jpg
/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_35_10618.jpg
/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_24_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":["1401299065","1401299068","1401299038","1401299070","1401299001","1401299066"],"photo_ids_order":["1401299001","1401299038","1401299065","1401299066","1401299068","1401299070"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64be88462b6118eab78fb756ea4e8599.jpg","text":"TemporaryFile(/tmp/multipartBody489055101682933441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855207994,"filename":"image_10122025_10_20_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/120c54f73563dd72c74bc222fb8b1497.jpg","text":"TemporaryFile(/tmp/multipartBody1614203917582200993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855207994,"filename":"image_10122025_10_20_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ba338754146006de2f321659b21e486.jpg","text":"TemporaryFile(/tmp/multipartBody4745605458759211109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855207994,"filename":"image_10122025_10_21_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a437accf82ababa1ff2b7bcfb7c35475.jpg","text":"TemporaryFile(/tmp/multipartBody3490399655589617557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855207994,"filename":"image_10122025_10_20_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/12/27/6f2e3c69b99d028f6edba901db87144e.jpg","text":"TemporaryFile(/tmp/multipartBody7130252829366110664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855207994,"filename":"image_10122025_10_21_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/12/27/0dd6756775d806822e3e6dc7f9d9aec3.jpg","text":"TemporaryFile(/tmp/multipartBody6218958461316785992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855207994,"filename":"image_10122025_10_20_44_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299065","file1":"1401299038","file0":"1401299001","file4":"1401299068","file5":"1401299070","file3":"1401299066"},"map_files_photo_id_array":[{"photo_id":"1401299070","filename":"file5"},{"photo_id":"1401299065","filename":"file2"},{"photo_id":"1401299068","filename":"file4"},{"photo_id":"1401299038","filename":"file1"},{"photo_id":"1401299001","filename":"file0"},{"photo_id":"1401299066","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299065":["hashtag1","hashtag2"]},{"1401299068":["hashtag1","hashtag2"]},{"1401299038":["hashtag1","hashtag2"]},{"1401299070":["hashtag1","hashtag2"]},{"1401299001":["hashtag1","hashtag2"]},{"1401299066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299065, 1401299068, 1401299038, 1401299070, 1401299001, 1401299066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.566022634506226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:06:32.352683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6882250308990479 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:06:47.281432
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg', '/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_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":["1401299263","1401299266","1401299260","1401299233","1401299268","1401299264"],"photo_ids_order":["1401299233","1401299260","1401299263","1401299264","1401299266","1401299268"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb1e5b9c8a7987008ee8051ef6804fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4038082926573990415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855268061,"filename":"image_10122025_10_19_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/12/27/b7e5c6940963887aa933ac4c1a461238.jpg","text":"TemporaryFile(/tmp/multipartBody772024923285902130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855268061,"filename":"image_10122025_10_19_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/650988665c2a50872b7a2c711c5e4ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7390934207343078729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855268061,"filename":"image_10122025_10_20_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a335b81e1b2d3cfd829f2c6df75daa5e.jpg","text":"TemporaryFile(/tmp/multipartBody6489237825221472406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855268061,"filename":"image_10122025_10_20_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49c7181939ea1951189450725306a496.jpg","text":"TemporaryFile(/tmp/multipartBody6037832627776674513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855268061,"filename":"image_10122025_10_19_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/12/27/003402dd73bbf9ef13a84378d9b8e0ff.jpg","text":"TemporaryFile(/tmp/multipartBody2146191528004016252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855268061,"filename":"image_10122025_10_19_45_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299263","file1":"1401299260","file0":"1401299233","file4":"1401299266","file5":"1401299268","file3":"1401299264"},"map_files_photo_id_array":[{"photo_id":"1401299268","filename":"file5"},{"photo_id":"1401299263","filename":"file2"},{"photo_id":"1401299266","filename":"file4"},{"photo_id":"1401299260","filename":"file1"},{"photo_id":"1401299233","filename":"file0"},{"photo_id":"1401299264","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299263":["hashtag1","hashtag2"]},{"1401299266":["hashtag1","hashtag2"]},{"1401299260":["hashtag1","hashtag2"]},{"1401299233":["hashtag1","hashtag2"]},{"1401299268":["hashtag1","hashtag2"]},{"1401299264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299263, 1401299266, 1401299260, 1401299233, 1401299268, 1401299264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.993584632873535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:07:32.389603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_19_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_25_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_15_10648.jpg', '/home/nano/Desktop/images/10122025/10/18/image_10122025_10_19_04_9625.jpg', '/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_55_9606.jpg', '/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_45_10619.jpg', '/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_34_9605.jpg', '/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_25_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_15_10648.jpg
/home/nano/Desktop/images/10122025/10/18/image_10122025_10_19_04_9625.jpg
/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_55_9606.jpg
/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_45_10619.jpg
/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_34_9605.jpg
/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_25_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":["1401299284","1401299283","1401299277","1401299279","1401299276","1401299281"],"photo_ids_order":["1401299276","1401299277","1401299279","1401299281","1401299283","1401299284"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cfb979d1c01c81040dc3e35e9ecacec.jpg","text":"TemporaryFile(/tmp/multipartBody768485896828301058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855313202,"filename":"image_10122025_10_18_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ba0677eca40055a6d4220154ab21a72.jpg","text":"TemporaryFile(/tmp/multipartBody7720750646366772685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855313202,"filename":"image_10122025_10_18_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/12/27/6fca69582536d41ec72e06842694d702.jpg","text":"TemporaryFile(/tmp/multipartBody1074779992862626951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855313202,"filename":"image_10122025_10_19_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/12/27/0e8a28510ab829bce56e615279ba128b.jpg","text":"TemporaryFile(/tmp/multipartBody8218274980510847292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855313202,"filename":"image_10122025_10_18_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4ea56bb8023d91bb8b5e466fae04402.jpg","text":"TemporaryFile(/tmp/multipartBody1231214005551714208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855313202,"filename":"image_10122025_10_19_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f009ecc91a28061a03ab13f0773a0505.jpg","text":"TemporaryFile(/tmp/multipartBody8932784574833152643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855313202,"filename":"image_10122025_10_18_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299279","file1":"1401299277","file0":"1401299276","file4":"1401299283","file5":"1401299284","file3":"1401299281"},"map_files_photo_id_array":[{"photo_id":"1401299284","filename":"file5"},{"photo_id":"1401299279","filename":"file2"},{"photo_id":"1401299283","filename":"file4"},{"photo_id":"1401299277","filename":"file1"},{"photo_id":"1401299276","filename":"file0"},{"photo_id":"1401299281","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299284":["hashtag1","hashtag2"]},{"1401299283":["hashtag1","hashtag2"]},{"1401299277":["hashtag1","hashtag2"]},{"1401299279":["hashtag1","hashtag2"]},{"1401299276":["hashtag1","hashtag2"]},{"1401299281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299284, 1401299283, 1401299277, 1401299279, 1401299276, 1401299281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01979684829712 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:08:17.576733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_18_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_25_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_14_9621.jpg', '/home/nano/Desktop/images/10122025/10/17/image_10122025_10_18_04_9638.jpg', '/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_55_10618.jpg', '/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_44_9610.jpg', '/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_35_9620.jpg', '/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_14_9621.jpg
/home/nano/Desktop/images/10122025/10/17/image_10122025_10_18_04_9638.jpg
/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_55_10618.jpg
/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_44_9610.jpg
/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_35_9620.jpg
/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_25_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":["1401299300","1401299293","1401299289","1401299298","1401299291","1401299296"],"photo_ids_order":["1401299289","1401299291","1401299293","1401299296","1401299298","1401299300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/891aed07f334acaf41b5b80ee5176a21.jpg","text":"TemporaryFile(/tmp/multipartBody3489157666329863913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855358391,"filename":"image_10122025_10_17_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbb777ebdd0a025b7b0c9fd55de8f4fa.jpg","text":"TemporaryFile(/tmp/multipartBody5079678098022010565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855358391,"filename":"image_10122025_10_17_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/742f1147b4c7a9fe626d70c024a3e8c7.jpg","text":"TemporaryFile(/tmp/multipartBody2178096440100422884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855358391,"filename":"image_10122025_10_18_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/758b4df558d2b15ad26e17865bb21959.jpg","text":"TemporaryFile(/tmp/multipartBody323299040114458979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855358391,"filename":"image_10122025_10_17_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e02ba4c0623fc7ce2f4b539be4b53b71.jpg","text":"TemporaryFile(/tmp/multipartBody2772209036012028652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855358391,"filename":"image_10122025_10_18_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/12/27/d049c2af102ab5a9a84116e52b661d76.jpg","text":"TemporaryFile(/tmp/multipartBody5111374003069146926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855358391,"filename":"image_10122025_10_17_44_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299293","file1":"1401299291","file0":"1401299289","file4":"1401299298","file5":"1401299300","file3":"1401299296"},"map_files_photo_id_array":[{"photo_id":"1401299300","filename":"file5"},{"photo_id":"1401299293","filename":"file2"},{"photo_id":"1401299298","filename":"file4"},{"photo_id":"1401299291","filename":"file1"},{"photo_id":"1401299289","filename":"file0"},{"photo_id":"1401299296","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299300":["hashtag1","hashtag2"]},{"1401299293":["hashtag1","hashtag2"]},{"1401299289":["hashtag1","hashtag2"]},{"1401299298":["hashtag1","hashtag2"]},{"1401299291":["hashtag1","hashtag2"]},{"1401299296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299300, 1401299293, 1401299289, 1401299298, 1401299291, 1401299296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13586401939392 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:09:03.483897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_35_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_15_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_14_9618.jpg', '/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_54_9606.jpg', '/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_44_9609.jpg', '/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_35_10638.jpg', '/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_24_9618.jpg', '/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_15_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_14_9618.jpg
/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_54_9606.jpg
/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_44_9609.jpg
/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_35_10638.jpg
/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_24_9618.jpg
/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_15_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":["1401299309","1401299329","1401299308","1401299311","1401299313","1401299315"],"photo_ids_order":["1401299308","1401299309","1401299311","1401299313","1401299315","1401299329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/858a710fbcea7f8ab0e721dd36be753d.jpg","text":"TemporaryFile(/tmp/multipartBody708949133056407179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855404442,"filename":"image_10122025_10_16_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/12/27/99d076e0c2d2d58cfa4ab5bdb29c9e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4135753295956513582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855404442,"filename":"image_10122025_10_16_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fb82f4d98161b4412771c1f4f703696.jpg","text":"TemporaryFile(/tmp/multipartBody6954440276332149394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855404442,"filename":"image_10122025_10_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/12/27/e49053275c7791a58cf59b006b14dd1c.jpg","text":"TemporaryFile(/tmp/multipartBody4603568276211189125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855404442,"filename":"image_10122025_10_16_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/12/27/1f59034051284258c6b9351f9fe0dfc7.jpg","text":"TemporaryFile(/tmp/multipartBody1608857467349323433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855404442,"filename":"image_10122025_10_16_35_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb5414107cc82eff2251460df898e03b.jpg","text":"TemporaryFile(/tmp/multipartBody8145019492163077785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855404442,"filename":"image_10122025_10_16_24_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299311","file1":"1401299309","file0":"1401299308","file4":"1401299315","file5":"1401299329","file3":"1401299313"},"map_files_photo_id_array":[{"photo_id":"1401299329","filename":"file5"},{"photo_id":"1401299311","filename":"file2"},{"photo_id":"1401299315","filename":"file4"},{"photo_id":"1401299309","filename":"file1"},{"photo_id":"1401299308","filename":"file0"},{"photo_id":"1401299313","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299309":["hashtag1","hashtag2"]},{"1401299329":["hashtag1","hashtag2"]},{"1401299308":["hashtag1","hashtag2"]},{"1401299311":["hashtag1","hashtag2"]},{"1401299313":["hashtag1","hashtag2"]},{"1401299315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299309, 1401299329, 1401299308, 1401299311, 1401299313, 1401299315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93587803840637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:09:47.661873
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_16_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_15_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/15/image_10122025_10_16_05_10637.jpg', '/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_54_9602.jpg', '/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_45_10620.jpg', '/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_34_9611.jpg', '/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_25_9609.jpg', '/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_15_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/15/image_10122025_10_16_05_10637.jpg
/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_54_9602.jpg
/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_45_10620.jpg
/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_34_9611.jpg
/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_25_9609.jpg
/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_15_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":["1401299383","1401299371","1401299391","1401299388","1401299393","1401299372"],"photo_ids_order":["1401299371","1401299372","1401299383","1401299388","1401299391","1401299393"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/478d3054fd8ebf12d711f4fcea31c1b1.jpg","text":"TemporaryFile(/tmp/multipartBody571883546794964465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855448455,"filename":"image_10122025_10_15_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/055815e6b79263a93e8b8485a9a8795b.jpg","text":"TemporaryFile(/tmp/multipartBody2479070594361316656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855448455,"filename":"image_10122025_10_16_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62f5f1b901a01e14d0212e08235b9dfc.jpg","text":"TemporaryFile(/tmp/multipartBody8339618566484736639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855448455,"filename":"image_10122025_10_15_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a486644ae93b775344c455cbc071eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1491307562885135845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855448455,"filename":"image_10122025_10_15_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/12/27/25aeefb190f8f4ea3864a8d259db56d5.jpg","text":"TemporaryFile(/tmp/multipartBody5805123415918048891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855448455,"filename":"image_10122025_10_15_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa013ef2e91bf4cc57f19ccfd47da43a.jpg","text":"TemporaryFile(/tmp/multipartBody381028309205539277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855448455,"filename":"image_10122025_10_15_54_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299383","file1":"1401299372","file0":"1401299371","file4":"1401299391","file5":"1401299393","file3":"1401299388"},"map_files_photo_id_array":[{"photo_id":"1401299393","filename":"file5"},{"photo_id":"1401299383","filename":"file2"},{"photo_id":"1401299391","filename":"file4"},{"photo_id":"1401299372","filename":"file1"},{"photo_id":"1401299371","filename":"file0"},{"photo_id":"1401299388","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299383":["hashtag1","hashtag2"]},{"1401299371":["hashtag1","hashtag2"]},{"1401299391":["hashtag1","hashtag2"]},{"1401299388":["hashtag1","hashtag2"]},{"1401299393":["hashtag1","hashtag2"]},{"1401299372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299383, 1401299371, 1401299391, 1401299388, 1401299393, 1401299372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16065192222595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:10:31.761280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_15_04_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_55_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_45_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_24_9797.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_15_9746.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/14/image_10122025_10_15_04_9712.jpg', '/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_55_9761.jpg', '/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_45_9701.jpg', '/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_35_10690.jpg', '/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_24_9797.jpg', '/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/14/image_10122025_10_15_04_9712.jpg
/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_55_9761.jpg
/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_45_9701.jpg
/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_35_10690.jpg
/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_24_9797.jpg
/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_15_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401299434","1401299442","1401299432","1401299441","1401299429","1401299438"],"photo_ids_order":["1401299429","1401299432","1401299434","1401299438","1401299441","1401299442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2d4df98e54966cc3e2d2e1e80a83c72.jpg","text":"TemporaryFile(/tmp/multipartBody2434971244492368563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855492629,"filename":"image_10122025_10_14_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53cc6ef3411a76406687c5ad04a52952.jpg","text":"TemporaryFile(/tmp/multipartBody4575030150454776958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855492629,"filename":"image_10122025_10_14_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7971bd06c39fb10622700bc30f46aa2a.jpg","text":"TemporaryFile(/tmp/multipartBody605261053881827543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855492629,"filename":"image_10122025_10_14_55_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c7b0261b3d255dbfae0637b345d923d0.jpg","text":"TemporaryFile(/tmp/multipartBody2607125838184088782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855492629,"filename":"image_10122025_10_14_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11529c42b1fee5b197fd61dc2ebabac4.jpg","text":"TemporaryFile(/tmp/multipartBody7872616241983379178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855492629,"filename":"image_10122025_10_15_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32eb777c6794de9c753ddd3d39627689.jpg","text":"TemporaryFile(/tmp/multipartBody5531491332300194977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855492629,"filename":"image_10122025_10_14_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299434","file1":"1401299432","file0":"1401299429","file4":"1401299441","file5":"1401299442","file3":"1401299438"},"map_files_photo_id_array":[{"photo_id":"1401299442","filename":"file5"},{"photo_id":"1401299434","filename":"file2"},{"photo_id":"1401299441","filename":"file4"},{"photo_id":"1401299432","filename":"file1"},{"photo_id":"1401299429","filename":"file0"},{"photo_id":"1401299438","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299434":["hashtag1","hashtag2"]},{"1401299442":["hashtag1","hashtag2"]},{"1401299432":["hashtag1","hashtag2"]},{"1401299441":["hashtag1","hashtag2"]},{"1401299429":["hashtag1","hashtag2"]},{"1401299438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299434, 1401299442, 1401299432, 1401299441, 1401299429, 1401299438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13990259170532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:11:16.860573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_14_05_9828.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_55_10857.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_44_9825.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_34_9844.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_25_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_15_9816.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/13/image_10122025_10_14_05_9828.jpg', '/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_55_10857.jpg', '/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_44_9825.jpg', '/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_34_9844.jpg', '/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_25_9651.jpg', '/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_15_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/13/image_10122025_10_14_05_9828.jpg
/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_55_10857.jpg
/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_44_9825.jpg
/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_34_9844.jpg
/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_25_9651.jpg
/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_15_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401299458","1401299452","1401299454","1401299448","1401299450","1401299456"],"photo_ids_order":["1401299448","1401299450","1401299452","1401299454","1401299456","1401299458"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a6a6a46a828bf0c9a4f9ec55a1adcc6.jpg","text":"TemporaryFile(/tmp/multipartBody7560074146187165290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855537717,"filename":"image_10122025_10_13_15_9816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3051db940595356c25b60845cdff0bc8.jpg","text":"TemporaryFile(/tmp/multipartBody4402729962360236283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855537717,"filename":"image_10122025_10_13_44_9825.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ae9d091746131f7428eecbc05a02292.jpg","text":"TemporaryFile(/tmp/multipartBody8561181480331615592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855537717,"filename":"image_10122025_10_13_34_9844.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd6abaf3bde250d3888eb35eb9d36224.jpg","text":"TemporaryFile(/tmp/multipartBody8827970265427761120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855537717,"filename":"image_10122025_10_14_05_9828.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/80f97562d8050baf9c70c366f221866d.jpg","text":"TemporaryFile(/tmp/multipartBody1709778440703155691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855537717,"filename":"image_10122025_10_13_55_10857.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfbdfec74d7ea07f95eec24f6e8ad0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1315984098646380142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855537717,"filename":"image_10122025_10_13_25_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299452","file1":"1401299450","file0":"1401299448","file4":"1401299456","file5":"1401299458","file3":"1401299454"},"map_files_photo_id_array":[{"photo_id":"1401299458","filename":"file5"},{"photo_id":"1401299452","filename":"file2"},{"photo_id":"1401299456","filename":"file4"},{"photo_id":"1401299450","filename":"file1"},{"photo_id":"1401299448","filename":"file0"},{"photo_id":"1401299454","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299458":["hashtag1","hashtag2"]},{"1401299452":["hashtag1","hashtag2"]},{"1401299454":["hashtag1","hashtag2"]},{"1401299448":["hashtag1","hashtag2"]},{"1401299450":["hashtag1","hashtag2"]},{"1401299456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299458, 1401299452, 1401299454, 1401299448, 1401299450, 1401299456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.065688610076904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:12:02.451409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8093247413635254 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:12:16.984543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg', '/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg
/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401299484","1401299481","1401299475","1401299478","1401299486","1401299488"],"photo_ids_order":["1401299475","1401299478","1401299481","1401299484","1401299486","1401299488"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc5b99031de3e220f4fca9e0bcc8363d.jpg","text":"TemporaryFile(/tmp/multipartBody4381804780125571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855597843,"filename":"image_10122025_10_12_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0922eac624f3380c0515931f728c062.jpg","text":"TemporaryFile(/tmp/multipartBody778896343255475706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855597843,"filename":"image_10122025_10_12_45_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f2cf8dbcda8a4dd520baf3984f7ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody2883703600958310419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855597843,"filename":"image_10122025_10_13_05_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce6ef57e3a47e04d61a7eff7425d3f00.jpg","text":"TemporaryFile(/tmp/multipartBody921183276880180003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855597843,"filename":"image_10122025_10_12_54_9799.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/072126a19203c523d8b8eda83fe0017a.jpg","text":"TemporaryFile(/tmp/multipartBody8469972589236772202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855597843,"filename":"image_10122025_10_12_24_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/577513014f7b90cefb760e2fa9949901.jpg","text":"TemporaryFile(/tmp/multipartBody3963271922559973791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855597843,"filename":"image_10122025_10_12_14_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299481","file1":"1401299478","file0":"1401299475","file4":"1401299486","file5":"1401299488","file3":"1401299484"},"map_files_photo_id_array":[{"photo_id":"1401299488","filename":"file5"},{"photo_id":"1401299481","filename":"file2"},{"photo_id":"1401299486","filename":"file4"},{"photo_id":"1401299478","filename":"file1"},{"photo_id":"1401299475","filename":"file0"},{"photo_id":"1401299484","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299484":["hashtag1","hashtag2"]},{"1401299481":["hashtag1","hashtag2"]},{"1401299475":["hashtag1","hashtag2"]},{"1401299478":["hashtag1","hashtag2"]},{"1401299486":["hashtag1","hashtag2"]},{"1401299488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299484, 1401299481, 1401299475, 1401299478, 1401299486, 1401299488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.289130210876465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:13:02.923830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_12_04_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_55_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_45_10693.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_34_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_25_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_15_10699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/11/image_10122025_10_12_04_9661.jpg', '/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_55_9744.jpg', '/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_45_10693.jpg', '/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_34_9657.jpg', '/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_25_9638.jpg', '/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_15_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/11/image_10122025_10_12_04_9661.jpg
/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_55_9744.jpg
/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_45_10693.jpg
/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_34_9657.jpg
/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_25_9638.jpg
/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_15_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401299512","1401299514","1401299508","1401299492","1401299501","1401299510"],"photo_ids_order":["1401299492","1401299501","1401299508","1401299510","1401299512","1401299514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8484afa94ec585ace4bfcdfdc139c3fb.jpg","text":"TemporaryFile(/tmp/multipartBody5518469303251039667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855643834,"filename":"image_10122025_10_11_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/783dd4278285fae00c8b7d3c1b49d66c.jpg","text":"TemporaryFile(/tmp/multipartBody4703143022274233541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855643834,"filename":"image_10122025_10_11_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90a2903dcaa3aff0077d14ebb0a5b04c.jpg","text":"TemporaryFile(/tmp/multipartBody6204458177749516665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855643834,"filename":"image_10122025_10_11_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97375b04a4efed64d42cdcb6440de65e.jpg","text":"TemporaryFile(/tmp/multipartBody2937598764594260328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855643834,"filename":"image_10122025_10_12_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/12/27/d0428deb50002bf1e879f5919084eda1.jpg","text":"TemporaryFile(/tmp/multipartBody3334557915897299549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855643834,"filename":"image_10122025_10_11_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69c52496c881b71fc759293ccc388f77.jpg","text":"TemporaryFile(/tmp/multipartBody2295209885252025865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855643834,"filename":"image_10122025_10_11_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299508","file1":"1401299501","file0":"1401299492","file4":"1401299512","file5":"1401299514","file3":"1401299510"},"map_files_photo_id_array":[{"photo_id":"1401299514","filename":"file5"},{"photo_id":"1401299508","filename":"file2"},{"photo_id":"1401299512","filename":"file4"},{"photo_id":"1401299501","filename":"file1"},{"photo_id":"1401299492","filename":"file0"},{"photo_id":"1401299510","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299512":["hashtag1","hashtag2"]},{"1401299514":["hashtag1","hashtag2"]},{"1401299508":["hashtag1","hashtag2"]},{"1401299492":["hashtag1","hashtag2"]},{"1401299501":["hashtag1","hashtag2"]},{"1401299510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299512, 1401299514, 1401299508, 1401299492, 1401299501, 1401299510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06969857215881 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:13:47.098244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_11_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_25_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_14_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/10/image_10122025_10_11_04_9709.jpg', '/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_55_9615.jpg', '/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_45_10619.jpg', '/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_34_9601.jpg', '/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_25_10638.jpg', '/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/10/image_10122025_10_11_04_9709.jpg
/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_55_9615.jpg
/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_45_10619.jpg
/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_34_9601.jpg
/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_25_10638.jpg
/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_14_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":["1401299659","1401299638","1401299661","1401299640","1401299658","1401299639"],"photo_ids_order":["1401299638","1401299639","1401299640","1401299658","1401299659","1401299661"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/122cbc0abce57b72f352b5b42bd19818.jpg","text":"TemporaryFile(/tmp/multipartBody1212856951450725616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855687914,"filename":"image_10122025_10_10_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d276a7b0484f4a33607bd755d6fa202.jpg","text":"TemporaryFile(/tmp/multipartBody8408579433074127828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855687914,"filename":"image_10122025_10_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/12/27/34c99a49d6a88472be6c7e68eae30c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6530891839573137293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855687914,"filename":"image_10122025_10_10_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/12/27/fdf0ce4f52b65c973efe9efd5f5e8e91.jpg","text":"TemporaryFile(/tmp/multipartBody1859208076421151714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855687914,"filename":"image_10122025_10_10_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7f0a2827cf316ad71d5641ccc1db8a1.jpg","text":"TemporaryFile(/tmp/multipartBody4257889299242024503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855687914,"filename":"image_10122025_10_10_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/12/27/54a648275b201a370d02032e74bb869c.jpg","text":"TemporaryFile(/tmp/multipartBody4116871876674785308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855687914,"filename":"image_10122025_10_10_55_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299640","file1":"1401299639","file0":"1401299638","file4":"1401299659","file5":"1401299661","file3":"1401299658"},"map_files_photo_id_array":[{"photo_id":"1401299661","filename":"file5"},{"photo_id":"1401299640","filename":"file2"},{"photo_id":"1401299659","filename":"file4"},{"photo_id":"1401299639","filename":"file1"},{"photo_id":"1401299638","filename":"file0"},{"photo_id":"1401299658","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299659":["hashtag1","hashtag2"]},{"1401299638":["hashtag1","hashtag2"]},{"1401299661":["hashtag1","hashtag2"]},{"1401299640":["hashtag1","hashtag2"]},{"1401299658":["hashtag1","hashtag2"]},{"1401299639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299659, 1401299638, 1401299661, 1401299640, 1401299658, 1401299639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.551329135894775 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:14:32.193526
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/18/13/image_27122025_18_14_04_10537.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/18/13/image_27122025_18_14_04_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/18/13/image_27122025_18_14_04_10537.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401299779"],"photo_id":"1401299779","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb0775d2cff64b016149282d751ea512.jpg","text":"TemporaryFile(/tmp/multipartBody2055957171064944739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855732437,"filename":"image_27122025_18_14_04_10537.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401299779"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401299779"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.33970594406128 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:14:47.190460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_10_05_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_14_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/09/image_10122025_10_10_05_9642.jpg', '/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_55_10628.jpg', '/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_44_9627.jpg', '/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_35_9603.jpg', '/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_25_10614.jpg', '/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_14_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/09/image_10122025_10_10_05_9642.jpg
/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_55_10628.jpg
/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_44_9627.jpg
/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_35_9603.jpg
/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_25_10614.jpg
/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_14_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":["1401299938","1401299979","1401299981","1401299975","1401299978","1401299983"],"photo_ids_order":["1401299938","1401299975","1401299978","1401299979","1401299981","1401299983"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04976cb63c6f3a1a18d42234398e7d79.jpg","text":"TemporaryFile(/tmp/multipartBody3722040369053772806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855747982,"filename":"image_10122025_10_10_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbb3d556ff470edfbf4d00c365085908.jpg","text":"TemporaryFile(/tmp/multipartBody2244323645447010158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855747982,"filename":"image_10122025_10_09_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4300804c03e1ae40178283314b40c6c4.jpg","text":"TemporaryFile(/tmp/multipartBody8074531893583774742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855747982,"filename":"image_10122025_10_09_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/005115174ddd41ed96f3f58b3110da3a.jpg","text":"TemporaryFile(/tmp/multipartBody8736087359595077756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855747982,"filename":"image_10122025_10_09_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fa8d6911feaee62245b076950bf4f50.jpg","text":"TemporaryFile(/tmp/multipartBody695546859060002316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855747982,"filename":"image_10122025_10_09_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/12/27/f0367bcbb9d1e6087428ea9173236207.jpg","text":"TemporaryFile(/tmp/multipartBody6520283611492138756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855747982,"filename":"image_10122025_10_09_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401299978","file1":"1401299975","file0":"1401299938","file4":"1401299981","file5":"1401299983","file3":"1401299979"},"map_files_photo_id_array":[{"photo_id":"1401299983","filename":"file5"},{"photo_id":"1401299978","filename":"file2"},{"photo_id":"1401299981","filename":"file4"},{"photo_id":"1401299975","filename":"file1"},{"photo_id":"1401299938","filename":"file0"},{"photo_id":"1401299979","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401299938":["hashtag1","hashtag2"]},{"1401299979":["hashtag1","hashtag2"]},{"1401299981":["hashtag1","hashtag2"]},{"1401299975":["hashtag1","hashtag2"]},{"1401299978":["hashtag1","hashtag2"]},{"1401299983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401299938, 1401299979, 1401299981, 1401299975, 1401299978, 1401299983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33841609954834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:15:32.311708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_09_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_15_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/08/image_10122025_10_09_05_10623.jpg', '/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_54_9619.jpg', '/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_45_9605.jpg', '/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_35_10611.jpg', '/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_24_9599.jpg', '/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_15_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/08/image_10122025_10_09_05_10623.jpg
/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_54_9619.jpg
/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_45_9605.jpg
/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_35_10611.jpg
/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_24_9599.jpg
/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_15_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":["1401300084","1401300060","1401300114","1401300062","1401300065","1401300059"],"photo_ids_order":["1401300059","1401300060","1401300062","1401300065","1401300084","1401300114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af502f846b77d6c5782e2a3c8e56772a.jpg","text":"TemporaryFile(/tmp/multipartBody8408760144374525928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855793116,"filename":"image_10122025_10_08_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/12/27/2b26e1d13a948cdbe33bc78f15ab9241.jpg","text":"TemporaryFile(/tmp/multipartBody7067706760699911148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855793116,"filename":"image_10122025_10_08_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/12/27/f3fbb08ebdd06146ffd6e4a0af0d3307.jpg","text":"TemporaryFile(/tmp/multipartBody288937163581741176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855793116,"filename":"image_10122025_10_08_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6db7f7b3b9ce609764a5e669bb13204a.jpg","text":"TemporaryFile(/tmp/multipartBody8110128491395745996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855793116,"filename":"image_10122025_10_08_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/385bf4acc069dab09e20deeead6c4936.jpg","text":"TemporaryFile(/tmp/multipartBody460881028704638817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855793116,"filename":"image_10122025_10_08_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/526868ceed43c537c0e847963cfaa77f.jpg","text":"TemporaryFile(/tmp/multipartBody6555254386204046160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855793116,"filename":"image_10122025_10_09_05_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300062","file1":"1401300060","file0":"1401300059","file4":"1401300084","file5":"1401300114","file3":"1401300065"},"map_files_photo_id_array":[{"photo_id":"1401300114","filename":"file5"},{"photo_id":"1401300062","filename":"file2"},{"photo_id":"1401300084","filename":"file4"},{"photo_id":"1401300060","filename":"file1"},{"photo_id":"1401300059","filename":"file0"},{"photo_id":"1401300065","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300084":["hashtag1","hashtag2"]},{"1401300060":["hashtag1","hashtag2"]},{"1401300114":["hashtag1","hashtag2"]},{"1401300062":["hashtag1","hashtag2"]},{"1401300065":["hashtag1","hashtag2"]},{"1401300059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300084, 1401300060, 1401300114, 1401300062, 1401300065, 1401300059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65070939064026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:16:17.413442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_08_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_55_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_15_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/07/image_10122025_10_08_04_9636.jpg', '/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_55_9599.jpg', '/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_45_10625.jpg', '/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_34_9624.jpg', '/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_25_9620.jpg', '/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_15_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/07/image_10122025_10_08_04_9636.jpg
/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_55_9599.jpg
/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_45_10625.jpg
/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_34_9624.jpg
/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_25_9620.jpg
/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_15_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":["1401300135","1401300129","1401300126","1401300131","1401300124","1401300133"],"photo_ids_order":["1401300124","1401300126","1401300129","1401300131","1401300133","1401300135"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5e3721a60a225a8fd5c700c6d131db9.jpg","text":"TemporaryFile(/tmp/multipartBody5752122803048030129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855838214,"filename":"image_10122025_10_07_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e323ed1d63cdd93009858eed8191f84.jpg","text":"TemporaryFile(/tmp/multipartBody7830087707072695308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855838214,"filename":"image_10122025_10_07_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e323f0416679518c928b94c4fe5dd5b0.jpg","text":"TemporaryFile(/tmp/multipartBody2441606294714641438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855838214,"filename":"image_10122025_10_07_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d1a6d1139d20f5361fbd1e7e4bab253.jpg","text":"TemporaryFile(/tmp/multipartBody4183542539837855789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855838214,"filename":"image_10122025_10_07_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/12/27/4c4330b5954d74dd3ba79b243ec8c45d.jpg","text":"TemporaryFile(/tmp/multipartBody5248633819273494827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855838214,"filename":"image_10122025_10_08_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/12/27/ee1fc4450bec58729bff0f3d02dca425.jpg","text":"TemporaryFile(/tmp/multipartBody1077957909729127598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855838214,"filename":"image_10122025_10_07_25_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300129","file1":"1401300126","file0":"1401300124","file4":"1401300133","file5":"1401300135","file3":"1401300131"},"map_files_photo_id_array":[{"photo_id":"1401300135","filename":"file5"},{"photo_id":"1401300129","filename":"file2"},{"photo_id":"1401300133","filename":"file4"},{"photo_id":"1401300126","filename":"file1"},{"photo_id":"1401300124","filename":"file0"},{"photo_id":"1401300131","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300135":["hashtag1","hashtag2"]},{"1401300129":["hashtag1","hashtag2"]},{"1401300126":["hashtag1","hashtag2"]},{"1401300131":["hashtag1","hashtag2"]},{"1401300124":["hashtag1","hashtag2"]},{"1401300133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300135, 1401300129, 1401300126, 1401300131, 1401300124, 1401300133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.646567821502686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:17:03.259217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_07_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_14_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/06/image_10122025_10_07_04_9612.jpg', '/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_55_10609.jpg', '/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_44_9608.jpg', '/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_35_9602.jpg', '/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_25_10608.jpg', '/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_14_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/06/image_10122025_10_07_04_9612.jpg
/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_55_10609.jpg
/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_44_9608.jpg
/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_35_9602.jpg
/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_25_10608.jpg
/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_14_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":["1401300147","1401300141","1401300150","1401300143","1401300140","1401300145"],"photo_ids_order":["1401300140","1401300141","1401300143","1401300145","1401300147","1401300150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e58f3c61b5eb06cbc83a84eee9e5451.jpg","text":"TemporaryFile(/tmp/multipartBody3264298935394685121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855884121,"filename":"image_10122025_10_06_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/892effe457d12a753debdd74b44f01b7.jpg","text":"TemporaryFile(/tmp/multipartBody1035481978040563805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855884121,"filename":"image_10122025_10_06_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4a40177da02409d0c41891ec5d5487f.jpg","text":"TemporaryFile(/tmp/multipartBody945937625073092721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855884121,"filename":"image_10122025_10_06_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/12/27/d63b4c97b249451d0fbce5c019fdb309.jpg","text":"TemporaryFile(/tmp/multipartBody5851507283199772331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855884121,"filename":"image_10122025_10_06_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/12/27/7fbd3294f158e0763c76538ef2fc1c87.jpg","text":"TemporaryFile(/tmp/multipartBody2760408701632057287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855884121,"filename":"image_10122025_10_07_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/12/27/443a012687f84074cbd9901fcb5b0d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4190619659868978668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855884121,"filename":"image_10122025_10_06_35_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300143","file1":"1401300141","file0":"1401300140","file4":"1401300147","file5":"1401300150","file3":"1401300145"},"map_files_photo_id_array":[{"photo_id":"1401300150","filename":"file5"},{"photo_id":"1401300143","filename":"file2"},{"photo_id":"1401300147","filename":"file4"},{"photo_id":"1401300141","filename":"file1"},{"photo_id":"1401300140","filename":"file0"},{"photo_id":"1401300145","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300147":["hashtag1","hashtag2"]},{"1401300141":["hashtag1","hashtag2"]},{"1401300150":["hashtag1","hashtag2"]},{"1401300143":["hashtag1","hashtag2"]},{"1401300140":["hashtag1","hashtag2"]},{"1401300145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300147, 1401300141, 1401300150, 1401300143, 1401300140, 1401300145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.188987255096436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:17:47.523883
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_06_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_15_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/05/image_10122025_10_06_05_10635.jpg', '/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_54_9604.jpg', '/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_45_9606.jpg', '/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_35_10612.jpg', '/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_24_9602.jpg', '/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_15_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/05/image_10122025_10_06_05_10635.jpg
/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_54_9604.jpg
/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_45_9606.jpg
/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_35_10612.jpg
/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_24_9602.jpg
/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_15_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":["1401300165","1401300168","1401300162","1401300161","1401300164","1401300163"],"photo_ids_order":["1401300161","1401300162","1401300163","1401300164","1401300165","1401300168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e3501ae295c224169f0925bfc45e1dd.jpg","text":"TemporaryFile(/tmp/multipartBody5317802558718269193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855928355,"filename":"image_10122025_10_05_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/12/27/d912f680c9ba7100b8477a4c5823e4a7.jpg","text":"TemporaryFile(/tmp/multipartBody8274260948637209241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855928355,"filename":"image_10122025_10_05_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d085da293ebff247142410532e27f2d.jpg","text":"TemporaryFile(/tmp/multipartBody1937592751122854792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855928355,"filename":"image_10122025_10_05_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/12/27/f2411de513a99fe2d7fbf116a6bb2df0.jpg","text":"TemporaryFile(/tmp/multipartBody706253239300307353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855928355,"filename":"image_10122025_10_06_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccf25032e0926d5c9063c84bedfeb94c.jpg","text":"TemporaryFile(/tmp/multipartBody5123861729823652300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855928355,"filename":"image_10122025_10_05_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15c432d51f2c7f14a3d63a91773d65aa.jpg","text":"TemporaryFile(/tmp/multipartBody5813558663555407021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855928355,"filename":"image_10122025_10_05_45_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300163","file1":"1401300162","file0":"1401300161","file4":"1401300165","file5":"1401300168","file3":"1401300164"},"map_files_photo_id_array":[{"photo_id":"1401300168","filename":"file5"},{"photo_id":"1401300163","filename":"file2"},{"photo_id":"1401300165","filename":"file4"},{"photo_id":"1401300162","filename":"file1"},{"photo_id":"1401300161","filename":"file0"},{"photo_id":"1401300164","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300165":["hashtag1","hashtag2"]},{"1401300168":["hashtag1","hashtag2"]},{"1401300162":["hashtag1","hashtag2"]},{"1401300161":["hashtag1","hashtag2"]},{"1401300164":["hashtag1","hashtag2"]},{"1401300163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300165, 1401300168, 1401300162, 1401300161, 1401300164, 1401300163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29302716255188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:18:32.658857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_10634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.703685998916626 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:18:47.619229
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg', '/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg
/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_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":["1401300183","1401300186","1401300189","1401300185","1401300190","1401300187"],"photo_ids_order":["1401300183","1401300185","1401300186","1401300187","1401300189","1401300190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88afb65d1647cd55b2e442355fa44872.jpg","text":"TemporaryFile(/tmp/multipartBody6546904953930428757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855988399,"filename":"image_10122025_10_05_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/256b8f62de054bb9c2ecc0d9a822f4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7463946273832365122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855988399,"filename":"image_10122025_10_04_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6efeab102ef6457a7d42c6e065792e0.jpg","text":"TemporaryFile(/tmp/multipartBody7513706373881438751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855988399,"filename":"image_10122025_10_04_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e0c8357ea60350de9f7e0e133d82c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1150994870251403443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855988399,"filename":"image_10122025_10_04_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70dcf8e0ab1fa8bef15c421f55da9a98.jpg","text":"TemporaryFile(/tmp/multipartBody641830522053778786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855988399,"filename":"image_10122025_10_04_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efa4c05fe152c0ee5bed1eb5c75b07b7.jpg","text":"TemporaryFile(/tmp/multipartBody8928460508865362098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766855988399,"filename":"image_10122025_10_04_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300186","file1":"1401300185","file0":"1401300183","file4":"1401300189","file5":"1401300190","file3":"1401300187"},"map_files_photo_id_array":[{"photo_id":"1401300190","filename":"file5"},{"photo_id":"1401300186","filename":"file2"},{"photo_id":"1401300189","filename":"file4"},{"photo_id":"1401300185","filename":"file1"},{"photo_id":"1401300183","filename":"file0"},{"photo_id":"1401300187","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300183":["hashtag1","hashtag2"]},{"1401300186":["hashtag1","hashtag2"]},{"1401300189":["hashtag1","hashtag2"]},{"1401300185":["hashtag1","hashtag2"]},{"1401300190":["hashtag1","hashtag2"]},{"1401300187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300183, 1401300186, 1401300189, 1401300185, 1401300190, 1401300187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.315969705581665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:19:32.728590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_04_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_14_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/03/image_10122025_10_04_04_9616.jpg', '/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_55_10607.jpg', '/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_44_9610.jpg', '/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_35_9607.jpg', '/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_25_10612.jpg', '/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_14_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/03/image_10122025_10_04_04_9616.jpg
/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_55_10607.jpg
/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_44_9610.jpg
/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_35_9607.jpg
/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_25_10612.jpg
/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_14_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":["1401300198","1401300345","1401300252","1401300284","1401300221","1401300316"],"photo_ids_order":["1401300198","1401300221","1401300252","1401300284","1401300316","1401300345"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/094fd5387658315c6abf868a028ab49a.jpg","text":"TemporaryFile(/tmp/multipartBody694835322852162297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856033510,"filename":"image_10122025_10_04_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/12/27/f8abb821c424842f16e0683503b87d94.jpg","text":"TemporaryFile(/tmp/multipartBody7519717626730849083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856033510,"filename":"image_10122025_10_03_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/12/27/1c32a0cb000cd8c799264acae9c0b833.jpg","text":"TemporaryFile(/tmp/multipartBody1453568471918122132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856033510,"filename":"image_10122025_10_03_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/12/27/b643d5b6cb6e5c52ec7d74a181a427c0.jpg","text":"TemporaryFile(/tmp/multipartBody7281026089094253285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856033510,"filename":"image_10122025_10_03_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24fc9213989b081b985c54d3567f9aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3564077984957781139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856033510,"filename":"image_10122025_10_03_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfca696dc14a778f29aca098bf31d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody7457536507981164223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856033510,"filename":"image_10122025_10_03_25_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300252","file1":"1401300221","file0":"1401300198","file4":"1401300316","file5":"1401300345","file3":"1401300284"},"map_files_photo_id_array":[{"photo_id":"1401300345","filename":"file5"},{"photo_id":"1401300252","filename":"file2"},{"photo_id":"1401300316","filename":"file4"},{"photo_id":"1401300221","filename":"file1"},{"photo_id":"1401300198","filename":"file0"},{"photo_id":"1401300284","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300198":["hashtag1","hashtag2"]},{"1401300345":["hashtag1","hashtag2"]},{"1401300252":["hashtag1","hashtag2"]},{"1401300284":["hashtag1","hashtag2"]},{"1401300221":["hashtag1","hashtag2"]},{"1401300316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300198, 1401300345, 1401300252, 1401300284, 1401300221, 1401300316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43008255958557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:20:16.808388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_03_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_15_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/02/image_10122025_10_03_05_9637.jpg', '/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_55_10611.jpg', '/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_44_9612.jpg', '/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_35_10611.jpg', '/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_24_9603.jpg', '/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_15_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/02/image_10122025_10_03_05_9637.jpg
/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_55_10611.jpg
/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_44_9612.jpg
/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_35_10611.jpg
/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_24_9603.jpg
/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_15_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":["1401300537","1401300539","1401300530","1401300533","1401300527","1401300535"],"photo_ids_order":["1401300527","1401300530","1401300533","1401300535","1401300537","1401300539"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0704e21a732fde612e83fa95ea73807.jpg","text":"TemporaryFile(/tmp/multipartBody8419462722546257608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856077610,"filename":"image_10122025_10_02_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/12/27/c92c027b284ee7a8767d9a710919e057.jpg","text":"TemporaryFile(/tmp/multipartBody2389052356068855784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856077610,"filename":"image_10122025_10_02_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f135011e67fdcef3e388f66a3eac016.jpg","text":"TemporaryFile(/tmp/multipartBody8037215056276665505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856077610,"filename":"image_10122025_10_02_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0aaad6eeed5c59df32cc8d9f189d6b4.jpg","text":"TemporaryFile(/tmp/multipartBody6388253427888511334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856077610,"filename":"image_10122025_10_02_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/12/27/01c1227b6025591116cdab99bd6ae0ea.jpg","text":"TemporaryFile(/tmp/multipartBody1149919892004777678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856077610,"filename":"image_10122025_10_03_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c261bd37a9a6a9b91e20e3d306127a9b.jpg","text":"TemporaryFile(/tmp/multipartBody923514260095262414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856077610,"filename":"image_10122025_10_02_35_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300533","file1":"1401300530","file0":"1401300527","file4":"1401300537","file5":"1401300539","file3":"1401300535"},"map_files_photo_id_array":[{"photo_id":"1401300539","filename":"file5"},{"photo_id":"1401300533","filename":"file2"},{"photo_id":"1401300537","filename":"file4"},{"photo_id":"1401300530","filename":"file1"},{"photo_id":"1401300527","filename":"file0"},{"photo_id":"1401300535","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300537":["hashtag1","hashtag2"]},{"1401300539":["hashtag1","hashtag2"]},{"1401300530":["hashtag1","hashtag2"]},{"1401300533":["hashtag1","hashtag2"]},{"1401300527":["hashtag1","hashtag2"]},{"1401300535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300537, 1401300539, 1401300530, 1401300533, 1401300527, 1401300535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90325164794922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:21:02.565810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_02_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_15_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/01/image_10122025_10_02_05_10645.jpg', '/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_54_9607.jpg', '/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_45_10631.jpg', '/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_34_9601.jpg', '/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_25_9599.jpg', '/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_15_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/01/image_10122025_10_02_05_10645.jpg
/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_54_9607.jpg
/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_45_10631.jpg
/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_34_9601.jpg
/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_25_9599.jpg
/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_15_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":["1401300555","1401300552","1401300546","1401300548","1401300550","1401300544"],"photo_ids_order":["1401300544","1401300546","1401300548","1401300550","1401300552","1401300555"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b279ab1980a9de1db37881db30b66d67.jpg","text":"TemporaryFile(/tmp/multipartBody2192419750570068723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856123438,"filename":"image_10122025_10_01_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b22ec8d7843b27ed8655db7cf079389.jpg","text":"TemporaryFile(/tmp/multipartBody494234146593789968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856123438,"filename":"image_10122025_10_01_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cca9d48575dfc10e0bf06991940c274e.jpg","text":"TemporaryFile(/tmp/multipartBody9023183521967026086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856123438,"filename":"image_10122025_10_01_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/12/27/3533d06235c327ceb0f283f00ef3b132.jpg","text":"TemporaryFile(/tmp/multipartBody2733553690831893087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856123438,"filename":"image_10122025_10_01_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d6b45091e9616f004e6fa13a5228383.jpg","text":"TemporaryFile(/tmp/multipartBody3510351824252484913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856123438,"filename":"image_10122025_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/12/27/8291fc0c304895f451ff656985f291a3.jpg","text":"TemporaryFile(/tmp/multipartBody4729795575516561602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856123438,"filename":"image_10122025_10_02_05_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300548","file1":"1401300546","file0":"1401300544","file4":"1401300552","file5":"1401300555","file3":"1401300550"},"map_files_photo_id_array":[{"photo_id":"1401300555","filename":"file5"},{"photo_id":"1401300548","filename":"file2"},{"photo_id":"1401300552","filename":"file4"},{"photo_id":"1401300546","filename":"file1"},{"photo_id":"1401300544","filename":"file0"},{"photo_id":"1401300550","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300555":["hashtag1","hashtag2"]},{"1401300552":["hashtag1","hashtag2"]},{"1401300546":["hashtag1","hashtag2"]},{"1401300548":["hashtag1","hashtag2"]},{"1401300550":["hashtag1","hashtag2"]},{"1401300544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300555, 1401300552, 1401300546, 1401300548, 1401300550, 1401300544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65314078330994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:21:46.928138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_01_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_14_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/10/00/image_10122025_10_01_04_9624.jpg', '/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_55_9619.jpg', '/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_45_10622.jpg', '/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_34_9597.jpg', '/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_25_10621.jpg', '/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_14_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/10/00/image_10122025_10_01_04_9624.jpg
/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_55_9619.jpg
/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_45_10622.jpg
/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_34_9597.jpg
/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_25_10621.jpg
/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_14_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":["1401300564","1401300567","1401300566","1401300569","1401300563","1401300565"],"photo_ids_order":["1401300563","1401300564","1401300565","1401300566","1401300567","1401300569"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa34d13e381a252d0b4e69405c4c40c7.jpg","text":"TemporaryFile(/tmp/multipartBody8474787516113756693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856167724,"filename":"image_10122025_10_00_55_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e37e73bcb72b2b652910d936393220a.jpg","text":"TemporaryFile(/tmp/multipartBody2632803934920957510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856167724,"filename":"image_10122025_10_00_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/863ba2d7dccfd60a005fcf467cf71518.jpg","text":"TemporaryFile(/tmp/multipartBody8328981880342275893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856167724,"filename":"image_10122025_10_00_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/12/27/7e07fdd35c7a1a8f058c34edb3eb3c51.jpg","text":"TemporaryFile(/tmp/multipartBody3422495093670509599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856167724,"filename":"image_10122025_10_00_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/12/27/3b18669320fe5083f9527d9870b53466.jpg","text":"TemporaryFile(/tmp/multipartBody7291853848797514340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856167724,"filename":"image_10122025_10_01_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/12/27/dc09c63a4b46dc3ffcd77b5cffd0490f.jpg","text":"TemporaryFile(/tmp/multipartBody4630412956436764533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856167724,"filename":"image_10122025_10_00_45_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300565","file1":"1401300564","file0":"1401300563","file4":"1401300567","file5":"1401300569","file3":"1401300566"},"map_files_photo_id_array":[{"photo_id":"1401300569","filename":"file5"},{"photo_id":"1401300565","filename":"file2"},{"photo_id":"1401300567","filename":"file4"},{"photo_id":"1401300564","filename":"file1"},{"photo_id":"1401300563","filename":"file0"},{"photo_id":"1401300566","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300564":["hashtag1","hashtag2"]},{"1401300567":["hashtag1","hashtag2"]},{"1401300566":["hashtag1","hashtag2"]},{"1401300569":["hashtag1","hashtag2"]},{"1401300563":["hashtag1","hashtag2"]},{"1401300565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300564, 1401300567, 1401300566, 1401300569, 1401300563, 1401300565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.693998336791992 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:22:32.038058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/59/image_10122025_10_00_05_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_55_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_35_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_14_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/59/image_10122025_10_00_05_9649.jpg', '/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_55_10621.jpg', '/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_44_9625.jpg', '/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_35_9625.jpg', '/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_25_10634.jpg', '/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_14_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/59/image_10122025_10_00_05_9649.jpg
/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_55_10621.jpg
/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_44_9625.jpg
/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_35_9625.jpg
/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_25_10634.jpg
/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_14_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":["1401300585","1401300590","1401300587","1401300580","1401300583","1401300591"],"photo_ids_order":["1401300580","1401300583","1401300585","1401300587","1401300590","1401300591"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a29f5564cd83223d044974297eac232.jpg","text":"TemporaryFile(/tmp/multipartBody4073617528370572851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856212834,"filename":"image_10122025_09_59_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/12/27/af20669a5bbc1ebc53fd5407043e554d.jpg","text":"TemporaryFile(/tmp/multipartBody5530158213327073521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856212834,"filename":"image_10122025_09_59_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3837d6e335315e754e062d9be3296a73.jpg","text":"TemporaryFile(/tmp/multipartBody4215528494830233519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856212834,"filename":"image_10122025_09_59_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8fdb0887e386fce81f399c80b88bfc4a.jpg","text":"TemporaryFile(/tmp/multipartBody190352725611961163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856212834,"filename":"image_10122025_10_00_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b03d89ec05364c93eef900adebde01a8.jpg","text":"TemporaryFile(/tmp/multipartBody1027533186343501765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856212834,"filename":"image_10122025_09_59_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbbcea4e7a78e9331195e99815eeafce.jpg","text":"TemporaryFile(/tmp/multipartBody6010900934217213241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856212834,"filename":"image_10122025_09_59_14_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300585","file1":"1401300583","file0":"1401300580","file4":"1401300590","file5":"1401300591","file3":"1401300587"},"map_files_photo_id_array":[{"photo_id":"1401300591","filename":"file5"},{"photo_id":"1401300585","filename":"file2"},{"photo_id":"1401300590","filename":"file4"},{"photo_id":"1401300583","filename":"file1"},{"photo_id":"1401300580","filename":"file0"},{"photo_id":"1401300587","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300585":["hashtag1","hashtag2"]},{"1401300590":["hashtag1","hashtag2"]},{"1401300587":["hashtag1","hashtag2"]},{"1401300580":["hashtag1","hashtag2"]},{"1401300583":["hashtag1","hashtag2"]},{"1401300591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300585, 1401300590, 1401300587, 1401300580, 1401300583, 1401300591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17781329154968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:23:17.182376
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/18/23/image_27122025_18_23_14_9532.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/18/23/image_27122025_18_23_14_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/18/23/image_27122025_18_23_14_9532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401300596"],"photo_id":"1401300596","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b0ec8f46f14989ed328e4ba9f0cd169.jpg","text":"TemporaryFile(/tmp/multipartBody4194873218417431137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856257422,"filename":"image_27122025_18_23_14_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401300596"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401300596"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.168489456176758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:23:32.149746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_59_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_35_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_15_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/58/image_10122025_09_59_05_10631.jpg', '/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_54_9623.jpg', '/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_45_9608.jpg', '/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_35_10641.jpg', '/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_24_9623.jpg', '/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_15_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/58/image_10122025_09_59_05_10631.jpg
/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_54_9623.jpg
/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_45_9608.jpg
/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_35_10641.jpg
/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_24_9623.jpg
/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_15_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":["1401300604","1401300612","1401300606","1401300602","1401300611","1401300608"],"photo_ids_order":["1401300602","1401300604","1401300606","1401300608","1401300611","1401300612"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcdc3f473d2323e29893cbe0ee88f9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1677947735260983030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856272949,"filename":"image_10122025_09_58_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/12/27/1b9cc0c876f5bb03a749aa5c615d71c0.jpg","text":"TemporaryFile(/tmp/multipartBody910134246413451343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856272949,"filename":"image_10122025_09_58_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9bd3ced2577db3c4d2a423dd6bfc2c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8421663485843765906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856272949,"filename":"image_10122025_09_58_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6e146c0b63a5eb531ca12aae4b26d99.jpg","text":"TemporaryFile(/tmp/multipartBody2664868847732189449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856272949,"filename":"image_10122025_09_59_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d82d16e452425366fde6bb515cdf4d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6807644991763800410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856272949,"filename":"image_10122025_09_58_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/12/27/7ac4b90af3236f7275df5542fee7cdd1.jpg","text":"TemporaryFile(/tmp/multipartBody4696523028394629740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856272949,"filename":"image_10122025_09_58_35_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300606","file1":"1401300604","file0":"1401300602","file4":"1401300611","file5":"1401300612","file3":"1401300608"},"map_files_photo_id_array":[{"photo_id":"1401300612","filename":"file5"},{"photo_id":"1401300606","filename":"file2"},{"photo_id":"1401300611","filename":"file4"},{"photo_id":"1401300604","filename":"file1"},{"photo_id":"1401300602","filename":"file0"},{"photo_id":"1401300608","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300604":["hashtag1","hashtag2"]},{"1401300612":["hashtag1","hashtag2"]},{"1401300606":["hashtag1","hashtag2"]},{"1401300602":["hashtag1","hashtag2"]},{"1401300611":["hashtag1","hashtag2"]},{"1401300608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300604, 1401300612, 1401300606, 1401300602, 1401300611, 1401300608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2844762802124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:24:17.286596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_58_05_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_54_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_15_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/57/image_10122025_09_58_05_10666.jpg', '/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_54_9611.jpg', '/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_45_10625.jpg', '/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_34_9622.jpg', '/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_24_9621.jpg', '/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/57/image_10122025_09_58_05_10666.jpg
/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_54_9611.jpg
/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_45_10625.jpg
/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_34_9622.jpg
/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_24_9621.jpg
/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_15_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":["1401300619","1401300627","1401300621","1401300623","1401300617","1401300625"],"photo_ids_order":["1401300617","1401300619","1401300621","1401300623","1401300625","1401300627"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7f895b319e4fbf6021491b6f26b5371.jpg","text":"TemporaryFile(/tmp/multipartBody8367079985351624543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856318087,"filename":"image_10122025_09_57_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/12/27/538ef2e1bad21c00d657f22fe5160c61.jpg","text":"TemporaryFile(/tmp/multipartBody3612381355563113581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856318087,"filename":"image_10122025_09_57_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9bdff224a928a9e7794f7035526c32a1.jpg","text":"TemporaryFile(/tmp/multipartBody2597967470795565520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856318087,"filename":"image_10122025_09_57_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3edee42b2b1702ffea2645a186dbed21.jpg","text":"TemporaryFile(/tmp/multipartBody3782215272123097980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856318087,"filename":"image_10122025_09_57_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/12/27/bcfa65a70a0b9c2900ea16dc2bc5e7d0.jpg","text":"TemporaryFile(/tmp/multipartBody8830010528738423378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856318087,"filename":"image_10122025_09_58_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8dda3048edc4f75a6737ab94e200162a.jpg","text":"TemporaryFile(/tmp/multipartBody5995557426606821894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856318087,"filename":"image_10122025_09_57_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300621","file1":"1401300619","file0":"1401300617","file4":"1401300625","file5":"1401300627","file3":"1401300623"},"map_files_photo_id_array":[{"photo_id":"1401300627","filename":"file5"},{"photo_id":"1401300621","filename":"file2"},{"photo_id":"1401300625","filename":"file4"},{"photo_id":"1401300619","filename":"file1"},{"photo_id":"1401300617","filename":"file0"},{"photo_id":"1401300623","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300619":["hashtag1","hashtag2"]},{"1401300627":["hashtag1","hashtag2"]},{"1401300621":["hashtag1","hashtag2"]},{"1401300623":["hashtag1","hashtag2"]},{"1401300617":["hashtag1","hashtag2"]},{"1401300625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300619, 1401300627, 1401300621, 1401300623, 1401300617, 1401300625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22765040397644 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:25:03.006434
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_57_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_55_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_14_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/56/image_10122025_09_57_04_9628.jpg', '/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_55_9623.jpg', '/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_45_10622.jpg', '/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_34_9619.jpg', '/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_25_10617.jpg', '/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/56/image_10122025_09_57_04_9628.jpg
/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_55_9623.jpg
/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_45_10622.jpg
/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_34_9619.jpg
/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_25_10617.jpg
/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_14_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":["1401300642","1401300639","1401300633","1401300632","1401300635","1401300637"],"photo_ids_order":["1401300632","1401300633","1401300635","1401300637","1401300639","1401300642"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf2859a7cdb2359908bfa410bb003730.jpg","text":"TemporaryFile(/tmp/multipartBody2530843209485751522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856363856,"filename":"image_10122025_09_56_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/12/27/f0f0ac287dbb6c27e8b3dca215bb953a.jpg","text":"TemporaryFile(/tmp/multipartBody2619634498559653957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856363856,"filename":"image_10122025_09_56_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/876cad03dc26dd0d06a9ba7b09e6d1f2.jpg","text":"TemporaryFile(/tmp/multipartBody5894965939556673602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856363856,"filename":"image_10122025_09_56_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9483462ea766de6330e571c041c4b562.jpg","text":"TemporaryFile(/tmp/multipartBody1352754381210568882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856363856,"filename":"image_10122025_09_57_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/12/27/4015a08305d2e84446cb078b0dda4ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8770791977037887078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856363856,"filename":"image_10122025_09_56_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f1d9b2fe254020c9eabc45ad5e4f799.jpg","text":"TemporaryFile(/tmp/multipartBody5856883855213393168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856363856,"filename":"image_10122025_09_56_34_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300635","file1":"1401300633","file0":"1401300632","file4":"1401300639","file5":"1401300642","file3":"1401300637"},"map_files_photo_id_array":[{"photo_id":"1401300642","filename":"file5"},{"photo_id":"1401300635","filename":"file2"},{"photo_id":"1401300639","filename":"file4"},{"photo_id":"1401300633","filename":"file1"},{"photo_id":"1401300632","filename":"file0"},{"photo_id":"1401300637","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300642":["hashtag1","hashtag2"]},{"1401300639":["hashtag1","hashtag2"]},{"1401300633":["hashtag1","hashtag2"]},{"1401300632":["hashtag1","hashtag2"]},{"1401300635":["hashtag1","hashtag2"]},{"1401300637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300642, 1401300639, 1401300633, 1401300632, 1401300635, 1401300637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72028374671936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:25:47.377113
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_56_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_35_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/55/image_10122025_09_56_04_9631.jpg', '/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_55_10615.jpg', '/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_44_9598.jpg', '/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_35_9615.jpg', '/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_25_10622.jpg', '/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_14_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/55/image_10122025_09_56_04_9631.jpg
/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_55_10615.jpg
/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_44_9598.jpg
/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_35_9615.jpg
/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_25_10622.jpg
/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_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":["1401300654","1401300651","1401300653","1401300656","1401300658","1401300652"],"photo_ids_order":["1401300651","1401300652","1401300653","1401300654","1401300656","1401300658"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9305827986159ba4df11aad9aad0788e.jpg","text":"TemporaryFile(/tmp/multipartBody4910136682429464428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856408230,"filename":"image_10122025_09_55_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db08595ebb45c5d9631029f211190d52.jpg","text":"TemporaryFile(/tmp/multipartBody5670907840955883307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856408230,"filename":"image_10122025_09_56_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/12/27/e94c822ee01e08a6c68ac4ac81f71c37.jpg","text":"TemporaryFile(/tmp/multipartBody5422655885911736433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856408230,"filename":"image_10122025_09_55_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/12/27/4b81555ebdcc63e0031b3ef5fc034405.jpg","text":"TemporaryFile(/tmp/multipartBody8269663838069529558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856408230,"filename":"image_10122025_09_55_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16e5dc22d89295fd9fc8fa808ec6c7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3861754494914215355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856408230,"filename":"image_10122025_09_55_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/12/27/179c34f3f2eca1531142d241b533e583.jpg","text":"TemporaryFile(/tmp/multipartBody7538197689837830508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856408230,"filename":"image_10122025_09_55_55_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300653","file1":"1401300652","file0":"1401300651","file4":"1401300656","file5":"1401300658","file3":"1401300654"},"map_files_photo_id_array":[{"photo_id":"1401300658","filename":"file5"},{"photo_id":"1401300653","filename":"file2"},{"photo_id":"1401300656","filename":"file4"},{"photo_id":"1401300652","filename":"file1"},{"photo_id":"1401300651","filename":"file0"},{"photo_id":"1401300654","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300654":["hashtag1","hashtag2"]},{"1401300651":["hashtag1","hashtag2"]},{"1401300653":["hashtag1","hashtag2"]},{"1401300656":["hashtag1","hashtag2"]},{"1401300658":["hashtag1","hashtag2"]},{"1401300652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300654, 1401300651, 1401300653, 1401300656, 1401300658, 1401300652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82112383842468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:26:32.509827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_55_05_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_15_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/54/image_10122025_09_55_05_9651.jpg', '/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_55_10635.jpg', '/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_44_9646.jpg', '/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_35_10625.jpg', '/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_24_9619.jpg', '/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_15_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/54/image_10122025_09_55_05_9651.jpg
/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_55_10635.jpg
/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_44_9646.jpg
/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_35_10625.jpg
/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_24_9619.jpg
/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_15_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":["1401300672","1401300675","1401300669","1401300665","1401300674","1401300667"],"photo_ids_order":["1401300665","1401300667","1401300669","1401300672","1401300674","1401300675"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3ee1389afb97d3d80c1e9e01f4cfbeb.jpg","text":"TemporaryFile(/tmp/multipartBody2845476513053414627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856453315,"filename":"image_10122025_09_54_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed13cd7bea0cc409617ba04a7ca98f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3383109179192817057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856453315,"filename":"image_10122025_09_54_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50fbbfc85b596ff269361afe593401b9.jpg","text":"TemporaryFile(/tmp/multipartBody3645992068383703794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856453315,"filename":"image_10122025_09_54_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/12/27/bb2f6f49de40a960f7f4b72127050622.jpg","text":"TemporaryFile(/tmp/multipartBody5904155691686985093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856453315,"filename":"image_10122025_09_55_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba50b3a6eab4d389972d540ec2bf0682.jpg","text":"TemporaryFile(/tmp/multipartBody282157847996236855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856453315,"filename":"image_10122025_09_54_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/12/27/20a8583668bcb49e8d971e505d47c1b0.jpg","text":"TemporaryFile(/tmp/multipartBody9023229385985947108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856453315,"filename":"image_10122025_09_54_55_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300669","file1":"1401300667","file0":"1401300665","file4":"1401300674","file5":"1401300675","file3":"1401300672"},"map_files_photo_id_array":[{"photo_id":"1401300675","filename":"file5"},{"photo_id":"1401300669","filename":"file2"},{"photo_id":"1401300674","filename":"file4"},{"photo_id":"1401300667","filename":"file1"},{"photo_id":"1401300665","filename":"file0"},{"photo_id":"1401300672","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300672":["hashtag1","hashtag2"]},{"1401300675":["hashtag1","hashtag2"]},{"1401300669":["hashtag1","hashtag2"]},{"1401300665":["hashtag1","hashtag2"]},{"1401300674":["hashtag1","hashtag2"]},{"1401300667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300672, 1401300675, 1401300669, 1401300665, 1401300674, 1401300667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.692941188812256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:27:17.705016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_54_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_54_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_15_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/53/image_10122025_09_54_05_10636.jpg', '/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_54_9644.jpg', '/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_45_9608.jpg', '/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_35_10625.jpg', '/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_24_9607.jpg', '/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_15_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/53/image_10122025_09_54_05_10636.jpg
/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_54_9644.jpg
/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_45_9608.jpg
/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_35_10625.jpg
/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_24_9607.jpg
/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_15_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":["1401300687","1401300681","1401300689","1401300691","1401300679","1401300684"],"photo_ids_order":["1401300679","1401300681","1401300684","1401300687","1401300689","1401300691"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4cfef6bb753fdefe34b8f3f1a6c1d5e8.jpg","text":"TemporaryFile(/tmp/multipartBody7748537974987929664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856498520,"filename":"image_10122025_09_53_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56a912670fd61091e41b509734297d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3806090221575595604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856498520,"filename":"image_10122025_09_53_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/12/27/f6d86ae72806e4aa34165bb9b92109d3.jpg","text":"TemporaryFile(/tmp/multipartBody639290423311747247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856498520,"filename":"image_10122025_09_53_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/12/27/84e1f593508504e61dcd24c0d4d05f76.jpg","text":"TemporaryFile(/tmp/multipartBody6947462209014548491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856498520,"filename":"image_10122025_09_53_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/767a26d5ce3d79729f02e24ac25fd67d.jpg","text":"TemporaryFile(/tmp/multipartBody4960371607920615350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856498520,"filename":"image_10122025_09_54_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/467d46b5bf029ca1e142ac050ec7c7d2.jpg","text":"TemporaryFile(/tmp/multipartBody4652050981222845463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856498520,"filename":"image_10122025_09_53_45_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300684","file1":"1401300681","file0":"1401300679","file4":"1401300689","file5":"1401300691","file3":"1401300687"},"map_files_photo_id_array":[{"photo_id":"1401300691","filename":"file5"},{"photo_id":"1401300684","filename":"file2"},{"photo_id":"1401300689","filename":"file4"},{"photo_id":"1401300681","filename":"file1"},{"photo_id":"1401300679","filename":"file0"},{"photo_id":"1401300687","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300687":["hashtag1","hashtag2"]},{"1401300681":["hashtag1","hashtag2"]},{"1401300689":["hashtag1","hashtag2"]},{"1401300691":["hashtag1","hashtag2"]},{"1401300679":["hashtag1","hashtag2"]},{"1401300684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300687, 1401300681, 1401300689, 1401300691, 1401300679, 1401300684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27221202850342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:28:03.262149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_53_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_54_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_15_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/52/image_10122025_09_53_04_9625.jpg', '/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_54_9652.jpg', '/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_45_10635.jpg', '/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_34_9617.jpg', '/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_25_9615.jpg', '/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_15_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/52/image_10122025_09_53_04_9625.jpg
/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_54_9652.jpg
/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_45_10635.jpg
/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_34_9617.jpg
/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_25_9615.jpg
/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_15_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":["1401300703","1401300701","1401300704","1401300697","1401300706","1401300699"],"photo_ids_order":["1401300697","1401300699","1401300701","1401300703","1401300704","1401300706"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd85961dc7626eceb7e8863716df2113.jpg","text":"TemporaryFile(/tmp/multipartBody94542037829199432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856544114,"filename":"image_10122025_09_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/12/27/490629fad2092fcde20c5e91da71f700.jpg","text":"TemporaryFile(/tmp/multipartBody7481760348146790024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856544114,"filename":"image_10122025_09_52_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75a9665f867ba1df59c5296a8f1258a8.jpg","text":"TemporaryFile(/tmp/multipartBody351012999493097191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856544114,"filename":"image_10122025_09_52_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ad8a6d9dda24de987a044c5288268e1.jpg","text":"TemporaryFile(/tmp/multipartBody8118799324564132560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856544114,"filename":"image_10122025_09_53_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/12/27/8d509bf3e6222c7564896daf2e599e61.jpg","text":"TemporaryFile(/tmp/multipartBody4226208091171619950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856544114,"filename":"image_10122025_09_52_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4405a41de7b5b7faab929e6bbf780a07.jpg","text":"TemporaryFile(/tmp/multipartBody3337733612291515366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856544114,"filename":"image_10122025_09_52_54_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300701","file1":"1401300699","file0":"1401300697","file4":"1401300704","file5":"1401300706","file3":"1401300703"},"map_files_photo_id_array":[{"photo_id":"1401300706","filename":"file5"},{"photo_id":"1401300701","filename":"file2"},{"photo_id":"1401300704","filename":"file4"},{"photo_id":"1401300699","filename":"file1"},{"photo_id":"1401300697","filename":"file0"},{"photo_id":"1401300703","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300703":["hashtag1","hashtag2"]},{"1401300701":["hashtag1","hashtag2"]},{"1401300704":["hashtag1","hashtag2"]},{"1401300697":["hashtag1","hashtag2"]},{"1401300706":["hashtag1","hashtag2"]},{"1401300699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300703, 1401300701, 1401300704, 1401300697, 1401300706, 1401300699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66540813446045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:28:47.700157
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_52_04_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_55_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_45_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_25_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_15_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/51/image_10122025_09_52_04_9713.jpg', '/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_55_9631.jpg', '/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_45_10664.jpg', '/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_34_9616.jpg', '/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_25_9689.jpg', '/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_15_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/51/image_10122025_09_52_04_9713.jpg
/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_55_9631.jpg
/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_45_10664.jpg
/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_34_9616.jpg
/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_25_9689.jpg
/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_15_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":["1401300718","1401300723","1401300717","1401300720","1401300725","1401300715"],"photo_ids_order":["1401300715","1401300717","1401300718","1401300720","1401300723","1401300725"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b135717342eec28103c25fe7167e49b.jpg","text":"TemporaryFile(/tmp/multipartBody3426439084180626995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856588510,"filename":"image_10122025_09_51_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b047e5c6597652adf2b45bad64042a4.jpg","text":"TemporaryFile(/tmp/multipartBody1060570931651167263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856588510,"filename":"image_10122025_09_51_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae7b43ac7e2eccd1706a9c82a141e632.jpg","text":"TemporaryFile(/tmp/multipartBody8932798618211430397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856588510,"filename":"image_10122025_09_51_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/608df3edb37758ab5e106a1ab9d88da1.jpg","text":"TemporaryFile(/tmp/multipartBody8099720309758340743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856588510,"filename":"image_10122025_09_51_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/12/27/3d7a49dda031629635df277f3908c70f.jpg","text":"TemporaryFile(/tmp/multipartBody4046909523344089875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856588510,"filename":"image_10122025_09_51_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acb7ca6893cee68cfa46481affab74ff.jpg","text":"TemporaryFile(/tmp/multipartBody2335420371826684401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856588510,"filename":"image_10122025_09_52_04_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300718","file1":"1401300717","file0":"1401300715","file4":"1401300723","file5":"1401300725","file3":"1401300720"},"map_files_photo_id_array":[{"photo_id":"1401300725","filename":"file5"},{"photo_id":"1401300718","filename":"file2"},{"photo_id":"1401300723","filename":"file4"},{"photo_id":"1401300717","filename":"file1"},{"photo_id":"1401300715","filename":"file0"},{"photo_id":"1401300720","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300718":["hashtag1","hashtag2"]},{"1401300723":["hashtag1","hashtag2"]},{"1401300717":["hashtag1","hashtag2"]},{"1401300720":["hashtag1","hashtag2"]},{"1401300725":["hashtag1","hashtag2"]},{"1401300715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300718, 1401300723, 1401300717, 1401300720, 1401300725, 1401300715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.155019760131836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:29:31.847690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_51_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_55_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_45_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_34_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_24_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_15_9684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/50/image_10122025_09_51_04_9729.jpg', '/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_55_9697.jpg', '/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_45_10738.jpg', '/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_34_9717.jpg', '/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_24_9743.jpg', '/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_15_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/50/image_10122025_09_51_04_9729.jpg
/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_55_9697.jpg
/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_45_10738.jpg
/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_34_9717.jpg
/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_24_9743.jpg
/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_15_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401300741","1401300735","1401300744","1401300738","1401300745","1401300736"],"photo_ids_order":["1401300735","1401300736","1401300738","1401300741","1401300744","1401300745"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86f03dc9f64c627a7381eaac1f56d72c.jpg","text":"TemporaryFile(/tmp/multipartBody8540059726418358476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856632689,"filename":"image_10122025_09_50_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/12/27/e9e8d6336dbb68fd5cd7de7b5298c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody7456894615195674539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856632689,"filename":"image_10122025_09_51_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0df36b524c8f9adfd5bc2c2c73ca524.jpg","text":"TemporaryFile(/tmp/multipartBody4953070522607963436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856632689,"filename":"image_10122025_09_50_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de33d8df0ce29bb747e18e9cbae5d6d4.jpg","text":"TemporaryFile(/tmp/multipartBody568454652424420805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856632689,"filename":"image_10122025_09_50_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/938364cdaf892c48f5a2839ca50fccbe.jpg","text":"TemporaryFile(/tmp/multipartBody6709886101873955440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856632689,"filename":"image_10122025_09_50_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e96e0e7d9bb820d52474a37d967f1fee.jpg","text":"TemporaryFile(/tmp/multipartBody7096306257053444481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856632689,"filename":"image_10122025_09_50_55_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300738","file1":"1401300736","file0":"1401300735","file4":"1401300744","file5":"1401300745","file3":"1401300741"},"map_files_photo_id_array":[{"photo_id":"1401300745","filename":"file5"},{"photo_id":"1401300738","filename":"file2"},{"photo_id":"1401300744","filename":"file4"},{"photo_id":"1401300736","filename":"file1"},{"photo_id":"1401300735","filename":"file0"},{"photo_id":"1401300741","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300741":["hashtag1","hashtag2"]},{"1401300735":["hashtag1","hashtag2"]},{"1401300744":["hashtag1","hashtag2"]},{"1401300738":["hashtag1","hashtag2"]},{"1401300745":["hashtag1","hashtag2"]},{"1401300736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300741, 1401300735, 1401300744, 1401300738, 1401300745, 1401300736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.368754386901855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:30:17.042915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_50_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_45_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_24_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_15_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/49/image_10122025_09_50_05_10675.jpg', '/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_54_9618.jpg', '/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_45_10640.jpg', '/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_34_9624.jpg', '/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_24_9633.jpg', '/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_15_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/49/image_10122025_09_50_05_10675.jpg
/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_54_9618.jpg
/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_45_10640.jpg
/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_34_9624.jpg
/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_24_9633.jpg
/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_15_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":["1401300753","1401300759","1401300750","1401300755","1401300757","1401300751"],"photo_ids_order":["1401300750","1401300751","1401300753","1401300755","1401300757","1401300759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1892e5741639e04ef52e09d421ad37d9.jpg","text":"TemporaryFile(/tmp/multipartBody3517556997205733035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856677865,"filename":"image_10122025_09_49_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49da2c6024b8e0b20aefdaa27ff66eb5.jpg","text":"TemporaryFile(/tmp/multipartBody226306094540970835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856677865,"filename":"image_10122025_09_49_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc9634491699b71b820412e9a9743ef8.jpg","text":"TemporaryFile(/tmp/multipartBody817758508388046503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856677865,"filename":"image_10122025_09_50_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1b58d3704086369ef07e8533d97611f.jpg","text":"TemporaryFile(/tmp/multipartBody3258672543129325562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856677865,"filename":"image_10122025_09_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/12/27/9f625374dcd6e6177c6f9dc1fb9f7cb9.jpg","text":"TemporaryFile(/tmp/multipartBody8006428324616394328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856677865,"filename":"image_10122025_09_49_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/12/27/3e1b9666c2c440b248b29b25d3b1e9be.jpg","text":"TemporaryFile(/tmp/multipartBody7513260521320337012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856677865,"filename":"image_10122025_09_49_54_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300753","file1":"1401300751","file0":"1401300750","file4":"1401300757","file5":"1401300759","file3":"1401300755"},"map_files_photo_id_array":[{"photo_id":"1401300759","filename":"file5"},{"photo_id":"1401300753","filename":"file2"},{"photo_id":"1401300757","filename":"file4"},{"photo_id":"1401300751","filename":"file1"},{"photo_id":"1401300750","filename":"file0"},{"photo_id":"1401300755","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300753":["hashtag1","hashtag2"]},{"1401300759":["hashtag1","hashtag2"]},{"1401300750":["hashtag1","hashtag2"]},{"1401300755":["hashtag1","hashtag2"]},{"1401300757":["hashtag1","hashtag2"]},{"1401300751":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300753, 1401300759, 1401300750, 1401300755, 1401300757, 1401300751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11177968978882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:31:02.787825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_49_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_55_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_45_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_34_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_15_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/48/image_10122025_09_49_04_9653.jpg', '/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_55_9641.jpg', '/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_45_10637.jpg', '/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_34_9647.jpg', '/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_25_9595.jpg', '/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_15_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/48/image_10122025_09_49_04_9653.jpg
/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_55_9641.jpg
/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_45_10637.jpg
/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_34_9647.jpg
/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_25_9595.jpg
/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_15_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":["1401300765","1401300762","1401300810","1401300878","1401300842","1401300775"],"photo_ids_order":["1401300762","1401300765","1401300775","1401300810","1401300842","1401300878"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15344f26e735a58db61cea6efa9dc4fc.jpg","text":"TemporaryFile(/tmp/multipartBody1757310940565638498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856723637,"filename":"image_10122025_09_48_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7568b312783958015f35e07252ce31df.jpg","text":"TemporaryFile(/tmp/multipartBody4598349440678824892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856723637,"filename":"image_10122025_09_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/12/27/b66e85bba47aa5b2ac297bd189b456c9.jpg","text":"TemporaryFile(/tmp/multipartBody925404858967756488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856723637,"filename":"image_10122025_09_48_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/12/27/548d704d09bca0fb37c27c0fe3e0a11b.jpg","text":"TemporaryFile(/tmp/multipartBody8898477220871631990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856723637,"filename":"image_10122025_09_48_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f36467b00d6dbd93a3ae3a5da8959030.jpg","text":"TemporaryFile(/tmp/multipartBody8645562778961022407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856723637,"filename":"image_10122025_09_48_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0a2f4b527a50e39aec881196bd473d1.jpg","text":"TemporaryFile(/tmp/multipartBody5837283489211489720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856723637,"filename":"image_10122025_09_48_45_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401300775","file1":"1401300765","file0":"1401300762","file4":"1401300842","file5":"1401300878","file3":"1401300810"},"map_files_photo_id_array":[{"photo_id":"1401300878","filename":"file5"},{"photo_id":"1401300775","filename":"file2"},{"photo_id":"1401300842","filename":"file4"},{"photo_id":"1401300765","filename":"file1"},{"photo_id":"1401300762","filename":"file0"},{"photo_id":"1401300810","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401300765":["hashtag1","hashtag2"]},{"1401300762":["hashtag1","hashtag2"]},{"1401300810":["hashtag1","hashtag2"]},{"1401300878":["hashtag1","hashtag2"]},{"1401300842":["hashtag1","hashtag2"]},{"1401300775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401300765, 1401300762, 1401300810, 1401300878, 1401300842, 1401300775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.282466411590576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:31:47.169745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_9687.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7242951393127441 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:32:02.824293
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/18/32/image_27122025_18_32_24_9516.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/18/32/image_27122025_18_32_24_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/18/32/image_27122025_18_32_24_9516.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401301168"],"photo_id":"1401301168","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64fe583492ee84041248731e7517818a.jpg","text":"TemporaryFile(/tmp/multipartBody4485710167699636820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856783070,"filename":"image_27122025_18_32_24_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401301168"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401301168"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.237799882888794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:32:17.267362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg', '/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg
/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_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":["1401301233","1401301236","1401301235","1401301229","1401301231","1401301210"],"photo_ids_order":["1401301210","1401301229","1401301231","1401301233","1401301235","1401301236"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a796543c05731afd23b20e0e1ee0259f.jpg","text":"TemporaryFile(/tmp/multipartBody7190398859656708608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856798068,"filename":"image_10122025_09_47_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/12/27/ad3584213701fb01fdf76cb9d9c9eec2.jpg","text":"TemporaryFile(/tmp/multipartBody4342750669901689370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856798068,"filename":"image_10122025_09_47_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/12/27/fc553c505d33e7df141353b113fc9a69.jpg","text":"TemporaryFile(/tmp/multipartBody2653542554475246811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856798068,"filename":"image_10122025_09_47_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2a03fc3c0baefe9f6841eda7a9de0d2.jpg","text":"TemporaryFile(/tmp/multipartBody9007561877654113585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856798068,"filename":"image_10122025_09_47_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/256beda2fdacdb5fac2e76cc02b19807.jpg","text":"TemporaryFile(/tmp/multipartBody8814440989335334785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856798068,"filename":"image_10122025_09_47_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/12/27/2bb146d6726857aa968fddf6b328bbec.jpg","text":"TemporaryFile(/tmp/multipartBody3418871111902416320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856798068,"filename":"image_10122025_09_48_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301231","file1":"1401301229","file0":"1401301210","file4":"1401301235","file5":"1401301236","file3":"1401301233"},"map_files_photo_id_array":[{"photo_id":"1401301236","filename":"file5"},{"photo_id":"1401301231","filename":"file2"},{"photo_id":"1401301235","filename":"file4"},{"photo_id":"1401301229","filename":"file1"},{"photo_id":"1401301210","filename":"file0"},{"photo_id":"1401301233","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301233":["hashtag1","hashtag2"]},{"1401301236":["hashtag1","hashtag2"]},{"1401301235":["hashtag1","hashtag2"]},{"1401301229":["hashtag1","hashtag2"]},{"1401301231":["hashtag1","hashtag2"]},{"1401301210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301233, 1401301236, 1401301235, 1401301229, 1401301231, 1401301210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31975483894348 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:33:03.006771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_47_04_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_55_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_44_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_25_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_15_10767.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/46/image_10122025_09_47_04_9664.jpg', '/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_55_10663.jpg', '/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_44_9667.jpg', '/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_34_9670.jpg', '/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_25_9745.jpg', '/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_15_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/46/image_10122025_09_47_04_9664.jpg
/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_55_10663.jpg
/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_44_9667.jpg
/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_34_9670.jpg
/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_25_9745.jpg
/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_15_10767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401301283","1401301250","1401301354","1401301321","1401301243","1401301242"],"photo_ids_order":["1401301242","1401301243","1401301250","1401301283","1401301321","1401301354"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3a85c645bc1c2ae92c650a5d91c6615.jpg","text":"TemporaryFile(/tmp/multipartBody7592744395430278363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856843903,"filename":"image_10122025_09_46_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3abf88b79fcf9c59d30fbb5ac440180.jpg","text":"TemporaryFile(/tmp/multipartBody3899918972372549413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856843903,"filename":"image_10122025_09_46_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e44c7008dc42184520c7a66a1e84af1d.jpg","text":"TemporaryFile(/tmp/multipartBody4963614381500342462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856843903,"filename":"image_10122025_09_46_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e99619bfb09750c9858a782e9e07939.jpg","text":"TemporaryFile(/tmp/multipartBody8268951429314556182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856843903,"filename":"image_10122025_09_46_25_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7831445a9ce83d8154d34cbe178c7503.jpg","text":"TemporaryFile(/tmp/multipartBody4047674462487892628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856843903,"filename":"image_10122025_09_46_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c5c0609dd728e2abef4c868f226484c.jpg","text":"TemporaryFile(/tmp/multipartBody2940434511367002097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856843903,"filename":"image_10122025_09_47_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301250","file1":"1401301243","file0":"1401301242","file4":"1401301321","file5":"1401301354","file3":"1401301283"},"map_files_photo_id_array":[{"photo_id":"1401301354","filename":"file5"},{"photo_id":"1401301250","filename":"file2"},{"photo_id":"1401301321","filename":"file4"},{"photo_id":"1401301243","filename":"file1"},{"photo_id":"1401301242","filename":"file0"},{"photo_id":"1401301283","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301283":["hashtag1","hashtag2"]},{"1401301250":["hashtag1","hashtag2"]},{"1401301354":["hashtag1","hashtag2"]},{"1401301321":["hashtag1","hashtag2"]},{"1401301243":["hashtag1","hashtag2"]},{"1401301242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301283, 1401301250, 1401301354, 1401301321, 1401301243, 1401301242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.542500257492065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:33:47.380977
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_46_04_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_55_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_35_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_24_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_15_9779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_45_05_9745.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/45/image_10122025_09_46_04_9761.jpg', '/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_55_9742.jpg', '/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_35_10752.jpg', '/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_24_9741.jpg', '/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_15_9779.jpg', '/home/nano/Desktop/images/10122025/09/44/image_10122025_09_45_05_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/45/image_10122025_09_46_04_9761.jpg
/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_55_9742.jpg
/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_35_10752.jpg
/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_24_9741.jpg
/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_15_9779.jpg
/home/nano/Desktop/images/10122025/09/44/image_10122025_09_45_05_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":["1401301454","1401301457","1401301456","1401301453","1401301452","1401301434"],"photo_ids_order":["1401301434","1401301452","1401301453","1401301454","1401301456","1401301457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7a972f911e5b407ccd94365b07f77da.jpg","text":"TemporaryFile(/tmp/multipartBody3571851264548697588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856888247,"filename":"image_10122025_09_45_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/258666fcedf347c7762c917bfe63f32d.jpg","text":"TemporaryFile(/tmp/multipartBody5289174904524026583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856888247,"filename":"image_10122025_09_45_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cdcee767ce810c8056bc20396b8aac8.jpg","text":"TemporaryFile(/tmp/multipartBody80411668563575103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856888247,"filename":"image_10122025_09_45_15_9779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21604a901a8ff53854892c7907584513.jpg","text":"TemporaryFile(/tmp/multipartBody4762300624393066293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856888247,"filename":"image_10122025_09_45_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e37ddd70ca1b00ce84187574c4e292d.jpg","text":"TemporaryFile(/tmp/multipartBody1633720487898361450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856888247,"filename":"image_10122025_09_45_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17dc4b8f51d42fd2612b87e3a8e84be1.jpg","text":"TemporaryFile(/tmp/multipartBody7605708353434908114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856888247,"filename":"image_10122025_09_46_04_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301453","file1":"1401301452","file0":"1401301434","file4":"1401301456","file5":"1401301457","file3":"1401301454"},"map_files_photo_id_array":[{"photo_id":"1401301457","filename":"file5"},{"photo_id":"1401301453","filename":"file2"},{"photo_id":"1401301456","filename":"file4"},{"photo_id":"1401301452","filename":"file1"},{"photo_id":"1401301434","filename":"file0"},{"photo_id":"1401301454","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301454":["hashtag1","hashtag2"]},{"1401301457":["hashtag1","hashtag2"]},{"1401301456":["hashtag1","hashtag2"]},{"1401301453":["hashtag1","hashtag2"]},{"1401301452":["hashtag1","hashtag2"]},{"1401301434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301454, 1401301457, 1401301456, 1401301453, 1401301452, 1401301434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79402780532837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:34:32.486551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_55_10753.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_44_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_35_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_25_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_44_04_9754.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_54_9762.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_55_10753.jpg', '/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_44_9740.jpg', '/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_35_9747.jpg', '/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_25_9745.jpg', '/home/nano/Desktop/images/10122025/09/43/image_10122025_09_44_04_9754.jpg', '/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_54_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_55_10753.jpg
/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_44_9740.jpg
/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_35_9747.jpg
/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_25_9745.jpg
/home/nano/Desktop/images/10122025/09/43/image_10122025_09_44_04_9754.jpg
/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_54_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401301679","1401301646","1401301541","1401301711","1401301609","1401301578"],"photo_ids_order":["1401301541","1401301578","1401301609","1401301646","1401301679","1401301711"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a607726aee6e5c267387f54cd9ac496.jpg","text":"TemporaryFile(/tmp/multipartBody2904440709856951492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856933354,"filename":"image_10122025_09_44_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/12/27/70d7195125f3ac62d984e17696ee3124.jpg","text":"TemporaryFile(/tmp/multipartBody9009637071002869729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856933354,"filename":"image_10122025_09_44_25_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/019d2f9fe0f3d9059ce31add49ac5e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3506436798751864836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856933354,"filename":"image_10122025_09_44_55_10753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cd3780408b8507f6c2adc74fba248b7.jpg","text":"TemporaryFile(/tmp/multipartBody9102536361354973075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856933354,"filename":"image_10122025_09_43_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a20d24083e4d512ebf0d17f8850427c5.jpg","text":"TemporaryFile(/tmp/multipartBody8869449680227809262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856933354,"filename":"image_10122025_09_44_35_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec0669124ebcec690e33567aa0fbd532.jpg","text":"TemporaryFile(/tmp/multipartBody7752535096967222559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856933354,"filename":"image_10122025_09_44_44_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301609","file1":"1401301578","file0":"1401301541","file4":"1401301679","file5":"1401301711","file3":"1401301646"},"map_files_photo_id_array":[{"photo_id":"1401301711","filename":"file5"},{"photo_id":"1401301609","filename":"file2"},{"photo_id":"1401301679","filename":"file4"},{"photo_id":"1401301578","filename":"file1"},{"photo_id":"1401301541","filename":"file0"},{"photo_id":"1401301646","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301679":["hashtag1","hashtag2"]},{"1401301646":["hashtag1","hashtag2"]},{"1401301541":["hashtag1","hashtag2"]},{"1401301711":["hashtag1","hashtag2"]},{"1401301609":["hashtag1","hashtag2"]},{"1401301578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301679, 1401301646, 1401301541, 1401301711, 1401301609, 1401301578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41318392753601 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:35:17.687339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_45_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_35_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_24_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_14_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_43_05_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_55_10757.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_45_9744.jpg', '/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_35_10752.jpg', '/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_24_9740.jpg', '/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_14_9756.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_43_05_9760.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_55_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_45_9744.jpg
/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_35_10752.jpg
/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_24_9740.jpg
/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_14_9756.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_43_05_9760.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_55_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401301761","1401301769","1401301763","1401301765","1401301758","1401301767"],"photo_ids_order":["1401301758","1401301761","1401301763","1401301765","1401301767","1401301769"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b3e25aa4a60d000bcb52f9527135413.jpg","text":"TemporaryFile(/tmp/multipartBody5776786074486669368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856978565,"filename":"image_10122025_09_43_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13acb4c4a3a78cb8c6384d49754f2265.jpg","text":"TemporaryFile(/tmp/multipartBody6146542091862668471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856978565,"filename":"image_10122025_09_42_55_10757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db169088ebc93185bb619f2d0069f540.jpg","text":"TemporaryFile(/tmp/multipartBody1026599286613952858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856978565,"filename":"image_10122025_09_43_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97f521cd0c9cce9ef81df7aed87309f1.jpg","text":"TemporaryFile(/tmp/multipartBody3890486222673426329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856978565,"filename":"image_10122025_09_43_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/12/27/52ad65daadd00c978e5c6a8dc326b69c.jpg","text":"TemporaryFile(/tmp/multipartBody115542759731378522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856978565,"filename":"image_10122025_09_43_45_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6050c71a9e4ee082ee3cfcb949e97f51.jpg","text":"TemporaryFile(/tmp/multipartBody5478585741868200033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766856978565,"filename":"image_10122025_09_43_05_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301763","file1":"1401301761","file0":"1401301758","file4":"1401301767","file5":"1401301769","file3":"1401301765"},"map_files_photo_id_array":[{"photo_id":"1401301769","filename":"file5"},{"photo_id":"1401301763","filename":"file2"},{"photo_id":"1401301767","filename":"file4"},{"photo_id":"1401301761","filename":"file1"},{"photo_id":"1401301758","filename":"file0"},{"photo_id":"1401301765","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301761":["hashtag1","hashtag2"]},{"1401301769":["hashtag1","hashtag2"]},{"1401301763":["hashtag1","hashtag2"]},{"1401301765":["hashtag1","hashtag2"]},{"1401301758":["hashtag1","hashtag2"]},{"1401301767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301761, 1401301769, 1401301763, 1401301765, 1401301758, 1401301767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01248383522034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:36:03.152390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_54_9744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg', '/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg', '/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_54_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg
/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg
/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_54_9744.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.762948751449585 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:36:17.678737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_54_9744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg', '/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg', '/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg', '/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_54_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg
/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg
/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg
/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_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":["1401301787","1401301783","1401301786","1401301789","1401301791","1401301779"],"photo_ids_order":["1401301779","1401301783","1401301786","1401301787","1401301789","1401301791"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7afaa1e4b68aff448e9a59dd2e3e7bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3449954515706608485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857038567,"filename":"image_10122025_09_42_15_10803.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3192d62e57474a853163729aa846c263.jpg","text":"TemporaryFile(/tmp/multipartBody6897532531262401511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857038567,"filename":"image_10122025_09_42_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/562c6583b3519458839bf27576b36394.jpg","text":"TemporaryFile(/tmp/multipartBody7429722226947796383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857038567,"filename":"image_10122025_09_42_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5c8e498ddc8da3f8abe9b3f13aa2b75.jpg","text":"TemporaryFile(/tmp/multipartBody8852951943916911392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857038567,"filename":"image_10122025_09_42_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/12/27/93bb1833e79d11e3a8c75466d93113c0.jpg","text":"TemporaryFile(/tmp/multipartBody8682175009959863012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857038567,"filename":"image_10122025_09_41_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/12/27/16db7fb0ce97164e6325c6860bb00004.jpg","text":"TemporaryFile(/tmp/multipartBody3520309071053322916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857038567,"filename":"image_10122025_09_42_44_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301786","file1":"1401301783","file0":"1401301779","file4":"1401301789","file5":"1401301791","file3":"1401301787"},"map_files_photo_id_array":[{"photo_id":"1401301791","filename":"file5"},{"photo_id":"1401301786","filename":"file2"},{"photo_id":"1401301789","filename":"file4"},{"photo_id":"1401301783","filename":"file1"},{"photo_id":"1401301779","filename":"file0"},{"photo_id":"1401301787","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301787":["hashtag1","hashtag2"]},{"1401301783":["hashtag1","hashtag2"]},{"1401301786":["hashtag1","hashtag2"]},{"1401301789":["hashtag1","hashtag2"]},{"1401301791":["hashtag1","hashtag2"]},{"1401301779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301787, 1401301783, 1401301786, 1401301789, 1401301791, 1401301779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87476205825806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:37:02.528024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_45_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_35_10754.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_14_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_41_05_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_55_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_34_9739.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_45_9740.jpg', '/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_35_10754.jpg', '/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_14_9745.jpg', '/home/nano/Desktop/images/10122025/09/40/image_10122025_09_41_05_9745.jpg', '/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_55_10756.jpg', '/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_34_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_45_9740.jpg
/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_35_10754.jpg
/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_14_9745.jpg
/home/nano/Desktop/images/10122025/09/40/image_10122025_09_41_05_9745.jpg
/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_55_10756.jpg
/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_34_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401301800","1401301796","1401301805","1401301798","1401301802","1401301794"],"photo_ids_order":["1401301794","1401301796","1401301798","1401301800","1401301802","1401301805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bea6fab026d28ad3d48f3475162502e.jpg","text":"TemporaryFile(/tmp/multipartBody5250882935997797203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857083391,"filename":"image_10122025_09_41_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebbe61d95dd96bdcb78972a4f609c303.jpg","text":"TemporaryFile(/tmp/multipartBody6657905343599235026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857083391,"filename":"image_10122025_09_41_35_10754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1bf6187e9ebc4a22b92c9daa3636e06f.jpg","text":"TemporaryFile(/tmp/multipartBody3329654261911663135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857083391,"filename":"image_10122025_09_40_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc31920b42fb03669345240f5b84d628.jpg","text":"TemporaryFile(/tmp/multipartBody4761990671532922233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857083391,"filename":"image_10122025_09_41_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52938bea64480581437f633f3ed2e853.jpg","text":"TemporaryFile(/tmp/multipartBody3993204477749550509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857083391,"filename":"image_10122025_09_40_55_10756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c0946773a1bf557b45b84ad3f7bbfb7.jpg","text":"TemporaryFile(/tmp/multipartBody5565035266001833550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857083391,"filename":"image_10122025_09_41_45_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301798","file1":"1401301796","file0":"1401301794","file4":"1401301802","file5":"1401301805","file3":"1401301800"},"map_files_photo_id_array":[{"photo_id":"1401301805","filename":"file5"},{"photo_id":"1401301798","filename":"file2"},{"photo_id":"1401301802","filename":"file4"},{"photo_id":"1401301796","filename":"file1"},{"photo_id":"1401301794","filename":"file0"},{"photo_id":"1401301800","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301800":["hashtag1","hashtag2"]},{"1401301796":["hashtag1","hashtag2"]},{"1401301805":["hashtag1","hashtag2"]},{"1401301798":["hashtag1","hashtag2"]},{"1401301802":["hashtag1","hashtag2"]},{"1401301794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301800, 1401301796, 1401301805, 1401301798, 1401301802, 1401301794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.318464279174805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:37:46.799203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_25_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_15_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_54_9767.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_45_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_35_10750.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_24_9744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_25_9744.jpg', '/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_15_10779.jpg', '/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_54_9767.jpg', '/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_45_9742.jpg', '/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_35_10750.jpg', '/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_24_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_25_9744.jpg
/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_15_10779.jpg
/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_54_9767.jpg
/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_45_9742.jpg
/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_35_10750.jpg
/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_24_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":["1401301874","1401301868","1401301873","1401301852","1401301849","1401301834"],"photo_ids_order":["1401301834","1401301849","1401301852","1401301868","1401301873","1401301874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/70bbf61e58fee46ff8feb38a48e82e39.jpg","text":"TemporaryFile(/tmp/multipartBody3320376714546106335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857127657,"filename":"image_10122025_09_39_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5778dc4acc45bdbf3bdb75d183b419f2.jpg","text":"TemporaryFile(/tmp/multipartBody2570014090051481306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857127657,"filename":"image_10122025_09_39_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79bbb772216f0f31f74b6ea965916c10.jpg","text":"TemporaryFile(/tmp/multipartBody1752500309021821136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857127657,"filename":"image_10122025_09_39_35_10750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aff81a3d8aa0474588496716debb724f.jpg","text":"TemporaryFile(/tmp/multipartBody2574085132797359598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857127657,"filename":"image_10122025_09_39_54_9767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02ba966e1761c772bad05aefa747f131.jpg","text":"TemporaryFile(/tmp/multipartBody4830863328276813190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857127657,"filename":"image_10122025_09_40_15_10779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a352108a06057bc855b48bb175544ff8.jpg","text":"TemporaryFile(/tmp/multipartBody1645076038585013945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857127657,"filename":"image_10122025_09_40_25_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301852","file1":"1401301849","file0":"1401301834","file4":"1401301873","file5":"1401301874","file3":"1401301868"},"map_files_photo_id_array":[{"photo_id":"1401301874","filename":"file5"},{"photo_id":"1401301852","filename":"file2"},{"photo_id":"1401301873","filename":"file4"},{"photo_id":"1401301849","filename":"file1"},{"photo_id":"1401301834","filename":"file0"},{"photo_id":"1401301868","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301874":["hashtag1","hashtag2"]},{"1401301868":["hashtag1","hashtag2"]},{"1401301873":["hashtag1","hashtag2"]},{"1401301852":["hashtag1","hashtag2"]},{"1401301849":["hashtag1","hashtag2"]},{"1401301834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301874, 1401301868, 1401301873, 1401301852, 1401301849, 1401301834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03400182723999 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:38:31.896239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_14_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_39_05_9758.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_55_10742.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_34_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_25_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_15_10778.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_14_9751.jpg', '/home/nano/Desktop/images/10122025/09/38/image_10122025_09_39_05_9758.jpg', '/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_55_10742.jpg', '/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_34_9743.jpg', '/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_25_9741.jpg', '/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_15_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_14_9751.jpg
/home/nano/Desktop/images/10122025/09/38/image_10122025_09_39_05_9758.jpg
/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_55_10742.jpg
/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_34_9743.jpg
/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_25_9741.jpg
/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_15_10778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401301898","1401301902","1401301905","1401301912","1401301896","1401301899"],"photo_ids_order":["1401301896","1401301898","1401301899","1401301902","1401301905","1401301912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38911a067387d950963bb50ef918f731.jpg","text":"TemporaryFile(/tmp/multipartBody1458191439320238124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857172749,"filename":"image_10122025_09_39_05_9758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8827ccae64c4b2af134bd2e763ebb656.jpg","text":"TemporaryFile(/tmp/multipartBody2419196768045663212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857172749,"filename":"image_10122025_09_38_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1765c436d7c1f8666c34ab70b1e2b325.jpg","text":"TemporaryFile(/tmp/multipartBody2646258431703347234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857172749,"filename":"image_10122025_09_38_25_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b8e677d59ca0bf2e65695bf00facd3a.jpg","text":"TemporaryFile(/tmp/multipartBody1224373563259956627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857172749,"filename":"image_10122025_09_38_15_10778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55b141f74d7700d15b01f23a6373bca0.jpg","text":"TemporaryFile(/tmp/multipartBody2530170898318823608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857172749,"filename":"image_10122025_09_39_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d78a2549ceb7af963b3f1ce9c774f52d.jpg","text":"TemporaryFile(/tmp/multipartBody3900674421757693898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857172749,"filename":"image_10122025_09_38_55_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301899","file1":"1401301898","file0":"1401301896","file4":"1401301905","file5":"1401301912","file3":"1401301902"},"map_files_photo_id_array":[{"photo_id":"1401301912","filename":"file5"},{"photo_id":"1401301899","filename":"file2"},{"photo_id":"1401301905","filename":"file4"},{"photo_id":"1401301898","filename":"file1"},{"photo_id":"1401301896","filename":"file0"},{"photo_id":"1401301902","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301898":["hashtag1","hashtag2"]},{"1401301902":["hashtag1","hashtag2"]},{"1401301905":["hashtag1","hashtag2"]},{"1401301912":["hashtag1","hashtag2"]},{"1401301896":["hashtag1","hashtag2"]},{"1401301899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301898, 1401301902, 1401301905, 1401301912, 1401301896, 1401301899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.184305906295776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:39:17.032050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_38_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_54_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_45_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_24_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_14_9781.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_37_05_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/37/image_10122025_09_38_04_9729.jpg', '/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_54_9760.jpg', '/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_45_9744.jpg', '/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_24_9737.jpg', '/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_14_9781.jpg', '/home/nano/Desktop/images/10122025/09/36/image_10122025_09_37_05_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/37/image_10122025_09_38_04_9729.jpg
/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_54_9760.jpg
/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_45_9744.jpg
/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_24_9737.jpg
/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_14_9781.jpg
/home/nano/Desktop/images/10122025/09/36/image_10122025_09_37_05_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":["1401301981","1401301987","1401301972","1401301945","1401301989","1401301965"],"photo_ids_order":["1401301945","1401301965","1401301972","1401301981","1401301987","1401301989"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c67e84eec452bcbd733a6e8c3cea306d.jpg","text":"TemporaryFile(/tmp/multipartBody490802481986223499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857217890,"filename":"image_10122025_09_37_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56e420e61cfe1476e3cf8e7482247f92.jpg","text":"TemporaryFile(/tmp/multipartBody1902154060857777625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857217890,"filename":"image_10122025_09_37_14_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d12d75fe638595cbbc9e772989784924.jpg","text":"TemporaryFile(/tmp/multipartBody6952335699317443098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857217890,"filename":"image_10122025_09_37_45_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c3655f2cbcb4ca8a695da87c6473545.jpg","text":"TemporaryFile(/tmp/multipartBody6635473169152460541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857217890,"filename":"image_10122025_09_38_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97461b5c45478914ef988e7e6187a110.jpg","text":"TemporaryFile(/tmp/multipartBody3324931753436283522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857217890,"filename":"image_10122025_09_37_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93fdec7e5507bf5abe82ca7079cfeb9b.jpg","text":"TemporaryFile(/tmp/multipartBody7852973746349409283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857217890,"filename":"image_10122025_09_37_54_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401301972","file1":"1401301965","file0":"1401301945","file4":"1401301987","file5":"1401301989","file3":"1401301981"},"map_files_photo_id_array":[{"photo_id":"1401301989","filename":"file5"},{"photo_id":"1401301972","filename":"file2"},{"photo_id":"1401301987","filename":"file4"},{"photo_id":"1401301965","filename":"file1"},{"photo_id":"1401301945","filename":"file0"},{"photo_id":"1401301981","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401301981":["hashtag1","hashtag2"]},{"1401301987":["hashtag1","hashtag2"]},{"1401301972":["hashtag1","hashtag2"]},{"1401301945":["hashtag1","hashtag2"]},{"1401301989":["hashtag1","hashtag2"]},{"1401301965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401301981, 1401301987, 1401301972, 1401301945, 1401301989, 1401301965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57431077957153 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:40:02.486557
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_55_10782.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_44_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_35_9784.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_25_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_36_04_9679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_55_10782.jpg', '/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_44_9663.jpg', '/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_35_9784.jpg', '/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_25_9672.jpg', '/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_15_10644.jpg', '/home/nano/Desktop/images/10122025/09/35/image_10122025_09_36_04_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_55_10782.jpg
/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_44_9663.jpg
/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_35_9784.jpg
/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_25_9672.jpg
/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_15_10644.jpg
/home/nano/Desktop/images/10122025/09/35/image_10122025_09_36_04_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":["1401302004","1401302000","1401301996","1401302008","1401302002","1401301998"],"photo_ids_order":["1401301996","1401301998","1401302000","1401302002","1401302004","1401302008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27577c9d51c8d07e35552041d53972d1.jpg","text":"TemporaryFile(/tmp/multipartBody7679294119380112884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857263460,"filename":"image_10122025_09_36_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32948b8f74c8777a38268d34df6deb94.jpg","text":"TemporaryFile(/tmp/multipartBody4900148986960853639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857263460,"filename":"image_10122025_09_36_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ebbf068fe2fdbacbb435426d889a9ea.jpg","text":"TemporaryFile(/tmp/multipartBody321766726892012720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857263460,"filename":"image_10122025_09_36_55_10782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff1896894153518e91f61b0101d51dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4411890718981173137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857263460,"filename":"image_10122025_09_36_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12a6430776929b896a966308115d70c4.jpg","text":"TemporaryFile(/tmp/multipartBody8498169645830209006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857263460,"filename":"image_10122025_09_36_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad05b21c578d71196384a6f9833086ed.jpg","text":"TemporaryFile(/tmp/multipartBody2485405045397021355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857263460,"filename":"image_10122025_09_36_44_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302000","file1":"1401301998","file0":"1401301996","file4":"1401302004","file5":"1401302008","file3":"1401302002"},"map_files_photo_id_array":[{"photo_id":"1401302008","filename":"file5"},{"photo_id":"1401302000","filename":"file2"},{"photo_id":"1401302004","filename":"file4"},{"photo_id":"1401301998","filename":"file1"},{"photo_id":"1401301996","filename":"file0"},{"photo_id":"1401302002","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302004":["hashtag1","hashtag2"]},{"1401302000":["hashtag1","hashtag2"]},{"1401301996":["hashtag1","hashtag2"]},{"1401302008":["hashtag1","hashtag2"]},{"1401302002":["hashtag1","hashtag2"]},{"1401301998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302004, 1401302000, 1401301996, 1401302008, 1401302002, 1401301998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13831567764282 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:40:47.084288
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_34_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_25_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_15_10816.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_35_04_9773.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_55_10630.jpg', '/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_44_9703.jpg', '/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_34_9645.jpg', '/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_25_9765.jpg', '/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_15_10816.jpg', '/home/nano/Desktop/images/10122025/09/34/image_10122025_09_35_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_55_10630.jpg
/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_44_9703.jpg
/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_34_9645.jpg
/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_25_9765.jpg
/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_15_10816.jpg
/home/nano/Desktop/images/10122025/09/34/image_10122025_09_35_04_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401302208","1401302159","1401302120","1401302085","1401302049","1401302195"],"photo_ids_order":["1401302049","1401302085","1401302120","1401302159","1401302195","1401302208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/682ee658a25ca4f1733324b82bdad9b5.jpg","text":"TemporaryFile(/tmp/multipartBody7128963075065076639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857307931,"filename":"image_10122025_09_35_04_9773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/caba8e166807b36c3ce6021a5f14f78f.jpg","text":"TemporaryFile(/tmp/multipartBody986525498227390904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857307931,"filename":"image_10122025_09_35_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4bd8d85757ac4a0357f57487e359e94f.jpg","text":"TemporaryFile(/tmp/multipartBody2214162506083226035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857307931,"filename":"image_10122025_09_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/12/27/26073ab53bc1f990a5be94b3a83a6d4e.jpg","text":"TemporaryFile(/tmp/multipartBody5456289052459032246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857307931,"filename":"image_10122025_09_35_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/12/27/48c37800cbf2e5d0c6afe040b457379d.jpg","text":"TemporaryFile(/tmp/multipartBody1080412666683412810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857307931,"filename":"image_10122025_09_35_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/070e1d0cd8cbe648775a02761e92ab0d.jpg","text":"TemporaryFile(/tmp/multipartBody3773996973779257538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857307931,"filename":"image_10122025_09_35_15_10816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302120","file1":"1401302085","file0":"1401302049","file4":"1401302195","file5":"1401302208","file3":"1401302159"},"map_files_photo_id_array":[{"photo_id":"1401302208","filename":"file5"},{"photo_id":"1401302120","filename":"file2"},{"photo_id":"1401302195","filename":"file4"},{"photo_id":"1401302085","filename":"file1"},{"photo_id":"1401302049","filename":"file0"},{"photo_id":"1401302159","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302208":["hashtag1","hashtag2"]},{"1401302159":["hashtag1","hashtag2"]},{"1401302120":["hashtag1","hashtag2"]},{"1401302085":["hashtag1","hashtag2"]},{"1401302049":["hashtag1","hashtag2"]},{"1401302195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302208, 1401302159, 1401302120, 1401302085, 1401302049, 1401302195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.011138677597046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:41:32.174339
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/18/41/image_27122025_18_41_33_9516.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/18/41/image_27122025_18_41_33_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/18/41/image_27122025_18_41_33_9516.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.12901616096496582 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:41:47.196242
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/18/41/image_27122025_18_41_33_9516.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/18/41/image_27122025_18_41_33_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/18/41/image_27122025_18_41_33_9516.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401302246"],"photo_id":"1401302246","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f728aa6a4229b06d7cb50c0643f8e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2038698665353844789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857367435,"filename":"image_27122025_18_41_33_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401302246"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401302246"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.974912881851196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:42:02.810815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_54_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_45_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_35_10763.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_24_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_15_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_34_05_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_54_9683.jpg', '/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_45_9645.jpg', '/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_35_10763.jpg', '/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_24_9643.jpg', '/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_15_9651.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_34_05_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_54_9683.jpg
/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_45_9645.jpg
/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_35_10763.jpg
/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_24_9643.jpg
/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_15_9651.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_34_05_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":["1401302258","1401302261","1401302254","1401302251","1401302253","1401302256"],"photo_ids_order":["1401302251","1401302253","1401302254","1401302256","1401302258","1401302261"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8a2481ab0144ac7ee29391bdf4d08a1.jpg","text":"TemporaryFile(/tmp/multipartBody6119380244261970381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857383705,"filename":"image_10122025_09_34_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60088c0c34765a8257b715f9af1f646a.jpg","text":"TemporaryFile(/tmp/multipartBody4270758924054328388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857383705,"filename":"image_10122025_09_34_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c63900189651d7c972546d590fc85377.jpg","text":"TemporaryFile(/tmp/multipartBody974546875394903919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857383705,"filename":"image_10122025_09_34_35_10763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39acdcd947b983b997974688f3d1022f.jpg","text":"TemporaryFile(/tmp/multipartBody7285648431992470337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857383705,"filename":"image_10122025_09_34_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/12/27/0fb93e47c3aa05aae15a03dbcff29b1c.jpg","text":"TemporaryFile(/tmp/multipartBody8308596813329937349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857383705,"filename":"image_10122025_09_34_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f8b068748019bb95cca2a9c404f8885.jpg","text":"TemporaryFile(/tmp/multipartBody6119337425895958521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857383705,"filename":"image_10122025_09_34_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302254","file1":"1401302253","file0":"1401302251","file4":"1401302258","file5":"1401302261","file3":"1401302256"},"map_files_photo_id_array":[{"photo_id":"1401302261","filename":"file5"},{"photo_id":"1401302254","filename":"file2"},{"photo_id":"1401302258","filename":"file4"},{"photo_id":"1401302253","filename":"file1"},{"photo_id":"1401302251","filename":"file0"},{"photo_id":"1401302256","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302258":["hashtag1","hashtag2"]},{"1401302261":["hashtag1","hashtag2"]},{"1401302254":["hashtag1","hashtag2"]},{"1401302251":["hashtag1","hashtag2"]},{"1401302253":["hashtag1","hashtag2"]},{"1401302256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302258, 1401302261, 1401302254, 1401302251, 1401302253, 1401302256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.250662326812744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:42:47.307385
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg', '/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg
/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7132725715637207 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:43:03.224196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg', '/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg', '/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg
/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg
/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401302390","1401302327","1401302315","1401302323","1401302358","1401302430"],"photo_ids_order":["1401302315","1401302323","1401302327","1401302358","1401302390","1401302430"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eba79d1692869071be7e208c1f8371b4.jpg","text":"TemporaryFile(/tmp/multipartBody2254321013797477975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857444112,"filename":"image_10122025_09_33_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6cc51f427040bfaf0ed6bf63a09288f3.jpg","text":"TemporaryFile(/tmp/multipartBody243345961714463485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857444112,"filename":"image_10122025_09_33_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8691f980c4fcd4d61d28c79e005030c4.jpg","text":"TemporaryFile(/tmp/multipartBody2770813764561629477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857444112,"filename":"image_10122025_09_33_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/12/27/ba5d9cc69f39d22346cbb563e6526acc.jpg","text":"TemporaryFile(/tmp/multipartBody3883003513866237464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857444112,"filename":"image_10122025_09_33_45_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15f20d3a9d51ae31eac612fbb96a7e58.jpg","text":"TemporaryFile(/tmp/multipartBody8556041935957067522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857444112,"filename":"image_10122025_09_33_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4918411c5d147735021e495893c3165.jpg","text":"TemporaryFile(/tmp/multipartBody4584035165972622938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857444112,"filename":"image_10122025_09_33_05_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302327","file1":"1401302323","file0":"1401302315","file4":"1401302390","file5":"1401302430","file3":"1401302358"},"map_files_photo_id_array":[{"photo_id":"1401302430","filename":"file5"},{"photo_id":"1401302327","filename":"file2"},{"photo_id":"1401302390","filename":"file4"},{"photo_id":"1401302323","filename":"file1"},{"photo_id":"1401302315","filename":"file0"},{"photo_id":"1401302358","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302390":["hashtag1","hashtag2"]},{"1401302327":["hashtag1","hashtag2"]},{"1401302315":["hashtag1","hashtag2"]},{"1401302323":["hashtag1","hashtag2"]},{"1401302358":["hashtag1","hashtag2"]},{"1401302430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302390, 1401302327, 1401302315, 1401302323, 1401302358, 1401302430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03914761543274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:43:47.406465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_54_9783.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_44_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_35_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_25_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_14_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_32_04_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_54_9783.jpg', '/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_44_9675.jpg', '/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_35_9748.jpg', '/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_25_10779.jpg', '/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_14_9780.jpg', '/home/nano/Desktop/images/10122025/09/31/image_10122025_09_32_04_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_54_9783.jpg
/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_44_9675.jpg
/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_35_9748.jpg
/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_25_10779.jpg
/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_14_9780.jpg
/home/nano/Desktop/images/10122025/09/31/image_10122025_09_32_04_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":["1401302519","1401302516","1401302515","1401302529","1401302514","1401302517"],"photo_ids_order":["1401302514","1401302515","1401302516","1401302517","1401302519","1401302529"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1b91730ef94198574d0d97d865ac9c1.jpg","text":"TemporaryFile(/tmp/multipartBody7649778867241729224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857488249,"filename":"image_10122025_09_32_14_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9efd3e5e3911b0adabd14502c8eb757.jpg","text":"TemporaryFile(/tmp/multipartBody7672069671341992582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857488249,"filename":"image_10122025_09_32_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8f5df90d78b486c484faf008f93bd85.jpg","text":"TemporaryFile(/tmp/multipartBody3214490250243507273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857488249,"filename":"image_10122025_09_32_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/12/27/7a29b135d4ba1d796905495a750d3404.jpg","text":"TemporaryFile(/tmp/multipartBody1199717109978307167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857488249,"filename":"image_10122025_09_32_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/12/27/a455af85a04fa1894102009ba322c634.jpg","text":"TemporaryFile(/tmp/multipartBody3428349889233844511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857488249,"filename":"image_10122025_09_32_54_9783.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7fbba649ccebedb269b8782968a33e6.jpg","text":"TemporaryFile(/tmp/multipartBody9110646977331141416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857488249,"filename":"image_10122025_09_32_25_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302516","file1":"1401302515","file0":"1401302514","file4":"1401302519","file5":"1401302529","file3":"1401302517"},"map_files_photo_id_array":[{"photo_id":"1401302529","filename":"file5"},{"photo_id":"1401302516","filename":"file2"},{"photo_id":"1401302519","filename":"file4"},{"photo_id":"1401302515","filename":"file1"},{"photo_id":"1401302514","filename":"file0"},{"photo_id":"1401302517","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302519":["hashtag1","hashtag2"]},{"1401302516":["hashtag1","hashtag2"]},{"1401302515":["hashtag1","hashtag2"]},{"1401302529":["hashtag1","hashtag2"]},{"1401302514":["hashtag1","hashtag2"]},{"1401302517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302519, 1401302516, 1401302515, 1401302529, 1401302514, 1401302517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50158715248108 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:44:32.521581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_55_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_45_10775.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_34_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_25_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_31_04_9729.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_55_9663.jpg', '/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_45_10775.jpg', '/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_34_9661.jpg', '/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_25_9680.jpg', '/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_15_10657.jpg', '/home/nano/Desktop/images/10122025/09/30/image_10122025_09_31_04_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_55_9663.jpg
/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_45_10775.jpg
/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_34_9661.jpg
/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_25_9680.jpg
/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_15_10657.jpg
/home/nano/Desktop/images/10122025/09/30/image_10122025_09_31_04_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401302723","1401302732","1401302728","1401302730","1401302724","1401302721"],"photo_ids_order":["1401302721","1401302723","1401302724","1401302728","1401302730","1401302732"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a042323a3753081b0dba0f546b70a9f1.jpg","text":"TemporaryFile(/tmp/multipartBody8403368746504919859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857533344,"filename":"image_10122025_09_31_45_10775.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/150595fd84ce27c2bf47fbf223b7bc0a.jpg","text":"TemporaryFile(/tmp/multipartBody7171560309578132023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857533344,"filename":"image_10122025_09_31_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c725f00e92e5932a9cf16bda481f254.jpg","text":"TemporaryFile(/tmp/multipartBody8784791725306235989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857533344,"filename":"image_10122025_09_31_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/165bf112fc196d76578d67771e65f0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6639583633267896005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857533344,"filename":"image_10122025_09_31_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c460bfba4739ea04ec3e84d2a5950a0.jpg","text":"TemporaryFile(/tmp/multipartBody5105737823856147685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857533344,"filename":"image_10122025_09_31_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/12/27/ae62a1251d95bd930369424ccc2dc35f.jpg","text":"TemporaryFile(/tmp/multipartBody7099882867170243784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857533344,"filename":"image_10122025_09_31_55_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302724","file1":"1401302723","file0":"1401302721","file4":"1401302730","file5":"1401302732","file3":"1401302728"},"map_files_photo_id_array":[{"photo_id":"1401302732","filename":"file5"},{"photo_id":"1401302724","filename":"file2"},{"photo_id":"1401302730","filename":"file4"},{"photo_id":"1401302723","filename":"file1"},{"photo_id":"1401302721","filename":"file0"},{"photo_id":"1401302728","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302723":["hashtag1","hashtag2"]},{"1401302732":["hashtag1","hashtag2"]},{"1401302728":["hashtag1","hashtag2"]},{"1401302730":["hashtag1","hashtag2"]},{"1401302724":["hashtag1","hashtag2"]},{"1401302721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302723, 1401302732, 1401302728, 1401302730, 1401302724, 1401302721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.051098585128784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:45:17.620392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_54_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_45_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_25_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_30_04_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_54_9668.jpg', '/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_45_10677.jpg', '/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_34_9605.jpg', '/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_25_9639.jpg', '/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_15_10620.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_30_04_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_54_9668.jpg
/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_45_10677.jpg
/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_34_9605.jpg
/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_25_9639.jpg
/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_15_10620.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_30_04_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":["1401302837","1401302857","1401302839","1401302824","1401302835","1401302832"],"photo_ids_order":["1401302824","1401302832","1401302835","1401302837","1401302839","1401302857"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a27a8b4c235b3d79498e840206520d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8821358776616951555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857578450,"filename":"image_10122025_09_30_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1124e48b866488c3cc1212a782a6b57.jpg","text":"TemporaryFile(/tmp/multipartBody778759606980673662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857578450,"filename":"image_10122025_09_30_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/12/27/d2f54eb10555f3359360f9d9f330abca.jpg","text":"TemporaryFile(/tmp/multipartBody5783005779553731430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857578450,"filename":"image_10122025_09_30_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a839581e87645b62f3060c06f7411736.jpg","text":"TemporaryFile(/tmp/multipartBody6039477375456049687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857578450,"filename":"image_10122025_09_30_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/12/27/58634847e91c37b4f629256db3accf80.jpg","text":"TemporaryFile(/tmp/multipartBody8084828429061149697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857578450,"filename":"image_10122025_09_30_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/12/27/e8af1936f74b91e39d85b75f2558b8a1.jpg","text":"TemporaryFile(/tmp/multipartBody8521684509977388158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857578450,"filename":"image_10122025_09_30_45_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302835","file1":"1401302832","file0":"1401302824","file4":"1401302839","file5":"1401302857","file3":"1401302837"},"map_files_photo_id_array":[{"photo_id":"1401302857","filename":"file5"},{"photo_id":"1401302835","filename":"file2"},{"photo_id":"1401302839","filename":"file4"},{"photo_id":"1401302832","filename":"file1"},{"photo_id":"1401302824","filename":"file0"},{"photo_id":"1401302837","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302837":["hashtag1","hashtag2"]},{"1401302857":["hashtag1","hashtag2"]},{"1401302839":["hashtag1","hashtag2"]},{"1401302824":["hashtag1","hashtag2"]},{"1401302835":["hashtag1","hashtag2"]},{"1401302832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302837, 1401302857, 1401302839, 1401302824, 1401302835, 1401302832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67315745353699 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:46:03.261130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg', '/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg
/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_9613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7247283458709717 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:46:17.709744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg', '/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg', '/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg
/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg
/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_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":["1401302903","1401302912","1401302906","1401302914","1401302908","1401302910"],"photo_ids_order":["1401302903","1401302906","1401302908","1401302910","1401302912","1401302914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/866a4069e53c0951d3f25b280862b4aa.jpg","text":"TemporaryFile(/tmp/multipartBody9131098524165026243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857638514,"filename":"image_10122025_09_29_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44ce0f1f934056318b3e4ade21d8aca4.jpg","text":"TemporaryFile(/tmp/multipartBody2229731348995259451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857638514,"filename":"image_10122025_09_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/12/27/0c8e636072c11119cacd527e2b6cdb4a.jpg","text":"TemporaryFile(/tmp/multipartBody445167208221503009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857638514,"filename":"image_10122025_09_29_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a49b7fdc2c3397e2630dfe87f945974e.jpg","text":"TemporaryFile(/tmp/multipartBody6377890173040267921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857638514,"filename":"image_10122025_09_29_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4658ed85623010ac5c527d11392e892.jpg","text":"TemporaryFile(/tmp/multipartBody832533618491479957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857638514,"filename":"image_10122025_09_29_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/12/27/7e6905f73452471e38df58534c91702a.jpg","text":"TemporaryFile(/tmp/multipartBody3018671986295692935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857638514,"filename":"image_10122025_09_29_25_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302908","file1":"1401302906","file0":"1401302903","file4":"1401302912","file5":"1401302914","file3":"1401302910"},"map_files_photo_id_array":[{"photo_id":"1401302914","filename":"file5"},{"photo_id":"1401302908","filename":"file2"},{"photo_id":"1401302912","filename":"file4"},{"photo_id":"1401302906","filename":"file1"},{"photo_id":"1401302903","filename":"file0"},{"photo_id":"1401302910","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302903":["hashtag1","hashtag2"]},{"1401302912":["hashtag1","hashtag2"]},{"1401302906":["hashtag1","hashtag2"]},{"1401302914":["hashtag1","hashtag2"]},{"1401302908":["hashtag1","hashtag2"]},{"1401302910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302903, 1401302912, 1401302906, 1401302914, 1401302908, 1401302910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.165592193603516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:47:02.312844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_55_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_28_05_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_55_10622.jpg', '/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_44_9609.jpg', '/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_35_10609.jpg', '/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_24_9592.jpg', '/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_15_9620.jpg', '/home/nano/Desktop/images/10122025/09/27/image_10122025_09_28_05_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_55_10622.jpg
/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_44_9609.jpg
/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_35_10609.jpg
/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_24_9592.jpg
/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_15_9620.jpg
/home/nano/Desktop/images/10122025/09/27/image_10122025_09_28_05_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":["1401302924","1401302918","1401302926","1401302920","1401302922","1401302928"],"photo_ids_order":["1401302918","1401302920","1401302922","1401302924","1401302926","1401302928"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9885d44441ea41304d282f850c8c62ff.jpg","text":"TemporaryFile(/tmp/multipartBody4546571450948084056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857683146,"filename":"image_10122025_09_28_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/12/27/a3db68e765519675132810c417805d5c.jpg","text":"TemporaryFile(/tmp/multipartBody533916052013752624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857683146,"filename":"image_10122025_09_28_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3bb67bd9f2b88bd5c341e31c190cb12e.jpg","text":"TemporaryFile(/tmp/multipartBody717840690231960076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857683146,"filename":"image_10122025_09_28_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1073a02fca9da7c2678ba2a05737502.jpg","text":"TemporaryFile(/tmp/multipartBody4156085226876046289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857683146,"filename":"image_10122025_09_28_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/12/27/6e81e03eaef86800cbfabee9cd815352.jpg","text":"TemporaryFile(/tmp/multipartBody5438222959133904308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857683146,"filename":"image_10122025_09_28_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4db782367829e9b0eb8a491f8c81e745.jpg","text":"TemporaryFile(/tmp/multipartBody8487384778227478273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857683146,"filename":"image_10122025_09_28_05_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302922","file1":"1401302920","file0":"1401302918","file4":"1401302926","file5":"1401302928","file3":"1401302924"},"map_files_photo_id_array":[{"photo_id":"1401302928","filename":"file5"},{"photo_id":"1401302922","filename":"file2"},{"photo_id":"1401302926","filename":"file4"},{"photo_id":"1401302920","filename":"file1"},{"photo_id":"1401302918","filename":"file0"},{"photo_id":"1401302924","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302924":["hashtag1","hashtag2"]},{"1401302918":["hashtag1","hashtag2"]},{"1401302926":["hashtag1","hashtag2"]},{"1401302920":["hashtag1","hashtag2"]},{"1401302922":["hashtag1","hashtag2"]},{"1401302928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302924, 1401302918, 1401302926, 1401302920, 1401302922, 1401302928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42536640167236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:47:46.870686
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_45_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_34_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_25_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_27_04_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_54_9596.jpg', '/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_45_10601.jpg', '/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_34_9594.jpg', '/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_25_9592.jpg', '/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_15_10615.jpg', '/home/nano/Desktop/images/10122025/09/26/image_10122025_09_27_04_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_54_9596.jpg
/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_45_10601.jpg
/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_34_9594.jpg
/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_25_9592.jpg
/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_15_10615.jpg
/home/nano/Desktop/images/10122025/09/26/image_10122025_09_27_04_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":["1401302945","1401302942","1401302941","1401302944","1401302947","1401302943"],"photo_ids_order":["1401302941","1401302942","1401302943","1401302944","1401302945","1401302947"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58e13e275ab3110b13db975411ac8915.jpg","text":"TemporaryFile(/tmp/multipartBody7104192468947715277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857727664,"filename":"image_10122025_09_27_15_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8f63622d050f980c632794dacdff98d.jpg","text":"TemporaryFile(/tmp/multipartBody6314783724673660883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857727664,"filename":"image_10122025_09_27_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac7ca19a731238e008651793e8385e1f.jpg","text":"TemporaryFile(/tmp/multipartBody776128485834971207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857727664,"filename":"image_10122025_09_27_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/12/27/723586e9251d28b2031908cdb8f5d208.jpg","text":"TemporaryFile(/tmp/multipartBody7859936569305260320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857727664,"filename":"image_10122025_09_27_25_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd605c380d1e465a222c3fac7306d5da.jpg","text":"TemporaryFile(/tmp/multipartBody2631323974802002281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857727664,"filename":"image_10122025_09_27_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/12/27/b5a651be525e348db051cd92a315de9f.jpg","text":"TemporaryFile(/tmp/multipartBody831771223428348435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857727664,"filename":"image_10122025_09_27_34_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302943","file1":"1401302942","file0":"1401302941","file4":"1401302945","file5":"1401302947","file3":"1401302944"},"map_files_photo_id_array":[{"photo_id":"1401302947","filename":"file5"},{"photo_id":"1401302943","filename":"file2"},{"photo_id":"1401302945","filename":"file4"},{"photo_id":"1401302942","filename":"file1"},{"photo_id":"1401302941","filename":"file0"},{"photo_id":"1401302944","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302945":["hashtag1","hashtag2"]},{"1401302942":["hashtag1","hashtag2"]},{"1401302941":["hashtag1","hashtag2"]},{"1401302944":["hashtag1","hashtag2"]},{"1401302947":["hashtag1","hashtag2"]},{"1401302943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302945, 1401302942, 1401302941, 1401302944, 1401302947, 1401302943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71687936782837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:48:31.943670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_44_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_26_05_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_55_10604.jpg', '/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_44_9590.jpg', '/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_35_9599.jpg', '/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_25_10608.jpg', '/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_14_9632.jpg', '/home/nano/Desktop/images/10122025/09/25/image_10122025_09_26_05_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_55_10604.jpg
/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_44_9590.jpg
/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_35_9599.jpg
/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_25_10608.jpg
/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_14_9632.jpg
/home/nano/Desktop/images/10122025/09/25/image_10122025_09_26_05_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":["1401302960","1401302962","1401302956","1401302965","1401302964","1401302958"],"photo_ids_order":["1401302956","1401302958","1401302960","1401302962","1401302964","1401302965"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c36b2a15c8ed745f2451edc1db3dd1a.jpg","text":"TemporaryFile(/tmp/multipartBody1680726646670631255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857772725,"filename":"image_10122025_09_26_35_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef321f2ce7547c4fd36a8540abdf2faa.jpg","text":"TemporaryFile(/tmp/multipartBody971308294475338209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857772725,"filename":"image_10122025_09_26_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7363b41b46dcf283e2559cd9d21209e0.jpg","text":"TemporaryFile(/tmp/multipartBody775852736549008866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857772725,"filename":"image_10122025_09_26_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1acbf68ceaa26e4b4270db876f32614f.jpg","text":"TemporaryFile(/tmp/multipartBody1244406017881960853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857772725,"filename":"image_10122025_09_26_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aaa59f5f491d6e2cb7d8b9ab8d0f351f.jpg","text":"TemporaryFile(/tmp/multipartBody7999150728229805764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857772725,"filename":"image_10122025_09_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/12/27/47b0d69cbd6312f77ba038dbfb6e495f.jpg","text":"TemporaryFile(/tmp/multipartBody3266337879568598246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857772725,"filename":"image_10122025_09_26_44_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302960","file1":"1401302958","file0":"1401302956","file4":"1401302964","file5":"1401302965","file3":"1401302962"},"map_files_photo_id_array":[{"photo_id":"1401302965","filename":"file5"},{"photo_id":"1401302960","filename":"file2"},{"photo_id":"1401302964","filename":"file4"},{"photo_id":"1401302958","filename":"file1"},{"photo_id":"1401302956","filename":"file0"},{"photo_id":"1401302962","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302960":["hashtag1","hashtag2"]},{"1401302962":["hashtag1","hashtag2"]},{"1401302956":["hashtag1","hashtag2"]},{"1401302965":["hashtag1","hashtag2"]},{"1401302964":["hashtag1","hashtag2"]},{"1401302958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302960, 1401302962, 1401302956, 1401302965, 1401302964, 1401302958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.912649631500244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:49:17.143606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_55_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_25_05_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_55_10602.jpg', '/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_44_9600.jpg', '/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_35_10615.jpg', '/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_24_9599.jpg', '/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_15_9608.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_25_05_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_55_10602.jpg
/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_44_9600.jpg
/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_35_10615.jpg
/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_24_9599.jpg
/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_15_9608.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_25_05_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":["1401302969","1401302974","1401302977","1401302971","1401302979","1401302981"],"photo_ids_order":["1401302969","1401302971","1401302974","1401302977","1401302979","1401302981"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3378750fcd17ee41d0235e2d20b7b476.jpg","text":"TemporaryFile(/tmp/multipartBody3469553979818919330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857817970,"filename":"image_10122025_09_25_55_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/946b3470c16a6974c5011039e25ecfa0.jpg","text":"TemporaryFile(/tmp/multipartBody8340315568789995592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857817970,"filename":"image_10122025_09_25_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15a87f59454d22d0dca84d72ba3a87cd.jpg","text":"TemporaryFile(/tmp/multipartBody17022572124997248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857817970,"filename":"image_10122025_09_25_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/12/27/9e3f7e6544f5f402eb95fb78460015a1.jpg","text":"TemporaryFile(/tmp/multipartBody702978569801477732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857817970,"filename":"image_10122025_09_25_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/12/27/3747febb6c8f3cdbbc1d9088e293385e.jpg","text":"TemporaryFile(/tmp/multipartBody517455970830758336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857817970,"filename":"image_10122025_09_25_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/348bf6519ff7383023cc4fe593846b05.jpg","text":"TemporaryFile(/tmp/multipartBody3261059030868494702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857817970,"filename":"image_10122025_09_25_05_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401302974","file1":"1401302971","file0":"1401302969","file4":"1401302979","file5":"1401302981","file3":"1401302977"},"map_files_photo_id_array":[{"photo_id":"1401302981","filename":"file5"},{"photo_id":"1401302974","filename":"file2"},{"photo_id":"1401302979","filename":"file4"},{"photo_id":"1401302971","filename":"file1"},{"photo_id":"1401302969","filename":"file0"},{"photo_id":"1401302977","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302969":["hashtag1","hashtag2"]},{"1401302974":["hashtag1","hashtag2"]},{"1401302977":["hashtag1","hashtag2"]},{"1401302971":["hashtag1","hashtag2"]},{"1401302979":["hashtag1","hashtag2"]},{"1401302981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302969, 1401302974, 1401302977, 1401302971, 1401302979, 1401302981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40447545051575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:50:02.700504
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/18/50/image_27122025_18_50_44_10524.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/18/50/image_27122025_18_50_44_10524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/18/50/image_27122025_18_50_44_10524.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401302985"],"photo_id":"1401302985","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85b24eeb8e037b8d1814801dd8dcd4da.jpg","text":"TemporaryFile(/tmp/multipartBody1390858544660947348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857862953,"filename":"image_27122025_18_50_44_10524.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401302985"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401302985"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.101742267608643 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:50:17.182803
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg', '/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg
/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_9609.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6828763484954834 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:50:32.195282
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg', '/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg', '/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg
/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg
/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_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":["1401302999","1401303010","1401303007","1401303001","1401303003","1401303009"],"photo_ids_order":["1401302999","1401303001","1401303003","1401303007","1401303009","1401303010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a547b2b978a2d8e8196000375ea92c2.jpg","text":"TemporaryFile(/tmp/multipartBody732970520191631769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857892972,"filename":"image_10122025_09_24_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/12/27/9229c284e74f3eff47a4d5734b340fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8230199595775940681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857892972,"filename":"image_10122025_09_24_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/12/27/f62de554689d175ce46c3322b054c88a.jpg","text":"TemporaryFile(/tmp/multipartBody2668991885751971503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857892972,"filename":"image_10122025_09_24_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e615fa959fdda938443f3fdf3a2c3a30.jpg","text":"TemporaryFile(/tmp/multipartBody6851669137360806497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857892972,"filename":"image_10122025_09_24_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e589f47e799314311e63e6decb578ce.jpg","text":"TemporaryFile(/tmp/multipartBody6743636478296106135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857892972,"filename":"image_10122025_09_24_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/12/27/00b9a5fa9080aa464272006bee148413.jpg","text":"TemporaryFile(/tmp/multipartBody3019305102991646192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857892972,"filename":"image_10122025_09_24_15_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303003","file1":"1401303001","file0":"1401302999","file4":"1401303009","file5":"1401303010","file3":"1401303007"},"map_files_photo_id_array":[{"photo_id":"1401303010","filename":"file5"},{"photo_id":"1401303003","filename":"file2"},{"photo_id":"1401303009","filename":"file4"},{"photo_id":"1401303001","filename":"file1"},{"photo_id":"1401302999","filename":"file0"},{"photo_id":"1401303007","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401302999":["hashtag1","hashtag2"]},{"1401303010":["hashtag1","hashtag2"]},{"1401303007":["hashtag1","hashtag2"]},{"1401303001":["hashtag1","hashtag2"]},{"1401303003":["hashtag1","hashtag2"]},{"1401303009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401302999, 1401303010, 1401303007, 1401303001, 1401303003, 1401303009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.88913655281067 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:51:17.282380
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_44_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_35_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_45_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_55_10604.jpg', '/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_44_9595.jpg', '/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_35_9589.jpg', '/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_25_10605.jpg', '/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_54_9596.jpg', '/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_45_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_55_10604.jpg
/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_44_9595.jpg
/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_35_9589.jpg
/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_25_10605.jpg
/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_54_9596.jpg
/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_45_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":["1401303023","1401303017","1401303025","1401303019","1401303021","1401303015"],"photo_ids_order":["1401303015","1401303017","1401303019","1401303021","1401303023","1401303025"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2df6bf722cb47be57cd802cfdea9c331.jpg","text":"TemporaryFile(/tmp/multipartBody7115748336702975788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857938069,"filename":"image_10122025_09_22_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/12/27/636ae0e0c9a118139f186e7c3da67bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6537232351822735214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857938069,"filename":"image_10122025_09_23_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/12/27/b38bc1a6273e70e363d79ee85c89fb2a.jpg","text":"TemporaryFile(/tmp/multipartBody8548549894530335875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857938069,"filename":"image_10122025_09_22_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3528d951fa8017099e632edab9c43178.jpg","text":"TemporaryFile(/tmp/multipartBody6833358509801573543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857938069,"filename":"image_10122025_09_23_35_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4db713b80945daab79599fde798003c7.jpg","text":"TemporaryFile(/tmp/multipartBody4056318593344800721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857938069,"filename":"image_10122025_09_23_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/194cb3f30f893cb68305ea4bf6cae181.jpg","text":"TemporaryFile(/tmp/multipartBody5723898351878142580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857938069,"filename":"image_10122025_09_23_55_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303019","file1":"1401303017","file0":"1401303015","file4":"1401303023","file5":"1401303025","file3":"1401303021"},"map_files_photo_id_array":[{"photo_id":"1401303025","filename":"file5"},{"photo_id":"1401303019","filename":"file2"},{"photo_id":"1401303023","filename":"file4"},{"photo_id":"1401303017","filename":"file1"},{"photo_id":"1401303015","filename":"file0"},{"photo_id":"1401303021","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303023":["hashtag1","hashtag2"]},{"1401303017":["hashtag1","hashtag2"]},{"1401303025":["hashtag1","hashtag2"]},{"1401303019":["hashtag1","hashtag2"]},{"1401303021":["hashtag1","hashtag2"]},{"1401303015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303023, 1401303017, 1401303025, 1401303019, 1401303021, 1401303015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.781593322753906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:52:03.065712
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_22_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_45_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_35_10607.jpg', '/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_24_9597.jpg', '/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_15_10620.jpg', '/home/nano/Desktop/images/10122025/09/21/image_10122025_09_22_04_9598.jpg', '/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_55_9610.jpg', '/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_45_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_35_10607.jpg
/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_24_9597.jpg
/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_15_10620.jpg
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_22_04_9598.jpg
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_55_9610.jpg
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_45_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":["1401303035","1401303038","1401303040","1401303042","1401303036","1401303045"],"photo_ids_order":["1401303035","1401303036","1401303038","1401303040","1401303042","1401303045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6675d406fc11e7d808adb3cf5b4c1966.jpg","text":"TemporaryFile(/tmp/multipartBody1496020390895402720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857983926,"filename":"image_10122025_09_22_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d613b0ae979792dc6ebdff5841c026bd.jpg","text":"TemporaryFile(/tmp/multipartBody7221464818757449467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857983926,"filename":"image_10122025_09_22_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9093c69b580503c091439ffcd83abf0.jpg","text":"TemporaryFile(/tmp/multipartBody2716692006210006426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857983926,"filename":"image_10122025_09_22_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b93dcd6aec19433570cd5ccef52a2ee.jpg","text":"TemporaryFile(/tmp/multipartBody7091220199693164021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857983926,"filename":"image_10122025_09_21_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/333dec36119c0bdf3a45f07ac36a78a9.jpg","text":"TemporaryFile(/tmp/multipartBody8055142373910564877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857983926,"filename":"image_10122025_09_22_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/12/27/2aa0f8ecc22b3aed817a427bec24af9b.jpg","text":"TemporaryFile(/tmp/multipartBody5776706472761921935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766857983926,"filename":"image_10122025_09_21_45_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303038","file1":"1401303036","file0":"1401303035","file4":"1401303042","file5":"1401303045","file3":"1401303040"},"map_files_photo_id_array":[{"photo_id":"1401303045","filename":"file5"},{"photo_id":"1401303038","filename":"file2"},{"photo_id":"1401303042","filename":"file4"},{"photo_id":"1401303036","filename":"file1"},{"photo_id":"1401303035","filename":"file0"},{"photo_id":"1401303040","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303035":["hashtag1","hashtag2"]},{"1401303038":["hashtag1","hashtag2"]},{"1401303040":["hashtag1","hashtag2"]},{"1401303042":["hashtag1","hashtag2"]},{"1401303036":["hashtag1","hashtag2"]},{"1401303045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303035, 1401303038, 1401303040, 1401303042, 1401303036, 1401303045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72131681442261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:52:47.363820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg', '/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg', '/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg', '/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg', '/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg', '/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_10614.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7124843597412109 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:53:03.220321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg', '/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg', '/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg', '/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg', '/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg', '/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg
/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_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":["1401303058","1401303060","1401303054","1401303057","1401303062","1401303065"],"photo_ids_order":["1401303054","1401303057","1401303058","1401303060","1401303062","1401303065"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eaa19402cb100bb50e7c518af0fadbff.jpg","text":"TemporaryFile(/tmp/multipartBody4782522547990995947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858044075,"filename":"image_10122025_09_21_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b530490906382d5569c2c0864076d43.jpg","text":"TemporaryFile(/tmp/multipartBody7172194385917525197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858044075,"filename":"image_10122025_09_21_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e88f89ffa24cece795c7f01e7a61bd3.jpg","text":"TemporaryFile(/tmp/multipartBody8369765799846259740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858044075,"filename":"image_10122025_09_21_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/12/27/1bd35c16068bd34efef05d917de871d8.jpg","text":"TemporaryFile(/tmp/multipartBody6161424350505586052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858044075,"filename":"image_10122025_09_21_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c260911123e34a37ca1c49b0664211c.jpg","text":"TemporaryFile(/tmp/multipartBody3478155768615567721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858044075,"filename":"image_10122025_09_20_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39f57a76bc2d8bf61b3ce536f67ba1c1.jpg","text":"TemporaryFile(/tmp/multipartBody2403035455338170967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858044075,"filename":"image_10122025_09_20_35_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303058","file1":"1401303057","file0":"1401303054","file4":"1401303062","file5":"1401303065","file3":"1401303060"},"map_files_photo_id_array":[{"photo_id":"1401303065","filename":"file5"},{"photo_id":"1401303058","filename":"file2"},{"photo_id":"1401303062","filename":"file4"},{"photo_id":"1401303057","filename":"file1"},{"photo_id":"1401303054","filename":"file0"},{"photo_id":"1401303060","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303058":["hashtag1","hashtag2"]},{"1401303060":["hashtag1","hashtag2"]},{"1401303054":["hashtag1","hashtag2"]},{"1401303057":["hashtag1","hashtag2"]},{"1401303062":["hashtag1","hashtag2"]},{"1401303065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303058, 1401303060, 1401303054, 1401303057, 1401303062, 1401303065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.486607551574707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:53:47.453949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_20_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_35_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_24_9607.jpg', '/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_14_9616.jpg', '/home/nano/Desktop/images/10122025/09/19/image_10122025_09_20_05_10626.jpg', '/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_54_9628.jpg', '/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_45_9612.jpg', '/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_35_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_24_9607.jpg
/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_14_9616.jpg
/home/nano/Desktop/images/10122025/09/19/image_10122025_09_20_05_10626.jpg
/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_54_9628.jpg
/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_45_9612.jpg
/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_35_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":["1401303074","1401303073","1401303076","1401303079","1401303078","1401303075"],"photo_ids_order":["1401303073","1401303074","1401303075","1401303076","1401303078","1401303079"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c096534024b685f983d8707f0de3071.jpg","text":"TemporaryFile(/tmp/multipartBody7638100366975258258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858088250,"filename":"image_10122025_09_20_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/12/27/de6bf6e374f33dee9264416d5b9d36e4.jpg","text":"TemporaryFile(/tmp/multipartBody4451270994947054449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858088250,"filename":"image_10122025_09_20_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/12/27/678c3c8ea665209512f7acd2027b4c55.jpg","text":"TemporaryFile(/tmp/multipartBody3796572875975549340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858088250,"filename":"image_10122025_09_19_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/12/27/c2833cdc5f3bc91d16eaccd5ea63b709.jpg","text":"TemporaryFile(/tmp/multipartBody6794865745628044862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858088250,"filename":"image_10122025_09_19_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01c4d12b626861b7c1464de29987732c.jpg","text":"TemporaryFile(/tmp/multipartBody888577557104863014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858088250,"filename":"image_10122025_09_19_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ac3ec05f60fbbeec42d94f4a0e1e6ac.jpg","text":"TemporaryFile(/tmp/multipartBody4283296048958413711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858088250,"filename":"image_10122025_09_20_05_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303075","file1":"1401303074","file0":"1401303073","file4":"1401303078","file5":"1401303079","file3":"1401303076"},"map_files_photo_id_array":[{"photo_id":"1401303079","filename":"file5"},{"photo_id":"1401303075","filename":"file2"},{"photo_id":"1401303078","filename":"file4"},{"photo_id":"1401303074","filename":"file1"},{"photo_id":"1401303073","filename":"file0"},{"photo_id":"1401303076","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303074":["hashtag1","hashtag2"]},{"1401303073":["hashtag1","hashtag2"]},{"1401303076":["hashtag1","hashtag2"]},{"1401303079":["hashtag1","hashtag2"]},{"1401303078":["hashtag1","hashtag2"]},{"1401303075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303074, 1401303073, 1401303076, 1401303079, 1401303078, 1401303075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.652189254760742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:54:32.575286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_19_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_54_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_34_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_24_9619.jpg', '/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_15_10655.jpg', '/home/nano/Desktop/images/10122025/09/18/image_10122025_09_19_04_9636.jpg', '/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_54_9644.jpg', '/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_45_10607.jpg', '/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_34_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_24_9619.jpg
/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_15_10655.jpg
/home/nano/Desktop/images/10122025/09/18/image_10122025_09_19_04_9636.jpg
/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_54_9644.jpg
/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_45_10607.jpg
/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_34_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":["1401303094","1401303088","1401303096","1401303090","1401303092","1401303095"],"photo_ids_order":["1401303088","1401303090","1401303092","1401303094","1401303095","1401303096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47606a9615b01244d4dcf2ad909f71b6.jpg","text":"TemporaryFile(/tmp/multipartBody6789315115066122516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858133391,"filename":"image_10122025_09_18_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/12/27/4876036474807c8173b7f55e0c15cdab.jpg","text":"TemporaryFile(/tmp/multipartBody6900360675643636461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858133391,"filename":"image_10122025_09_19_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/12/27/defadb57424364038b6224bf586cb207.jpg","text":"TemporaryFile(/tmp/multipartBody8632590049903912494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858133391,"filename":"image_10122025_09_18_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/12/27/94a463b06ca14daabdc51ba59d6d1975.jpg","text":"TemporaryFile(/tmp/multipartBody9038651127783629917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858133391,"filename":"image_10122025_09_19_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bdc7ae1006e486b9d3f02f5c133a000b.jpg","text":"TemporaryFile(/tmp/multipartBody6108839039383098319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858133391,"filename":"image_10122025_09_19_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/12/27/da801df9261e1efd1e0b68bb064d26a6.jpg","text":"TemporaryFile(/tmp/multipartBody3161186508928884247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858133391,"filename":"image_10122025_09_18_45_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303092","file1":"1401303090","file0":"1401303088","file4":"1401303095","file5":"1401303096","file3":"1401303094"},"map_files_photo_id_array":[{"photo_id":"1401303096","filename":"file5"},{"photo_id":"1401303092","filename":"file2"},{"photo_id":"1401303095","filename":"file4"},{"photo_id":"1401303090","filename":"file1"},{"photo_id":"1401303088","filename":"file0"},{"photo_id":"1401303094","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303094":["hashtag1","hashtag2"]},{"1401303088":["hashtag1","hashtag2"]},{"1401303096":["hashtag1","hashtag2"]},{"1401303090":["hashtag1","hashtag2"]},{"1401303092":["hashtag1","hashtag2"]},{"1401303095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303094, 1401303088, 1401303096, 1401303090, 1401303092, 1401303095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30806303024292 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:55:17.665733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_25_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_18_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_55_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_34_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_25_9631.jpg', '/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_15_10637.jpg', '/home/nano/Desktop/images/10122025/09/17/image_10122025_09_18_04_9627.jpg', '/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_55_9723.jpg', '/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_45_10614.jpg', '/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_25_9631.jpg
/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_15_10637.jpg
/home/nano/Desktop/images/10122025/09/17/image_10122025_09_18_04_9627.jpg
/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_55_9723.jpg
/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_45_10614.jpg
/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_34_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":["1401303107","1401303101","1401303103","1401303109","1401303111","1401303105"],"photo_ids_order":["1401303101","1401303103","1401303105","1401303107","1401303109","1401303111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fcb3897fa2fb409658d3e98c6b5be99.jpg","text":"TemporaryFile(/tmp/multipartBody6011406746490631885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858178488,"filename":"image_10122025_09_17_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4abe820e4505b2ea41f8f54097face85.jpg","text":"TemporaryFile(/tmp/multipartBody7221710347720816770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858178488,"filename":"image_10122025_09_18_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e820f93969f7d8dbd046d161df4543eb.jpg","text":"TemporaryFile(/tmp/multipartBody7350624257139611027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858178488,"filename":"image_10122025_09_18_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/92266ce4fdaa170f1323d88509de53f1.jpg","text":"TemporaryFile(/tmp/multipartBody4451940245969362210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858178488,"filename":"image_10122025_09_17_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ed6a21ed2c02049e23898351be39132.jpg","text":"TemporaryFile(/tmp/multipartBody5288356847678527761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858178488,"filename":"image_10122025_09_17_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/12/27/1d30db55a1e495db34f1dab93d773fd6.jpg","text":"TemporaryFile(/tmp/multipartBody680151578609772214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858178488,"filename":"image_10122025_09_18_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303105","file1":"1401303103","file0":"1401303101","file4":"1401303109","file5":"1401303111","file3":"1401303107"},"map_files_photo_id_array":[{"photo_id":"1401303111","filename":"file5"},{"photo_id":"1401303105","filename":"file2"},{"photo_id":"1401303109","filename":"file4"},{"photo_id":"1401303103","filename":"file1"},{"photo_id":"1401303101","filename":"file0"},{"photo_id":"1401303107","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303107":["hashtag1","hashtag2"]},{"1401303101":["hashtag1","hashtag2"]},{"1401303103":["hashtag1","hashtag2"]},{"1401303109":["hashtag1","hashtag2"]},{"1401303111":["hashtag1","hashtag2"]},{"1401303105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303107, 1401303101, 1401303103, 1401303109, 1401303111, 1401303105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07727122306824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:56:03.201522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.783930778503418 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:56:17.758213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg', '/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401303131","1401303125","1401303128","1401303133","1401303135","1401303123"],"photo_ids_order":["1401303123","1401303125","1401303128","1401303131","1401303133","1401303135"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/caee66ef8861625b4b421457baffb392.jpg","text":"TemporaryFile(/tmp/multipartBody843265254872288029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858238562,"filename":"image_10122025_09_16_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/12/27/0c3a6a8ec6ab32df94351fe63a672a00.jpg","text":"TemporaryFile(/tmp/multipartBody4451487522480677133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858238562,"filename":"image_10122025_09_17_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/12/27/e52ceb34ee6b173b46ed6c7da2fafec1.jpg","text":"TemporaryFile(/tmp/multipartBody5728256661087935772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858238562,"filename":"image_10122025_09_16_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa4abd13de4f27e04156e29ff5e7ff47.jpg","text":"TemporaryFile(/tmp/multipartBody292177301961023369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858238562,"filename":"image_10122025_09_16_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15c8e1ef3431d4ee3b9834e1a98d8ae1.jpg","text":"TemporaryFile(/tmp/multipartBody5069790411716410952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858238562,"filename":"image_10122025_09_16_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/209f8bb382544a1fc648b3facd391575.jpg","text":"TemporaryFile(/tmp/multipartBody1650497513536091004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858238562,"filename":"image_10122025_09_17_15_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303128","file1":"1401303125","file0":"1401303123","file4":"1401303133","file5":"1401303135","file3":"1401303131"},"map_files_photo_id_array":[{"photo_id":"1401303135","filename":"file5"},{"photo_id":"1401303128","filename":"file2"},{"photo_id":"1401303133","filename":"file4"},{"photo_id":"1401303125","filename":"file1"},{"photo_id":"1401303123","filename":"file0"},{"photo_id":"1401303131","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303131":["hashtag1","hashtag2"]},{"1401303125":["hashtag1","hashtag2"]},{"1401303128":["hashtag1","hashtag2"]},{"1401303133":["hashtag1","hashtag2"]},{"1401303135":["hashtag1","hashtag2"]},{"1401303123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303131, 1401303125, 1401303128, 1401303133, 1401303135, 1401303123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.812238454818726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:57:02.599917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_15_10786.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_16_04_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_55_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_24_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_15_10786.jpg', '/home/nano/Desktop/images/10122025/09/15/image_10122025_09_16_04_9774.jpg', '/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_55_9644.jpg', '/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_45_10723.jpg', '/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_34_9697.jpg', '/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_24_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_15_10786.jpg
/home/nano/Desktop/images/10122025/09/15/image_10122025_09_16_04_9774.jpg
/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_55_9644.jpg
/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_45_10723.jpg
/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_34_9697.jpg
/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_24_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":["1401303146","1401303149","1401303140","1401303142","1401303139","1401303144"],"photo_ids_order":["1401303139","1401303140","1401303142","1401303144","1401303146","1401303149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c9cd9102451ecd6db83da1d8f8d0943.jpg","text":"TemporaryFile(/tmp/multipartBody998781550276821782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858283531,"filename":"image_10122025_09_15_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a973c8e8a9f08244075a5e0fe5aabfd7.jpg","text":"TemporaryFile(/tmp/multipartBody4966141133125662509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858283531,"filename":"image_10122025_09_15_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/12/27/e54059abd7e9c474ddbb8db0d691ecfc.jpg","text":"TemporaryFile(/tmp/multipartBody6169529592309294302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858283531,"filename":"image_10122025_09_16_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/12/27/6782a05c44f4372ec4bd015f8a4435a9.jpg","text":"TemporaryFile(/tmp/multipartBody1020534117654285980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858283531,"filename":"image_10122025_09_15_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33a915fa4fcb287269e3bdf368d0e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1152792435427249990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858283531,"filename":"image_10122025_09_16_15_10786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b348ccbd61ab90b3794d3d67a9a001d.jpg","text":"TemporaryFile(/tmp/multipartBody8158282115542375687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858283531,"filename":"image_10122025_09_15_45_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303142","file1":"1401303140","file0":"1401303139","file4":"1401303146","file5":"1401303149","file3":"1401303144"},"map_files_photo_id_array":[{"photo_id":"1401303149","filename":"file5"},{"photo_id":"1401303142","filename":"file2"},{"photo_id":"1401303146","filename":"file4"},{"photo_id":"1401303140","filename":"file1"},{"photo_id":"1401303139","filename":"file0"},{"photo_id":"1401303144","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303146":["hashtag1","hashtag2"]},{"1401303149":["hashtag1","hashtag2"]},{"1401303140":["hashtag1","hashtag2"]},{"1401303142":["hashtag1","hashtag2"]},{"1401303139":["hashtag1","hashtag2"]},{"1401303144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303146, 1401303149, 1401303140, 1401303142, 1401303139, 1401303144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15474486351013 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:57:46.951387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:58:02.591559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg', '/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401303160","1401303163","1401303195","1401303165","1401303162","1401303164"],"photo_ids_order":["1401303160","1401303162","1401303163","1401303164","1401303165","1401303195"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9723c348e2d3a68476c689b033258b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2503524635037399774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858343434,"filename":"image_10122025_09_15_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/500afc829b3f8c2475b88d83df33383d.jpg","text":"TemporaryFile(/tmp/multipartBody3282567987280806157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858343434,"filename":"image_10122025_09_14_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e06e251326528d0c3b25ba669f99914b.jpg","text":"TemporaryFile(/tmp/multipartBody2627360149092330417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858343434,"filename":"image_10122025_09_14_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fda93b6e4ab0825bfe97e5b808c8bcec.jpg","text":"TemporaryFile(/tmp/multipartBody9180657780829250287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858343434,"filename":"image_10122025_09_14_35_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9094e415ea9ff676b2b27e701d96198.jpg","text":"TemporaryFile(/tmp/multipartBody133041977278498484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858343434,"filename":"image_10122025_09_15_05_10762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be7852a85ce14db77072595905d60bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8227357009832356389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858343434,"filename":"image_10122025_09_14_45_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303163","file1":"1401303162","file0":"1401303160","file4":"1401303165","file5":"1401303195","file3":"1401303164"},"map_files_photo_id_array":[{"photo_id":"1401303195","filename":"file5"},{"photo_id":"1401303163","filename":"file2"},{"photo_id":"1401303165","filename":"file4"},{"photo_id":"1401303162","filename":"file1"},{"photo_id":"1401303160","filename":"file0"},{"photo_id":"1401303164","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303160":["hashtag1","hashtag2"]},{"1401303163":["hashtag1","hashtag2"]},{"1401303195":["hashtag1","hashtag2"]},{"1401303165":["hashtag1","hashtag2"]},{"1401303162":["hashtag1","hashtag2"]},{"1401303164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303160, 1401303163, 1401303195, 1401303165, 1401303162, 1401303164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.947548151016235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:59:02.887238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_14_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_14_05_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_55_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_35_10700.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_24_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_14_9732.jpg', '/home/nano/Desktop/images/10122025/09/13/image_10122025_09_14_05_9682.jpg', '/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_55_10650.jpg', '/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_44_9616.jpg', '/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_35_10700.jpg', '/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_24_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_14_9732.jpg
/home/nano/Desktop/images/10122025/09/13/image_10122025_09_14_05_9682.jpg
/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_55_10650.jpg
/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_44_9616.jpg
/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_35_10700.jpg
/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_24_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401303777","1401303703","1401303627","1401303813","1401303743","1401303668"],"photo_ids_order":["1401303627","1401303668","1401303703","1401303743","1401303777","1401303813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12f6b742f86f74274b8b73c3af83ad47.jpg","text":"TemporaryFile(/tmp/multipartBody1526666775690918340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858403847,"filename":"image_10122025_09_13_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a78c571ee70a86d7de14a24c17607425.jpg","text":"TemporaryFile(/tmp/multipartBody1011404620318693593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858403847,"filename":"image_10122025_09_13_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca4fa426ee7f7566c9e2b4a658c3cad9.jpg","text":"TemporaryFile(/tmp/multipartBody1993331950576678183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858403847,"filename":"image_10122025_09_14_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f654e535e5c1384f3d3f1dc08a0fd53.jpg","text":"TemporaryFile(/tmp/multipartBody4581581173075089885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858403847,"filename":"image_10122025_09_13_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/12/27/aa7c62548800f14aeed1c9a9ce68bbe0.jpg","text":"TemporaryFile(/tmp/multipartBody20303528991665157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858403847,"filename":"image_10122025_09_13_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/12/27/3dc5026f29a7f5760221448f6e6ac2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4423855135996193522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858403847,"filename":"image_10122025_09_14_05_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401303703","file1":"1401303668","file0":"1401303627","file4":"1401303777","file5":"1401303813","file3":"1401303743"},"map_files_photo_id_array":[{"photo_id":"1401303813","filename":"file5"},{"photo_id":"1401303703","filename":"file2"},{"photo_id":"1401303777","filename":"file4"},{"photo_id":"1401303668","filename":"file1"},{"photo_id":"1401303627","filename":"file0"},{"photo_id":"1401303743","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401303777":["hashtag1","hashtag2"]},{"1401303703":["hashtag1","hashtag2"]},{"1401303627":["hashtag1","hashtag2"]},{"1401303813":["hashtag1","hashtag2"]},{"1401303743":["hashtag1","hashtag2"]},{"1401303668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401303777, 1401303703, 1401303627, 1401303813, 1401303743, 1401303668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81859731674194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 18:59:47.041557
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/18/59/image_27122025_18_59_54_9517.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/18/59/image_27122025_18_59_54_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/18/59/image_27122025_18_59_54_9517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401304012"],"photo_id":"1401304012","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3423cb0356bb45eabbdbc99297f9b791.jpg","text":"TemporaryFile(/tmp/multipartBody8324229302829349389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858447280,"filename":"image_27122025_18_59_54_9517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401304012"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401304012"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.660946130752563 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:00:02.610545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_14_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_13_05_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_55_10762.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_44_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_34_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_25_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_14_9730.jpg', '/home/nano/Desktop/images/10122025/09/12/image_10122025_09_13_05_9717.jpg', '/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_55_10762.jpg', '/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_44_9751.jpg', '/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_34_9748.jpg', '/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_25_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_14_9730.jpg
/home/nano/Desktop/images/10122025/09/12/image_10122025_09_13_05_9717.jpg
/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_55_10762.jpg
/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_44_9751.jpg
/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_34_9748.jpg
/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_25_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":["1401304300","1401304402","1401304368","1401304440","1401304335","1401304265"],"photo_ids_order":["1401304265","1401304300","1401304335","1401304368","1401304402","1401304440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/644a0e33209e65cf4aadcfc3a7eea316.jpg","text":"TemporaryFile(/tmp/multipartBody8461371099213606801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858463555,"filename":"image_10122025_09_13_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0dec94fbd914af082b05be81b2a1c14.jpg","text":"TemporaryFile(/tmp/multipartBody3876218660632493628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858463555,"filename":"image_10122025_09_12_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c92de671ea7ca9dc1990c679e57411f.jpg","text":"TemporaryFile(/tmp/multipartBody4392622925159819416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858463555,"filename":"image_10122025_09_12_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1e46ce7f73b7fc09adaa3203019e206.jpg","text":"TemporaryFile(/tmp/multipartBody2023457349877917142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858463555,"filename":"image_10122025_09_12_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5eb4947c24b7e9293bb281617429c524.jpg","text":"TemporaryFile(/tmp/multipartBody7019772634118725261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858463555,"filename":"image_10122025_09_12_55_10762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59938210b5abef9fb9210bd332945209.jpg","text":"TemporaryFile(/tmp/multipartBody7016086837377672373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858463555,"filename":"image_10122025_09_13_14_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401304335","file1":"1401304300","file0":"1401304265","file4":"1401304402","file5":"1401304440","file3":"1401304368"},"map_files_photo_id_array":[{"photo_id":"1401304440","filename":"file5"},{"photo_id":"1401304335","filename":"file2"},{"photo_id":"1401304402","filename":"file4"},{"photo_id":"1401304300","filename":"file1"},{"photo_id":"1401304265","filename":"file0"},{"photo_id":"1401304368","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401304300":["hashtag1","hashtag2"]},{"1401304402":["hashtag1","hashtag2"]},{"1401304368":["hashtag1","hashtag2"]},{"1401304440":["hashtag1","hashtag2"]},{"1401304335":["hashtag1","hashtag2"]},{"1401304265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401304300, 1401304402, 1401304368, 1401304440, 1401304335, 1401304265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81150794029236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:00:47.143336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_15_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_12_04_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_55_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_45_10711.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_25_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_15_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_15_10702.jpg', '/home/nano/Desktop/images/10122025/09/11/image_10122025_09_12_04_9678.jpg', '/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_55_9676.jpg', '/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_45_10711.jpg', '/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_25_9765.jpg', '/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_15_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_15_10702.jpg
/home/nano/Desktop/images/10122025/09/11/image_10122025_09_12_04_9678.jpg
/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_55_9676.jpg
/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_45_10711.jpg
/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_25_9765.jpg
/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_15_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":["1401304858","1401304966","1401305023","1401304794","1401304923","1401304757"],"photo_ids_order":["1401304757","1401304794","1401304858","1401304923","1401304966","1401305023"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5627731a42bb3f8bc01a3d6f2adb64d0.jpg","text":"TemporaryFile(/tmp/multipartBody754913360262412573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858507971,"filename":"image_10122025_09_11_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df4da7e05786ff33207f5be323aa8691.jpg","text":"TemporaryFile(/tmp/multipartBody3987557316392477552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858507971,"filename":"image_10122025_09_11_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b812b5704cb2022fa4e4d3846dc88d9.jpg","text":"TemporaryFile(/tmp/multipartBody5739490939503384858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858507971,"filename":"image_10122025_09_11_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab288a6ae45ea20b90c09acedabbfdb6.jpg","text":"TemporaryFile(/tmp/multipartBody9022345484166879397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858507971,"filename":"image_10122025_09_12_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/12/27/6b87706f55d091848baf54a4e3e036ec.jpg","text":"TemporaryFile(/tmp/multipartBody7857996873384093001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858507971,"filename":"image_10122025_09_11_45_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c78cfed9e9ab5daefba16b4293e6735d.jpg","text":"TemporaryFile(/tmp/multipartBody2626890145626501979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858507971,"filename":"image_10122025_09_12_15_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401304858","file1":"1401304794","file0":"1401304757","file4":"1401304966","file5":"1401305023","file3":"1401304923"},"map_files_photo_id_array":[{"photo_id":"1401305023","filename":"file5"},{"photo_id":"1401304858","filename":"file2"},{"photo_id":"1401304966","filename":"file4"},{"photo_id":"1401304794","filename":"file1"},{"photo_id":"1401304757","filename":"file0"},{"photo_id":"1401304923","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401304858":["hashtag1","hashtag2"]},{"1401304966":["hashtag1","hashtag2"]},{"1401305023":["hashtag1","hashtag2"]},{"1401304794":["hashtag1","hashtag2"]},{"1401304923":["hashtag1","hashtag2"]},{"1401304757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401304858, 1401304966, 1401305023, 1401304794, 1401304923, 1401304757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63196301460266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:01:32.238047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_11_05_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_54_9855.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_45_10028.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_25_10715.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_14_9763.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/10/image_10122025_09_11_05_10708.jpg', '/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_54_9855.jpg', '/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_45_10028.jpg', '/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_34_9670.jpg', '/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_25_10715.jpg', '/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_14_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/10/image_10122025_09_11_05_10708.jpg
/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_54_9855.jpg
/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_45_10028.jpg
/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_34_9670.jpg
/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_25_10715.jpg
/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_14_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401305119","1401305113","1401305116","1401305118","1401305115","1401305111"],"photo_ids_order":["1401305111","1401305113","1401305115","1401305116","1401305118","1401305119"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/650542e30ae076853fa521fd3c00876a.jpg","text":"TemporaryFile(/tmp/multipartBody4743714168191281606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858553083,"filename":"image_10122025_09_10_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4113a4865b42c2bf60353b4629dac259.jpg","text":"TemporaryFile(/tmp/multipartBody3859442097473008759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858553083,"filename":"image_10122025_09_10_54_9855.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b099d68c587a4b2fdee4cbcb718a00d8.jpg","text":"TemporaryFile(/tmp/multipartBody2297708769202309878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858553083,"filename":"image_10122025_09_10_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8459c8ebccde8b55d7958182e8e0a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3527451437868289439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858553083,"filename":"image_10122025_09_10_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32f685fe047423ecd7833431346580cf.jpg","text":"TemporaryFile(/tmp/multipartBody2631535771069523610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858553083,"filename":"image_10122025_09_10_45_10028.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc67d2754c26d46aa0299bcf9aee5210.jpg","text":"TemporaryFile(/tmp/multipartBody8256124996901939630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858553083,"filename":"image_10122025_09_11_05_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401305115","file1":"1401305113","file0":"1401305111","file4":"1401305118","file5":"1401305119","file3":"1401305116"},"map_files_photo_id_array":[{"photo_id":"1401305119","filename":"file5"},{"photo_id":"1401305115","filename":"file2"},{"photo_id":"1401305118","filename":"file4"},{"photo_id":"1401305113","filename":"file1"},{"photo_id":"1401305111","filename":"file0"},{"photo_id":"1401305116","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401305119":["hashtag1","hashtag2"]},{"1401305113":["hashtag1","hashtag2"]},{"1401305116":["hashtag1","hashtag2"]},{"1401305118":["hashtag1","hashtag2"]},{"1401305115":["hashtag1","hashtag2"]},{"1401305111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401305119, 1401305113, 1401305116, 1401305118, 1401305115, 1401305111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32393145561218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:02:17.456944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_10_04_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_55_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_45_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_34_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_25_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_15_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/09/image_10122025_09_10_04_9757.jpg', '/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_55_9735.jpg', '/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_45_10671.jpg', '/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_34_9637.jpg', '/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_25_9671.jpg', '/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_15_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/09/image_10122025_09_10_04_9757.jpg
/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_55_9735.jpg
/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_45_10671.jpg
/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_34_9637.jpg
/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_25_9671.jpg
/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_15_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":["1401305457","1401305391","1401305424","1401305357","1401305504","1401305318"],"photo_ids_order":["1401305318","1401305357","1401305391","1401305424","1401305457","1401305504"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc7654735dceadab99d44105b0bf7eed.jpg","text":"TemporaryFile(/tmp/multipartBody4786120843783917197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858598312,"filename":"image_10122025_09_09_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e20d36b654c3119fdfdeeb055cf670cc.jpg","text":"TemporaryFile(/tmp/multipartBody6917852761482815728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858598312,"filename":"image_10122025_09_09_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/829d6a28fdd74488aea054aef0f15667.jpg","text":"TemporaryFile(/tmp/multipartBody7960708089539041975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858598312,"filename":"image_10122025_09_09_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/12/27/3e8fafdb83895e3e97767af09a457df3.jpg","text":"TemporaryFile(/tmp/multipartBody7094403104963255084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858598312,"filename":"image_10122025_09_09_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3768664d13e3ba73b71d3d0a4a521b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1640459252117232576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858598312,"filename":"image_10122025_09_09_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53664b6a3820fe77f2b0852a7fe13864.jpg","text":"TemporaryFile(/tmp/multipartBody2138570410658858935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858598312,"filename":"image_10122025_09_10_04_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401305391","file1":"1401305357","file0":"1401305318","file4":"1401305457","file5":"1401305504","file3":"1401305424"},"map_files_photo_id_array":[{"photo_id":"1401305504","filename":"file5"},{"photo_id":"1401305391","filename":"file2"},{"photo_id":"1401305457","filename":"file4"},{"photo_id":"1401305357","filename":"file1"},{"photo_id":"1401305318","filename":"file0"},{"photo_id":"1401305424","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401305457":["hashtag1","hashtag2"]},{"1401305391":["hashtag1","hashtag2"]},{"1401305424":["hashtag1","hashtag2"]},{"1401305357":["hashtag1","hashtag2"]},{"1401305504":["hashtag1","hashtag2"]},{"1401305318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401305457, 1401305391, 1401305424, 1401305357, 1401305504, 1401305318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06403470039368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:03:03.262319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_45_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_34_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_25_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_15_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/08/image_10122025_09_09_04_9649.jpg', '/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_55_9605.jpg', '/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_45_10647.jpg', '/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_34_9631.jpg', '/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_25_9637.jpg', '/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_15_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/08/image_10122025_09_09_04_9649.jpg
/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_55_9605.jpg
/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_45_10647.jpg
/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_34_9631.jpg
/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_25_9637.jpg
/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_15_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":["1401305691","1401305688","1401305682","1401305684","1401305681","1401305686"],"photo_ids_order":["1401305681","1401305682","1401305684","1401305686","1401305688","1401305691"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11f98f151f9390007c88bcd412175614.jpg","text":"TemporaryFile(/tmp/multipartBody4975009763749543183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858644144,"filename":"image_10122025_09_08_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47adc0ab85d47af71b9c2ac274644b72.jpg","text":"TemporaryFile(/tmp/multipartBody3296264108184805702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858644144,"filename":"image_10122025_09_08_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ebc03508318df206d920061d8f2d361.jpg","text":"TemporaryFile(/tmp/multipartBody5806108523749959285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858644144,"filename":"image_10122025_09_08_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/887871e13f06b9465c42279dca547912.jpg","text":"TemporaryFile(/tmp/multipartBody5951304884169844847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858644144,"filename":"image_10122025_09_08_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8f7c4e28fd24c5fa762f5a18434f110.jpg","text":"TemporaryFile(/tmp/multipartBody3970385063163010729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858644144,"filename":"image_10122025_09_09_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/12/27/451a8d568c5ebcafd1497df862323d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5327954263849595693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858644144,"filename":"image_10122025_09_08_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401305684","file1":"1401305682","file0":"1401305681","file4":"1401305688","file5":"1401305691","file3":"1401305686"},"map_files_photo_id_array":[{"photo_id":"1401305691","filename":"file5"},{"photo_id":"1401305684","filename":"file2"},{"photo_id":"1401305688","filename":"file4"},{"photo_id":"1401305682","filename":"file1"},{"photo_id":"1401305681","filename":"file0"},{"photo_id":"1401305686","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401305691":["hashtag1","hashtag2"]},{"1401305688":["hashtag1","hashtag2"]},{"1401305682":["hashtag1","hashtag2"]},{"1401305684":["hashtag1","hashtag2"]},{"1401305681":["hashtag1","hashtag2"]},{"1401305686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401305691, 1401305688, 1401305682, 1401305684, 1401305681, 1401305686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63248562812805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:03:47.533933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_08_04_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_45_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_34_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_14_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/07/image_10122025_09_08_04_9663.jpg', '/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_55_9621.jpg', '/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_45_10674.jpg', '/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_34_9691.jpg', '/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_25_10614.jpg', '/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_14_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/07/image_10122025_09_08_04_9663.jpg
/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_55_9621.jpg
/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_45_10674.jpg
/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_34_9691.jpg
/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_25_10614.jpg
/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_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":["1401305707","1401305701","1401305700","1401305703","1401305702","1401305705"],"photo_ids_order":["1401305700","1401305701","1401305702","1401305703","1401305705","1401305707"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25831264f4880d209f17a19e88e4c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody4226516083409472692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858688352,"filename":"image_10122025_09_07_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/12/27/b76c9225f9f23a8fafe827c33b959844.jpg","text":"TemporaryFile(/tmp/multipartBody2079950906914344914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858688352,"filename":"image_10122025_09_07_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb701610ef8f14155940c5dba4b513f4.jpg","text":"TemporaryFile(/tmp/multipartBody3883074352194645796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858688352,"filename":"image_10122025_09_08_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/12/27/5ce81f08c24e1499c24707ccb32fe363.jpg","text":"TemporaryFile(/tmp/multipartBody1375985079086899192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858688352,"filename":"image_10122025_09_07_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/12/27/272ea4268917ce180f4b5f419d9e2d6d.jpg","text":"TemporaryFile(/tmp/multipartBody3095370853258863361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858688352,"filename":"image_10122025_09_07_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3738c78140f3b3e698d382b09611796.jpg","text":"TemporaryFile(/tmp/multipartBody7869585402465411786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858688352,"filename":"image_10122025_09_07_25_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401305702","file1":"1401305701","file0":"1401305700","file4":"1401305705","file5":"1401305707","file3":"1401305703"},"map_files_photo_id_array":[{"photo_id":"1401305707","filename":"file5"},{"photo_id":"1401305702","filename":"file2"},{"photo_id":"1401305705","filename":"file4"},{"photo_id":"1401305701","filename":"file1"},{"photo_id":"1401305700","filename":"file0"},{"photo_id":"1401305703","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401305707":["hashtag1","hashtag2"]},{"1401305701":["hashtag1","hashtag2"]},{"1401305700":["hashtag1","hashtag2"]},{"1401305703":["hashtag1","hashtag2"]},{"1401305702":["hashtag1","hashtag2"]},{"1401305705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401305707, 1401305701, 1401305700, 1401305703, 1401305702, 1401305705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17058563232422 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:04:32.639544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_07_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_35_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_25_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_14_9693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/06/image_10122025_09_07_04_9622.jpg', '/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_55_10615.jpg', '/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_44_9603.jpg', '/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_35_9698.jpg', '/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_25_10710.jpg', '/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_14_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/06/image_10122025_09_07_04_9622.jpg
/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_55_10615.jpg
/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_44_9603.jpg
/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_35_9698.jpg
/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_25_10710.jpg
/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_14_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306087","1401306044","1401306230","1401306146","1401306002","1401306181"],"photo_ids_order":["1401306002","1401306044","1401306087","1401306146","1401306181","1401306230"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e2281a448018b5114f6e77a90a9842b.jpg","text":"TemporaryFile(/tmp/multipartBody8959401395908961839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858733439,"filename":"image_10122025_09_06_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/12/27/c296e41ef640c62aeca1f40cbea4c802.jpg","text":"TemporaryFile(/tmp/multipartBody8899116823352264770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858733439,"filename":"image_10122025_09_06_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd34a4d7759aee4944211864bfaafa27.jpg","text":"TemporaryFile(/tmp/multipartBody6813498307966134795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858733439,"filename":"image_10122025_09_06_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/12/27/d1e371fc7a719d557f54466d67b52414.jpg","text":"TemporaryFile(/tmp/multipartBody3538834515574595087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858733439,"filename":"image_10122025_09_06_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54ea46e0eb2f7c8849d77fcab3359375.jpg","text":"TemporaryFile(/tmp/multipartBody7413839986390039658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858733439,"filename":"image_10122025_09_07_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/12/27/004c9b69a8bcca46e48cc0f1250e4d7e.jpg","text":"TemporaryFile(/tmp/multipartBody5721831312696301732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858733439,"filename":"image_10122025_09_06_25_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306087","file1":"1401306044","file0":"1401306002","file4":"1401306181","file5":"1401306230","file3":"1401306146"},"map_files_photo_id_array":[{"photo_id":"1401306230","filename":"file5"},{"photo_id":"1401306087","filename":"file2"},{"photo_id":"1401306181","filename":"file4"},{"photo_id":"1401306044","filename":"file1"},{"photo_id":"1401306002","filename":"file0"},{"photo_id":"1401306146","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306087":["hashtag1","hashtag2"]},{"1401306044":["hashtag1","hashtag2"]},{"1401306230":["hashtag1","hashtag2"]},{"1401306146":["hashtag1","hashtag2"]},{"1401306002":["hashtag1","hashtag2"]},{"1401306181":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306087, 1401306044, 1401306230, 1401306146, 1401306002, 1401306181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.891839265823364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:05:17.749007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_06_05_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_55_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_44_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_35_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_14_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/05/image_10122025_09_06_05_9695.jpg', '/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_55_10658.jpg', '/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_44_9632.jpg', '/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_35_9647.jpg', '/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_25_10633.jpg', '/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/05/image_10122025_09_06_05_9695.jpg
/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_55_10658.jpg
/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_44_9632.jpg
/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_35_9647.jpg
/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_25_10633.jpg
/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_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":["1401306378","1401306425","1401306391","1401306385","1401306388","1401306355"],"photo_ids_order":["1401306355","1401306378","1401306385","1401306388","1401306391","1401306425"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8deb25a8a9f93914f8d5ab59ab6a7e0.jpg","text":"TemporaryFile(/tmp/multipartBody8626600773731493611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858778551,"filename":"image_10122025_09_05_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b698635fe6ef68d0ea640921bd1542d.jpg","text":"TemporaryFile(/tmp/multipartBody4127839191909973272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858778551,"filename":"image_10122025_09_05_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/12/27/4279a7917f3595279ccfee192e2baefa.jpg","text":"TemporaryFile(/tmp/multipartBody8839483024581747643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858778551,"filename":"image_10122025_09_05_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88011e071dfa0662deb8f69fcb4bf45c.jpg","text":"TemporaryFile(/tmp/multipartBody6634430453562511773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858778551,"filename":"image_10122025_09_05_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/12/27/28ac2e9dc1e0b1e8ed56381e37195c9e.jpg","text":"TemporaryFile(/tmp/multipartBody1433312151470191784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858778551,"filename":"image_10122025_09_05_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84539ef17e2749b6edcb1f96983014dc.jpg","text":"TemporaryFile(/tmp/multipartBody2493531005711358077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858778551,"filename":"image_10122025_09_06_05_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306385","file1":"1401306378","file0":"1401306355","file4":"1401306391","file5":"1401306425","file3":"1401306388"},"map_files_photo_id_array":[{"photo_id":"1401306425","filename":"file5"},{"photo_id":"1401306385","filename":"file2"},{"photo_id":"1401306391","filename":"file4"},{"photo_id":"1401306378","filename":"file1"},{"photo_id":"1401306355","filename":"file0"},{"photo_id":"1401306388","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306378":["hashtag1","hashtag2"]},{"1401306425":["hashtag1","hashtag2"]},{"1401306391":["hashtag1","hashtag2"]},{"1401306385":["hashtag1","hashtag2"]},{"1401306388":["hashtag1","hashtag2"]},{"1401306355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306378, 1401306425, 1401306391, 1401306385, 1401306388, 1401306355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10335063934326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:06:02.236456
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_05_05_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_55_10665.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_44_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_35_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_25_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_14_9692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/04/image_10122025_09_05_05_9693.jpg', '/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_55_10665.jpg', '/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_44_9685.jpg', '/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_35_9699.jpg', '/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_25_10710.jpg', '/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_14_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/04/image_10122025_09_05_05_9693.jpg
/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_55_10665.jpg
/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_44_9685.jpg
/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_35_9699.jpg
/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_25_10710.jpg
/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_14_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":["1401306516","1401306510","1401306521","1401306518","1401306512","1401306514"],"photo_ids_order":["1401306510","1401306512","1401306514","1401306516","1401306518","1401306521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e279e2ceb29eb9b866e7a2cac0c1ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1030174620133567359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858823186,"filename":"image_10122025_09_04_35_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdadc75a3242da05995fc3274ad53fe1.jpg","text":"TemporaryFile(/tmp/multipartBody775869320128972894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858823186,"filename":"image_10122025_09_05_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52004ee1ab9634924c2dcaedbe698278.jpg","text":"TemporaryFile(/tmp/multipartBody5282340387427682248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858823186,"filename":"image_10122025_09_04_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/12/27/eb9f07b8a87b44fc77d594f05bf31a76.jpg","text":"TemporaryFile(/tmp/multipartBody2707476283868912167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858823186,"filename":"image_10122025_09_04_25_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ecf192a6358f2316f914d3ed1e96ec44.jpg","text":"TemporaryFile(/tmp/multipartBody9175736875490678288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858823186,"filename":"image_10122025_09_04_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e0f05435d279649fe8334eb9b9900f4.jpg","text":"TemporaryFile(/tmp/multipartBody2232295343426975081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858823186,"filename":"image_10122025_09_04_44_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306514","file1":"1401306512","file0":"1401306510","file4":"1401306518","file5":"1401306521","file3":"1401306516"},"map_files_photo_id_array":[{"photo_id":"1401306521","filename":"file5"},{"photo_id":"1401306514","filename":"file2"},{"photo_id":"1401306518","filename":"file4"},{"photo_id":"1401306512","filename":"file1"},{"photo_id":"1401306510","filename":"file0"},{"photo_id":"1401306516","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306516":["hashtag1","hashtag2"]},{"1401306510":["hashtag1","hashtag2"]},{"1401306521":["hashtag1","hashtag2"]},{"1401306518":["hashtag1","hashtag2"]},{"1401306512":["hashtag1","hashtag2"]},{"1401306514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306516, 1401306510, 1401306521, 1401306518, 1401306512, 1401306514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44493293762207 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:06:46.887625
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_04_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_55_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_44_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_25_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_14_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/03/image_10122025_09_04_04_9607.jpg', '/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_55_10603.jpg', '/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_44_9661.jpg', '/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_35_9607.jpg', '/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_25_10585.jpg', '/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_14_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/03/image_10122025_09_04_04_9607.jpg
/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_55_10603.jpg
/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_44_9661.jpg
/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_35_9607.jpg
/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_25_10585.jpg
/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_14_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":["1401306534","1401306531","1401306533","1401306530","1401306532","1401306529"],"photo_ids_order":["1401306529","1401306530","1401306531","1401306532","1401306533","1401306534"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c319de79fabfc26e3d3af69c53421583.jpg","text":"TemporaryFile(/tmp/multipartBody114952746369316188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858867700,"filename":"image_10122025_09_03_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/12/27/c9c0bc21469b7aa7678b8ffda9659824.jpg","text":"TemporaryFile(/tmp/multipartBody4847460482261927078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858867700,"filename":"image_10122025_09_03_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/12/27/b1928b8bcf05601b4bb228f502c72a75.jpg","text":"TemporaryFile(/tmp/multipartBody5587060574765102618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858867700,"filename":"image_10122025_09_03_25_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/058b580a7eaa1376e0c7553df60f0368.jpg","text":"TemporaryFile(/tmp/multipartBody5869446466881989810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858867700,"filename":"image_10122025_09_03_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03e4abda9b908b78b71c9a3c8dab2119.jpg","text":"TemporaryFile(/tmp/multipartBody2363561588999149035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858867700,"filename":"image_10122025_09_03_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0ce498c7cdea8b7f7e3977625aa08ae.jpg","text":"TemporaryFile(/tmp/multipartBody5984596755959251703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858867700,"filename":"image_10122025_09_04_04_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306531","file1":"1401306530","file0":"1401306529","file4":"1401306533","file5":"1401306534","file3":"1401306532"},"map_files_photo_id_array":[{"photo_id":"1401306534","filename":"file5"},{"photo_id":"1401306531","filename":"file2"},{"photo_id":"1401306533","filename":"file4"},{"photo_id":"1401306530","filename":"file1"},{"photo_id":"1401306529","filename":"file0"},{"photo_id":"1401306532","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306534":["hashtag1","hashtag2"]},{"1401306531":["hashtag1","hashtag2"]},{"1401306533":["hashtag1","hashtag2"]},{"1401306530":["hashtag1","hashtag2"]},{"1401306532":["hashtag1","hashtag2"]},{"1401306529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306534, 1401306531, 1401306533, 1401306530, 1401306532, 1401306529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13994908332825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:07:32.001087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/09/02/image_10122025_09_03_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/02/image_10122025_09_02_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/01/image_10122025_09_01_15_10670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/09/02/image_10122025_09_03_05_10655.jpg', '/home/nano/Desktop/images/10122025/09/02/image_10122025_09_02_44_9619.jpg', '/home/nano/Desktop/images/10122025/09/01/image_10122025_09_01_15_10670.jpg', '/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_55_9621.jpg', '/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', '/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/09/02/image_10122025_09_03_05_10655.jpg
/home/nano/Desktop/images/10122025/09/02/image_10122025_09_02_44_9619.jpg
/home/nano/Desktop/images/10122025/09/01/image_10122025_09_01_15_10670.jpg
/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_55_9621.jpg
/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg
/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_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":["1401306552","1401306549","1401306551","1401306545","1401306542","1401306547"],"photo_ids_order":["1401306542","1401306545","1401306547","1401306549","1401306551","1401306552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1694b4734ef3308e7379e971d604e3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2968321132790030838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858912812,"filename":"image_10122025_09_00_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/12/27/c104c23256dff41288d17781be6eed71.jpg","text":"TemporaryFile(/tmp/multipartBody6548711999740772986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858912812,"filename":"image_10122025_09_00_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5b911bdcf74ced6bb02b5abe7289fbb.jpg","text":"TemporaryFile(/tmp/multipartBody624471342520722727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858912812,"filename":"image_10122025_09_00_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4635cc92208eaa7e4ef8c98d8fe6006c.jpg","text":"TemporaryFile(/tmp/multipartBody7524033288857320262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858912812,"filename":"image_10122025_09_02_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/12/27/090c1cdd21cd5299efbbdbd5415aa8c2.jpg","text":"TemporaryFile(/tmp/multipartBody9018297212792232291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858912812,"filename":"image_10122025_09_03_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81259f5ce7fbc55038eb4e938bd0ffdb.jpg","text":"TemporaryFile(/tmp/multipartBody2139339989287899328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858912812,"filename":"image_10122025_09_01_15_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306547","file1":"1401306545","file0":"1401306542","file4":"1401306551","file5":"1401306552","file3":"1401306549"},"map_files_photo_id_array":[{"photo_id":"1401306552","filename":"file5"},{"photo_id":"1401306547","filename":"file2"},{"photo_id":"1401306551","filename":"file4"},{"photo_id":"1401306545","filename":"file1"},{"photo_id":"1401306542","filename":"file0"},{"photo_id":"1401306549","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306552":["hashtag1","hashtag2"]},{"1401306549":["hashtag1","hashtag2"]},{"1401306551":["hashtag1","hashtag2"]},{"1401306545":["hashtag1","hashtag2"]},{"1401306542":["hashtag1","hashtag2"]},{"1401306547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306552, 1401306549, 1401306551, 1401306545, 1401306542, 1401306547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.935383558273315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:08:17.114978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_14_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_58_05_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_55_9973.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', '/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', '/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', '/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_14_9749.jpg', '/home/nano/Desktop/images/10122025/08/57/image_10122025_08_58_05_9915.jpg', '/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_55_9973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg
/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg
/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg
/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_14_9749.jpg
/home/nano/Desktop/images/10122025/08/57/image_10122025_08_58_05_9915.jpg
/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_55_9973.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306567","1401306561","1401306563","1401306557","1401306565","1401306559"],"photo_ids_order":["1401306557","1401306559","1401306561","1401306563","1401306565","1401306567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac06819487ad24fab2600a40fe996b8d.jpg","text":"TemporaryFile(/tmp/multipartBody4852775144024154779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858957940,"filename":"image_10122025_08_57_55_9973.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7cdf4c7230ad6b27051641a02dccedb.jpg","text":"TemporaryFile(/tmp/multipartBody7841854333601138484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858957940,"filename":"image_10122025_08_58_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2c15397400f3a2adec54bcf8c73a1d2.jpg","text":"TemporaryFile(/tmp/multipartBody6812749812971893175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858957940,"filename":"image_10122025_08_58_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/12/27/4df0f2dcbc457488e1621850485f742f.jpg","text":"TemporaryFile(/tmp/multipartBody7272909003214800142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858957940,"filename":"image_10122025_08_59_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e59927308c5b4b6fbb3414ddc694079.jpg","text":"TemporaryFile(/tmp/multipartBody1843556110003849797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858957940,"filename":"image_10122025_08_58_05_9915.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18188054ac85cddabd53434ed3c13cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3235990253641311691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766858957940,"filename":"image_10122025_08_58_55_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306561","file1":"1401306559","file0":"1401306557","file4":"1401306565","file5":"1401306567","file3":"1401306563"},"map_files_photo_id_array":[{"photo_id":"1401306567","filename":"file5"},{"photo_id":"1401306561","filename":"file2"},{"photo_id":"1401306565","filename":"file4"},{"photo_id":"1401306559","filename":"file1"},{"photo_id":"1401306557","filename":"file0"},{"photo_id":"1401306563","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306567":["hashtag1","hashtag2"]},{"1401306561":["hashtag1","hashtag2"]},{"1401306563":["hashtag1","hashtag2"]},{"1401306557":["hashtag1","hashtag2"]},{"1401306565":["hashtag1","hashtag2"]},{"1401306559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306567, 1401306561, 1401306563, 1401306557, 1401306565, 1401306559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.036661863327026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:09:03.109291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_35_9786.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg', '/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_35_9786.jpg', '/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_25_9950.jpg', '/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', '/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', '/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg
/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_35_9786.jpg
/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_25_9950.jpg
/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg
/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg
/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306576","1401306578","1401306572","1401306580","1401306574","1401306570"],"photo_ids_order":["1401306570","1401306572","1401306574","1401306576","1401306578","1401306580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45e4f71b5ff27f4d6f9db37a9dd63e3a.jpg","text":"TemporaryFile(/tmp/multipartBody32018684170218869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859004078,"filename":"image_10122025_08_55_05_9957.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb27253f95ee400a200bc070c086da3e.jpg","text":"TemporaryFile(/tmp/multipartBody3664054276664949256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859004078,"filename":"image_10122025_08_54_35_9907.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22518821e5612473a2572a6bfbde2a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3184929555926771308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859004078,"filename":"image_10122025_08_57_35_9786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a871eafcb0c36530fe8f13f292e910ea.jpg","text":"TemporaryFile(/tmp/multipartBody8744478085882769515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859004078,"filename":"image_10122025_08_54_25_9962.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54265455375ba6f8cee708e25e051792.jpg","text":"TemporaryFile(/tmp/multipartBody28201486051909969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859004078,"filename":"image_10122025_08_57_25_9950.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8010c322ae6d828e30932cb8d665476e.jpg","text":"TemporaryFile(/tmp/multipartBody3226064975516420451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859004078,"filename":"image_10122025_08_57_45_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306574","file1":"1401306572","file0":"1401306570","file4":"1401306578","file5":"1401306580","file3":"1401306576"},"map_files_photo_id_array":[{"photo_id":"1401306580","filename":"file5"},{"photo_id":"1401306574","filename":"file2"},{"photo_id":"1401306578","filename":"file4"},{"photo_id":"1401306572","filename":"file1"},{"photo_id":"1401306570","filename":"file0"},{"photo_id":"1401306576","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306576":["hashtag1","hashtag2"]},{"1401306578":["hashtag1","hashtag2"]},{"1401306572":["hashtag1","hashtag2"]},{"1401306580":["hashtag1","hashtag2"]},{"1401306574":["hashtag1","hashtag2"]},{"1401306570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306576, 1401306578, 1401306572, 1401306580, 1401306574, 1401306570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21328043937683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:09:47.198411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', '/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', '/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', '/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', '/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', '/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg
/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg
/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg
/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg
/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg
/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306588","1401306587","1401306592","1401306586","1401306589","1401306591"],"photo_ids_order":["1401306586","1401306587","1401306588","1401306589","1401306591","1401306592"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/348b452affa4ef25a03a76b95b23dd3d.jpg","text":"TemporaryFile(/tmp/multipartBody1614514628466872135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859048087,"filename":"image_10122025_08_53_54_9971.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/99d50f4eb42abb927a91cc979d6ff2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4673490293575014984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859048087,"filename":"image_10122025_08_54_04_10012.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36563f1aa35896278abaea5969c98892.jpg","text":"TemporaryFile(/tmp/multipartBody7304087814715631540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859048087,"filename":"image_10122025_08_30_15_9998.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ac0256013ac1175fbfdf122c05fefdf.jpg","text":"TemporaryFile(/tmp/multipartBody7928138593691928805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859048087,"filename":"image_10122025_08_54_15_10843.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03d033b0be20bbd19641ed8f14a1cb97.jpg","text":"TemporaryFile(/tmp/multipartBody1900551862034322713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859048087,"filename":"image_10122025_08_48_35_10974.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2ff0dedbc5e5ee698a07261097be968.jpg","text":"TemporaryFile(/tmp/multipartBody7084122517290502041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859048087,"filename":"image_10122025_08_39_25_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306588","file1":"1401306587","file0":"1401306586","file4":"1401306591","file5":"1401306592","file3":"1401306589"},"map_files_photo_id_array":[{"photo_id":"1401306592","filename":"file5"},{"photo_id":"1401306588","filename":"file2"},{"photo_id":"1401306591","filename":"file4"},{"photo_id":"1401306587","filename":"file1"},{"photo_id":"1401306586","filename":"file0"},{"photo_id":"1401306589","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306588":["hashtag1","hashtag2"]},{"1401306587":["hashtag1","hashtag2"]},{"1401306592":["hashtag1","hashtag2"]},{"1401306586":["hashtag1","hashtag2"]},{"1401306589":["hashtag1","hashtag2"]},{"1401306591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306588, 1401306587, 1401306592, 1401306586, 1401306589, 1401306591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.594173192977905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:10:32.313095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', '/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', '/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', '/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', '/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', '/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg
/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg
/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg
/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg
/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg
/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306603","1401306606","1401306600","1401306602","1401306605","1401306598"],"photo_ids_order":["1401306598","1401306600","1401306602","1401306603","1401306605","1401306606"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/324d11273259219e0aa58e3cd41a9c9a.jpg","text":"TemporaryFile(/tmp/multipartBody855073088804561346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859093196,"filename":"image_10122025_08_16_35_9961.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/949e617a154c7c943a6b5a78e11a4b67.jpg","text":"TemporaryFile(/tmp/multipartBody8384030219974243026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859093196,"filename":"image_10122025_08_13_15_9881.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81221ded6af693eeba7d2eebc685db4e.jpg","text":"TemporaryFile(/tmp/multipartBody8559142812357002256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859093196,"filename":"image_10122025_08_18_45_9941.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adcb30eea2d5ac049df9442f77013025.jpg","text":"TemporaryFile(/tmp/multipartBody4613292152531029857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859093196,"filename":"image_10122025_08_18_35_9949.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e86f4289152db0f40bdb1fdf9f10846.jpg","text":"TemporaryFile(/tmp/multipartBody6813005122066862916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859093196,"filename":"image_10122025_08_13_25_9887.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c5f350ff50f90130c35245e90195135.jpg","text":"TemporaryFile(/tmp/multipartBody7697407553660436565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859093196,"filename":"image_10122025_08_21_04_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306602","file1":"1401306600","file0":"1401306598","file4":"1401306605","file5":"1401306606","file3":"1401306603"},"map_files_photo_id_array":[{"photo_id":"1401306606","filename":"file5"},{"photo_id":"1401306602","filename":"file2"},{"photo_id":"1401306605","filename":"file4"},{"photo_id":"1401306600","filename":"file1"},{"photo_id":"1401306598","filename":"file0"},{"photo_id":"1401306603","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306603":["hashtag1","hashtag2"]},{"1401306606":["hashtag1","hashtag2"]},{"1401306600":["hashtag1","hashtag2"]},{"1401306602":["hashtag1","hashtag2"]},{"1401306605":["hashtag1","hashtag2"]},{"1401306598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306603, 1401306606, 1401306600, 1401306602, 1401306605, 1401306598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.070807695388794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:11:17.398146
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_24_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_14_9879.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', '/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', '/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', '/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', '/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_24_9868.jpg', '/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_14_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg
/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg
/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg
/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg
/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_24_9868.jpg
/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_14_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306618","1401306620","1401306611","1401306613","1401306622","1401306616"],"photo_ids_order":["1401306611","1401306613","1401306616","1401306618","1401306620","1401306622"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4bb04974db60b756e72d8b5889f704d.jpg","text":"TemporaryFile(/tmp/multipartBody7286577861945041524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859138270,"filename":"image_10122025_08_12_34_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06b35d034641872180b9a97fb33f0e70.jpg","text":"TemporaryFile(/tmp/multipartBody5922394742431201644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859138270,"filename":"image_10122025_08_12_24_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b44644b265bccb4881fc5a851dbd4df.jpg","text":"TemporaryFile(/tmp/multipartBody3436045007323004758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859138270,"filename":"image_10122025_08_13_05_9874.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94f42c231c9e5cede7a5e9e441c69ded.jpg","text":"TemporaryFile(/tmp/multipartBody2145205773671081733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859138270,"filename":"image_10122025_08_12_55_9870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42c42f93faf663f307224eaa284d8a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8453275593868377052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859138270,"filename":"image_10122025_08_12_14_9879.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98c142ebe89cfef34abf19a78a7f1f76.jpg","text":"TemporaryFile(/tmp/multipartBody8215809046398180294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859138270,"filename":"image_10122025_08_12_45_10882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306616","file1":"1401306613","file0":"1401306611","file4":"1401306620","file5":"1401306622","file3":"1401306618"},"map_files_photo_id_array":[{"photo_id":"1401306622","filename":"file5"},{"photo_id":"1401306616","filename":"file2"},{"photo_id":"1401306620","filename":"file4"},{"photo_id":"1401306613","filename":"file1"},{"photo_id":"1401306611","filename":"file0"},{"photo_id":"1401306618","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306618":["hashtag1","hashtag2"]},{"1401306620":["hashtag1","hashtag2"]},{"1401306611":["hashtag1","hashtag2"]},{"1401306613":["hashtag1","hashtag2"]},{"1401306622":["hashtag1","hashtag2"]},{"1401306616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306618, 1401306620, 1401306611, 1401306613, 1401306622, 1401306616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.411765575408936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:12:02.948871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_12_05_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_55_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_45_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_35_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_24_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_14_9901.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/11/image_10122025_08_12_05_9873.jpg', '/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_55_9871.jpg', '/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_45_9865.jpg', '/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_35_10877.jpg', '/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_24_9885.jpg', '/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_14_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/11/image_10122025_08_12_05_9873.jpg
/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_55_9871.jpg
/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_45_9865.jpg
/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_35_10877.jpg
/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_24_9885.jpg
/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_14_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306636","1401306639","1401306630","1401306632","1401306629","1401306634"],"photo_ids_order":["1401306629","1401306630","1401306632","1401306634","1401306636","1401306639"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dfa90ffe5d9a4b81bd403eb538a6769.jpg","text":"TemporaryFile(/tmp/multipartBody1917367414901288914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859183842,"filename":"image_10122025_08_11_24_9885.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91de82a704c84e770cd6678d607b2c02.jpg","text":"TemporaryFile(/tmp/multipartBody5739012487869796007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859183842,"filename":"image_10122025_08_11_14_9901.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd94d2dea5a1524205de8957f97c4e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1212824920763657582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859183842,"filename":"image_10122025_08_11_55_9871.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6814ab9ad4f1abaea1823ba1dd593cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8345102855099687414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859183842,"filename":"image_10122025_08_11_45_9865.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/feb3635c281863e205df141ee236e18e.jpg","text":"TemporaryFile(/tmp/multipartBody3933810332077030762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859183842,"filename":"image_10122025_08_12_05_9873.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c79923b0d2f7cde232066f6b6bae47c8.jpg","text":"TemporaryFile(/tmp/multipartBody1720734781780876308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859183842,"filename":"image_10122025_08_11_35_10877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306632","file1":"1401306630","file0":"1401306629","file4":"1401306636","file5":"1401306639","file3":"1401306634"},"map_files_photo_id_array":[{"photo_id":"1401306639","filename":"file5"},{"photo_id":"1401306632","filename":"file2"},{"photo_id":"1401306636","filename":"file4"},{"photo_id":"1401306630","filename":"file1"},{"photo_id":"1401306629","filename":"file0"},{"photo_id":"1401306634","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306636":["hashtag1","hashtag2"]},{"1401306639":["hashtag1","hashtag2"]},{"1401306630":["hashtag1","hashtag2"]},{"1401306632":["hashtag1","hashtag2"]},{"1401306629":["hashtag1","hashtag2"]},{"1401306634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306636, 1401306639, 1401306630, 1401306632, 1401306629, 1401306634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.134376764297485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:12:47.477245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_11_04_9884.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_54_9869.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_35_9869.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_25_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_15_9893.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/10/image_10122025_08_11_04_9884.jpg', '/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_54_9869.jpg', '/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_45_9868.jpg', '/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_35_9869.jpg', '/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_25_9864.jpg', '/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_15_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/10/image_10122025_08_11_04_9884.jpg
/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_54_9869.jpg
/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_45_9868.jpg
/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_35_9869.jpg
/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_25_9864.jpg
/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_15_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306651","1401306648","1401306647","1401306649","1401306652","1401306646"],"photo_ids_order":["1401306646","1401306647","1401306648","1401306649","1401306651","1401306652"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5e7105e22c872fa7d4c930e3c724df4.jpg","text":"TemporaryFile(/tmp/multipartBody8082173684525216402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859228345,"filename":"image_10122025_08_10_25_9864.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a055ae91e0299232284d35260edd165.jpg","text":"TemporaryFile(/tmp/multipartBody2346958653644805807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859228345,"filename":"image_10122025_08_10_45_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52b2eebaca80d1a322e1e6fa8d32d2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2293497024196842459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859228345,"filename":"image_10122025_08_10_54_9869.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21429047f8a386e303c54b348adafa05.jpg","text":"TemporaryFile(/tmp/multipartBody4796681126995125228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859228345,"filename":"image_10122025_08_10_35_9869.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/486d9beb924331bc8fdafe60feedd2be.jpg","text":"TemporaryFile(/tmp/multipartBody7715547816437672649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859228345,"filename":"image_10122025_08_10_15_9893.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/287951c1a8dc728849ccc5e5a1b6f2de.jpg","text":"TemporaryFile(/tmp/multipartBody2008966371131060101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859228345,"filename":"image_10122025_08_11_04_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306648","file1":"1401306647","file0":"1401306646","file4":"1401306651","file5":"1401306652","file3":"1401306649"},"map_files_photo_id_array":[{"photo_id":"1401306652","filename":"file5"},{"photo_id":"1401306648","filename":"file2"},{"photo_id":"1401306651","filename":"file4"},{"photo_id":"1401306647","filename":"file1"},{"photo_id":"1401306646","filename":"file0"},{"photo_id":"1401306649","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306651":["hashtag1","hashtag2"]},{"1401306648":["hashtag1","hashtag2"]},{"1401306647":["hashtag1","hashtag2"]},{"1401306649":["hashtag1","hashtag2"]},{"1401306652":["hashtag1","hashtag2"]},{"1401306646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306651, 1401306648, 1401306647, 1401306649, 1401306652, 1401306646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.797051429748535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:13:32.590211
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_10_05_10888.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_54_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_44_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_25_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_15_9912.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/09/image_10122025_08_10_05_10888.jpg', '/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_54_9867.jpg', '/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_44_9872.jpg', '/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_34_9868.jpg', '/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_25_9872.jpg', '/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_15_9912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/09/image_10122025_08_10_05_10888.jpg
/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_54_9867.jpg
/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_44_9872.jpg
/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_34_9868.jpg
/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_25_9872.jpg
/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_15_9912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306666","1401306669","1401306660","1401306663","1401306662","1401306668"],"photo_ids_order":["1401306660","1401306662","1401306663","1401306666","1401306668","1401306669"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4800f00076f8fdd050571f8bfb8e02ea.jpg","text":"TemporaryFile(/tmp/multipartBody6598499445720498797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859273481,"filename":"image_10122025_08_09_34_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5eba96a43cc8d2f6486b89fd1c96d765.jpg","text":"TemporaryFile(/tmp/multipartBody1031438886824742568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859273481,"filename":"image_10122025_08_09_15_9912.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b95eed9660b83beec86670d6e4e526a2.jpg","text":"TemporaryFile(/tmp/multipartBody278122095407782249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859273481,"filename":"image_10122025_08_10_05_10888.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8316e114d24517cbb7466cd8260b034c.jpg","text":"TemporaryFile(/tmp/multipartBody6434351003069003974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859273481,"filename":"image_10122025_08_09_44_9872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6ff17a26039cff01c3713238e5ca2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7674344693962365969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859273481,"filename":"image_10122025_08_09_54_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffad3e744944adb43a7ed695d245ef3c.jpg","text":"TemporaryFile(/tmp/multipartBody1610145759293919701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859273481,"filename":"image_10122025_08_09_25_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306663","file1":"1401306662","file0":"1401306660","file4":"1401306668","file5":"1401306669","file3":"1401306666"},"map_files_photo_id_array":[{"photo_id":"1401306669","filename":"file5"},{"photo_id":"1401306663","filename":"file2"},{"photo_id":"1401306668","filename":"file4"},{"photo_id":"1401306662","filename":"file1"},{"photo_id":"1401306660","filename":"file0"},{"photo_id":"1401306666","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306666":["hashtag1","hashtag2"]},{"1401306669":["hashtag1","hashtag2"]},{"1401306660":["hashtag1","hashtag2"]},{"1401306663":["hashtag1","hashtag2"]},{"1401306662":["hashtag1","hashtag2"]},{"1401306668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306666, 1401306669, 1401306660, 1401306663, 1401306662, 1401306668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29435706138611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:14:17.716295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7740504741668701 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:14:32.687140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg', '/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg
/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306693","1401306683","1401306692","1401306686","1401306694","1401306688"],"photo_ids_order":["1401306683","1401306686","1401306688","1401306692","1401306693","1401306694"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba0c85fb18ae1ce35ba45442a72041d2.jpg","text":"TemporaryFile(/tmp/multipartBody3709552114814230746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859333531,"filename":"image_10122025_08_08_24_9865.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a6c87943d2551532aadb7da99cbc7eb.jpg","text":"TemporaryFile(/tmp/multipartBody7886151504563528694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859333531,"filename":"image_10122025_08_09_05_9883.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff1a53f13b702b7f7ff8022525fc1963.jpg","text":"TemporaryFile(/tmp/multipartBody9180907271164133815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859333531,"filename":"image_10122025_08_08_34_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/888e0af8b64ea49a5fa6fbd2249672cc.jpg","text":"TemporaryFile(/tmp/multipartBody3285062319922008647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859333531,"filename":"image_10122025_08_08_55_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96de3b056b129d14348b253e6a2b1e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7420043058214370236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859333531,"filename":"image_10122025_08_08_14_9921.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b456c00b41be37ca0e8d18f9ce3df3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3449647784002004434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859333531,"filename":"image_10122025_08_08_45_10876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306688","file1":"1401306686","file0":"1401306683","file4":"1401306693","file5":"1401306694","file3":"1401306692"},"map_files_photo_id_array":[{"photo_id":"1401306694","filename":"file5"},{"photo_id":"1401306688","filename":"file2"},{"photo_id":"1401306693","filename":"file4"},{"photo_id":"1401306686","filename":"file1"},{"photo_id":"1401306683","filename":"file0"},{"photo_id":"1401306692","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306693":["hashtag1","hashtag2"]},{"1401306683":["hashtag1","hashtag2"]},{"1401306692":["hashtag1","hashtag2"]},{"1401306686":["hashtag1","hashtag2"]},{"1401306694":["hashtag1","hashtag2"]},{"1401306688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306693, 1401306683, 1401306692, 1401306686, 1401306694, 1401306688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42501616477966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:15:16.825213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_08_05_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_55_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_45_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_35_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_25_10895.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_14_9885.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/07/image_10122025_08_08_05_9890.jpg', '/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_55_9873.jpg', '/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_45_9873.jpg', '/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_35_9871.jpg', '/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_25_10895.jpg', '/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_14_9885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/07/image_10122025_08_08_05_9890.jpg
/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_55_9873.jpg
/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_45_9873.jpg
/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_35_9871.jpg
/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_25_10895.jpg
/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_14_9885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306708","1401306701","1401306710","1401306703","1401306706","1401306699"],"photo_ids_order":["1401306699","1401306701","1401306703","1401306706","1401306708","1401306710"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c66c7642d21a561dd89ed3f40041da7f.jpg","text":"TemporaryFile(/tmp/multipartBody7909833713434904625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859377705,"filename":"image_10122025_08_07_25_10895.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb2bb73585636f744176d9724c4ef6af.jpg","text":"TemporaryFile(/tmp/multipartBody2603734440471766898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859377705,"filename":"image_10122025_08_07_55_9873.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5316c27819f6d4d3a29c6d5244e7afe.jpg","text":"TemporaryFile(/tmp/multipartBody6205380061942630910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859377705,"filename":"image_10122025_08_07_14_9885.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/007e669be9c7a108e932c31299912e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1339842652464618537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859377705,"filename":"image_10122025_08_07_45_9873.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3849313ecf4b4d47c5757882ea30ceaa.jpg","text":"TemporaryFile(/tmp/multipartBody8620878374489440983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859377705,"filename":"image_10122025_08_07_35_9871.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfecd7566611e5cd4eed8114b1805198.jpg","text":"TemporaryFile(/tmp/multipartBody3630471770267751814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859377705,"filename":"image_10122025_08_08_05_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306703","file1":"1401306701","file0":"1401306699","file4":"1401306708","file5":"1401306710","file3":"1401306706"},"map_files_photo_id_array":[{"photo_id":"1401306710","filename":"file5"},{"photo_id":"1401306703","filename":"file2"},{"photo_id":"1401306708","filename":"file4"},{"photo_id":"1401306701","filename":"file1"},{"photo_id":"1401306699","filename":"file0"},{"photo_id":"1401306706","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306708":["hashtag1","hashtag2"]},{"1401306701":["hashtag1","hashtag2"]},{"1401306710":["hashtag1","hashtag2"]},{"1401306703":["hashtag1","hashtag2"]},{"1401306706":["hashtag1","hashtag2"]},{"1401306699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306708, 1401306701, 1401306710, 1401306703, 1401306706, 1401306699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51169776916504 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:16:02.379255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_07_04_9897.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_54_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_44_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_35_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_25_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_15_9876.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/06/image_10122025_08_07_04_9897.jpg', '/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_54_9864.jpg', '/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_44_9864.jpg', '/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_35_9870.jpg', '/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_25_9868.jpg', '/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_15_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/06/image_10122025_08_07_04_9897.jpg
/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_54_9864.jpg
/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_44_9864.jpg
/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_35_9870.jpg
/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_25_9868.jpg
/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_15_9876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306717","1401306713","1401306719","1401306721","1401306724","1401306715"],"photo_ids_order":["1401306713","1401306715","1401306717","1401306719","1401306721","1401306724"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d32fd32c123645c5eac76cbc75b1cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2911098180943789262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859423272,"filename":"image_10122025_08_06_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/12/27/a8bbb0baf468db59ecb80bca28df22d3.jpg","text":"TemporaryFile(/tmp/multipartBody8642006625069383619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859423272,"filename":"image_10122025_08_07_04_9897.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba6cc866bae76a17e62df5fb92a9ee6e.jpg","text":"TemporaryFile(/tmp/multipartBody8718639076614744808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859423272,"filename":"image_10122025_08_06_35_9870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8b577daeda7a0c5344a1db7eb22725a.jpg","text":"TemporaryFile(/tmp/multipartBody6321889777426423101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859423272,"filename":"image_10122025_08_06_25_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51be45c9a957006e744e77557668dd65.jpg","text":"TemporaryFile(/tmp/multipartBody7282466368409525132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859423272,"filename":"image_10122025_08_06_15_9876.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac51b649366e9cf7007224f939f3d70e.jpg","text":"TemporaryFile(/tmp/multipartBody2948628510492222694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859423272,"filename":"image_10122025_08_06_54_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306717","file1":"1401306715","file0":"1401306713","file4":"1401306721","file5":"1401306724","file3":"1401306719"},"map_files_photo_id_array":[{"photo_id":"1401306724","filename":"file5"},{"photo_id":"1401306717","filename":"file2"},{"photo_id":"1401306721","filename":"file4"},{"photo_id":"1401306715","filename":"file1"},{"photo_id":"1401306713","filename":"file0"},{"photo_id":"1401306719","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306717":["hashtag1","hashtag2"]},{"1401306713":["hashtag1","hashtag2"]},{"1401306719":["hashtag1","hashtag2"]},{"1401306721":["hashtag1","hashtag2"]},{"1401306724":["hashtag1","hashtag2"]},{"1401306715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306717, 1401306713, 1401306719, 1401306721, 1401306724, 1401306715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.432156801223755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:16:46.916806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_06_05_10883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_54_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_44_9886.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_34_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_24_9863.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_15_9891.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/05/image_10122025_08_06_05_10883.jpg', '/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_54_9867.jpg', '/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_44_9886.jpg', '/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_34_9872.jpg', '/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_24_9863.jpg', '/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_15_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/05/image_10122025_08_06_05_10883.jpg
/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_54_9867.jpg
/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_44_9886.jpg
/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_34_9872.jpg
/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_24_9863.jpg
/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_15_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306732","1401306735","1401306731","1401306734","1401306737","1401306733"],"photo_ids_order":["1401306731","1401306732","1401306733","1401306734","1401306735","1401306737"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57867b90834f4c53ca8c05efdb1426e0.jpg","text":"TemporaryFile(/tmp/multipartBody7383869402194971853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859467805,"filename":"image_10122025_08_05_54_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e353bfff1a4a3e97dbf40b3fdbda8cd.jpg","text":"TemporaryFile(/tmp/multipartBody226180877044440250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859467805,"filename":"image_10122025_08_05_24_9863.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a4130989c3bd2066a5656b116509141.jpg","text":"TemporaryFile(/tmp/multipartBody5851386466564485599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859467805,"filename":"image_10122025_08_06_05_10883.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccd72fdbd2ca670df9d84e0e712b175e.jpg","text":"TemporaryFile(/tmp/multipartBody6447070514535122223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859467805,"filename":"image_10122025_08_05_34_9872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2319c503ad28f0ff5e0823a7ea081488.jpg","text":"TemporaryFile(/tmp/multipartBody4041867538167614604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859467805,"filename":"image_10122025_08_05_15_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8ea170ead53e49ca9e2d70129e7409d.jpg","text":"TemporaryFile(/tmp/multipartBody361983241625062495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859467805,"filename":"image_10122025_08_05_44_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306733","file1":"1401306732","file0":"1401306731","file4":"1401306735","file5":"1401306737","file3":"1401306734"},"map_files_photo_id_array":[{"photo_id":"1401306737","filename":"file5"},{"photo_id":"1401306733","filename":"file2"},{"photo_id":"1401306735","filename":"file4"},{"photo_id":"1401306732","filename":"file1"},{"photo_id":"1401306731","filename":"file0"},{"photo_id":"1401306734","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306732":["hashtag1","hashtag2"]},{"1401306735":["hashtag1","hashtag2"]},{"1401306731":["hashtag1","hashtag2"]},{"1401306734":["hashtag1","hashtag2"]},{"1401306737":["hashtag1","hashtag2"]},{"1401306733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306732, 1401306735, 1401306731, 1401306734, 1401306737, 1401306733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.440643548965454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:17:32.014315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_05_05_9886.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_55_9863.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_45_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_35_10881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_14_9893.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_04_04_9874.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/04/image_10122025_08_05_05_9886.jpg', '/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_55_9863.jpg', '/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_45_9872.jpg', '/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_35_10881.jpg', '/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_14_9893.jpg', '/home/nano/Desktop/images/10122025/08/03/image_10122025_08_04_04_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/04/image_10122025_08_05_05_9886.jpg
/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_55_9863.jpg
/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_45_9872.jpg
/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_35_10881.jpg
/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_14_9893.jpg
/home/nano/Desktop/images/10122025/08/03/image_10122025_08_04_04_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306750","1401306753","1401306752","1401306746","1401306754","1401306748"],"photo_ids_order":["1401306746","1401306748","1401306750","1401306752","1401306753","1401306754"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ff9415f16fcaae3190309b275f13e19.jpg","text":"TemporaryFile(/tmp/multipartBody6947850132275019545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859512877,"filename":"image_10122025_08_04_45_9872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9a4b58a56d66acce48cdc75c3d02059.jpg","text":"TemporaryFile(/tmp/multipartBody9061335312005975995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859512877,"filename":"image_10122025_08_04_14_9893.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c90525ad3913f28b985e708dff6ef664.jpg","text":"TemporaryFile(/tmp/multipartBody4350308364403482007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859512877,"filename":"image_10122025_08_04_35_10881.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de10ec7a00e59891c8183fd3d3497b87.jpg","text":"TemporaryFile(/tmp/multipartBody1286987524012577201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859512877,"filename":"image_10122025_08_05_05_9886.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4ae4fb94c9b6051a34830531528f33c.jpg","text":"TemporaryFile(/tmp/multipartBody533163785560700291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859512877,"filename":"image_10122025_08_04_04_9874.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7359c8e4284d7736c9d31f40dd5f46f.jpg","text":"TemporaryFile(/tmp/multipartBody3540073668631674434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859512877,"filename":"image_10122025_08_04_55_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306750","file1":"1401306748","file0":"1401306746","file4":"1401306753","file5":"1401306754","file3":"1401306752"},"map_files_photo_id_array":[{"photo_id":"1401306754","filename":"file5"},{"photo_id":"1401306750","filename":"file2"},{"photo_id":"1401306753","filename":"file4"},{"photo_id":"1401306748","filename":"file1"},{"photo_id":"1401306746","filename":"file0"},{"photo_id":"1401306752","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306750":["hashtag1","hashtag2"]},{"1401306753":["hashtag1","hashtag2"]},{"1401306752":["hashtag1","hashtag2"]},{"1401306746":["hashtag1","hashtag2"]},{"1401306754":["hashtag1","hashtag2"]},{"1401306748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306750, 1401306753, 1401306752, 1401306746, 1401306754, 1401306748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74603009223938 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:18:17.114545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_45_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_35_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_25_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_15_10907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_03_04_9876.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_55_9870.jpg', '/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_45_9867.jpg', '/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_35_9864.jpg', '/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_25_9874.jpg', '/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_15_10907.jpg', '/home/nano/Desktop/images/10122025/08/02/image_10122025_08_03_04_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_55_9870.jpg
/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_45_9867.jpg
/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_35_9864.jpg
/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_25_9874.jpg
/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_15_10907.jpg
/home/nano/Desktop/images/10122025/08/02/image_10122025_08_03_04_9876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306759","1401306772","1401306766","1401306769","1401306760","1401306763"],"photo_ids_order":["1401306759","1401306760","1401306763","1401306766","1401306769","1401306772"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f95854ba77d9c856f02bcaced8e87a7.jpg","text":"TemporaryFile(/tmp/multipartBody6986088008165344077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859557977,"filename":"image_10122025_08_03_55_9870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b5c0ba7be384fc5ce4ec8e6ec0145ed.jpg","text":"TemporaryFile(/tmp/multipartBody6369128610168025404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859557977,"filename":"image_10122025_08_03_04_9876.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e010b41682752d9cbbf7225d39841aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8381039057306105541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859557977,"filename":"image_10122025_08_03_25_9874.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4172570e4788599e7b6e0c3160ab98ad.jpg","text":"TemporaryFile(/tmp/multipartBody1832258395367645395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859557977,"filename":"image_10122025_08_03_15_10907.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e48bede25bacccf6c151d43261db6dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6026532882704331466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859557977,"filename":"image_10122025_08_03_45_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7665cb95450d3c4c38350668d694f542.jpg","text":"TemporaryFile(/tmp/multipartBody1887134355426971933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859557977,"filename":"image_10122025_08_03_35_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306763","file1":"1401306760","file0":"1401306759","file4":"1401306769","file5":"1401306772","file3":"1401306766"},"map_files_photo_id_array":[{"photo_id":"1401306772","filename":"file5"},{"photo_id":"1401306763","filename":"file2"},{"photo_id":"1401306769","filename":"file4"},{"photo_id":"1401306760","filename":"file1"},{"photo_id":"1401306759","filename":"file0"},{"photo_id":"1401306766","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306759":["hashtag1","hashtag2"]},{"1401306772":["hashtag1","hashtag2"]},{"1401306766":["hashtag1","hashtag2"]},{"1401306769":["hashtag1","hashtag2"]},{"1401306760":["hashtag1","hashtag2"]},{"1401306763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306759, 1401306772, 1401306766, 1401306769, 1401306760, 1401306763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63524794578552 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:19:03.159556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_54_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_44_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_35_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_25_9869.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_15_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_02_05_9873.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_54_9868.jpg', '/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_44_9867.jpg', '/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_35_9894.jpg', '/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_25_9869.jpg', '/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_15_9870.jpg', '/home/nano/Desktop/images/10122025/08/01/image_10122025_08_02_05_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_54_9868.jpg
/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_44_9867.jpg
/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_35_9894.jpg
/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_25_9869.jpg
/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_15_9870.jpg
/home/nano/Desktop/images/10122025/08/01/image_10122025_08_02_05_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306788","1401306785","1401306779","1401306781","1401306778","1401306783"],"photo_ids_order":["1401306778","1401306779","1401306781","1401306783","1401306785","1401306788"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a4c16ad8bf8372f65888e7ece77d62a.jpg","text":"TemporaryFile(/tmp/multipartBody7583251195539745529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859604170,"filename":"image_10122025_08_02_05_9873.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35add59f7082d0ccfec1d4e02af6b774.jpg","text":"TemporaryFile(/tmp/multipartBody6769068598738657446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859604170,"filename":"image_10122025_08_02_15_9870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/684c9fb5e06fa402feb65f69b5b8fb98.jpg","text":"TemporaryFile(/tmp/multipartBody9220980429020367566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859604170,"filename":"image_10122025_08_02_44_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e93734412f9e05116f8a0fdee984d21a.jpg","text":"TemporaryFile(/tmp/multipartBody2074255318841751349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859604170,"filename":"image_10122025_08_02_35_9894.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/799315965ade2a6ce6c79f9063fbe4d4.jpg","text":"TemporaryFile(/tmp/multipartBody948432758319870727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859604170,"filename":"image_10122025_08_02_54_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/208983ac3e3c984083ddc084f16a9322.jpg","text":"TemporaryFile(/tmp/multipartBody6915485176611323254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859604170,"filename":"image_10122025_08_02_25_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306781","file1":"1401306779","file0":"1401306778","file4":"1401306785","file5":"1401306788","file3":"1401306783"},"map_files_photo_id_array":[{"photo_id":"1401306788","filename":"file5"},{"photo_id":"1401306781","filename":"file2"},{"photo_id":"1401306785","filename":"file4"},{"photo_id":"1401306779","filename":"file1"},{"photo_id":"1401306778","filename":"file0"},{"photo_id":"1401306783","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306788":["hashtag1","hashtag2"]},{"1401306785":["hashtag1","hashtag2"]},{"1401306779":["hashtag1","hashtag2"]},{"1401306781":["hashtag1","hashtag2"]},{"1401306778":["hashtag1","hashtag2"]},{"1401306783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306788, 1401306785, 1401306779, 1401306781, 1401306778, 1401306783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.097737550735474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:19:47.317913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_55_10883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_44_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_24_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_15_9917.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_01_05_9896.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_55_10883.jpg', '/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_44_9868.jpg', '/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_34_9868.jpg', '/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_24_9865.jpg', '/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_15_9917.jpg', '/home/nano/Desktop/images/10122025/08/00/image_10122025_08_01_05_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_55_10883.jpg
/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_44_9868.jpg
/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_34_9868.jpg
/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_24_9865.jpg
/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_15_9917.jpg
/home/nano/Desktop/images/10122025/08/00/image_10122025_08_01_05_9896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306801","1401306797","1401306800","1401306796","1401306795","1401306798"],"photo_ids_order":["1401306795","1401306796","1401306797","1401306798","1401306800","1401306801"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98bb73938627373fa605d527847fd99f.jpg","text":"TemporaryFile(/tmp/multipartBody8457781417028011434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859648195,"filename":"image_10122025_08_01_05_9896.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76d74e2cf1943073dfa3d31fcd272e0e.jpg","text":"TemporaryFile(/tmp/multipartBody2003648687605652426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859648195,"filename":"image_10122025_08_01_34_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbd4d46c906a2bef83ab8bff9687284c.jpg","text":"TemporaryFile(/tmp/multipartBody7164417440258132957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859648195,"filename":"image_10122025_08_01_15_9917.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec29cddac568e64114e2940b03bec6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8206340887518785389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859648195,"filename":"image_10122025_08_01_44_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8eaf5eb0cdc00f4fa23941a7ec15eb7.jpg","text":"TemporaryFile(/tmp/multipartBody4571721031763778628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859648195,"filename":"image_10122025_08_01_55_10883.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8c760fde0785a68fc9e4fb5c57d8f08.jpg","text":"TemporaryFile(/tmp/multipartBody2920213510773811755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859648195,"filename":"image_10122025_08_01_24_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306797","file1":"1401306796","file0":"1401306795","file4":"1401306800","file5":"1401306801","file3":"1401306798"},"map_files_photo_id_array":[{"photo_id":"1401306801","filename":"file5"},{"photo_id":"1401306797","filename":"file2"},{"photo_id":"1401306800","filename":"file4"},{"photo_id":"1401306796","filename":"file1"},{"photo_id":"1401306795","filename":"file0"},{"photo_id":"1401306798","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306801":["hashtag1","hashtag2"]},{"1401306797":["hashtag1","hashtag2"]},{"1401306800":["hashtag1","hashtag2"]},{"1401306796":["hashtag1","hashtag2"]},{"1401306795":["hashtag1","hashtag2"]},{"1401306798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306801, 1401306797, 1401306800, 1401306796, 1401306795, 1401306798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63278102874756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:20:32.426496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_55_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_45_9861.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_35_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_24_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_14_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_08_00_04_9878.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_55_9865.jpg', '/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_45_9861.jpg', '/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_35_10877.jpg', '/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_24_9868.jpg', '/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_14_9874.jpg', '/home/nano/Desktop/images/10122025/07/59/image_10122025_08_00_04_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_55_9865.jpg
/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_45_9861.jpg
/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_35_10877.jpg
/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_24_9868.jpg
/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_14_9874.jpg
/home/nano/Desktop/images/10122025/07/59/image_10122025_08_00_04_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306816","1401306819","1401306818","1401306812","1401306809","1401306811"],"photo_ids_order":["1401306809","1401306811","1401306812","1401306816","1401306818","1401306819"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e4c086f970d6b2f8c7204b64c7c3043.jpg","text":"TemporaryFile(/tmp/multipartBody2553866761189340053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859693323,"filename":"image_10122025_08_00_24_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2199a40ce8b80d1834455e3c66286e15.jpg","text":"TemporaryFile(/tmp/multipartBody4804025412581168538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859693323,"filename":"image_10122025_08_00_04_9878.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bb47427f449db02fa2776692e4b1b39.jpg","text":"TemporaryFile(/tmp/multipartBody2124816038954310185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859693323,"filename":"image_10122025_08_00_14_9874.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77b5b88a3d7bc7d9c6885902a8fd54e0.jpg","text":"TemporaryFile(/tmp/multipartBody8696959414365171810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859693323,"filename":"image_10122025_08_00_35_10877.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/561dc39f0164437c4f0272898ff7daba.jpg","text":"TemporaryFile(/tmp/multipartBody8016178293545963227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859693323,"filename":"image_10122025_08_00_55_9865.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cb0492cb8e27eaccdb6b7dfba5818ec.jpg","text":"TemporaryFile(/tmp/multipartBody103344147923222193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859693323,"filename":"image_10122025_08_00_45_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306812","file1":"1401306811","file0":"1401306809","file4":"1401306818","file5":"1401306819","file3":"1401306816"},"map_files_photo_id_array":[{"photo_id":"1401306819","filename":"file5"},{"photo_id":"1401306812","filename":"file2"},{"photo_id":"1401306818","filename":"file4"},{"photo_id":"1401306811","filename":"file1"},{"photo_id":"1401306809","filename":"file0"},{"photo_id":"1401306816","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306816":["hashtag1","hashtag2"]},{"1401306819":["hashtag1","hashtag2"]},{"1401306818":["hashtag1","hashtag2"]},{"1401306812":["hashtag1","hashtag2"]},{"1401306809":["hashtag1","hashtag2"]},{"1401306811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306816, 1401306819, 1401306818, 1401306812, 1401306809, 1401306811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.453572273254395 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:21:17.518127
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_45_9884.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_35_9888.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_25_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_15_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_59_04_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_54_9860.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_45_9884.jpg', '/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_35_9888.jpg', '/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_25_9865.jpg', '/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_15_10877.jpg', '/home/nano/Desktop/images/10122025/07/58/image_10122025_07_59_04_9865.jpg', '/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_54_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_45_9884.jpg
/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_35_9888.jpg
/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_25_9865.jpg
/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_15_10877.jpg
/home/nano/Desktop/images/10122025/07/58/image_10122025_07_59_04_9865.jpg
/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_54_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306831","1401306828","1401306824","1401306833","1401306835","1401306826"],"photo_ids_order":["1401306824","1401306826","1401306828","1401306831","1401306833","1401306835"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36c23203a9f802da0ed09d2861760fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8695428096210817113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859738420,"filename":"image_10122025_07_59_15_10877.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac1241458e117bd64262cb7269ea4edd.jpg","text":"TemporaryFile(/tmp/multipartBody7816342105844962827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859738420,"filename":"image_10122025_07_59_25_9865.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3beeb4f8c3f266973ebfd2c2b2e89d7.jpg","text":"TemporaryFile(/tmp/multipartBody1008249885660105741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859738420,"filename":"image_10122025_07_59_45_9884.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d95efc76ead09e4339a0ddfef18e36f7.jpg","text":"TemporaryFile(/tmp/multipartBody1331408306509228501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859738420,"filename":"image_10122025_07_59_04_9865.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0005ba1f1dcb3002c0aa9f6f19601d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4598532095744072935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859738420,"filename":"image_10122025_07_58_54_9860.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b6beacd1eb6b609e88fe03b557a7a94b.jpg","text":"TemporaryFile(/tmp/multipartBody8410545769514558836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859738420,"filename":"image_10122025_07_59_35_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306828","file1":"1401306826","file0":"1401306824","file4":"1401306833","file5":"1401306835","file3":"1401306831"},"map_files_photo_id_array":[{"photo_id":"1401306835","filename":"file5"},{"photo_id":"1401306828","filename":"file2"},{"photo_id":"1401306833","filename":"file4"},{"photo_id":"1401306826","filename":"file1"},{"photo_id":"1401306824","filename":"file0"},{"photo_id":"1401306831","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306831":["hashtag1","hashtag2"]},{"1401306828":["hashtag1","hashtag2"]},{"1401306824":["hashtag1","hashtag2"]},{"1401306833":["hashtag1","hashtag2"]},{"1401306835":["hashtag1","hashtag2"]},{"1401306826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306831, 1401306828, 1401306824, 1401306833, 1401306835, 1401306826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84842276573181 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:22:03.221511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_44_9866.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_35_9866.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_25_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_15_9888.jpg', 2), ('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_58_05_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_55_10898.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_44_9866.jpg', '/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_35_9866.jpg', '/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_25_9867.jpg', '/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_15_9888.jpg', '/home/nano/Desktop/images/10122025/07/57/image_10122025_07_58_05_9892.jpg', '/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_55_10898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_44_9866.jpg
/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_35_9866.jpg
/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_25_9867.jpg
/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_15_9888.jpg
/home/nano/Desktop/images/10122025/07/57/image_10122025_07_58_05_9892.jpg
/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_55_10898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306840","1401306842","1401306845","1401306839","1401306841","1401306838"],"photo_ids_order":["1401306838","1401306839","1401306840","1401306841","1401306842","1401306845"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1ca6d18e6202c0e9f34105461e4e070.jpg","text":"TemporaryFile(/tmp/multipartBody8862473128794943627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859784106,"filename":"image_10122025_07_58_25_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe29790feb44a4523d23267fba105546.jpg","text":"TemporaryFile(/tmp/multipartBody2167176533854559796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859784106,"filename":"image_10122025_07_58_05_9892.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a1bdfe95b1907cc44fbb8d0b4c0cfda.jpg","text":"TemporaryFile(/tmp/multipartBody6287884010657815274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859784106,"filename":"image_10122025_07_57_55_10898.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1c45116e890805ea326bda160621690.jpg","text":"TemporaryFile(/tmp/multipartBody3564179394013150849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859784106,"filename":"image_10122025_07_58_35_9866.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82f08d0adad4f6e73bfaf402cd9793a7.jpg","text":"TemporaryFile(/tmp/multipartBody8549509896730247611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859784106,"filename":"image_10122025_07_58_15_9888.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de14fd0cb411d50a7d8536ad2fffc060.jpg","text":"TemporaryFile(/tmp/multipartBody4520511644628238586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859784106,"filename":"image_10122025_07_58_44_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306840","file1":"1401306839","file0":"1401306838","file4":"1401306842","file5":"1401306845","file3":"1401306841"},"map_files_photo_id_array":[{"photo_id":"1401306845","filename":"file5"},{"photo_id":"1401306840","filename":"file2"},{"photo_id":"1401306842","filename":"file4"},{"photo_id":"1401306839","filename":"file1"},{"photo_id":"1401306838","filename":"file0"},{"photo_id":"1401306841","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306840":["hashtag1","hashtag2"]},{"1401306842":["hashtag1","hashtag2"]},{"1401306845":["hashtag1","hashtag2"]},{"1401306839":["hashtag1","hashtag2"]},{"1401306841":["hashtag1","hashtag2"]},{"1401306838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306840, 1401306842, 1401306845, 1401306839, 1401306841, 1401306838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0661461353302 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:22:47.595092
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_44_9958.jpg', 2), ('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_24_9895.jpg', 2), ('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_14_9921.jpg', 2), ('/home/nano/Desktop/images/10122025/07/56/image_10122025_07_57_04_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_44_9958.jpg', '/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_24_9895.jpg', '/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_14_9921.jpg', '/home/nano/Desktop/images/10122025/07/56/image_10122025_07_57_04_9982.jpg', '/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', '/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_44_9958.jpg
/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_24_9895.jpg
/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_14_9921.jpg
/home/nano/Desktop/images/10122025/07/56/image_10122025_07_57_04_9982.jpg
/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg
/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306858","1401306860","1401306863","1401306857","1401306862","1401306859"],"photo_ids_order":["1401306857","1401306858","1401306859","1401306860","1401306862","1401306863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5a9bc3c07238e559b9babbd15bc3c5b.jpg","text":"TemporaryFile(/tmp/multipartBody1772886621464563701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859828489,"filename":"image_10122025_07_57_24_9895.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9455c579ccc1c13a608d5362b8c08210.jpg","text":"TemporaryFile(/tmp/multipartBody4760703648606816002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859828489,"filename":"image_10122025_07_57_04_9982.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2abcb80438ba6efc88c07cc2426698fc.jpg","text":"TemporaryFile(/tmp/multipartBody3734957453453705458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859828489,"filename":"image_10122025_07_50_34_9880.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/276b97bb10fe45931ede351060ecfb89.jpg","text":"TemporaryFile(/tmp/multipartBody3768426720401807971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859828489,"filename":"image_10122025_07_57_44_9958.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45010f03726caf33812992ec05ae0c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2165310385485070591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859828489,"filename":"image_10122025_07_51_15_9957.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdd5d07e4e296f979d20ca203b647524.jpg","text":"TemporaryFile(/tmp/multipartBody6268841150110579805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859828489,"filename":"image_10122025_07_57_14_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306859","file1":"1401306858","file0":"1401306857","file4":"1401306862","file5":"1401306863","file3":"1401306860"},"map_files_photo_id_array":[{"photo_id":"1401306863","filename":"file5"},{"photo_id":"1401306859","filename":"file2"},{"photo_id":"1401306862","filename":"file4"},{"photo_id":"1401306858","filename":"file1"},{"photo_id":"1401306857","filename":"file0"},{"photo_id":"1401306860","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306858":["hashtag1","hashtag2"]},{"1401306860":["hashtag1","hashtag2"]},{"1401306863":["hashtag1","hashtag2"]},{"1401306857":["hashtag1","hashtag2"]},{"1401306862":["hashtag1","hashtag2"]},{"1401306859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306858, 1401306860, 1401306863, 1401306857, 1401306862, 1401306859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21519064903259 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:23:32.724893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_48_04_9844.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', '/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', '/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', '/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', '/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', '/home/nano/Desktop/images/10122025/07/47/image_10122025_07_48_04_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg
/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg
/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg
/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg
/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg
/home/nano/Desktop/images/10122025/07/47/image_10122025_07_48_04_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306873","1401306872","1401306875","1401306884","1401306878","1401306883"],"photo_ids_order":["1401306872","1401306873","1401306875","1401306878","1401306883","1401306884"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0aa0fb35788858f0ec17598809d84d95.jpg","text":"TemporaryFile(/tmp/multipartBody3513188692936446264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859873619,"filename":"image_10122025_07_50_14_9976.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14bd68415d77c08ea494c63af46a1d15.jpg","text":"TemporaryFile(/tmp/multipartBody1935345784394951488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859873619,"filename":"image_10122025_07_50_24_9937.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c459594582dfdd85271672abd22f2349.jpg","text":"TemporaryFile(/tmp/multipartBody6040454852948970034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859873619,"filename":"image_10122025_07_50_04_9947.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db19ba0ee9f5418154af901a334010a2.jpg","text":"TemporaryFile(/tmp/multipartBody5081136528244712861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859873619,"filename":"image_10122025_07_48_04_9844.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9c3128c85de6c3a03211d1d5bd1030c.jpg","text":"TemporaryFile(/tmp/multipartBody2907093515462642562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859873619,"filename":"image_10122025_07_49_44_9947.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/641ac8f0a14ff0886210838b27306b24.jpg","text":"TemporaryFile(/tmp/multipartBody1043279419914889138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859873619,"filename":"image_10122025_07_48_14_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306875","file1":"1401306873","file0":"1401306872","file4":"1401306883","file5":"1401306884","file3":"1401306878"},"map_files_photo_id_array":[{"photo_id":"1401306884","filename":"file5"},{"photo_id":"1401306875","filename":"file2"},{"photo_id":"1401306883","filename":"file4"},{"photo_id":"1401306873","filename":"file1"},{"photo_id":"1401306872","filename":"file0"},{"photo_id":"1401306878","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306873":["hashtag1","hashtag2"]},{"1401306872":["hashtag1","hashtag2"]},{"1401306875":["hashtag1","hashtag2"]},{"1401306884":["hashtag1","hashtag2"]},{"1401306878":["hashtag1","hashtag2"]},{"1401306883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306873, 1401306872, 1401306875, 1401306884, 1401306878, 1401306883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.50593876838684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:24:16.818831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_54_9837.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_55_9987.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_45_9942.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_54_9837.jpg', '/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', '/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', '/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_55_9987.jpg', '/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_45_9942.jpg', '/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_54_9837.jpg
/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg
/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg
/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_55_9987.jpg
/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_45_9942.jpg
/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306890","1401306896","1401306898","1401306892","1401306894","1401306888"],"photo_ids_order":["1401306888","1401306890","1401306892","1401306894","1401306896","1401306898"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31d1d83d9dbb8c2dfc307e8c76a1b193.jpg","text":"TemporaryFile(/tmp/multipartBody8514888861161822814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859917701,"filename":"image_10122025_07_47_45_9901.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa36915e39944a21e274bfd6343646a6.jpg","text":"TemporaryFile(/tmp/multipartBody3278176750183885346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859917701,"filename":"image_10122025_07_46_45_9942.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b1492d889edc1e9b6f14d29e6e03a0d7.jpg","text":"TemporaryFile(/tmp/multipartBody6618897732632861994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859917701,"filename":"image_10122025_07_45_44_9969.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ebbc78dd05c157baeff86ff707236b2.jpg","text":"TemporaryFile(/tmp/multipartBody2314588838265503643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859917701,"filename":"image_10122025_07_47_35_9966.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5009423bd0c095055611956df211ebe4.jpg","text":"TemporaryFile(/tmp/multipartBody867853784996482570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859917701,"filename":"image_10122025_07_46_55_9987.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a7865ba35eff5283ef0fd370ec363ac.jpg","text":"TemporaryFile(/tmp/multipartBody2661789875692699169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859917701,"filename":"image_10122025_07_47_54_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306892","file1":"1401306890","file0":"1401306888","file4":"1401306896","file5":"1401306898","file3":"1401306894"},"map_files_photo_id_array":[{"photo_id":"1401306898","filename":"file5"},{"photo_id":"1401306892","filename":"file2"},{"photo_id":"1401306896","filename":"file4"},{"photo_id":"1401306890","filename":"file1"},{"photo_id":"1401306888","filename":"file0"},{"photo_id":"1401306894","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306890":["hashtag1","hashtag2"]},{"1401306896":["hashtag1","hashtag2"]},{"1401306898":["hashtag1","hashtag2"]},{"1401306892":["hashtag1","hashtag2"]},{"1401306894":["hashtag1","hashtag2"]},{"1401306888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306890, 1401306896, 1401306898, 1401306892, 1401306894, 1401306888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26879525184631 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:25:02.654807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_14_10017.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_54_9920.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_15_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', '/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_14_10017.jpg', '/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_54_9920.jpg', '/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', '/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_15_9982.jpg', '/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg
/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_14_10017.jpg
/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_54_9920.jpg
/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg
/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_15_9982.jpg
/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306909","1401306903","1401306911","1401306905","1401306914","1401306907"],"photo_ids_order":["1401306903","1401306905","1401306907","1401306909","1401306911","1401306914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfb18825839eebfc9e64ee33e68a5872.jpg","text":"TemporaryFile(/tmp/multipartBody8075448280180157835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859963604,"filename":"image_10122025_07_44_35_9927.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3d329f1232ab203fbac07731fab05a2.jpg","text":"TemporaryFile(/tmp/multipartBody6194709740808842483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859963604,"filename":"image_10122025_07_45_24_9947.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/beb51e5dbad30ef3548155f492cf2424.jpg","text":"TemporaryFile(/tmp/multipartBody6580768086052500823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859963604,"filename":"image_10122025_07_44_15_9982.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0049670aebd40372199642b7d15d295d.jpg","text":"TemporaryFile(/tmp/multipartBody2066540496042514544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859963604,"filename":"image_10122025_07_45_14_10017.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e6ea0692b6713212f7f3f95b5a1c4cf.jpg","text":"TemporaryFile(/tmp/multipartBody3542866710955925027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859963604,"filename":"image_10122025_07_42_44_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc8cc326bdd5a9025bd1696cc577e1cc.jpg","text":"TemporaryFile(/tmp/multipartBody1931887778745149005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766859963604,"filename":"image_10122025_07_44_54_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306907","file1":"1401306905","file0":"1401306903","file4":"1401306911","file5":"1401306914","file3":"1401306909"},"map_files_photo_id_array":[{"photo_id":"1401306914","filename":"file5"},{"photo_id":"1401306907","filename":"file2"},{"photo_id":"1401306911","filename":"file4"},{"photo_id":"1401306905","filename":"file1"},{"photo_id":"1401306903","filename":"file0"},{"photo_id":"1401306909","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306909":["hashtag1","hashtag2"]},{"1401306903":["hashtag1","hashtag2"]},{"1401306911":["hashtag1","hashtag2"]},{"1401306905":["hashtag1","hashtag2"]},{"1401306914":["hashtag1","hashtag2"]},{"1401306907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306909, 1401306903, 1401306911, 1401306905, 1401306914, 1401306907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.514440059661865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:25:46.951363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', '/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', '/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', '/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', '/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', '/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg
/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg
/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg
/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg
/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg
/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306921","1401306923","1401306926","1401306920","1401306928","1401306922"],"photo_ids_order":["1401306920","1401306921","1401306922","1401306923","1401306926","1401306928"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d855f1b525cdce3cda279027543b2a39.jpg","text":"TemporaryFile(/tmp/multipartBody1178753201491091143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860007844,"filename":"image_10122025_07_26_55_9960.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4108e564f3ea79d81031cc4491170a33.jpg","text":"TemporaryFile(/tmp/multipartBody7411834910839979818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860007844,"filename":"image_10122025_07_26_24_9976.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a68a3a8140b1ead275ebd87b075edb7.jpg","text":"TemporaryFile(/tmp/multipartBody1919187339659104438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860007844,"filename":"image_10122025_07_25_04_9915.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb05ef3a63a8022ec465c387e56fec3c.jpg","text":"TemporaryFile(/tmp/multipartBody5788417032923354097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860007844,"filename":"image_10122025_07_42_34_9971.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be031595297f9bf4a7e73a4ebeb65686.jpg","text":"TemporaryFile(/tmp/multipartBody4277080482217467692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860007844,"filename":"image_10122025_07_24_54_9879.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2d39b2e63839b91de0ef655a637308c.jpg","text":"TemporaryFile(/tmp/multipartBody302065223259202324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860007844,"filename":"image_10122025_07_26_35_10897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306922","file1":"1401306921","file0":"1401306920","file4":"1401306926","file5":"1401306928","file3":"1401306923"},"map_files_photo_id_array":[{"photo_id":"1401306928","filename":"file5"},{"photo_id":"1401306922","filename":"file2"},{"photo_id":"1401306926","filename":"file4"},{"photo_id":"1401306921","filename":"file1"},{"photo_id":"1401306920","filename":"file0"},{"photo_id":"1401306923","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306921":["hashtag1","hashtag2"]},{"1401306923":["hashtag1","hashtag2"]},{"1401306926":["hashtag1","hashtag2"]},{"1401306920":["hashtag1","hashtag2"]},{"1401306928":["hashtag1","hashtag2"]},{"1401306922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306921, 1401306923, 1401306926, 1401306920, 1401306928, 1401306922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.204669713974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:26:32.058614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', '/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', '/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', '/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', '/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', '/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg
/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg
/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg
/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg
/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg
/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306945","1401306939","1401306935","1401306944","1401306943","1401306937"],"photo_ids_order":["1401306935","1401306937","1401306939","1401306943","1401306944","1401306945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c827c0763e79dc374ad8275283d0bba0.jpg","text":"TemporaryFile(/tmp/multipartBody4633931948716404988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860052951,"filename":"image_10122025_07_22_24_9957.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/505736ef48cf43f738680b8091e0e45c.jpg","text":"TemporaryFile(/tmp/multipartBody7363175437305656892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860052951,"filename":"image_10122025_07_22_54_9937.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/281122bad7a97ef555dbb56c75ff7f20.jpg","text":"TemporaryFile(/tmp/multipartBody3554659303389193227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860052951,"filename":"image_10122025_07_24_45_9979.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13922536476cab8e18b682fd5edb95c6.jpg","text":"TemporaryFile(/tmp/multipartBody1113476683823555930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860052951,"filename":"image_10122025_07_22_34_9961.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5808e56ddddf69430d15c9c9e3f64b60.jpg","text":"TemporaryFile(/tmp/multipartBody3531958250921528502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860052951,"filename":"image_10122025_07_22_44_9913.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fa1b6138dd3371f244bf05f76d8c3097.jpg","text":"TemporaryFile(/tmp/multipartBody2676464549499255254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860052951,"filename":"image_10122025_07_23_05_10953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306939","file1":"1401306937","file0":"1401306935","file4":"1401306944","file5":"1401306945","file3":"1401306943"},"map_files_photo_id_array":[{"photo_id":"1401306945","filename":"file5"},{"photo_id":"1401306939","filename":"file2"},{"photo_id":"1401306944","filename":"file4"},{"photo_id":"1401306937","filename":"file1"},{"photo_id":"1401306935","filename":"file0"},{"photo_id":"1401306943","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306945":["hashtag1","hashtag2"]},{"1401306939":["hashtag1","hashtag2"]},{"1401306935":["hashtag1","hashtag2"]},{"1401306944":["hashtag1","hashtag2"]},{"1401306943":["hashtag1","hashtag2"]},{"1401306937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306945, 1401306939, 1401306935, 1401306944, 1401306943, 1401306937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3283908367157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:27:17.153341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', '/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', '/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', '/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', '/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', '/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg
/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg
/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg
/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg
/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg
/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306957","1401306954","1401306959","1401306950","1401306952","1401306961"],"photo_ids_order":["1401306950","1401306952","1401306954","1401306957","1401306959","1401306961"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52928de3a2e8b789785f6e0f87672a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8961712915883331632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860098051,"filename":"image_10122025_07_00_45_10882.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39b467f2af8e2db12cd42f34447a3df1.jpg","text":"TemporaryFile(/tmp/multipartBody3529899642013859395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860098051,"filename":"image_10122025_07_00_55_9872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/edec7700d331c1e4b75a0676409010bb.jpg","text":"TemporaryFile(/tmp/multipartBody7765977779218598388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860098051,"filename":"image_10122025_07_00_34_9870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ae8b178a35841ba283f3362407e5117.jpg","text":"TemporaryFile(/tmp/multipartBody5821296312562159508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860098051,"filename":"image_10122025_07_17_45_9953.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7dd98e8303648c8ae94f08738967ed10.jpg","text":"TemporaryFile(/tmp/multipartBody8425905536397434354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860098051,"filename":"image_10122025_07_08_35_9991.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85218d2c4289b47c85ed78a699df9dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6350992113169881874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860098051,"filename":"image_10122025_07_00_24_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306954","file1":"1401306952","file0":"1401306950","file4":"1401306959","file5":"1401306961","file3":"1401306957"},"map_files_photo_id_array":[{"photo_id":"1401306961","filename":"file5"},{"photo_id":"1401306954","filename":"file2"},{"photo_id":"1401306959","filename":"file4"},{"photo_id":"1401306952","filename":"file1"},{"photo_id":"1401306950","filename":"file0"},{"photo_id":"1401306957","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306957":["hashtag1","hashtag2"]},{"1401306954":["hashtag1","hashtag2"]},{"1401306959":["hashtag1","hashtag2"]},{"1401306950":["hashtag1","hashtag2"]},{"1401306952":["hashtag1","hashtag2"]},{"1401306961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306957, 1401306954, 1401306959, 1401306950, 1401306952, 1401306961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.968464136123657 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:28:02.753140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_55_9876.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_45_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_35_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_25_10886.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', '/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', '/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_55_9876.jpg', '/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_45_9880.jpg', '/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_35_9873.jpg', '/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_25_10886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg
/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg
/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_55_9876.jpg
/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_45_9880.jpg
/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_35_9873.jpg
/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_25_10886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306978","1401306972","1401306966","1401306974","1401306968","1401306970"],"photo_ids_order":["1401306966","1401306968","1401306970","1401306972","1401306974","1401306978"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a73092925e233dc98b282ea9163bf8dc.jpg","text":"TemporaryFile(/tmp/multipartBody7715138588992135681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860143698,"filename":"image_10122025_06_59_25_10886.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e8affd57ebd8bb8b7a67a36de1a50c2.jpg","text":"TemporaryFile(/tmp/multipartBody7313740521968103189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860143698,"filename":"image_10122025_06_59_45_9880.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93830395d9f06734d500d96b16128565.jpg","text":"TemporaryFile(/tmp/multipartBody8529983486634444919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860143698,"filename":"image_10122025_07_00_14_9892.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aeb7d30737a7d5539d1c654fb849aa92.jpg","text":"TemporaryFile(/tmp/multipartBody6896650937528008055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860143698,"filename":"image_10122025_06_59_35_9873.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15798b6875c10edb56ea90aa0c9a96e1.jpg","text":"TemporaryFile(/tmp/multipartBody6039449511449813363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860143698,"filename":"image_10122025_07_00_05_9877.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/212c21338bdccf45aff5d22dfa8b5e48.jpg","text":"TemporaryFile(/tmp/multipartBody3709909356140335239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860143698,"filename":"image_10122025_06_59_55_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306970","file1":"1401306968","file0":"1401306966","file4":"1401306974","file5":"1401306978","file3":"1401306972"},"map_files_photo_id_array":[{"photo_id":"1401306978","filename":"file5"},{"photo_id":"1401306970","filename":"file2"},{"photo_id":"1401306974","filename":"file4"},{"photo_id":"1401306968","filename":"file1"},{"photo_id":"1401306966","filename":"file0"},{"photo_id":"1401306972","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306978":["hashtag1","hashtag2"]},{"1401306972":["hashtag1","hashtag2"]},{"1401306966":["hashtag1","hashtag2"]},{"1401306974":["hashtag1","hashtag2"]},{"1401306968":["hashtag1","hashtag2"]},{"1401306970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306978, 1401306972, 1401306966, 1401306974, 1401306968, 1401306970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91723918914795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:28:47.244221
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_14_9891.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_59_04_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_54_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_45_9983.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_35_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_25_9880.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_14_9891.jpg', '/home/nano/Desktop/images/10122025/06/58/image_10122025_06_59_04_9887.jpg', '/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_54_9872.jpg', '/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_45_9983.jpg', '/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_35_9890.jpg', '/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_25_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_14_9891.jpg
/home/nano/Desktop/images/10122025/06/58/image_10122025_06_59_04_9887.jpg
/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_54_9872.jpg
/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_45_9983.jpg
/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_35_9890.jpg
/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_25_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401306990","1401306992","1401306995","1401306989","1401306991","1401306993"],"photo_ids_order":["1401306989","1401306990","1401306991","1401306992","1401306993","1401306995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c73c43ff63e0aeccb2a2547dbc8aa9ad.jpg","text":"TemporaryFile(/tmp/multipartBody2581707071434108584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860188118,"filename":"image_10122025_06_59_04_9887.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3cf8585a3973b4c3b70287e9d3f8767.jpg","text":"TemporaryFile(/tmp/multipartBody8541419299118404738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860188118,"filename":"image_10122025_06_58_45_9983.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbf407a3a348fd9a2b6fd0a2cd92cfff.jpg","text":"TemporaryFile(/tmp/multipartBody4691335568189234937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860188118,"filename":"image_10122025_06_58_25_9880.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2eaf76f4143cd31363c57f05d56da4b7.jpg","text":"TemporaryFile(/tmp/multipartBody8634930795214223488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860188118,"filename":"image_10122025_06_59_14_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/257572fae0a75941c8853a80303f6807.jpg","text":"TemporaryFile(/tmp/multipartBody4882191926217691832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860188118,"filename":"image_10122025_06_58_54_9872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a958d97c4fb0856cba4057d66644765f.jpg","text":"TemporaryFile(/tmp/multipartBody2782096442434290175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860188118,"filename":"image_10122025_06_58_35_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401306991","file1":"1401306990","file0":"1401306989","file4":"1401306993","file5":"1401306995","file3":"1401306992"},"map_files_photo_id_array":[{"photo_id":"1401306995","filename":"file5"},{"photo_id":"1401306991","filename":"file2"},{"photo_id":"1401306993","filename":"file4"},{"photo_id":"1401306990","filename":"file1"},{"photo_id":"1401306989","filename":"file0"},{"photo_id":"1401306992","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401306990":["hashtag1","hashtag2"]},{"1401306992":["hashtag1","hashtag2"]},{"1401306995":["hashtag1","hashtag2"]},{"1401306989":["hashtag1","hashtag2"]},{"1401306991":["hashtag1","hashtag2"]},{"1401306993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401306990, 1401306992, 1401306995, 1401306989, 1401306991, 1401306993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43409180641174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:29:32.398930
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_15_10024.jpg', 2), ('/home/nano/Desktop/images/10122025/06/57/image_10122025_06_58_05_9882.jpg', 2), ('/home/nano/Desktop/images/10122025/06/57/image_10122025_06_57_55_9970.jpg', 2), ('/home/nano/Desktop/images/10122025/06/56/image_10122025_06_56_34_9967.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_56_04_9909.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_54_9872.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_15_10024.jpg', '/home/nano/Desktop/images/10122025/06/57/image_10122025_06_58_05_9882.jpg', '/home/nano/Desktop/images/10122025/06/57/image_10122025_06_57_55_9970.jpg', '/home/nano/Desktop/images/10122025/06/56/image_10122025_06_56_34_9967.jpg', '/home/nano/Desktop/images/10122025/06/55/image_10122025_06_56_04_9909.jpg', '/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_54_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_15_10024.jpg
/home/nano/Desktop/images/10122025/06/57/image_10122025_06_58_05_9882.jpg
/home/nano/Desktop/images/10122025/06/57/image_10122025_06_57_55_9970.jpg
/home/nano/Desktop/images/10122025/06/56/image_10122025_06_56_34_9967.jpg
/home/nano/Desktop/images/10122025/06/55/image_10122025_06_56_04_9909.jpg
/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_54_9872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307014","1401307008","1401307017","1401307010","1401307018","1401307006"],"photo_ids_order":["1401307006","1401307008","1401307010","1401307014","1401307017","1401307018"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/324d68db0a772e2ba4b76dc3109af1b1.jpg","text":"TemporaryFile(/tmp/multipartBody6296477835654973002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860233285,"filename":"image_10122025_06_56_34_9967.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66506019eee80fd65a11ff0bb10a91ba.jpg","text":"TemporaryFile(/tmp/multipartBody1686208326612550220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860233285,"filename":"image_10122025_06_58_05_9882.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd0087c5ecad72f7b7977c82356515a7.jpg","text":"TemporaryFile(/tmp/multipartBody8986743762690956081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860233285,"filename":"image_10122025_06_56_04_9909.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf74dae1ae880d26984fdd2fdc44b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody3620144845632687532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860233285,"filename":"image_10122025_06_57_55_9970.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9fc8102b041fd17b5e4848e1b6f0280e.jpg","text":"TemporaryFile(/tmp/multipartBody6623555511091733974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860233285,"filename":"image_10122025_06_55_54_9872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5651e8fbc80fad000058e116ae469719.jpg","text":"TemporaryFile(/tmp/multipartBody9045189680852342010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860233285,"filename":"image_10122025_06_58_15_10024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307010","file1":"1401307008","file0":"1401307006","file4":"1401307017","file5":"1401307018","file3":"1401307014"},"map_files_photo_id_array":[{"photo_id":"1401307018","filename":"file5"},{"photo_id":"1401307010","filename":"file2"},{"photo_id":"1401307017","filename":"file4"},{"photo_id":"1401307008","filename":"file1"},{"photo_id":"1401307006","filename":"file0"},{"photo_id":"1401307014","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307014":["hashtag1","hashtag2"]},{"1401307008":["hashtag1","hashtag2"]},{"1401307017":["hashtag1","hashtag2"]},{"1401307010":["hashtag1","hashtag2"]},{"1401307018":["hashtag1","hashtag2"]},{"1401307006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307014, 1401307008, 1401307017, 1401307010, 1401307018, 1401307006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67232275009155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:30:17.470664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_15_10871.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_55_04_9888.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_54_9891.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', '/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', '/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', '/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_15_10871.jpg', '/home/nano/Desktop/images/10122025/06/54/image_10122025_06_55_04_9888.jpg', '/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_54_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg
/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg
/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg
/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_15_10871.jpg
/home/nano/Desktop/images/10122025/06/54/image_10122025_06_55_04_9888.jpg
/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_54_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307032","1401307026","1401307022","1401307028","1401307030","1401307024"],"photo_ids_order":["1401307022","1401307024","1401307026","1401307028","1401307030","1401307032"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c68a15872fd6d95e7ed1449a233a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1862909077653794720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860278362,"filename":"image_10122025_06_54_54_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b940c97a7164bd0b2018da6e784e02d9.jpg","text":"TemporaryFile(/tmp/multipartBody3312956677230025915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860278362,"filename":"image_10122025_06_55_25_9870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a21b8ffdb693e6f9beb355948b58223.jpg","text":"TemporaryFile(/tmp/multipartBody4616838826539798094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860278362,"filename":"image_10122025_06_55_45_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c82a51518c7de5d5688ab358d0e749ff.jpg","text":"TemporaryFile(/tmp/multipartBody930252392359057301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860278362,"filename":"image_10122025_06_55_15_10871.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/174f5faa17acf1a899cd3d0eef65d680.jpg","text":"TemporaryFile(/tmp/multipartBody2165678235589092851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860278362,"filename":"image_10122025_06_55_04_9888.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ab1555c68e5738cff2434ddce30215a.jpg","text":"TemporaryFile(/tmp/multipartBody2530209118739345156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860278362,"filename":"image_10122025_06_55_35_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307026","file1":"1401307024","file0":"1401307022","file4":"1401307030","file5":"1401307032","file3":"1401307028"},"map_files_photo_id_array":[{"photo_id":"1401307032","filename":"file5"},{"photo_id":"1401307026","filename":"file2"},{"photo_id":"1401307030","filename":"file4"},{"photo_id":"1401307024","filename":"file1"},{"photo_id":"1401307022","filename":"file0"},{"photo_id":"1401307028","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307032":["hashtag1","hashtag2"]},{"1401307026":["hashtag1","hashtag2"]},{"1401307022":["hashtag1","hashtag2"]},{"1401307028":["hashtag1","hashtag2"]},{"1401307030":["hashtag1","hashtag2"]},{"1401307024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307032, 1401307026, 1401307022, 1401307028, 1401307030, 1401307024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08068227767944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:31:03.273863
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_44_9900.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_34_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_44_9900.jpg', '/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_34_9953.jpg', '/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', '/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', '/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', '/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_44_9900.jpg
/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_34_9953.jpg
/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg
/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg
/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg
/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307047","1401307040","1401307037","1401307042","1401307039","1401307044"],"photo_ids_order":["1401307037","1401307039","1401307040","1401307042","1401307044","1401307047"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c81a5c43e75a9fea9c33fde04e526880.jpg","text":"TemporaryFile(/tmp/multipartBody5267499938669769651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860324236,"filename":"image_10122025_06_51_44_9846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de2d8225d7d10af2acdf39ba811cf40b.jpg","text":"TemporaryFile(/tmp/multipartBody8427236921520106492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860324236,"filename":"image_10122025_06_52_15_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b7ab74d3fcc08426d805921e8eec48c9.jpg","text":"TemporaryFile(/tmp/multipartBody8805190080444151060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860324236,"filename":"image_10122025_06_54_44_9900.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97053fd8f6b7c8688bf5eaef310d9f07.jpg","text":"TemporaryFile(/tmp/multipartBody4378501879003596640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860324236,"filename":"image_10122025_06_52_05_10869.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6dc3c5241b483f4747c6a18a80b9132.jpg","text":"TemporaryFile(/tmp/multipartBody6333752119271127762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860324236,"filename":"image_10122025_06_54_34_9953.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/871192a8837b9c12a34f7b047b3af613.jpg","text":"TemporaryFile(/tmp/multipartBody6408573745980844928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860324236,"filename":"image_10122025_06_51_54_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307040","file1":"1401307039","file0":"1401307037","file4":"1401307044","file5":"1401307047","file3":"1401307042"},"map_files_photo_id_array":[{"photo_id":"1401307047","filename":"file5"},{"photo_id":"1401307040","filename":"file2"},{"photo_id":"1401307044","filename":"file4"},{"photo_id":"1401307039","filename":"file1"},{"photo_id":"1401307037","filename":"file0"},{"photo_id":"1401307042","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307047":["hashtag1","hashtag2"]},{"1401307040":["hashtag1","hashtag2"]},{"1401307037":["hashtag1","hashtag2"]},{"1401307042":["hashtag1","hashtag2"]},{"1401307039":["hashtag1","hashtag2"]},{"1401307044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307047, 1401307040, 1401307037, 1401307042, 1401307039, 1401307044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35212469100952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:31:47.622741
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_15_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_55_9902.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_45_9936.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_35_9883.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', '/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', '/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_15_9971.jpg', '/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_55_9902.jpg', '/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_45_9936.jpg', '/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_35_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg
/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg
/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_15_9971.jpg
/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_55_9902.jpg
/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_45_9936.jpg
/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_35_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307055","1401307058","1401307060","1401307057","1401307062","1401307056"],"photo_ids_order":["1401307055","1401307056","1401307057","1401307058","1401307060","1401307062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e019460b34a7e9bce621f19dbc99efe8.jpg","text":"TemporaryFile(/tmp/multipartBody1466962842350466135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860368587,"filename":"image_10122025_06_51_34_9885.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fb32eba0fd896636a7d19e9633c438c.jpg","text":"TemporaryFile(/tmp/multipartBody7800718600829107730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860368587,"filename":"image_10122025_06_50_55_9902.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f93d323cda17b292f111c501fa56cfb6.jpg","text":"TemporaryFile(/tmp/multipartBody2642688613487231816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860368587,"filename":"image_10122025_06_50_45_9936.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d858c6088db00d27d7372de560635619.jpg","text":"TemporaryFile(/tmp/multipartBody778316763228341535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860368587,"filename":"image_10122025_06_51_15_9971.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b610ee326065b8c42069cadd5042e299.jpg","text":"TemporaryFile(/tmp/multipartBody1802452641641120070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860368587,"filename":"image_10122025_06_50_35_9883.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c455a4ac2c7576cd23f524e92b10f12f.jpg","text":"TemporaryFile(/tmp/multipartBody6055707898595675154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860368587,"filename":"image_10122025_06_51_25_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307057","file1":"1401307056","file0":"1401307055","file4":"1401307060","file5":"1401307062","file3":"1401307058"},"map_files_photo_id_array":[{"photo_id":"1401307062","filename":"file5"},{"photo_id":"1401307057","filename":"file2"},{"photo_id":"1401307060","filename":"file4"},{"photo_id":"1401307056","filename":"file1"},{"photo_id":"1401307055","filename":"file0"},{"photo_id":"1401307058","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307055":["hashtag1","hashtag2"]},{"1401307058":["hashtag1","hashtag2"]},{"1401307060":["hashtag1","hashtag2"]},{"1401307057":["hashtag1","hashtag2"]},{"1401307062":["hashtag1","hashtag2"]},{"1401307056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307055, 1401307058, 1401307060, 1401307057, 1401307062, 1401307056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3504695892334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:32:32.824996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_25_10837.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_14_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_48_05_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_55_10783.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_25_10837.jpg', '/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_14_9982.jpg', '/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', '/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', '/home/nano/Desktop/images/10122025/06/47/image_10122025_06_48_05_9894.jpg', '/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_55_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_25_10837.jpg
/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_14_9982.jpg
/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg
/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg
/home/nano/Desktop/images/10122025/06/47/image_10122025_06_48_05_9894.jpg
/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_55_10783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307259","1401307361","1401307328","1401307226","1401307396","1401307290"],"photo_ids_order":["1401307226","1401307259","1401307290","1401307328","1401307361","1401307396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59e75be555411090c2dc0e4692aef94f.jpg","text":"TemporaryFile(/tmp/multipartBody3110059740890787565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860413717,"filename":"image_10122025_06_50_14_9982.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d99d9810e4de2ec916a1f72cf4ffc7ec.jpg","text":"TemporaryFile(/tmp/multipartBody3485776545647365805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860413717,"filename":"image_10122025_06_48_05_9894.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/484e86cebce110365d68f36a3b94922f.jpg","text":"TemporaryFile(/tmp/multipartBody4493687458277389150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860413717,"filename":"image_10122025_06_48_15_9922.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e93cdc5ff3697b0f88010f7011e6c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2827661444585281766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860413717,"filename":"image_10122025_06_50_25_10837.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8df00c8650ee4ed79878c39f745766a6.jpg","text":"TemporaryFile(/tmp/multipartBody2028775866584520454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860413717,"filename":"image_10122025_06_47_55_10783.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/087ae5faf70a5618579a256cba624a39.jpg","text":"TemporaryFile(/tmp/multipartBody2077219113860797242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860413717,"filename":"image_10122025_06_48_25_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307290","file1":"1401307259","file0":"1401307226","file4":"1401307361","file5":"1401307396","file3":"1401307328"},"map_files_photo_id_array":[{"photo_id":"1401307396","filename":"file5"},{"photo_id":"1401307290","filename":"file2"},{"photo_id":"1401307361","filename":"file4"},{"photo_id":"1401307259","filename":"file1"},{"photo_id":"1401307226","filename":"file0"},{"photo_id":"1401307328","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307259":["hashtag1","hashtag2"]},{"1401307361":["hashtag1","hashtag2"]},{"1401307328":["hashtag1","hashtag2"]},{"1401307226":["hashtag1","hashtag2"]},{"1401307396":["hashtag1","hashtag2"]},{"1401307290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307259, 1401307361, 1401307328, 1401307226, 1401307396, 1401307290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.671462774276733 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:33:16.823876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_47_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_55_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', '/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg', '/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_25_10618.jpg', '/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_14_9632.jpg', '/home/nano/Desktop/images/10122025/06/46/image_10122025_06_47_05_9633.jpg', '/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg
/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg
/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_25_10618.jpg
/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_14_9632.jpg
/home/nano/Desktop/images/10122025/06/46/image_10122025_06_47_05_9633.jpg
/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_55_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":["1401307536","1401307530","1401307475","1401307532","1401307511","1401307534"],"photo_ids_order":["1401307475","1401307511","1401307530","1401307532","1401307534","1401307536"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d517bd3ded7c82dd18edbe7ed9e17d4.jpg","text":"TemporaryFile(/tmp/multipartBody479696803256919424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860457650,"filename":"image_10122025_06_46_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8d44bc49b5756b2b796f87a5beac6cc.jpg","text":"TemporaryFile(/tmp/multipartBody450914643717583794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860457650,"filename":"image_10122025_06_47_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efc0c70ff5117fc749c340811887423a.jpg","text":"TemporaryFile(/tmp/multipartBody4590155825908086531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860457650,"filename":"image_10122025_06_47_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/12/27/590d029a34043e4f5b40570529b1b2cf.jpg","text":"TemporaryFile(/tmp/multipartBody3614704586773129098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860457650,"filename":"image_10122025_06_47_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/12/27/d6327614b23d2789454a161c135cb06e.jpg","text":"TemporaryFile(/tmp/multipartBody8921881713117005119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860457650,"filename":"image_10122025_06_47_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/12/27/71f240a00822355aedb51aa2f9381f6f.jpg","text":"TemporaryFile(/tmp/multipartBody286777879110399164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860457650,"filename":"image_10122025_06_47_05_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307530","file1":"1401307511","file0":"1401307475","file4":"1401307534","file5":"1401307536","file3":"1401307532"},"map_files_photo_id_array":[{"photo_id":"1401307536","filename":"file5"},{"photo_id":"1401307530","filename":"file2"},{"photo_id":"1401307534","filename":"file4"},{"photo_id":"1401307511","filename":"file1"},{"photo_id":"1401307475","filename":"file0"},{"photo_id":"1401307532","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307536":["hashtag1","hashtag2"]},{"1401307530":["hashtag1","hashtag2"]},{"1401307475":["hashtag1","hashtag2"]},{"1401307532":["hashtag1","hashtag2"]},{"1401307511":["hashtag1","hashtag2"]},{"1401307534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307536, 1401307530, 1401307475, 1401307532, 1401307511, 1401307534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74705481529236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:34:02.653469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_35_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_46_05_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_44_9611.jpg', '/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_35_9612.jpg', '/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_25_10635.jpg', '/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_14_9632.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_46_05_10640.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_44_9611.jpg
/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_35_9612.jpg
/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_25_10635.jpg
/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_14_9632.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_46_05_10640.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_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":["1401307701","1401307694","1401307667","1401307696","1401307630","1401307698"],"photo_ids_order":["1401307630","1401307667","1401307694","1401307696","1401307698","1401307701"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cfbdf1eee0a48ebe0fd2d0987d3eb53.jpg","text":"TemporaryFile(/tmp/multipartBody548781634238923170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860503569,"filename":"image_10122025_06_45_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/12/27/9f2ac7d89bb7b19421754641fb8f89cd.jpg","text":"TemporaryFile(/tmp/multipartBody7355103721307575200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860503569,"filename":"image_10122025_06_46_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9533f45c5f67454fd30c8f9040a158d2.jpg","text":"TemporaryFile(/tmp/multipartBody5770079667863022195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860503569,"filename":"image_10122025_06_46_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5599ccefa51e6bc71e0aad1bf5cdf161.jpg","text":"TemporaryFile(/tmp/multipartBody5697983538130926615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860503569,"filename":"image_10122025_06_46_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/12/27/272f5fdd0841f35336df5314565dec98.jpg","text":"TemporaryFile(/tmp/multipartBody5591330441923255495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860503569,"filename":"image_10122025_06_46_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/12/27/c074fcc50a8b92518bdd67646c0f9fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5077894408879334791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860503569,"filename":"image_10122025_06_46_05_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307694","file1":"1401307667","file0":"1401307630","file4":"1401307698","file5":"1401307701","file3":"1401307696"},"map_files_photo_id_array":[{"photo_id":"1401307701","filename":"file5"},{"photo_id":"1401307694","filename":"file2"},{"photo_id":"1401307698","filename":"file4"},{"photo_id":"1401307667","filename":"file1"},{"photo_id":"1401307630","filename":"file0"},{"photo_id":"1401307696","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307701":["hashtag1","hashtag2"]},{"1401307694":["hashtag1","hashtag2"]},{"1401307667":["hashtag1","hashtag2"]},{"1401307696":["hashtag1","hashtag2"]},{"1401307630":["hashtag1","hashtag2"]},{"1401307698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307701, 1401307694, 1401307667, 1401307696, 1401307630, 1401307698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8917076587677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:34:46.979854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg', '/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg', '/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_54_9608.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7111966609954834 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:35:02.787697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg', '/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg', '/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg', '/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg
/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_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":["1401307721","1401307712","1401307715","1401307723","1401307717","1401307719"],"photo_ids_order":["1401307712","1401307715","1401307717","1401307719","1401307721","1401307723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/212845ba32fd12a18b396be64338b01f.jpg","text":"TemporaryFile(/tmp/multipartBody9204071722778637713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860563661,"filename":"image_10122025_06_45_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af787f6936ba820c537adb0bebe55a01.jpg","text":"TemporaryFile(/tmp/multipartBody3057143864651439682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860563661,"filename":"image_10122025_06_45_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c0691f0f605c157bbda091246683123.jpg","text":"TemporaryFile(/tmp/multipartBody5793823534195564143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860563661,"filename":"image_10122025_06_45_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b76c0e1190e289befee686e7c813d7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1802190712065926457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860563661,"filename":"image_10122025_06_44_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/12/27/cdf40977eca0819c8f575e63691b8369.jpg","text":"TemporaryFile(/tmp/multipartBody4705136359522950904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860563661,"filename":"image_10122025_06_45_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/12/27/734bab58fc3910471c04009f86321f62.jpg","text":"TemporaryFile(/tmp/multipartBody1982607882403652584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860563661,"filename":"image_10122025_06_45_15_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307717","file1":"1401307715","file0":"1401307712","file4":"1401307721","file5":"1401307723","file3":"1401307719"},"map_files_photo_id_array":[{"photo_id":"1401307723","filename":"file5"},{"photo_id":"1401307717","filename":"file2"},{"photo_id":"1401307721","filename":"file4"},{"photo_id":"1401307715","filename":"file1"},{"photo_id":"1401307712","filename":"file0"},{"photo_id":"1401307719","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307721":["hashtag1","hashtag2"]},{"1401307712":["hashtag1","hashtag2"]},{"1401307715":["hashtag1","hashtag2"]},{"1401307723":["hashtag1","hashtag2"]},{"1401307717":["hashtag1","hashtag2"]},{"1401307719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307721, 1401307712, 1401307715, 1401307723, 1401307717, 1401307719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1745707988739 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:35:47.071009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_44_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_55_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_45_10615.jpg', '/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_34_9615.jpg', '/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_25_9607.jpg', '/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_15_10643.jpg', '/home/nano/Desktop/images/10122025/06/43/image_10122025_06_44_04_9631.jpg', '/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_55_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_45_10615.jpg
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_34_9615.jpg
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_25_9607.jpg
/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_15_10643.jpg
/home/nano/Desktop/images/10122025/06/43/image_10122025_06_44_04_9631.jpg
/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_55_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":["1401307734","1401307736","1401307739","1401307741","1401307735","1401307737"],"photo_ids_order":["1401307734","1401307735","1401307736","1401307737","1401307739","1401307741"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4771335f82658285b18255302881f777.jpg","text":"TemporaryFile(/tmp/multipartBody891252309460540410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860607871,"filename":"image_10122025_06_44_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ef8d4a80725ee240be904ca1170287f.jpg","text":"TemporaryFile(/tmp/multipartBody4188753176816483367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860607871,"filename":"image_10122025_06_44_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3adc6e2e653451d8ab3e5f0b64e113b.jpg","text":"TemporaryFile(/tmp/multipartBody6663079105100414314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860607871,"filename":"image_10122025_06_44_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/12/27/fd51b72a70298acd0f6374f9c2e46c68.jpg","text":"TemporaryFile(/tmp/multipartBody2968671916416050560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860607871,"filename":"image_10122025_06_43_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d195bf9e6681b51e7afa1d7f5014ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4062728106671616730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860607871,"filename":"image_10122025_06_44_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/12/27/be5e0b813d9498234e7fc2efd03aa016.jpg","text":"TemporaryFile(/tmp/multipartBody611804449945334676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860607871,"filename":"image_10122025_06_44_15_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307736","file1":"1401307735","file0":"1401307734","file4":"1401307739","file5":"1401307741","file3":"1401307737"},"map_files_photo_id_array":[{"photo_id":"1401307741","filename":"file5"},{"photo_id":"1401307736","filename":"file2"},{"photo_id":"1401307739","filename":"file4"},{"photo_id":"1401307735","filename":"file1"},{"photo_id":"1401307734","filename":"file0"},{"photo_id":"1401307737","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307734":["hashtag1","hashtag2"]},{"1401307736":["hashtag1","hashtag2"]},{"1401307739":["hashtag1","hashtag2"]},{"1401307741":["hashtag1","hashtag2"]},{"1401307735":["hashtag1","hashtag2"]},{"1401307737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307734, 1401307736, 1401307739, 1401307741, 1401307735, 1401307737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.438512325286865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:36:32.207165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_55_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_44_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_44_9614.jpg', '/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_34_9612.jpg', '/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_25_10619.jpg', '/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_14_9629.jpg', '/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_55_10623.jpg', '/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_44_9614.jpg
/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_34_9612.jpg
/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_25_10619.jpg
/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_14_9629.jpg
/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_55_10623.jpg
/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_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":["1401307754","1401307757","1401307750","1401307756","1401307758","1401307752"],"photo_ids_order":["1401307750","1401307752","1401307754","1401307756","1401307757","1401307758"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f55e8168ba2b9c3762a11e6c5b36a48c.jpg","text":"TemporaryFile(/tmp/multipartBody560619942910301413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860653022,"filename":"image_10122025_06_43_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/112fe661a0913c11ac62fa42fdb6481e.jpg","text":"TemporaryFile(/tmp/multipartBody3063501419106427556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860653022,"filename":"image_10122025_06_42_55_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f84857694d772053934eeaf38d15218f.jpg","text":"TemporaryFile(/tmp/multipartBody2916316960211567491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860653022,"filename":"image_10122025_06_43_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/12/27/8bc461c27bcc67cb5ed13f6b3038d41e.jpg","text":"TemporaryFile(/tmp/multipartBody1957213694353203913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860653022,"filename":"image_10122025_06_43_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/12/27/d604f326fdd9a21b6d25d8fb9c8eb252.jpg","text":"TemporaryFile(/tmp/multipartBody6626375478525201527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860653022,"filename":"image_10122025_06_42_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/12/27/356acab99e72ff4155bd4adbbf975188.jpg","text":"TemporaryFile(/tmp/multipartBody7229853909333441064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860653022,"filename":"image_10122025_06_43_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307754","file1":"1401307752","file0":"1401307750","file4":"1401307757","file5":"1401307758","file3":"1401307756"},"map_files_photo_id_array":[{"photo_id":"1401307758","filename":"file5"},{"photo_id":"1401307754","filename":"file2"},{"photo_id":"1401307757","filename":"file4"},{"photo_id":"1401307752","filename":"file1"},{"photo_id":"1401307750","filename":"file0"},{"photo_id":"1401307756","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307754":["hashtag1","hashtag2"]},{"1401307757":["hashtag1","hashtag2"]},{"1401307750":["hashtag1","hashtag2"]},{"1401307756":["hashtag1","hashtag2"]},{"1401307758":["hashtag1","hashtag2"]},{"1401307752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307754, 1401307757, 1401307750, 1401307756, 1401307758, 1401307752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.18126606941223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:37:17.292191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_42_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_45_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_35_10625.jpg', '/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_24_9638.jpg', '/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_14_9630.jpg', '/home/nano/Desktop/images/10122025/06/41/image_10122025_06_42_05_10636.jpg', '/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_54_9621.jpg', '/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_45_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_35_10625.jpg
/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_24_9638.jpg
/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_14_9630.jpg
/home/nano/Desktop/images/10122025/06/41/image_10122025_06_42_05_10636.jpg
/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_54_9621.jpg
/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_45_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":["1401307769","1401307763","1401307771","1401307765","1401307773","1401307767"],"photo_ids_order":["1401307763","1401307765","1401307767","1401307769","1401307771","1401307773"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4239cedb38ac314c84346a5527eeef47.jpg","text":"TemporaryFile(/tmp/multipartBody767250631097733333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860698084,"filename":"image_10122025_06_42_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2353371cd48a98f7ce2047d1c1fed74.jpg","text":"TemporaryFile(/tmp/multipartBody4088052352962790125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860698084,"filename":"image_10122025_06_42_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74636cd3d99e7cd812c212ef51acbfbb.jpg","text":"TemporaryFile(/tmp/multipartBody2793595021363343856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860698084,"filename":"image_10122025_06_41_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/12/27/3e4ed70fb3bafb9289795511c7a9b4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8699855110916861907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860698084,"filename":"image_10122025_06_42_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/12/27/9bed8adc2df2a985333a036f6b2fc2c3.jpg","text":"TemporaryFile(/tmp/multipartBody4161411834852209878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860698084,"filename":"image_10122025_06_41_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3469834e9b07331d5dc11777178dd04e.jpg","text":"TemporaryFile(/tmp/multipartBody1173623369157586110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860698084,"filename":"image_10122025_06_42_14_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307767","file1":"1401307765","file0":"1401307763","file4":"1401307771","file5":"1401307773","file3":"1401307769"},"map_files_photo_id_array":[{"photo_id":"1401307773","filename":"file5"},{"photo_id":"1401307767","filename":"file2"},{"photo_id":"1401307771","filename":"file4"},{"photo_id":"1401307765","filename":"file1"},{"photo_id":"1401307763","filename":"file0"},{"photo_id":"1401307769","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307769":["hashtag1","hashtag2"]},{"1401307763":["hashtag1","hashtag2"]},{"1401307771":["hashtag1","hashtag2"]},{"1401307765":["hashtag1","hashtag2"]},{"1401307773":["hashtag1","hashtag2"]},{"1401307767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307769, 1401307763, 1401307771, 1401307765, 1401307773, 1401307767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.838255167007446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:38:03.057129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_41_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_54_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_45_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_35_10627.jpg', '/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_24_9608.jpg', '/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_15_10642.jpg', '/home/nano/Desktop/images/10122025/06/40/image_10122025_06_41_04_9621.jpg', '/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_54_9601.jpg', '/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_45_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_35_10627.jpg
/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_24_9608.jpg
/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_15_10642.jpg
/home/nano/Desktop/images/10122025/06/40/image_10122025_06_41_04_9621.jpg
/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_54_9601.jpg
/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_45_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":["1401307784","1401307789","1401307786","1401307780","1401307782","1401307779"],"photo_ids_order":["1401307779","1401307780","1401307782","1401307784","1401307786","1401307789"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bb0c8667affe2db885e89bf2d86adf97.jpg","text":"TemporaryFile(/tmp/multipartBody2718782040475054336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860743954,"filename":"image_10122025_06_41_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/12/27/52b2bce0b09192de1cf646fde288fc9b.jpg","text":"TemporaryFile(/tmp/multipartBody3824171147454917236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860743954,"filename":"image_10122025_06_40_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91afc94130197f05c3c34e548ee64dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7366035671940256880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860743954,"filename":"image_10122025_06_40_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/12/27/b6d21322d67807f044ef1b468c0fc937.jpg","text":"TemporaryFile(/tmp/multipartBody8863910584457797166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860743954,"filename":"image_10122025_06_41_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/12/27/f5a4dee427689ae03f68067332999fde.jpg","text":"TemporaryFile(/tmp/multipartBody3695150623523156440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860743954,"filename":"image_10122025_06_41_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a531d74c3809c1364917431efd630c4.jpg","text":"TemporaryFile(/tmp/multipartBody3491764300955578822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860743954,"filename":"image_10122025_06_41_35_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307782","file1":"1401307780","file0":"1401307779","file4":"1401307786","file5":"1401307789","file3":"1401307784"},"map_files_photo_id_array":[{"photo_id":"1401307789","filename":"file5"},{"photo_id":"1401307782","filename":"file2"},{"photo_id":"1401307786","filename":"file4"},{"photo_id":"1401307780","filename":"file1"},{"photo_id":"1401307779","filename":"file0"},{"photo_id":"1401307784","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307784":["hashtag1","hashtag2"]},{"1401307789":["hashtag1","hashtag2"]},{"1401307786":["hashtag1","hashtag2"]},{"1401307780":["hashtag1","hashtag2"]},{"1401307782":["hashtag1","hashtag2"]},{"1401307779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307784, 1401307789, 1401307786, 1401307780, 1401307782, 1401307779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82618236541748 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:38:47.413599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_34_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_25_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_40_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_35_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_34_9632.jpg', '/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_25_9613.jpg', '/home/nano/Desktop/images/10122025/06/39/image_10122025_06_40_04_9605.jpg', '/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_55_10620.jpg', '/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_44_9627.jpg', '/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_35_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_34_9632.jpg
/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_25_9613.jpg
/home/nano/Desktop/images/10122025/06/39/image_10122025_06_40_04_9605.jpg
/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_55_10620.jpg
/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_44_9627.jpg
/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_35_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":["1401307803","1401307802","1401307805","1401307801","1401307804","1401307807"],"photo_ids_order":["1401307801","1401307802","1401307803","1401307804","1401307805","1401307807"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d89ff1c1ab5f2b5ce530153e7dbb7cef.jpg","text":"TemporaryFile(/tmp/multipartBody2253198678039160970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860788211,"filename":"image_10122025_06_40_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/12/27/652b2cac2ae9d1ef7abeaa7bdd59618e.jpg","text":"TemporaryFile(/tmp/multipartBody636765194814890115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860788211,"filename":"image_10122025_06_40_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/481e54e2427741ecc8b8ac221af97945.jpg","text":"TemporaryFile(/tmp/multipartBody7182181827536116097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860788211,"filename":"image_10122025_06_39_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/12/27/d2a17632c36ec968afc27f4b3c3d1e64.jpg","text":"TemporaryFile(/tmp/multipartBody8798647777698898837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860788211,"filename":"image_10122025_06_40_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/12/27/9d215e8adae644ab3f902a6961cad5c6.jpg","text":"TemporaryFile(/tmp/multipartBody7683178653033108544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860788211,"filename":"image_10122025_06_39_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9ab3e6e0e4fb98ab3a285e2d9451192.jpg","text":"TemporaryFile(/tmp/multipartBody6421777808775124846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860788211,"filename":"image_10122025_06_39_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307803","file1":"1401307802","file0":"1401307801","file4":"1401307805","file5":"1401307807","file3":"1401307804"},"map_files_photo_id_array":[{"photo_id":"1401307807","filename":"file5"},{"photo_id":"1401307803","filename":"file2"},{"photo_id":"1401307805","filename":"file4"},{"photo_id":"1401307802","filename":"file1"},{"photo_id":"1401307801","filename":"file0"},{"photo_id":"1401307804","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307803":["hashtag1","hashtag2"]},{"1401307802":["hashtag1","hashtag2"]},{"1401307805":["hashtag1","hashtag2"]},{"1401307801":["hashtag1","hashtag2"]},{"1401307804":["hashtag1","hashtag2"]},{"1401307807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307803, 1401307802, 1401307805, 1401307801, 1401307804, 1401307807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.200029373168945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:39:32.548613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_39_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_55_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_35_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_25_10632.jpg', '/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_14_9620.jpg', '/home/nano/Desktop/images/10122025/06/38/image_10122025_06_39_05_9606.jpg', '/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_55_10607.jpg', '/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_44_9613.jpg', '/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_35_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_25_10632.jpg
/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_14_9620.jpg
/home/nano/Desktop/images/10122025/06/38/image_10122025_06_39_05_9606.jpg
/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_55_10607.jpg
/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_44_9613.jpg
/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_35_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":["1401307820","1401307823","1401307817","1401307814","1401307816","1401307824"],"photo_ids_order":["1401307814","1401307816","1401307817","1401307820","1401307823","1401307824"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4083e98053f5bdc0c8f1438c36a28b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6250375786173028629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860833373,"filename":"image_10122025_06_38_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dad91073b03ea11f3ef41957ff2a5073.jpg","text":"TemporaryFile(/tmp/multipartBody7501714661481859956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860833373,"filename":"image_10122025_06_38_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/12/27/076d3b6976394bd116bdf60d11bb0261.jpg","text":"TemporaryFile(/tmp/multipartBody4010055521179251045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860833373,"filename":"image_10122025_06_39_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a742a7a7c65eb5dfcea4aef797c9f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody5148453923633705414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860833373,"filename":"image_10122025_06_39_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9ee3866ca7f9c7d1bb93639740003a6.jpg","text":"TemporaryFile(/tmp/multipartBody6676013652511797633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860833373,"filename":"image_10122025_06_39_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/12/27/eccba78e83482a3088edc42ec1010fad.jpg","text":"TemporaryFile(/tmp/multipartBody947277825485472945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860833373,"filename":"image_10122025_06_38_35_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307817","file1":"1401307816","file0":"1401307814","file4":"1401307823","file5":"1401307824","file3":"1401307820"},"map_files_photo_id_array":[{"photo_id":"1401307824","filename":"file5"},{"photo_id":"1401307817","filename":"file2"},{"photo_id":"1401307823","filename":"file4"},{"photo_id":"1401307816","filename":"file1"},{"photo_id":"1401307814","filename":"file0"},{"photo_id":"1401307820","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307820":["hashtag1","hashtag2"]},{"1401307823":["hashtag1","hashtag2"]},{"1401307817":["hashtag1","hashtag2"]},{"1401307814":["hashtag1","hashtag2"]},{"1401307816":["hashtag1","hashtag2"]},{"1401307824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307820, 1401307823, 1401307817, 1401307814, 1401307816, 1401307824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97209596633911 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:40:17.632738
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_24_9677.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_14_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_38_05_10684.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_54_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_45_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_35_9731.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_24_9677.jpg', '/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_14_9685.jpg', '/home/nano/Desktop/images/10122025/06/37/image_10122025_06_38_05_10684.jpg', '/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_54_9611.jpg', '/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_45_9719.jpg', '/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_35_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_24_9677.jpg
/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_14_9685.jpg
/home/nano/Desktop/images/10122025/06/37/image_10122025_06_38_05_10684.jpg
/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_54_9611.jpg
/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_45_9719.jpg
/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_35_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307829","1401307838","1401307831","1401307840","1401307834","1401307836"],"photo_ids_order":["1401307829","1401307831","1401307834","1401307836","1401307838","1401307840"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76cb809507b0688764265cca5b889ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3354561733795170633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860878473,"filename":"image_10122025_06_38_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ef80d1d7fa5de8f2ee08ca5c3d86d4f.jpg","text":"TemporaryFile(/tmp/multipartBody4448270971072124370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860878473,"filename":"image_10122025_06_37_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b121f55f64e04ec411ec72beb6172cf3.jpg","text":"TemporaryFile(/tmp/multipartBody7514314376654375438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860878473,"filename":"image_10122025_06_38_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/12/27/250612912fd924de6254782cda1c59a2.jpg","text":"TemporaryFile(/tmp/multipartBody4034088910788782701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860878473,"filename":"image_10122025_06_37_35_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/376031e30e55081c51b1b8441970f6d7.jpg","text":"TemporaryFile(/tmp/multipartBody6322318154203258316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860878473,"filename":"image_10122025_06_38_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6650f171a1f6d8b61e70af8a56eae4f4.jpg","text":"TemporaryFile(/tmp/multipartBody749885713119843585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860878473,"filename":"image_10122025_06_37_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307834","file1":"1401307831","file0":"1401307829","file4":"1401307838","file5":"1401307840","file3":"1401307836"},"map_files_photo_id_array":[{"photo_id":"1401307840","filename":"file5"},{"photo_id":"1401307834","filename":"file2"},{"photo_id":"1401307838","filename":"file4"},{"photo_id":"1401307831","filename":"file1"},{"photo_id":"1401307829","filename":"file0"},{"photo_id":"1401307836","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307829":["hashtag1","hashtag2"]},{"1401307838":["hashtag1","hashtag2"]},{"1401307831":["hashtag1","hashtag2"]},{"1401307840":["hashtag1","hashtag2"]},{"1401307834":["hashtag1","hashtag2"]},{"1401307836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307829, 1401307838, 1401307831, 1401307840, 1401307834, 1401307836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41943120956421 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:41:03.363990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_25_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_14_9785.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_37_05_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_55_10699.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_35_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_25_10745.jpg', '/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_14_9785.jpg', '/home/nano/Desktop/images/10122025/06/36/image_10122025_06_37_05_9699.jpg', '/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_55_10699.jpg', '/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_44_9624.jpg', '/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_35_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_25_10745.jpg
/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_14_9785.jpg
/home/nano/Desktop/images/10122025/06/36/image_10122025_06_37_05_9699.jpg
/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_55_10699.jpg
/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_44_9624.jpg
/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_35_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":["1401307848","1401307853","1401307847","1401307850","1401307851","1401307845"],"photo_ids_order":["1401307845","1401307847","1401307848","1401307850","1401307851","1401307853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00df6f7932a9cc74fbe89a901daae4d3.jpg","text":"TemporaryFile(/tmp/multipartBody3092684659234932479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860924239,"filename":"image_10122025_06_37_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8bd897bcfc1c64f174afa2edccd8f78.jpg","text":"TemporaryFile(/tmp/multipartBody4725848233231755761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860924239,"filename":"image_10122025_06_36_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ece624c68f9bad9ce82c728e7688dca.jpg","text":"TemporaryFile(/tmp/multipartBody968442146650141119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860924239,"filename":"image_10122025_06_37_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/608bd08ef5771d0534c01b19f175e4b9.jpg","text":"TemporaryFile(/tmp/multipartBody965020014517934737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860924239,"filename":"image_10122025_06_36_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/682024dc9cd3e423d15a4b9c47807654.jpg","text":"TemporaryFile(/tmp/multipartBody665912784388678825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860924239,"filename":"image_10122025_06_36_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/12/27/f63a64eab258a2c4cd21c7f5b0c0f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody2707166385937354063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860924239,"filename":"image_10122025_06_37_25_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307848","file1":"1401307847","file0":"1401307845","file4":"1401307851","file5":"1401307853","file3":"1401307850"},"map_files_photo_id_array":[{"photo_id":"1401307853","filename":"file5"},{"photo_id":"1401307848","filename":"file2"},{"photo_id":"1401307851","filename":"file4"},{"photo_id":"1401307847","filename":"file1"},{"photo_id":"1401307845","filename":"file0"},{"photo_id":"1401307850","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307848":["hashtag1","hashtag2"]},{"1401307853":["hashtag1","hashtag2"]},{"1401307847":["hashtag1","hashtag2"]},{"1401307850":["hashtag1","hashtag2"]},{"1401307851":["hashtag1","hashtag2"]},{"1401307845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307848, 1401307853, 1401307847, 1401307850, 1401307851, 1401307845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48199462890625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:41:47.772266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_36_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_55_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_35_10601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_25_10607.jpg', '/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_14_9609.jpg', '/home/nano/Desktop/images/10122025/06/35/image_10122025_06_36_05_9608.jpg', '/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_55_10604.jpg', '/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_44_9607.jpg', '/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_35_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_25_10607.jpg
/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_14_9609.jpg
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_36_05_9608.jpg
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_55_10604.jpg
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_44_9607.jpg
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_35_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":["1401307865","1401307862","1401307864","1401307867","1401307869","1401307863"],"photo_ids_order":["1401307862","1401307863","1401307864","1401307865","1401307867","1401307869"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9cf4759c7739dd4f92c4e77b93b09de.jpg","text":"TemporaryFile(/tmp/multipartBody9015082139717384251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860968578,"filename":"image_10122025_06_35_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ee3dd838c5ef2f92ea199e6321ac977.jpg","text":"TemporaryFile(/tmp/multipartBody6330234280813178267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860968578,"filename":"image_10122025_06_36_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58556205ffd5e3574e649b7e5a11e99b.jpg","text":"TemporaryFile(/tmp/multipartBody1192320846867084418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860968578,"filename":"image_10122025_06_36_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2578722a8f438142327260278619b888.jpg","text":"TemporaryFile(/tmp/multipartBody3744288275802557663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860968578,"filename":"image_10122025_06_35_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/12/27/e3a70c2687fa475789868fc05f11923e.jpg","text":"TemporaryFile(/tmp/multipartBody5186744091154014513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860968578,"filename":"image_10122025_06_35_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6eb9fe1f0796c2a585655517e63a2c3b.jpg","text":"TemporaryFile(/tmp/multipartBody2714662535352654634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766860968578,"filename":"image_10122025_06_36_14_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307864","file1":"1401307863","file0":"1401307862","file4":"1401307867","file5":"1401307869","file3":"1401307865"},"map_files_photo_id_array":[{"photo_id":"1401307869","filename":"file5"},{"photo_id":"1401307864","filename":"file2"},{"photo_id":"1401307867","filename":"file4"},{"photo_id":"1401307863","filename":"file1"},{"photo_id":"1401307862","filename":"file0"},{"photo_id":"1401307865","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307865":["hashtag1","hashtag2"]},{"1401307862":["hashtag1","hashtag2"]},{"1401307864":["hashtag1","hashtag2"]},{"1401307867":["hashtag1","hashtag2"]},{"1401307869":["hashtag1","hashtag2"]},{"1401307863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307865, 1401307862, 1401307864, 1401307867, 1401307869, 1401307863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.799795627593994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:42:31.853952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg', '/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_9611.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.680382490158081 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:42:46.874710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg', '/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg
/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_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":["1401307883","1401307886","1401307888","1401307885","1401307890","1401307887"],"photo_ids_order":["1401307883","1401307885","1401307886","1401307887","1401307888","1401307890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9736c80976765a39133f6756436f28f6.jpg","text":"TemporaryFile(/tmp/multipartBody6767568420457425508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861027662,"filename":"image_10122025_06_35_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5b69b444aae0beb4e454a13ab3d6801.jpg","text":"TemporaryFile(/tmp/multipartBody7676254862833614679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861027662,"filename":"image_10122025_06_35_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7c4f4755939adf6527df67646bc9869e.jpg","text":"TemporaryFile(/tmp/multipartBody1064415842685066598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861027662,"filename":"image_10122025_06_34_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d672a4e90defe4deeea00b87d8f687de.jpg","text":"TemporaryFile(/tmp/multipartBody3263646383454846261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861027662,"filename":"image_10122025_06_35_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27bca131eb00f76ce5baf6a20c4aa0fc.jpg","text":"TemporaryFile(/tmp/multipartBody2988713426791906854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861027662,"filename":"image_10122025_06_34_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/12/27/00b5882afa6d9269d589274e848ba970.jpg","text":"TemporaryFile(/tmp/multipartBody3671096638324326258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861027662,"filename":"image_10122025_06_34_54_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307886","file1":"1401307885","file0":"1401307883","file4":"1401307888","file5":"1401307890","file3":"1401307887"},"map_files_photo_id_array":[{"photo_id":"1401307890","filename":"file5"},{"photo_id":"1401307886","filename":"file2"},{"photo_id":"1401307888","filename":"file4"},{"photo_id":"1401307885","filename":"file1"},{"photo_id":"1401307883","filename":"file0"},{"photo_id":"1401307887","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307883":["hashtag1","hashtag2"]},{"1401307886":["hashtag1","hashtag2"]},{"1401307888":["hashtag1","hashtag2"]},{"1401307885":["hashtag1","hashtag2"]},{"1401307890":["hashtag1","hashtag2"]},{"1401307887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307883, 1401307886, 1401307888, 1401307885, 1401307890, 1401307887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37091040611267 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:43:31.979755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_25_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_15_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_34_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_55_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_35_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_25_9587.jpg', '/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_15_10609.jpg', '/home/nano/Desktop/images/10122025/06/33/image_10122025_06_34_04_9600.jpg', '/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_55_10597.jpg', '/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_44_9594.jpg', '/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_35_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_25_9587.jpg
/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_15_10609.jpg
/home/nano/Desktop/images/10122025/06/33/image_10122025_06_34_04_9600.jpg
/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_55_10597.jpg
/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_44_9594.jpg
/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_35_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":["1401307905","1401307902","1401307901","1401307904","1401307906","1401307899"],"photo_ids_order":["1401307899","1401307901","1401307902","1401307904","1401307905","1401307906"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84b5c92c4cdbe131413e7a711344faac.jpg","text":"TemporaryFile(/tmp/multipartBody5538899774568556048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861072790,"filename":"image_10122025_06_33_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5b3514f949d6169d4d4fcaa49f840c0.jpg","text":"TemporaryFile(/tmp/multipartBody8720263281082025710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861072790,"filename":"image_10122025_06_34_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/12/27/690842c572be49061b44d69488195bcb.jpg","text":"TemporaryFile(/tmp/multipartBody1085086833591451524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861072790,"filename":"image_10122025_06_34_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66a22342fe12db146fb93f670a8d4ee5.jpg","text":"TemporaryFile(/tmp/multipartBody5248494014244608806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861072790,"filename":"image_10122025_06_33_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fca8c2a082890523b0733c17736dc131.jpg","text":"TemporaryFile(/tmp/multipartBody8665267556297105548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861072790,"filename":"image_10122025_06_33_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c864a418c8136f209d12256e4c54a065.jpg","text":"TemporaryFile(/tmp/multipartBody8084448929040302121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861072790,"filename":"image_10122025_06_34_25_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307902","file1":"1401307901","file0":"1401307899","file4":"1401307905","file5":"1401307906","file3":"1401307904"},"map_files_photo_id_array":[{"photo_id":"1401307906","filename":"file5"},{"photo_id":"1401307902","filename":"file2"},{"photo_id":"1401307905","filename":"file4"},{"photo_id":"1401307901","filename":"file1"},{"photo_id":"1401307899","filename":"file0"},{"photo_id":"1401307904","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307905":["hashtag1","hashtag2"]},{"1401307902":["hashtag1","hashtag2"]},{"1401307901":["hashtag1","hashtag2"]},{"1401307904":["hashtag1","hashtag2"]},{"1401307906":["hashtag1","hashtag2"]},{"1401307899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307905, 1401307902, 1401307901, 1401307904, 1401307906, 1401307899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.70516848564148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:44:17.073445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_33_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_54_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_45_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_35_10603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_25_10613.jpg', '/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_14_9607.jpg', '/home/nano/Desktop/images/10122025/06/32/image_10122025_06_33_05_10644.jpg', '/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_54_9589.jpg', '/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_45_9590.jpg', '/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_35_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_25_10613.jpg
/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_14_9607.jpg
/home/nano/Desktop/images/10122025/06/32/image_10122025_06_33_05_10644.jpg
/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_54_9589.jpg
/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_45_9590.jpg
/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_35_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307911","1401307920","1401307922","1401307916","1401307913","1401307924"],"photo_ids_order":["1401307911","1401307913","1401307916","1401307920","1401307922","1401307924"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c52967b0f7976f758bfcd15ef12c93b5.jpg","text":"TemporaryFile(/tmp/multipartBody5173934177905004865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861117877,"filename":"image_10122025_06_33_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fd08e985f7ff89b3e4a9082556408bd.jpg","text":"TemporaryFile(/tmp/multipartBody7839812493360068430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861117877,"filename":"image_10122025_06_32_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/12/27/0bd47f16faf12e901f04f553b317f424.jpg","text":"TemporaryFile(/tmp/multipartBody549709552468367774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861117877,"filename":"image_10122025_06_32_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9fef7fcaf97bbde2ea19f4d127e8b4f.jpg","text":"TemporaryFile(/tmp/multipartBody221467565685642530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861117877,"filename":"image_10122025_06_33_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93e2c2c94a76bf996367a866aaa4259b.jpg","text":"TemporaryFile(/tmp/multipartBody5391038374671179708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861117877,"filename":"image_10122025_06_33_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebd8375289acffe898efadc4a1400a66.jpg","text":"TemporaryFile(/tmp/multipartBody7949445802349913532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861117877,"filename":"image_10122025_06_32_35_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307916","file1":"1401307913","file0":"1401307911","file4":"1401307922","file5":"1401307924","file3":"1401307920"},"map_files_photo_id_array":[{"photo_id":"1401307924","filename":"file5"},{"photo_id":"1401307916","filename":"file2"},{"photo_id":"1401307922","filename":"file4"},{"photo_id":"1401307913","filename":"file1"},{"photo_id":"1401307911","filename":"file0"},{"photo_id":"1401307920","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307911":["hashtag1","hashtag2"]},{"1401307920":["hashtag1","hashtag2"]},{"1401307922":["hashtag1","hashtag2"]},{"1401307916":["hashtag1","hashtag2"]},{"1401307913":["hashtag1","hashtag2"]},{"1401307924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307911, 1401307920, 1401307922, 1401307916, 1401307913, 1401307924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.697834014892578 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:45:02.949578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_32_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_55_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_34_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_24_9613.jpg', '/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_15_10632.jpg', '/home/nano/Desktop/images/10122025/06/31/image_10122025_06_32_04_9614.jpg', '/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_55_9590.jpg', '/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_45_10600.jpg', '/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_34_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_24_9613.jpg
/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_15_10632.jpg
/home/nano/Desktop/images/10122025/06/31/image_10122025_06_32_04_9614.jpg
/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_55_9590.jpg
/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_45_10600.jpg
/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_34_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401307932","1401307934","1401307931","1401307936","1401307941","1401307938"],"photo_ids_order":["1401307931","1401307932","1401307934","1401307936","1401307938","1401307941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4df45efabe59bac50678762f259cd743.jpg","text":"TemporaryFile(/tmp/multipartBody8872208780038860475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861163826,"filename":"image_10122025_06_32_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/808671ef49005aa7988e5035bc2b851c.jpg","text":"TemporaryFile(/tmp/multipartBody8503829764425006362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861163826,"filename":"image_10122025_06_32_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/12/27/d61594d5cac5574af371a8c5963f43f4.jpg","text":"TemporaryFile(/tmp/multipartBody2790087043877243150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861163826,"filename":"image_10122025_06_32_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/12/27/d8d5fe49c5efdddfd537fc07c9db3c28.jpg","text":"TemporaryFile(/tmp/multipartBody2397393616649226559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861163826,"filename":"image_10122025_06_31_55_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3134be4b3af72769a626915a22e67179.jpg","text":"TemporaryFile(/tmp/multipartBody5057123458854012378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861163826,"filename":"image_10122025_06_31_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/12/27/6a502c2f37339bc4b845a98183b768d3.jpg","text":"TemporaryFile(/tmp/multipartBody3764447764849376953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861163826,"filename":"image_10122025_06_31_45_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307934","file1":"1401307932","file0":"1401307931","file4":"1401307938","file5":"1401307941","file3":"1401307936"},"map_files_photo_id_array":[{"photo_id":"1401307941","filename":"file5"},{"photo_id":"1401307934","filename":"file2"},{"photo_id":"1401307938","filename":"file4"},{"photo_id":"1401307932","filename":"file1"},{"photo_id":"1401307931","filename":"file0"},{"photo_id":"1401307936","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307932":["hashtag1","hashtag2"]},{"1401307934":["hashtag1","hashtag2"]},{"1401307931":["hashtag1","hashtag2"]},{"1401307936":["hashtag1","hashtag2"]},{"1401307941":["hashtag1","hashtag2"]},{"1401307938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307932, 1401307934, 1401307931, 1401307936, 1401307941, 1401307938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20464563369751 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:45:47.195648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_14_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_31_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_55_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_35_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_25_10599.jpg', '/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_14_9603.jpg', '/home/nano/Desktop/images/10122025/06/30/image_10122025_06_31_05_9604.jpg', '/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_55_10608.jpg', '/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_44_9599.jpg', '/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_35_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_25_10599.jpg
/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_14_9603.jpg
/home/nano/Desktop/images/10122025/06/30/image_10122025_06_31_05_9604.jpg
/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_55_10608.jpg
/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_44_9599.jpg
/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_35_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":["1401307949","1401307951","1401307954","1401307948","1401307953","1401307950"],"photo_ids_order":["1401307948","1401307949","1401307950","1401307951","1401307953","1401307954"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4842f9c4138127b2477bbee4a904c962.jpg","text":"TemporaryFile(/tmp/multipartBody7033148982729232471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861207988,"filename":"image_10122025_06_31_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49f7f85feab2e08350c8c51461a67eae.jpg","text":"TemporaryFile(/tmp/multipartBody7104653119873992170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861207988,"filename":"image_10122025_06_30_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/262046433db8e945b91f65a325f0c2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2325595737552376498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861207988,"filename":"image_10122025_06_30_35_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51a1ab9bbf4c64b2b75fef9193569448.jpg","text":"TemporaryFile(/tmp/multipartBody3696030839986976892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861207988,"filename":"image_10122025_06_31_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7789f0dbf1b182a3d7d77af4e6d4211.jpg","text":"TemporaryFile(/tmp/multipartBody4828543030511657649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861207988,"filename":"image_10122025_06_30_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/12/27/7c5946568291067f76876ad6f8add766.jpg","text":"TemporaryFile(/tmp/multipartBody8671293240119992491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861207988,"filename":"image_10122025_06_31_05_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307950","file1":"1401307949","file0":"1401307948","file4":"1401307953","file5":"1401307954","file3":"1401307951"},"map_files_photo_id_array":[{"photo_id":"1401307954","filename":"file5"},{"photo_id":"1401307950","filename":"file2"},{"photo_id":"1401307953","filename":"file4"},{"photo_id":"1401307949","filename":"file1"},{"photo_id":"1401307948","filename":"file0"},{"photo_id":"1401307951","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307949":["hashtag1","hashtag2"]},{"1401307951":["hashtag1","hashtag2"]},{"1401307954":["hashtag1","hashtag2"]},{"1401307948":["hashtag1","hashtag2"]},{"1401307953":["hashtag1","hashtag2"]},{"1401307950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307949, 1401307951, 1401307954, 1401307948, 1401307953, 1401307950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.84928584098816 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:46:32.308261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_30_05_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_35_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_24_9613.jpg', '/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_14_9635.jpg', '/home/nano/Desktop/images/10122025/06/29/image_10122025_06_30_05_10649.jpg', '/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_54_9618.jpg', '/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_45_9594.jpg', '/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_35_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_24_9613.jpg
/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_14_9635.jpg
/home/nano/Desktop/images/10122025/06/29/image_10122025_06_30_05_10649.jpg
/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_54_9618.jpg
/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_45_9594.jpg
/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_35_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":["1401307970","1401307964","1401307966","1401307971","1401307968","1401307962"],"photo_ids_order":["1401307962","1401307964","1401307966","1401307968","1401307970","1401307971"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43b3412adecf512c867db8592edc725e.jpg","text":"TemporaryFile(/tmp/multipartBody6009936801518168630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861253130,"filename":"image_10122025_06_29_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a92ed4658e7f0c480648316ff6b7ab73.jpg","text":"TemporaryFile(/tmp/multipartBody6461348718907861001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861253130,"filename":"image_10122025_06_30_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/12/27/5204efc3bd20dfaff80a20eb92f331d6.jpg","text":"TemporaryFile(/tmp/multipartBody2973173669772835751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861253130,"filename":"image_10122025_06_30_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed12d0604e91a15e3996bf76cca1b54f.jpg","text":"TemporaryFile(/tmp/multipartBody8854893365650040628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861253130,"filename":"image_10122025_06_29_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e607b9ee45d8e3071f13524d0b0f9ab4.jpg","text":"TemporaryFile(/tmp/multipartBody3857824217550649646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861253130,"filename":"image_10122025_06_29_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/12/27/8c717306bf0e5b8b5ac5a6afb48b2c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7939238356688952574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861253130,"filename":"image_10122025_06_30_24_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307966","file1":"1401307964","file0":"1401307962","file4":"1401307970","file5":"1401307971","file3":"1401307968"},"map_files_photo_id_array":[{"photo_id":"1401307971","filename":"file5"},{"photo_id":"1401307966","filename":"file2"},{"photo_id":"1401307970","filename":"file4"},{"photo_id":"1401307964","filename":"file1"},{"photo_id":"1401307962","filename":"file0"},{"photo_id":"1401307968","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307970":["hashtag1","hashtag2"]},{"1401307964":["hashtag1","hashtag2"]},{"1401307966":["hashtag1","hashtag2"]},{"1401307971":["hashtag1","hashtag2"]},{"1401307968":["hashtag1","hashtag2"]},{"1401307962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307970, 1401307964, 1401307966, 1401307971, 1401307968, 1401307962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.129899263381958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:47:17.395155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_25_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_24_9602.jpg', '/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_15_10632.jpg', '/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_55_9603.jpg', '/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_45_10614.jpg', '/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_34_9607.jpg', '/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_25_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_24_9602.jpg
/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_15_10632.jpg
/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_55_9603.jpg
/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_45_10614.jpg
/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_34_9607.jpg
/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_25_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":["1401307982","1401307976","1401307984","1401307978","1401307986","1401307980"],"photo_ids_order":["1401307976","1401307978","1401307980","1401307982","1401307984","1401307986"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75179c87bc1d585c3f64d225c7f3deda.jpg","text":"TemporaryFile(/tmp/multipartBody2906912284392695186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861298213,"filename":"image_10122025_06_28_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8633475fead12f9b9f7d839081f7b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5396001305167272767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861298213,"filename":"image_10122025_06_29_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/12/27/7482b7f487a3101626d503949405330c.jpg","text":"TemporaryFile(/tmp/multipartBody5207029101367639196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861298213,"filename":"image_10122025_06_28_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/12/27/bc906d1647823ece5ed3e234734cc26b.jpg","text":"TemporaryFile(/tmp/multipartBody7111994813250285512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861298213,"filename":"image_10122025_06_29_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3488c503535fd738ca71b3b8bf23c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody8373276881476771159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861298213,"filename":"image_10122025_06_28_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/52ee701883af31b1a097c69978b0971e.jpg","text":"TemporaryFile(/tmp/multipartBody1089438554686942302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861298213,"filename":"image_10122025_06_28_55_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307980","file1":"1401307978","file0":"1401307976","file4":"1401307984","file5":"1401307986","file3":"1401307982"},"map_files_photo_id_array":[{"photo_id":"1401307986","filename":"file5"},{"photo_id":"1401307980","filename":"file2"},{"photo_id":"1401307984","filename":"file4"},{"photo_id":"1401307978","filename":"file1"},{"photo_id":"1401307976","filename":"file0"},{"photo_id":"1401307982","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401307982":["hashtag1","hashtag2"]},{"1401307976":["hashtag1","hashtag2"]},{"1401307984":["hashtag1","hashtag2"]},{"1401307978":["hashtag1","hashtag2"]},{"1401307986":["hashtag1","hashtag2"]},{"1401307980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401307982, 1401307976, 1401307984, 1401307978, 1401307986, 1401307980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32926964759827 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:48:03.086054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_28_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_14_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_14_9619.jpg', '/home/nano/Desktop/images/10122025/06/27/image_10122025_06_28_04_9608.jpg', '/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_55_10616.jpg', '/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_44_9605.jpg', '/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_35_9607.jpg', '/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_14_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_14_9619.jpg
/home/nano/Desktop/images/10122025/06/27/image_10122025_06_28_04_9608.jpg
/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_55_10616.jpg
/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_44_9605.jpg
/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_35_9607.jpg
/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_14_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":["1401308001","1401307994","1401307993","1401307996","1401307998","1401307992"],"photo_ids_order":["1401307992","1401307993","1401307994","1401307996","1401307998","1401308001"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb61675db3a51566ed64ebe1651a6fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6537659666814167009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861343928,"filename":"image_10122025_06_27_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/12/27/4e529fbc136a640238ad3e01e35734a4.jpg","text":"TemporaryFile(/tmp/multipartBody1005092316579136865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861343928,"filename":"image_10122025_06_27_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba5f50d0fe1d91de69e2d6e9b39b4eed.jpg","text":"TemporaryFile(/tmp/multipartBody5959887736444945336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861343928,"filename":"image_10122025_06_28_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/12/27/6f9140ee89cdd6b3da2fbb6841b63e4d.jpg","text":"TemporaryFile(/tmp/multipartBody6508703622223202471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861343928,"filename":"image_10122025_06_27_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/12/27/05fc382b6d4117f8d7b4a93a2ebe013e.jpg","text":"TemporaryFile(/tmp/multipartBody5127438138789397653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861343928,"filename":"image_10122025_06_27_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84d6f1387cbfcd76d588058d4ffc51e3.jpg","text":"TemporaryFile(/tmp/multipartBody5926436248748005963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861343928,"filename":"image_10122025_06_28_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401307994","file1":"1401307993","file0":"1401307992","file4":"1401307998","file5":"1401308001","file3":"1401307996"},"map_files_photo_id_array":[{"photo_id":"1401308001","filename":"file5"},{"photo_id":"1401307994","filename":"file2"},{"photo_id":"1401307998","filename":"file4"},{"photo_id":"1401307993","filename":"file1"},{"photo_id":"1401307992","filename":"file0"},{"photo_id":"1401307996","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308001":["hashtag1","hashtag2"]},{"1401307994":["hashtag1","hashtag2"]},{"1401307993":["hashtag1","hashtag2"]},{"1401307996":["hashtag1","hashtag2"]},{"1401307998":["hashtag1","hashtag2"]},{"1401307992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308001, 1401307994, 1401307993, 1401307996, 1401307998, 1401307992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46546530723572 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:48:47.471530
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_27_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_55_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/26/image_10122025_06_27_05_10623.jpg', '/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_54_9605.jpg', '/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_45_9608.jpg', '/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_35_10613.jpg', '/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_24_9620.jpg', '/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/26/image_10122025_06_27_05_10623.jpg
/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_54_9605.jpg
/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_45_9608.jpg
/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_35_10613.jpg
/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_24_9620.jpg
/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_55_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":["1401308015","1401308012","1401308011","1401308014","1401308016","1401308013"],"photo_ids_order":["1401308011","1401308012","1401308013","1401308014","1401308015","1401308016"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c478c06437d8043a2e3f28dc6154fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4258866730209688474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861388266,"filename":"image_10122025_06_26_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/12/27/33fe198e339a8df0e1751265a9df7a88.jpg","text":"TemporaryFile(/tmp/multipartBody8130022203970323511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861388266,"filename":"image_10122025_06_26_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/12/27/3839a888cd495aa259e187153dd71278.jpg","text":"TemporaryFile(/tmp/multipartBody6068681710303111722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861388266,"filename":"image_10122025_06_27_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2a0497ba2268a71607ceadd17702877.jpg","text":"TemporaryFile(/tmp/multipartBody4189065890821694385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861388266,"filename":"image_10122025_06_26_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b73e7e0f037de86e2d02769b3ad4009.jpg","text":"TemporaryFile(/tmp/multipartBody821739017833674016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861388266,"filename":"image_10122025_06_25_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77dc8fbb4ad58663d5536d9b0881482e.jpg","text":"TemporaryFile(/tmp/multipartBody1605494978636675516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861388266,"filename":"image_10122025_06_26_45_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308013","file1":"1401308012","file0":"1401308011","file4":"1401308015","file5":"1401308016","file3":"1401308014"},"map_files_photo_id_array":[{"photo_id":"1401308016","filename":"file5"},{"photo_id":"1401308013","filename":"file2"},{"photo_id":"1401308015","filename":"file4"},{"photo_id":"1401308012","filename":"file1"},{"photo_id":"1401308011","filename":"file0"},{"photo_id":"1401308014","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308015":["hashtag1","hashtag2"]},{"1401308012":["hashtag1","hashtag2"]},{"1401308011":["hashtag1","hashtag2"]},{"1401308014":["hashtag1","hashtag2"]},{"1401308016":["hashtag1","hashtag2"]},{"1401308013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308015, 1401308012, 1401308011, 1401308014, 1401308016, 1401308013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23112654685974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:49:32.567987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_14_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_45_10630.jpg', '/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_55_10615.jpg', '/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_44_9606.jpg', '/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_35_9604.jpg', '/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_25_10612.jpg', '/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_14_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_45_10630.jpg
/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_55_10615.jpg
/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_44_9606.jpg
/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_35_9604.jpg
/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_25_10612.jpg
/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_14_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":["1401308036","1401308032","1401308035","1401308023","1401308025","1401308028"],"photo_ids_order":["1401308023","1401308025","1401308028","1401308032","1401308035","1401308036"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c2b68527a0e86dbf649f4179cef5e42.jpg","text":"TemporaryFile(/tmp/multipartBody2586180096042624148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861433383,"filename":"image_10122025_06_24_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/12/27/61003241b8216d8115ea540d44c69d77.jpg","text":"TemporaryFile(/tmp/multipartBody3589731021537107538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861433383,"filename":"image_10122025_06_24_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8306e44a5a62795752fd5aa61a5253ff.jpg","text":"TemporaryFile(/tmp/multipartBody2278315487517766525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861433383,"filename":"image_10122025_06_24_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87e483b46d62bdb61994cf8a60cba2b1.jpg","text":"TemporaryFile(/tmp/multipartBody6788233028017858256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861433383,"filename":"image_10122025_06_25_45_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78add22bd351a113b19e831064c33fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3320575330240407337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861433383,"filename":"image_10122025_06_24_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96554c6867bcbe977b5337368f9806e3.jpg","text":"TemporaryFile(/tmp/multipartBody1083460346459845467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861433383,"filename":"image_10122025_06_24_44_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308028","file1":"1401308025","file0":"1401308023","file4":"1401308035","file5":"1401308036","file3":"1401308032"},"map_files_photo_id_array":[{"photo_id":"1401308036","filename":"file5"},{"photo_id":"1401308028","filename":"file2"},{"photo_id":"1401308035","filename":"file4"},{"photo_id":"1401308025","filename":"file1"},{"photo_id":"1401308023","filename":"file0"},{"photo_id":"1401308032","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308036":["hashtag1","hashtag2"]},{"1401308032":["hashtag1","hashtag2"]},{"1401308035":["hashtag1","hashtag2"]},{"1401308023":["hashtag1","hashtag2"]},{"1401308025":["hashtag1","hashtag2"]},{"1401308028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308036, 1401308032, 1401308035, 1401308023, 1401308025, 1401308028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.510469913482666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:50:17.702844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg', '/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg
/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_10624.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7088582515716553 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:50:32.668849
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg', '/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg', '/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg
/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg
/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_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":["1401308062","1401308050","1401308047","1401308052","1401308061","1401308055"],"photo_ids_order":["1401308047","1401308050","1401308052","1401308055","1401308061","1401308062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26e20e66dfbca012ab2445cf4d65149f.jpg","text":"TemporaryFile(/tmp/multipartBody3624403910905302725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861493448,"filename":"image_10122025_06_23_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/381f160c20bfa43b0a2b25c0cd79fcfe.jpg","text":"TemporaryFile(/tmp/multipartBody4533143600455647818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861493448,"filename":"image_10122025_06_23_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/12/27/9e173bf220ddaa8ab56ab265ddbdb36f.jpg","text":"TemporaryFile(/tmp/multipartBody903483284494588005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861493448,"filename":"image_10122025_06_24_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0e9db9ba6e36a811e52bad0c587a416.jpg","text":"TemporaryFile(/tmp/multipartBody3608523564802260894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861493448,"filename":"image_10122025_06_23_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b5e68771c14157937045d1d5f688191c.jpg","text":"TemporaryFile(/tmp/multipartBody5483981840289583018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861493448,"filename":"image_10122025_06_23_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/12/27/78dee4243fd618faa3d4c4ee3b0b3efe.jpg","text":"TemporaryFile(/tmp/multipartBody5269384260337845278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861493448,"filename":"image_10122025_06_23_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308052","file1":"1401308050","file0":"1401308047","file4":"1401308061","file5":"1401308062","file3":"1401308055"},"map_files_photo_id_array":[{"photo_id":"1401308062","filename":"file5"},{"photo_id":"1401308052","filename":"file2"},{"photo_id":"1401308061","filename":"file4"},{"photo_id":"1401308050","filename":"file1"},{"photo_id":"1401308047","filename":"file0"},{"photo_id":"1401308055","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308062":["hashtag1","hashtag2"]},{"1401308050":["hashtag1","hashtag2"]},{"1401308047":["hashtag1","hashtag2"]},{"1401308052":["hashtag1","hashtag2"]},{"1401308061":["hashtag1","hashtag2"]},{"1401308055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308062, 1401308050, 1401308047, 1401308052, 1401308061, 1401308055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.868762969970703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:51:16.788191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_54_9607.jpg', '/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_45_10612.jpg', '/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_34_9604.jpg', '/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_25_9608.jpg', '/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_15_10627.jpg', '/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_54_9607.jpg
/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_45_10612.jpg
/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_34_9604.jpg
/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_25_9608.jpg
/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_15_10627.jpg
/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_55_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":["1401308066","1401308075","1401308069","1401308071","1401308073","1401308067"],"photo_ids_order":["1401308066","1401308067","1401308069","1401308071","1401308073","1401308075"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/414c8165b4f9ca8b55a79d3dcbcf08fc.jpg","text":"TemporaryFile(/tmp/multipartBody1887074000974844086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861537601,"filename":"image_10122025_06_22_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/12/27/c15de9d45d177e424c4881b64690381e.jpg","text":"TemporaryFile(/tmp/multipartBody7025231169990797596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861537601,"filename":"image_10122025_06_21_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d2b2002e34c167a073cea749a689139.jpg","text":"TemporaryFile(/tmp/multipartBody4533307245309304310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861537601,"filename":"image_10122025_06_22_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/12/27/8567fbcaa03eab1fe58be1e1813ad638.jpg","text":"TemporaryFile(/tmp/multipartBody2543169567757120842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861537601,"filename":"image_10122025_06_22_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/260d68c525cc7f17a66bec3014e4c56f.jpg","text":"TemporaryFile(/tmp/multipartBody6424428365727195575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861537601,"filename":"image_10122025_06_22_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4a09d2d73e310f14e1799b0eca60c97.jpg","text":"TemporaryFile(/tmp/multipartBody7264845015769211315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861537601,"filename":"image_10122025_06_22_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308069","file1":"1401308067","file0":"1401308066","file4":"1401308073","file5":"1401308075","file3":"1401308071"},"map_files_photo_id_array":[{"photo_id":"1401308075","filename":"file5"},{"photo_id":"1401308069","filename":"file2"},{"photo_id":"1401308073","filename":"file4"},{"photo_id":"1401308067","filename":"file1"},{"photo_id":"1401308066","filename":"file0"},{"photo_id":"1401308071","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308066":["hashtag1","hashtag2"]},{"1401308075":["hashtag1","hashtag2"]},{"1401308069":["hashtag1","hashtag2"]},{"1401308071":["hashtag1","hashtag2"]},{"1401308073":["hashtag1","hashtag2"]},{"1401308067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308066, 1401308075, 1401308069, 1401308071, 1401308073, 1401308067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42547821998596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:52:02.553655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_21_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_44_9617.jpg', '/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_35_9608.jpg', '/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_25_10617.jpg', '/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_14_9614.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_21_05_9606.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_44_9617.jpg
/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_35_9608.jpg
/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_25_10617.jpg
/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_14_9614.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_21_05_9606.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_55_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":["1401308087","1401308092","1401308089","1401308085","1401308079","1401308082"],"photo_ids_order":["1401308079","1401308082","1401308085","1401308087","1401308089","1401308092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5646fc9ff91c3c6a6ca9a7b381246617.jpg","text":"TemporaryFile(/tmp/multipartBody2057115606131485870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861583432,"filename":"image_10122025_06_21_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/12/27/5ffb88c21ed814424bc944c6c38cd0dd.jpg","text":"TemporaryFile(/tmp/multipartBody838019280594875787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861583432,"filename":"image_10122025_06_20_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/814965c6a7fff427f7f0c2d57d964620.jpg","text":"TemporaryFile(/tmp/multipartBody1932139705794166856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861583432,"filename":"image_10122025_06_21_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/219556c25613e687c57d3ff4ca1c7045.jpg","text":"TemporaryFile(/tmp/multipartBody3997648462692123879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861583432,"filename":"image_10122025_06_21_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8afcf6fcf496d30ac81a2c66ffcdc57.jpg","text":"TemporaryFile(/tmp/multipartBody4720804163276713911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861583432,"filename":"image_10122025_06_21_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/12/27/3fc870b2d1784960a4c4d3015fcc5475.jpg","text":"TemporaryFile(/tmp/multipartBody1285397037169203765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861583432,"filename":"image_10122025_06_21_35_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308085","file1":"1401308082","file0":"1401308079","file4":"1401308089","file5":"1401308092","file3":"1401308087"},"map_files_photo_id_array":[{"photo_id":"1401308092","filename":"file5"},{"photo_id":"1401308085","filename":"file2"},{"photo_id":"1401308089","filename":"file4"},{"photo_id":"1401308082","filename":"file1"},{"photo_id":"1401308079","filename":"file0"},{"photo_id":"1401308087","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308087":["hashtag1","hashtag2"]},{"1401308092":["hashtag1","hashtag2"]},{"1401308089":["hashtag1","hashtag2"]},{"1401308085":["hashtag1","hashtag2"]},{"1401308079":["hashtag1","hashtag2"]},{"1401308082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308087, 1401308092, 1401308089, 1401308085, 1401308079, 1401308082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06164789199829 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:52:46.931987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg', '/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg', '/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg
/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg
/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_54_9603.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7340636253356934 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:53:02.624184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg', '/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg', '/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg', '/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg
/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg
/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg
/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_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":["1401308108","1401308110","1401308104","1401308115","1401308112","1401308106"],"photo_ids_order":["1401308104","1401308106","1401308108","1401308110","1401308112","1401308115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f43d93a48113690f54aaca1a165fdf26.jpg","text":"TemporaryFile(/tmp/multipartBody2860594442581272580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861643435,"filename":"image_10122025_06_20_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/12/27/5e9b96a59ad038c22b1dda08b0d5c096.jpg","text":"TemporaryFile(/tmp/multipartBody7324042756826093411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861643435,"filename":"image_10122025_06_20_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96f3b8d0e6e32046fbb0d15a8907cd89.jpg","text":"TemporaryFile(/tmp/multipartBody2642645561113380015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861643435,"filename":"image_10122025_06_20_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/12/27/6c32d750bd5f966090beed1c48a6266d.jpg","text":"TemporaryFile(/tmp/multipartBody4525150285079501861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861643435,"filename":"image_10122025_06_19_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/12/27/e59311c1a7426defa3346ae658a17386.jpg","text":"TemporaryFile(/tmp/multipartBody2419040571113118080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861643435,"filename":"image_10122025_06_20_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a99aff4ef0f750733264d5aa773059f.jpg","text":"TemporaryFile(/tmp/multipartBody2714376733320429320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861643435,"filename":"image_10122025_06_20_35_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308108","file1":"1401308106","file0":"1401308104","file4":"1401308112","file5":"1401308115","file3":"1401308110"},"map_files_photo_id_array":[{"photo_id":"1401308115","filename":"file5"},{"photo_id":"1401308108","filename":"file2"},{"photo_id":"1401308112","filename":"file4"},{"photo_id":"1401308106","filename":"file1"},{"photo_id":"1401308104","filename":"file0"},{"photo_id":"1401308110","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308108":["hashtag1","hashtag2"]},{"1401308110":["hashtag1","hashtag2"]},{"1401308104":["hashtag1","hashtag2"]},{"1401308115":["hashtag1","hashtag2"]},{"1401308112":["hashtag1","hashtag2"]},{"1401308106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308108, 1401308110, 1401308104, 1401308115, 1401308112, 1401308106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45509719848633 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:53:47.030241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_19_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_14_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_45_10619.jpg', '/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_15_10630.jpg', '/home/nano/Desktop/images/10122025/06/18/image_10122025_06_19_04_9613.jpg', '/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_44_9606.jpg', '/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_35_9604.jpg', '/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_45_10619.jpg
/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_15_10630.jpg
/home/nano/Desktop/images/10122025/06/18/image_10122025_06_19_04_9613.jpg
/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_44_9606.jpg
/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_35_9604.jpg
/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_14_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":["1401308132","1401308135","1401308131","1401308133","1401308136","1401308130"],"photo_ids_order":["1401308130","1401308131","1401308132","1401308133","1401308135","1401308136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/787659eeefc9d87c0d66350863cee525.jpg","text":"TemporaryFile(/tmp/multipartBody4199272306176245750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861687825,"filename":"image_10122025_06_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/12/27/6b132265a80ad33564873c4f75e38f89.jpg","text":"TemporaryFile(/tmp/multipartBody7627391192786008921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861687825,"filename":"image_10122025_06_18_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e59b5f4f37d3a0a9cd91d9fbd26ef06f.jpg","text":"TemporaryFile(/tmp/multipartBody4970475414103503608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861687825,"filename":"image_10122025_06_19_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05064999042154e813d1a8f21f2ef819.jpg","text":"TemporaryFile(/tmp/multipartBody777881044801064217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861687825,"filename":"image_10122025_06_18_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/12/27/521c677cfd1592aabab44999e30276ad.jpg","text":"TemporaryFile(/tmp/multipartBody6493248471648289850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861687825,"filename":"image_10122025_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/12/27/95d089adec9c42269f42d8b84e46afa5.jpg","text":"TemporaryFile(/tmp/multipartBody1043263556495703107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861687825,"filename":"image_10122025_06_19_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308132","file1":"1401308131","file0":"1401308130","file4":"1401308135","file5":"1401308136","file3":"1401308133"},"map_files_photo_id_array":[{"photo_id":"1401308136","filename":"file5"},{"photo_id":"1401308132","filename":"file2"},{"photo_id":"1401308135","filename":"file4"},{"photo_id":"1401308131","filename":"file1"},{"photo_id":"1401308130","filename":"file0"},{"photo_id":"1401308133","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308132":["hashtag1","hashtag2"]},{"1401308135":["hashtag1","hashtag2"]},{"1401308131":["hashtag1","hashtag2"]},{"1401308133":["hashtag1","hashtag2"]},{"1401308136":["hashtag1","hashtag2"]},{"1401308130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308132, 1401308135, 1401308131, 1401308133, 1401308136, 1401308130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.588156700134277 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:54:32.278024
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/19/53/image_27122025_19_54_04_10550.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/19/53/image_27122025_19_54_04_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/19/53/image_27122025_19_54_04_10550.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401308143"],"photo_id":"1401308143","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/899b450588961ecc025ce2c2cfb23a69.jpg","text":"TemporaryFile(/tmp/multipartBody2818036275492612013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861732522,"filename":"image_27122025_19_54_04_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401308143"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401308143"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.60942029953003 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:54:47.174352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_18_05_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/16/image_10122025_06_16_45_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/17/image_10122025_06_18_05_9636.jpg', '/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_55_10614.jpg', '/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_35_10615.jpg', '/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_24_9606.jpg', '/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_15_9622.jpg', '/home/nano/Desktop/images/10122025/06/16/image_10122025_06_16_45_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/17/image_10122025_06_18_05_9636.jpg
/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_55_10614.jpg
/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_35_10615.jpg
/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_24_9606.jpg
/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_15_9622.jpg
/home/nano/Desktop/images/10122025/06/16/image_10122025_06_16_45_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":["1401308150","1401308153","1401308147","1401308149","1401308151","1401308148"],"photo_ids_order":["1401308147","1401308148","1401308149","1401308150","1401308151","1401308153"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8552f8cd98795def549aa0d7e1d3121b.jpg","text":"TemporaryFile(/tmp/multipartBody7833887483906411555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861748001,"filename":"image_10122025_06_17_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/12/27/475da118ddcbea936785f2b32299c421.jpg","text":"TemporaryFile(/tmp/multipartBody4229257776610033563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861748001,"filename":"image_10122025_06_16_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc699934ce2975a2511484b24277bec5.jpg","text":"TemporaryFile(/tmp/multipartBody3715907602507890526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861748001,"filename":"image_10122025_06_18_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/15eb87d7da251b23d130c9efe7191896.jpg","text":"TemporaryFile(/tmp/multipartBody9134868082356536105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861748001,"filename":"image_10122025_06_17_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b079f6544a97106ab4030550954e783c.jpg","text":"TemporaryFile(/tmp/multipartBody8428665015853831816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861748001,"filename":"image_10122025_06_17_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5559933e2ec8bb6748898bbc48977835.jpg","text":"TemporaryFile(/tmp/multipartBody3434729438801101745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861748001,"filename":"image_10122025_06_17_55_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308149","file1":"1401308148","file0":"1401308147","file4":"1401308151","file5":"1401308153","file3":"1401308150"},"map_files_photo_id_array":[{"photo_id":"1401308153","filename":"file5"},{"photo_id":"1401308149","filename":"file2"},{"photo_id":"1401308151","filename":"file4"},{"photo_id":"1401308148","filename":"file1"},{"photo_id":"1401308147","filename":"file0"},{"photo_id":"1401308150","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308150":["hashtag1","hashtag2"]},{"1401308153":["hashtag1","hashtag2"]},{"1401308147":["hashtag1","hashtag2"]},{"1401308149":["hashtag1","hashtag2"]},{"1401308151":["hashtag1","hashtag2"]},{"1401308148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308150, 1401308153, 1401308147, 1401308149, 1401308151, 1401308148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01964473724365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:55:32.254224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_16_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_15_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/15/image_10122025_06_16_04_9605.jpg', '/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_55_9606.jpg', '/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_45_10615.jpg', '/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_14_9619.jpg', '/home/nano/Desktop/images/10122025/06/14/image_10122025_06_15_05_9618.jpg', '/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/15/image_10122025_06_16_04_9605.jpg
/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_55_9606.jpg
/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_45_10615.jpg
/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_14_9619.jpg
/home/nano/Desktop/images/10122025/06/14/image_10122025_06_15_05_9618.jpg
/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_55_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":["1401308162","1401308171","1401308168","1401308170","1401308164","1401308166"],"photo_ids_order":["1401308162","1401308164","1401308166","1401308168","1401308170","1401308171"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea427ab6203d453f8449d873cad8aba2.jpg","text":"TemporaryFile(/tmp/multipartBody2597070897707725892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861793050,"filename":"image_10122025_06_16_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/12/27/0881e625131b5c5704a850086642dc47.jpg","text":"TemporaryFile(/tmp/multipartBody6443503058779251907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861793050,"filename":"image_10122025_06_14_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72036937cf6cf4984d9d19e2b0222b5b.jpg","text":"TemporaryFile(/tmp/multipartBody2200895599226047678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861793050,"filename":"image_10122025_06_15_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/12/27/2436e7884532ecdaa4747a66eb7f1115.jpg","text":"TemporaryFile(/tmp/multipartBody8039736230633852232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861793050,"filename":"image_10122025_06_15_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33441ca00d88d9a93269c70a44c9d89e.jpg","text":"TemporaryFile(/tmp/multipartBody8154498962210814388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861793050,"filename":"image_10122025_06_15_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d6eabe17dfd66599d42c26f3a56120e.jpg","text":"TemporaryFile(/tmp/multipartBody7074214593321280931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861793050,"filename":"image_10122025_06_15_45_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308166","file1":"1401308164","file0":"1401308162","file4":"1401308170","file5":"1401308171","file3":"1401308168"},"map_files_photo_id_array":[{"photo_id":"1401308171","filename":"file5"},{"photo_id":"1401308166","filename":"file2"},{"photo_id":"1401308170","filename":"file4"},{"photo_id":"1401308164","filename":"file1"},{"photo_id":"1401308162","filename":"file0"},{"photo_id":"1401308168","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308162":["hashtag1","hashtag2"]},{"1401308171":["hashtag1","hashtag2"]},{"1401308168":["hashtag1","hashtag2"]},{"1401308170":["hashtag1","hashtag2"]},{"1401308164":["hashtag1","hashtag2"]},{"1401308166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308162, 1401308171, 1401308168, 1401308170, 1401308164, 1401308166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.173824071884155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:56:17.418362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_14_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_35_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_44_9608.jpg', '/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_35_10613.jpg', '/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_14_9622.jpg', '/home/nano/Desktop/images/10122025/06/13/image_10122025_06_14_05_10626.jpg', '/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_45_9601.jpg', '/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_35_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_44_9608.jpg
/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_35_10613.jpg
/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_14_9622.jpg
/home/nano/Desktop/images/10122025/06/13/image_10122025_06_14_05_10626.jpg
/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_45_9601.jpg
/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_35_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":["1401308183","1401308177","1401308186","1401308176","1401308189","1401308180"],"photo_ids_order":["1401308176","1401308177","1401308180","1401308183","1401308186","1401308189"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6b0edd94edf821f95599d88fe2cec45.jpg","text":"TemporaryFile(/tmp/multipartBody6134969928157933256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861838219,"filename":"image_10122025_06_14_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1bd425f84225a5185cec89b725c32794.jpg","text":"TemporaryFile(/tmp/multipartBody3724049022578342223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861838219,"filename":"image_10122025_06_14_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e60f654d4f94432ffa2bcd82b53ba35.jpg","text":"TemporaryFile(/tmp/multipartBody8793116241603728306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861838219,"filename":"image_10122025_06_13_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/95916d20813e11c16ecd6847e89fcfab.jpg","text":"TemporaryFile(/tmp/multipartBody3008005548440746924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861838219,"filename":"image_10122025_06_14_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/12/27/c00c976199cd8ce106753001ab6f9ceb.jpg","text":"TemporaryFile(/tmp/multipartBody3317966531167135976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861838219,"filename":"image_10122025_06_13_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6252e2e5e3fdd2a117d83009082b013e.jpg","text":"TemporaryFile(/tmp/multipartBody678488056563257988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861838219,"filename":"image_10122025_06_14_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308180","file1":"1401308177","file0":"1401308176","file4":"1401308186","file5":"1401308189","file3":"1401308183"},"map_files_photo_id_array":[{"photo_id":"1401308189","filename":"file5"},{"photo_id":"1401308180","filename":"file2"},{"photo_id":"1401308186","filename":"file4"},{"photo_id":"1401308177","filename":"file1"},{"photo_id":"1401308176","filename":"file0"},{"photo_id":"1401308183","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308183":["hashtag1","hashtag2"]},{"1401308177":["hashtag1","hashtag2"]},{"1401308186":["hashtag1","hashtag2"]},{"1401308176":["hashtag1","hashtag2"]},{"1401308189":["hashtag1","hashtag2"]},{"1401308180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308183, 1401308177, 1401308186, 1401308176, 1401308189, 1401308180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.779441595077515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:57:02.845663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_13_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_34_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_24_9607.jpg', '/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_15_10629.jpg', '/home/nano/Desktop/images/10122025/06/12/image_10122025_06_13_04_9623.jpg', '/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_55_9606.jpg', '/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_45_10617.jpg', '/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_34_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_24_9607.jpg
/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_15_10629.jpg
/home/nano/Desktop/images/10122025/06/12/image_10122025_06_13_04_9623.jpg
/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_55_9606.jpg
/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_45_10617.jpg
/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_34_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":["1401308208","1401308201","1401308197","1401308203","1401308199","1401308205"],"photo_ids_order":["1401308197","1401308199","1401308201","1401308203","1401308205","1401308208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0cc00b87251740065436ae267ec4a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1151757532321875733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861883730,"filename":"image_10122025_06_12_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/12/27/2e7819307754f65380bc0205b0d645a7.jpg","text":"TemporaryFile(/tmp/multipartBody4102244180712689275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861883730,"filename":"image_10122025_06_13_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/12/27/6ba11070f92924627c0ecbe563d4df9e.jpg","text":"TemporaryFile(/tmp/multipartBody1728520146779143629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861883730,"filename":"image_10122025_06_13_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/12/27/a0fe6eed79e1df05f97da4d364d04786.jpg","text":"TemporaryFile(/tmp/multipartBody3443485520376072270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861883730,"filename":"image_10122025_06_12_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25ba769eda1ae5b4762c2f8032954322.jpg","text":"TemporaryFile(/tmp/multipartBody1713014066598579946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861883730,"filename":"image_10122025_06_13_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd5983da5063eb7f6e8529cdec7732fa.jpg","text":"TemporaryFile(/tmp/multipartBody5079150281090846701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861883730,"filename":"image_10122025_06_12_45_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308201","file1":"1401308199","file0":"1401308197","file4":"1401308205","file5":"1401308208","file3":"1401308203"},"map_files_photo_id_array":[{"photo_id":"1401308208","filename":"file5"},{"photo_id":"1401308201","filename":"file2"},{"photo_id":"1401308205","filename":"file4"},{"photo_id":"1401308199","filename":"file1"},{"photo_id":"1401308197","filename":"file0"},{"photo_id":"1401308203","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308208":["hashtag1","hashtag2"]},{"1401308201":["hashtag1","hashtag2"]},{"1401308197":["hashtag1","hashtag2"]},{"1401308203":["hashtag1","hashtag2"]},{"1401308199":["hashtag1","hashtag2"]},{"1401308205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308208, 1401308201, 1401308197, 1401308203, 1401308199, 1401308205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49008560180664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:57:47.481996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:58:02.886965
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg', '/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg
/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401308225","1401308224","1401308227","1401308220","1401308223","1401308226"],"photo_ids_order":["1401308220","1401308223","1401308224","1401308225","1401308226","1401308227"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/825826eeb4111504a566652c3640e13e.jpg","text":"TemporaryFile(/tmp/multipartBody1854125757050255897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861943673,"filename":"image_10122025_06_11_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c12e9af576d1b61b4d71367562a185f.jpg","text":"TemporaryFile(/tmp/multipartBody4124565101262725765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861943673,"filename":"image_10122025_06_11_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/12/27/8f5dbd5734ee120f98fbfe2cafc1282f.jpg","text":"TemporaryFile(/tmp/multipartBody5207752494658351677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861943673,"filename":"image_10122025_06_11_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/12/27/12f33a8cfeb65496e7f3056d791dc3c3.jpg","text":"TemporaryFile(/tmp/multipartBody2395384666483422838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861943673,"filename":"image_10122025_06_12_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2df24c90ee89ef23d1b4e06fbda64115.jpg","text":"TemporaryFile(/tmp/multipartBody8506615686477435911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861943673,"filename":"image_10122025_06_12_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/12/27/70f464a630ad90e1979de73e4ef6d10b.jpg","text":"TemporaryFile(/tmp/multipartBody4901496125646266663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766861943673,"filename":"image_10122025_06_11_25_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308224","file1":"1401308223","file0":"1401308220","file4":"1401308226","file5":"1401308227","file3":"1401308225"},"map_files_photo_id_array":[{"photo_id":"1401308227","filename":"file5"},{"photo_id":"1401308224","filename":"file2"},{"photo_id":"1401308226","filename":"file4"},{"photo_id":"1401308223","filename":"file1"},{"photo_id":"1401308220","filename":"file0"},{"photo_id":"1401308225","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308225":["hashtag1","hashtag2"]},{"1401308224":["hashtag1","hashtag2"]},{"1401308227":["hashtag1","hashtag2"]},{"1401308220":["hashtag1","hashtag2"]},{"1401308223":["hashtag1","hashtag2"]},{"1401308226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308225, 1401308224, 1401308227, 1401308220, 1401308223, 1401308226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23507523536682 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:59:03.575174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_11_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/09/image_10122025_06_09_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/10/image_10122025_06_11_05_10630.jpg', '/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_54_9606.jpg', '/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_24_9604.jpg', '/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_15_9615.jpg', '/home/nano/Desktop/images/10122025/06/09/image_10122025_06_09_15_10630.jpg', '/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/10/image_10122025_06_11_05_10630.jpg
/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_54_9606.jpg
/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_24_9604.jpg
/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_15_9615.jpg
/home/nano/Desktop/images/10122025/06/09/image_10122025_06_09_15_10630.jpg
/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_55_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":["1401308231","1401308230","1401308241","1401308235","1401308244","1401308238"],"photo_ids_order":["1401308230","1401308231","1401308235","1401308238","1401308241","1401308244"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac6067eb1dbc2282b0549915df6138da.jpg","text":"TemporaryFile(/tmp/multipartBody8505795766066781488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862004391,"filename":"image_10122025_06_10_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/12/27/45b219c4adc5e87b1a2c1c64778f02cc.jpg","text":"TemporaryFile(/tmp/multipartBody6445720301687114183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862004391,"filename":"image_10122025_06_11_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74a34eec46257dae20ed662f37317d54.jpg","text":"TemporaryFile(/tmp/multipartBody3367001782556203678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862004391,"filename":"image_10122025_06_09_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/50ec21b6a7a2e88c9e460a6e95025e88.jpg","text":"TemporaryFile(/tmp/multipartBody1504452680448719270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862004391,"filename":"image_10122025_06_10_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/12/27/ae4f8ed6ddee3c54835bd8c3d9780844.jpg","text":"TemporaryFile(/tmp/multipartBody4240577915155309328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862004391,"filename":"image_10122025_06_08_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd1fb159c2fdebddba1de48b0c6155da.jpg","text":"TemporaryFile(/tmp/multipartBody9156532719527163793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862004391,"filename":"image_10122025_06_10_15_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308235","file1":"1401308231","file0":"1401308230","file4":"1401308241","file5":"1401308244","file3":"1401308238"},"map_files_photo_id_array":[{"photo_id":"1401308244","filename":"file5"},{"photo_id":"1401308235","filename":"file2"},{"photo_id":"1401308241","filename":"file4"},{"photo_id":"1401308231","filename":"file1"},{"photo_id":"1401308230","filename":"file0"},{"photo_id":"1401308238","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308231":["hashtag1","hashtag2"]},{"1401308230":["hashtag1","hashtag2"]},{"1401308241":["hashtag1","hashtag2"]},{"1401308235":["hashtag1","hashtag2"]},{"1401308244":["hashtag1","hashtag2"]},{"1401308238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308231, 1401308230, 1401308241, 1401308235, 1401308244, 1401308238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95295238494873 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 19:59:47.538468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_08_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_55_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', '/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', '/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_25_10618.jpg', '/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_14_9635.jpg', '/home/nano/Desktop/images/10122025/06/07/image_10122025_06_08_05_9624.jpg', '/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_55_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg
/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg
/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_25_10618.jpg
/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_14_9635.jpg
/home/nano/Desktop/images/10122025/06/07/image_10122025_06_08_05_9624.jpg
/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_55_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":["1401308258","1401308266","1401308260","1401308254","1401308263","1401308256"],"photo_ids_order":["1401308254","1401308256","1401308258","1401308260","1401308263","1401308266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b6b533a115cc1237194631004dd918e.jpg","text":"TemporaryFile(/tmp/multipartBody8560395867474307031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862048330,"filename":"image_10122025_06_08_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e43586676c2ca02640a82ec99577425a.jpg","text":"TemporaryFile(/tmp/multipartBody4661996853802569735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862048330,"filename":"image_10122025_06_07_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1049c14a9af2215b20c2bbe3a16fae12.jpg","text":"TemporaryFile(/tmp/multipartBody3210282738504523510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862048330,"filename":"image_10122025_06_08_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/12/27/e1deba39f6069c423ec9559498bfbc16.jpg","text":"TemporaryFile(/tmp/multipartBody634528387512150430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862048330,"filename":"image_10122025_06_08_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/12/27/c716dcc1bdcf3962aef1d0d069c23285.jpg","text":"TemporaryFile(/tmp/multipartBody7848969880753431994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862048330,"filename":"image_10122025_06_08_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c23152443b9c8cbd02a271476f262097.jpg","text":"TemporaryFile(/tmp/multipartBody196470529396674608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862048330,"filename":"image_10122025_06_08_35_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308258","file1":"1401308256","file0":"1401308254","file4":"1401308263","file5":"1401308266","file3":"1401308260"},"map_files_photo_id_array":[{"photo_id":"1401308266","filename":"file5"},{"photo_id":"1401308258","filename":"file2"},{"photo_id":"1401308263","filename":"file4"},{"photo_id":"1401308256","filename":"file1"},{"photo_id":"1401308254","filename":"file0"},{"photo_id":"1401308260","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308258":["hashtag1","hashtag2"]},{"1401308266":["hashtag1","hashtag2"]},{"1401308260":["hashtag1","hashtag2"]},{"1401308254":["hashtag1","hashtag2"]},{"1401308263":["hashtag1","hashtag2"]},{"1401308256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308258, 1401308266, 1401308260, 1401308254, 1401308263, 1401308256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38642430305481 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:00:32.655149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_07_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_24_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_24_9605.jpg', '/home/nano/Desktop/images/10122025/06/06/image_10122025_06_07_05_10648.jpg', '/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_54_9606.jpg', '/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_45_9612.jpg', '/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_35_10622.jpg', '/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_24_9605.jpg
/home/nano/Desktop/images/10122025/06/06/image_10122025_06_07_05_10648.jpg
/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_54_9606.jpg
/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_45_9612.jpg
/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_35_10622.jpg
/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_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":["1401308276","1401308279","1401308281","1401308311","1401308277","1401308274"],"photo_ids_order":["1401308274","1401308276","1401308277","1401308279","1401308281","1401308311"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c02fc6c3b0ecdfd9a45f016a624f3cd.jpg","text":"TemporaryFile(/tmp/multipartBody2581730942876743323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862093467,"filename":"image_10122025_06_07_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6428cc45cd5260fef0bd19a910b14b71.jpg","text":"TemporaryFile(/tmp/multipartBody7471668306491830442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862093467,"filename":"image_10122025_06_06_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3245a4e58b0cbc76751d7650ad105faa.jpg","text":"TemporaryFile(/tmp/multipartBody6331221483784686107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862093467,"filename":"image_10122025_06_06_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb35a9e53d7fa8c30bab1b6876af24a0.jpg","text":"TemporaryFile(/tmp/multipartBody2728315908168593673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862093467,"filename":"image_10122025_06_06_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/12/27/5b869a3922f6ec5e47fc4b9b240b8430.jpg","text":"TemporaryFile(/tmp/multipartBody2079555000334013875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862093467,"filename":"image_10122025_06_06_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/12/27/e4f7132e2f3c47f22b3633db2d2311b9.jpg","text":"TemporaryFile(/tmp/multipartBody3565354693053011623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862093467,"filename":"image_10122025_06_07_24_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308277","file1":"1401308276","file0":"1401308274","file4":"1401308281","file5":"1401308311","file3":"1401308279"},"map_files_photo_id_array":[{"photo_id":"1401308311","filename":"file5"},{"photo_id":"1401308277","filename":"file2"},{"photo_id":"1401308281","filename":"file4"},{"photo_id":"1401308276","filename":"file1"},{"photo_id":"1401308274","filename":"file0"},{"photo_id":"1401308279","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308276":["hashtag1","hashtag2"]},{"1401308279":["hashtag1","hashtag2"]},{"1401308281":["hashtag1","hashtag2"]},{"1401308311":["hashtag1","hashtag2"]},{"1401308277":["hashtag1","hashtag2"]},{"1401308274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308276, 1401308279, 1401308281, 1401308311, 1401308277, 1401308274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.698164463043213 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:01:17.760829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_06_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_25_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_15_10630.jpg', '/home/nano/Desktop/images/10122025/06/05/image_10122025_06_06_04_9610.jpg', '/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_55_9605.jpg', '/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_45_10614.jpg', '/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_34_9605.jpg', '/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_25_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_15_10630.jpg
/home/nano/Desktop/images/10122025/06/05/image_10122025_06_06_04_9610.jpg
/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_55_9605.jpg
/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_45_10614.jpg
/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_34_9605.jpg
/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_25_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":["1401308411","1401308402","1401308404","1401308413","1401308407","1401308409"],"photo_ids_order":["1401308402","1401308404","1401308407","1401308409","1401308411","1401308413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3b2ab66b9fa03676a29e98fb42afe9d.jpg","text":"TemporaryFile(/tmp/multipartBody5607400987512937054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862138580,"filename":"image_10122025_06_05_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/12/27/dedc1e55e7e5143a254c68397e985a2f.jpg","text":"TemporaryFile(/tmp/multipartBody7401292257515539761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862138580,"filename":"image_10122025_06_06_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc2d057e7b03eb325bb76afd95882abf.jpg","text":"TemporaryFile(/tmp/multipartBody4143449650461815465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862138580,"filename":"image_10122025_06_06_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/12/27/e874017dd42ce867ed4bb2963c1dd78b.jpg","text":"TemporaryFile(/tmp/multipartBody6207869247129346469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862138580,"filename":"image_10122025_06_05_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f4771f15a5f7e878379d4a8bbd40bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8531083417788190821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862138580,"filename":"image_10122025_06_05_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3eb3c985315b2cf17cc599d11f1a4168.jpg","text":"TemporaryFile(/tmp/multipartBody3275707712082755209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862138580,"filename":"image_10122025_06_05_45_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308407","file1":"1401308404","file0":"1401308402","file4":"1401308411","file5":"1401308413","file3":"1401308409"},"map_files_photo_id_array":[{"photo_id":"1401308413","filename":"file5"},{"photo_id":"1401308407","filename":"file2"},{"photo_id":"1401308411","filename":"file4"},{"photo_id":"1401308404","filename":"file1"},{"photo_id":"1401308402","filename":"file0"},{"photo_id":"1401308409","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308411":["hashtag1","hashtag2"]},{"1401308402":["hashtag1","hashtag2"]},{"1401308404":["hashtag1","hashtag2"]},{"1401308413":["hashtag1","hashtag2"]},{"1401308407":["hashtag1","hashtag2"]},{"1401308409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308411, 1401308402, 1401308404, 1401308413, 1401308407, 1401308409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59173321723938 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:02:02.385275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_05_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_25_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_14_9639.jpg', '/home/nano/Desktop/images/10122025/06/04/image_10122025_06_05_05_9637.jpg', '/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_55_10615.jpg', '/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_44_9609.jpg', '/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_35_9605.jpg', '/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_14_9639.jpg
/home/nano/Desktop/images/10122025/06/04/image_10122025_06_05_05_9637.jpg
/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_55_10615.jpg
/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_44_9609.jpg
/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_35_9605.jpg
/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_25_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":["1401308423","1401308417","1401308428","1401308425","1401308419","1401308421"],"photo_ids_order":["1401308417","1401308419","1401308421","1401308423","1401308425","1401308428"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14298bba42ec8c410b9e40101510bc13.jpg","text":"TemporaryFile(/tmp/multipartBody2188327402844633152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862183229,"filename":"image_10122025_06_04_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/12/27/f99c09148434a3bae27e67bd2aefe65f.jpg","text":"TemporaryFile(/tmp/multipartBody7472306664188476449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862183229,"filename":"image_10122025_06_05_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/12/27/23d4c43a80a2b64e927642353d974695.jpg","text":"TemporaryFile(/tmp/multipartBody5323809056556322389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862183229,"filename":"image_10122025_06_04_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e860206a3aa67486fb03a33e5a4ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody7835084231585220432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862183229,"filename":"image_10122025_06_04_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/875123d6a1cc4147caccaa4c20a9d906.jpg","text":"TemporaryFile(/tmp/multipartBody5466301221701394520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862183229,"filename":"image_10122025_06_05_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb6e908b3121eda02d30030965cbeb79.jpg","text":"TemporaryFile(/tmp/multipartBody3688660986158442080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862183229,"filename":"image_10122025_06_04_55_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308421","file1":"1401308419","file0":"1401308417","file4":"1401308425","file5":"1401308428","file3":"1401308423"},"map_files_photo_id_array":[{"photo_id":"1401308428","filename":"file5"},{"photo_id":"1401308421","filename":"file2"},{"photo_id":"1401308425","filename":"file4"},{"photo_id":"1401308419","filename":"file1"},{"photo_id":"1401308417","filename":"file0"},{"photo_id":"1401308423","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308423":["hashtag1","hashtag2"]},{"1401308417":["hashtag1","hashtag2"]},{"1401308428":["hashtag1","hashtag2"]},{"1401308425":["hashtag1","hashtag2"]},{"1401308419":["hashtag1","hashtag2"]},{"1401308421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308423, 1401308417, 1401308428, 1401308425, 1401308419, 1401308421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34011220932007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:02:46.834698
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_04_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_03_04_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_14_9637.jpg', '/home/nano/Desktop/images/10122025/06/03/image_10122025_06_04_05_10634.jpg', '/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_54_9605.jpg', '/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_35_10616.jpg', '/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_24_9606.jpg', '/home/nano/Desktop/images/10122025/06/02/image_10122025_06_03_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_14_9637.jpg
/home/nano/Desktop/images/10122025/06/03/image_10122025_06_04_05_10634.jpg
/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_54_9605.jpg
/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_35_10616.jpg
/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_24_9606.jpg
/home/nano/Desktop/images/10122025/06/02/image_10122025_06_03_04_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":["1401308462","1401308441","1401308510","1401308572","1401308440","1401308442"],"photo_ids_order":["1401308440","1401308441","1401308442","1401308462","1401308510","1401308572"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94793a880ff7b52a68944a981e12a39b.jpg","text":"TemporaryFile(/tmp/multipartBody6135295906665245203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862227629,"filename":"image_10122025_06_03_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2132bc841e01429b69d63fbe1ec962d5.jpg","text":"TemporaryFile(/tmp/multipartBody4866957527944942879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862227629,"filename":"image_10122025_06_04_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/935eca7fc2fe72aea54dc377590934f8.jpg","text":"TemporaryFile(/tmp/multipartBody5720035589095904435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862227629,"filename":"image_10122025_06_03_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/12/27/6a4f6f7ff5e4b92ee72eedaa18867be6.jpg","text":"TemporaryFile(/tmp/multipartBody7600628758070717418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862227629,"filename":"image_10122025_06_03_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/12/27/2cd65f2dd79fcdfb7c26c9a11e60b60b.jpg","text":"TemporaryFile(/tmp/multipartBody5860140324109868955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862227629,"filename":"image_10122025_06_04_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/12/27/796e980e51ff8084a55ea7fcc86bfb14.jpg","text":"TemporaryFile(/tmp/multipartBody1014380595528271071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862227629,"filename":"image_10122025_06_03_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401308442","file1":"1401308441","file0":"1401308440","file4":"1401308510","file5":"1401308572","file3":"1401308462"},"map_files_photo_id_array":[{"photo_id":"1401308572","filename":"file5"},{"photo_id":"1401308442","filename":"file2"},{"photo_id":"1401308510","filename":"file4"},{"photo_id":"1401308441","filename":"file1"},{"photo_id":"1401308440","filename":"file0"},{"photo_id":"1401308462","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401308462":["hashtag1","hashtag2"]},{"1401308441":["hashtag1","hashtag2"]},{"1401308510":["hashtag1","hashtag2"]},{"1401308572":["hashtag1","hashtag2"]},{"1401308440":["hashtag1","hashtag2"]},{"1401308442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401308462, 1401308441, 1401308510, 1401308572, 1401308440, 1401308442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.932604789733887 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:03:31.992634
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/20/03/image_27122025_20_03_14_10539.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/20/03/image_27122025_20_03_14_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/20/03/image_27122025_20_03_14_10539.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401308871"],"photo_id":"1401308871","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28ef6cf88e8bbdab195ee6d8872f55d4.jpg","text":"TemporaryFile(/tmp/multipartBody6273051590119301394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862272244,"filename":"image_27122025_20_03_14_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401308871"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401308871"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.980535984039307 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:03:46.959925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_25_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_02_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_55_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_54_9603.jpg', '/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_45_10615.jpg', '/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_34_9621.jpg', '/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_25_9611.jpg', '/home/nano/Desktop/images/10122025/06/01/image_10122025_06_02_04_9610.jpg', '/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_54_9603.jpg
/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_45_10615.jpg
/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_34_9621.jpg
/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_25_9611.jpg
/home/nano/Desktop/images/10122025/06/01/image_10122025_06_02_04_9610.jpg
/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_55_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":["1401309032","1401309070","1401309067","1401308998","1401309069","1401309062"],"photo_ids_order":["1401308998","1401309032","1401309062","1401309067","1401309069","1401309070"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f02bb0f1212493cdd35aaac36c14083f.jpg","text":"TemporaryFile(/tmp/multipartBody4015603366050633380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862287745,"filename":"image_10122025_06_02_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/258aa2294fa3fe1fd6583617f882e5da.jpg","text":"TemporaryFile(/tmp/multipartBody609185411033683303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862287745,"filename":"image_10122025_06_01_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa2ed1bd0fb1918de5d79052116e1077.jpg","text":"TemporaryFile(/tmp/multipartBody8744573749122582759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862287745,"filename":"image_10122025_06_02_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3797ace3aa572623b78e01ff6fa8b94f.jpg","text":"TemporaryFile(/tmp/multipartBody6169233057497860138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862287745,"filename":"image_10122025_06_02_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/12/27/fb5b78d5c433d4d9c70b2352b07ba563.jpg","text":"TemporaryFile(/tmp/multipartBody5789870742360159539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862287745,"filename":"image_10122025_06_02_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/12/27/72694bfdfbf057f728daee967b6f0399.jpg","text":"TemporaryFile(/tmp/multipartBody3835341181414390765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862287745,"filename":"image_10122025_06_02_34_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309062","file1":"1401309032","file0":"1401308998","file4":"1401309069","file5":"1401309070","file3":"1401309067"},"map_files_photo_id_array":[{"photo_id":"1401309070","filename":"file5"},{"photo_id":"1401309062","filename":"file2"},{"photo_id":"1401309069","filename":"file4"},{"photo_id":"1401309032","filename":"file1"},{"photo_id":"1401308998","filename":"file0"},{"photo_id":"1401309067","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309032":["hashtag1","hashtag2"]},{"1401309070":["hashtag1","hashtag2"]},{"1401309067":["hashtag1","hashtag2"]},{"1401308998":["hashtag1","hashtag2"]},{"1401309069":["hashtag1","hashtag2"]},{"1401309062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309032, 1401309070, 1401309067, 1401308998, 1401309069, 1401309062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.664565563201904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:04:32.066641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', '/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg
/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6899685859680176 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:04:47.082398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', '/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', '/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg
/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_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":["1401309265","1401309202","1401309267","1401309234","1401309266","1401309269"],"photo_ids_order":["1401309202","1401309234","1401309265","1401309266","1401309267","1401309269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/899056550e3df52ff03d6db1f31480d4.jpg","text":"TemporaryFile(/tmp/multipartBody7608234340386434470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862347869,"filename":"image_10122025_06_01_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19f4962f40759eec5735a5c407984e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5989801694773116772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862347869,"filename":"image_10122025_06_01_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/12/27/2a28e567744be86437a164633a1cdd82.jpg","text":"TemporaryFile(/tmp/multipartBody4353692617559880833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862347869,"filename":"image_10122025_06_00_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/12/27/908a96de9ff690ee20c5512c5174918c.jpg","text":"TemporaryFile(/tmp/multipartBody4857569451291300243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862347869,"filename":"image_10122025_06_01_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/12/27/ed0d1091387e0f139d38fb0a93eae611.jpg","text":"TemporaryFile(/tmp/multipartBody5088560299516665029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862347869,"filename":"image_10122025_06_00_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03a1106d341e48c9f703a2c9e3662223.jpg","text":"TemporaryFile(/tmp/multipartBody6733483771385931123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862347869,"filename":"image_10122025_06_00_24_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309265","file1":"1401309234","file0":"1401309202","file4":"1401309267","file5":"1401309269","file3":"1401309266"},"map_files_photo_id_array":[{"photo_id":"1401309269","filename":"file5"},{"photo_id":"1401309265","filename":"file2"},{"photo_id":"1401309267","filename":"file4"},{"photo_id":"1401309234","filename":"file1"},{"photo_id":"1401309202","filename":"file0"},{"photo_id":"1401309266","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309265":["hashtag1","hashtag2"]},{"1401309202":["hashtag1","hashtag2"]},{"1401309267":["hashtag1","hashtag2"]},{"1401309234":["hashtag1","hashtag2"]},{"1401309266":["hashtag1","hashtag2"]},{"1401309269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309265, 1401309202, 1401309267, 1401309234, 1401309266, 1401309269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32432150840759 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:05:32.166427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_59_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_58_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_58_05_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_15_9621.jpg', '/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_54_9605.jpg', '/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_15_10631.jpg', '/home/nano/Desktop/images/10122025/05/58/image_10122025_05_59_04_9616.jpg', '/home/nano/Desktop/images/10122025/05/58/image_10122025_05_58_14_9616.jpg', '/home/nano/Desktop/images/10122025/05/57/image_10122025_05_58_05_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_15_9621.jpg
/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_54_9605.jpg
/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_15_10631.jpg
/home/nano/Desktop/images/10122025/05/58/image_10122025_05_59_04_9616.jpg
/home/nano/Desktop/images/10122025/05/58/image_10122025_05_58_14_9616.jpg
/home/nano/Desktop/images/10122025/05/57/image_10122025_05_58_05_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":["1401309385","1401309373","1401309369","1401309386","1401309371","1401309368"],"photo_ids_order":["1401309368","1401309369","1401309371","1401309373","1401309385","1401309386"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96ec981e63cf0d6f9025be37f0cc81a9.jpg","text":"TemporaryFile(/tmp/multipartBody8016824195279664880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862392968,"filename":"image_10122025_05_58_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/12/27/c75a8513eb00acba89759df7a996f30e.jpg","text":"TemporaryFile(/tmp/multipartBody5882784262285577781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862392968,"filename":"image_10122025_05_59_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/12/27/9dafa9130b00a8b8280c14c97daa13f1.jpg","text":"TemporaryFile(/tmp/multipartBody2297664548567132606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862392968,"filename":"image_10122025_05_59_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/12/27/f469058bb793d634f4387aaa7e30b277.jpg","text":"TemporaryFile(/tmp/multipartBody2050381631582146188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862392968,"filename":"image_10122025_05_58_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58e26f64ba461aa7e3dda96faf330574.jpg","text":"TemporaryFile(/tmp/multipartBody6330780946364834335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862392968,"filename":"image_10122025_05_59_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a5b98135e629efe563fa3b42c506864.jpg","text":"TemporaryFile(/tmp/multipartBody2211576395654744862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862392968,"filename":"image_10122025_06_00_15_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309371","file1":"1401309369","file0":"1401309368","file4":"1401309385","file5":"1401309386","file3":"1401309373"},"map_files_photo_id_array":[{"photo_id":"1401309386","filename":"file5"},{"photo_id":"1401309371","filename":"file2"},{"photo_id":"1401309385","filename":"file4"},{"photo_id":"1401309369","filename":"file1"},{"photo_id":"1401309368","filename":"file0"},{"photo_id":"1401309373","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309385":["hashtag1","hashtag2"]},{"1401309373":["hashtag1","hashtag2"]},{"1401309369":["hashtag1","hashtag2"]},{"1401309386":["hashtag1","hashtag2"]},{"1401309371":["hashtag1","hashtag2"]},{"1401309368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309385, 1401309373, 1401309369, 1401309386, 1401309371, 1401309368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.638802766799927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:06:17.261669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_55_10614.jpg', '/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', '/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_35_10615.jpg', '/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_24_9605.jpg', '/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_54_9621.jpg', '/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_55_10614.jpg
/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg
/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_35_10615.jpg
/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_24_9605.jpg
/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_54_9621.jpg
/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_24_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":["1401309401","1401309394","1401309397","1401309399","1401309403","1401309392"],"photo_ids_order":["1401309392","1401309394","1401309397","1401309399","1401309401","1401309403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/729a361776a6126d738e88ade7bb8fd1.jpg","text":"TemporaryFile(/tmp/multipartBody2579672722150134672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862438063,"filename":"image_10122025_05_56_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/12/27/ebb0c4309c312e97b0d20f768485760a.jpg","text":"TemporaryFile(/tmp/multipartBody4605169712430588988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862438063,"filename":"image_10122025_05_57_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/12/27/a501959c3197e421744de5ad9bfe1cae.jpg","text":"TemporaryFile(/tmp/multipartBody175458679034620191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862438063,"filename":"image_10122025_05_57_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fd30714ec093d2f16339dc1a681671ef.jpg","text":"TemporaryFile(/tmp/multipartBody6640730882423933453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862438063,"filename":"image_10122025_05_57_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/12/27/377f89d4075b0253aa145004608f0c93.jpg","text":"TemporaryFile(/tmp/multipartBody7448238650622493217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862438063,"filename":"image_10122025_05_56_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/12/27/eda2c23e88728933fa49ebe89e5d0b4e.jpg","text":"TemporaryFile(/tmp/multipartBody940268901679256112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862438063,"filename":"image_10122025_05_57_55_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309397","file1":"1401309394","file0":"1401309392","file4":"1401309401","file5":"1401309403","file3":"1401309399"},"map_files_photo_id_array":[{"photo_id":"1401309403","filename":"file5"},{"photo_id":"1401309397","filename":"file2"},{"photo_id":"1401309401","filename":"file4"},{"photo_id":"1401309394","filename":"file1"},{"photo_id":"1401309392","filename":"file0"},{"photo_id":"1401309399","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309401":["hashtag1","hashtag2"]},{"1401309394":["hashtag1","hashtag2"]},{"1401309397":["hashtag1","hashtag2"]},{"1401309399":["hashtag1","hashtag2"]},{"1401309403":["hashtag1","hashtag2"]},{"1401309392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309401, 1401309394, 1401309397, 1401309399, 1401309403, 1401309392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65415048599243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:07:02.991113
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_55_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_44_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_15_10632.jpg', '/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_34_9608.jpg', '/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_15_10629.jpg', '/home/nano/Desktop/images/10122025/05/54/image_10122025_05_55_04_9608.jpg', '/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_55_10616.jpg', '/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_15_10632.jpg
/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_34_9608.jpg
/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_15_10629.jpg
/home/nano/Desktop/images/10122025/05/54/image_10122025_05_55_04_9608.jpg
/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_55_10616.jpg
/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_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":["1401309416","1401309410","1401309407","1401309412","1401309409","1401309414"],"photo_ids_order":["1401309407","1401309409","1401309410","1401309412","1401309414","1401309416"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ba3617657d05fa2419353bf38a35f5f.jpg","text":"TemporaryFile(/tmp/multipartBody2175296721772242744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862483843,"filename":"image_10122025_05_54_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/12/27/cc0c008ea3df35c61dba85e174c5f4eb.jpg","text":"TemporaryFile(/tmp/multipartBody2187421766085891475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862483843,"filename":"image_10122025_05_55_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8508a88325dad5cafab4c54a39b6cc2a.jpg","text":"TemporaryFile(/tmp/multipartBody412161830556492679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862483843,"filename":"image_10122025_05_56_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c1240c024c10f37cf5a175454111685.jpg","text":"TemporaryFile(/tmp/multipartBody976212006468956587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862483843,"filename":"image_10122025_05_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/12/27/58221ecd2c137b480791782f313ab3c0.jpg","text":"TemporaryFile(/tmp/multipartBody9205375643105599371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862483843,"filename":"image_10122025_05_55_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/12/27/8b0fa8c69be07137d5ef3fd8bb9799df.jpg","text":"TemporaryFile(/tmp/multipartBody8402291653190110151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862483843,"filename":"image_10122025_05_54_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309410","file1":"1401309409","file0":"1401309407","file4":"1401309414","file5":"1401309416","file3":"1401309412"},"map_files_photo_id_array":[{"photo_id":"1401309416","filename":"file5"},{"photo_id":"1401309410","filename":"file2"},{"photo_id":"1401309414","filename":"file4"},{"photo_id":"1401309409","filename":"file1"},{"photo_id":"1401309407","filename":"file0"},{"photo_id":"1401309412","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309416":["hashtag1","hashtag2"]},{"1401309410":["hashtag1","hashtag2"]},{"1401309407":["hashtag1","hashtag2"]},{"1401309412":["hashtag1","hashtag2"]},{"1401309409":["hashtag1","hashtag2"]},{"1401309414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309416, 1401309410, 1401309407, 1401309412, 1401309409, 1401309414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.824294567108154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:07:47.406435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_15_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_35_9606.jpg', '/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_25_10634.jpg', '/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_54_9612.jpg', '/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_44_9621.jpg', '/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_35_10633.jpg', '/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_15_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_35_9606.jpg
/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_25_10634.jpg
/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_54_9612.jpg
/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_44_9621.jpg
/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_35_10633.jpg
/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_15_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":["1401309430","1401309433","1401309427","1401309426","1401309429","1401309428"],"photo_ids_order":["1401309426","1401309427","1401309428","1401309429","1401309430","1401309433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2af56a3cdee75390da62a4002f9779ac.jpg","text":"TemporaryFile(/tmp/multipartBody5328643758603412497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862528211,"filename":"image_10122025_05_53_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5f579bd3ca119f16a8b16aecb6ec540.jpg","text":"TemporaryFile(/tmp/multipartBody6314056571018257910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862528211,"filename":"image_10122025_05_53_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6666db086eda11d6558e39454f117e57.jpg","text":"TemporaryFile(/tmp/multipartBody29899625698845465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862528211,"filename":"image_10122025_05_54_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0c57860fc3887861da323fe62aecf2b.jpg","text":"TemporaryFile(/tmp/multipartBody7269929745563462332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862528211,"filename":"image_10122025_05_54_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98fbabbfb2e64fe341f1fc6e66c9e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody7543214801099856320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862528211,"filename":"image_10122025_05_53_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/12/27/a15a5459edb591dfbf6c6ae54bc91865.jpg","text":"TemporaryFile(/tmp/multipartBody345841493589244185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862528211,"filename":"image_10122025_05_53_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309428","file1":"1401309427","file0":"1401309426","file4":"1401309430","file5":"1401309433","file3":"1401309429"},"map_files_photo_id_array":[{"photo_id":"1401309433","filename":"file5"},{"photo_id":"1401309428","filename":"file2"},{"photo_id":"1401309430","filename":"file4"},{"photo_id":"1401309427","filename":"file1"},{"photo_id":"1401309426","filename":"file0"},{"photo_id":"1401309429","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309430":["hashtag1","hashtag2"]},{"1401309433":["hashtag1","hashtag2"]},{"1401309427":["hashtag1","hashtag2"]},{"1401309426":["hashtag1","hashtag2"]},{"1401309429":["hashtag1","hashtag2"]},{"1401309428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309430, 1401309433, 1401309427, 1401309426, 1401309429, 1401309428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.792874813079834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:08:32.530194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/52/image_10122025_05_53_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/52/image_10122025_05_52_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_52_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_14_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/52/image_10122025_05_53_05_10618.jpg', '/home/nano/Desktop/images/10122025/05/52/image_10122025_05_52_45_10617.jpg', '/home/nano/Desktop/images/10122025/05/51/image_10122025_05_52_04_9630.jpg', '/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_55_9608.jpg', '/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_45_10618.jpg', '/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_14_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/52/image_10122025_05_53_05_10618.jpg
/home/nano/Desktop/images/10122025/05/52/image_10122025_05_52_45_10617.jpg
/home/nano/Desktop/images/10122025/05/51/image_10122025_05_52_04_9630.jpg
/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_55_9608.jpg
/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_45_10618.jpg
/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_14_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":["1401309443","1401309445","1401309441","1401309459","1401309447","1401309458"],"photo_ids_order":["1401309441","1401309443","1401309445","1401309447","1401309458","1401309459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/611ea7971468f605c9cd4abafa9d7a05.jpg","text":"TemporaryFile(/tmp/multipartBody3714562114425584682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862573347,"filename":"image_10122025_05_52_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/17ce320413df4dd3298fe0239eb9002e.jpg","text":"TemporaryFile(/tmp/multipartBody1086655210538401871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862573347,"filename":"image_10122025_05_52_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/12/27/2e61cb3b7bcd1c76dd41b5bdb0a15561.jpg","text":"TemporaryFile(/tmp/multipartBody8625619794707064030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862573347,"filename":"image_10122025_05_53_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/060ab67d0ad0f222fefbbc9926b3a6c8.jpg","text":"TemporaryFile(/tmp/multipartBody6119473120830822940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862573347,"filename":"image_10122025_05_51_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/12/27/ee07a32cc1e7f94384dce5071eef4a5f.jpg","text":"TemporaryFile(/tmp/multipartBody9073163018537500988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862573347,"filename":"image_10122025_05_51_55_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6abf6edfad1d22374583775ebb52478.jpg","text":"TemporaryFile(/tmp/multipartBody6471776395258250289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862573347,"filename":"image_10122025_05_51_45_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309445","file1":"1401309443","file0":"1401309441","file4":"1401309458","file5":"1401309459","file3":"1401309447"},"map_files_photo_id_array":[{"photo_id":"1401309459","filename":"file5"},{"photo_id":"1401309445","filename":"file2"},{"photo_id":"1401309458","filename":"file4"},{"photo_id":"1401309443","filename":"file1"},{"photo_id":"1401309441","filename":"file0"},{"photo_id":"1401309447","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309443":["hashtag1","hashtag2"]},{"1401309445":["hashtag1","hashtag2"]},{"1401309441":["hashtag1","hashtag2"]},{"1401309459":["hashtag1","hashtag2"]},{"1401309447":["hashtag1","hashtag2"]},{"1401309458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309443, 1401309445, 1401309441, 1401309459, 1401309447, 1401309458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37833094596863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:09:17.704149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_51_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_15_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/50/image_10122025_05_51_05_9619.jpg', '/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_55_10613.jpg', '/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_44_9610.jpg', '/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_35_10615.jpg', '/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_24_9606.jpg', '/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_15_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/50/image_10122025_05_51_05_9619.jpg
/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_55_10613.jpg
/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_44_9610.jpg
/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_35_10615.jpg
/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_24_9606.jpg
/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_15_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":["1401309463","1401309472","1401309466","1401309468","1401309470","1401309464"],"photo_ids_order":["1401309463","1401309464","1401309466","1401309468","1401309470","1401309472"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a548de8d5c2faca0f69072761f7008d1.jpg","text":"TemporaryFile(/tmp/multipartBody8216791088536181975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862618505,"filename":"image_10122025_05_51_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adce685f6dc04f4673a29fefa34daedf.jpg","text":"TemporaryFile(/tmp/multipartBody3587724155347343105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862618505,"filename":"image_10122025_05_50_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/786e95ec18a62482955ec767dbf5caa6.jpg","text":"TemporaryFile(/tmp/multipartBody31748945803622065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862618505,"filename":"image_10122025_05_50_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/12/27/00da50df0ea63e151886dec1cc93c68a.jpg","text":"TemporaryFile(/tmp/multipartBody8246691625207227694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862618505,"filename":"image_10122025_05_50_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d08aa43f0bd086c91d9c05664f1fc6f.jpg","text":"TemporaryFile(/tmp/multipartBody4521375943622701131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862618505,"filename":"image_10122025_05_50_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/12/27/2b85513be33ab7e58c3502386da3dc39.jpg","text":"TemporaryFile(/tmp/multipartBody5595319918493513721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862618505,"filename":"image_10122025_05_50_55_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309466","file1":"1401309464","file0":"1401309463","file4":"1401309470","file5":"1401309472","file3":"1401309468"},"map_files_photo_id_array":[{"photo_id":"1401309472","filename":"file5"},{"photo_id":"1401309466","filename":"file2"},{"photo_id":"1401309470","filename":"file4"},{"photo_id":"1401309464","filename":"file1"},{"photo_id":"1401309463","filename":"file0"},{"photo_id":"1401309468","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309463":["hashtag1","hashtag2"]},{"1401309472":["hashtag1","hashtag2"]},{"1401309466":["hashtag1","hashtag2"]},{"1401309468":["hashtag1","hashtag2"]},{"1401309470":["hashtag1","hashtag2"]},{"1401309464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309463, 1401309472, 1401309466, 1401309468, 1401309470, 1401309464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02194094657898 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:10:02.269274
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_50_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_15_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/49/image_10122025_05_50_05_10631.jpg', '/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_54_9606.jpg', '/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_45_9622.jpg', '/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_35_10614.jpg', '/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_24_9604.jpg', '/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_15_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/49/image_10122025_05_50_05_10631.jpg
/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_54_9606.jpg
/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_45_9622.jpg
/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_35_10614.jpg
/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_24_9604.jpg
/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_15_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":["1401309481","1401309478","1401309483","1401309476","1401309485","1401309479"],"photo_ids_order":["1401309476","1401309478","1401309479","1401309481","1401309483","1401309485"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd8c640e7d9a4e89e1e026cddf15a59d.jpg","text":"TemporaryFile(/tmp/multipartBody9125968565792645662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862663129,"filename":"image_10122025_05_49_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f687597717ce6ee853bca14e6cc965b6.jpg","text":"TemporaryFile(/tmp/multipartBody1897511207180876647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862663129,"filename":"image_10122025_05_49_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/12/27/a14bdd5ee99f67a862c30d2cd93fdb07.jpg","text":"TemporaryFile(/tmp/multipartBody6158609105849221666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862663129,"filename":"image_10122025_05_49_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/12/27/ba6c118913adf6dcc16ccefcb26c0f29.jpg","text":"TemporaryFile(/tmp/multipartBody7952511623634077545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862663129,"filename":"image_10122025_05_50_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c7419aaefe3c8a3ceae574d435bd6f7.jpg","text":"TemporaryFile(/tmp/multipartBody6574956223907209238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862663129,"filename":"image_10122025_05_49_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2182e2a4f775983aa83d86e57102b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8245595930214253667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862663129,"filename":"image_10122025_05_49_45_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309479","file1":"1401309478","file0":"1401309476","file4":"1401309483","file5":"1401309485","file3":"1401309481"},"map_files_photo_id_array":[{"photo_id":"1401309485","filename":"file5"},{"photo_id":"1401309479","filename":"file2"},{"photo_id":"1401309483","filename":"file4"},{"photo_id":"1401309478","filename":"file1"},{"photo_id":"1401309476","filename":"file0"},{"photo_id":"1401309481","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309481":["hashtag1","hashtag2"]},{"1401309478":["hashtag1","hashtag2"]},{"1401309483":["hashtag1","hashtag2"]},{"1401309476":["hashtag1","hashtag2"]},{"1401309485":["hashtag1","hashtag2"]},{"1401309479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309481, 1401309478, 1401309483, 1401309476, 1401309485, 1401309479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.867194175720215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:10:46.751243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_48_05_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_55_9606.jpg', '/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_45_10615.jpg', '/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_34_9608.jpg', '/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_25_10614.jpg', '/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_14_9619.jpg', '/home/nano/Desktop/images/10122025/05/47/image_10122025_05_48_05_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_55_9606.jpg
/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_45_10615.jpg
/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_34_9608.jpg
/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_25_10614.jpg
/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_14_9619.jpg
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_48_05_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":["1401309499","1401309502","1401309495","1401309504","1401309494","1401309497"],"photo_ids_order":["1401309494","1401309495","1401309497","1401309499","1401309502","1401309504"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1b88785334fa5bb0eab788576263403.jpg","text":"TemporaryFile(/tmp/multipartBody5312763736532454575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862707554,"filename":"image_10122025_05_48_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25fb1b7097c4abb21de0ce80f4bae0df.jpg","text":"TemporaryFile(/tmp/multipartBody1548940419476759994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862707554,"filename":"image_10122025_05_48_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/12/27/148ee95fbc84350a337f957c2738b2ad.jpg","text":"TemporaryFile(/tmp/multipartBody3916175967873208616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862707554,"filename":"image_10122025_05_48_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91449f0d1b9c090c113d9fcf5fab8821.jpg","text":"TemporaryFile(/tmp/multipartBody753508065351419724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862707554,"filename":"image_10122025_05_48_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/49785481aba50931dd578f06abc50745.jpg","text":"TemporaryFile(/tmp/multipartBody8832146410155274220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862707554,"filename":"image_10122025_05_48_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1014838630b09a52558d29dc77a2db3a.jpg","text":"TemporaryFile(/tmp/multipartBody5759803066944241546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862707554,"filename":"image_10122025_05_48_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309497","file1":"1401309495","file0":"1401309494","file4":"1401309502","file5":"1401309504","file3":"1401309499"},"map_files_photo_id_array":[{"photo_id":"1401309504","filename":"file5"},{"photo_id":"1401309497","filename":"file2"},{"photo_id":"1401309502","filename":"file4"},{"photo_id":"1401309495","filename":"file1"},{"photo_id":"1401309494","filename":"file0"},{"photo_id":"1401309499","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309499":["hashtag1","hashtag2"]},{"1401309502":["hashtag1","hashtag2"]},{"1401309495":["hashtag1","hashtag2"]},{"1401309504":["hashtag1","hashtag2"]},{"1401309494":["hashtag1","hashtag2"]},{"1401309497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309499, 1401309502, 1401309495, 1401309504, 1401309494, 1401309497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.107656478881836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:11:31.891981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg', '/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg', '/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg', '/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg', '/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg', '/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7012894153594971 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:11:46.870230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg', '/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg', '/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg', '/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg', '/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg', '/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg
/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_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":["1401309521","1401309538","1401309535","1401309534","1401309537","1401309533"],"photo_ids_order":["1401309521","1401309533","1401309534","1401309535","1401309537","1401309538"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/299a202b53c4a7cb1f784473de2e526d.jpg","text":"TemporaryFile(/tmp/multipartBody2022674776754707342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862767682,"filename":"image_10122025_05_47_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73bc57818562f6542a7f23226590c577.jpg","text":"TemporaryFile(/tmp/multipartBody1540322102506192711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862767682,"filename":"image_10122025_05_46_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/12/27/80c4fb8a4bfd17c463bd78f4c4bd013c.jpg","text":"TemporaryFile(/tmp/multipartBody426585933972670514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862767682,"filename":"image_10122025_05_47_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/12/27/568e870b2b9ac287690e50928d93c759.jpg","text":"TemporaryFile(/tmp/multipartBody248628493415714702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862767682,"filename":"image_10122025_05_47_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9991a49c9b6e5d0e3197ef96655d01f2.jpg","text":"TemporaryFile(/tmp/multipartBody3020566752694388270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862767682,"filename":"image_10122025_05_47_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85b269226ae29ca15d21f6376743c4e6.jpg","text":"TemporaryFile(/tmp/multipartBody6492620141781526686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862767682,"filename":"image_10122025_05_47_44_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309534","file1":"1401309533","file0":"1401309521","file4":"1401309537","file5":"1401309538","file3":"1401309535"},"map_files_photo_id_array":[{"photo_id":"1401309538","filename":"file5"},{"photo_id":"1401309534","filename":"file2"},{"photo_id":"1401309537","filename":"file4"},{"photo_id":"1401309533","filename":"file1"},{"photo_id":"1401309521","filename":"file0"},{"photo_id":"1401309535","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309521":["hashtag1","hashtag2"]},{"1401309538":["hashtag1","hashtag2"]},{"1401309535":["hashtag1","hashtag2"]},{"1401309534":["hashtag1","hashtag2"]},{"1401309537":["hashtag1","hashtag2"]},{"1401309533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309521, 1401309538, 1401309535, 1401309534, 1401309537, 1401309533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.922610759735107 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:12:31.949987
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/20/12/image_27122025_20_12_24_10542.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/20/12/image_27122025_20_12_24_10542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/20/12/image_27122025_20_12_24_10542.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401309546"],"photo_id":"1401309546","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7dc36d9028bfa4942c7c3544795afc0a.jpg","text":"TemporaryFile(/tmp/multipartBody427532493385043376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862812189,"filename":"image_27122025_20_12_24_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401309546"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401309546"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.315103530883789 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:12:46.944992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg', '/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg', '/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg', '/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg', '/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', '/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg
/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg
/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg
/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg
/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6891043186187744 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:13:02.697450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg', '/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg', '/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg', '/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg', '/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', '/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg
/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg
/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg
/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg
/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg
/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_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":["1401309556","1401309559","1401309561","1401309558","1401309557","1401309554"],"photo_ids_order":["1401309554","1401309556","1401309557","1401309558","1401309559","1401309561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d3526d28d301e426e577f7643ee2e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5382814175031081523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862843532,"filename":"image_10122025_05_46_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/432e38ecbf8ba4468ee2b39e8fb99bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8270010083004851766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862843532,"filename":"image_10122025_05_45_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a031785b64d1ea9eceaaeec38aadee94.jpg","text":"TemporaryFile(/tmp/multipartBody7579103846350134204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862843532,"filename":"image_10122025_05_45_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/12/27/6bcf3207568c20bd4ebd7fa711d1107c.jpg","text":"TemporaryFile(/tmp/multipartBody7234679515973006412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862843532,"filename":"image_10122025_05_45_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2ed35d0df80de4c26aa0e4e9b5e8562.jpg","text":"TemporaryFile(/tmp/multipartBody4232603261711168053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862843532,"filename":"image_10122025_05_46_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/12/27/df5656a0d11efa7898b39c7a41f0fcae.jpg","text":"TemporaryFile(/tmp/multipartBody7294543406482116843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862843532,"filename":"image_10122025_05_46_45_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309557","file1":"1401309556","file0":"1401309554","file4":"1401309559","file5":"1401309561","file3":"1401309558"},"map_files_photo_id_array":[{"photo_id":"1401309561","filename":"file5"},{"photo_id":"1401309557","filename":"file2"},{"photo_id":"1401309559","filename":"file4"},{"photo_id":"1401309556","filename":"file1"},{"photo_id":"1401309554","filename":"file0"},{"photo_id":"1401309558","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309556":["hashtag1","hashtag2"]},{"1401309559":["hashtag1","hashtag2"]},{"1401309561":["hashtag1","hashtag2"]},{"1401309558":["hashtag1","hashtag2"]},{"1401309557":["hashtag1","hashtag2"]},{"1401309554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309556, 1401309559, 1401309561, 1401309558, 1401309557, 1401309554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11457324028015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:13:47.065108
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_44_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_55_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_35_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_25_10633.jpg', '/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_14_9624.jpg', '/home/nano/Desktop/images/10122025/05/43/image_10122025_05_44_05_9641.jpg', '/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_55_10634.jpg', '/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_44_9611.jpg', '/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_25_10633.jpg
/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_14_9624.jpg
/home/nano/Desktop/images/10122025/05/43/image_10122025_05_44_05_9641.jpg
/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_55_10634.jpg
/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_44_9611.jpg
/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_35_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":["1401309574","1401309577","1401309579","1401309570","1401309576","1401309572"],"photo_ids_order":["1401309570","1401309572","1401309574","1401309576","1401309577","1401309579"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86b57a4443a45ee47bf498ea7618227a.jpg","text":"TemporaryFile(/tmp/multipartBody5114816767136905740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862887875,"filename":"image_10122025_05_44_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/16d6baa5969de3f9b69305694baa43d4.jpg","text":"TemporaryFile(/tmp/multipartBody8836711164031204267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862887875,"filename":"image_10122025_05_43_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/12/27/ab81e893234fc92d23803566bbfe119c.jpg","text":"TemporaryFile(/tmp/multipartBody6635817148644391857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862887875,"filename":"image_10122025_05_43_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2df1412843c41e04dad7a85d4502c008.jpg","text":"TemporaryFile(/tmp/multipartBody674893850089590867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862887875,"filename":"image_10122025_05_44_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e11cc4e36031a087aa873d844c5cbe3b.jpg","text":"TemporaryFile(/tmp/multipartBody1296774150225955128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862887875,"filename":"image_10122025_05_43_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5aeea81ce0fa725654c410aba06e56fc.jpg","text":"TemporaryFile(/tmp/multipartBody2469177053188502193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862887875,"filename":"image_10122025_05_44_14_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309574","file1":"1401309572","file0":"1401309570","file4":"1401309577","file5":"1401309579","file3":"1401309576"},"map_files_photo_id_array":[{"photo_id":"1401309579","filename":"file5"},{"photo_id":"1401309574","filename":"file2"},{"photo_id":"1401309577","filename":"file4"},{"photo_id":"1401309572","filename":"file1"},{"photo_id":"1401309570","filename":"file0"},{"photo_id":"1401309576","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309574":["hashtag1","hashtag2"]},{"1401309577":["hashtag1","hashtag2"]},{"1401309579":["hashtag1","hashtag2"]},{"1401309570":["hashtag1","hashtag2"]},{"1401309576":["hashtag1","hashtag2"]},{"1401309572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309574, 1401309577, 1401309579, 1401309570, 1401309576, 1401309572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91001296043396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:14:32.166491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_43_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_25_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_24_9607.jpg', '/home/nano/Desktop/images/10122025/05/42/image_10122025_05_43_05_10628.jpg', '/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_54_9623.jpg', '/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_45_10615.jpg', '/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_34_9619.jpg', '/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_25_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_24_9607.jpg
/home/nano/Desktop/images/10122025/05/42/image_10122025_05_43_05_10628.jpg
/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_54_9623.jpg
/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_45_10615.jpg
/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_34_9619.jpg
/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_25_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":["1401309608","1401309585","1401309588","1401309593","1401309606","1401309590"],"photo_ids_order":["1401309585","1401309588","1401309590","1401309593","1401309606","1401309608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df7ed2f09224a871a9264f2978d02b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3757572007041746107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862932982,"filename":"image_10122025_05_42_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/330434db78684ac2ec7ff4d990925091.jpg","text":"TemporaryFile(/tmp/multipartBody878420808052708125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862932982,"filename":"image_10122025_05_43_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/12/27/6ee3a086fd13791da445e46af145cd89.jpg","text":"TemporaryFile(/tmp/multipartBody3326967210119016917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862932982,"filename":"image_10122025_05_43_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3df4f14d6139030b6731843e1318bea7.jpg","text":"TemporaryFile(/tmp/multipartBody6072329018643073611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862932982,"filename":"image_10122025_05_42_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b31a3a1d53efd4cfee0834dbff283e45.jpg","text":"TemporaryFile(/tmp/multipartBody4320271071983410514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862932982,"filename":"image_10122025_05_42_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/12/27/247976efa8067d743b207d55d8722249.jpg","text":"TemporaryFile(/tmp/multipartBody7635758205076144211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862932982,"filename":"image_10122025_05_42_54_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309590","file1":"1401309588","file0":"1401309585","file4":"1401309606","file5":"1401309608","file3":"1401309593"},"map_files_photo_id_array":[{"photo_id":"1401309608","filename":"file5"},{"photo_id":"1401309590","filename":"file2"},{"photo_id":"1401309606","filename":"file4"},{"photo_id":"1401309588","filename":"file1"},{"photo_id":"1401309585","filename":"file0"},{"photo_id":"1401309593","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309608":["hashtag1","hashtag2"]},{"1401309585":["hashtag1","hashtag2"]},{"1401309588":["hashtag1","hashtag2"]},{"1401309593":["hashtag1","hashtag2"]},{"1401309606":["hashtag1","hashtag2"]},{"1401309590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309608, 1401309585, 1401309588, 1401309593, 1401309606, 1401309590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.441771507263184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:15:17.363230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_42_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_25_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_15_10629.jpg', '/home/nano/Desktop/images/10122025/05/41/image_10122025_05_42_04_9604.jpg', '/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_55_9605.jpg', '/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_45_10618.jpg', '/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_34_9604.jpg', '/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_25_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_15_10629.jpg
/home/nano/Desktop/images/10122025/05/41/image_10122025_05_42_04_9604.jpg
/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_55_9605.jpg
/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_45_10618.jpg
/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_34_9604.jpg
/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_25_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":["1401309622","1401309619","1401309610","1401309613","1401309616","1401309609"],"photo_ids_order":["1401309609","1401309610","1401309613","1401309616","1401309619","1401309622"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98e8d393c751f676cf46b9ae4ffabffc.jpg","text":"TemporaryFile(/tmp/multipartBody4597805756553175629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862978159,"filename":"image_10122025_05_41_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1bbf6face73facf6bd9c823d62aec69e.jpg","text":"TemporaryFile(/tmp/multipartBody727010700596524375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862978159,"filename":"image_10122025_05_41_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/12/27/6448a5d732a58c127abe6e847faf3449.jpg","text":"TemporaryFile(/tmp/multipartBody698674369928344742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862978159,"filename":"image_10122025_05_42_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/12/27/0079a8aa1ff425b4fff3b352a06c54ac.jpg","text":"TemporaryFile(/tmp/multipartBody3223629390096676046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862978159,"filename":"image_10122025_05_41_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ac2f9cb1b05519abfa319aa1a79a943.jpg","text":"TemporaryFile(/tmp/multipartBody1559273118205902015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862978159,"filename":"image_10122025_05_41_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55990fc2968ffa337f6eb3c698a5465b.jpg","text":"TemporaryFile(/tmp/multipartBody2136827561528192016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766862978159,"filename":"image_10122025_05_42_15_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309613","file1":"1401309610","file0":"1401309609","file4":"1401309619","file5":"1401309622","file3":"1401309616"},"map_files_photo_id_array":[{"photo_id":"1401309622","filename":"file5"},{"photo_id":"1401309613","filename":"file2"},{"photo_id":"1401309619","filename":"file4"},{"photo_id":"1401309610","filename":"file1"},{"photo_id":"1401309609","filename":"file0"},{"photo_id":"1401309616","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309622":["hashtag1","hashtag2"]},{"1401309619":["hashtag1","hashtag2"]},{"1401309610":["hashtag1","hashtag2"]},{"1401309613":["hashtag1","hashtag2"]},{"1401309616":["hashtag1","hashtag2"]},{"1401309609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309622, 1401309619, 1401309610, 1401309613, 1401309616, 1401309609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22426629066467 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:16:02.949199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg', '/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg', '/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', '/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg', '/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', '/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg
/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg
/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7740950584411621 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:16:17.369897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg', '/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg', '/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', '/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg', '/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', '/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg
/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg
/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_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":["1401309641","1401309635","1401309633","1401309644","1401309638","1401309647"],"photo_ids_order":["1401309633","1401309635","1401309638","1401309641","1401309644","1401309647"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fc6e69fffac073f432054a9a39203d2.jpg","text":"TemporaryFile(/tmp/multipartBody1443244779451929328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863038150,"filename":"image_10122025_05_39_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cfd10784c3c96cfa77fd11838cca75e.jpg","text":"TemporaryFile(/tmp/multipartBody5364053651001400710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863038150,"filename":"image_10122025_05_40_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0993755e6da13fa5e421e3e45f857e0a.jpg","text":"TemporaryFile(/tmp/multipartBody8677465281739994661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863038150,"filename":"image_10122025_05_41_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59ab16bb7b61588e0b321e29a64d455b.jpg","text":"TemporaryFile(/tmp/multipartBody5786747076326433412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863038150,"filename":"image_10122025_05_39_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/045c4aabd9d5fbe75413599d6005c941.jpg","text":"TemporaryFile(/tmp/multipartBody7243998085485005476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863038150,"filename":"image_10122025_05_40_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/12/27/22840abf7db723f34f99617c74eada43.jpg","text":"TemporaryFile(/tmp/multipartBody6658944649397457848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863038150,"filename":"image_10122025_05_39_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309638","file1":"1401309635","file0":"1401309633","file4":"1401309644","file5":"1401309647","file3":"1401309641"},"map_files_photo_id_array":[{"photo_id":"1401309647","filename":"file5"},{"photo_id":"1401309638","filename":"file2"},{"photo_id":"1401309644","filename":"file4"},{"photo_id":"1401309635","filename":"file1"},{"photo_id":"1401309633","filename":"file0"},{"photo_id":"1401309641","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309641":["hashtag1","hashtag2"]},{"1401309635":["hashtag1","hashtag2"]},{"1401309633":["hashtag1","hashtag2"]},{"1401309644":["hashtag1","hashtag2"]},{"1401309638":["hashtag1","hashtag2"]},{"1401309647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309641, 1401309635, 1401309633, 1401309644, 1401309638, 1401309647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55999684333801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:17:03.015826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', '/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', '/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg', '/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', '/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg', '/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg
/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg
/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg
/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg
/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg
/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_10613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7121198177337646 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:17:17.464792
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', '/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', '/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg', '/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', '/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg', '/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg
/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg
/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg
/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg
/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg
/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_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":["1401309661","1401309670","1401309664","1401309672","1401309666","1401309668"],"photo_ids_order":["1401309661","1401309664","1401309666","1401309668","1401309670","1401309672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/47cfea36f6ed51c40498f8c3eb20cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody8031108656543374787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863098265,"filename":"image_10122025_05_39_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b9657f31a9025f6b56a775b518e5287.jpg","text":"TemporaryFile(/tmp/multipartBody4081560450091088460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863098265,"filename":"image_10122025_05_38_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51730836d7c8f245948da303ddb0436d.jpg","text":"TemporaryFile(/tmp/multipartBody6060679444490462087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863098265,"filename":"image_10122025_05_39_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/12/27/4dceeeadbd95c925bde915ccf132d99a.jpg","text":"TemporaryFile(/tmp/multipartBody3456426988913117763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863098265,"filename":"image_10122025_05_37_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5057d633054f06553fa4fa8965df25e9.jpg","text":"TemporaryFile(/tmp/multipartBody3978121992376931396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863098265,"filename":"image_10122025_05_38_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9654657afba30a9e288bf54284392173.jpg","text":"TemporaryFile(/tmp/multipartBody4198673611190680687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863098265,"filename":"image_10122025_05_38_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309666","file1":"1401309664","file0":"1401309661","file4":"1401309670","file5":"1401309672","file3":"1401309668"},"map_files_photo_id_array":[{"photo_id":"1401309672","filename":"file5"},{"photo_id":"1401309666","filename":"file2"},{"photo_id":"1401309670","filename":"file4"},{"photo_id":"1401309664","filename":"file1"},{"photo_id":"1401309661","filename":"file0"},{"photo_id":"1401309668","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309661":["hashtag1","hashtag2"]},{"1401309670":["hashtag1","hashtag2"]},{"1401309664":["hashtag1","hashtag2"]},{"1401309672":["hashtag1","hashtag2"]},{"1401309666":["hashtag1","hashtag2"]},{"1401309668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309661, 1401309670, 1401309664, 1401309672, 1401309666, 1401309668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7078378200531 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:18:03.049225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg', '/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_35_9607.jpg', '/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_25_10631.jpg', '/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_24_9603.jpg', '/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_15_10635.jpg', '/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg
/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_35_9607.jpg
/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_25_10631.jpg
/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_24_9603.jpg
/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_15_10635.jpg
/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_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":["1401309691","1401309688","1401309696","1401309693","1401309689","1401309698"],"photo_ids_order":["1401309688","1401309689","1401309691","1401309693","1401309696","1401309698"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a1d5b1aa5bdc11440f0b857d01ea843.jpg","text":"TemporaryFile(/tmp/multipartBody124599260593360012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863143869,"filename":"image_10122025_05_37_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee3c8d2f94c57376cae3ded7840a5588.jpg","text":"TemporaryFile(/tmp/multipartBody1603438557470970547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863143869,"filename":"image_10122025_05_37_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/12/27/1cc7b5bb58a539a876bca38989c4a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8116400596024043914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863143869,"filename":"image_10122025_05_36_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/df8f16321cc3dcc8e9bec05ebc733b17.jpg","text":"TemporaryFile(/tmp/multipartBody6757708967590546240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863143869,"filename":"image_10122025_05_36_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/12/27/dfbe4145d5171f4a96ba85d8ea49050e.jpg","text":"TemporaryFile(/tmp/multipartBody3531436810304636619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863143869,"filename":"image_10122025_05_37_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b252c339395c603d888725bade2f53b.jpg","text":"TemporaryFile(/tmp/multipartBody6810867448753456023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863143869,"filename":"image_10122025_05_35_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309691","file1":"1401309689","file0":"1401309688","file4":"1401309696","file5":"1401309698","file3":"1401309693"},"map_files_photo_id_array":[{"photo_id":"1401309698","filename":"file5"},{"photo_id":"1401309691","filename":"file2"},{"photo_id":"1401309696","filename":"file4"},{"photo_id":"1401309689","filename":"file1"},{"photo_id":"1401309688","filename":"file0"},{"photo_id":"1401309693","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309691":["hashtag1","hashtag2"]},{"1401309688":["hashtag1","hashtag2"]},{"1401309696":["hashtag1","hashtag2"]},{"1401309693":["hashtag1","hashtag2"]},{"1401309689":["hashtag1","hashtag2"]},{"1401309698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309691, 1401309688, 1401309696, 1401309693, 1401309689, 1401309698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.610729694366455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:18:47.553671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/34/image_10122025_05_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_34_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_45_10615.jpg', '/home/nano/Desktop/images/10122025/05/34/image_10122025_05_35_04_9617.jpg', '/home/nano/Desktop/images/10122025/05/33/image_10122025_05_34_05_10620.jpg', '/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg', '/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', '/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_45_10615.jpg
/home/nano/Desktop/images/10122025/05/34/image_10122025_05_35_04_9617.jpg
/home/nano/Desktop/images/10122025/05/33/image_10122025_05_34_05_10620.jpg
/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg
/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg
/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_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":["1401309707","1401309704","1401309706","1401309709","1401309705","1401309710"],"photo_ids_order":["1401309704","1401309705","1401309706","1401309707","1401309709","1401309710"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a836df3de6cde284b384f6bdbad5ae21.jpg","text":"TemporaryFile(/tmp/multipartBody4589649313614114517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863188428,"filename":"image_10122025_05_33_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/12/27/ab3954e826d768d9f9580aac8645486e.jpg","text":"TemporaryFile(/tmp/multipartBody1515975881430988242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863188428,"filename":"image_10122025_05_35_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36a5f269ede2886b886bb0697e4dccf9.jpg","text":"TemporaryFile(/tmp/multipartBody135972844912715344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863188428,"filename":"image_10122025_05_34_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1a48c2295485e5e1a5545482cad7c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody7541429790774100236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863188428,"filename":"image_10122025_05_33_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffc44edab0eb19060ca5a2f290127f94.jpg","text":"TemporaryFile(/tmp/multipartBody7775508748496840142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863188428,"filename":"image_10122025_05_35_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/12/27/7de468c6a0ba06461933e353cda95d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6623018488092808700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863188428,"filename":"image_10122025_05_33_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309706","file1":"1401309705","file0":"1401309704","file4":"1401309709","file5":"1401309710","file3":"1401309707"},"map_files_photo_id_array":[{"photo_id":"1401309710","filename":"file5"},{"photo_id":"1401309706","filename":"file2"},{"photo_id":"1401309709","filename":"file4"},{"photo_id":"1401309705","filename":"file1"},{"photo_id":"1401309704","filename":"file0"},{"photo_id":"1401309707","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309707":["hashtag1","hashtag2"]},{"1401309704":["hashtag1","hashtag2"]},{"1401309706":["hashtag1","hashtag2"]},{"1401309709":["hashtag1","hashtag2"]},{"1401309705":["hashtag1","hashtag2"]},{"1401309710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309707, 1401309704, 1401309706, 1401309709, 1401309705, 1401309710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.762627363204956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:19:32.704766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_35_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_45_10617.jpg', '/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', '/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', '/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_55_10614.jpg', '/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_44_9605.jpg', '/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_35_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_45_10617.jpg
/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg
/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg
/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_55_10614.jpg
/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_44_9605.jpg
/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_35_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":["1401309728","1401309721","1401309727","1401309723","1401309725","1401309719"],"photo_ids_order":["1401309719","1401309721","1401309723","1401309725","1401309727","1401309728"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dce83f57d69d23488caea3e13ce6d052.jpg","text":"TemporaryFile(/tmp/multipartBody331881310125734416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863233508,"filename":"image_10122025_05_31_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e8b08ab66dfe6a56a330d7bcb4f5325.jpg","text":"TemporaryFile(/tmp/multipartBody3196724587695398583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863233508,"filename":"image_10122025_05_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/12/27/3e60fd85946c8886faf53f053fed608c.jpg","text":"TemporaryFile(/tmp/multipartBody6163423783584909215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863233508,"filename":"image_10122025_05_31_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/12/27/938fa103c5b92525a305311834cf2325.jpg","text":"TemporaryFile(/tmp/multipartBody430095777025451673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863233508,"filename":"image_10122025_05_32_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/12/27/ffda7f2415c5dc5a41e238004a33873a.jpg","text":"TemporaryFile(/tmp/multipartBody8223299065877482120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863233508,"filename":"image_10122025_05_31_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8641e3ebc2bcdf7bf445cd6072276434.jpg","text":"TemporaryFile(/tmp/multipartBody5887686794024770526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863233508,"filename":"image_10122025_05_32_45_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309723","file1":"1401309721","file0":"1401309719","file4":"1401309727","file5":"1401309728","file3":"1401309725"},"map_files_photo_id_array":[{"photo_id":"1401309728","filename":"file5"},{"photo_id":"1401309723","filename":"file2"},{"photo_id":"1401309727","filename":"file4"},{"photo_id":"1401309721","filename":"file1"},{"photo_id":"1401309719","filename":"file0"},{"photo_id":"1401309725","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309728":["hashtag1","hashtag2"]},{"1401309721":["hashtag1","hashtag2"]},{"1401309727":["hashtag1","hashtag2"]},{"1401309723":["hashtag1","hashtag2"]},{"1401309725":["hashtag1","hashtag2"]},{"1401309719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309728, 1401309721, 1401309727, 1401309723, 1401309725, 1401309719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.545551538467407 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:20:16.763198
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_31_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_30_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_25_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/30/image_10122025_05_31_05_9628.jpg', '/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_55_10615.jpg', '/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_44_9624.jpg', '/home/nano/Desktop/images/10122025/05/29/image_10122025_05_30_05_10629.jpg', '/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_45_10617.jpg', '/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_25_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/30/image_10122025_05_31_05_9628.jpg
/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_55_10615.jpg
/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_44_9624.jpg
/home/nano/Desktop/images/10122025/05/29/image_10122025_05_30_05_10629.jpg
/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_45_10617.jpg
/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_25_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":["1401309740","1401309734","1401309742","1401309736","1401309733","1401309738"],"photo_ids_order":["1401309733","1401309734","1401309736","1401309738","1401309740","1401309742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b640fa36a1783b20120111938248a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5728246826072744721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863277567,"filename":"image_10122025_05_29_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b706007a23a09b8bfb4a36213a1a8554.jpg","text":"TemporaryFile(/tmp/multipartBody5222103835537954133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863277567,"filename":"image_10122025_05_30_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dcc8ad06451a9eb1b23f4f5245cf0bae.jpg","text":"TemporaryFile(/tmp/multipartBody7520832008854340443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863277567,"filename":"image_10122025_05_29_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d999dbf596f2a828ec25cdda2f99f354.jpg","text":"TemporaryFile(/tmp/multipartBody5728499353597466990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863277567,"filename":"image_10122025_05_30_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/12/27/66216f88aaf78bb6bca3766da1db71f2.jpg","text":"TemporaryFile(/tmp/multipartBody510087738266922489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863277567,"filename":"image_10122025_05_31_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31d22fec385461fbde009e306b9be30c.jpg","text":"TemporaryFile(/tmp/multipartBody4488965824181613037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863277567,"filename":"image_10122025_05_30_05_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309736","file1":"1401309734","file0":"1401309733","file4":"1401309740","file5":"1401309742","file3":"1401309738"},"map_files_photo_id_array":[{"photo_id":"1401309742","filename":"file5"},{"photo_id":"1401309736","filename":"file2"},{"photo_id":"1401309740","filename":"file4"},{"photo_id":"1401309734","filename":"file1"},{"photo_id":"1401309733","filename":"file0"},{"photo_id":"1401309738","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309740":["hashtag1","hashtag2"]},{"1401309734":["hashtag1","hashtag2"]},{"1401309742":["hashtag1","hashtag2"]},{"1401309736":["hashtag1","hashtag2"]},{"1401309733":["hashtag1","hashtag2"]},{"1401309738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309740, 1401309734, 1401309742, 1401309736, 1401309733, 1401309738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57081627845764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:21:02.498560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/27/image_10122025_05_27_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_27_05_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_45_10614.jpg', '/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', '/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_25_10620.jpg', '/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_14_9619.jpg', '/home/nano/Desktop/images/10122025/05/27/image_10122025_05_27_44_9612.jpg', '/home/nano/Desktop/images/10122025/05/26/image_10122025_05_27_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_45_10614.jpg
/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg
/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_25_10620.jpg
/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_14_9619.jpg
/home/nano/Desktop/images/10122025/05/27/image_10122025_05_27_44_9612.jpg
/home/nano/Desktop/images/10122025/05/26/image_10122025_05_27_05_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":["1401309760","1401309762","1401309765","1401309756","1401309764","1401309758"],"photo_ids_order":["1401309756","1401309758","1401309760","1401309762","1401309764","1401309765"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ccfb0bf6026dc6de92ec8db198d8b20.jpg","text":"TemporaryFile(/tmp/multipartBody2345439626508260280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863323386,"filename":"image_10122025_05_28_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a8bfe4291c5ca8387183bb10e409845.jpg","text":"TemporaryFile(/tmp/multipartBody2706928512918691029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863323386,"filename":"image_10122025_05_28_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/12/27/22c48362f1136034e6afdc4fe3154571.jpg","text":"TemporaryFile(/tmp/multipartBody7192236202373773760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863323386,"filename":"image_10122025_05_27_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5be1f9a20a9b59605f6bbabd2db6559f.jpg","text":"TemporaryFile(/tmp/multipartBody2037736182271937961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863323386,"filename":"image_10122025_05_28_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b88a5c5b7a18f9d5c5a896eea9606744.jpg","text":"TemporaryFile(/tmp/multipartBody4230711793767137202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863323386,"filename":"image_10122025_05_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/12/27/56210c78e8be6d629355966b95db79dc.jpg","text":"TemporaryFile(/tmp/multipartBody5436210615811415301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863323386,"filename":"image_10122025_05_28_34_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309760","file1":"1401309758","file0":"1401309756","file4":"1401309764","file5":"1401309765","file3":"1401309762"},"map_files_photo_id_array":[{"photo_id":"1401309765","filename":"file5"},{"photo_id":"1401309760","filename":"file2"},{"photo_id":"1401309764","filename":"file4"},{"photo_id":"1401309758","filename":"file1"},{"photo_id":"1401309756","filename":"file0"},{"photo_id":"1401309762","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309760":["hashtag1","hashtag2"]},{"1401309762":["hashtag1","hashtag2"]},{"1401309765":["hashtag1","hashtag2"]},{"1401309756":["hashtag1","hashtag2"]},{"1401309764":["hashtag1","hashtag2"]},{"1401309758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309760, 1401309762, 1401309765, 1401309756, 1401309764, 1401309758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.5152428150177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:21:46.852198
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/20/21/image_27122025_20_21_34_10530.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/20/21/image_27122025_20_21_34_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/20/21/image_27122025_20_21_34_10530.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401309773"],"photo_id":"1401309773","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5694684c17a0320db515d93112bf00a1.jpg","text":"TemporaryFile(/tmp/multipartBody5277252174735116564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863367103,"filename":"image_27122025_20_21_34_10530.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401309773"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401309773"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.38982105255127 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:22:02.478345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_45_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_54_9607.jpg', '/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_45_9613.jpg', '/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_35_10616.jpg', '/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_24_9604.jpg', '/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_55_9605.jpg', '/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_45_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_54_9607.jpg
/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_45_9613.jpg
/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_35_10616.jpg
/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_24_9604.jpg
/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_55_9605.jpg
/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_45_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":["1401309778","1401309781","1401309783","1401309776","1401309785","1401309779"],"photo_ids_order":["1401309776","1401309778","1401309779","1401309781","1401309783","1401309785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb1a072e3d1637854dd167d7ee1fca66.jpg","text":"TemporaryFile(/tmp/multipartBody6519547670615226946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863383326,"filename":"image_10122025_05_26_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26852fd3dbd071448529744703d0726e.jpg","text":"TemporaryFile(/tmp/multipartBody8897403080977373416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863383326,"filename":"image_10122025_05_26_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/12/27/f58c50269d699dd7c0e51cd1c8c98d39.jpg","text":"TemporaryFile(/tmp/multipartBody7846022707118690757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863383326,"filename":"image_10122025_05_25_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5860de016fbc7286c95f0469b20904f1.jpg","text":"TemporaryFile(/tmp/multipartBody6416379694835355822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863383326,"filename":"image_10122025_05_26_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/12/27/8662d8b86765628d237c4a96f4d76d55.jpg","text":"TemporaryFile(/tmp/multipartBody1121379660414787674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863383326,"filename":"image_10122025_05_25_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe9c23078362b197147f538d0a56657e.jpg","text":"TemporaryFile(/tmp/multipartBody7668475743641529103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863383326,"filename":"image_10122025_05_26_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309779","file1":"1401309778","file0":"1401309776","file4":"1401309783","file5":"1401309785","file3":"1401309781"},"map_files_photo_id_array":[{"photo_id":"1401309785","filename":"file5"},{"photo_id":"1401309779","filename":"file2"},{"photo_id":"1401309783","filename":"file4"},{"photo_id":"1401309778","filename":"file1"},{"photo_id":"1401309776","filename":"file0"},{"photo_id":"1401309781","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309778":["hashtag1","hashtag2"]},{"1401309781":["hashtag1","hashtag2"]},{"1401309783":["hashtag1","hashtag2"]},{"1401309776":["hashtag1","hashtag2"]},{"1401309785":["hashtag1","hashtag2"]},{"1401309779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309778, 1401309781, 1401309783, 1401309776, 1401309785, 1401309779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38447666168213 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:22:46.948260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_25_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_35_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_34_9603.jpg', '/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_25_10615.jpg', '/home/nano/Desktop/images/10122025/05/24/image_10122025_05_25_04_9607.jpg', '/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_55_10614.jpg', '/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_44_9608.jpg', '/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_35_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_34_9603.jpg
/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_25_10615.jpg
/home/nano/Desktop/images/10122025/05/24/image_10122025_05_25_04_9607.jpg
/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_55_10614.jpg
/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_44_9608.jpg
/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_35_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":["1401309800","1401309802","1401309795","1401309798","1401309804","1401309797"],"photo_ids_order":["1401309795","1401309797","1401309798","1401309800","1401309802","1401309804"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2181c01d410a9cd63ea505cca83d0a49.jpg","text":"TemporaryFile(/tmp/multipartBody665634742171094223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863427744,"filename":"image_10122025_05_24_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9799abb73dc84ca2057bc7cf6e245cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2421493879701449894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863427744,"filename":"image_10122025_05_24_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/12/27/3f0d1643c0c975625b1f1fe34e8c0487.jpg","text":"TemporaryFile(/tmp/multipartBody7934158805707048602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863427744,"filename":"image_10122025_05_25_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/12/27/2a6ea9c4dae5315dd5b1b942e6d4fbc9.jpg","text":"TemporaryFile(/tmp/multipartBody5565470452039875349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863427744,"filename":"image_10122025_05_25_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/12/27/7cab17d7f3a2f789b1c0943a052bd5d2.jpg","text":"TemporaryFile(/tmp/multipartBody5919233050096965092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863427744,"filename":"image_10122025_05_24_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2110921344e73e08d7db59858f78ad7.jpg","text":"TemporaryFile(/tmp/multipartBody2816735884526473854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863427744,"filename":"image_10122025_05_25_25_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309798","file1":"1401309797","file0":"1401309795","file4":"1401309802","file5":"1401309804","file3":"1401309800"},"map_files_photo_id_array":[{"photo_id":"1401309804","filename":"file5"},{"photo_id":"1401309798","filename":"file2"},{"photo_id":"1401309802","filename":"file4"},{"photo_id":"1401309797","filename":"file1"},{"photo_id":"1401309795","filename":"file0"},{"photo_id":"1401309800","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309800":["hashtag1","hashtag2"]},{"1401309802":["hashtag1","hashtag2"]},{"1401309795":["hashtag1","hashtag2"]},{"1401309798":["hashtag1","hashtag2"]},{"1401309804":["hashtag1","hashtag2"]},{"1401309797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309800, 1401309802, 1401309795, 1401309798, 1401309804, 1401309797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21737456321716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:23:32.054461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg', '/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg
/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_54_9606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7121012210845947 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:23:47.079361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', '/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg', '/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg
/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg
/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_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":["1401309833","1401309835","1401309838","1401309837","1401309836","1401309839"],"photo_ids_order":["1401309833","1401309835","1401309836","1401309837","1401309838","1401309839"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c739f6f76abf1d425a31dd04c5449820.jpg","text":"TemporaryFile(/tmp/multipartBody6569971703433778264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863487923,"filename":"image_10122025_05_24_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a15fee2384a7c0733cc2a5e711e8ef3e.jpg","text":"TemporaryFile(/tmp/multipartBody5544779436915872271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863487923,"filename":"image_10122025_05_23_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfb882017c8426de5582babdb4222e12.jpg","text":"TemporaryFile(/tmp/multipartBody5413640937794891901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863487923,"filename":"image_10122025_05_23_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b9aa64482c115103a251181b6746555.jpg","text":"TemporaryFile(/tmp/multipartBody3328705530622990065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863487923,"filename":"image_10122025_05_23_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/12/27/8dedf52247da16a0f5998f331463d433.jpg","text":"TemporaryFile(/tmp/multipartBody505146741982738803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863487923,"filename":"image_10122025_05_23_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ee1782b7eb5a61ecf01042b4597fedd.jpg","text":"TemporaryFile(/tmp/multipartBody5640202192346413842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863487923,"filename":"image_10122025_05_22_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309836","file1":"1401309835","file0":"1401309833","file4":"1401309838","file5":"1401309839","file3":"1401309837"},"map_files_photo_id_array":[{"photo_id":"1401309839","filename":"file5"},{"photo_id":"1401309836","filename":"file2"},{"photo_id":"1401309838","filename":"file4"},{"photo_id":"1401309835","filename":"file1"},{"photo_id":"1401309833","filename":"file0"},{"photo_id":"1401309837","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309833":["hashtag1","hashtag2"]},{"1401309835":["hashtag1","hashtag2"]},{"1401309838":["hashtag1","hashtag2"]},{"1401309837":["hashtag1","hashtag2"]},{"1401309836":["hashtag1","hashtag2"]},{"1401309839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309833, 1401309835, 1401309838, 1401309837, 1401309836, 1401309839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.648879766464233 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:24:32.172851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_22_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_14_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_45_10621.jpg', '/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_25_9604.jpg', '/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_15_10629.jpg', '/home/nano/Desktop/images/10122025/05/21/image_10122025_05_22_04_9635.jpg', '/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_25_10618.jpg', '/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_14_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_45_10621.jpg
/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_25_9604.jpg
/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_15_10629.jpg
/home/nano/Desktop/images/10122025/05/21/image_10122025_05_22_04_9635.jpg
/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_25_10618.jpg
/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_14_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":["1401309848","1401309858","1401309846","1401309854","1401309857","1401309851"],"photo_ids_order":["1401309846","1401309848","1401309851","1401309854","1401309857","1401309858"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b43e23f937b4eefb69300ba21ce171a.jpg","text":"TemporaryFile(/tmp/multipartBody8368526231057786036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863532968,"filename":"image_10122025_05_22_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb3bd4565babd3142f5b58d923ba73ab.jpg","text":"TemporaryFile(/tmp/multipartBody8163310788833169799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863532968,"filename":"image_10122025_05_21_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/12/27/a318ce131825c5e320b11ebe41e2bd1a.jpg","text":"TemporaryFile(/tmp/multipartBody4835932347736780663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863532968,"filename":"image_10122025_05_22_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2304dcdfac7566cf6194fbb34b81f0b8.jpg","text":"TemporaryFile(/tmp/multipartBody7369801001630833621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863532968,"filename":"image_10122025_05_22_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/12/27/cee703a9d50b76528c8c0bf935b97d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6121888947930624975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863532968,"filename":"image_10122025_05_21_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf6011baf3a4b6e582001871294a86e5.jpg","text":"TemporaryFile(/tmp/multipartBody4157493160314745163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863532968,"filename":"image_10122025_05_22_15_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309851","file1":"1401309848","file0":"1401309846","file4":"1401309857","file5":"1401309858","file3":"1401309854"},"map_files_photo_id_array":[{"photo_id":"1401309858","filename":"file5"},{"photo_id":"1401309851","filename":"file2"},{"photo_id":"1401309857","filename":"file4"},{"photo_id":"1401309848","filename":"file1"},{"photo_id":"1401309846","filename":"file0"},{"photo_id":"1401309854","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309848":["hashtag1","hashtag2"]},{"1401309858":["hashtag1","hashtag2"]},{"1401309846":["hashtag1","hashtag2"]},{"1401309854":["hashtag1","hashtag2"]},{"1401309857":["hashtag1","hashtag2"]},{"1401309851":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309848, 1401309858, 1401309846, 1401309854, 1401309857, 1401309851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95670294761658 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:25:17.273803
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_20_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_54_9606.jpg', '/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_44_9607.jpg', '/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_35_10616.jpg', '/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_24_9605.jpg', '/home/nano/Desktop/images/10122025/05/19/image_10122025_05_20_05_10626.jpg', '/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_54_9606.jpg
/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_44_9607.jpg
/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_35_10616.jpg
/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_24_9605.jpg
/home/nano/Desktop/images/10122025/05/19/image_10122025_05_20_05_10626.jpg
/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_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":["1401309874","1401309862","1401309870","1401309864","1401309867","1401309872"],"photo_ids_order":["1401309862","1401309864","1401309867","1401309870","1401309872","1401309874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4d771227dc709818d4f34c9fd384796.jpg","text":"TemporaryFile(/tmp/multipartBody2580911358514043227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863578072,"filename":"image_10122025_05_19_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/12/27/663f1ce9b88666ba28ed9d1c25577f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2327194198214305747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863578072,"filename":"image_10122025_05_20_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/12/27/491d1890917f98d106ad7e923a479ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1462774462467585386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863578072,"filename":"image_10122025_05_20_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/12/27/fbf73c43f253c5506ba16de68a45de5b.jpg","text":"TemporaryFile(/tmp/multipartBody6981199002874387776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863578072,"filename":"image_10122025_05_20_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/12/27/2fe9a6705bb8007bcbd36457705cf0c5.jpg","text":"TemporaryFile(/tmp/multipartBody2813927063525416152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863578072,"filename":"image_10122025_05_20_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e3f828b53ad272346eefb7cc80bcec2.jpg","text":"TemporaryFile(/tmp/multipartBody5327140059372180118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863578072,"filename":"image_10122025_05_20_05_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309867","file1":"1401309864","file0":"1401309862","file4":"1401309872","file5":"1401309874","file3":"1401309870"},"map_files_photo_id_array":[{"photo_id":"1401309874","filename":"file5"},{"photo_id":"1401309867","filename":"file2"},{"photo_id":"1401309872","filename":"file4"},{"photo_id":"1401309864","filename":"file1"},{"photo_id":"1401309862","filename":"file0"},{"photo_id":"1401309870","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309874":["hashtag1","hashtag2"]},{"1401309862":["hashtag1","hashtag2"]},{"1401309870":["hashtag1","hashtag2"]},{"1401309864":["hashtag1","hashtag2"]},{"1401309867":["hashtag1","hashtag2"]},{"1401309872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309874, 1401309862, 1401309870, 1401309864, 1401309867, 1401309872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36497521400452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:26:02.937964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_19_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_45_10619.jpg', '/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_34_9608.jpg', '/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_25_9606.jpg', '/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_15_10630.jpg', '/home/nano/Desktop/images/10122025/05/18/image_10122025_05_19_04_9606.jpg', '/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_45_10619.jpg
/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_34_9608.jpg
/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_25_9606.jpg
/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_15_10630.jpg
/home/nano/Desktop/images/10122025/05/18/image_10122025_05_19_04_9606.jpg
/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_55_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":["1401309883","1401309885","1401309879","1401309890","1401309887","1401309881"],"photo_ids_order":["1401309879","1401309881","1401309883","1401309885","1401309887","1401309890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e1700dd7a43f1ed5da3e63d9b1307fe.jpg","text":"TemporaryFile(/tmp/multipartBody2541443220322327241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863623808,"filename":"image_10122025_05_19_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/945f9a084b5b4f6659abe841260ca1e5.jpg","text":"TemporaryFile(/tmp/multipartBody8287209330262931023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863623808,"filename":"image_10122025_05_19_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fcda070517b4f5153af70a2260764b6.jpg","text":"TemporaryFile(/tmp/multipartBody6815901513756444059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863623808,"filename":"image_10122025_05_19_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e27545df34c3882a7794c2cf09ec9845.jpg","text":"TemporaryFile(/tmp/multipartBody2889055162856553065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863623808,"filename":"image_10122025_05_18_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64ad149ab0dc640b21a39f11d5990334.jpg","text":"TemporaryFile(/tmp/multipartBody1036299442859208070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863623808,"filename":"image_10122025_05_19_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/12/27/ecb579faf5d8feda29be9f2bffade6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3534924394644583239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863623808,"filename":"image_10122025_05_19_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309883","file1":"1401309881","file0":"1401309879","file4":"1401309887","file5":"1401309890","file3":"1401309885"},"map_files_photo_id_array":[{"photo_id":"1401309890","filename":"file5"},{"photo_id":"1401309883","filename":"file2"},{"photo_id":"1401309887","filename":"file4"},{"photo_id":"1401309881","filename":"file1"},{"photo_id":"1401309879","filename":"file0"},{"photo_id":"1401309885","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309883":["hashtag1","hashtag2"]},{"1401309885":["hashtag1","hashtag2"]},{"1401309879":["hashtag1","hashtag2"]},{"1401309890":["hashtag1","hashtag2"]},{"1401309887":["hashtag1","hashtag2"]},{"1401309881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309883, 1401309885, 1401309879, 1401309890, 1401309887, 1401309881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59084391593933 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:26:47.398492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/17/image_10122025_05_17_15_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_45_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_44_9607.jpg', '/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_35_9607.jpg', '/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_25_10616.jpg', '/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_14_9619.jpg', '/home/nano/Desktop/images/10122025/05/17/image_10122025_05_17_15_9638.jpg', '/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_45_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_44_9607.jpg
/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_35_9607.jpg
/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_25_10616.jpg
/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_14_9619.jpg
/home/nano/Desktop/images/10122025/05/17/image_10122025_05_17_15_9638.jpg
/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_45_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":["1401309914","1401309913","1401309916","1401309901","1401309912","1401309917"],"photo_ids_order":["1401309901","1401309912","1401309913","1401309914","1401309916","1401309917"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/488044304418db18d901c2bda154734b.jpg","text":"TemporaryFile(/tmp/multipartBody2491249493786227273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863668244,"filename":"image_10122025_05_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/12/27/1f7069b130c2319285ca070029fb3d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2131896900263673811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863668244,"filename":"image_10122025_05_18_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2479db860e4c6539da726be40d02e08a.jpg","text":"TemporaryFile(/tmp/multipartBody4788502273182987965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863668244,"filename":"image_10122025_05_17_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/212170fdc52f84d827a90e5b1e70d247.jpg","text":"TemporaryFile(/tmp/multipartBody6295830220529779429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863668244,"filename":"image_10122025_05_18_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/12/27/5d5d39e47ded8128b16e53bd64ebdbfe.jpg","text":"TemporaryFile(/tmp/multipartBody6628469527015287542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863668244,"filename":"image_10122025_05_18_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efc54af872b2008e0242dd53a8778999.jpg","text":"TemporaryFile(/tmp/multipartBody9187956036018362927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863668244,"filename":"image_10122025_05_16_45_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309913","file1":"1401309912","file0":"1401309901","file4":"1401309916","file5":"1401309917","file3":"1401309914"},"map_files_photo_id_array":[{"photo_id":"1401309917","filename":"file5"},{"photo_id":"1401309913","filename":"file2"},{"photo_id":"1401309916","filename":"file4"},{"photo_id":"1401309912","filename":"file1"},{"photo_id":"1401309901","filename":"file0"},{"photo_id":"1401309914","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309914":["hashtag1","hashtag2"]},{"1401309913":["hashtag1","hashtag2"]},{"1401309916":["hashtag1","hashtag2"]},{"1401309901":["hashtag1","hashtag2"]},{"1401309912":["hashtag1","hashtag2"]},{"1401309917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309914, 1401309913, 1401309916, 1401309901, 1401309912, 1401309917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43665885925293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:27:32.514448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_16_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_34_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_34_9605.jpg', '/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_15_10630.jpg', '/home/nano/Desktop/images/10122025/05/15/image_10122025_05_16_04_9611.jpg', '/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_55_9606.jpg', '/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', '/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_34_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_34_9605.jpg
/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_15_10630.jpg
/home/nano/Desktop/images/10122025/05/15/image_10122025_05_16_04_9611.jpg
/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_55_9606.jpg
/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg
/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_34_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":["1401309932","1401309934","1401309925","1401309927","1401309935","1401309929"],"photo_ids_order":["1401309925","1401309927","1401309929","1401309932","1401309934","1401309935"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffe1f407879bcd577269cb02d6b574e6.jpg","text":"TemporaryFile(/tmp/multipartBody5189506600039214024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863713309,"filename":"image_10122025_05_15_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d577e04f76919e9c0a5a58bae59c31b.jpg","text":"TemporaryFile(/tmp/multipartBody7742458716858949315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863713309,"filename":"image_10122025_05_15_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1892d93367315c13e035745a639f90e6.jpg","text":"TemporaryFile(/tmp/multipartBody7061646352133269235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863713309,"filename":"image_10122025_05_16_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/12/27/7dcf28bfe52733d69feddf6b8d0201d1.jpg","text":"TemporaryFile(/tmp/multipartBody8821621724007419653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863713309,"filename":"image_10122025_05_16_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0aa25479269c51a241013d650fce816d.jpg","text":"TemporaryFile(/tmp/multipartBody8749774070419690755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863713309,"filename":"image_10122025_05_15_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/12/27/02882b46412d67672b27ceea09f4a124.jpg","text":"TemporaryFile(/tmp/multipartBody7804310769870466238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863713309,"filename":"image_10122025_05_16_04_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309929","file1":"1401309927","file0":"1401309925","file4":"1401309934","file5":"1401309935","file3":"1401309932"},"map_files_photo_id_array":[{"photo_id":"1401309935","filename":"file5"},{"photo_id":"1401309929","filename":"file2"},{"photo_id":"1401309934","filename":"file4"},{"photo_id":"1401309927","filename":"file1"},{"photo_id":"1401309925","filename":"file0"},{"photo_id":"1401309932","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309932":["hashtag1","hashtag2"]},{"1401309934":["hashtag1","hashtag2"]},{"1401309925":["hashtag1","hashtag2"]},{"1401309927":["hashtag1","hashtag2"]},{"1401309935":["hashtag1","hashtag2"]},{"1401309929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309932, 1401309934, 1401309925, 1401309927, 1401309935, 1401309929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.206114292144775 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:28:17.653757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_15_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_24_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_25_10616.jpg', '/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_14_9620.jpg', '/home/nano/Desktop/images/10122025/05/14/image_10122025_05_15_05_9617.jpg', '/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_55_10616.jpg', '/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_44_9606.jpg', '/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_25_10616.jpg
/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_14_9620.jpg
/home/nano/Desktop/images/10122025/05/14/image_10122025_05_15_05_9617.jpg
/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_55_10616.jpg
/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_44_9606.jpg
/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_24_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":["1401309946","1401309940","1401309942","1401309948","1401309950","1401309944"],"photo_ids_order":["1401309940","1401309942","1401309944","1401309946","1401309948","1401309950"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d487a265c7c249ac45630b3813326a68.jpg","text":"TemporaryFile(/tmp/multipartBody7032078189270549101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863758464,"filename":"image_10122025_05_14_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d49d9c76a6c92d5694008169a76c9ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1414736679172855711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863758464,"filename":"image_10122025_05_15_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6a1818c9f91a86023a96d1b47b7419e8.jpg","text":"TemporaryFile(/tmp/multipartBody4133370320170632193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863758464,"filename":"image_10122025_05_15_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/12/27/58b3ff6cb2770666269766621ff93817.jpg","text":"TemporaryFile(/tmp/multipartBody2783864397937897197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863758464,"filename":"image_10122025_05_14_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/12/27/fddb742a879ac14f769e849714da2b05.jpg","text":"TemporaryFile(/tmp/multipartBody6747005043141204482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863758464,"filename":"image_10122025_05_14_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/12/27/ea9abf9d91d0c135021495e1f833bab9.jpg","text":"TemporaryFile(/tmp/multipartBody6891385835468697931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863758464,"filename":"image_10122025_05_15_05_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309944","file1":"1401309942","file0":"1401309940","file4":"1401309948","file5":"1401309950","file3":"1401309946"},"map_files_photo_id_array":[{"photo_id":"1401309950","filename":"file5"},{"photo_id":"1401309944","filename":"file2"},{"photo_id":"1401309948","filename":"file4"},{"photo_id":"1401309942","filename":"file1"},{"photo_id":"1401309940","filename":"file0"},{"photo_id":"1401309946","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309946":["hashtag1","hashtag2"]},{"1401309940":["hashtag1","hashtag2"]},{"1401309942":["hashtag1","hashtag2"]},{"1401309948":["hashtag1","hashtag2"]},{"1401309950":["hashtag1","hashtag2"]},{"1401309944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309946, 1401309940, 1401309942, 1401309948, 1401309950, 1401309944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54916214942932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:29:03.511447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_14_9614.jpg', '/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_35_10615.jpg', '/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_24_9605.jpg', '/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_55_9606.jpg', '/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_45_10625.jpg', '/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_14_9614.jpg
/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_35_10615.jpg
/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_24_9605.jpg
/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_55_9606.jpg
/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_45_10625.jpg
/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_34_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":["1401309964","1401309967","1401309960","1401309957","1401309962","1401309956"],"photo_ids_order":["1401309956","1401309957","1401309960","1401309962","1401309964","1401309967"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7ea4a43017cbbe14ca7f62b17d33377.jpg","text":"TemporaryFile(/tmp/multipartBody7226206360464865457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863804422,"filename":"image_10122025_05_12_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fde5617e46a50469dff966b51568ab40.jpg","text":"TemporaryFile(/tmp/multipartBody125555868208790518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863804422,"filename":"image_10122025_05_12_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/12/27/eb3153990ad2ee65357f2b5369d2d80e.jpg","text":"TemporaryFile(/tmp/multipartBody6558618714549139135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863804422,"filename":"image_10122025_05_13_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/12/27/c2a5b64a110233d5c167b877d6688369.jpg","text":"TemporaryFile(/tmp/multipartBody622820013070047739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863804422,"filename":"image_10122025_05_13_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b57904963609af86636023ded97336a0.jpg","text":"TemporaryFile(/tmp/multipartBody1993816537909533298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863804422,"filename":"image_10122025_05_12_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69cc4ce49015d7157a634a782cafaa7a.jpg","text":"TemporaryFile(/tmp/multipartBody7955120988294618394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863804422,"filename":"image_10122025_05_14_14_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309960","file1":"1401309957","file0":"1401309956","file4":"1401309964","file5":"1401309967","file3":"1401309962"},"map_files_photo_id_array":[{"photo_id":"1401309967","filename":"file5"},{"photo_id":"1401309960","filename":"file2"},{"photo_id":"1401309964","filename":"file4"},{"photo_id":"1401309957","filename":"file1"},{"photo_id":"1401309956","filename":"file0"},{"photo_id":"1401309962","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309964":["hashtag1","hashtag2"]},{"1401309967":["hashtag1","hashtag2"]},{"1401309960":["hashtag1","hashtag2"]},{"1401309957":["hashtag1","hashtag2"]},{"1401309962":["hashtag1","hashtag2"]},{"1401309956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309964, 1401309967, 1401309960, 1401309957, 1401309962, 1401309956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46283936500549 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:29:47.767261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_12_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_11_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_24_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_14_9641.jpg', '/home/nano/Desktop/images/10122025/05/11/image_10122025_05_12_04_9624.jpg', '/home/nano/Desktop/images/10122025/05/11/image_10122025_05_11_25_10616.jpg', '/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_54_9603.jpg', '/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_45_9627.jpg', '/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_24_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_14_9641.jpg
/home/nano/Desktop/images/10122025/05/11/image_10122025_05_12_04_9624.jpg
/home/nano/Desktop/images/10122025/05/11/image_10122025_05_11_25_10616.jpg
/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_54_9603.jpg
/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_45_9627.jpg
/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_24_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":["1401309991","1401309988","1401309993","1401309995","1401309989","1401309977"],"photo_ids_order":["1401309977","1401309988","1401309989","1401309991","1401309993","1401309995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e3c10ca928e78503b4a89eac09dd1af.jpg","text":"TemporaryFile(/tmp/multipartBody5493000949129639547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863848600,"filename":"image_10122025_05_10_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/12/27/d6a18e5328737d1ddf71802c204bc33e.jpg","text":"TemporaryFile(/tmp/multipartBody3082591451062091287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863848600,"filename":"image_10122025_05_12_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/12/27/4319eca04447489206ca803a1fb1b926.jpg","text":"TemporaryFile(/tmp/multipartBody833994620074108360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863848600,"filename":"image_10122025_05_10_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cfaea6dded6662408eef8a38e3faf93.jpg","text":"TemporaryFile(/tmp/multipartBody5982982713106850879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863848600,"filename":"image_10122025_05_10_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/12/27/cfec04987753e651adadd35263293207.jpg","text":"TemporaryFile(/tmp/multipartBody6681657419350908074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863848600,"filename":"image_10122025_05_11_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4eebb7abcdcbdff29739792b312e98d9.jpg","text":"TemporaryFile(/tmp/multipartBody8559576910151762117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863848600,"filename":"image_10122025_05_12_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401309989","file1":"1401309988","file0":"1401309977","file4":"1401309993","file5":"1401309995","file3":"1401309991"},"map_files_photo_id_array":[{"photo_id":"1401309995","filename":"file5"},{"photo_id":"1401309989","filename":"file2"},{"photo_id":"1401309993","filename":"file4"},{"photo_id":"1401309988","filename":"file1"},{"photo_id":"1401309977","filename":"file0"},{"photo_id":"1401309991","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401309991":["hashtag1","hashtag2"]},{"1401309988":["hashtag1","hashtag2"]},{"1401309993":["hashtag1","hashtag2"]},{"1401309995":["hashtag1","hashtag2"]},{"1401309989":["hashtag1","hashtag2"]},{"1401309977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401309991, 1401309988, 1401309993, 1401309995, 1401309989, 1401309977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85769987106323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:30:31.880676
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/20/30/image_27122025_20_30_44_10527.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/20/30/image_27122025_20_30_44_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/20/30/image_27122025_20_30_44_10527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401310000"],"photo_id":"1401310000","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/138f6cec5c536b237739d187b5b16fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1993348304831313602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863892118,"filename":"image_27122025_20_30_44_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401310000"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401310000"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.673542022705078 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:30:46.871422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_10_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_09_04_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_15_9622.jpg', '/home/nano/Desktop/images/10122025/05/09/image_10122025_05_10_05_10639.jpg', '/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_34_9607.jpg', '/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_25_9622.jpg', '/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_15_10629.jpg', '/home/nano/Desktop/images/10122025/05/08/image_10122025_05_09_04_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_15_9622.jpg
/home/nano/Desktop/images/10122025/05/09/image_10122025_05_10_05_10639.jpg
/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_34_9607.jpg
/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_25_9622.jpg
/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_15_10629.jpg
/home/nano/Desktop/images/10122025/05/08/image_10122025_05_09_04_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":["1401310005","1401310010","1401310007","1401310012","1401310006","1401310008"],"photo_ids_order":["1401310005","1401310006","1401310007","1401310008","1401310010","1401310012"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a25d2017ff178af2b42fd9d795b645ce.jpg","text":"TemporaryFile(/tmp/multipartBody4909908121185442245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863907667,"filename":"image_10122025_05_10_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/998d461d915683f3e4f3581df818de48.jpg","text":"TemporaryFile(/tmp/multipartBody5981891429598344659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863907667,"filename":"image_10122025_05_09_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02937b59485eb6b6fb200aabce313fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4318562591944728495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863907667,"filename":"image_10122025_05_09_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/12/27/431753b0f2baed8ff65df849059d6a34.jpg","text":"TemporaryFile(/tmp/multipartBody6381116878259865209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863907667,"filename":"image_10122025_05_09_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/12/27/596d70c440037ed062bbf18496024d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4181449658671165912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863907667,"filename":"image_10122025_05_10_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a21972e3e4a11c41980dcc46011ec863.jpg","text":"TemporaryFile(/tmp/multipartBody7830265003229063630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863907667,"filename":"image_10122025_05_09_25_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401310007","file1":"1401310006","file0":"1401310005","file4":"1401310010","file5":"1401310012","file3":"1401310008"},"map_files_photo_id_array":[{"photo_id":"1401310012","filename":"file5"},{"photo_id":"1401310007","filename":"file2"},{"photo_id":"1401310010","filename":"file4"},{"photo_id":"1401310006","filename":"file1"},{"photo_id":"1401310005","filename":"file0"},{"photo_id":"1401310008","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401310005":["hashtag1","hashtag2"]},{"1401310010":["hashtag1","hashtag2"]},{"1401310007":["hashtag1","hashtag2"]},{"1401310012":["hashtag1","hashtag2"]},{"1401310006":["hashtag1","hashtag2"]},{"1401310008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401310005, 1401310010, 1401310007, 1401310012, 1401310006, 1401310008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52697253227234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:31:31.985675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_45_10618.jpg', '/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_34_9607.jpg', '/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_55_10616.jpg', '/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_44_9608.jpg', '/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_35_10616.jpg', '/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_45_10618.jpg
/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_34_9607.jpg
/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_55_10616.jpg
/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_44_9608.jpg
/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_35_10616.jpg
/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_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":["1401310022","1401310025","1401310028","1401310041","1401310020","1401310023"],"photo_ids_order":["1401310020","1401310022","1401310023","1401310025","1401310028","1401310041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42f48083887d10472accafcb9e8f02bb.jpg","text":"TemporaryFile(/tmp/multipartBody6500562851193119365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863952789,"filename":"image_10122025_05_08_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/12/27/75048af47ddafb06ac75b9e093a69f12.jpg","text":"TemporaryFile(/tmp/multipartBody4401863482734768509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863952789,"filename":"image_10122025_05_07_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/12/27/fcda1012e0e849f5d2357724869bfe98.jpg","text":"TemporaryFile(/tmp/multipartBody3478010594315154310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863952789,"filename":"image_10122025_05_06_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/969a905aefea755215ce437a3525e392.jpg","text":"TemporaryFile(/tmp/multipartBody1996928251854127563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863952789,"filename":"image_10122025_05_06_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/12/27/3bdf58c531414ef896546e8e7757b73a.jpg","text":"TemporaryFile(/tmp/multipartBody5457068364398565742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863952789,"filename":"image_10122025_05_08_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b4c5e0752dbce247ede0b70847a5239.jpg","text":"TemporaryFile(/tmp/multipartBody592206653677638360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863952789,"filename":"image_10122025_05_07_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401310023","file1":"1401310022","file0":"1401310020","file4":"1401310028","file5":"1401310041","file3":"1401310025"},"map_files_photo_id_array":[{"photo_id":"1401310041","filename":"file5"},{"photo_id":"1401310023","filename":"file2"},{"photo_id":"1401310028","filename":"file4"},{"photo_id":"1401310022","filename":"file1"},{"photo_id":"1401310020","filename":"file0"},{"photo_id":"1401310025","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401310022":["hashtag1","hashtag2"]},{"1401310025":["hashtag1","hashtag2"]},{"1401310028":["hashtag1","hashtag2"]},{"1401310041":["hashtag1","hashtag2"]},{"1401310020":["hashtag1","hashtag2"]},{"1401310023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401310022, 1401310025, 1401310028, 1401310041, 1401310020, 1401310023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74063563346863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:32:17.071101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_05_05_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', '/home/nano/Desktop/images/10122025/05/05/image_10122025_05_06_04_9608.jpg', '/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_55_9605.jpg', '/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_45_10621.jpg', '/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_25_10616.jpg', '/home/nano/Desktop/images/10122025/05/04/image_10122025_05_05_05_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg
/home/nano/Desktop/images/10122025/05/05/image_10122025_05_06_04_9608.jpg
/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_55_9605.jpg
/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_45_10621.jpg
/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_25_10616.jpg
/home/nano/Desktop/images/10122025/05/04/image_10122025_05_05_05_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":["1401310280","1401310313","1401310244","1401310319","1401310321","1401310335"],"photo_ids_order":["1401310244","1401310280","1401310313","1401310319","1401310321","1401310335"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d5502774f04ce1dd9b64d07751947b97.jpg","text":"TemporaryFile(/tmp/multipartBody7212138605466623892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863997871,"filename":"image_10122025_05_06_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/12/27/2c0e830348e40df1b759fbaecd452ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7852609207920896258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863997871,"filename":"image_10122025_05_05_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e8a84eab2523149c31f64578f8f76fd.jpg","text":"TemporaryFile(/tmp/multipartBody5757593489238737030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863997871,"filename":"image_10122025_05_06_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe4da2998375f2f3231fd8eaf93942b2.jpg","text":"TemporaryFile(/tmp/multipartBody5871051543856162576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863997871,"filename":"image_10122025_05_05_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/55428e6ca831df89e202f19cde1a6fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3925143457784684534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863997871,"filename":"image_10122025_05_05_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b6cb1afa454d65cd7ec6bf0f651a63a.jpg","text":"TemporaryFile(/tmp/multipartBody7470897734009425362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766863997871,"filename":"image_10122025_05_05_05_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401310313","file1":"1401310280","file0":"1401310244","file4":"1401310321","file5":"1401310335","file3":"1401310319"},"map_files_photo_id_array":[{"photo_id":"1401310335","filename":"file5"},{"photo_id":"1401310313","filename":"file2"},{"photo_id":"1401310321","filename":"file4"},{"photo_id":"1401310280","filename":"file1"},{"photo_id":"1401310244","filename":"file0"},{"photo_id":"1401310319","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401310280":["hashtag1","hashtag2"]},{"1401310313":["hashtag1","hashtag2"]},{"1401310244":["hashtag1","hashtag2"]},{"1401310319":["hashtag1","hashtag2"]},{"1401310321":["hashtag1","hashtag2"]},{"1401310335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401310280, 1401310313, 1401310244, 1401310319, 1401310321, 1401310335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.876901388168335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:33:02.839598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_35_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_55_10614.jpg', '/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_44_9605.jpg', '/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_14_9612.jpg', '/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_54_9621.jpg', '/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_45_9606.jpg', '/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_35_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_55_10614.jpg
/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_44_9605.jpg
/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_14_9612.jpg
/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_54_9621.jpg
/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_45_9606.jpg
/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_35_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":["1401310499","1401310520","1401310585","1401310570","1401310599","1401310605"],"photo_ids_order":["1401310499","1401310520","1401310570","1401310585","1401310599","1401310605"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6147823899828993ae9240a27f6faba.jpg","text":"TemporaryFile(/tmp/multipartBody5639396776060457627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864043735,"filename":"image_10122025_05_04_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43bb1a980daeb24d201b84480c02fc3e.jpg","text":"TemporaryFile(/tmp/multipartBody4783993033715413191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864043735,"filename":"image_10122025_05_04_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/12/27/affdc2dc46faa8553432ae64a71f889e.jpg","text":"TemporaryFile(/tmp/multipartBody7337190197860148896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864043735,"filename":"image_10122025_05_03_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/12/27/1b179add645aeccd3823a39608b9647f.jpg","text":"TemporaryFile(/tmp/multipartBody1987989826680230800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864043735,"filename":"image_10122025_05_04_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/12/27/bf658b600434b312eeefd9e1ba565788.jpg","text":"TemporaryFile(/tmp/multipartBody3837952166180900757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864043735,"filename":"image_10122025_05_03_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d715c5b6b21a06f12e9a188cf315c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7988680435490272959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864043735,"filename":"image_10122025_05_03_35_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401310570","file1":"1401310520","file0":"1401310499","file4":"1401310599","file5":"1401310605","file3":"1401310585"},"map_files_photo_id_array":[{"photo_id":"1401310605","filename":"file5"},{"photo_id":"1401310570","filename":"file2"},{"photo_id":"1401310599","filename":"file4"},{"photo_id":"1401310520","filename":"file1"},{"photo_id":"1401310499","filename":"file0"},{"photo_id":"1401310585","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401310499":["hashtag1","hashtag2"]},{"1401310520":["hashtag1","hashtag2"]},{"1401310585":["hashtag1","hashtag2"]},{"1401310570":["hashtag1","hashtag2"]},{"1401310599":["hashtag1","hashtag2"]},{"1401310605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401310499, 1401310520, 1401310585, 1401310570, 1401310599, 1401310605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.318220138549805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:33:47.190835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_03_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_25_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_24_9606.jpg', '/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_15_10638.jpg', '/home/nano/Desktop/images/10122025/05/02/image_10122025_05_03_04_9610.jpg', '/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_45_10617.jpg', '/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_34_9605.jpg', '/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_25_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_24_9606.jpg
/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_15_10638.jpg
/home/nano/Desktop/images/10122025/05/02/image_10122025_05_03_04_9610.jpg
/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_45_10617.jpg
/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_34_9605.jpg
/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_25_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":["1401310834","1401310900","1401310866","1401310767","1401310932","1401310799"],"photo_ids_order":["1401310767","1401310799","1401310834","1401310866","1401310900","1401310932"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7082015cbc34e93476c321c5e763dcc.jpg","text":"TemporaryFile(/tmp/multipartBody750316039805805012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864087992,"filename":"image_10122025_05_03_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/12/27/bb9146767b8fb08b511c606d96b4fa41.jpg","text":"TemporaryFile(/tmp/multipartBody1064969479388434679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864087992,"filename":"image_10122025_05_02_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/12/27/4217b188716faef985248f8b0cad124a.jpg","text":"TemporaryFile(/tmp/multipartBody6398139965004224744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864087992,"filename":"image_10122025_05_02_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4802c4d828ea137fc572f9d38b01d85e.jpg","text":"TemporaryFile(/tmp/multipartBody6678355858328731906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864087992,"filename":"image_10122025_05_03_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/12/27/3716ce9a7e84df9f54977144f277848d.jpg","text":"TemporaryFile(/tmp/multipartBody3611009868530474213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864087992,"filename":"image_10122025_05_02_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e03f7774c49ca46330a8b2f022564700.jpg","text":"TemporaryFile(/tmp/multipartBody2838280150509921725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864087992,"filename":"image_10122025_05_03_15_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401310834","file1":"1401310799","file0":"1401310767","file4":"1401310900","file5":"1401310932","file3":"1401310866"},"map_files_photo_id_array":[{"photo_id":"1401310932","filename":"file5"},{"photo_id":"1401310834","filename":"file2"},{"photo_id":"1401310900","filename":"file4"},{"photo_id":"1401310799","filename":"file1"},{"photo_id":"1401310767","filename":"file0"},{"photo_id":"1401310866","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401310834":["hashtag1","hashtag2"]},{"1401310900":["hashtag1","hashtag2"]},{"1401310866":["hashtag1","hashtag2"]},{"1401310767":["hashtag1","hashtag2"]},{"1401310932":["hashtag1","hashtag2"]},{"1401310799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401310834, 1401310900, 1401310866, 1401310767, 1401310932, 1401310799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20054841041565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:34:32.359141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_02_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_01_05_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_15_10627.jpg', '/home/nano/Desktop/images/10122025/05/01/image_10122025_05_02_04_9609.jpg', '/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_55_10616.jpg', '/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_44_9611.jpg', '/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_25_10614.jpg', '/home/nano/Desktop/images/10122025/05/00/image_10122025_05_01_05_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_15_10627.jpg
/home/nano/Desktop/images/10122025/05/01/image_10122025_05_02_04_9609.jpg
/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_55_10616.jpg
/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_44_9611.jpg
/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_25_10614.jpg
/home/nano/Desktop/images/10122025/05/00/image_10122025_05_01_05_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":["1401311111","1401311176","1401311113","1401311116","1401311139","1401311118"],"photo_ids_order":["1401311111","1401311113","1401311116","1401311118","1401311139","1401311176"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dbd62ce55f8e092fbbc72ffc39adb9a.jpg","text":"TemporaryFile(/tmp/multipartBody7862972150619229746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864133152,"filename":"image_10122025_05_02_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06dde4f12201f612254ff5f3e224c754.jpg","text":"TemporaryFile(/tmp/multipartBody1166058788466600764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864133152,"filename":"image_10122025_05_01_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68220f2ddb88138413b0b288254fb201.jpg","text":"TemporaryFile(/tmp/multipartBody1773324411387138516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864133152,"filename":"image_10122025_05_02_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/12/27/9e8c9894b583682a81086f1e759eba93.jpg","text":"TemporaryFile(/tmp/multipartBody6243054991481949806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864133152,"filename":"image_10122025_05_01_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d57112165a57289d848a8fc05bf095f1.jpg","text":"TemporaryFile(/tmp/multipartBody4984226829298859404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864133152,"filename":"image_10122025_05_01_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae1d87a741186bd1942ec7c49f8169a2.jpg","text":"TemporaryFile(/tmp/multipartBody8959677858376907317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864133152,"filename":"image_10122025_05_01_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311116","file1":"1401311113","file0":"1401311111","file4":"1401311139","file5":"1401311176","file3":"1401311118"},"map_files_photo_id_array":[{"photo_id":"1401311176","filename":"file5"},{"photo_id":"1401311116","filename":"file2"},{"photo_id":"1401311139","filename":"file4"},{"photo_id":"1401311113","filename":"file1"},{"photo_id":"1401311111","filename":"file0"},{"photo_id":"1401311118","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311111":["hashtag1","hashtag2"]},{"1401311176":["hashtag1","hashtag2"]},{"1401311113":["hashtag1","hashtag2"]},{"1401311116":["hashtag1","hashtag2"]},{"1401311139":["hashtag1","hashtag2"]},{"1401311118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311111, 1401311176, 1401311113, 1401311116, 1401311139, 1401311118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28153443336487 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:35:17.459034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_05_00_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_45_9608.jpg', '/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_24_9605.jpg', '/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_15_9619.jpg', '/home/nano/Desktop/images/10122025/04/59/image_10122025_05_00_05_10617.jpg', '/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_45_10615.jpg', '/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_45_9608.jpg
/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_24_9605.jpg
/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_15_9619.jpg
/home/nano/Desktop/images/10122025/04/59/image_10122025_05_00_05_10617.jpg
/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_45_10615.jpg
/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_34_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":["1401311236","1401311268","1401311301","1401311310","1401311304","1401311307"],"photo_ids_order":["1401311236","1401311268","1401311301","1401311304","1401311307","1401311310"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0498e45c8b51a485beb722286e465a6f.jpg","text":"TemporaryFile(/tmp/multipartBody5849387385596684058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864178265,"filename":"image_10122025_05_00_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/517ac2bb6f9afdffcace76a157607fe9.jpg","text":"TemporaryFile(/tmp/multipartBody251487724883316818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864178265,"filename":"image_10122025_05_00_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/12/27/1eca959b876b2b5059d8cfec5a42e0a6.jpg","text":"TemporaryFile(/tmp/multipartBody47218787167305274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864178265,"filename":"image_10122025_05_00_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/723c3dd3b51219c79424ba45dfb87da7.jpg","text":"TemporaryFile(/tmp/multipartBody7797984465626136474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864178265,"filename":"image_10122025_04_59_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/12/27/408644eb4d26f815d242101e64eb7e8b.jpg","text":"TemporaryFile(/tmp/multipartBody3836926013184606042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864178265,"filename":"image_10122025_05_00_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7122d47fee8b9e0d55a6c5799b4c34a9.jpg","text":"TemporaryFile(/tmp/multipartBody6102494889258058440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864178265,"filename":"image_10122025_04_59_45_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311301","file1":"1401311268","file0":"1401311236","file4":"1401311307","file5":"1401311310","file3":"1401311304"},"map_files_photo_id_array":[{"photo_id":"1401311310","filename":"file5"},{"photo_id":"1401311301","filename":"file2"},{"photo_id":"1401311307","filename":"file4"},{"photo_id":"1401311268","filename":"file1"},{"photo_id":"1401311236","filename":"file0"},{"photo_id":"1401311304","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311236":["hashtag1","hashtag2"]},{"1401311268":["hashtag1","hashtag2"]},{"1401311301":["hashtag1","hashtag2"]},{"1401311310":["hashtag1","hashtag2"]},{"1401311304":["hashtag1","hashtag2"]},{"1401311307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311236, 1401311268, 1401311301, 1401311310, 1401311304, 1401311307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.315592527389526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:36:03.049374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_59_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_35_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_25_9604.jpg', '/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_15_10616.jpg', '/home/nano/Desktop/images/10122025/04/58/image_10122025_04_59_04_9606.jpg', '/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_55_10614.jpg', '/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_44_9608.jpg', '/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_35_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_25_9604.jpg
/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_15_10616.jpg
/home/nano/Desktop/images/10122025/04/58/image_10122025_04_59_04_9606.jpg
/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_55_10614.jpg
/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_44_9608.jpg
/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_35_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":["1401311461","1401311457","1401311454","1401311462","1401311456","1401311459"],"photo_ids_order":["1401311454","1401311456","1401311457","1401311459","1401311461","1401311462"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/038ea9dbf1042ab3489d30dfb3d7cb40.jpg","text":"TemporaryFile(/tmp/multipartBody3018157925385451972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864223953,"filename":"image_10122025_04_58_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/12/27/c8d0c47b4f6a567046e3dcc123e473e2.jpg","text":"TemporaryFile(/tmp/multipartBody128498897694307660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864223953,"filename":"image_10122025_04_59_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/12/27/5703db8119d1ddbbba7f4fb6f5e8fb59.jpg","text":"TemporaryFile(/tmp/multipartBody281627033731762361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864223953,"filename":"image_10122025_04_59_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0653d9101c9c0f872adc12fc0be87fa.jpg","text":"TemporaryFile(/tmp/multipartBody4404532165653436119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864223953,"filename":"image_10122025_04_58_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b109ca0dba293212c591d3044a87937e.jpg","text":"TemporaryFile(/tmp/multipartBody2030576279973723650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864223953,"filename":"image_10122025_04_59_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62458f1e91b6dd583828629ded811d04.jpg","text":"TemporaryFile(/tmp/multipartBody6739805804444702078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864223953,"filename":"image_10122025_04_58_55_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311457","file1":"1401311456","file0":"1401311454","file4":"1401311461","file5":"1401311462","file3":"1401311459"},"map_files_photo_id_array":[{"photo_id":"1401311462","filename":"file5"},{"photo_id":"1401311457","filename":"file2"},{"photo_id":"1401311461","filename":"file4"},{"photo_id":"1401311456","filename":"file1"},{"photo_id":"1401311454","filename":"file0"},{"photo_id":"1401311459","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311461":["hashtag1","hashtag2"]},{"1401311457":["hashtag1","hashtag2"]},{"1401311454":["hashtag1","hashtag2"]},{"1401311462":["hashtag1","hashtag2"]},{"1401311456":["hashtag1","hashtag2"]},{"1401311459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311461, 1401311457, 1401311454, 1401311462, 1401311456, 1401311459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.468775033950806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:36:47.548572
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_58_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_15_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_25_10614.jpg', '/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_14_9620.jpg', '/home/nano/Desktop/images/10122025/04/57/image_10122025_04_58_05_10621.jpg', '/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_54_9602.jpg', '/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_24_9604.jpg', '/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_15_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_25_10614.jpg
/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_14_9620.jpg
/home/nano/Desktop/images/10122025/04/57/image_10122025_04_58_05_10621.jpg
/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_54_9602.jpg
/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_24_9604.jpg
/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_15_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":["1401311470","1401311473","1401311476","1401311472","1401311471","1401311474"],"photo_ids_order":["1401311470","1401311471","1401311472","1401311473","1401311474","1401311476"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27d38466b53557ceab9b817fee261b27.jpg","text":"TemporaryFile(/tmp/multipartBody1310668497650548862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864268361,"filename":"image_10122025_04_58_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bad45a07863cd7b83f84c0432d100bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3504587393700147598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864268361,"filename":"image_10122025_04_57_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/12/27/13b380b991d0fef822bd03b9797960ad.jpg","text":"TemporaryFile(/tmp/multipartBody4567939286972807441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864268361,"filename":"image_10122025_04_57_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22cdf4194701bb258da249f6d01ea5e0.jpg","text":"TemporaryFile(/tmp/multipartBody155013736905664265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864268361,"filename":"image_10122025_04_58_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3252da139c0df0a5c804b0e0e7d408dc.jpg","text":"TemporaryFile(/tmp/multipartBody8472380434420678865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864268361,"filename":"image_10122025_04_58_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/12/27/23e6465e7f5fb7dc50a9ad9c89908afc.jpg","text":"TemporaryFile(/tmp/multipartBody1327585689290672457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864268361,"filename":"image_10122025_04_57_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311472","file1":"1401311471","file0":"1401311470","file4":"1401311474","file5":"1401311476","file3":"1401311473"},"map_files_photo_id_array":[{"photo_id":"1401311476","filename":"file5"},{"photo_id":"1401311472","filename":"file2"},{"photo_id":"1401311474","filename":"file4"},{"photo_id":"1401311471","filename":"file1"},{"photo_id":"1401311470","filename":"file0"},{"photo_id":"1401311473","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311470":["hashtag1","hashtag2"]},{"1401311473":["hashtag1","hashtag2"]},{"1401311476":["hashtag1","hashtag2"]},{"1401311472":["hashtag1","hashtag2"]},{"1401311471":["hashtag1","hashtag2"]},{"1401311474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311470, 1401311473, 1401311476, 1401311472, 1401311471, 1401311474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.255306005477905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:37:32.699075
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_25_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_45_10614.jpg', '/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg', '/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg', '/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg', '/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_44_9610.jpg', '/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_25_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_45_10614.jpg
/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg
/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg
/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg
/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_44_9610.jpg
/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_25_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":["1401311488","1401311493","1401311490","1401311484","1401311492","1401311486"],"photo_ids_order":["1401311484","1401311486","1401311488","1401311490","1401311492","1401311493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61eea0b0b32fd60352ad30c81df4e3c5.jpg","text":"TemporaryFile(/tmp/multipartBody6183190097142043013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864313514,"filename":"image_10122025_04_56_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc097bd7e7eeee50c94b04511eeec2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3480777054985083014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864313514,"filename":"image_10122025_04_55_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da83f6dd8ceb37586e0a16a2c7cc9810.jpg","text":"TemporaryFile(/tmp/multipartBody6735684746757702950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864313514,"filename":"image_10122025_04_56_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41ae6ee6555b52d50674b97f1b854dc1.jpg","text":"TemporaryFile(/tmp/multipartBody8198138288166674441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864313514,"filename":"image_10122025_04_56_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/31334e0a5ea2eaedf5650d3bd90ab58b.jpg","text":"TemporaryFile(/tmp/multipartBody2120489925106349907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864313514,"filename":"image_10122025_04_55_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/12/27/9b22308f3b96f608b9806a70431af0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4144139003564706674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864313514,"filename":"image_10122025_04_56_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311488","file1":"1401311486","file0":"1401311484","file4":"1401311492","file5":"1401311493","file3":"1401311490"},"map_files_photo_id_array":[{"photo_id":"1401311493","filename":"file5"},{"photo_id":"1401311488","filename":"file2"},{"photo_id":"1401311492","filename":"file4"},{"photo_id":"1401311486","filename":"file1"},{"photo_id":"1401311484","filename":"file0"},{"photo_id":"1401311490","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311488":["hashtag1","hashtag2"]},{"1401311493":["hashtag1","hashtag2"]},{"1401311490":["hashtag1","hashtag2"]},{"1401311484":["hashtag1","hashtag2"]},{"1401311492":["hashtag1","hashtag2"]},{"1401311486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311488, 1401311493, 1401311490, 1401311484, 1401311492, 1401311486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.339274644851685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:38:16.797848
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_9615.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7180483341217041 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:38:31.772823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', '/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg
/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_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":["1401311510","1401311513","1401311507","1401311515","1401311511","1401311514"],"photo_ids_order":["1401311507","1401311510","1401311511","1401311513","1401311514","1401311515"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/724372b40f99c67925df96cf2bf031f1.jpg","text":"TemporaryFile(/tmp/multipartBody7905662574725673434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864372556,"filename":"image_10122025_04_54_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ab222d8e3b45df60993a180c7cfa6dd.jpg","text":"TemporaryFile(/tmp/multipartBody6617839931615136270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864372556,"filename":"image_10122025_04_54_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/353ba63438ce084568d92e0fc6cd297b.jpg","text":"TemporaryFile(/tmp/multipartBody5548311433937062765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864372556,"filename":"image_10122025_04_55_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/12/27/f1f4b0a58f4c6e1a33aae1906a085c48.jpg","text":"TemporaryFile(/tmp/multipartBody4754805332765189152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864372556,"filename":"image_10122025_04_54_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/838a57c678eec36f67e28d1e817e03e4.jpg","text":"TemporaryFile(/tmp/multipartBody4116760767326089024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864372556,"filename":"image_10122025_04_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/12/27/c01016b580161fd6afc15fb80643cf58.jpg","text":"TemporaryFile(/tmp/multipartBody1131729842594437531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864372556,"filename":"image_10122025_04_54_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311511","file1":"1401311510","file0":"1401311507","file4":"1401311514","file5":"1401311515","file3":"1401311513"},"map_files_photo_id_array":[{"photo_id":"1401311515","filename":"file5"},{"photo_id":"1401311511","filename":"file2"},{"photo_id":"1401311514","filename":"file4"},{"photo_id":"1401311510","filename":"file1"},{"photo_id":"1401311507","filename":"file0"},{"photo_id":"1401311513","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311510":["hashtag1","hashtag2"]},{"1401311513":["hashtag1","hashtag2"]},{"1401311507":["hashtag1","hashtag2"]},{"1401311515":["hashtag1","hashtag2"]},{"1401311511":["hashtag1","hashtag2"]},{"1401311514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311510, 1401311513, 1401311507, 1401311515, 1401311511, 1401311514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.135273933410645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:39:16.918389
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/20/39/image_27122025_20_39_54_10529.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/20/39/image_27122025_20_39_54_10529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/20/39/image_27122025_20_39_54_10529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401311556"],"photo_id":"1401311556","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86dae70e0b2ac3ba8c346c43ab2147a3.jpg","text":"TemporaryFile(/tmp/multipartBody1275104276188012542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864417164,"filename":"image_27122025_20_39_54_10529.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401311556"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401311556"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.474692106246948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:39:31.898702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg', '/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg', '/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg', '/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg', '/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg', '/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_9605.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6917963027954102 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:39:46.879783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg', '/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg', '/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg', '/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg', '/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg', '/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg
/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_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":["1401311578","1401311575","1401311574","1401311577","1401311571","1401311573"],"photo_ids_order":["1401311571","1401311573","1401311574","1401311575","1401311577","1401311578"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/abb2cf2eda4c93361d46903c67e7d8ba.jpg","text":"TemporaryFile(/tmp/multipartBody6577234323521677115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864447727,"filename":"image_10122025_04_52_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d433d20d579d2bca402d7cefd682419b.jpg","text":"TemporaryFile(/tmp/multipartBody5185444639551136520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864447727,"filename":"image_10122025_04_53_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3d184a451702f5bcd61c90282976ee04.jpg","text":"TemporaryFile(/tmp/multipartBody1043462977170248733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864447727,"filename":"image_10122025_04_53_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e82165d54f0cc1e0ba478cb9c4648ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1188589566385407458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864447727,"filename":"image_10122025_04_53_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/12/27/aa8dbbbfb8e135eb15c384af916cb27f.jpg","text":"TemporaryFile(/tmp/multipartBody7782683884810084949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864447727,"filename":"image_10122025_04_54_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07810852f7931d0dbb0d71a24b87fb6b.jpg","text":"TemporaryFile(/tmp/multipartBody51054836736189610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864447727,"filename":"image_10122025_04_53_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311574","file1":"1401311573","file0":"1401311571","file4":"1401311577","file5":"1401311578","file3":"1401311575"},"map_files_photo_id_array":[{"photo_id":"1401311578","filename":"file5"},{"photo_id":"1401311574","filename":"file2"},{"photo_id":"1401311577","filename":"file4"},{"photo_id":"1401311573","filename":"file1"},{"photo_id":"1401311571","filename":"file0"},{"photo_id":"1401311575","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311578":["hashtag1","hashtag2"]},{"1401311575":["hashtag1","hashtag2"]},{"1401311574":["hashtag1","hashtag2"]},{"1401311577":["hashtag1","hashtag2"]},{"1401311571":["hashtag1","hashtag2"]},{"1401311573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311578, 1401311575, 1401311574, 1401311577, 1401311571, 1401311573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88822102546692 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:40:31.999913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_44_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_45_10618.jpg', '/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_34_9606.jpg', '/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_25_10632.jpg', '/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_14_9620.jpg', '/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_55_10615.jpg', '/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_45_10618.jpg
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_34_9606.jpg
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_25_10632.jpg
/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_14_9620.jpg
/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_55_10615.jpg
/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_44_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":["1401311587","1401311592","1401311595","1401311589","1401311591","1401311594"],"photo_ids_order":["1401311587","1401311589","1401311591","1401311592","1401311594","1401311595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29ad48894eaab1747c5bd92f28884111.jpg","text":"TemporaryFile(/tmp/multipartBody3563858256575589215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864492813,"filename":"image_10122025_04_52_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc2caf4f817165c5fcc86ecac8d74973.jpg","text":"TemporaryFile(/tmp/multipartBody2131992731547893371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864492813,"filename":"image_10122025_04_52_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/12/27/f468d5e0a4a4d98f7e3358863abe582e.jpg","text":"TemporaryFile(/tmp/multipartBody7789065804698171930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864492813,"filename":"image_10122025_04_51_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/12/27/6565d81e0bb21bc95497835bcf73153d.jpg","text":"TemporaryFile(/tmp/multipartBody7224659223059554814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864492813,"filename":"image_10122025_04_52_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/12/27/52bfb7024b3a406e2697b00efab02b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2325028136189480594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864492813,"filename":"image_10122025_04_52_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/660d4b1a20812301484618428ae8e571.jpg","text":"TemporaryFile(/tmp/multipartBody6437337274949893927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864492813,"filename":"image_10122025_04_51_55_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311591","file1":"1401311589","file0":"1401311587","file4":"1401311594","file5":"1401311595","file3":"1401311592"},"map_files_photo_id_array":[{"photo_id":"1401311595","filename":"file5"},{"photo_id":"1401311591","filename":"file2"},{"photo_id":"1401311594","filename":"file4"},{"photo_id":"1401311589","filename":"file1"},{"photo_id":"1401311587","filename":"file0"},{"photo_id":"1401311592","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311587":["hashtag1","hashtag2"]},{"1401311592":["hashtag1","hashtag2"]},{"1401311595":["hashtag1","hashtag2"]},{"1401311589":["hashtag1","hashtag2"]},{"1401311591":["hashtag1","hashtag2"]},{"1401311594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311587, 1401311592, 1401311595, 1401311589, 1401311591, 1401311594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.786545276641846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:41:17.064420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_51_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_24_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_35_9605.jpg', '/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_25_10613.jpg', '/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_14_9624.jpg', '/home/nano/Desktop/images/10122025/04/50/image_10122025_04_51_05_10637.jpg', '/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_45_9607.jpg', '/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_35_9605.jpg
/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_25_10613.jpg
/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_14_9624.jpg
/home/nano/Desktop/images/10122025/04/50/image_10122025_04_51_05_10637.jpg
/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_45_9607.jpg
/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_24_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":["1401311603","1401311612","1401311606","1401311608","1401311610","1401311601"],"photo_ids_order":["1401311601","1401311603","1401311606","1401311608","1401311610","1401311612"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e912bbfd11226a0c2cdafd361cccc8e.jpg","text":"TemporaryFile(/tmp/multipartBody720411046750139889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864537883,"filename":"image_10122025_04_51_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5769b095d6f80cd88013b07fcb8140be.jpg","text":"TemporaryFile(/tmp/multipartBody7012377213877911398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864537883,"filename":"image_10122025_04_50_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/12/27/3bdd5e75be42031dc0320d1180244857.jpg","text":"TemporaryFile(/tmp/multipartBody7991433283452073911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864537883,"filename":"image_10122025_04_51_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/12/27/9b20814e8e857b85236346221d550ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7492959420849316379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864537883,"filename":"image_10122025_04_51_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ad5f86c7e37aabb2bee0bff19243869.jpg","text":"TemporaryFile(/tmp/multipartBody6621680992646776128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864537883,"filename":"image_10122025_04_50_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b3727b8203df14632b3cc4a8983fe79.jpg","text":"TemporaryFile(/tmp/multipartBody2647896458375047819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864537883,"filename":"image_10122025_04_51_35_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311606","file1":"1401311603","file0":"1401311601","file4":"1401311610","file5":"1401311612","file3":"1401311608"},"map_files_photo_id_array":[{"photo_id":"1401311612","filename":"file5"},{"photo_id":"1401311606","filename":"file2"},{"photo_id":"1401311610","filename":"file4"},{"photo_id":"1401311603","filename":"file1"},{"photo_id":"1401311601","filename":"file0"},{"photo_id":"1401311608","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311603":["hashtag1","hashtag2"]},{"1401311612":["hashtag1","hashtag2"]},{"1401311606":["hashtag1","hashtag2"]},{"1401311608":["hashtag1","hashtag2"]},{"1401311610":["hashtag1","hashtag2"]},{"1401311601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311603, 1401311612, 1401311606, 1401311608, 1401311610, 1401311601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48824691772461 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:42:02.754851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', '/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg
/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_44_9610.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.703948974609375 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:42:17.247052
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', '/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', '/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg
/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg
/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_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":["1401311665","1401311659","1401311667","1401311661","1401311663","1401311657"],"photo_ids_order":["1401311657","1401311659","1401311661","1401311663","1401311665","1401311667"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3eb15748aca8457b5228b23ca4fb09db.jpg","text":"TemporaryFile(/tmp/multipartBody787906450044228704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864598045,"filename":"image_10122025_04_49_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4c2d0f9a7c620a1d7b0a164b1c1149b.jpg","text":"TemporaryFile(/tmp/multipartBody8689111408572399557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864598045,"filename":"image_10122025_04_49_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/12/27/6e519f040cf4c84662d07d8187cb48e3.jpg","text":"TemporaryFile(/tmp/multipartBody4893154342906126832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864598045,"filename":"image_10122025_04_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/12/27/e7ec2796b00496d974c261239a9b3f80.jpg","text":"TemporaryFile(/tmp/multipartBody7411439454349476938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864598045,"filename":"image_10122025_04_49_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a53aa2986996cfe90e6ea06ceb2d20d1.jpg","text":"TemporaryFile(/tmp/multipartBody7504453479813981028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864598045,"filename":"image_10122025_04_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/12/27/e433e2eaa2d814cb6b335596d348a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody3241593700085626658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864598045,"filename":"image_10122025_04_50_04_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311661","file1":"1401311659","file0":"1401311657","file4":"1401311665","file5":"1401311667","file3":"1401311663"},"map_files_photo_id_array":[{"photo_id":"1401311667","filename":"file5"},{"photo_id":"1401311661","filename":"file2"},{"photo_id":"1401311665","filename":"file4"},{"photo_id":"1401311659","filename":"file1"},{"photo_id":"1401311657","filename":"file0"},{"photo_id":"1401311663","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311665":["hashtag1","hashtag2"]},{"1401311659":["hashtag1","hashtag2"]},{"1401311667":["hashtag1","hashtag2"]},{"1401311661":["hashtag1","hashtag2"]},{"1401311663":["hashtag1","hashtag2"]},{"1401311657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311665, 1401311659, 1401311667, 1401311661, 1401311663, 1401311657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.507466793060303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:43:02.961864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_35_9609.jpg', '/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_25_10618.jpg', '/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_14_9637.jpg', '/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_55_10615.jpg', '/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_44_9609.jpg', '/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_35_9609.jpg
/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_25_10618.jpg
/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_14_9637.jpg
/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_55_10615.jpg
/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_44_9609.jpg
/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_24_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":["1401311674","1401311677","1401311682","1401311679","1401311672","1401311675"],"photo_ids_order":["1401311672","1401311674","1401311675","1401311677","1401311679","1401311682"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c48253e515b04df679a875028d11107f.jpg","text":"TemporaryFile(/tmp/multipartBody3471908477105155920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864643821,"filename":"image_10122025_04_48_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f19a1be2705fb1f0a2fbd224463a620.jpg","text":"TemporaryFile(/tmp/multipartBody4480865616072252392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864643821,"filename":"image_10122025_04_47_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8704845bede9a8b52f6672bff32a8ff.jpg","text":"TemporaryFile(/tmp/multipartBody5540477340552504765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864643821,"filename":"image_10122025_04_47_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/12/27/10551918c5c022d711a9343abbb7466e.jpg","text":"TemporaryFile(/tmp/multipartBody8399666342296326425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864643821,"filename":"image_10122025_04_47_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/12/27/f9dab41c171b9301ba9ded6873c0cefb.jpg","text":"TemporaryFile(/tmp/multipartBody562473894798184835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864643821,"filename":"image_10122025_04_48_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2e02f1b55f6af8a519ec68eb00e6943.jpg","text":"TemporaryFile(/tmp/multipartBody4133283575099554183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864643821,"filename":"image_10122025_04_48_14_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311675","file1":"1401311674","file0":"1401311672","file4":"1401311679","file5":"1401311682","file3":"1401311677"},"map_files_photo_id_array":[{"photo_id":"1401311682","filename":"file5"},{"photo_id":"1401311675","filename":"file2"},{"photo_id":"1401311679","filename":"file4"},{"photo_id":"1401311674","filename":"file1"},{"photo_id":"1401311672","filename":"file0"},{"photo_id":"1401311677","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311674":["hashtag1","hashtag2"]},{"1401311677":["hashtag1","hashtag2"]},{"1401311682":["hashtag1","hashtag2"]},{"1401311679":["hashtag1","hashtag2"]},{"1401311672":["hashtag1","hashtag2"]},{"1401311675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311674, 1401311677, 1401311682, 1401311679, 1401311672, 1401311675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48508143424988 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:43:47.350723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_15_9619.jpg', '/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_54_9622.jpg', '/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_34_9605.jpg', '/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_55_9606.jpg', '/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_45_10614.jpg', '/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_15_9619.jpg
/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_54_9622.jpg
/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_34_9605.jpg
/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_55_9606.jpg
/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_45_10614.jpg
/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_34_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":["1401311692","1401311691","1401311694","1401311696","1401311690","1401311693"],"photo_ids_order":["1401311690","1401311691","1401311692","1401311693","1401311694","1401311696"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8f7e94e7cca5035f25ce05246ffbf965.jpg","text":"TemporaryFile(/tmp/multipartBody4955389709868595481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864688161,"filename":"image_10122025_04_46_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/12/27/dd5647b4dcdefe3ea817d1e7b6424a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3946403596606378263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864688161,"filename":"image_10122025_04_46_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/12/27/e01a3507927cf17099c1febe3d96e11c.jpg","text":"TemporaryFile(/tmp/multipartBody1567013794518871784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864688161,"filename":"image_10122025_04_45_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12fdca684a2c40a007c686cfc943ecd9.jpg","text":"TemporaryFile(/tmp/multipartBody3418813737533088847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864688161,"filename":"image_10122025_04_45_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/12/27/4645aee319b34e3d048271d56b36ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody3769894605320758463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864688161,"filename":"image_10122025_04_47_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd8b719b965ee4a26b6732087318f308.jpg","text":"TemporaryFile(/tmp/multipartBody2272346003623472094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864688161,"filename":"image_10122025_04_45_55_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311692","file1":"1401311691","file0":"1401311690","file4":"1401311694","file5":"1401311696","file3":"1401311693"},"map_files_photo_id_array":[{"photo_id":"1401311696","filename":"file5"},{"photo_id":"1401311692","filename":"file2"},{"photo_id":"1401311694","filename":"file4"},{"photo_id":"1401311691","filename":"file1"},{"photo_id":"1401311690","filename":"file0"},{"photo_id":"1401311693","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311692":["hashtag1","hashtag2"]},{"1401311691":["hashtag1","hashtag2"]},{"1401311694":["hashtag1","hashtag2"]},{"1401311696":["hashtag1","hashtag2"]},{"1401311690":["hashtag1","hashtag2"]},{"1401311693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311692, 1401311691, 1401311694, 1401311696, 1401311690, 1401311693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.821396350860596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:44:32.436122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_45_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_44_05_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/44/image_10122025_04_45_05_9608.jpg', '/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_55_10635.jpg', '/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_44_9613.jpg', '/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_24_9608.jpg', '/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_15_9614.jpg', '/home/nano/Desktop/images/10122025/04/43/image_10122025_04_44_05_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/44/image_10122025_04_45_05_9608.jpg
/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_55_10635.jpg
/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_44_9613.jpg
/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_24_9608.jpg
/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_15_9614.jpg
/home/nano/Desktop/images/10122025/04/43/image_10122025_04_44_05_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":["1401311717","1401311707","1401311712","1401311715","1401311709","1401311714"],"photo_ids_order":["1401311707","1401311709","1401311712","1401311714","1401311715","1401311717"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0d60731679bf001aaeedc85c9f10b89.jpg","text":"TemporaryFile(/tmp/multipartBody5913196033498589491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864733236,"filename":"image_10122025_04_44_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74f07654dc5c3060c8b7e6218d874584.jpg","text":"TemporaryFile(/tmp/multipartBody510363904574830137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864733236,"filename":"image_10122025_04_45_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b8e984bd6fcdd035571787f55c6ef29.jpg","text":"TemporaryFile(/tmp/multipartBody3406487045418357282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864733236,"filename":"image_10122025_04_44_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/12/27/6ca3d929a2aafae110419535bed45786.jpg","text":"TemporaryFile(/tmp/multipartBody2441405497800241775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864733236,"filename":"image_10122025_04_44_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a2175f08c7aa97f995a48a8e063928d.jpg","text":"TemporaryFile(/tmp/multipartBody7035898955245263365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864733236,"filename":"image_10122025_04_44_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60698b5031795dc8a651aa37aee59fee.jpg","text":"TemporaryFile(/tmp/multipartBody6469151076842879061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864733236,"filename":"image_10122025_04_44_24_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311712","file1":"1401311709","file0":"1401311707","file4":"1401311715","file5":"1401311717","file3":"1401311714"},"map_files_photo_id_array":[{"photo_id":"1401311717","filename":"file5"},{"photo_id":"1401311712","filename":"file2"},{"photo_id":"1401311715","filename":"file4"},{"photo_id":"1401311709","filename":"file1"},{"photo_id":"1401311707","filename":"file0"},{"photo_id":"1401311714","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311717":["hashtag1","hashtag2"]},{"1401311707":["hashtag1","hashtag2"]},{"1401311712":["hashtag1","hashtag2"]},{"1401311715":["hashtag1","hashtag2"]},{"1401311709":["hashtag1","hashtag2"]},{"1401311714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311717, 1401311707, 1401311712, 1401311715, 1401311709, 1401311714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94947862625122 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:45:17.544183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_43_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_25_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_54_9604.jpg', '/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_45_9605.jpg', '/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_15_10630.jpg', '/home/nano/Desktop/images/10122025/04/42/image_10122025_04_43_04_9609.jpg', '/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_45_10619.jpg', '/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_54_9604.jpg
/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_45_9605.jpg
/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_15_10630.jpg
/home/nano/Desktop/images/10122025/04/42/image_10122025_04_43_04_9609.jpg
/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_45_10619.jpg
/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_25_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":["1401311758","1401311766","1401311769","1401311760","1401311763","1401311756"],"photo_ids_order":["1401311756","1401311758","1401311760","1401311763","1401311766","1401311769"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58291e4f4c4e2d9d5b68ae1b878f37f3.jpg","text":"TemporaryFile(/tmp/multipartBody4278957307966024861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864778353,"filename":"image_10122025_04_43_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d852e88a7c9d8ba8716e62ef5de91a80.jpg","text":"TemporaryFile(/tmp/multipartBody5533058762316703700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864778353,"filename":"image_10122025_04_42_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d19ee8b401f6638f12eab28bc97bf614.jpg","text":"TemporaryFile(/tmp/multipartBody3037173877231656217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864778353,"filename":"image_10122025_04_42_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d3db57d1c38f3a333580ed524fdb2cd.jpg","text":"TemporaryFile(/tmp/multipartBody3333704950019786159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864778353,"filename":"image_10122025_04_43_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/213caeda99befe1f7727333b34a73dec.jpg","text":"TemporaryFile(/tmp/multipartBody7145136191736809027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864778353,"filename":"image_10122025_04_43_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/12/27/950951ac477a139f6bf43636af0d21e2.jpg","text":"TemporaryFile(/tmp/multipartBody7796544661007203316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864778353,"filename":"image_10122025_04_43_54_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311760","file1":"1401311758","file0":"1401311756","file4":"1401311766","file5":"1401311769","file3":"1401311763"},"map_files_photo_id_array":[{"photo_id":"1401311769","filename":"file5"},{"photo_id":"1401311760","filename":"file2"},{"photo_id":"1401311766","filename":"file4"},{"photo_id":"1401311758","filename":"file1"},{"photo_id":"1401311756","filename":"file0"},{"photo_id":"1401311763","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311758":["hashtag1","hashtag2"]},{"1401311766":["hashtag1","hashtag2"]},{"1401311769":["hashtag1","hashtag2"]},{"1401311760":["hashtag1","hashtag2"]},{"1401311763":["hashtag1","hashtag2"]},{"1401311756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311758, 1401311766, 1401311769, 1401311760, 1401311763, 1401311756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69968509674072 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:46:03.159105
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_45_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_14_9620.jpg', '/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_44_9606.jpg', '/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_14_9621.jpg', '/home/nano/Desktop/images/10122025/04/40/image_10122025_04_41_05_10619.jpg', '/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_54_9607.jpg', '/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_45_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_14_9620.jpg
/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_44_9606.jpg
/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_14_9621.jpg
/home/nano/Desktop/images/10122025/04/40/image_10122025_04_41_05_10619.jpg
/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_54_9607.jpg
/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_45_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":["1401311776","1401311781","1401311775","1401311778","1401311777","1401311774"],"photo_ids_order":["1401311774","1401311775","1401311776","1401311777","1401311778","1401311781"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13a03b53f51914870f50ed56ed74b4b2.jpg","text":"TemporaryFile(/tmp/multipartBody6533398346758903383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864823971,"filename":"image_10122025_04_41_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35dafa17e3122f6ea330b712447b4b63.jpg","text":"TemporaryFile(/tmp/multipartBody4498058979859781643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864823971,"filename":"image_10122025_04_40_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/666568f7ab38bafa699799359da3021d.jpg","text":"TemporaryFile(/tmp/multipartBody5144923988809470155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864823971,"filename":"image_10122025_04_41_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/12/27/55b0552c5d532f94d2847eb8e9979b18.jpg","text":"TemporaryFile(/tmp/multipartBody2616412263941613526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864823971,"filename":"image_10122025_04_40_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/12/27/e128c3d153860bb1d55d7b3cd51acddc.jpg","text":"TemporaryFile(/tmp/multipartBody4820504380710865934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864823971,"filename":"image_10122025_04_41_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/932e7f21fc30acd03c5087603550c80f.jpg","text":"TemporaryFile(/tmp/multipartBody6970082381297750631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864823971,"filename":"image_10122025_04_42_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311776","file1":"1401311775","file0":"1401311774","file4":"1401311778","file5":"1401311781","file3":"1401311777"},"map_files_photo_id_array":[{"photo_id":"1401311781","filename":"file5"},{"photo_id":"1401311776","filename":"file2"},{"photo_id":"1401311778","filename":"file4"},{"photo_id":"1401311775","filename":"file1"},{"photo_id":"1401311774","filename":"file0"},{"photo_id":"1401311777","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311776":["hashtag1","hashtag2"]},{"1401311781":["hashtag1","hashtag2"]},{"1401311775":["hashtag1","hashtag2"]},{"1401311778":["hashtag1","hashtag2"]},{"1401311777":["hashtag1","hashtag2"]},{"1401311774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311776, 1401311781, 1401311775, 1401311778, 1401311777, 1401311774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.851301908493042 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:46:47.675769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_40_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_15_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_35_10615.jpg', '/home/nano/Desktop/images/10122025/04/39/image_10122025_04_40_04_9610.jpg', '/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_55_9606.jpg', '/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_45_10616.jpg', '/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_34_9607.jpg', '/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_15_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_35_10615.jpg
/home/nano/Desktop/images/10122025/04/39/image_10122025_04_40_04_9610.jpg
/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_55_9606.jpg
/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_45_10616.jpg
/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_34_9607.jpg
/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_15_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":["1401311791","1401311794","1401311790","1401311793","1401311796","1401311792"],"photo_ids_order":["1401311790","1401311791","1401311792","1401311793","1401311794","1401311796"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38304290e0c2d2785fd8933b88eccc3d.jpg","text":"TemporaryFile(/tmp/multipartBody7914993487791786116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864868466,"filename":"image_10122025_04_40_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/12/27/267ac63c2ebc6e2330ffe388073883a1.jpg","text":"TemporaryFile(/tmp/multipartBody4899799078351801447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864868466,"filename":"image_10122025_04_39_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/12/27/226dbc972697f09f8dc374103931498f.jpg","text":"TemporaryFile(/tmp/multipartBody6607302972341807589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864868466,"filename":"image_10122025_04_40_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb7c54403137dc572d554669e4a83c51.jpg","text":"TemporaryFile(/tmp/multipartBody7354586388550990069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864868466,"filename":"image_10122025_04_39_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f36d8bbdbf211e212ff16777eb450301.jpg","text":"TemporaryFile(/tmp/multipartBody3304377614477027575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864868466,"filename":"image_10122025_04_39_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b842d93a27bad52571e7446300e461ff.jpg","text":"TemporaryFile(/tmp/multipartBody2166383698383286136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864868466,"filename":"image_10122025_04_39_55_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311792","file1":"1401311791","file0":"1401311790","file4":"1401311794","file5":"1401311796","file3":"1401311793"},"map_files_photo_id_array":[{"photo_id":"1401311796","filename":"file5"},{"photo_id":"1401311792","filename":"file2"},{"photo_id":"1401311794","filename":"file4"},{"photo_id":"1401311791","filename":"file1"},{"photo_id":"1401311790","filename":"file0"},{"photo_id":"1401311793","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311791":["hashtag1","hashtag2"]},{"1401311794":["hashtag1","hashtag2"]},{"1401311790":["hashtag1","hashtag2"]},{"1401311793":["hashtag1","hashtag2"]},{"1401311796":["hashtag1","hashtag2"]},{"1401311792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311791, 1401311794, 1401311790, 1401311793, 1401311796, 1401311792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00473165512085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:47:31.780139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_39_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_38_05_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/38/image_10122025_04_39_04_9622.jpg', '/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_55_10612.jpg', '/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_44_9605.jpg', '/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_35_9605.jpg', '/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_14_9621.jpg', '/home/nano/Desktop/images/10122025/04/37/image_10122025_04_38_05_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/38/image_10122025_04_39_04_9622.jpg
/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_55_10612.jpg
/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_44_9605.jpg
/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_35_9605.jpg
/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_14_9621.jpg
/home/nano/Desktop/images/10122025/04/37/image_10122025_04_38_05_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":["1401311804","1401311818","1401311806","1401311809","1401311811","1401311808"],"photo_ids_order":["1401311804","1401311806","1401311808","1401311809","1401311811","1401311818"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2e150a18b5a5d96442bb2ba6e29e554.jpg","text":"TemporaryFile(/tmp/multipartBody5147409437105468174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864912589,"filename":"image_10122025_04_39_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/12/27/8fd6ef5be42d28dc9693408537d4abb7.jpg","text":"TemporaryFile(/tmp/multipartBody4699838952639993773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864912589,"filename":"image_10122025_04_38_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a93018a7607a76ccc7f7269c88aec350.jpg","text":"TemporaryFile(/tmp/multipartBody5143442083704889804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864912589,"filename":"image_10122025_04_38_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c38a153c24d107340047b2ccc737205e.jpg","text":"TemporaryFile(/tmp/multipartBody6671627682431843694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864912589,"filename":"image_10122025_04_38_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74f8608d048635a46081316d430a8b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1487507895232799300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864912589,"filename":"image_10122025_04_38_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2d2164d867350073b4ef78de634448c.jpg","text":"TemporaryFile(/tmp/multipartBody4013502663373539300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864912589,"filename":"image_10122025_04_38_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311808","file1":"1401311806","file0":"1401311804","file4":"1401311811","file5":"1401311818","file3":"1401311809"},"map_files_photo_id_array":[{"photo_id":"1401311818","filename":"file5"},{"photo_id":"1401311808","filename":"file2"},{"photo_id":"1401311811","filename":"file4"},{"photo_id":"1401311806","filename":"file1"},{"photo_id":"1401311804","filename":"file0"},{"photo_id":"1401311809","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311804":["hashtag1","hashtag2"]},{"1401311818":["hashtag1","hashtag2"]},{"1401311806":["hashtag1","hashtag2"]},{"1401311809":["hashtag1","hashtag2"]},{"1401311811":["hashtag1","hashtag2"]},{"1401311808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311804, 1401311818, 1401311806, 1401311809, 1401311811, 1401311808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1641902923584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:48:16.877751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_37_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_54_9607.jpg', '/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_35_10620.jpg', '/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_24_9607.jpg', '/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_15_9613.jpg', '/home/nano/Desktop/images/10122025/04/36/image_10122025_04_37_05_10621.jpg', '/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_54_9607.jpg
/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_35_10620.jpg
/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_24_9607.jpg
/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_15_9613.jpg
/home/nano/Desktop/images/10122025/04/36/image_10122025_04_37_05_10621.jpg
/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_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":["1401311854","1401311863","1401311865","1401311856","1401311861","1401311858"],"photo_ids_order":["1401311854","1401311856","1401311858","1401311861","1401311863","1401311865"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa2526aff4f09cd45e2d7871cf9787d0.jpg","text":"TemporaryFile(/tmp/multipartBody785882631486593958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864957677,"filename":"image_10122025_04_37_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/12/27/19941ccfd8ebebe0752f0cfcb7d906fd.jpg","text":"TemporaryFile(/tmp/multipartBody8107090256648841105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864957677,"filename":"image_10122025_04_37_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8880a01ce54825b1835f59400a53a4d2.jpg","text":"TemporaryFile(/tmp/multipartBody7146976601684213456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864957677,"filename":"image_10122025_04_36_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/12/27/fbf6170e32139a437a1ae9e29232cd36.jpg","text":"TemporaryFile(/tmp/multipartBody6464425232751769358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864957677,"filename":"image_10122025_04_37_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b048acd37ad017566b5cd0e0cb01ed2c.jpg","text":"TemporaryFile(/tmp/multipartBody360179304044815386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864957677,"filename":"image_10122025_04_37_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4cdfeaecf53d0ecabd61cd8a38a7c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1222208260965032409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766864957677,"filename":"image_10122025_04_37_24_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311858","file1":"1401311856","file0":"1401311854","file4":"1401311863","file5":"1401311865","file3":"1401311861"},"map_files_photo_id_array":[{"photo_id":"1401311865","filename":"file5"},{"photo_id":"1401311858","filename":"file2"},{"photo_id":"1401311863","filename":"file4"},{"photo_id":"1401311856","filename":"file1"},{"photo_id":"1401311854","filename":"file0"},{"photo_id":"1401311861","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311854":["hashtag1","hashtag2"]},{"1401311863":["hashtag1","hashtag2"]},{"1401311865":["hashtag1","hashtag2"]},{"1401311856":["hashtag1","hashtag2"]},{"1401311861":["hashtag1","hashtag2"]},{"1401311858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311854, 1401311863, 1401311865, 1401311856, 1401311861, 1401311858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.155038356781006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:49:02.950297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_55_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_34_9605.jpg', '/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_55_10636.jpg', '/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_14_9621.jpg', '/home/nano/Desktop/images/10122025/04/34/image_10122025_04_35_05_9615.jpg', '/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_55_10616.jpg', '/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_34_9605.jpg
/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_55_10636.jpg
/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_14_9621.jpg
/home/nano/Desktop/images/10122025/04/34/image_10122025_04_35_05_9615.jpg
/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_55_10616.jpg
/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_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":["1401311875","1401311869","1401311878","1401311871","1401311868","1401311873"],"photo_ids_order":["1401311868","1401311869","1401311871","1401311873","1401311875","1401311878"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dec4c22abc35fa2ec57f388267f32c99.jpg","text":"TemporaryFile(/tmp/multipartBody3075802872467284998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865003888,"filename":"image_10122025_04_34_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b2f86b2abb6f86bfa18fd4bb5fe476e.jpg","text":"TemporaryFile(/tmp/multipartBody4004202703704699853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865003888,"filename":"image_10122025_04_35_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46dea575571eb4990c12fe485e57020b.jpg","text":"TemporaryFile(/tmp/multipartBody4596828305113619690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865003888,"filename":"image_10122025_04_34_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/12/27/1b728444a674db5a6b2423bcf5df75bb.jpg","text":"TemporaryFile(/tmp/multipartBody4446889095443265426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865003888,"filename":"image_10122025_04_35_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12c8dfeb2484e6cfbffe8970fa04cb61.jpg","text":"TemporaryFile(/tmp/multipartBody5096565105529306452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865003888,"filename":"image_10122025_04_36_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/12/27/11df9ab115b083a29fd5aca94e356ae0.jpg","text":"TemporaryFile(/tmp/multipartBody4404567502956553808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865003888,"filename":"image_10122025_04_35_05_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311871","file1":"1401311869","file0":"1401311868","file4":"1401311875","file5":"1401311878","file3":"1401311873"},"map_files_photo_id_array":[{"photo_id":"1401311878","filename":"file5"},{"photo_id":"1401311871","filename":"file2"},{"photo_id":"1401311875","filename":"file4"},{"photo_id":"1401311869","filename":"file1"},{"photo_id":"1401311868","filename":"file0"},{"photo_id":"1401311873","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311875":["hashtag1","hashtag2"]},{"1401311869":["hashtag1","hashtag2"]},{"1401311878":["hashtag1","hashtag2"]},{"1401311871":["hashtag1","hashtag2"]},{"1401311868":["hashtag1","hashtag2"]},{"1401311873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311875, 1401311869, 1401311878, 1401311871, 1401311868, 1401311873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61176133155823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:49:47.020956
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/33/image_10122025_04_34_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/04/33/image_10122025_04_33_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_33_04_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_35_10634.jpg', '/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_24_9608.jpg', '/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_15_9612.jpg', '/home/nano/Desktop/images/10122025/04/33/image_10122025_04_34_05_10635.jpg', '/home/nano/Desktop/images/10122025/04/33/image_10122025_04_33_25_9604.jpg', '/home/nano/Desktop/images/10122025/04/32/image_10122025_04_33_04_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_35_10634.jpg
/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_24_9608.jpg
/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_15_9612.jpg
/home/nano/Desktop/images/10122025/04/33/image_10122025_04_34_05_10635.jpg
/home/nano/Desktop/images/10122025/04/33/image_10122025_04_33_25_9604.jpg
/home/nano/Desktop/images/10122025/04/32/image_10122025_04_33_04_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":["1401311890","1401311887","1401311886","1401311888","1401311891","1401311885"],"photo_ids_order":["1401311885","1401311886","1401311887","1401311888","1401311890","1401311891"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90da2f96fc8e56649552928f10b368a5.jpg","text":"TemporaryFile(/tmp/multipartBody7231367131970985335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865047832,"filename":"image_10122025_04_33_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d13158e6cfd95762eb90cc9af7a03544.jpg","text":"TemporaryFile(/tmp/multipartBody3128895801881795660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865047832,"filename":"image_10122025_04_34_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e75a97985b71fee5b96fa59d372196a1.jpg","text":"TemporaryFile(/tmp/multipartBody1114170646999153379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865047832,"filename":"image_10122025_04_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/12/27/39c0c8d6b993ff8e92a2e2ff1af92a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7640251452702789508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865047832,"filename":"image_10122025_04_34_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3172dc60ac24daf11f3623f6e630416.jpg","text":"TemporaryFile(/tmp/multipartBody8843903318737608070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865047832,"filename":"image_10122025_04_33_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/12/27/e55e3e8bf3bedb0fb06cfd920b68d606.jpg","text":"TemporaryFile(/tmp/multipartBody5609716236733620026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865047832,"filename":"image_10122025_04_34_35_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311887","file1":"1401311886","file0":"1401311885","file4":"1401311890","file5":"1401311891","file3":"1401311888"},"map_files_photo_id_array":[{"photo_id":"1401311891","filename":"file5"},{"photo_id":"1401311887","filename":"file2"},{"photo_id":"1401311890","filename":"file4"},{"photo_id":"1401311886","filename":"file1"},{"photo_id":"1401311885","filename":"file0"},{"photo_id":"1401311888","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311890":["hashtag1","hashtag2"]},{"1401311887":["hashtag1","hashtag2"]},{"1401311886":["hashtag1","hashtag2"]},{"1401311888":["hashtag1","hashtag2"]},{"1401311891":["hashtag1","hashtag2"]},{"1401311885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311890, 1401311887, 1401311886, 1401311888, 1401311891, 1401311885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.88299536705017 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:50:32.191578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_32_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_45_10618.jpg', '/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_25_10614.jpg', '/home/nano/Desktop/images/10122025/04/31/image_10122025_04_32_05_9613.jpg', '/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_55_10618.jpg', '/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', '/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_45_10618.jpg
/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_25_10614.jpg
/home/nano/Desktop/images/10122025/04/31/image_10122025_04_32_05_9613.jpg
/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_55_10618.jpg
/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg
/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_24_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":["1401311918","1401311905","1401311902","1401311931","1401311910","1401311906"],"photo_ids_order":["1401311902","1401311905","1401311906","1401311910","1401311918","1401311931"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5aa52a778db5674b06ade514e1fcb8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2935561475496870315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865093006,"filename":"image_10122025_04_31_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/12/27/2499912a927c122a9051ac67997bebe0.jpg","text":"TemporaryFile(/tmp/multipartBody949385036905628442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865093006,"filename":"image_10122025_04_32_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de9f38f09500f69b53d9b51df370fcf0.jpg","text":"TemporaryFile(/tmp/multipartBody9158055847138356416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865093006,"filename":"image_10122025_04_32_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8708a5139ec91eaafcf810c8b81026b0.jpg","text":"TemporaryFile(/tmp/multipartBody6603628262758396683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865093006,"filename":"image_10122025_04_31_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/12/27/d9f0563d316e217f9cf674bc8de90bc8.jpg","text":"TemporaryFile(/tmp/multipartBody3394707605613040359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865093006,"filename":"image_10122025_04_31_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0184c5fd965771e9fbdca88ca22e904b.jpg","text":"TemporaryFile(/tmp/multipartBody2854298340243742578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865093006,"filename":"image_10122025_04_32_05_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311906","file1":"1401311905","file0":"1401311902","file4":"1401311918","file5":"1401311931","file3":"1401311910"},"map_files_photo_id_array":[{"photo_id":"1401311931","filename":"file5"},{"photo_id":"1401311906","filename":"file2"},{"photo_id":"1401311918","filename":"file4"},{"photo_id":"1401311905","filename":"file1"},{"photo_id":"1401311902","filename":"file0"},{"photo_id":"1401311910","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311918":["hashtag1","hashtag2"]},{"1401311905":["hashtag1","hashtag2"]},{"1401311902":["hashtag1","hashtag2"]},{"1401311931":["hashtag1","hashtag2"]},{"1401311910":["hashtag1","hashtag2"]},{"1401311906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311918, 1401311905, 1401311902, 1401311931, 1401311910, 1401311906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.005290031433105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:51:17.196952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_15_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_15_9605.jpg', '/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_55_9620.jpg', '/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', '/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', '/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_55_10632.jpg', '/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_15_9605.jpg
/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_55_9620.jpg
/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg
/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg
/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_55_10632.jpg
/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_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":["1401311936","1401311941","1401311950","1401311944","1401311947","1401311937"],"photo_ids_order":["1401311936","1401311937","1401311941","1401311944","1401311947","1401311950"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ac4ba2d9ac45cf1085b44f39f9a74c5.jpg","text":"TemporaryFile(/tmp/multipartBody1022298043410018869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865137998,"filename":"image_10122025_04_31_15_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4613de356a0b0708a2325538ddd29e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7726697039353269383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865137998,"filename":"image_10122025_04_29_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1cd72a377c6f349f9f065a2f34247f74.jpg","text":"TemporaryFile(/tmp/multipartBody8006759830147075989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865137998,"filename":"image_10122025_04_28_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/12/27/781a7f2599dc97d34f5764e53f1d41ce.jpg","text":"TemporaryFile(/tmp/multipartBody2193511556403925049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865137998,"filename":"image_10122025_04_29_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/12/27/ad20a1caa631ec5db76683edb9b81d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6106579417085514598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865137998,"filename":"image_10122025_04_28_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/23a00c52d0d31a26d0ad1364ff81edb4.jpg","text":"TemporaryFile(/tmp/multipartBody7847460479404445704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865137998,"filename":"image_10122025_04_29_55_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311941","file1":"1401311937","file0":"1401311936","file4":"1401311947","file5":"1401311950","file3":"1401311944"},"map_files_photo_id_array":[{"photo_id":"1401311950","filename":"file5"},{"photo_id":"1401311941","filename":"file2"},{"photo_id":"1401311947","filename":"file4"},{"photo_id":"1401311937","filename":"file1"},{"photo_id":"1401311936","filename":"file0"},{"photo_id":"1401311944","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311936":["hashtag1","hashtag2"]},{"1401311941":["hashtag1","hashtag2"]},{"1401311950":["hashtag1","hashtag2"]},{"1401311944":["hashtag1","hashtag2"]},{"1401311947":["hashtag1","hashtag2"]},{"1401311937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311936, 1401311941, 1401311950, 1401311944, 1401311947, 1401311937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.602609395980835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:52:02.859304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_28_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', '/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', '/home/nano/Desktop/images/10122025/04/27/image_10122025_04_28_05_10624.jpg', '/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_54_9606.jpg', '/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_35_10615.jpg', '/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg
/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg
/home/nano/Desktop/images/10122025/04/27/image_10122025_04_28_05_10624.jpg
/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_54_9606.jpg
/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_35_10615.jpg
/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_24_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":["1401311962","1401311956","1401311964","1401311958","1401311967","1401311960"],"photo_ids_order":["1401311956","1401311958","1401311960","1401311962","1401311964","1401311967"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/362121565721e2bcf8aae548fa1b9e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8762197692830763109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865183778,"filename":"image_10122025_04_27_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/12/27/f767a8f2fd8dced2a8876f5a1429c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody3180970525461879880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865183778,"filename":"image_10122025_04_28_35_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/98f430798953575924339e193097a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody871606903842528005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865183778,"filename":"image_10122025_04_27_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec6e547c323f906f3a0a3d979e6dea69.jpg","text":"TemporaryFile(/tmp/multipartBody1977813899339171503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865183778,"filename":"image_10122025_04_28_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/12/27/35fbc1747f8f3d2f715458b2ce43b5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2974090521160784477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865183778,"filename":"image_10122025_04_27_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/12/27/d4693d311a25e41735c63b887254f9b5.jpg","text":"TemporaryFile(/tmp/multipartBody2785693184954248406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865183778,"filename":"image_10122025_04_28_05_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311960","file1":"1401311958","file0":"1401311956","file4":"1401311964","file5":"1401311967","file3":"1401311962"},"map_files_photo_id_array":[{"photo_id":"1401311967","filename":"file5"},{"photo_id":"1401311960","filename":"file2"},{"photo_id":"1401311964","filename":"file4"},{"photo_id":"1401311958","filename":"file1"},{"photo_id":"1401311956","filename":"file0"},{"photo_id":"1401311962","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311962":["hashtag1","hashtag2"]},{"1401311956":["hashtag1","hashtag2"]},{"1401311964":["hashtag1","hashtag2"]},{"1401311958":["hashtag1","hashtag2"]},{"1401311967":["hashtag1","hashtag2"]},{"1401311960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311962, 1401311956, 1401311964, 1401311958, 1401311967, 1401311960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75666260719299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:52:47.316126
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_27_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_15_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_15_10631.jpg', '/home/nano/Desktop/images/10122025/04/26/image_10122025_04_27_04_9619.jpg', '/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_54_9606.jpg', '/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_45_10614.jpg', '/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_34_9606.jpg', '/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_15_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_15_10631.jpg
/home/nano/Desktop/images/10122025/04/26/image_10122025_04_27_04_9619.jpg
/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_54_9606.jpg
/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_45_10614.jpg
/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_34_9606.jpg
/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_15_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":["1401311980","1401311974","1401311977","1401311976","1401311979","1401311975"],"photo_ids_order":["1401311974","1401311975","1401311976","1401311977","1401311979","1401311980"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76ff136db8544441babeaf7fffff737d.jpg","text":"TemporaryFile(/tmp/multipartBody186807149637518255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865228134,"filename":"image_10122025_04_26_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c8b3ad81797f4b69a8ec0679a67df65.jpg","text":"TemporaryFile(/tmp/multipartBody8878355471670433564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865228134,"filename":"image_10122025_04_27_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dae1b81aca4b06160fb63a394035e53b.jpg","text":"TemporaryFile(/tmp/multipartBody1744841179603613443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865228134,"filename":"image_10122025_04_26_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c07f075b4afd6328bd9892efd7747e17.jpg","text":"TemporaryFile(/tmp/multipartBody6514488282147090165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865228134,"filename":"image_10122025_04_26_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/12/27/350fd26f5ca3dab0f8ffdb181fa3857d.jpg","text":"TemporaryFile(/tmp/multipartBody1129287919130263790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865228134,"filename":"image_10122025_04_26_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/12/27/3f7beb31f3f750aa3494ee95c9aa5677.jpg","text":"TemporaryFile(/tmp/multipartBody6341684235897658811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865228134,"filename":"image_10122025_04_27_04_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311976","file1":"1401311975","file0":"1401311974","file4":"1401311979","file5":"1401311980","file3":"1401311977"},"map_files_photo_id_array":[{"photo_id":"1401311980","filename":"file5"},{"photo_id":"1401311976","filename":"file2"},{"photo_id":"1401311979","filename":"file4"},{"photo_id":"1401311975","filename":"file1"},{"photo_id":"1401311974","filename":"file0"},{"photo_id":"1401311977","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311980":["hashtag1","hashtag2"]},{"1401311974":["hashtag1","hashtag2"]},{"1401311977":["hashtag1","hashtag2"]},{"1401311976":["hashtag1","hashtag2"]},{"1401311979":["hashtag1","hashtag2"]},{"1401311975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311980, 1401311974, 1401311977, 1401311976, 1401311979, 1401311975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18226504325867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:53:32.409772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_26_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_14_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/25/image_10122025_04_26_04_9614.jpg', '/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_55_10616.jpg', '/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_44_9612.jpg', '/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_35_9624.jpg', '/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_25_10616.jpg', '/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_14_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/25/image_10122025_04_26_04_9614.jpg
/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_55_10616.jpg
/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_44_9612.jpg
/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_35_9624.jpg
/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_25_10616.jpg
/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_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":["1401311992","1401311986","1401311989","1401311994","1401311988","1401312005"],"photo_ids_order":["1401311986","1401311988","1401311989","1401311992","1401311994","1401312005"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f0509bdb320c2f64b238a86246d070fb.jpg","text":"TemporaryFile(/tmp/multipartBody8133324156612373784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865273206,"filename":"image_10122025_04_25_35_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a45086487308f801501f37de4ac0ad06.jpg","text":"TemporaryFile(/tmp/multipartBody5848117939386738980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865273206,"filename":"image_10122025_04_26_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/12/27/e6343a9fb703f6eca2ab98ed1760195b.jpg","text":"TemporaryFile(/tmp/multipartBody5397882443226465851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865273206,"filename":"image_10122025_04_25_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/12/27/f4e62f162c92972f2b76598f2eba74b9.jpg","text":"TemporaryFile(/tmp/multipartBody3738947471004522000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865273206,"filename":"image_10122025_04_25_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/972107c31d5f70c4b92c2d0ea6034fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4229118403892994899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865273206,"filename":"image_10122025_04_25_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43f126a05dd9402bccb46842ab4b0bc6.jpg","text":"TemporaryFile(/tmp/multipartBody1511168040092421655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865273206,"filename":"image_10122025_04_25_14_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401311989","file1":"1401311988","file0":"1401311986","file4":"1401311994","file5":"1401312005","file3":"1401311992"},"map_files_photo_id_array":[{"photo_id":"1401312005","filename":"file5"},{"photo_id":"1401311989","filename":"file2"},{"photo_id":"1401311994","filename":"file4"},{"photo_id":"1401311988","filename":"file1"},{"photo_id":"1401311986","filename":"file0"},{"photo_id":"1401311992","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401311992":["hashtag1","hashtag2"]},{"1401311986":["hashtag1","hashtag2"]},{"1401311989":["hashtag1","hashtag2"]},{"1401311994":["hashtag1","hashtag2"]},{"1401311988":["hashtag1","hashtag2"]},{"1401312005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401311992, 1401311986, 1401311989, 1401311994, 1401311988, 1401312005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.552656412124634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:54:17.519949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg', '/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg
/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_10619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6848897933959961 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:54:32.508123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg', '/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg', '/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg
/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg
/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_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":["1401312022","1401312027","1401312021","1401312024","1401312018","1401312026"],"photo_ids_order":["1401312018","1401312021","1401312022","1401312024","1401312026","1401312027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/64d7c49986b39dc1bdb4100c74471973.jpg","text":"TemporaryFile(/tmp/multipartBody6536399922652622763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865333332,"filename":"image_10122025_04_24_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/12/27/9c03ea9313b6ab1ad209b88a72c25c27.jpg","text":"TemporaryFile(/tmp/multipartBody1730016336318221728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865333332,"filename":"image_10122025_04_24_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46c2412f4b9beaaed646940a7fe7c4c6.jpg","text":"TemporaryFile(/tmp/multipartBody2346208772348788703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865333332,"filename":"image_10122025_04_24_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfce1694edea3e4fd1aeeff843c74f18.jpg","text":"TemporaryFile(/tmp/multipartBody2617732410749528756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865333332,"filename":"image_10122025_04_24_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13579ea3afd70b41edc58df91a5380d4.jpg","text":"TemporaryFile(/tmp/multipartBody7671483997330508347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865333332,"filename":"image_10122025_04_25_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7420ea0b7da5ef7bd122fb8cd29633e.jpg","text":"TemporaryFile(/tmp/multipartBody7906269640474078900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865333332,"filename":"image_10122025_04_24_24_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401312022","file1":"1401312021","file0":"1401312018","file4":"1401312026","file5":"1401312027","file3":"1401312024"},"map_files_photo_id_array":[{"photo_id":"1401312027","filename":"file5"},{"photo_id":"1401312022","filename":"file2"},{"photo_id":"1401312026","filename":"file4"},{"photo_id":"1401312021","filename":"file1"},{"photo_id":"1401312018","filename":"file0"},{"photo_id":"1401312024","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401312022":["hashtag1","hashtag2"]},{"1401312027":["hashtag1","hashtag2"]},{"1401312021":["hashtag1","hashtag2"]},{"1401312024":["hashtag1","hashtag2"]},{"1401312018":["hashtag1","hashtag2"]},{"1401312026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401312022, 1401312027, 1401312021, 1401312024, 1401312018, 1401312026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49939465522766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:55:17.726321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_45_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_54_9603.jpg', '/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_45_10618.jpg', '/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_25_9606.jpg', '/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_15_10628.jpg', '/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_55_9604.jpg', '/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_54_9603.jpg
/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_45_10618.jpg
/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_25_9606.jpg
/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_15_10628.jpg
/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_55_9604.jpg
/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_45_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":["1401312031","1401312033","1401312042","1401312036","1401312039","1401312030"],"photo_ids_order":["1401312030","1401312031","1401312033","1401312036","1401312039","1401312042"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/726c3f6e1ca4c3513b9215e1738c502b.jpg","text":"TemporaryFile(/tmp/multipartBody7260567954455377015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865378533,"filename":"image_10122025_04_23_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e519ba3cd246139dccb801c2303e684.jpg","text":"TemporaryFile(/tmp/multipartBody2419942831942860717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865378533,"filename":"image_10122025_04_23_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2262e985645646ccaa12c8d7387ce4bd.jpg","text":"TemporaryFile(/tmp/multipartBody7219301325123841910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865378533,"filename":"image_10122025_04_22_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d674a579b2485ca2212a134a2316954f.jpg","text":"TemporaryFile(/tmp/multipartBody3605850579551085100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865378533,"filename":"image_10122025_04_23_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b41f5ef4396ba5b29b12646c94cde3b5.jpg","text":"TemporaryFile(/tmp/multipartBody7085053313129048141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865378533,"filename":"image_10122025_04_22_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cac2b4534e7a0aad2e4c74cee13e0e24.jpg","text":"TemporaryFile(/tmp/multipartBody7659348008982185980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865378533,"filename":"image_10122025_04_23_54_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401312033","file1":"1401312031","file0":"1401312030","file4":"1401312039","file5":"1401312042","file3":"1401312036"},"map_files_photo_id_array":[{"photo_id":"1401312042","filename":"file5"},{"photo_id":"1401312033","filename":"file2"},{"photo_id":"1401312039","filename":"file4"},{"photo_id":"1401312031","filename":"file1"},{"photo_id":"1401312030","filename":"file0"},{"photo_id":"1401312036","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401312031":["hashtag1","hashtag2"]},{"1401312033":["hashtag1","hashtag2"]},{"1401312042":["hashtag1","hashtag2"]},{"1401312036":["hashtag1","hashtag2"]},{"1401312039":["hashtag1","hashtag2"]},{"1401312030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401312031, 1401312033, 1401312042, 1401312036, 1401312039, 1401312030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79115271568298 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:56:03.236466
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_21_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_35_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_44_9608.jpg', '/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_35_10616.jpg', '/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_24_9607.jpg', '/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_15_9622.jpg', '/home/nano/Desktop/images/10122025/04/20/image_10122025_04_21_05_10618.jpg', '/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_44_9608.jpg
/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_35_10616.jpg
/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_24_9607.jpg
/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_15_9622.jpg
/home/nano/Desktop/images/10122025/04/20/image_10122025_04_21_05_10618.jpg
/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_35_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":["1401312052","1401312055","1401312054","1401312057","1401312056","1401312059"],"photo_ids_order":["1401312052","1401312054","1401312055","1401312056","1401312057","1401312059"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bccc003eecea1299701c4ee7d7978759.jpg","text":"TemporaryFile(/tmp/multipartBody9034296295617756918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865424125,"filename":"image_10122025_04_21_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/12/27/2991b6acbcf6f2bf11ecf14ee591685a.jpg","text":"TemporaryFile(/tmp/multipartBody3772151039320387573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865424125,"filename":"image_10122025_04_21_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/12/27/324dcdfc486c06e3121769728a40c032.jpg","text":"TemporaryFile(/tmp/multipartBody7483599621442275377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865424125,"filename":"image_10122025_04_21_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2acf0381d689398739f7bb72bbd5d38d.jpg","text":"TemporaryFile(/tmp/multipartBody8612060330084462761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865424125,"filename":"image_10122025_04_21_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2983ad7884015e7e9ae9f9a63c5a267.jpg","text":"TemporaryFile(/tmp/multipartBody6139272996374947321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865424125,"filename":"image_10122025_04_21_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b16d37110337c9a538d228bc2e2c844.jpg","text":"TemporaryFile(/tmp/multipartBody1613885746507943029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865424125,"filename":"image_10122025_04_20_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401312055","file1":"1401312054","file0":"1401312052","file4":"1401312057","file5":"1401312059","file3":"1401312056"},"map_files_photo_id_array":[{"photo_id":"1401312059","filename":"file5"},{"photo_id":"1401312055","filename":"file2"},{"photo_id":"1401312057","filename":"file4"},{"photo_id":"1401312054","filename":"file1"},{"photo_id":"1401312052","filename":"file0"},{"photo_id":"1401312056","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401312052":["hashtag1","hashtag2"]},{"1401312055":["hashtag1","hashtag2"]},{"1401312054":["hashtag1","hashtag2"]},{"1401312057":["hashtag1","hashtag2"]},{"1401312056":["hashtag1","hashtag2"]},{"1401312059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401312052, 1401312055, 1401312054, 1401312057, 1401312056, 1401312059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00004863739014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:56:47.735923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_20_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_24_9606.jpg', '/home/nano/Desktop/images/10122025/04/19/image_10122025_04_20_04_9629.jpg', '/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_45_10617.jpg', '/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_34_9606.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_55_10616.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_24_9606.jpg
/home/nano/Desktop/images/10122025/04/19/image_10122025_04_20_04_9629.jpg
/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_45_10617.jpg
/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_34_9606.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_55_10616.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_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":["1401312088","1401312082","1401312084","1401312091","1401312085","1401312079"],"photo_ids_order":["1401312079","1401312082","1401312084","1401312085","1401312088","1401312091"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ea47fb937018e3d07d6ea481dffb029c.jpg","text":"TemporaryFile(/tmp/multipartBody686474926073531111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865468552,"filename":"image_10122025_04_18_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7c23056188d48cff8d47f7bbda02df8.jpg","text":"TemporaryFile(/tmp/multipartBody1749161838982954118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865468552,"filename":"image_10122025_04_20_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/12/27/14f31b1d74c455390d6b52a2d53336ef.jpg","text":"TemporaryFile(/tmp/multipartBody4000673343228207556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865468552,"filename":"image_10122025_04_19_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86d3fba67af30470ca42d71940cc2c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2773567993182272654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865468552,"filename":"image_10122025_04_18_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/12/27/d86c263562c83b04a66c815e6f3a74e0.jpg","text":"TemporaryFile(/tmp/multipartBody8521229164108741875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865468552,"filename":"image_10122025_04_19_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/12/27/d6cf995a5f73568c8ad3676eb6887237.jpg","text":"TemporaryFile(/tmp/multipartBody8535218419542961432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865468552,"filename":"image_10122025_04_20_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401312084","file1":"1401312082","file0":"1401312079","file4":"1401312088","file5":"1401312091","file3":"1401312085"},"map_files_photo_id_array":[{"photo_id":"1401312091","filename":"file5"},{"photo_id":"1401312084","filename":"file2"},{"photo_id":"1401312088","filename":"file4"},{"photo_id":"1401312082","filename":"file1"},{"photo_id":"1401312079","filename":"file0"},{"photo_id":"1401312085","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401312088":["hashtag1","hashtag2"]},{"1401312082":["hashtag1","hashtag2"]},{"1401312084":["hashtag1","hashtag2"]},{"1401312091":["hashtag1","hashtag2"]},{"1401312085":["hashtag1","hashtag2"]},{"1401312079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401312088, 1401312082, 1401312084, 1401312091, 1401312085, 1401312079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92319679260254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:57:31.841074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6843283176422119 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:57:46.848639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:58:02.386448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', '/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', '/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg
/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg
/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401312250","1401312148","1401312183","1401312117","1401312283","1401312215"],"photo_ids_order":["1401312117","1401312148","1401312183","1401312215","1401312250","1401312283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/360e21a8ea5b167fb89f1ffc507b4cbc.jpg","text":"TemporaryFile(/tmp/multipartBody3998241728805084537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865543195,"filename":"image_10122025_04_17_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/12/27/2ff52619a23ae181ebb37eddf28afa7e.jpg","text":"TemporaryFile(/tmp/multipartBody3137366288241226643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865543195,"filename":"image_10122025_04_18_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/236e66cfa92baa204e31eaa0b3cfc54a.jpg","text":"TemporaryFile(/tmp/multipartBody7733015280788839368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865543195,"filename":"image_10122025_04_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/12/27/dee2f859b64854dd997765f874d849de.jpg","text":"TemporaryFile(/tmp/multipartBody8247281575892110196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865543195,"filename":"image_10122025_04_18_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ee772a49740e0bf37bf31ccd29e36e2.jpg","text":"TemporaryFile(/tmp/multipartBody6670751095576040077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865543195,"filename":"image_10122025_04_17_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07da2eb65d2d1509d8637e7f55249128.jpg","text":"TemporaryFile(/tmp/multipartBody5409267726246028585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865543195,"filename":"image_10122025_04_18_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401312183","file1":"1401312148","file0":"1401312117","file4":"1401312250","file5":"1401312283","file3":"1401312215"},"map_files_photo_id_array":[{"photo_id":"1401312283","filename":"file5"},{"photo_id":"1401312183","filename":"file2"},{"photo_id":"1401312250","filename":"file4"},{"photo_id":"1401312148","filename":"file1"},{"photo_id":"1401312117","filename":"file0"},{"photo_id":"1401312215","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401312250":["hashtag1","hashtag2"]},{"1401312148":["hashtag1","hashtag2"]},{"1401312183":["hashtag1","hashtag2"]},{"1401312117":["hashtag1","hashtag2"]},{"1401312283":["hashtag1","hashtag2"]},{"1401312215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401312250, 1401312148, 1401312183, 1401312117, 1401312283, 1401312215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60321259498596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:58:46.950780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_16_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_25_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_45_10622.jpg', '/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_25_9603.jpg', '/home/nano/Desktop/images/10122025/04/15/image_10122025_04_16_04_9613.jpg', '/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_55_10617.jpg', '/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', '/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_25_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_45_10622.jpg
/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_25_9603.jpg
/home/nano/Desktop/images/10122025/04/15/image_10122025_04_16_04_9613.jpg
/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_55_10617.jpg
/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg
/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_25_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":["1401312628","1401312594","1401312504","1401312563","1401312473","1401312533"],"photo_ids_order":["1401312473","1401312504","1401312533","1401312563","1401312594","1401312628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ab0bb74f815239e71c7f37fdf7b447a.jpg","text":"TemporaryFile(/tmp/multipartBody8006764295108903637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865587756,"filename":"image_10122025_04_15_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cad34862024a669f70e794d89ae010a1.jpg","text":"TemporaryFile(/tmp/multipartBody7796707290978562306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865587756,"filename":"image_10122025_04_15_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d48de7f623dce52ca6a5040a3092625.jpg","text":"TemporaryFile(/tmp/multipartBody5394231215325219316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865587756,"filename":"image_10122025_04_16_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f9f75fd5fc32ad81533b65673923c001.jpg","text":"TemporaryFile(/tmp/multipartBody3576491672769707373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865587756,"filename":"image_10122025_04_15_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d12bc2b93d846ea20bbc6acc50a6780c.jpg","text":"TemporaryFile(/tmp/multipartBody3479472810662229221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865587756,"filename":"image_10122025_04_16_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe1d92aea6f440c783b021f3dde80100.jpg","text":"TemporaryFile(/tmp/multipartBody1136405657808649305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865587756,"filename":"image_10122025_04_16_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401312533","file1":"1401312504","file0":"1401312473","file4":"1401312594","file5":"1401312628","file3":"1401312563"},"map_files_photo_id_array":[{"photo_id":"1401312628","filename":"file5"},{"photo_id":"1401312533","filename":"file2"},{"photo_id":"1401312594","filename":"file4"},{"photo_id":"1401312504","filename":"file1"},{"photo_id":"1401312473","filename":"file0"},{"photo_id":"1401312563","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401312628":["hashtag1","hashtag2"]},{"1401312594":["hashtag1","hashtag2"]},{"1401312504":["hashtag1","hashtag2"]},{"1401312563":["hashtag1","hashtag2"]},{"1401312473":["hashtag1","hashtag2"]},{"1401312533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401312628, 1401312594, 1401312504, 1401312563, 1401312473, 1401312533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18942213058472 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 20:59:32.063306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_15_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_14_9621.jpg', '/home/nano/Desktop/images/10122025/04/14/image_10122025_04_15_05_10637.jpg', '/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_54_9604.jpg', '/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_44_9608.jpg', '/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_35_10618.jpg', '/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_14_9621.jpg
/home/nano/Desktop/images/10122025/04/14/image_10122025_04_15_05_10637.jpg
/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_54_9604.jpg
/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_44_9608.jpg
/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_35_10618.jpg
/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_24_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":["1401313009","1401313146","1401312972","1401312909","1401313043","1401313084"],"photo_ids_order":["1401312909","1401312972","1401313009","1401313043","1401313084","1401313146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8f86e12fca0a7fc63078ad333f320c9.jpg","text":"TemporaryFile(/tmp/multipartBody4962068297750431029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865632866,"filename":"image_10122025_04_14_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/12/27/8f19985b1d644a6917132f3f7645d543.jpg","text":"TemporaryFile(/tmp/multipartBody6811286834609796636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865632866,"filename":"image_10122025_04_14_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/12/27/038bf29d814b4d9abfae8d5130dbf13f.jpg","text":"TemporaryFile(/tmp/multipartBody7001870558688215286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865632866,"filename":"image_10122025_04_15_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a7ac0f27191568fe965f42e80dd1710.jpg","text":"TemporaryFile(/tmp/multipartBody690735586752454087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865632866,"filename":"image_10122025_04_15_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf304a0d313f6a3ad0176eba31c01f50.jpg","text":"TemporaryFile(/tmp/multipartBody2188076131095636694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865632866,"filename":"image_10122025_04_14_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/12/27/2df0fa6c2be9436c5d0c1cecc034152e.jpg","text":"TemporaryFile(/tmp/multipartBody3997060842492048148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865632866,"filename":"image_10122025_04_14_35_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401313009","file1":"1401312972","file0":"1401312909","file4":"1401313084","file5":"1401313146","file3":"1401313043"},"map_files_photo_id_array":[{"photo_id":"1401313146","filename":"file5"},{"photo_id":"1401313009","filename":"file2"},{"photo_id":"1401313084","filename":"file4"},{"photo_id":"1401312972","filename":"file1"},{"photo_id":"1401312909","filename":"file0"},{"photo_id":"1401313043","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401313009":["hashtag1","hashtag2"]},{"1401313146":["hashtag1","hashtag2"]},{"1401312972":["hashtag1","hashtag2"]},{"1401312909":["hashtag1","hashtag2"]},{"1401313043":["hashtag1","hashtag2"]},{"1401313084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401313009, 1401313146, 1401312972, 1401312909, 1401313043, 1401313084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.722458600997925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:00:17.228283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_14_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_15_9604.jpg', '/home/nano/Desktop/images/10122025/04/13/image_10122025_04_14_05_10628.jpg', '/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_54_9605.jpg', '/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_45_10616.jpg', '/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_25_9623.jpg', '/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_15_9604.jpg
/home/nano/Desktop/images/10122025/04/13/image_10122025_04_14_05_10628.jpg
/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_54_9605.jpg
/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_45_10616.jpg
/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_25_9623.jpg
/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_55_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":["1401313356","1401313361","1401313364","1401313358","1401313433","1401313396"],"photo_ids_order":["1401313356","1401313358","1401313361","1401313364","1401313396","1401313433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a6e0eb448b813a1f93251f815d9a9f3.jpg","text":"TemporaryFile(/tmp/multipartBody3454014159812187433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865678038,"filename":"image_10122025_04_14_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88dc5235bc3acb1cc89ef2970a1debf3.jpg","text":"TemporaryFile(/tmp/multipartBody237355137617410886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865678038,"filename":"image_10122025_04_13_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/12/27/9386b209585eeaa8b5764b67497675c1.jpg","text":"TemporaryFile(/tmp/multipartBody4629994323063391709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865678038,"filename":"image_10122025_04_13_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/449d990146f4dc916b18d8df28625e23.jpg","text":"TemporaryFile(/tmp/multipartBody3781746557834385886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865678038,"filename":"image_10122025_04_14_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/246d0347995e63dcb055e2278d3147ee.jpg","text":"TemporaryFile(/tmp/multipartBody5921798042622867733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865678038,"filename":"image_10122025_04_12_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73d373370fd16db3eb2b441068233fde.jpg","text":"TemporaryFile(/tmp/multipartBody3706427108276040089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865678038,"filename":"image_10122025_04_13_25_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401313361","file1":"1401313358","file0":"1401313356","file4":"1401313396","file5":"1401313433","file3":"1401313364"},"map_files_photo_id_array":[{"photo_id":"1401313433","filename":"file5"},{"photo_id":"1401313361","filename":"file2"},{"photo_id":"1401313396","filename":"file4"},{"photo_id":"1401313358","filename":"file1"},{"photo_id":"1401313356","filename":"file0"},{"photo_id":"1401313364","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401313356":["hashtag1","hashtag2"]},{"1401313361":["hashtag1","hashtag2"]},{"1401313364":["hashtag1","hashtag2"]},{"1401313358":["hashtag1","hashtag2"]},{"1401313433":["hashtag1","hashtag2"]},{"1401313396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401313356, 1401313361, 1401313364, 1401313358, 1401313433, 1401313396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00980615615845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:01:03.229709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_44_9605.jpg', '/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_35_9606.jpg', '/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_14_9618.jpg', '/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_55_10613.jpg', '/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_35_10616.jpg', '/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_44_9605.jpg
/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_35_9606.jpg
/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_14_9618.jpg
/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_55_10613.jpg
/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_35_10616.jpg
/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_24_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":["1401313639","1401313674","1401313596","1401313777","1401313744","1401313708"],"photo_ids_order":["1401313596","1401313639","1401313674","1401313708","1401313744","1401313777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dc7fbb1af4018de5f0e957fe99fcbba.jpg","text":"TemporaryFile(/tmp/multipartBody6559254231378005104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865724081,"filename":"image_10122025_04_12_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19b888858e96a8bb257b6eecabd84a47.jpg","text":"TemporaryFile(/tmp/multipartBody2568926592524736271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865724081,"filename":"image_10122025_04_12_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/12/27/70d4a1b43b79abc4c4cd9453e6eb51bc.jpg","text":"TemporaryFile(/tmp/multipartBody8852172118839242104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865724081,"filename":"image_10122025_04_12_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/12/27/cd506f8caf611fec1c7557b0c00adc84.jpg","text":"TemporaryFile(/tmp/multipartBody2397090879842455079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865724081,"filename":"image_10122025_04_11_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/12/27/5809febdd089069b2eb8c08759a74809.jpg","text":"TemporaryFile(/tmp/multipartBody4029500655341659660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865724081,"filename":"image_10122025_04_11_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7564a2f87b5dbc8717b937e659d245f3.jpg","text":"TemporaryFile(/tmp/multipartBody8250575618743450099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865724081,"filename":"image_10122025_04_11_55_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401313674","file1":"1401313639","file0":"1401313596","file4":"1401313744","file5":"1401313777","file3":"1401313708"},"map_files_photo_id_array":[{"photo_id":"1401313777","filename":"file5"},{"photo_id":"1401313674","filename":"file2"},{"photo_id":"1401313744","filename":"file4"},{"photo_id":"1401313639","filename":"file1"},{"photo_id":"1401313596","filename":"file0"},{"photo_id":"1401313708","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401313639":["hashtag1","hashtag2"]},{"1401313674":["hashtag1","hashtag2"]},{"1401313596":["hashtag1","hashtag2"]},{"1401313777":["hashtag1","hashtag2"]},{"1401313744":["hashtag1","hashtag2"]},{"1401313708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401313639, 1401313674, 1401313596, 1401313777, 1401313744, 1401313708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.899428367614746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:01:47.343882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_11_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_15_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_15_9623.jpg', '/home/nano/Desktop/images/10122025/04/10/image_10122025_04_11_05_10630.jpg', '/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_54_9623.jpg', '/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_45_10619.jpg', '/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_34_9607.jpg', '/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_15_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_15_9623.jpg
/home/nano/Desktop/images/10122025/04/10/image_10122025_04_11_05_10630.jpg
/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_54_9623.jpg
/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_45_10619.jpg
/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_34_9607.jpg
/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_15_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":["1401314133","1401313974","1401314100","1401314036","1401314003","1401314068"],"photo_ids_order":["1401313974","1401314003","1401314036","1401314068","1401314100","1401314133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be79e8757b1ca1d1c9bc5a735bc1d6cb.jpg","text":"TemporaryFile(/tmp/multipartBody9196137895379413176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865768144,"filename":"image_10122025_04_10_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1455049088027bc55e0e63acaec72769.jpg","text":"TemporaryFile(/tmp/multipartBody3460136029123199750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865768144,"filename":"image_10122025_04_11_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4cc42a892003dd838c9e330cd205a43e.jpg","text":"TemporaryFile(/tmp/multipartBody7774756377959101510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865768144,"filename":"image_10122025_04_10_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/12/27/f4f6a3bd6f597e84d4622047e2048b12.jpg","text":"TemporaryFile(/tmp/multipartBody6199157732699722839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865768144,"filename":"image_10122025_04_10_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/12/27/051714c24c0c2f710e02453fbe138a19.jpg","text":"TemporaryFile(/tmp/multipartBody5178249789864932876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865768144,"filename":"image_10122025_04_11_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40ff17663152852fba2eff3f744adc5b.jpg","text":"TemporaryFile(/tmp/multipartBody336616313591099776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865768144,"filename":"image_10122025_04_10_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401314036","file1":"1401314003","file0":"1401313974","file4":"1401314100","file5":"1401314133","file3":"1401314068"},"map_files_photo_id_array":[{"photo_id":"1401314133","filename":"file5"},{"photo_id":"1401314036","filename":"file2"},{"photo_id":"1401314100","filename":"file4"},{"photo_id":"1401314003","filename":"file1"},{"photo_id":"1401313974","filename":"file0"},{"photo_id":"1401314068","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401314133":["hashtag1","hashtag2"]},{"1401313974":["hashtag1","hashtag2"]},{"1401314100":["hashtag1","hashtag2"]},{"1401314036":["hashtag1","hashtag2"]},{"1401314003":["hashtag1","hashtag2"]},{"1401314068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401314133, 1401313974, 1401314100, 1401314036, 1401314003, 1401314068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10906648635864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:02:32.448946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_10_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_44_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/09/image_10122025_04_10_04_9622.jpg', '/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_34_9605.jpg', '/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_25_10614.jpg', '/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_14_9619.jpg', '/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_55_10617.jpg', '/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/09/image_10122025_04_10_04_9622.jpg
/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_34_9605.jpg
/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_25_10614.jpg
/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_14_9619.jpg
/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_55_10617.jpg
/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_44_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":["1401314900","1401314899","1401314761","1401314620","1401314898","1401314865"],"photo_ids_order":["1401314620","1401314761","1401314865","1401314898","1401314899","1401314900"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/821d2e1613b7473d48d947ea1747d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2047114521445525446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865813243,"filename":"image_10122025_04_08_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/12/27/a1537d2922edc25100de9257e34c8ed8.jpg","text":"TemporaryFile(/tmp/multipartBody9154566190241679172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865813243,"filename":"image_10122025_04_08_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/360887cf3416e9a726831bc5d47c79dd.jpg","text":"TemporaryFile(/tmp/multipartBody7404268499884784291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865813243,"filename":"image_10122025_04_09_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/12/27/f9899e7b61f614feaf38fc64da970269.jpg","text":"TemporaryFile(/tmp/multipartBody8611324508198513791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865813243,"filename":"image_10122025_04_10_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/12/27/50fe83c06f9c4885c4003b95edd6b13b.jpg","text":"TemporaryFile(/tmp/multipartBody2854823160239716401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865813243,"filename":"image_10122025_04_09_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/12/27/03dbc92721565704bf9e5427d6ef3df9.jpg","text":"TemporaryFile(/tmp/multipartBody6675069383304226217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865813243,"filename":"image_10122025_04_09_25_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401314865","file1":"1401314761","file0":"1401314620","file4":"1401314899","file5":"1401314900","file3":"1401314898"},"map_files_photo_id_array":[{"photo_id":"1401314900","filename":"file5"},{"photo_id":"1401314865","filename":"file2"},{"photo_id":"1401314899","filename":"file4"},{"photo_id":"1401314761","filename":"file1"},{"photo_id":"1401314620","filename":"file0"},{"photo_id":"1401314898","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401314900":["hashtag1","hashtag2"]},{"1401314899":["hashtag1","hashtag2"]},{"1401314761":["hashtag1","hashtag2"]},{"1401314620":["hashtag1","hashtag2"]},{"1401314898":["hashtag1","hashtag2"]},{"1401314865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401314900, 1401314899, 1401314761, 1401314620, 1401314898, 1401314865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.459630489349365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:03:17.539757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_08_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_35_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_24_9605.jpg', '/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_15_9613.jpg', '/home/nano/Desktop/images/10122025/04/07/image_10122025_04_08_05_10624.jpg', '/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_54_9606.jpg', '/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_45_9604.jpg', '/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_24_9605.jpg
/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_15_9613.jpg
/home/nano/Desktop/images/10122025/04/07/image_10122025_04_08_05_10624.jpg
/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_54_9606.jpg
/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_45_9604.jpg
/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_35_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":["1401315335","1401315547","1401315412","1401315208","1401315480","1401315252"],"photo_ids_order":["1401315208","1401315252","1401315335","1401315412","1401315480","1401315547"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3966d79557b8ada28a01bdd05e30e4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1122497214267005025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865858337,"filename":"image_10122025_04_08_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dab68f521286d69482a96cd245893111.jpg","text":"TemporaryFile(/tmp/multipartBody1901314949502867623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865858337,"filename":"image_10122025_04_07_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30e180861f23b505120b2251e72e3b04.jpg","text":"TemporaryFile(/tmp/multipartBody2730617307105354324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865858337,"filename":"image_10122025_04_07_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/12/27/647b05f8a2d39791dc2e192e6092099c.jpg","text":"TemporaryFile(/tmp/multipartBody1336873960598595064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865858337,"filename":"image_10122025_04_08_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/12/27/50261d66583804643b501c846b6ffab0.jpg","text":"TemporaryFile(/tmp/multipartBody4070570961975626272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865858337,"filename":"image_10122025_04_07_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46eaacc96e932df8e45029853d141062.jpg","text":"TemporaryFile(/tmp/multipartBody787089050191133037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865858337,"filename":"image_10122025_04_08_15_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401315335","file1":"1401315252","file0":"1401315208","file4":"1401315480","file5":"1401315547","file3":"1401315412"},"map_files_photo_id_array":[{"photo_id":"1401315547","filename":"file5"},{"photo_id":"1401315335","filename":"file2"},{"photo_id":"1401315480","filename":"file4"},{"photo_id":"1401315252","filename":"file1"},{"photo_id":"1401315208","filename":"file0"},{"photo_id":"1401315412","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401315335":["hashtag1","hashtag2"]},{"1401315547":["hashtag1","hashtag2"]},{"1401315412":["hashtag1","hashtag2"]},{"1401315208":["hashtag1","hashtag2"]},{"1401315480":["hashtag1","hashtag2"]},{"1401315252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401315335, 1401315547, 1401315412, 1401315208, 1401315480, 1401315252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56773567199707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:04:03.397779
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_07_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_55_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_25_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_15_10628.jpg', '/home/nano/Desktop/images/10122025/04/06/image_10122025_04_07_04_9616.jpg', '/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_55_9622.jpg', '/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_45_10619.jpg', '/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_34_9607.jpg', '/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_15_10628.jpg
/home/nano/Desktop/images/10122025/04/06/image_10122025_04_07_04_9616.jpg
/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_55_9622.jpg
/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_45_10619.jpg
/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_34_9607.jpg
/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_25_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":["1401315971","1401316043","1401315877","1401316196","1401316113","1401316184"],"photo_ids_order":["1401315877","1401315971","1401316043","1401316113","1401316184","1401316196"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a4709bd0a3cadc37e13c084d1349a44.jpg","text":"TemporaryFile(/tmp/multipartBody8041192787273963664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865904305,"filename":"image_10122025_04_07_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/12/27/65f72e8a092ace86ebbde73d77a85187.jpg","text":"TemporaryFile(/tmp/multipartBody4840486386009344437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865904305,"filename":"image_10122025_04_06_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/464e8169ae5db51f7d2b0a5ea704c886.jpg","text":"TemporaryFile(/tmp/multipartBody3384832161640834762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865904305,"filename":"image_10122025_04_07_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0abdaab5e05bb185f2ec52303d8a1c7.jpg","text":"TemporaryFile(/tmp/multipartBody5390701680292077137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865904305,"filename":"image_10122025_04_06_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/537285e2316af856a2cae9cb74b3ac2e.jpg","text":"TemporaryFile(/tmp/multipartBody2238238513355634845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865904305,"filename":"image_10122025_04_06_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/33343db48abd6d5f663a427877338544.jpg","text":"TemporaryFile(/tmp/multipartBody4740882064376044429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865904305,"filename":"image_10122025_04_06_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316043","file1":"1401315971","file0":"1401315877","file4":"1401316184","file5":"1401316196","file3":"1401316113"},"map_files_photo_id_array":[{"photo_id":"1401316196","filename":"file5"},{"photo_id":"1401316043","filename":"file2"},{"photo_id":"1401316184","filename":"file4"},{"photo_id":"1401315971","filename":"file1"},{"photo_id":"1401315877","filename":"file0"},{"photo_id":"1401316113","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401315971":["hashtag1","hashtag2"]},{"1401316043":["hashtag1","hashtag2"]},{"1401315877":["hashtag1","hashtag2"]},{"1401316196":["hashtag1","hashtag2"]},{"1401316113":["hashtag1","hashtag2"]},{"1401316184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401315971, 1401316043, 1401315877, 1401316196, 1401316113, 1401316184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36699080467224 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:04:47.713911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_45_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_14_9620.jpg', '/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_55_10617.jpg', '/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_44_9607.jpg', '/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_35_9607.jpg', '/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_14_9613.jpg', '/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_45_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_14_9620.jpg
/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_55_10617.jpg
/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_44_9607.jpg
/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_35_9607.jpg
/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_14_9613.jpg
/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_45_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":["1401316265","1401316390","1401316297","1401316330","1401316362","1401316257"],"photo_ids_order":["1401316257","1401316265","1401316297","1401316330","1401316362","1401316390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c11b91956269c2cbe65bad2d497caf9.jpg","text":"TemporaryFile(/tmp/multipartBody9159613873020253091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865948527,"filename":"image_10122025_04_05_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b775e7f4994ddca2a5fff5092b6402e5.jpg","text":"TemporaryFile(/tmp/multipartBody9204988481619064252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865948527,"filename":"image_10122025_04_04_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38828730d634af5e27c066d722f23dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4746810144574477767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865948527,"filename":"image_10122025_04_05_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/12/27/4526112a25f1c474536e7ce9639627ed.jpg","text":"TemporaryFile(/tmp/multipartBody143184817550443008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865948527,"filename":"image_10122025_04_05_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/951b9a938c8c8c47f25fe73cfc437156.jpg","text":"TemporaryFile(/tmp/multipartBody6663538139050216165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865948527,"filename":"image_10122025_04_05_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/12/27/74c07ee4996a842c5ff312b50fd1ede9.jpg","text":"TemporaryFile(/tmp/multipartBody8347137361491488709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865948527,"filename":"image_10122025_04_06_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316297","file1":"1401316265","file0":"1401316257","file4":"1401316362","file5":"1401316390","file3":"1401316330"},"map_files_photo_id_array":[{"photo_id":"1401316390","filename":"file5"},{"photo_id":"1401316297","filename":"file2"},{"photo_id":"1401316362","filename":"file4"},{"photo_id":"1401316265","filename":"file1"},{"photo_id":"1401316257","filename":"file0"},{"photo_id":"1401316330","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401316265":["hashtag1","hashtag2"]},{"1401316390":["hashtag1","hashtag2"]},{"1401316297":["hashtag1","hashtag2"]},{"1401316330":["hashtag1","hashtag2"]},{"1401316362":["hashtag1","hashtag2"]},{"1401316257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401316265, 1401316390, 1401316297, 1401316330, 1401316362, 1401316257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.331658124923706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:05:31.839366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_04_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_45_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_35_10619.jpg', '/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_24_9611.jpg', '/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_15_10634.jpg', '/home/nano/Desktop/images/10122025/04/03/image_10122025_04_04_04_9620.jpg', '/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_55_9609.jpg', '/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_35_10619.jpg
/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_24_9611.jpg
/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_15_10634.jpg
/home/nano/Desktop/images/10122025/04/03/image_10122025_04_04_04_9620.jpg
/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_55_9609.jpg
/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_45_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":["1401316526","1401316529","1401316520","1401316530","1401316500","1401316481"],"photo_ids_order":["1401316481","1401316500","1401316520","1401316526","1401316529","1401316530"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd2efe93c288f676de278b4a12d7feba.jpg","text":"TemporaryFile(/tmp/multipartBody1192262561147995091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865992633,"filename":"image_10122025_04_04_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/12/27/966aebac471129c693bb6ffe5348185d.jpg","text":"TemporaryFile(/tmp/multipartBody5092587415377297170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865992633,"filename":"image_10122025_04_03_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7da2af4d7a2cdcab749f428ce5e4a78.jpg","text":"TemporaryFile(/tmp/multipartBody3784659423647843540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865992633,"filename":"image_10122025_04_04_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01a9205bb0ae2b08bcb2f35dbd760aba.jpg","text":"TemporaryFile(/tmp/multipartBody94166165070586814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865992633,"filename":"image_10122025_04_03_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fa53c056f19e148121fa08ec760ed86.jpg","text":"TemporaryFile(/tmp/multipartBody3561545757084329546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865992633,"filename":"image_10122025_04_04_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/12/27/c0888a04dd94d68b08f20b72557dd734.jpg","text":"TemporaryFile(/tmp/multipartBody7957743909237851070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766865992633,"filename":"image_10122025_04_04_35_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316520","file1":"1401316500","file0":"1401316481","file4":"1401316529","file5":"1401316530","file3":"1401316526"},"map_files_photo_id_array":[{"photo_id":"1401316530","filename":"file5"},{"photo_id":"1401316520","filename":"file2"},{"photo_id":"1401316529","filename":"file4"},{"photo_id":"1401316500","filename":"file1"},{"photo_id":"1401316481","filename":"file0"},{"photo_id":"1401316526","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401316526":["hashtag1","hashtag2"]},{"1401316529":["hashtag1","hashtag2"]},{"1401316520":["hashtag1","hashtag2"]},{"1401316530":["hashtag1","hashtag2"]},{"1401316500":["hashtag1","hashtag2"]},{"1401316481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401316526, 1401316529, 1401316520, 1401316530, 1401316500, 1401316481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.939210653305054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:06:16.901668
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_03_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_25_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_25_9608.jpg', '/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_15_10630.jpg', '/home/nano/Desktop/images/10122025/04/02/image_10122025_04_03_04_9629.jpg', '/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_44_9623.jpg', '/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_35_9627.jpg', '/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_25_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_25_9608.jpg
/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_15_10630.jpg
/home/nano/Desktop/images/10122025/04/02/image_10122025_04_03_04_9629.jpg
/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_44_9623.jpg
/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_35_9627.jpg
/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_25_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":["1401316541","1401316538","1401316534","1401316543","1401316545","1401316536"],"photo_ids_order":["1401316534","1401316536","1401316538","1401316541","1401316543","1401316545"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12daf639ad5177e167d23d36ac18c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody4317915570459469526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866037701,"filename":"image_10122025_04_02_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/12/27/3680f7443f783269ffaae2c659892b46.jpg","text":"TemporaryFile(/tmp/multipartBody613411873295612731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866037701,"filename":"image_10122025_04_03_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/12/27/9a6b66af761c141a37a6d353941174da.jpg","text":"TemporaryFile(/tmp/multipartBody2742921842608228661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866037701,"filename":"image_10122025_04_03_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44dcf78eaebbddff7df5264f442f054a.jpg","text":"TemporaryFile(/tmp/multipartBody8849297482420766842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866037701,"filename":"image_10122025_04_02_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e10badce54ed4d22f7740cd549b67556.jpg","text":"TemporaryFile(/tmp/multipartBody5894755327032481280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866037701,"filename":"image_10122025_04_02_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7a643edd2c50c9adcb39f55bcb5fa60d.jpg","text":"TemporaryFile(/tmp/multipartBody7967975012020956108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866037701,"filename":"image_10122025_04_03_15_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316538","file1":"1401316536","file0":"1401316534","file4":"1401316543","file5":"1401316545","file3":"1401316541"},"map_files_photo_id_array":[{"photo_id":"1401316545","filename":"file5"},{"photo_id":"1401316538","filename":"file2"},{"photo_id":"1401316543","filename":"file4"},{"photo_id":"1401316536","filename":"file1"},{"photo_id":"1401316534","filename":"file0"},{"photo_id":"1401316541","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401316541":["hashtag1","hashtag2"]},{"1401316538":["hashtag1","hashtag2"]},{"1401316534":["hashtag1","hashtag2"]},{"1401316543":["hashtag1","hashtag2"]},{"1401316545":["hashtag1","hashtag2"]},{"1401316536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401316541, 1401316538, 1401316534, 1401316543, 1401316545, 1401316536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75919151306152 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:07:02.766592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_02_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_15_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_14_9621.jpg', '/home/nano/Desktop/images/10122025/04/01/image_10122025_04_02_05_9638.jpg', '/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_44_9611.jpg', '/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_35_10615.jpg', '/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_24_9621.jpg', '/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_15_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_14_9621.jpg
/home/nano/Desktop/images/10122025/04/01/image_10122025_04_02_05_9638.jpg
/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_44_9611.jpg
/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_35_10615.jpg
/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_24_9621.jpg
/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_15_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":["1401316565","1401316559","1401316567","1401316561","1401316555","1401316563"],"photo_ids_order":["1401316555","1401316559","1401316561","1401316563","1401316565","1401316567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cb418a16d0d143c84ca22afd9ea00a2.jpg","text":"TemporaryFile(/tmp/multipartBody1324438976232290799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866083705,"filename":"image_10122025_04_01_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/12/27/f35b8e7fc6c5c1f87063352f18e7651b.jpg","text":"TemporaryFile(/tmp/multipartBody8903861085504514357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866083705,"filename":"image_10122025_04_02_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c2bb0f709e81a0c2fafb60f83c62a966.jpg","text":"TemporaryFile(/tmp/multipartBody642838528131665493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866083705,"filename":"image_10122025_04_01_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c73fe48beb73f0b872ebeaa2d59160b9.jpg","text":"TemporaryFile(/tmp/multipartBody5016052598912923568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866083705,"filename":"image_10122025_04_01_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/12/27/401ab278a64ca388134ced62be17af83.jpg","text":"TemporaryFile(/tmp/multipartBody4543634953595478338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866083705,"filename":"image_10122025_04_02_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fac03934f653ce03c178aa70cad69f2f.jpg","text":"TemporaryFile(/tmp/multipartBody200749877580598704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866083705,"filename":"image_10122025_04_01_35_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316561","file1":"1401316559","file0":"1401316555","file4":"1401316565","file5":"1401316567","file3":"1401316563"},"map_files_photo_id_array":[{"photo_id":"1401316567","filename":"file5"},{"photo_id":"1401316561","filename":"file2"},{"photo_id":"1401316565","filename":"file4"},{"photo_id":"1401316559","filename":"file1"},{"photo_id":"1401316555","filename":"file0"},{"photo_id":"1401316563","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401316565":["hashtag1","hashtag2"]},{"1401316559":["hashtag1","hashtag2"]},{"1401316567":["hashtag1","hashtag2"]},{"1401316561":["hashtag1","hashtag2"]},{"1401316555":["hashtag1","hashtag2"]},{"1401316563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401316565, 1401316559, 1401316567, 1401316561, 1401316555, 1401316563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.649150133132935 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:07:47.017792
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/04/00/image_10122025_04_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_59_05_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/04/00/image_10122025_04_00_45_9608.jpg', '/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_55_9605.jpg', '/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', '/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_25_10632.jpg', '/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_14_9609.jpg', '/home/nano/Desktop/images/10122025/03/58/image_10122025_03_59_05_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/04/00/image_10122025_04_00_45_9608.jpg
/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_55_9605.jpg
/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg
/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_25_10632.jpg
/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_14_9609.jpg
/home/nano/Desktop/images/10122025/03/58/image_10122025_03_59_05_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":["1401316577","1401316573","1401316576","1401316575","1401316580","1401316574"],"photo_ids_order":["1401316573","1401316574","1401316575","1401316576","1401316577","1401316580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7f411da350b43273515778fdf3805450.jpg","text":"TemporaryFile(/tmp/multipartBody48368614840086271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866127834,"filename":"image_10122025_03_59_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/12/27/cc9ae05ee1882063d245ab6be9a5fb76.jpg","text":"TemporaryFile(/tmp/multipartBody6796774943572678764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866127834,"filename":"image_10122025_04_00_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87d5aa617ee76c530cbc8078db608ba2.jpg","text":"TemporaryFile(/tmp/multipartBody591308638763293948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866127834,"filename":"image_10122025_03_59_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/667fa904a84097f49757c6ac0a3237bb.jpg","text":"TemporaryFile(/tmp/multipartBody5413305728378644777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866127834,"filename":"image_10122025_03_59_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6cd5172e3bfd493c764f94b69ce16a8.jpg","text":"TemporaryFile(/tmp/multipartBody1108555458484665569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866127834,"filename":"image_10122025_03_59_05_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b547b5532412308af0a148c1143cbd3c.jpg","text":"TemporaryFile(/tmp/multipartBody900489509338905574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866127834,"filename":"image_10122025_03_59_55_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316575","file1":"1401316574","file0":"1401316573","file4":"1401316577","file5":"1401316580","file3":"1401316576"},"map_files_photo_id_array":[{"photo_id":"1401316580","filename":"file5"},{"photo_id":"1401316575","filename":"file2"},{"photo_id":"1401316577","filename":"file4"},{"photo_id":"1401316574","filename":"file1"},{"photo_id":"1401316573","filename":"file0"},{"photo_id":"1401316576","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401316577":["hashtag1","hashtag2"]},{"1401316573":["hashtag1","hashtag2"]},{"1401316576":["hashtag1","hashtag2"]},{"1401316575":["hashtag1","hashtag2"]},{"1401316580":["hashtag1","hashtag2"]},{"1401316574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401316577, 1401316573, 1401316576, 1401316575, 1401316580, 1401316574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.77440357208252 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:08:32.115370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_58_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_45_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_55_10612.jpg', '/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_24_9603.jpg', '/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_14_9622.jpg', '/home/nano/Desktop/images/10122025/03/57/image_10122025_03_58_05_10625.jpg', '/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_54_9607.jpg', '/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_45_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_55_10612.jpg
/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_24_9603.jpg
/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_14_9622.jpg
/home/nano/Desktop/images/10122025/03/57/image_10122025_03_58_05_10625.jpg
/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_54_9607.jpg
/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_45_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":["1401316646","1401316648","1401316627","1401316644","1401316595","1401316589"],"photo_ids_order":["1401316589","1401316595","1401316627","1401316644","1401316646","1401316648"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ccd30f2da040408931f3de24c74870e.jpg","text":"TemporaryFile(/tmp/multipartBody405555041776931855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866172917,"filename":"image_10122025_03_57_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/12/27/24bbdb9ac104a91639c2cf29cd4334b8.jpg","text":"TemporaryFile(/tmp/multipartBody7401019315781497647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866172917,"filename":"image_10122025_03_57_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a68cdcb09d959a933fccce77e6163a77.jpg","text":"TemporaryFile(/tmp/multipartBody2562869162529134286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866172917,"filename":"image_10122025_03_58_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/12/27/92c7d30a78b099dc14d488c1f428bfeb.jpg","text":"TemporaryFile(/tmp/multipartBody2515322520675510741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866172917,"filename":"image_10122025_03_58_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d81fe85eed2776d28424ddaa30c3ef8.jpg","text":"TemporaryFile(/tmp/multipartBody7599419145136829554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866172917,"filename":"image_10122025_03_58_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/12/27/c06a0b1c1c395d5bcac53f62692f0f19.jpg","text":"TemporaryFile(/tmp/multipartBody7759995991362623321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866172917,"filename":"image_10122025_03_58_55_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316627","file1":"1401316595","file0":"1401316589","file4":"1401316646","file5":"1401316648","file3":"1401316644"},"map_files_photo_id_array":[{"photo_id":"1401316648","filename":"file5"},{"photo_id":"1401316627","filename":"file2"},{"photo_id":"1401316646","filename":"file4"},{"photo_id":"1401316595","filename":"file1"},{"photo_id":"1401316589","filename":"file0"},{"photo_id":"1401316644","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401316646":["hashtag1","hashtag2"]},{"1401316648":["hashtag1","hashtag2"]},{"1401316627":["hashtag1","hashtag2"]},{"1401316644":["hashtag1","hashtag2"]},{"1401316595":["hashtag1","hashtag2"]},{"1401316589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401316646, 1401316648, 1401316627, 1401316644, 1401316595, 1401316589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61450457572937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:09:17.210248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_57_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_25_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_35_10620.jpg', '/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_24_9607.jpg', '/home/nano/Desktop/images/10122025/03/56/image_10122025_03_57_04_9620.jpg', '/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_45_10616.jpg', '/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_34_9608.jpg', '/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_25_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_35_10620.jpg
/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_24_9607.jpg
/home/nano/Desktop/images/10122025/03/56/image_10122025_03_57_04_9620.jpg
/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_45_10616.jpg
/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_34_9608.jpg
/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_25_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":["1401316655","1401316658","1401316774","1401316651","1401316689","1401316652"],"photo_ids_order":["1401316651","1401316652","1401316655","1401316658","1401316689","1401316774"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b9d0f64c6d4d75c480d3abc2b31df67.jpg","text":"TemporaryFile(/tmp/multipartBody7850431893321116944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866218080,"filename":"image_10122025_03_57_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/12/27/6d8784fea481235b1035d4824e0446f0.jpg","text":"TemporaryFile(/tmp/multipartBody6500671095938657640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866218080,"filename":"image_10122025_03_56_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87ab0a279b419b7c3165e0b8f8dc462c.jpg","text":"TemporaryFile(/tmp/multipartBody6922125905280563802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866218080,"filename":"image_10122025_03_56_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a21ebc927392ed8cc51460affaec8172.jpg","text":"TemporaryFile(/tmp/multipartBody4016019002338975672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866218080,"filename":"image_10122025_03_57_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2577976f5eb51b246f347fac92bf3583.jpg","text":"TemporaryFile(/tmp/multipartBody8311025931734868521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866218080,"filename":"image_10122025_03_56_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/12/27/5c74cc89565468d91385c7150552a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody6019215465230519710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866218080,"filename":"image_10122025_03_57_24_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401316655","file1":"1401316652","file0":"1401316651","file4":"1401316689","file5":"1401316774","file3":"1401316658"},"map_files_photo_id_array":[{"photo_id":"1401316774","filename":"file5"},{"photo_id":"1401316655","filename":"file2"},{"photo_id":"1401316689","filename":"file4"},{"photo_id":"1401316652","filename":"file1"},{"photo_id":"1401316651","filename":"file0"},{"photo_id":"1401316658","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401316655":["hashtag1","hashtag2"]},{"1401316658":["hashtag1","hashtag2"]},{"1401316774":["hashtag1","hashtag2"]},{"1401316651":["hashtag1","hashtag2"]},{"1401316689":["hashtag1","hashtag2"]},{"1401316652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401316655, 1401316658, 1401316774, 1401316651, 1401316689, 1401316652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33874487876892 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:10:02.850803
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg', '/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg', '/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg', '/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', '/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', '/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg
/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg
/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg
/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg
/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg
/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7302465438842773 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:10:17.411596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg', '/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg', '/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg', '/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', '/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', '/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg
/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg
/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg
/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg
/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg
/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_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":["1401317722","1401317725","1401317719","1401317728","1401317716","1401317714"],"photo_ids_order":["1401317714","1401317716","1401317719","1401317722","1401317725","1401317728"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3af5e8ad37068ff8e77b8de7f7157a70.jpg","text":"TemporaryFile(/tmp/multipartBody8989588518451912225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866278222,"filename":"image_10122025_03_54_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c61b59476f472a53e5f26134ec455251.jpg","text":"TemporaryFile(/tmp/multipartBody6156811635763891407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866278222,"filename":"image_10122025_03_54_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/918006a2958eab3ba1a92d52f1495a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3854632982998306611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866278222,"filename":"image_10122025_03_55_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d9a172dc0980d49624a06c1ba783bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody6882065561202868659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866278222,"filename":"image_10122025_03_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/12/27/e968778139c94054289d789e6ebf6b40.jpg","text":"TemporaryFile(/tmp/multipartBody3127320201175091980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866278222,"filename":"image_10122025_03_56_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/12/27/ff16c604c4a85760ce6db1b33d5df8b1.jpg","text":"TemporaryFile(/tmp/multipartBody3637256248862309273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866278222,"filename":"image_10122025_03_56_14_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401317719","file1":"1401317716","file0":"1401317714","file4":"1401317725","file5":"1401317728","file3":"1401317722"},"map_files_photo_id_array":[{"photo_id":"1401317728","filename":"file5"},{"photo_id":"1401317719","filename":"file2"},{"photo_id":"1401317725","filename":"file4"},{"photo_id":"1401317716","filename":"file1"},{"photo_id":"1401317714","filename":"file0"},{"photo_id":"1401317722","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401317722":["hashtag1","hashtag2"]},{"1401317725":["hashtag1","hashtag2"]},{"1401317719":["hashtag1","hashtag2"]},{"1401317728":["hashtag1","hashtag2"]},{"1401317716":["hashtag1","hashtag2"]},{"1401317714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401317722, 1401317725, 1401317719, 1401317728, 1401317716, 1401317714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5910222530365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:11:03.168027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_15_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_54_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_25_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_15_9630.jpg', '/home/nano/Desktop/images/10122025/03/53/image_10122025_03_54_05_10641.jpg', '/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_54_9608.jpg', '/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_45_10621.jpg', '/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_34_9611.jpg', '/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_15_9630.jpg
/home/nano/Desktop/images/10122025/03/53/image_10122025_03_54_05_10641.jpg
/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_54_9608.jpg
/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_45_10621.jpg
/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_34_9611.jpg
/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_25_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":["1401317938","1401317895","1401317964","1401317937","1401317966","1401317896"],"photo_ids_order":["1401317895","1401317896","1401317937","1401317938","1401317964","1401317966"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dfe6e9854a91f73b6200ae5ed17f7f46.jpg","text":"TemporaryFile(/tmp/multipartBody783871713984646194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866324020,"filename":"image_10122025_03_53_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b0288e93a01ffd680aae1ac98362f7b3.jpg","text":"TemporaryFile(/tmp/multipartBody1089654980754256135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866324020,"filename":"image_10122025_03_54_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/530d458352e2a1e8f24c538700e2bbb4.jpg","text":"TemporaryFile(/tmp/multipartBody515770261176654137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866324020,"filename":"image_10122025_03_53_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/12/27/bed46c282a786b06f74b4a77e8740f6f.jpg","text":"TemporaryFile(/tmp/multipartBody3287464037608330863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866324020,"filename":"image_10122025_03_53_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/12/27/21bde80646f493827017793e1ae785af.jpg","text":"TemporaryFile(/tmp/multipartBody1572227428981874897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866324020,"filename":"image_10122025_03_53_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/031ba962a1224fc1ea8f36f968fd2927.jpg","text":"TemporaryFile(/tmp/multipartBody4048029966829530556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866324020,"filename":"image_10122025_03_54_05_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401317937","file1":"1401317896","file0":"1401317895","file4":"1401317964","file5":"1401317966","file3":"1401317938"},"map_files_photo_id_array":[{"photo_id":"1401317966","filename":"file5"},{"photo_id":"1401317937","filename":"file2"},{"photo_id":"1401317964","filename":"file4"},{"photo_id":"1401317896","filename":"file1"},{"photo_id":"1401317895","filename":"file0"},{"photo_id":"1401317938","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401317938":["hashtag1","hashtag2"]},{"1401317895":["hashtag1","hashtag2"]},{"1401317964":["hashtag1","hashtag2"]},{"1401317937":["hashtag1","hashtag2"]},{"1401317966":["hashtag1","hashtag2"]},{"1401317896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401317938, 1401317895, 1401317964, 1401317937, 1401317966, 1401317896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97170948982239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:11:47.515034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/51/image_10122025_03_52_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_51_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_44_9627.jpg', '/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_35_9604.jpg', '/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_25_10619.jpg', '/home/nano/Desktop/images/10122025/03/51/image_10122025_03_52_05_9615.jpg', '/home/nano/Desktop/images/10122025/03/50/image_10122025_03_51_05_10622.jpg', '/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_44_9627.jpg
/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_35_9604.jpg
/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_25_10619.jpg
/home/nano/Desktop/images/10122025/03/51/image_10122025_03_52_05_9615.jpg
/home/nano/Desktop/images/10122025/03/50/image_10122025_03_51_05_10622.jpg
/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_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":["1401317977","1401317974","1401317976","1401317979","1401317981","1401317975"],"photo_ids_order":["1401317974","1401317975","1401317976","1401317977","1401317979","1401317981"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b735f9d1c5262e2ee6cee4f59bfab7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7505117132509160214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866368338,"filename":"image_10122025_03_52_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/25c67c625e03047a872250d142773505.jpg","text":"TemporaryFile(/tmp/multipartBody2261923215847368730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866368338,"filename":"image_10122025_03_52_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/12/27/28f5ddecbe80b5c1da82f56227938a20.jpg","text":"TemporaryFile(/tmp/multipartBody7488737263080566535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866368338,"filename":"image_10122025_03_52_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9224911047afd128154527f8a3e06b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4674235568061706797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866368338,"filename":"image_10122025_03_51_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5e9a5801063098f80dc19ec26d4d8ed.jpg","text":"TemporaryFile(/tmp/multipartBody3308755180462081941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866368338,"filename":"image_10122025_03_50_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/12/27/543cfd79287a99840df41f4d00a23c1b.jpg","text":"TemporaryFile(/tmp/multipartBody2702526369639000074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866368338,"filename":"image_10122025_03_52_35_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401317976","file1":"1401317975","file0":"1401317974","file4":"1401317979","file5":"1401317981","file3":"1401317977"},"map_files_photo_id_array":[{"photo_id":"1401317981","filename":"file5"},{"photo_id":"1401317976","filename":"file2"},{"photo_id":"1401317979","filename":"file4"},{"photo_id":"1401317975","filename":"file1"},{"photo_id":"1401317974","filename":"file0"},{"photo_id":"1401317977","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401317977":["hashtag1","hashtag2"]},{"1401317974":["hashtag1","hashtag2"]},{"1401317976":["hashtag1","hashtag2"]},{"1401317979":["hashtag1","hashtag2"]},{"1401317981":["hashtag1","hashtag2"]},{"1401317975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401317977, 1401317974, 1401317976, 1401317979, 1401317981, 1401317975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.847818851470947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:12:32.601222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_50_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_34_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', '/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_24_9605.jpg', '/home/nano/Desktop/images/10122025/03/49/image_10122025_03_50_04_9612.jpg', '/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_55_9606.jpg', '/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', '/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg
/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_24_9605.jpg
/home/nano/Desktop/images/10122025/03/49/image_10122025_03_50_04_9612.jpg
/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_55_9606.jpg
/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg
/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_34_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":["1401317988","1401317991","1401317990","1401317993","1401317996","1401317995"],"photo_ids_order":["1401317988","1401317990","1401317991","1401317993","1401317995","1401317996"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c71d0bd12253de2701089fa58f51314.jpg","text":"TemporaryFile(/tmp/multipartBody2674589834674736307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866413414,"filename":"image_10122025_03_50_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ad65e5e78da205e283996cfb534a446.jpg","text":"TemporaryFile(/tmp/multipartBody6657498570292873856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866413414,"filename":"image_10122025_03_50_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/12/27/e88bb8dcde7344e944a4c69a5e6fefd2.jpg","text":"TemporaryFile(/tmp/multipartBody8608320818198561124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866413414,"filename":"image_10122025_03_50_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/12/27/51bb880c9b4b1124ae399aaeacc3dffd.jpg","text":"TemporaryFile(/tmp/multipartBody4268435192046021118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866413414,"filename":"image_10122025_03_49_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5f516f303c3c0fb14a50d1a663fc0e30.jpg","text":"TemporaryFile(/tmp/multipartBody1766566669352871535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866413414,"filename":"image_10122025_03_49_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/12/27/645e74b138793b0b8ff43a85aa13d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody7181917696529604273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866413414,"filename":"image_10122025_03_49_45_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401317991","file1":"1401317990","file0":"1401317988","file4":"1401317995","file5":"1401317996","file3":"1401317993"},"map_files_photo_id_array":[{"photo_id":"1401317996","filename":"file5"},{"photo_id":"1401317991","filename":"file2"},{"photo_id":"1401317995","filename":"file4"},{"photo_id":"1401317990","filename":"file1"},{"photo_id":"1401317988","filename":"file0"},{"photo_id":"1401317993","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401317988":["hashtag1","hashtag2"]},{"1401317991":["hashtag1","hashtag2"]},{"1401317990":["hashtag1","hashtag2"]},{"1401317993":["hashtag1","hashtag2"]},{"1401317996":["hashtag1","hashtag2"]},{"1401317995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401317988, 1401317991, 1401317990, 1401317993, 1401317996, 1401317995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2585813999176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:13:17.732479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_49_05_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_25_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_25_10632.jpg', '/home/nano/Desktop/images/10122025/03/48/image_10122025_03_49_05_9654.jpg', '/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_55_10615.jpg', '/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_44_9607.jpg', '/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_35_9608.jpg', '/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_25_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_25_10632.jpg
/home/nano/Desktop/images/10122025/03/48/image_10122025_03_49_05_9654.jpg
/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_55_10615.jpg
/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_44_9607.jpg
/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_35_9608.jpg
/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_25_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":["1401318004","1401318013","1401318007","1401318009","1401318003","1401318011"],"photo_ids_order":["1401318003","1401318004","1401318007","1401318009","1401318011","1401318013"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b27985838126d8d17ad1b0af77536106.jpg","text":"TemporaryFile(/tmp/multipartBody8615015549541634794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866458549,"filename":"image_10122025_03_49_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/406481881113f94dd4f6ef0eb7f98d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4304685971148516702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866458549,"filename":"image_10122025_03_48_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/30ccebda55dafa75054e588238778c07.jpg","text":"TemporaryFile(/tmp/multipartBody3631503826199979268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866458549,"filename":"image_10122025_03_48_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5420fc71c6cb0e7f0d831c3ceee00d7.jpg","text":"TemporaryFile(/tmp/multipartBody4083088657809756048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866458549,"filename":"image_10122025_03_48_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/12/27/e1e08e06e01e6622623a647a1fa9cfdf.jpg","text":"TemporaryFile(/tmp/multipartBody6952087987231939004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866458549,"filename":"image_10122025_03_49_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/80be4f93a2ebc46ecba238fb8d518ecf.jpg","text":"TemporaryFile(/tmp/multipartBody2099903361502760189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866458549,"filename":"image_10122025_03_48_35_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318007","file1":"1401318004","file0":"1401318003","file4":"1401318011","file5":"1401318013","file3":"1401318009"},"map_files_photo_id_array":[{"photo_id":"1401318013","filename":"file5"},{"photo_id":"1401318007","filename":"file2"},{"photo_id":"1401318011","filename":"file4"},{"photo_id":"1401318004","filename":"file1"},{"photo_id":"1401318003","filename":"file0"},{"photo_id":"1401318009","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318004":["hashtag1","hashtag2"]},{"1401318013":["hashtag1","hashtag2"]},{"1401318007":["hashtag1","hashtag2"]},{"1401318009":["hashtag1","hashtag2"]},{"1401318003":["hashtag1","hashtag2"]},{"1401318011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318004, 1401318013, 1401318007, 1401318009, 1401318003, 1401318011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.428744316101074 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:14:02.703877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_48_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_15_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_14_9623.jpg', '/home/nano/Desktop/images/10122025/03/47/image_10122025_03_48_05_10622.jpg', '/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_54_9605.jpg', '/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_45_9607.jpg', '/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_24_9609.jpg', '/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_15_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_14_9623.jpg
/home/nano/Desktop/images/10122025/03/47/image_10122025_03_48_05_10622.jpg
/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_54_9605.jpg
/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_45_9607.jpg
/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_24_9609.jpg
/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_15_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":["1401318022","1401318024","1401318027","1401318015","1401318018","1401318020"],"photo_ids_order":["1401318015","1401318018","1401318020","1401318022","1401318024","1401318027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78c35925d59061c9bc238319f49fd1e4.jpg","text":"TemporaryFile(/tmp/multipartBody1470160758776211624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866503626,"filename":"image_10122025_03_47_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8734cf205f1737deb16ff5cb46cb887.jpg","text":"TemporaryFile(/tmp/multipartBody8014052036231098979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866503626,"filename":"image_10122025_03_47_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/12/27/96a5bb595b43fbd5e9ecbe4bd6af4224.jpg","text":"TemporaryFile(/tmp/multipartBody4603239299360361664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866503626,"filename":"image_10122025_03_47_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72d5b3a00f18656f114be27a789a4bb6.jpg","text":"TemporaryFile(/tmp/multipartBody8182437385279942827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866503626,"filename":"image_10122025_03_48_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/12/27/d0d3652635cdfded952439982a26bb2e.jpg","text":"TemporaryFile(/tmp/multipartBody5737197090252475801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866503626,"filename":"image_10122025_03_48_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/930fc7f1247dcc999e91c312ef9030ee.jpg","text":"TemporaryFile(/tmp/multipartBody3984815716445546957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866503626,"filename":"image_10122025_03_47_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318020","file1":"1401318018","file0":"1401318015","file4":"1401318024","file5":"1401318027","file3":"1401318022"},"map_files_photo_id_array":[{"photo_id":"1401318027","filename":"file5"},{"photo_id":"1401318020","filename":"file2"},{"photo_id":"1401318024","filename":"file4"},{"photo_id":"1401318018","filename":"file1"},{"photo_id":"1401318015","filename":"file0"},{"photo_id":"1401318022","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318022":["hashtag1","hashtag2"]},{"1401318024":["hashtag1","hashtag2"]},{"1401318027":["hashtag1","hashtag2"]},{"1401318015":["hashtag1","hashtag2"]},{"1401318018":["hashtag1","hashtag2"]},{"1401318020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318022, 1401318024, 1401318027, 1401318015, 1401318018, 1401318020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03127837181091 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:14:46.861170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg', '/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg
/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_9622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7086243629455566 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:15:02.571264
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg', '/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg', '/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg
/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg
/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_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":["1401318043","1401318045","1401318039","1401318041","1401318050","1401318047"],"photo_ids_order":["1401318039","1401318041","1401318043","1401318045","1401318047","1401318050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ca708bbaefcdc93c46b9826aba3e3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1742222363566186193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866563399,"filename":"image_10122025_03_46_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76e57c74e6dd2bb71020a883ceb0383b.jpg","text":"TemporaryFile(/tmp/multipartBody5991034104246596274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866563399,"filename":"image_10122025_03_46_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/12/27/a14889323780cf7e4b9fd76f48572674.jpg","text":"TemporaryFile(/tmp/multipartBody4147680003155773015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866563399,"filename":"image_10122025_03_47_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/12/27/725da209f821ae4e4a3258c47f467f45.jpg","text":"TemporaryFile(/tmp/multipartBody8630720570853309265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866563399,"filename":"image_10122025_03_46_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/12/27/86d2f7dbebd87adf19a338c96f6f825a.jpg","text":"TemporaryFile(/tmp/multipartBody7555845237928935463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866563399,"filename":"image_10122025_03_46_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/12/27/759282562de996dd010019c83ae511f6.jpg","text":"TemporaryFile(/tmp/multipartBody7799790811107911836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866563399,"filename":"image_10122025_03_46_25_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318043","file1":"1401318041","file0":"1401318039","file4":"1401318047","file5":"1401318050","file3":"1401318045"},"map_files_photo_id_array":[{"photo_id":"1401318050","filename":"file5"},{"photo_id":"1401318043","filename":"file2"},{"photo_id":"1401318047","filename":"file4"},{"photo_id":"1401318041","filename":"file1"},{"photo_id":"1401318039","filename":"file0"},{"photo_id":"1401318045","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318043":["hashtag1","hashtag2"]},{"1401318045":["hashtag1","hashtag2"]},{"1401318039":["hashtag1","hashtag2"]},{"1401318041":["hashtag1","hashtag2"]},{"1401318050":["hashtag1","hashtag2"]},{"1401318047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318043, 1401318045, 1401318039, 1401318041, 1401318050, 1401318047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80276560783386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:15:47.001807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_45_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_54_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_55_10616.jpg', '/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_35_9608.jpg', '/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_25_10619.jpg', '/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_14_9622.jpg', '/home/nano/Desktop/images/10122025/03/44/image_10122025_03_45_05_10618.jpg', '/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_54_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_55_10616.jpg
/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_35_9608.jpg
/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_25_10619.jpg
/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_14_9622.jpg
/home/nano/Desktop/images/10122025/03/44/image_10122025_03_45_05_10618.jpg
/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_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":["1401318061","1401318055","1401318057","1401318056","1401318059","1401318058"],"photo_ids_order":["1401318055","1401318056","1401318057","1401318058","1401318059","1401318061"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7589a100f7320d10ec0ed71c56119b15.jpg","text":"TemporaryFile(/tmp/multipartBody4295318730198154547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866607796,"filename":"image_10122025_03_44_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/12/27/3b661ebbc34ff0c81b6d10c7906c677b.jpg","text":"TemporaryFile(/tmp/multipartBody6453577977814131093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866607796,"filename":"image_10122025_03_45_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afcb63aadbba3d74aa381c6f3bc851a9.jpg","text":"TemporaryFile(/tmp/multipartBody921261746968178115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866607796,"filename":"image_10122025_03_45_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04ccab46aa83c6f524fee8ec416f8092.jpg","text":"TemporaryFile(/tmp/multipartBody3483147515157185978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866607796,"filename":"image_10122025_03_45_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b4c0d2c54b523e046311f1ba17a8bb7c.jpg","text":"TemporaryFile(/tmp/multipartBody5180141653974969567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866607796,"filename":"image_10122025_03_45_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a05559727bb1d5f27c311cc3cc535d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2484959437333820311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866607796,"filename":"image_10122025_03_45_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318057","file1":"1401318056","file0":"1401318055","file4":"1401318059","file5":"1401318061","file3":"1401318058"},"map_files_photo_id_array":[{"photo_id":"1401318061","filename":"file5"},{"photo_id":"1401318057","filename":"file2"},{"photo_id":"1401318059","filename":"file4"},{"photo_id":"1401318056","filename":"file1"},{"photo_id":"1401318055","filename":"file0"},{"photo_id":"1401318058","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318061":["hashtag1","hashtag2"]},{"1401318055":["hashtag1","hashtag2"]},{"1401318057":["hashtag1","hashtag2"]},{"1401318056":["hashtag1","hashtag2"]},{"1401318059":["hashtag1","hashtag2"]},{"1401318058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318061, 1401318055, 1401318057, 1401318056, 1401318059, 1401318058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.867218732833862 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:16:32.108068
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/43/image_10122025_03_44_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/43/image_10122025_03_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_43_04_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_44_9607.jpg', '/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_35_10619.jpg', '/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_24_9606.jpg', '/home/nano/Desktop/images/10122025/03/43/image_10122025_03_44_05_10620.jpg', '/home/nano/Desktop/images/10122025/03/43/image_10122025_03_43_54_9606.jpg', '/home/nano/Desktop/images/10122025/03/42/image_10122025_03_43_04_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_44_9607.jpg
/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_35_10619.jpg
/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_24_9606.jpg
/home/nano/Desktop/images/10122025/03/43/image_10122025_03_44_05_10620.jpg
/home/nano/Desktop/images/10122025/03/43/image_10122025_03_43_54_9606.jpg
/home/nano/Desktop/images/10122025/03/42/image_10122025_03_43_04_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":["1401318078","1401318072","1401318074","1401318077","1401318076","1401318070"],"photo_ids_order":["1401318070","1401318072","1401318074","1401318076","1401318077","1401318078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbc2a7ed980fbb34bac3ff3cd062e2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5049549444844667132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866652942,"filename":"image_10122025_03_43_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/12/27/ae5f9387d3ad09c66ea22cde67c5f689.jpg","text":"TemporaryFile(/tmp/multipartBody454193584260274474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866652942,"filename":"image_10122025_03_44_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b62a61c09340dbd870bb2560fe67289e.jpg","text":"TemporaryFile(/tmp/multipartBody2286008316253636004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866652942,"filename":"image_10122025_03_44_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/12/27/372d92944087e8cec3a9ffcc14114197.jpg","text":"TemporaryFile(/tmp/multipartBody696662434932211413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866652942,"filename":"image_10122025_03_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/12/27/0cb3018faff6182d0393e7541ec19b7d.jpg","text":"TemporaryFile(/tmp/multipartBody161950368913874424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866652942,"filename":"image_10122025_03_44_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e3169630223315c78b14e82f2d2ae4f.jpg","text":"TemporaryFile(/tmp/multipartBody2511055499308344933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866652942,"filename":"image_10122025_03_44_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318074","file1":"1401318072","file0":"1401318070","file4":"1401318077","file5":"1401318078","file3":"1401318076"},"map_files_photo_id_array":[{"photo_id":"1401318078","filename":"file5"},{"photo_id":"1401318074","filename":"file2"},{"photo_id":"1401318077","filename":"file4"},{"photo_id":"1401318072","filename":"file1"},{"photo_id":"1401318070","filename":"file0"},{"photo_id":"1401318076","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318078":["hashtag1","hashtag2"]},{"1401318072":["hashtag1","hashtag2"]},{"1401318074":["hashtag1","hashtag2"]},{"1401318077":["hashtag1","hashtag2"]},{"1401318076":["hashtag1","hashtag2"]},{"1401318070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318078, 1401318072, 1401318074, 1401318077, 1401318076, 1401318070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.026737451553345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:17:17.316015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_42_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_35_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_55_10618.jpg', '/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_34_9609.jpg', '/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_14_9615.jpg', '/home/nano/Desktop/images/10122025/03/41/image_10122025_03_42_05_9637.jpg', '/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_44_9627.jpg', '/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_55_10618.jpg
/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_34_9609.jpg
/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_14_9615.jpg
/home/nano/Desktop/images/10122025/03/41/image_10122025_03_42_05_9637.jpg
/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_44_9627.jpg
/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_35_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":["1401318093","1401318087","1401318089","1401318083","1401318091","1401318085"],"photo_ids_order":["1401318083","1401318085","1401318087","1401318089","1401318091","1401318093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d4f2ae6379ef3e6f5fb45812b702da2.jpg","text":"TemporaryFile(/tmp/multipartBody2228192325189788469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866698110,"filename":"image_10122025_03_41_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d84d1d29ab788f7bd2f81d9c31ffcb8f.jpg","text":"TemporaryFile(/tmp/multipartBody6391503532844263900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866698110,"filename":"image_10122025_03_42_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/12/27/9f39258fee3d507ce22361b7efefd1ac.jpg","text":"TemporaryFile(/tmp/multipartBody5732099077821198227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866698110,"filename":"image_10122025_03_42_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/02ac0e187b128cac5a927e34a9c28f0d.jpg","text":"TemporaryFile(/tmp/multipartBody4868463498198623907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866698110,"filename":"image_10122025_03_42_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9a513af98be384128df5ce4611da86b.jpg","text":"TemporaryFile(/tmp/multipartBody8954824483780040447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866698110,"filename":"image_10122025_03_41_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/12/27/7833a84a4c1a11d3defbd26856a17121.jpg","text":"TemporaryFile(/tmp/multipartBody5167535561732758776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866698110,"filename":"image_10122025_03_42_34_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318087","file1":"1401318085","file0":"1401318083","file4":"1401318091","file5":"1401318093","file3":"1401318089"},"map_files_photo_id_array":[{"photo_id":"1401318093","filename":"file5"},{"photo_id":"1401318087","filename":"file2"},{"photo_id":"1401318091","filename":"file4"},{"photo_id":"1401318085","filename":"file1"},{"photo_id":"1401318083","filename":"file0"},{"photo_id":"1401318089","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318093":["hashtag1","hashtag2"]},{"1401318087":["hashtag1","hashtag2"]},{"1401318089":["hashtag1","hashtag2"]},{"1401318083":["hashtag1","hashtag2"]},{"1401318091":["hashtag1","hashtag2"]},{"1401318085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318093, 1401318087, 1401318089, 1401318083, 1401318091, 1401318085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.465622901916504 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:18:02.625812
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', '/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg', '/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', '/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', '/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', '/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg
/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg
/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg
/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg
/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg
/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7628662586212158 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:18:17.339931
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', '/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg', '/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', '/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', '/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', '/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg
/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg
/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg
/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg
/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg
/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_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":["1401318118","1401318111","1401318105","1401318114","1401318108","1401318116"],"photo_ids_order":["1401318105","1401318108","1401318111","1401318114","1401318116","1401318118"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/870df9c3ec9711393243c93aeb6e7040.jpg","text":"TemporaryFile(/tmp/multipartBody6775752061870999338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866758132,"filename":"image_10122025_03_39_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61fb34cca36026d8766acd1e6f9481db.jpg","text":"TemporaryFile(/tmp/multipartBody5035065056363828096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866758132,"filename":"image_10122025_03_40_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/12/27/32a60c3b63d291bc6c0af8a9accfdbdc.jpg","text":"TemporaryFile(/tmp/multipartBody2104304584977205373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866758132,"filename":"image_10122025_03_41_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/12/27/caf0ad09e942be7820757effc7c00176.jpg","text":"TemporaryFile(/tmp/multipartBody3261758500182906950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866758132,"filename":"image_10122025_03_40_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c608c3bfc2cc3caa2fbd6c4a9a3f590.jpg","text":"TemporaryFile(/tmp/multipartBody2509304372027436508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866758132,"filename":"image_10122025_03_40_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee1dd35068012c46bd4d3c88c24b327b.jpg","text":"TemporaryFile(/tmp/multipartBody3072417024921879466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866758132,"filename":"image_10122025_03_39_55_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318111","file1":"1401318108","file0":"1401318105","file4":"1401318116","file5":"1401318118","file3":"1401318114"},"map_files_photo_id_array":[{"photo_id":"1401318118","filename":"file5"},{"photo_id":"1401318111","filename":"file2"},{"photo_id":"1401318116","filename":"file4"},{"photo_id":"1401318108","filename":"file1"},{"photo_id":"1401318105","filename":"file0"},{"photo_id":"1401318114","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318118":["hashtag1","hashtag2"]},{"1401318111":["hashtag1","hashtag2"]},{"1401318105":["hashtag1","hashtag2"]},{"1401318114":["hashtag1","hashtag2"]},{"1401318108":["hashtag1","hashtag2"]},{"1401318116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318118, 1401318111, 1401318105, 1401318114, 1401318108, 1401318116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2993688583374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:19:03.449527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_39_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_34_9605.jpg', '/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_25_10619.jpg', '/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_14_9623.jpg', '/home/nano/Desktop/images/10122025/03/38/image_10122025_03_39_05_9610.jpg', '/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_55_10616.jpg', '/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_34_9605.jpg
/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_25_10619.jpg
/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_14_9623.jpg
/home/nano/Desktop/images/10122025/03/38/image_10122025_03_39_05_9610.jpg
/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_55_10616.jpg
/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_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":["1401318133","1401318127","1401318121","1401318123","1401318129","1401318125"],"photo_ids_order":["1401318121","1401318123","1401318125","1401318127","1401318129","1401318133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/febc29734340ecd079368b04161dc367.jpg","text":"TemporaryFile(/tmp/multipartBody9054690897022241558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866804291,"filename":"image_10122025_03_38_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/12/27/cdeec01905f4d3e9af9b0cee8bc33c26.jpg","text":"TemporaryFile(/tmp/multipartBody8463388989561655380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866804291,"filename":"image_10122025_03_39_05_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb18d8b28fa6e643668f538fc94e796f.jpg","text":"TemporaryFile(/tmp/multipartBody421649802652788163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866804291,"filename":"image_10122025_03_39_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/12/27/d82140632320504668a66598f44a49b5.jpg","text":"TemporaryFile(/tmp/multipartBody7003873352736072528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866804291,"filename":"image_10122025_03_39_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a289b2127ba94bf34306f9301d238325.jpg","text":"TemporaryFile(/tmp/multipartBody5514727521845947001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866804291,"filename":"image_10122025_03_38_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8041979e39af6707cdcbe8e936d68c68.jpg","text":"TemporaryFile(/tmp/multipartBody8500482882341359203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866804291,"filename":"image_10122025_03_39_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318125","file1":"1401318123","file0":"1401318121","file4":"1401318129","file5":"1401318133","file3":"1401318127"},"map_files_photo_id_array":[{"photo_id":"1401318133","filename":"file5"},{"photo_id":"1401318125","filename":"file2"},{"photo_id":"1401318129","filename":"file4"},{"photo_id":"1401318123","filename":"file1"},{"photo_id":"1401318121","filename":"file0"},{"photo_id":"1401318127","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318133":["hashtag1","hashtag2"]},{"1401318127":["hashtag1","hashtag2"]},{"1401318121":["hashtag1","hashtag2"]},{"1401318123":["hashtag1","hashtag2"]},{"1401318129":["hashtag1","hashtag2"]},{"1401318125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318133, 1401318127, 1401318121, 1401318123, 1401318129, 1401318125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27429413795471 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:19:47.442342
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/37/image_10122025_03_38_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/37/image_10122025_03_37_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_34_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_25_10613.jpg', '/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_14_9620.jpg', '/home/nano/Desktop/images/10122025/03/37/image_10122025_03_38_05_10618.jpg', '/home/nano/Desktop/images/10122025/03/37/image_10122025_03_37_45_9608.jpg', '/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_55_9606.jpg', '/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_25_10613.jpg
/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_14_9620.jpg
/home/nano/Desktop/images/10122025/03/37/image_10122025_03_38_05_10618.jpg
/home/nano/Desktop/images/10122025/03/37/image_10122025_03_37_45_9608.jpg
/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_55_9606.jpg
/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_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":["1401318145","1401318148","1401318144","1401318147","1401318149","1401318146"],"photo_ids_order":["1401318144","1401318145","1401318146","1401318147","1401318148","1401318149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4813a12cdab5a2dde442b6104d65aca2.jpg","text":"TemporaryFile(/tmp/multipartBody2401626004271891259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866848256,"filename":"image_10122025_03_38_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/12/27/7849361c1b656d810fdb8df14acd11d1.jpg","text":"TemporaryFile(/tmp/multipartBody7953312345160776951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866848256,"filename":"image_10122025_03_36_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04304720b8887c10edb637fc6f5a046a.jpg","text":"TemporaryFile(/tmp/multipartBody8997340968416857605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866848256,"filename":"image_10122025_03_38_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a5e829a1976e740d52f3c307a2e3e1a.jpg","text":"TemporaryFile(/tmp/multipartBody5419639107708882734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866848256,"filename":"image_10122025_03_37_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dcf1140ce400634486a15d7573d2dcb.jpg","text":"TemporaryFile(/tmp/multipartBody833849176321255864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866848256,"filename":"image_10122025_03_36_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/12/27/f87cbc49edeea3ccde4565579d815f95.jpg","text":"TemporaryFile(/tmp/multipartBody2323172795387705157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866848256,"filename":"image_10122025_03_38_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318146","file1":"1401318145","file0":"1401318144","file4":"1401318148","file5":"1401318149","file3":"1401318147"},"map_files_photo_id_array":[{"photo_id":"1401318149","filename":"file5"},{"photo_id":"1401318146","filename":"file2"},{"photo_id":"1401318148","filename":"file4"},{"photo_id":"1401318145","filename":"file1"},{"photo_id":"1401318144","filename":"file0"},{"photo_id":"1401318147","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318145":["hashtag1","hashtag2"]},{"1401318148":["hashtag1","hashtag2"]},{"1401318144":["hashtag1","hashtag2"]},{"1401318147":["hashtag1","hashtag2"]},{"1401318149":["hashtag1","hashtag2"]},{"1401318146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318145, 1401318148, 1401318144, 1401318147, 1401318149, 1401318146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.987907886505127 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:20:32.550759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_35_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_25_9608.jpg', '/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_15_10631.jpg', '/home/nano/Desktop/images/10122025/03/35/image_10122025_03_36_04_9624.jpg', '/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_55_10616.jpg', '/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_44_9611.jpg', '/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_35_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_25_9608.jpg
/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_15_10631.jpg
/home/nano/Desktop/images/10122025/03/35/image_10122025_03_36_04_9624.jpg
/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_55_10616.jpg
/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_44_9611.jpg
/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_35_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":["1401318160","1401318165","1401318155","1401318164","1401318158","1401318163"],"photo_ids_order":["1401318155","1401318158","1401318160","1401318163","1401318164","1401318165"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f67f75342cc487eaaf1961dff28ed1fd.jpg","text":"TemporaryFile(/tmp/multipartBody413721461508223285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866893365,"filename":"image_10122025_03_36_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/12/27/e38c48d21d8a7031ef61905b6b70e1be.jpg","text":"TemporaryFile(/tmp/multipartBody9038321477855513260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866893365,"filename":"image_10122025_03_35_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97ecd520f3b29984fadd2da940cc819e.jpg","text":"TemporaryFile(/tmp/multipartBody4947401539538931047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866893365,"filename":"image_10122025_03_36_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1879d8038508554ef60192f4c200307b.jpg","text":"TemporaryFile(/tmp/multipartBody7375655080403597409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866893365,"filename":"image_10122025_03_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/12/27/6a973a9d5608c475de1501999013f1b0.jpg","text":"TemporaryFile(/tmp/multipartBody4649291491746439586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866893365,"filename":"image_10122025_03_36_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a166f9bfc1af415b16f8b48617fc3617.jpg","text":"TemporaryFile(/tmp/multipartBody5581928944817646251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866893365,"filename":"image_10122025_03_35_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318160","file1":"1401318158","file0":"1401318155","file4":"1401318164","file5":"1401318165","file3":"1401318163"},"map_files_photo_id_array":[{"photo_id":"1401318165","filename":"file5"},{"photo_id":"1401318160","filename":"file2"},{"photo_id":"1401318164","filename":"file4"},{"photo_id":"1401318158","filename":"file1"},{"photo_id":"1401318155","filename":"file0"},{"photo_id":"1401318163","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318160":["hashtag1","hashtag2"]},{"1401318165":["hashtag1","hashtag2"]},{"1401318155":["hashtag1","hashtag2"]},{"1401318164":["hashtag1","hashtag2"]},{"1401318158":["hashtag1","hashtag2"]},{"1401318163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318160, 1401318165, 1401318155, 1401318164, 1401318158, 1401318163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.449668884277344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:21:17.655398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_35_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_15_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_14_9640.jpg', '/home/nano/Desktop/images/10122025/03/34/image_10122025_03_35_05_9616.jpg', '/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_44_9610.jpg', '/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_35_10614.jpg', '/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_24_9606.jpg', '/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_15_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_14_9640.jpg
/home/nano/Desktop/images/10122025/03/34/image_10122025_03_35_05_9616.jpg
/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_44_9610.jpg
/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_35_10614.jpg
/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_24_9606.jpg
/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_15_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":["1401318166","1401318179","1401318170","1401318173","1401318167","1401318176"],"photo_ids_order":["1401318166","1401318167","1401318170","1401318173","1401318176","1401318179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0997276aa36d7ef51c0510411aea41ac.jpg","text":"TemporaryFile(/tmp/multipartBody5344730003160564713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866938459,"filename":"image_10122025_03_35_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/12/27/2434c2f3511e5a1a5f582772722862df.jpg","text":"TemporaryFile(/tmp/multipartBody4659500668860111489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866938459,"filename":"image_10122025_03_34_15_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/601339e1584bdd2f6cb744e97b5960eb.jpg","text":"TemporaryFile(/tmp/multipartBody1781872990594907766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866938459,"filename":"image_10122025_03_34_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/12/27/19826d68d7efad95988d5f6e51df1714.jpg","text":"TemporaryFile(/tmp/multipartBody5918263267452147464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866938459,"filename":"image_10122025_03_34_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96730165c4fe8e9c727fa44d357fa1ab.jpg","text":"TemporaryFile(/tmp/multipartBody5357288626754552175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866938459,"filename":"image_10122025_03_35_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a5311a5b545dd3340f9adf16907bfc6.jpg","text":"TemporaryFile(/tmp/multipartBody3385935138485399310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866938459,"filename":"image_10122025_03_34_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318170","file1":"1401318167","file0":"1401318166","file4":"1401318176","file5":"1401318179","file3":"1401318173"},"map_files_photo_id_array":[{"photo_id":"1401318179","filename":"file5"},{"photo_id":"1401318170","filename":"file2"},{"photo_id":"1401318176","filename":"file4"},{"photo_id":"1401318167","filename":"file1"},{"photo_id":"1401318166","filename":"file0"},{"photo_id":"1401318173","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318166":["hashtag1","hashtag2"]},{"1401318179":["hashtag1","hashtag2"]},{"1401318170":["hashtag1","hashtag2"]},{"1401318173":["hashtag1","hashtag2"]},{"1401318167":["hashtag1","hashtag2"]},{"1401318176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318166, 1401318179, 1401318170, 1401318173, 1401318167, 1401318176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25786805152893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:22:02.169917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/33/image_10122025_03_33_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_32_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_55_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/33/image_10122025_03_33_25_9606.jpg', '/home/nano/Desktop/images/10122025/03/32/image_10122025_03_33_04_9632.jpg', '/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_55_9609.jpg', '/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_45_10618.jpg', '/home/nano/Desktop/images/10122025/03/31/image_10122025_03_32_05_9612.jpg', '/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/33/image_10122025_03_33_25_9606.jpg
/home/nano/Desktop/images/10122025/03/32/image_10122025_03_33_04_9632.jpg
/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_55_9609.jpg
/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_45_10618.jpg
/home/nano/Desktop/images/10122025/03/31/image_10122025_03_32_05_9612.jpg
/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_55_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":["1401318187","1401318186","1401318189","1401318185","1401318188","1401318190"],"photo_ids_order":["1401318185","1401318186","1401318187","1401318188","1401318189","1401318190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ca7dd5bbca96bd5bd5dcda0afdb6b88.jpg","text":"TemporaryFile(/tmp/multipartBody8030200862382251184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866983023,"filename":"image_10122025_03_32_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad0c20a9fb0f075a2c00527b1b0b7ae4.jpg","text":"TemporaryFile(/tmp/multipartBody183235153133285713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866983023,"filename":"image_10122025_03_33_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/12/27/a5935b398c0799c924ddb787bfed996e.jpg","text":"TemporaryFile(/tmp/multipartBody8436882087798690445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866983023,"filename":"image_10122025_03_32_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d79f7b6543b79f14622a08f3dbfa9882.jpg","text":"TemporaryFile(/tmp/multipartBody6118923972346674715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866983023,"filename":"image_10122025_03_33_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ea1c798235b1fe18fb6f0fbd3fa3154.jpg","text":"TemporaryFile(/tmp/multipartBody1611129868057329366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866983023,"filename":"image_10122025_03_32_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22c74cfda83d9e0103117aeddc0f1a38.jpg","text":"TemporaryFile(/tmp/multipartBody2421547297148134349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766866983023,"filename":"image_10122025_03_31_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318187","file1":"1401318186","file0":"1401318185","file4":"1401318189","file5":"1401318190","file3":"1401318188"},"map_files_photo_id_array":[{"photo_id":"1401318190","filename":"file5"},{"photo_id":"1401318187","filename":"file2"},{"photo_id":"1401318189","filename":"file4"},{"photo_id":"1401318186","filename":"file1"},{"photo_id":"1401318185","filename":"file0"},{"photo_id":"1401318188","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318187":["hashtag1","hashtag2"]},{"1401318186":["hashtag1","hashtag2"]},{"1401318189":["hashtag1","hashtag2"]},{"1401318185":["hashtag1","hashtag2"]},{"1401318188":["hashtag1","hashtag2"]},{"1401318190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318187, 1401318186, 1401318189, 1401318185, 1401318188, 1401318190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48506426811218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:22:46.748568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_31_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_35_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', '/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_35_10618.jpg', '/home/nano/Desktop/images/10122025/03/30/image_10122025_03_31_05_10620.jpg', '/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_54_9607.jpg', '/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_45_9605.jpg', '/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_35_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg
/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_35_10618.jpg
/home/nano/Desktop/images/10122025/03/30/image_10122025_03_31_05_10620.jpg
/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_54_9607.jpg
/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_45_9605.jpg
/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_35_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":["1401318211","1401318208","1401318205","1401318207","1401318209","1401318206"],"photo_ids_order":["1401318205","1401318206","1401318207","1401318208","1401318209","1401318211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58eceb48d31fadc1ef4617f5cb416ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7477251200336675221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867027566,"filename":"image_10122025_03_30_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da1e6e2c6427400088d9a3b7d007dd03.jpg","text":"TemporaryFile(/tmp/multipartBody8102752464062066343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867027566,"filename":"image_10122025_03_30_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/12/27/b3d189e2a0015f7db439549865757ae3.jpg","text":"TemporaryFile(/tmp/multipartBody5369884960896012481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867027566,"filename":"image_10122025_03_31_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/12/27/1690a903f1e20d796b1d0c3cfedc22e6.jpg","text":"TemporaryFile(/tmp/multipartBody8345935695163405469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867027566,"filename":"image_10122025_03_31_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7453cce0314ba7c9253f820f74748a88.jpg","text":"TemporaryFile(/tmp/multipartBody4854299833472590575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867027566,"filename":"image_10122025_03_30_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce5ffc0b8eaf4764a50395db629bcdbe.jpg","text":"TemporaryFile(/tmp/multipartBody8181928706480989534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867027566,"filename":"image_10122025_03_31_35_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318207","file1":"1401318206","file0":"1401318205","file4":"1401318209","file5":"1401318211","file3":"1401318208"},"map_files_photo_id_array":[{"photo_id":"1401318211","filename":"file5"},{"photo_id":"1401318207","filename":"file2"},{"photo_id":"1401318209","filename":"file4"},{"photo_id":"1401318206","filename":"file1"},{"photo_id":"1401318205","filename":"file0"},{"photo_id":"1401318208","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318211":["hashtag1","hashtag2"]},{"1401318208":["hashtag1","hashtag2"]},{"1401318205":["hashtag1","hashtag2"]},{"1401318207":["hashtag1","hashtag2"]},{"1401318209":["hashtag1","hashtag2"]},{"1401318206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318211, 1401318208, 1401318205, 1401318207, 1401318209, 1401318206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.533045530319214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:23:31.852119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_30_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_55_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_15_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_24_9607.jpg', '/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_15_10650.jpg', '/home/nano/Desktop/images/10122025/03/29/image_10122025_03_30_04_9611.jpg', '/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_55_9628.jpg', '/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_45_10617.jpg', '/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_15_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_24_9607.jpg
/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_15_10650.jpg
/home/nano/Desktop/images/10122025/03/29/image_10122025_03_30_04_9611.jpg
/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_55_9628.jpg
/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_45_10617.jpg
/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_15_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":["1401318229","1401318220","1401318222","1401318227","1401318230","1401318218"],"photo_ids_order":["1401318218","1401318220","1401318222","1401318227","1401318229","1401318230"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4ecd58c60e4a29ccf80be4065887f2fe.jpg","text":"TemporaryFile(/tmp/multipartBody4190696670685413497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867072677,"filename":"image_10122025_03_29_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fde14720bf5107cb8e5f0dffd092a367.jpg","text":"TemporaryFile(/tmp/multipartBody5160509062992381043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867072677,"filename":"image_10122025_03_30_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/235d79926d6ba5dbecc45ad29b337508.jpg","text":"TemporaryFile(/tmp/multipartBody8501931811137812816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867072677,"filename":"image_10122025_03_30_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/12/27/1e5e69f636adb6e1d48f243a510ed116.jpg","text":"TemporaryFile(/tmp/multipartBody5808793980206899539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867072677,"filename":"image_10122025_03_29_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de1df49d18118fd8354b98528a8a84ec.jpg","text":"TemporaryFile(/tmp/multipartBody2764639760594372743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867072677,"filename":"image_10122025_03_29_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b46ba1e05d00f8cc614abff34d19f2b2.jpg","text":"TemporaryFile(/tmp/multipartBody5859933639807301307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867072677,"filename":"image_10122025_03_30_24_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318222","file1":"1401318220","file0":"1401318218","file4":"1401318229","file5":"1401318230","file3":"1401318227"},"map_files_photo_id_array":[{"photo_id":"1401318230","filename":"file5"},{"photo_id":"1401318222","filename":"file2"},{"photo_id":"1401318229","filename":"file4"},{"photo_id":"1401318220","filename":"file1"},{"photo_id":"1401318218","filename":"file0"},{"photo_id":"1401318227","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318229":["hashtag1","hashtag2"]},{"1401318220":["hashtag1","hashtag2"]},{"1401318222":["hashtag1","hashtag2"]},{"1401318227":["hashtag1","hashtag2"]},{"1401318230":["hashtag1","hashtag2"]},{"1401318218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318229, 1401318220, 1401318222, 1401318227, 1401318230, 1401318218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49816656112671 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:24:16.989690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_29_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/27/image_10122025_03_27_15_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/28/image_10122025_03_29_04_9606.jpg', '/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_55_10614.jpg', '/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_44_9610.jpg', '/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_25_10613.jpg', '/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_14_9623.jpg', '/home/nano/Desktop/images/10122025/03/27/image_10122025_03_27_15_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/28/image_10122025_03_29_04_9606.jpg
/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_55_10614.jpg
/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_44_9610.jpg
/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_25_10613.jpg
/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_14_9623.jpg
/home/nano/Desktop/images/10122025/03/27/image_10122025_03_27_15_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":["1401318244","1401318238","1401318235","1401318240","1401318242","1401318236"],"photo_ids_order":["1401318235","1401318236","1401318238","1401318240","1401318242","1401318244"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36b63dda2e17ae16535ad72af54d1d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3472415341789294736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867117803,"filename":"image_10122025_03_27_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b962e1d196732fc04cf954c8f1ddb2e0.jpg","text":"TemporaryFile(/tmp/multipartBody890565564608149384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867117803,"filename":"image_10122025_03_28_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/12/27/1530e8c8a630e0f37a392a167ae07182.jpg","text":"TemporaryFile(/tmp/multipartBody4058615528234292241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867117803,"filename":"image_10122025_03_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/12/27/6a10f70ccd85e0973193a8ce6042b1f2.jpg","text":"TemporaryFile(/tmp/multipartBody3316046936396860241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867117803,"filename":"image_10122025_03_28_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2fcd552a90b26368e8a2091503386236.jpg","text":"TemporaryFile(/tmp/multipartBody372294840263683536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867117803,"filename":"image_10122025_03_28_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/12/27/12b3fc8b1ab2add5786a91efd484d2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2486526611046741407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867117803,"filename":"image_10122025_03_28_55_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318238","file1":"1401318236","file0":"1401318235","file4":"1401318242","file5":"1401318244","file3":"1401318240"},"map_files_photo_id_array":[{"photo_id":"1401318244","filename":"file5"},{"photo_id":"1401318238","filename":"file2"},{"photo_id":"1401318242","filename":"file4"},{"photo_id":"1401318236","filename":"file1"},{"photo_id":"1401318235","filename":"file0"},{"photo_id":"1401318240","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318244":["hashtag1","hashtag2"]},{"1401318238":["hashtag1","hashtag2"]},{"1401318235":["hashtag1","hashtag2"]},{"1401318240":["hashtag1","hashtag2"]},{"1401318242":["hashtag1","hashtag2"]},{"1401318236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318244, 1401318238, 1401318235, 1401318240, 1401318242, 1401318236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6201012134552 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:25:03.010844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_27_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_26_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_55_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/26/image_10122025_03_27_05_10625.jpg', '/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_45_10615.jpg', '/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_34_9607.jpg', '/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_15_10630.jpg', '/home/nano/Desktop/images/10122025/03/25/image_10122025_03_26_04_9625.jpg', '/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/26/image_10122025_03_27_05_10625.jpg
/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_45_10615.jpg
/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_34_9607.jpg
/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_15_10630.jpg
/home/nano/Desktop/images/10122025/03/25/image_10122025_03_26_04_9625.jpg
/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_55_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":["1401318250","1401318253","1401318255","1401318251","1401318260","1401318257"],"photo_ids_order":["1401318250","1401318251","1401318253","1401318255","1401318257","1401318260"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b765d3fbc120b1b4896751bfc442814.jpg","text":"TemporaryFile(/tmp/multipartBody7252501071312402811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867163872,"filename":"image_10122025_03_27_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af2ce0be5237208ebc9bcfeaa9096363.jpg","text":"TemporaryFile(/tmp/multipartBody3757873890838953299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867163872,"filename":"image_10122025_03_26_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/12/27/4864b612772610d6dcfc97d8d8cc20b6.jpg","text":"TemporaryFile(/tmp/multipartBody7102391445226113779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867163872,"filename":"image_10122025_03_26_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41aa50228f0729ed604fcf6fc85f635c.jpg","text":"TemporaryFile(/tmp/multipartBody2556777342501713394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867163872,"filename":"image_10122025_03_26_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a9e0f5aab1f838a9a02a9895f68fc384.jpg","text":"TemporaryFile(/tmp/multipartBody4822480259618962287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867163872,"filename":"image_10122025_03_25_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/42d8706de601c7bda956a91aa2031bb3.jpg","text":"TemporaryFile(/tmp/multipartBody502741365832075971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867163872,"filename":"image_10122025_03_26_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318253","file1":"1401318251","file0":"1401318250","file4":"1401318257","file5":"1401318260","file3":"1401318255"},"map_files_photo_id_array":[{"photo_id":"1401318260","filename":"file5"},{"photo_id":"1401318253","filename":"file2"},{"photo_id":"1401318257","filename":"file4"},{"photo_id":"1401318251","filename":"file1"},{"photo_id":"1401318250","filename":"file0"},{"photo_id":"1401318255","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318250":["hashtag1","hashtag2"]},{"1401318253":["hashtag1","hashtag2"]},{"1401318255":["hashtag1","hashtag2"]},{"1401318251":["hashtag1","hashtag2"]},{"1401318260":["hashtag1","hashtag2"]},{"1401318257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318250, 1401318253, 1401318255, 1401318251, 1401318260, 1401318257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38118863105774 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:25:47.135779
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_25_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_35_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_44_9611.jpg', '/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_34_9607.jpg', '/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_25_10616.jpg', '/home/nano/Desktop/images/10122025/03/24/image_10122025_03_25_05_9613.jpg', '/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_55_10618.jpg', '/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_35_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_44_9611.jpg
/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_34_9607.jpg
/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_25_10616.jpg
/home/nano/Desktop/images/10122025/03/24/image_10122025_03_25_05_9613.jpg
/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_55_10618.jpg
/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_35_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":["1401318271","1401318268","1401318273","1401318267","1401318270","1401318269"],"photo_ids_order":["1401318267","1401318268","1401318269","1401318270","1401318271","1401318273"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2905cca5e2ff9aa3dead1aea4f7b59b.jpg","text":"TemporaryFile(/tmp/multipartBody8412149031138426155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867207955,"filename":"image_10122025_03_24_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e11ab59e712370eae80e57ec3df5108.jpg","text":"TemporaryFile(/tmp/multipartBody8423553609615924411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867207955,"filename":"image_10122025_03_25_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/12/27/a24481952007cea0dd87a891c6af2cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7054833305600938318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867207955,"filename":"image_10122025_03_24_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/551ed7692cdca71f800335826f9274bb.jpg","text":"TemporaryFile(/tmp/multipartBody8811481845092023304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867207955,"filename":"image_10122025_03_25_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/12/27/85ef08402c95d07962c33a8a383ad9aa.jpg","text":"TemporaryFile(/tmp/multipartBody542073624440890897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867207955,"filename":"image_10122025_03_25_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e5bd74ca2ea031916e11144fd100c3e.jpg","text":"TemporaryFile(/tmp/multipartBody2198945771198510163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867207955,"filename":"image_10122025_03_25_25_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318269","file1":"1401318268","file0":"1401318267","file4":"1401318271","file5":"1401318273","file3":"1401318270"},"map_files_photo_id_array":[{"photo_id":"1401318273","filename":"file5"},{"photo_id":"1401318269","filename":"file2"},{"photo_id":"1401318271","filename":"file4"},{"photo_id":"1401318268","filename":"file1"},{"photo_id":"1401318267","filename":"file0"},{"photo_id":"1401318270","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318271":["hashtag1","hashtag2"]},{"1401318268":["hashtag1","hashtag2"]},{"1401318273":["hashtag1","hashtag2"]},{"1401318267":["hashtag1","hashtag2"]},{"1401318270":["hashtag1","hashtag2"]},{"1401318269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318271, 1401318268, 1401318273, 1401318267, 1401318270, 1401318269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.316221952438354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:26:32.235955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', '/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg
/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_10621.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7029225826263428 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:26:47.230073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', '/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', '/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg
/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg
/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_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":["1401318294","1401318296","1401318300","1401318292","1401318295","1401318298"],"photo_ids_order":["1401318292","1401318294","1401318295","1401318296","1401318298","1401318300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e0acd3a7aef23c1cf991d311542d3cfe.jpg","text":"TemporaryFile(/tmp/multipartBody1201471307467712931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867268023,"filename":"image_10122025_03_24_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ccc8c9ce0ccc8682841e1d2c570e575b.jpg","text":"TemporaryFile(/tmp/multipartBody8518956595877300474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867268023,"filename":"image_10122025_03_23_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34d248c4be0c1881cdc32ac0389ed43a.jpg","text":"TemporaryFile(/tmp/multipartBody2433116060273139329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867268023,"filename":"image_10122025_03_22_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6d4dbb5a774e0c6c29a35378c0369305.jpg","text":"TemporaryFile(/tmp/multipartBody7476123790179618754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867268023,"filename":"image_10122025_03_24_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/12/27/12fd11b2084f5091e46bbf485fdfc884.jpg","text":"TemporaryFile(/tmp/multipartBody8381598559809521624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867268023,"filename":"image_10122025_03_23_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/12/27/d00f58d6d7eb81c367d204bbc9eb64b0.jpg","text":"TemporaryFile(/tmp/multipartBody7689169532701645261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867268023,"filename":"image_10122025_03_23_15_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318295","file1":"1401318294","file0":"1401318292","file4":"1401318298","file5":"1401318300","file3":"1401318296"},"map_files_photo_id_array":[{"photo_id":"1401318300","filename":"file5"},{"photo_id":"1401318295","filename":"file2"},{"photo_id":"1401318298","filename":"file4"},{"photo_id":"1401318294","filename":"file1"},{"photo_id":"1401318292","filename":"file0"},{"photo_id":"1401318296","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318294":["hashtag1","hashtag2"]},{"1401318296":["hashtag1","hashtag2"]},{"1401318300":["hashtag1","hashtag2"]},{"1401318292":["hashtag1","hashtag2"]},{"1401318295":["hashtag1","hashtag2"]},{"1401318298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318294, 1401318296, 1401318300, 1401318292, 1401318295, 1401318298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46923780441284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:27:32.316523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_34_9622.jpg', '/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_25_10619.jpg', '/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_55_10618.jpg', '/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_44_9606.jpg', '/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_35_10618.jpg', '/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_34_9622.jpg
/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_25_10619.jpg
/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_55_10618.jpg
/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_44_9606.jpg
/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_35_10618.jpg
/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_24_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":["1401318310","1401318313","1401318316","1401318312","1401318315","1401318308"],"photo_ids_order":["1401318308","1401318310","1401318312","1401318313","1401318315","1401318316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88a9d334fb4260b59fc426340ef373c1.jpg","text":"TemporaryFile(/tmp/multipartBody6091735371522508743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867313122,"filename":"image_10122025_03_22_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b91b70abd5e14fb24be7ae82039a2d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1210883324703467701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867313122,"filename":"image_10122025_03_21_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/12/27/924b6cbf296fbbf52631db40546650b7.jpg","text":"TemporaryFile(/tmp/multipartBody631692399586961950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867313122,"filename":"image_10122025_03_21_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/12/27/af8227b09f5aa026cc9d94bb45e893a3.jpg","text":"TemporaryFile(/tmp/multipartBody3201805551467556276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867313122,"filename":"image_10122025_03_21_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc48cfbed40846f833270be120e9057d.jpg","text":"TemporaryFile(/tmp/multipartBody869810633280267208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867313122,"filename":"image_10122025_03_21_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/32f6c28e830818d3049779a6f099a371.jpg","text":"TemporaryFile(/tmp/multipartBody4851943603175857264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867313122,"filename":"image_10122025_03_22_34_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318312","file1":"1401318310","file0":"1401318308","file4":"1401318315","file5":"1401318316","file3":"1401318313"},"map_files_photo_id_array":[{"photo_id":"1401318316","filename":"file5"},{"photo_id":"1401318312","filename":"file2"},{"photo_id":"1401318315","filename":"file4"},{"photo_id":"1401318310","filename":"file1"},{"photo_id":"1401318308","filename":"file0"},{"photo_id":"1401318313","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318310":["hashtag1","hashtag2"]},{"1401318313":["hashtag1","hashtag2"]},{"1401318316":["hashtag1","hashtag2"]},{"1401318312":["hashtag1","hashtag2"]},{"1401318315":["hashtag1","hashtag2"]},{"1401318308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318310, 1401318313, 1401318316, 1401318312, 1401318315, 1401318308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69608163833618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:28:17.462982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_21_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_20_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_55_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_15_9607.jpg', '/home/nano/Desktop/images/10122025/03/20/image_10122025_03_21_05_10628.jpg', '/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_35_10617.jpg', '/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_24_9607.jpg', '/home/nano/Desktop/images/10122025/03/19/image_10122025_03_20_04_9605.jpg', '/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_15_9607.jpg
/home/nano/Desktop/images/10122025/03/20/image_10122025_03_21_05_10628.jpg
/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_35_10617.jpg
/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_24_9607.jpg
/home/nano/Desktop/images/10122025/03/19/image_10122025_03_20_04_9605.jpg
/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_55_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":["1401318331","1401318325","1401318321","1401318327","1401318329","1401318323"],"photo_ids_order":["1401318321","1401318323","1401318325","1401318327","1401318329","1401318331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65a931dae4736d14a38a67f781697fac.jpg","text":"TemporaryFile(/tmp/multipartBody7992720056413760041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867358267,"filename":"image_10122025_03_19_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb6a3f474adc4187a39cb9346002a520.jpg","text":"TemporaryFile(/tmp/multipartBody2167776161874974129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867358267,"filename":"image_10122025_03_20_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1dc688246793c3310368abd726b1da5.jpg","text":"TemporaryFile(/tmp/multipartBody6371645007209181286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867358267,"filename":"image_10122025_03_21_15_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1bb53913a9d318fe68416ca191df3c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3394075406980317858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867358267,"filename":"image_10122025_03_20_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/12/27/0eec7be8d64b39cb6cf0e1c69cf0577c.jpg","text":"TemporaryFile(/tmp/multipartBody623174686768496202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867358267,"filename":"image_10122025_03_20_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/12/27/bf0f39313dc6ba428ccbd2260be8bca5.jpg","text":"TemporaryFile(/tmp/multipartBody2824649669905821238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867358267,"filename":"image_10122025_03_21_05_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318325","file1":"1401318323","file0":"1401318321","file4":"1401318329","file5":"1401318331","file3":"1401318327"},"map_files_photo_id_array":[{"photo_id":"1401318331","filename":"file5"},{"photo_id":"1401318325","filename":"file2"},{"photo_id":"1401318329","filename":"file4"},{"photo_id":"1401318323","filename":"file1"},{"photo_id":"1401318321","filename":"file0"},{"photo_id":"1401318327","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318331":["hashtag1","hashtag2"]},{"1401318325":["hashtag1","hashtag2"]},{"1401318321":["hashtag1","hashtag2"]},{"1401318327":["hashtag1","hashtag2"]},{"1401318329":["hashtag1","hashtag2"]},{"1401318323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318331, 1401318325, 1401318321, 1401318327, 1401318329, 1401318323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.335134506225586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:29:03.687516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_19_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_35_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_45_10617.jpg', '/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_14_9620.jpg', '/home/nano/Desktop/images/10122025/03/18/image_10122025_03_19_05_9612.jpg', '/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_55_10617.jpg', '/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_44_9609.jpg', '/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_35_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_45_10617.jpg
/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_14_9620.jpg
/home/nano/Desktop/images/10122025/03/18/image_10122025_03_19_05_9612.jpg
/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_55_10617.jpg
/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_44_9609.jpg
/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_35_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":["1401318337","1401318340","1401318342","1401318336","1401318344","1401318347"],"photo_ids_order":["1401318336","1401318337","1401318340","1401318342","1401318344","1401318347"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62a76981d71c0784d18ff5a8b70293de.jpg","text":"TemporaryFile(/tmp/multipartBody1639378485801445835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867404572,"filename":"image_10122025_03_19_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/12/27/15c536eae68b6956036827072db71a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7350720421180038782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867404572,"filename":"image_10122025_03_19_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8458595680f3f857a2e450d96c400853.jpg","text":"TemporaryFile(/tmp/multipartBody8113738773122731035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867404572,"filename":"image_10122025_03_18_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74dff093031fea571d433b359c58a28a.jpg","text":"TemporaryFile(/tmp/multipartBody845845959133466223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867404572,"filename":"image_10122025_03_19_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54a43755c4f36e8c6be2e403cb3fffd7.jpg","text":"TemporaryFile(/tmp/multipartBody6190015420689762501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867404572,"filename":"image_10122025_03_18_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/12/27/98c2407d8406912648674c0fa9cb969b.jpg","text":"TemporaryFile(/tmp/multipartBody5734405500275819691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867404572,"filename":"image_10122025_03_18_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318340","file1":"1401318337","file0":"1401318336","file4":"1401318344","file5":"1401318347","file3":"1401318342"},"map_files_photo_id_array":[{"photo_id":"1401318347","filename":"file5"},{"photo_id":"1401318340","filename":"file2"},{"photo_id":"1401318344","filename":"file4"},{"photo_id":"1401318337","filename":"file1"},{"photo_id":"1401318336","filename":"file0"},{"photo_id":"1401318342","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318337":["hashtag1","hashtag2"]},{"1401318340":["hashtag1","hashtag2"]},{"1401318342":["hashtag1","hashtag2"]},{"1401318336":["hashtag1","hashtag2"]},{"1401318344":["hashtag1","hashtag2"]},{"1401318347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318337, 1401318340, 1401318342, 1401318336, 1401318344, 1401318347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19910407066345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:29:47.569868
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_18_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_25_10614.jpg', '/home/nano/Desktop/images/10122025/03/17/image_10122025_03_18_05_10617.jpg', '/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_54_9612.jpg', '/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_45_9604.jpg', '/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_35_10616.jpg', '/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_25_10614.jpg
/home/nano/Desktop/images/10122025/03/17/image_10122025_03_18_05_10617.jpg
/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_54_9612.jpg
/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_45_9604.jpg
/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_35_10616.jpg
/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_24_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":["1401318358","1401318360","1401318357","1401318362","1401318356","1401318355"],"photo_ids_order":["1401318355","1401318356","1401318357","1401318358","1401318360","1401318362"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/476c5970bc382da672f08ddfb6242c10.jpg","text":"TemporaryFile(/tmp/multipartBody5184646390875719554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867448378,"filename":"image_10122025_03_17_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c30479a418fbf9bb937379ed21e7bd84.jpg","text":"TemporaryFile(/tmp/multipartBody1392438975305110993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867448378,"filename":"image_10122025_03_17_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/114d653c145769ed2ae1108467dd92f3.jpg","text":"TemporaryFile(/tmp/multipartBody3713891207362406836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867448378,"filename":"image_10122025_03_17_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/12/27/9dcae36dd914fe9eb809aa678c0ff686.jpg","text":"TemporaryFile(/tmp/multipartBody7996969841839753999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867448378,"filename":"image_10122025_03_17_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/12/27/15abc4fe295f17d656ca7672a7d2861c.jpg","text":"TemporaryFile(/tmp/multipartBody3093300678363743461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867448378,"filename":"image_10122025_03_18_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c38b75f03bc453951995dfb608f668d.jpg","text":"TemporaryFile(/tmp/multipartBody3345084802331369452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867448378,"filename":"image_10122025_03_18_25_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318357","file1":"1401318356","file0":"1401318355","file4":"1401318360","file5":"1401318362","file3":"1401318358"},"map_files_photo_id_array":[{"photo_id":"1401318362","filename":"file5"},{"photo_id":"1401318357","filename":"file2"},{"photo_id":"1401318360","filename":"file4"},{"photo_id":"1401318356","filename":"file1"},{"photo_id":"1401318355","filename":"file0"},{"photo_id":"1401318358","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318358":["hashtag1","hashtag2"]},{"1401318360":["hashtag1","hashtag2"]},{"1401318357":["hashtag1","hashtag2"]},{"1401318362":["hashtag1","hashtag2"]},{"1401318356":["hashtag1","hashtag2"]},{"1401318355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318358, 1401318360, 1401318357, 1401318362, 1401318356, 1401318355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67643618583679 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:30:32.679929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_17_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_16_04_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/16/image_10122025_03_17_04_9634.jpg', '/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_54_9622.jpg', '/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_34_9605.jpg', '/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_25_9606.jpg', '/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_15_10629.jpg', '/home/nano/Desktop/images/10122025/03/15/image_10122025_03_16_04_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/16/image_10122025_03_17_04_9634.jpg
/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_54_9622.jpg
/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_34_9605.jpg
/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_25_9606.jpg
/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_15_10629.jpg
/home/nano/Desktop/images/10122025/03/15/image_10122025_03_16_04_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":["1401318367","1401318375","1401318369","1401318371","1401318374","1401318373"],"photo_ids_order":["1401318367","1401318369","1401318371","1401318373","1401318374","1401318375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78e66d3c6b077be26948f26a366ba628.jpg","text":"TemporaryFile(/tmp/multipartBody2923636857713710219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867493493,"filename":"image_10122025_03_17_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/12/27/462e3251b9e86017d6486eb4b36ed7aa.jpg","text":"TemporaryFile(/tmp/multipartBody5287714240959611128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867493493,"filename":"image_10122025_03_16_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/12/27/e3bb05f2913f0b54d3c7fee5da187a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2597292536737772962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867493493,"filename":"image_10122025_03_16_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/12/27/f65c58ca5a051eeb3119c59d2333adba.jpg","text":"TemporaryFile(/tmp/multipartBody7083924508006458341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867493493,"filename":"image_10122025_03_16_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/12/27/9915c849dd2e5c7c2799ebf7947cce6e.jpg","text":"TemporaryFile(/tmp/multipartBody5330120149874553356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867493493,"filename":"image_10122025_03_16_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e5c7499a092bfda595168352bfc915d.jpg","text":"TemporaryFile(/tmp/multipartBody294478920960413888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867493493,"filename":"image_10122025_03_16_25_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318371","file1":"1401318369","file0":"1401318367","file4":"1401318374","file5":"1401318375","file3":"1401318373"},"map_files_photo_id_array":[{"photo_id":"1401318375","filename":"file5"},{"photo_id":"1401318371","filename":"file2"},{"photo_id":"1401318374","filename":"file4"},{"photo_id":"1401318369","filename":"file1"},{"photo_id":"1401318367","filename":"file0"},{"photo_id":"1401318373","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318367":["hashtag1","hashtag2"]},{"1401318375":["hashtag1","hashtag2"]},{"1401318369":["hashtag1","hashtag2"]},{"1401318371":["hashtag1","hashtag2"]},{"1401318374":["hashtag1","hashtag2"]},{"1401318373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318367, 1401318375, 1401318369, 1401318371, 1401318374, 1401318373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70253801345825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:31:17.799431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_15_05_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_55_10616.jpg', '/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_44_9609.jpg', '/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_35_9607.jpg', '/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_25_10614.jpg', '/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_14_9620.jpg', '/home/nano/Desktop/images/10122025/03/14/image_10122025_03_15_05_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_55_10616.jpg
/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_44_9609.jpg
/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_35_9607.jpg
/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_25_10614.jpg
/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_14_9620.jpg
/home/nano/Desktop/images/10122025/03/14/image_10122025_03_15_05_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":["1401318379","1401318390","1401318384","1401318387","1401318377","1401318382"],"photo_ids_order":["1401318377","1401318379","1401318382","1401318384","1401318387","1401318390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f82067561a5e859c18d389b74d4e07a.jpg","text":"TemporaryFile(/tmp/multipartBody3282646361157570999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867538596,"filename":"image_10122025_03_15_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/12/27/7cf4201fed6c41a3ea1069d7e94687fd.jpg","text":"TemporaryFile(/tmp/multipartBody9170702055494280013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867538596,"filename":"image_10122025_03_15_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72b59bdb5bfec47c6e6aad9c7ed90eb0.jpg","text":"TemporaryFile(/tmp/multipartBody3299361280979022235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867538596,"filename":"image_10122025_03_15_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5026ef21d7b1271b1e2d11141602cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody2380037628396256363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867538596,"filename":"image_10122025_03_15_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/12/27/529bd2e0d2b8eaadc0b907792949e20d.jpg","text":"TemporaryFile(/tmp/multipartBody8473439776816154465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867538596,"filename":"image_10122025_03_15_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8f5876fc2619531a7d410eba11e1af7.jpg","text":"TemporaryFile(/tmp/multipartBody8536914604621045378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867538596,"filename":"image_10122025_03_15_35_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318382","file1":"1401318379","file0":"1401318377","file4":"1401318387","file5":"1401318390","file3":"1401318384"},"map_files_photo_id_array":[{"photo_id":"1401318390","filename":"file5"},{"photo_id":"1401318382","filename":"file2"},{"photo_id":"1401318387","filename":"file4"},{"photo_id":"1401318379","filename":"file1"},{"photo_id":"1401318377","filename":"file0"},{"photo_id":"1401318384","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318379":["hashtag1","hashtag2"]},{"1401318390":["hashtag1","hashtag2"]},{"1401318384":["hashtag1","hashtag2"]},{"1401318387":["hashtag1","hashtag2"]},{"1401318377":["hashtag1","hashtag2"]},{"1401318382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318379, 1401318390, 1401318384, 1401318387, 1401318377, 1401318382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57836556434631 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:32:02.504622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_35_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_14_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_25_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_54_9623.jpg', '/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_35_10635.jpg', '/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_15_9609.jpg', '/home/nano/Desktop/images/10122025/03/13/image_10122025_03_14_05_10625.jpg', '/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_34_9608.jpg', '/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_25_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_54_9623.jpg
/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_35_10635.jpg
/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_15_9609.jpg
/home/nano/Desktop/images/10122025/03/13/image_10122025_03_14_05_10625.jpg
/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_34_9608.jpg
/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_25_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":["1401318396","1401318393","1401318395","1401318392","1401318391","1401318394"],"photo_ids_order":["1401318391","1401318392","1401318393","1401318394","1401318395","1401318396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4b2a3d354b68d41f5df001514b13a1df.jpg","text":"TemporaryFile(/tmp/multipartBody3519646404268630245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867583434,"filename":"image_10122025_03_13_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2de4ffb9e357e239ed15801bf2a00fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7408980392096619434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867583434,"filename":"image_10122025_03_14_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbff2ac0ca02b77f847e6da952c7cb3a.jpg","text":"TemporaryFile(/tmp/multipartBody6342207139662279345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867583434,"filename":"image_10122025_03_13_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/12/27/5b5beb92af6674754885c7ad4d0e9ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5571118207801150625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867583434,"filename":"image_10122025_03_14_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f71a30f6d7cbbe68219db7fa3065635.jpg","text":"TemporaryFile(/tmp/multipartBody8167549828484222652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867583434,"filename":"image_10122025_03_14_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/12/27/47a19dfa90868b812f71fd2efe3ad1f4.jpg","text":"TemporaryFile(/tmp/multipartBody7382493293731722672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867583434,"filename":"image_10122025_03_14_05_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318393","file1":"1401318392","file0":"1401318391","file4":"1401318395","file5":"1401318396","file3":"1401318394"},"map_files_photo_id_array":[{"photo_id":"1401318396","filename":"file5"},{"photo_id":"1401318393","filename":"file2"},{"photo_id":"1401318395","filename":"file4"},{"photo_id":"1401318392","filename":"file1"},{"photo_id":"1401318391","filename":"file0"},{"photo_id":"1401318394","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318396":["hashtag1","hashtag2"]},{"1401318393":["hashtag1","hashtag2"]},{"1401318395":["hashtag1","hashtag2"]},{"1401318392":["hashtag1","hashtag2"]},{"1401318391":["hashtag1","hashtag2"]},{"1401318394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318396, 1401318393, 1401318395, 1401318392, 1401318391, 1401318394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.187800884246826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:32:46.855901
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_13_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_25_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_15_10629.jpg', '/home/nano/Desktop/images/10122025/03/12/image_10122025_03_13_04_9613.jpg', '/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_55_9611.jpg', '/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_45_10618.jpg', '/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_34_9621.jpg', '/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_25_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_15_10629.jpg
/home/nano/Desktop/images/10122025/03/12/image_10122025_03_13_04_9613.jpg
/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_55_9611.jpg
/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_45_10618.jpg
/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_34_9621.jpg
/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_25_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":["1401318412","1401318409","1401318411","1401318414","1401318413","1401318410"],"photo_ids_order":["1401318409","1401318410","1401318411","1401318412","1401318413","1401318414"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e663d7badf36d78f46d25598b65923fa.jpg","text":"TemporaryFile(/tmp/multipartBody8464292403956927354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867627649,"filename":"image_10122025_03_12_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13619a3cec9679bb706d34bc595beb78.jpg","text":"TemporaryFile(/tmp/multipartBody5792088960006507593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867627649,"filename":"image_10122025_03_13_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acca92cb78d46d7a01859b26b7913ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5003978335561589865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867627649,"filename":"image_10122025_03_12_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/106e6f3c17043c4fa851b207dc3ee169.jpg","text":"TemporaryFile(/tmp/multipartBody888097644209276860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867627649,"filename":"image_10122025_03_12_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90a39831930c26590a4a9b233b155412.jpg","text":"TemporaryFile(/tmp/multipartBody4228089175704804274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867627649,"filename":"image_10122025_03_12_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/12/27/dbbaf9e9628441fa86159c318207ec02.jpg","text":"TemporaryFile(/tmp/multipartBody6284672147981096410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867627649,"filename":"image_10122025_03_13_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318411","file1":"1401318410","file0":"1401318409","file4":"1401318413","file5":"1401318414","file3":"1401318412"},"map_files_photo_id_array":[{"photo_id":"1401318414","filename":"file5"},{"photo_id":"1401318411","filename":"file2"},{"photo_id":"1401318413","filename":"file4"},{"photo_id":"1401318410","filename":"file1"},{"photo_id":"1401318409","filename":"file0"},{"photo_id":"1401318412","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318412":["hashtag1","hashtag2"]},{"1401318409":["hashtag1","hashtag2"]},{"1401318411":["hashtag1","hashtag2"]},{"1401318414":["hashtag1","hashtag2"]},{"1401318413":["hashtag1","hashtag2"]},{"1401318410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318412, 1401318409, 1401318411, 1401318414, 1401318413, 1401318410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19151735305786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:33:32.031246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_12_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_24_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_14_9616.jpg', '/home/nano/Desktop/images/10122025/03/11/image_10122025_03_12_05_9612.jpg', '/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_55_10617.jpg', '/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_44_9610.jpg', '/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_35_10617.jpg', '/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_14_9616.jpg
/home/nano/Desktop/images/10122025/03/11/image_10122025_03_12_05_9612.jpg
/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_55_10617.jpg
/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_44_9610.jpg
/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_35_10617.jpg
/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_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":["1401318430","1401318427","1401318421","1401318429","1401318423","1401318425"],"photo_ids_order":["1401318421","1401318423","1401318425","1401318427","1401318429","1401318430"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2ce957d99becd46626d7ee2527624509.jpg","text":"TemporaryFile(/tmp/multipartBody4148473728531012833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867672832,"filename":"image_10122025_03_11_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/12/27/212cfa47fe6be921517c3ac63872f3d9.jpg","text":"TemporaryFile(/tmp/multipartBody4427466087860611924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867672832,"filename":"image_10122025_03_11_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/12/27/889c0d193f793d3f463d247cb5081e07.jpg","text":"TemporaryFile(/tmp/multipartBody5343285715383829082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867672832,"filename":"image_10122025_03_12_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/12/27/233aeb24b351a900edaad0caba2e61b8.jpg","text":"TemporaryFile(/tmp/multipartBody7207649218698715495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867672832,"filename":"image_10122025_03_11_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b252466e25aa7f97d824f5b62125d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1146652936189138789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867672832,"filename":"image_10122025_03_12_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cec0cecda57243ee6dc34097761c109a.jpg","text":"TemporaryFile(/tmp/multipartBody6477099923150942511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867672832,"filename":"image_10122025_03_11_55_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318425","file1":"1401318423","file0":"1401318421","file4":"1401318429","file5":"1401318430","file3":"1401318427"},"map_files_photo_id_array":[{"photo_id":"1401318430","filename":"file5"},{"photo_id":"1401318425","filename":"file2"},{"photo_id":"1401318429","filename":"file4"},{"photo_id":"1401318423","filename":"file1"},{"photo_id":"1401318421","filename":"file0"},{"photo_id":"1401318427","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318430":["hashtag1","hashtag2"]},{"1401318427":["hashtag1","hashtag2"]},{"1401318421":["hashtag1","hashtag2"]},{"1401318429":["hashtag1","hashtag2"]},{"1401318423":["hashtag1","hashtag2"]},{"1401318425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318430, 1401318427, 1401318421, 1401318429, 1401318423, 1401318425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.284571409225464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:34:17.131729
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/21/33/image_27122025_21_34_04_9526.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/21/33/image_27122025_21_34_04_9526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/21/33/image_27122025_21_34_04_9526.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401318431"],"photo_id":"1401318431","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c903a24eb73e247ccfe22c14d962760a.jpg","text":"TemporaryFile(/tmp/multipartBody1698358884889176856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867717373,"filename":"image_27122025_21_34_04_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401318431"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401318431"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.546391487121582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:34:32.171102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_11_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_10_04_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/10/image_10122025_03_11_05_10641.jpg', '/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_45_9609.jpg', '/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_35_10617.jpg', '/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_24_9607.jpg', '/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_15_10632.jpg', '/home/nano/Desktop/images/10122025/03/09/image_10122025_03_10_04_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/10/image_10122025_03_11_05_10641.jpg
/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_45_9609.jpg
/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_35_10617.jpg
/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_24_9607.jpg
/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_15_10632.jpg
/home/nano/Desktop/images/10122025/03/09/image_10122025_03_10_04_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":["1401318442","1401318450","1401318446","1401318449","1401318440","1401318437"],"photo_ids_order":["1401318437","1401318440","1401318442","1401318446","1401318449","1401318450"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04179b75867df2ffeba1124ebce958ef.jpg","text":"TemporaryFile(/tmp/multipartBody660226571940294239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867732978,"filename":"image_10122025_03_10_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/19b8b2dfb298428f1f70c63a0aec8049.jpg","text":"TemporaryFile(/tmp/multipartBody7822008851711992678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867732978,"filename":"image_10122025_03_10_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/12/27/fb629dd22a47c1adb4e258872a0147af.jpg","text":"TemporaryFile(/tmp/multipartBody254691129036319738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867732978,"filename":"image_10122025_03_10_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/12/27/303f136d8bc4d8e6530e93d5fab4abbb.jpg","text":"TemporaryFile(/tmp/multipartBody2513641099485934402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867732978,"filename":"image_10122025_03_10_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be4e777b90e2cc23e1c2487df1e195b8.jpg","text":"TemporaryFile(/tmp/multipartBody1391879327055855026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867732978,"filename":"image_10122025_03_10_45_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b99b6fe112be4da1b19950d0ecc605e6.jpg","text":"TemporaryFile(/tmp/multipartBody2841806986841502921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867732978,"filename":"image_10122025_03_11_05_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318442","file1":"1401318440","file0":"1401318437","file4":"1401318449","file5":"1401318450","file3":"1401318446"},"map_files_photo_id_array":[{"photo_id":"1401318450","filename":"file5"},{"photo_id":"1401318442","filename":"file2"},{"photo_id":"1401318449","filename":"file4"},{"photo_id":"1401318440","filename":"file1"},{"photo_id":"1401318437","filename":"file0"},{"photo_id":"1401318446","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318442":["hashtag1","hashtag2"]},{"1401318450":["hashtag1","hashtag2"]},{"1401318446":["hashtag1","hashtag2"]},{"1401318449":["hashtag1","hashtag2"]},{"1401318440":["hashtag1","hashtag2"]},{"1401318437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318442, 1401318450, 1401318446, 1401318449, 1401318440, 1401318437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79306364059448 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:35:17.260543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_09_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_55_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_55_9604.jpg', '/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_45_10619.jpg', '/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_34_9612.jpg', '/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_25_10616.jpg', '/home/nano/Desktop/images/10122025/03/08/image_10122025_03_09_05_9609.jpg', '/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_55_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_55_9604.jpg
/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_45_10619.jpg
/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_34_9612.jpg
/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_25_10616.jpg
/home/nano/Desktop/images/10122025/03/08/image_10122025_03_09_05_9609.jpg
/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_55_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":["1401318451","1401318461","1401318464","1401318458","1401318452","1401318455"],"photo_ids_order":["1401318451","1401318452","1401318455","1401318458","1401318461","1401318464"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/21d753125ea95ee7b070458529ff9559.jpg","text":"TemporaryFile(/tmp/multipartBody8585404104996477248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867778056,"filename":"image_10122025_03_09_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4e13862fb71484808c15811874c7bc5e.jpg","text":"TemporaryFile(/tmp/multipartBody252206932255236195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867778056,"filename":"image_10122025_03_09_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93b278a8dc3a86923c7ffcfa25424cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3079054688380726307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867778056,"filename":"image_10122025_03_08_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5752cc827166ace156290dcac1a2757f.jpg","text":"TemporaryFile(/tmp/multipartBody4503989638722767580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867778056,"filename":"image_10122025_03_09_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f725518f4c0032878cdd78687e711305.jpg","text":"TemporaryFile(/tmp/multipartBody5596220810264639721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867778056,"filename":"image_10122025_03_09_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/010e5d81aa2770ad9cf9cd96a819278e.jpg","text":"TemporaryFile(/tmp/multipartBody2477812777735237980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867778056,"filename":"image_10122025_03_09_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318455","file1":"1401318452","file0":"1401318451","file4":"1401318461","file5":"1401318464","file3":"1401318458"},"map_files_photo_id_array":[{"photo_id":"1401318464","filename":"file5"},{"photo_id":"1401318455","filename":"file2"},{"photo_id":"1401318461","filename":"file4"},{"photo_id":"1401318452","filename":"file1"},{"photo_id":"1401318451","filename":"file0"},{"photo_id":"1401318458","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318451":["hashtag1","hashtag2"]},{"1401318461":["hashtag1","hashtag2"]},{"1401318464":["hashtag1","hashtag2"]},{"1401318458":["hashtag1","hashtag2"]},{"1401318452":["hashtag1","hashtag2"]},{"1401318455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318451, 1401318461, 1401318464, 1401318458, 1401318452, 1401318455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67371201515198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:36:03.031604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_08_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_45_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_44_9610.jpg', '/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_25_10621.jpg', '/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_14_9619.jpg', '/home/nano/Desktop/images/10122025/03/07/image_10122025_03_08_05_10620.jpg', '/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_54_9607.jpg', '/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_45_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_44_9610.jpg
/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_25_10621.jpg
/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_14_9619.jpg
/home/nano/Desktop/images/10122025/03/07/image_10122025_03_08_05_10620.jpg
/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_54_9607.jpg
/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_45_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":["1401318471","1401318468","1401318470","1401318473","1401318467","1401318469"],"photo_ids_order":["1401318467","1401318468","1401318469","1401318470","1401318471","1401318473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e15d7c7a30661049e40d17fe97455bd2.jpg","text":"TemporaryFile(/tmp/multipartBody3863494092970350443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867823869,"filename":"image_10122025_03_07_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/12/27/c2dbc432a400899872d26f08ddbbfe2b.jpg","text":"TemporaryFile(/tmp/multipartBody7236367204501429550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867823869,"filename":"image_10122025_03_08_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a86230a8cd1e85ebabf6d2d2b68c4841.jpg","text":"TemporaryFile(/tmp/multipartBody2662693541251799023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867823869,"filename":"image_10122025_03_08_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87724bb6f503a422e9db33f5c4aba0f2.jpg","text":"TemporaryFile(/tmp/multipartBody8303381060507367978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867823869,"filename":"image_10122025_03_07_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/26cb93a26952c40aef4bcd1f43dd6cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8741163948841546986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867823869,"filename":"image_10122025_03_08_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/12/27/a60e34267ed1c5d74c2ae07b3fd0ee17.jpg","text":"TemporaryFile(/tmp/multipartBody379976700452373363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867823869,"filename":"image_10122025_03_08_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318469","file1":"1401318468","file0":"1401318467","file4":"1401318471","file5":"1401318473","file3":"1401318470"},"map_files_photo_id_array":[{"photo_id":"1401318473","filename":"file5"},{"photo_id":"1401318469","filename":"file2"},{"photo_id":"1401318471","filename":"file4"},{"photo_id":"1401318468","filename":"file1"},{"photo_id":"1401318467","filename":"file0"},{"photo_id":"1401318470","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318471":["hashtag1","hashtag2"]},{"1401318468":["hashtag1","hashtag2"]},{"1401318470":["hashtag1","hashtag2"]},{"1401318473":["hashtag1","hashtag2"]},{"1401318467":["hashtag1","hashtag2"]},{"1401318469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318471, 1401318468, 1401318470, 1401318473, 1401318467, 1401318469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62852072715759 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:36:47.457412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_15_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_24_9606.jpg', '/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_15_10630.jpg', '/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_55_9608.jpg', '/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_45_10622.jpg', '/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_25_9606.jpg', '/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_15_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_24_9606.jpg
/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_15_10630.jpg
/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_55_9608.jpg
/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_45_10622.jpg
/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_25_9606.jpg
/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_15_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":["1401318495","1401318486","1401318488","1401318491","1401318490","1401318493"],"photo_ids_order":["1401318486","1401318488","1401318490","1401318491","1401318493","1401318495"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fb7bd12f5d437cd3acd1ef5a2609090.jpg","text":"TemporaryFile(/tmp/multipartBody443620922266434719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867868316,"filename":"image_10122025_03_06_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14fe0da2309b4cf1f8da3b040b64fa68.jpg","text":"TemporaryFile(/tmp/multipartBody4618710098028554118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867868316,"filename":"image_10122025_03_07_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/12/27/44c016f622fc241318b19171145e7acd.jpg","text":"TemporaryFile(/tmp/multipartBody1495444019604699474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867868316,"filename":"image_10122025_03_07_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f04dcaab2800b02240922a74cef8fda2.jpg","text":"TemporaryFile(/tmp/multipartBody8442679852792354920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867868316,"filename":"image_10122025_03_06_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/edcfb9ff765006ed2758be1a9e983452.jpg","text":"TemporaryFile(/tmp/multipartBody911246395141137877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867868316,"filename":"image_10122025_03_06_55_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b86df603f00abec84051362faecba5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4989730186536650866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867868316,"filename":"image_10122025_03_06_25_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318490","file1":"1401318488","file0":"1401318486","file4":"1401318493","file5":"1401318495","file3":"1401318491"},"map_files_photo_id_array":[{"photo_id":"1401318495","filename":"file5"},{"photo_id":"1401318490","filename":"file2"},{"photo_id":"1401318493","filename":"file4"},{"photo_id":"1401318488","filename":"file1"},{"photo_id":"1401318486","filename":"file0"},{"photo_id":"1401318491","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318495":["hashtag1","hashtag2"]},{"1401318486":["hashtag1","hashtag2"]},{"1401318488":["hashtag1","hashtag2"]},{"1401318491":["hashtag1","hashtag2"]},{"1401318490":["hashtag1","hashtag2"]},{"1401318493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318495, 1401318486, 1401318488, 1401318491, 1401318490, 1401318493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.245848417282104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:37:32.547473
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_06_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_24_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/05/image_10122025_03_06_04_9606.jpg', '/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_35_9608.jpg', '/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_25_10617.jpg', '/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_54_9607.jpg', '/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_45_9622.jpg', '/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/05/image_10122025_03_06_04_9606.jpg
/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_35_9608.jpg
/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_25_10617.jpg
/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_54_9607.jpg
/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_45_9622.jpg
/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_24_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":["1401318511","1401318513","1401318501","1401318504","1401318506","1401318515"],"photo_ids_order":["1401318501","1401318504","1401318506","1401318511","1401318513","1401318515"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/73ba15159ad90e4282bb705d99ce625e.jpg","text":"TemporaryFile(/tmp/multipartBody906080372148366372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867913348,"filename":"image_10122025_03_04_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/12/27/555d5bda03f54453934bab05eb2205cf.jpg","text":"TemporaryFile(/tmp/multipartBody825903701130637270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867913348,"filename":"image_10122025_03_04_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7fc4f035a7fab8144cc287c84a44d68.jpg","text":"TemporaryFile(/tmp/multipartBody2589065834459301422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867913348,"filename":"image_10122025_03_06_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/12/27/a1bcb9c53b93638d7dd3265026c7387f.jpg","text":"TemporaryFile(/tmp/multipartBody5824160676912506031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867913348,"filename":"image_10122025_03_05_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6ff9e1e4ca574f9439df33ab3dc06c5.jpg","text":"TemporaryFile(/tmp/multipartBody7444543169573707817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867913348,"filename":"image_10122025_03_05_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d58058de7107deeeb046c360e03b393.jpg","text":"TemporaryFile(/tmp/multipartBody1643649166092409782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867913348,"filename":"image_10122025_03_04_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318506","file1":"1401318504","file0":"1401318501","file4":"1401318513","file5":"1401318515","file3":"1401318511"},"map_files_photo_id_array":[{"photo_id":"1401318515","filename":"file5"},{"photo_id":"1401318506","filename":"file2"},{"photo_id":"1401318513","filename":"file4"},{"photo_id":"1401318504","filename":"file1"},{"photo_id":"1401318501","filename":"file0"},{"photo_id":"1401318511","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318511":["hashtag1","hashtag2"]},{"1401318513":["hashtag1","hashtag2"]},{"1401318501":["hashtag1","hashtag2"]},{"1401318504":["hashtag1","hashtag2"]},{"1401318506":["hashtag1","hashtag2"]},{"1401318515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318511, 1401318513, 1401318501, 1401318504, 1401318506, 1401318515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.230220317840576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:38:17.645718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_15_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/03/image_10122025_03_04_05_10627.jpg', '/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_54_9604.jpg', '/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_45_10620.jpg', '/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_34_9607.jpg', '/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_25_9604.jpg', '/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_15_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/03/image_10122025_03_04_05_10627.jpg
/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_54_9604.jpg
/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_45_10620.jpg
/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_34_9607.jpg
/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_25_9604.jpg
/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_15_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":["1401318531","1401318528","1401318522","1401318525","1401318519","1401318518"],"photo_ids_order":["1401318518","1401318519","1401318522","1401318525","1401318528","1401318531"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/41deb12f16fecb53c6598e4c6b4190e7.jpg","text":"TemporaryFile(/tmp/multipartBody348005882024758824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867958454,"filename":"image_10122025_03_03_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/18de9b67773b2d83a0354bae3f4eed35.jpg","text":"TemporaryFile(/tmp/multipartBody7978620166622119075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867958454,"filename":"image_10122025_03_03_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/204fecb6b72d43bd832ecc0b9d4492bb.jpg","text":"TemporaryFile(/tmp/multipartBody7932729504329556676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867958454,"filename":"image_10122025_03_03_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca59b814d064eca90bff096088f8871b.jpg","text":"TemporaryFile(/tmp/multipartBody2047356933480521565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867958454,"filename":"image_10122025_03_03_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/12/27/ba3b008fc0f0a65a47cb518ad3192e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8000460889116192569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867958454,"filename":"image_10122025_03_03_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/12/27/3391cd5fd54c4d7048d654f92d0476f2.jpg","text":"TemporaryFile(/tmp/multipartBody6488581196671279945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766867958454,"filename":"image_10122025_03_04_05_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318522","file1":"1401318519","file0":"1401318518","file4":"1401318528","file5":"1401318531","file3":"1401318525"},"map_files_photo_id_array":[{"photo_id":"1401318531","filename":"file5"},{"photo_id":"1401318522","filename":"file2"},{"photo_id":"1401318528","filename":"file4"},{"photo_id":"1401318519","filename":"file1"},{"photo_id":"1401318518","filename":"file0"},{"photo_id":"1401318525","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318531":["hashtag1","hashtag2"]},{"1401318528":["hashtag1","hashtag2"]},{"1401318522":["hashtag1","hashtag2"]},{"1401318525":["hashtag1","hashtag2"]},{"1401318519":["hashtag1","hashtag2"]},{"1401318518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318531, 1401318528, 1401318522, 1401318525, 1401318519, 1401318518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14746594429016 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:39:02.863737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_03_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_44_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/02/image_10122025_03_03_04_9609.jpg', '/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_55_10616.jpg', '/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_44_9604.jpg', '/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_35_9605.jpg', '/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_14_9623.jpg', '/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/02/image_10122025_03_03_04_9609.jpg
/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_55_10616.jpg
/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_44_9604.jpg
/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_35_9605.jpg
/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_14_9623.jpg
/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_44_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":["1401318541","1401318538","1401318543","1401318545","1401318539","1401318548"],"photo_ids_order":["1401318538","1401318539","1401318541","1401318543","1401318545","1401318548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2ddc2395b7df0f9c7e2cdc42cb6b356.jpg","text":"TemporaryFile(/tmp/multipartBody8986142003675166922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868003780,"filename":"image_10122025_03_02_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/12/27/f99c41e0dd530e146afe85e44d151b04.jpg","text":"TemporaryFile(/tmp/multipartBody3546295958579141817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868003780,"filename":"image_10122025_03_03_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/12/27/4e740425e385b360d8c889cb22f782cc.jpg","text":"TemporaryFile(/tmp/multipartBody8892843777798377755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868003780,"filename":"image_10122025_03_02_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7842f4ecfd710d5d8a7fa7f672d1fb37.jpg","text":"TemporaryFile(/tmp/multipartBody4476680992470014755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868003780,"filename":"image_10122025_03_02_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/12/27/05e634a2ef2cb52f0ead909c7373d83d.jpg","text":"TemporaryFile(/tmp/multipartBody2594364202319412176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868003780,"filename":"image_10122025_03_02_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6662d97c432fef11b31f272dae7f30fe.jpg","text":"TemporaryFile(/tmp/multipartBody3700304117168867130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868003780,"filename":"image_10122025_03_01_44_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318541","file1":"1401318539","file0":"1401318538","file4":"1401318545","file5":"1401318548","file3":"1401318543"},"map_files_photo_id_array":[{"photo_id":"1401318548","filename":"file5"},{"photo_id":"1401318541","filename":"file2"},{"photo_id":"1401318545","filename":"file4"},{"photo_id":"1401318539","filename":"file1"},{"photo_id":"1401318538","filename":"file0"},{"photo_id":"1401318543","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318541":["hashtag1","hashtag2"]},{"1401318538":["hashtag1","hashtag2"]},{"1401318543":["hashtag1","hashtag2"]},{"1401318545":["hashtag1","hashtag2"]},{"1401318539":["hashtag1","hashtag2"]},{"1401318548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318541, 1401318538, 1401318543, 1401318545, 1401318539, 1401318548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.631993770599365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:39:46.834123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_01_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_45_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_35_10616.jpg', '/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_24_9624.jpg', '/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_15_9617.jpg', '/home/nano/Desktop/images/10122025/03/00/image_10122025_03_01_05_10620.jpg', '/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_54_9606.jpg', '/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_45_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_35_10616.jpg
/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_24_9624.jpg
/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_15_9617.jpg
/home/nano/Desktop/images/10122025/03/00/image_10122025_03_01_05_10620.jpg
/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_54_9606.jpg
/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_45_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":["1401318556","1401318558","1401318555","1401318560","1401318557","1401318554"],"photo_ids_order":["1401318554","1401318555","1401318556","1401318557","1401318558","1401318560"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/315d8e6cdc129bef9455d110d927cc76.jpg","text":"TemporaryFile(/tmp/multipartBody5715403475115948418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868047639,"filename":"image_10122025_03_01_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b2e7b39e9b866116ab0a33da2fac29e.jpg","text":"TemporaryFile(/tmp/multipartBody944891885057127706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868047639,"filename":"image_10122025_03_00_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/12/27/d8bb1b0756eb3dee256e70ed0f05ed1a.jpg","text":"TemporaryFile(/tmp/multipartBody7281589036684451710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868047639,"filename":"image_10122025_03_01_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/12/27/09d572cce4881d7a7ce1e7be75d9fb76.jpg","text":"TemporaryFile(/tmp/multipartBody6326243212782105933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868047639,"filename":"image_10122025_03_00_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43c2219a9547b1f1a86bd503a6dbd202.jpg","text":"TemporaryFile(/tmp/multipartBody8282613826164161661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868047639,"filename":"image_10122025_03_01_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e8af6e8a5ddeef25c5caa4835b0cf268.jpg","text":"TemporaryFile(/tmp/multipartBody7503130860461099113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868047639,"filename":"image_10122025_03_01_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318556","file1":"1401318555","file0":"1401318554","file4":"1401318558","file5":"1401318560","file3":"1401318557"},"map_files_photo_id_array":[{"photo_id":"1401318560","filename":"file5"},{"photo_id":"1401318556","filename":"file2"},{"photo_id":"1401318558","filename":"file4"},{"photo_id":"1401318555","filename":"file1"},{"photo_id":"1401318554","filename":"file0"},{"photo_id":"1401318557","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318556":["hashtag1","hashtag2"]},{"1401318558":["hashtag1","hashtag2"]},{"1401318555":["hashtag1","hashtag2"]},{"1401318560":["hashtag1","hashtag2"]},{"1401318557":["hashtag1","hashtag2"]},{"1401318554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318556, 1401318558, 1401318555, 1401318560, 1401318557, 1401318554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.513309717178345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:40:31.948676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_25_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_35_10616.jpg', '/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_15_10653.jpg', '/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_55_9605.jpg', '/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_45_10618.jpg', '/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_34_9608.jpg', '/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_25_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_35_10616.jpg
/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_15_10653.jpg
/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_55_9605.jpg
/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_45_10618.jpg
/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_34_9608.jpg
/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_25_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":["1401318576","1401318573","1401318575","1401318569","1401318571","1401318568"],"photo_ids_order":["1401318568","1401318569","1401318571","1401318573","1401318575","1401318576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7a64b018a05afd092e9f75cbf8b7ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2322691020268206956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868092762,"filename":"image_10122025_02_59_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f717a6fb2ee27995150deab1d2f024b.jpg","text":"TemporaryFile(/tmp/multipartBody4327890796887948892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868092762,"filename":"image_10122025_02_59_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3674885e14ce0fd9f3db5ebadbb78652.jpg","text":"TemporaryFile(/tmp/multipartBody8745142470398184332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868092762,"filename":"image_10122025_02_59_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/12/27/83f8dd31ea78def5985ea75fd081da66.jpg","text":"TemporaryFile(/tmp/multipartBody7501380847395190557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868092762,"filename":"image_10122025_03_00_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74292e9194f3cad251c95f9fd1c427cc.jpg","text":"TemporaryFile(/tmp/multipartBody6697873375423745809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868092762,"filename":"image_10122025_02_59_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d53ca10b43ded5c1341346276f5b032.jpg","text":"TemporaryFile(/tmp/multipartBody2221659979492980123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868092762,"filename":"image_10122025_03_00_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318571","file1":"1401318569","file0":"1401318568","file4":"1401318575","file5":"1401318576","file3":"1401318573"},"map_files_photo_id_array":[{"photo_id":"1401318576","filename":"file5"},{"photo_id":"1401318571","filename":"file2"},{"photo_id":"1401318575","filename":"file4"},{"photo_id":"1401318569","filename":"file1"},{"photo_id":"1401318568","filename":"file0"},{"photo_id":"1401318573","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318576":["hashtag1","hashtag2"]},{"1401318573":["hashtag1","hashtag2"]},{"1401318575":["hashtag1","hashtag2"]},{"1401318569":["hashtag1","hashtag2"]},{"1401318571":["hashtag1","hashtag2"]},{"1401318568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318576, 1401318573, 1401318575, 1401318569, 1401318571, 1401318568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.503650188446045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:41:17.144336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_59_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_58_05_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/58/image_10122025_02_59_05_9639.jpg', '/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_55_10632.jpg', '/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_44_9615.jpg', '/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_35_9603.jpg', '/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_25_10615.jpg', '/home/nano/Desktop/images/10122025/02/57/image_10122025_02_58_05_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/58/image_10122025_02_59_05_9639.jpg
/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_55_10632.jpg
/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_44_9615.jpg
/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_35_9603.jpg
/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_25_10615.jpg
/home/nano/Desktop/images/10122025/02/57/image_10122025_02_58_05_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":["1401318582","1401318585","1401318588","1401318581","1401318590","1401318592"],"photo_ids_order":["1401318581","1401318582","1401318585","1401318588","1401318590","1401318592"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00d944b8018f949b8d6fed177d677d08.jpg","text":"TemporaryFile(/tmp/multipartBody2313282205269392593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868137947,"filename":"image_10122025_02_58_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05a89f551f22ec89568623cdec166c14.jpg","text":"TemporaryFile(/tmp/multipartBody2643764933701069501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868137947,"filename":"image_10122025_02_58_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/12/27/b6f66a136623b83a3b1580cd9fdf93f8.jpg","text":"TemporaryFile(/tmp/multipartBody3314118360980155508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868137947,"filename":"image_10122025_02_58_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb46cda5ed8bc825f2d40f113c4710ba.jpg","text":"TemporaryFile(/tmp/multipartBody6399222436525365667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868137947,"filename":"image_10122025_02_59_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8350480dc327769c0e52f9855080701.jpg","text":"TemporaryFile(/tmp/multipartBody3237369001953379504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868137947,"filename":"image_10122025_02_58_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1ea1bbde87446b4b789fd24752df1d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4253873403880706171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868137947,"filename":"image_10122025_02_58_05_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318585","file1":"1401318582","file0":"1401318581","file4":"1401318590","file5":"1401318592","file3":"1401318588"},"map_files_photo_id_array":[{"photo_id":"1401318592","filename":"file5"},{"photo_id":"1401318585","filename":"file2"},{"photo_id":"1401318590","filename":"file4"},{"photo_id":"1401318582","filename":"file1"},{"photo_id":"1401318581","filename":"file0"},{"photo_id":"1401318588","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318582":["hashtag1","hashtag2"]},{"1401318585":["hashtag1","hashtag2"]},{"1401318588":["hashtag1","hashtag2"]},{"1401318581":["hashtag1","hashtag2"]},{"1401318590":["hashtag1","hashtag2"]},{"1401318592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318582, 1401318585, 1401318588, 1401318581, 1401318590, 1401318592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44963312149048 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:42:02.914774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_54_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_54_9635.jpg', '/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_45_9606.jpg', '/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_35_10614.jpg', '/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_24_9604.jpg', '/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_15_9610.jpg', '/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_54_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_54_9635.jpg
/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_45_9606.jpg
/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_35_10614.jpg
/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_24_9604.jpg
/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_15_9610.jpg
/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_54_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":["1401318597","1401318601","1401318609","1401318603","1401318599","1401318605"],"photo_ids_order":["1401318597","1401318599","1401318601","1401318603","1401318605","1401318609"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a9db375fcd19681dc25523b8526bb9a.jpg","text":"TemporaryFile(/tmp/multipartBody3060377639743408471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868183788,"filename":"image_10122025_02_57_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/12/27/6afee790fa743054372c3c56a1688468.jpg","text":"TemporaryFile(/tmp/multipartBody1238068353899498166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868183788,"filename":"image_10122025_02_57_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec457a1a4f6cac7e6a16884657f2a56b.jpg","text":"TemporaryFile(/tmp/multipartBody2248033338510659033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868183788,"filename":"image_10122025_02_56_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/12/27/860ae22451e560fc769da2273000855c.jpg","text":"TemporaryFile(/tmp/multipartBody5323398567945990627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868183788,"filename":"image_10122025_02_57_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/12/27/f3879775093610e001414e8d6662eb7d.jpg","text":"TemporaryFile(/tmp/multipartBody3111336135844355239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868183788,"filename":"image_10122025_02_57_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94b0c010992b22938d9920ee21e22e75.jpg","text":"TemporaryFile(/tmp/multipartBody9135105714035787692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868183788,"filename":"image_10122025_02_57_15_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318601","file1":"1401318599","file0":"1401318597","file4":"1401318605","file5":"1401318609","file3":"1401318603"},"map_files_photo_id_array":[{"photo_id":"1401318609","filename":"file5"},{"photo_id":"1401318601","filename":"file2"},{"photo_id":"1401318605","filename":"file4"},{"photo_id":"1401318599","filename":"file1"},{"photo_id":"1401318597","filename":"file0"},{"photo_id":"1401318603","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318597":["hashtag1","hashtag2"]},{"1401318601":["hashtag1","hashtag2"]},{"1401318609":["hashtag1","hashtag2"]},{"1401318603":["hashtag1","hashtag2"]},{"1401318599":["hashtag1","hashtag2"]},{"1401318605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318597, 1401318601, 1401318609, 1401318603, 1401318599, 1401318605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.488914012908936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:42:47.239277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_56_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_25_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_25_9608.jpg', '/home/nano/Desktop/images/10122025/02/55/image_10122025_02_56_04_9617.jpg', '/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_55_10617.jpg', '/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_44_9611.jpg', '/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_35_9606.jpg', '/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_25_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_25_9608.jpg
/home/nano/Desktop/images/10122025/02/55/image_10122025_02_56_04_9617.jpg
/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_55_10617.jpg
/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_44_9611.jpg
/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_35_9606.jpg
/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_25_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":["1401318628","1401318622","1401318625","1401318627","1401318624","1401318623"],"photo_ids_order":["1401318622","1401318623","1401318624","1401318625","1401318627","1401318628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c74b0dc4884f315e90b14d32c6e6ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody755403458996465305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868228040,"filename":"image_10122025_02_55_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e26851b15d2b930e625224bb1e08f50a.jpg","text":"TemporaryFile(/tmp/multipartBody2488557848624476414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868228040,"filename":"image_10122025_02_56_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6846f256ae143ca137e167edd4d7fb62.jpg","text":"TemporaryFile(/tmp/multipartBody5092937302700695650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868228040,"filename":"image_10122025_02_55_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/12/27/6a8fc4b1ca48b1ccaea3053b68e41fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5668229798476384354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868228040,"filename":"image_10122025_02_55_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/35ff92f49bdef565b595555d8911912e.jpg","text":"TemporaryFile(/tmp/multipartBody1039327941486165870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868228040,"filename":"image_10122025_02_55_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e5ff8633e224649be3f9c8c20b3dea19.jpg","text":"TemporaryFile(/tmp/multipartBody137688277549835447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868228040,"filename":"image_10122025_02_56_04_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318624","file1":"1401318623","file0":"1401318622","file4":"1401318627","file5":"1401318628","file3":"1401318625"},"map_files_photo_id_array":[{"photo_id":"1401318628","filename":"file5"},{"photo_id":"1401318624","filename":"file2"},{"photo_id":"1401318627","filename":"file4"},{"photo_id":"1401318623","filename":"file1"},{"photo_id":"1401318622","filename":"file0"},{"photo_id":"1401318625","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318628":["hashtag1","hashtag2"]},{"1401318622":["hashtag1","hashtag2"]},{"1401318625":["hashtag1","hashtag2"]},{"1401318627":["hashtag1","hashtag2"]},{"1401318624":["hashtag1","hashtag2"]},{"1401318623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318628, 1401318622, 1401318625, 1401318627, 1401318624, 1401318623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5428261756897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:43:32.341226
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/21/43/image_27122025_21_43_14_9533.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/21/43/image_27122025_21_43_14_9533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/21/43/image_27122025_21_43_14_9533.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401318637"],"photo_id":"1401318637","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/210ddaf852b0d6395976cb012bf2ce41.jpg","text":"TemporaryFile(/tmp/multipartBody4607904274480542684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868272582,"filename":"image_27122025_21_43_14_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401318637"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401318637"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.35733699798584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:43:47.365981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_55_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_54_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_14_9620.jpg', '/home/nano/Desktop/images/10122025/02/54/image_10122025_02_55_05_9617.jpg', '/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_55_10620.jpg', '/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_24_9606.jpg', '/home/nano/Desktop/images/10122025/02/53/image_10122025_02_54_05_10621.jpg', '/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_14_9620.jpg
/home/nano/Desktop/images/10122025/02/54/image_10122025_02_55_05_9617.jpg
/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_55_10620.jpg
/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_24_9606.jpg
/home/nano/Desktop/images/10122025/02/53/image_10122025_02_54_05_10621.jpg
/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_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":["1401318643","1401318645","1401318642","1401318650","1401318644","1401318647"],"photo_ids_order":["1401318642","1401318643","1401318644","1401318645","1401318647","1401318650"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d459051d415acd50a2c09bd6d1bab4f1.jpg","text":"TemporaryFile(/tmp/multipartBody3878597608434291767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868288180,"filename":"image_10122025_02_55_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc1fb4a03be8f4bc105369b6c24b8583.jpg","text":"TemporaryFile(/tmp/multipartBody5837647674469446132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868288180,"filename":"image_10122025_02_54_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/12/27/6e1bd292d589070684d265aa44f12d90.jpg","text":"TemporaryFile(/tmp/multipartBody6884000692539624962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868288180,"filename":"image_10122025_02_55_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/12/27/e0f80d5143634bbc7cbed06789e890b3.jpg","text":"TemporaryFile(/tmp/multipartBody5820752081975274624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868288180,"filename":"image_10122025_02_53_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/12/27/5a2360985205dee082a805b2bd9727fa.jpg","text":"TemporaryFile(/tmp/multipartBody6333150283149751899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868288180,"filename":"image_10122025_02_54_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/568146253d6fd3aca190eab15b5a4e22.jpg","text":"TemporaryFile(/tmp/multipartBody7517745857733189259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868288180,"filename":"image_10122025_02_54_05_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318644","file1":"1401318643","file0":"1401318642","file4":"1401318647","file5":"1401318650","file3":"1401318645"},"map_files_photo_id_array":[{"photo_id":"1401318650","filename":"file5"},{"photo_id":"1401318644","filename":"file2"},{"photo_id":"1401318647","filename":"file4"},{"photo_id":"1401318643","filename":"file1"},{"photo_id":"1401318642","filename":"file0"},{"photo_id":"1401318645","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318643":["hashtag1","hashtag2"]},{"1401318645":["hashtag1","hashtag2"]},{"1401318642":["hashtag1","hashtag2"]},{"1401318650":["hashtag1","hashtag2"]},{"1401318644":["hashtag1","hashtag2"]},{"1401318647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318643, 1401318645, 1401318642, 1401318650, 1401318644, 1401318647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63263535499573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:44:32.473243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_52_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_55_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_15_10630.jpg', '/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_45_10621.jpg', '/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', '/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_14_9620.jpg', '/home/nano/Desktop/images/10122025/02/51/image_10122025_02_52_05_9625.jpg', '/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_15_10630.jpg
/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_45_10621.jpg
/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg
/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_14_9620.jpg
/home/nano/Desktop/images/10122025/02/51/image_10122025_02_52_05_9625.jpg
/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_55_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":["1401318661","1401318662","1401318671","1401318659","1401318670","1401318667"],"photo_ids_order":["1401318659","1401318661","1401318662","1401318667","1401318670","1401318671"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5738447cfa29498e041f93023bcc2c56.jpg","text":"TemporaryFile(/tmp/multipartBody7906416425035384103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868333290,"filename":"image_10122025_02_52_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/898ce817eb311d2fbc56d5dc9449e70e.jpg","text":"TemporaryFile(/tmp/multipartBody6713245962842274789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868333290,"filename":"image_10122025_02_52_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/12/27/8c99f04ea14acfbce7cd7ec28ed4c61a.jpg","text":"TemporaryFile(/tmp/multipartBody3504535647304825316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868333290,"filename":"image_10122025_02_51_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/efc54c2ae7e96ecd518912f17cb82ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3911180767835105699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868333290,"filename":"image_10122025_02_53_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ecd080ca15170a04c8352196486161f.jpg","text":"TemporaryFile(/tmp/multipartBody2243946788151666452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868333290,"filename":"image_10122025_02_52_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/435e6719d468744d0a519e9999af63c9.jpg","text":"TemporaryFile(/tmp/multipartBody5095335532461616503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868333290,"filename":"image_10122025_02_52_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318662","file1":"1401318661","file0":"1401318659","file4":"1401318670","file5":"1401318671","file3":"1401318667"},"map_files_photo_id_array":[{"photo_id":"1401318671","filename":"file5"},{"photo_id":"1401318662","filename":"file2"},{"photo_id":"1401318670","filename":"file4"},{"photo_id":"1401318661","filename":"file1"},{"photo_id":"1401318659","filename":"file0"},{"photo_id":"1401318667","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318661":["hashtag1","hashtag2"]},{"1401318662":["hashtag1","hashtag2"]},{"1401318671":["hashtag1","hashtag2"]},{"1401318659":["hashtag1","hashtag2"]},{"1401318670":["hashtag1","hashtag2"]},{"1401318667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318661, 1401318662, 1401318671, 1401318659, 1401318670, 1401318667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.501363039016724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:45:17.553620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_55_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_24_9605.jpg', '/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_14_9622.jpg', '/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_54_9623.jpg', '/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_35_10616.jpg', '/home/nano/Desktop/images/10122025/02/49/image_10122025_02_50_04_9626.jpg', '/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_55_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_24_9605.jpg
/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_14_9622.jpg
/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_54_9623.jpg
/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_35_10616.jpg
/home/nano/Desktop/images/10122025/02/49/image_10122025_02_50_04_9626.jpg
/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_55_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":["1401318676","1401318675","1401318684","1401318678","1401318680","1401318682"],"photo_ids_order":["1401318675","1401318676","1401318678","1401318680","1401318682","1401318684"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dc88a75ed69f0bfc3e3f75df87f98ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3657579406004805614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868378348,"filename":"image_10122025_02_51_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/12/27/8c53a97efb2fcfc611056bee9bb6613d.jpg","text":"TemporaryFile(/tmp/multipartBody9073109988167773533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868378348,"filename":"image_10122025_02_51_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/12/27/2d7994eb1678ce043be8f90de99a5361.jpg","text":"TemporaryFile(/tmp/multipartBody6787809543689912113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868378348,"filename":"image_10122025_02_49_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ba5a82a60429ae1f22f513ee70fc8f4.jpg","text":"TemporaryFile(/tmp/multipartBody4285547358931021896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868378348,"filename":"image_10122025_02_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/12/27/77c3097ecdfa8fa0ae9688e33c3620a6.jpg","text":"TemporaryFile(/tmp/multipartBody7644564872001574738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868378348,"filename":"image_10122025_02_50_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22b48dda2f80c0b895a8670ec466507e.jpg","text":"TemporaryFile(/tmp/multipartBody3572323826444863863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868378348,"filename":"image_10122025_02_50_04_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318678","file1":"1401318676","file0":"1401318675","file4":"1401318682","file5":"1401318684","file3":"1401318680"},"map_files_photo_id_array":[{"photo_id":"1401318684","filename":"file5"},{"photo_id":"1401318678","filename":"file2"},{"photo_id":"1401318682","filename":"file4"},{"photo_id":"1401318676","filename":"file1"},{"photo_id":"1401318675","filename":"file0"},{"photo_id":"1401318680","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318676":["hashtag1","hashtag2"]},{"1401318675":["hashtag1","hashtag2"]},{"1401318684":["hashtag1","hashtag2"]},{"1401318678":["hashtag1","hashtag2"]},{"1401318680":["hashtag1","hashtag2"]},{"1401318682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318676, 1401318675, 1401318684, 1401318678, 1401318680, 1401318682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0860276222229 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:46:03.257826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_49_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_44_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_34_9623.jpg', '/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_25_9607.jpg', '/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_15_10629.jpg', '/home/nano/Desktop/images/10122025/02/48/image_10122025_02_49_04_9612.jpg', '/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_55_10615.jpg', '/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_34_9623.jpg
/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_25_9607.jpg
/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_15_10629.jpg
/home/nano/Desktop/images/10122025/02/48/image_10122025_02_49_04_9612.jpg
/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_55_10615.jpg
/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_44_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":["1401318696","1401318699","1401318690","1401318692","1401318689","1401318694"],"photo_ids_order":["1401318689","1401318690","1401318692","1401318694","1401318696","1401318699"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b282159de2d3fa3823f60b671a989477.jpg","text":"TemporaryFile(/tmp/multipartBody2260191837773516530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868424140,"filename":"image_10122025_02_48_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ceff2f86c6daf11f9d42136f0708e85.jpg","text":"TemporaryFile(/tmp/multipartBody6324381567425124684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868424140,"filename":"image_10122025_02_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/12/27/7eab76e446662354f3b20b6204881f45.jpg","text":"TemporaryFile(/tmp/multipartBody4653666627107855342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868424140,"filename":"image_10122025_02_49_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b26f66ef4410aa6f56cd45538a4f4ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1956158179419793047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868424140,"filename":"image_10122025_02_49_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a70f8529ac8b9a5769300dc98b030da6.jpg","text":"TemporaryFile(/tmp/multipartBody858670827620326456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868424140,"filename":"image_10122025_02_49_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/12/27/bb3fee893a0f52ec3e2dd3e57fad378f.jpg","text":"TemporaryFile(/tmp/multipartBody6967778378921883725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868424140,"filename":"image_10122025_02_49_04_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318692","file1":"1401318690","file0":"1401318689","file4":"1401318696","file5":"1401318699","file3":"1401318694"},"map_files_photo_id_array":[{"photo_id":"1401318699","filename":"file5"},{"photo_id":"1401318692","filename":"file2"},{"photo_id":"1401318696","filename":"file4"},{"photo_id":"1401318690","filename":"file1"},{"photo_id":"1401318689","filename":"file0"},{"photo_id":"1401318694","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318696":["hashtag1","hashtag2"]},{"1401318699":["hashtag1","hashtag2"]},{"1401318690":["hashtag1","hashtag2"]},{"1401318692":["hashtag1","hashtag2"]},{"1401318689":["hashtag1","hashtag2"]},{"1401318694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318696, 1401318699, 1401318690, 1401318692, 1401318689, 1401318694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.674020290374756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:46:47.677507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/02/47/image_10122025_02_47_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_47_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_15_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_25_10618.jpg', '/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_14_9641.jpg', '/home/nano/Desktop/images/10122025/02/47/image_10122025_02_47_54_9608.jpg', '/home/nano/Desktop/images/10122025/02/46/image_10122025_02_47_05_10631.jpg', '/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_25_9605.jpg', '/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_15_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_25_10618.jpg
/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_14_9641.jpg
/home/nano/Desktop/images/10122025/02/47/image_10122025_02_47_54_9608.jpg
/home/nano/Desktop/images/10122025/02/46/image_10122025_02_47_05_10631.jpg
/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_25_9605.jpg
/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_15_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":["1401318709","1401318712","1401318714","1401318708","1401318710","1401318707"],"photo_ids_order":["1401318707","1401318708","1401318709","1401318710","1401318712","1401318714"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20e0267581fa6fdb58ac8c0f804d923d.jpg","text":"TemporaryFile(/tmp/multipartBody1950075909265860414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868468479,"filename":"image_10122025_02_47_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/12/27/c950999322f396fdc59dd51aae08b05b.jpg","text":"TemporaryFile(/tmp/multipartBody7885087995380047767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868468479,"filename":"image_10122025_02_46_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69e02f8cf55cb20df64e08c93da5dd49.jpg","text":"TemporaryFile(/tmp/multipartBody2011553510021649576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868468479,"filename":"image_10122025_02_46_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/452bf92aa5aeb5002acc5efb3b730f28.jpg","text":"TemporaryFile(/tmp/multipartBody635372339488221699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868468479,"filename":"image_10122025_02_48_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/12/27/eb89ea53eb17537cdf8cd3f8c25185de.jpg","text":"TemporaryFile(/tmp/multipartBody6314765175691702153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868468479,"filename":"image_10122025_02_47_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bd6ea0a6821edeffaf85d1225ed7370a.jpg","text":"TemporaryFile(/tmp/multipartBody1691859192128089173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868468479,"filename":"image_10122025_02_48_25_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318709","file1":"1401318708","file0":"1401318707","file4":"1401318712","file5":"1401318714","file3":"1401318710"},"map_files_photo_id_array":[{"photo_id":"1401318714","filename":"file5"},{"photo_id":"1401318709","filename":"file2"},{"photo_id":"1401318712","filename":"file4"},{"photo_id":"1401318708","filename":"file1"},{"photo_id":"1401318707","filename":"file0"},{"photo_id":"1401318710","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318709":["hashtag1","hashtag2"]},{"1401318712":["hashtag1","hashtag2"]},{"1401318714":["hashtag1","hashtag2"]},{"1401318708":["hashtag1","hashtag2"]},{"1401318710":["hashtag1","hashtag2"]},{"1401318707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318709, 1401318712, 1401318714, 1401318708, 1401318710, 1401318707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.865830659866333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:47:31.848748
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_46_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_45_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_44_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/45/image_10122025_02_46_04_9617.jpg', '/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_55_10614.jpg', '/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', '/home/nano/Desktop/images/10122025/02/44/image_10122025_02_45_05_9617.jpg', '/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_55_10616.jpg', '/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/45/image_10122025_02_46_04_9617.jpg
/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_55_10614.jpg
/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg
/home/nano/Desktop/images/10122025/02/44/image_10122025_02_45_05_9617.jpg
/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_55_10616.jpg
/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_44_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":["1401318727","1401318721","1401318730","1401318729","1401318722","1401318719"],"photo_ids_order":["1401318719","1401318721","1401318722","1401318727","1401318729","1401318730"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b42de6a1c21b3fb5e37f5788ad3183f9.jpg","text":"TemporaryFile(/tmp/multipartBody2045326586016584092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868512683,"filename":"image_10122025_02_45_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/058d94fc8da54db2cee4e1d3a67f322f.jpg","text":"TemporaryFile(/tmp/multipartBody7859018152902728500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868512683,"filename":"image_10122025_02_45_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60e8beb0051305725be854d8c7ab1cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3021744469206762685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868512683,"filename":"image_10122025_02_44_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/12/27/dcbdaaafa4d810a2b74b088269b380be.jpg","text":"TemporaryFile(/tmp/multipartBody2530236959101138152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868512683,"filename":"image_10122025_02_44_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f849dcfbe576fcc5a09e536e00484d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8548607430504973489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868512683,"filename":"image_10122025_02_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/12/27/8529841199769c34582ab6dbc8c0d140.jpg","text":"TemporaryFile(/tmp/multipartBody4087809149926929983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868512683,"filename":"image_10122025_02_46_04_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318722","file1":"1401318721","file0":"1401318719","file4":"1401318729","file5":"1401318730","file3":"1401318727"},"map_files_photo_id_array":[{"photo_id":"1401318730","filename":"file5"},{"photo_id":"1401318722","filename":"file2"},{"photo_id":"1401318729","filename":"file4"},{"photo_id":"1401318721","filename":"file1"},{"photo_id":"1401318719","filename":"file0"},{"photo_id":"1401318727","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318727":["hashtag1","hashtag2"]},{"1401318721":["hashtag1","hashtag2"]},{"1401318730":["hashtag1","hashtag2"]},{"1401318729":["hashtag1","hashtag2"]},{"1401318722":["hashtag1","hashtag2"]},{"1401318719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318727, 1401318721, 1401318730, 1401318729, 1401318722, 1401318719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32827925682068 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:48:16.962874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_43_04_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_35_10616.jpg', '/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_24_9609.jpg', '/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_15_9612.jpg', '/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_54_9604.jpg', '/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_34_9623.jpg', '/home/nano/Desktop/images/10122025/02/42/image_10122025_02_43_04_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_35_10616.jpg
/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_24_9609.jpg
/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_15_9612.jpg
/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_54_9604.jpg
/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_34_9623.jpg
/home/nano/Desktop/images/10122025/02/42/image_10122025_02_43_04_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":["1401318742","1401318736","1401318738","1401318735","1401318740","1401318734"],"photo_ids_order":["1401318734","1401318735","1401318736","1401318738","1401318740","1401318742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45615c2d0804bc0b6a66d57482854298.jpg","text":"TemporaryFile(/tmp/multipartBody5539206272393282980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868557762,"filename":"image_10122025_02_43_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/12/27/e891a7723091aa5adda7e168e01c8a67.jpg","text":"TemporaryFile(/tmp/multipartBody5617084325579348063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868557762,"filename":"image_10122025_02_44_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4129f505885aa85e5d65005a5978d8fc.jpg","text":"TemporaryFile(/tmp/multipartBody8388396725103295422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868557762,"filename":"image_10122025_02_43_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/12/27/0cbcec0900d09438d78e884f71c91132.jpg","text":"TemporaryFile(/tmp/multipartBody5388792949093035808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868557762,"filename":"image_10122025_02_44_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/12/27/f569d3af68372b43f69d1d49740fce61.jpg","text":"TemporaryFile(/tmp/multipartBody2371118682107912011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868557762,"filename":"image_10122025_02_43_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/12/27/af902cff4185bac36931d9f500668380.jpg","text":"TemporaryFile(/tmp/multipartBody7435634640551747587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868557762,"filename":"image_10122025_02_44_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318736","file1":"1401318735","file0":"1401318734","file4":"1401318740","file5":"1401318742","file3":"1401318738"},"map_files_photo_id_array":[{"photo_id":"1401318742","filename":"file5"},{"photo_id":"1401318736","filename":"file2"},{"photo_id":"1401318740","filename":"file4"},{"photo_id":"1401318735","filename":"file1"},{"photo_id":"1401318734","filename":"file0"},{"photo_id":"1401318738","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318742":["hashtag1","hashtag2"]},{"1401318736":["hashtag1","hashtag2"]},{"1401318738":["hashtag1","hashtag2"]},{"1401318735":["hashtag1","hashtag2"]},{"1401318740":["hashtag1","hashtag2"]},{"1401318734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318742, 1401318736, 1401318738, 1401318735, 1401318740, 1401318734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.781720638275146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:49:03.116609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_55_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_42_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_44_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_55_9625.jpg', '/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_34_9607.jpg', '/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_14_9621.jpg', '/home/nano/Desktop/images/10122025/02/41/image_10122025_02_42_05_9619.jpg', '/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_55_10617.jpg', '/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_55_9625.jpg
/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_34_9607.jpg
/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_14_9621.jpg
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_42_05_9619.jpg
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_55_10617.jpg
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_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":["1401318757","1401318759","1401318750","1401318753","1401318761","1401318755"],"photo_ids_order":["1401318750","1401318753","1401318755","1401318757","1401318759","1401318761"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f85d9bcb43271ed266151f7264f597d.jpg","text":"TemporaryFile(/tmp/multipartBody1824694905462434138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868603962,"filename":"image_10122025_02_42_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca327a6bc92dc978727ee37e1603ccbc.jpg","text":"TemporaryFile(/tmp/multipartBody4300114283796428193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868603962,"filename":"image_10122025_02_41_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a629cd752a7321de19a796a51b5a7771.jpg","text":"TemporaryFile(/tmp/multipartBody2879708616055887427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868603962,"filename":"image_10122025_02_42_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b43d6054c2cc53764f071235266cf37.jpg","text":"TemporaryFile(/tmp/multipartBody1566539039490885175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868603962,"filename":"image_10122025_02_42_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/12/27/6a6ddd689a0242c352992ea50aab1ade.jpg","text":"TemporaryFile(/tmp/multipartBody6586521553695264088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868603962,"filename":"image_10122025_02_41_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/12/27/dfa72d36a94f6c73f283e5d78551d937.jpg","text":"TemporaryFile(/tmp/multipartBody8789546313470551720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868603962,"filename":"image_10122025_02_42_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318755","file1":"1401318753","file0":"1401318750","file4":"1401318759","file5":"1401318761","file3":"1401318757"},"map_files_photo_id_array":[{"photo_id":"1401318761","filename":"file5"},{"photo_id":"1401318755","filename":"file2"},{"photo_id":"1401318759","filename":"file4"},{"photo_id":"1401318753","filename":"file1"},{"photo_id":"1401318750","filename":"file0"},{"photo_id":"1401318757","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318757":["hashtag1","hashtag2"]},{"1401318759":["hashtag1","hashtag2"]},{"1401318750":["hashtag1","hashtag2"]},{"1401318753":["hashtag1","hashtag2"]},{"1401318761":["hashtag1","hashtag2"]},{"1401318755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318757, 1401318759, 1401318750, 1401318753, 1401318761, 1401318755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0185968875885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:49:47.055996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', '/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg', '/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_9610.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6947917938232422 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:50:02.758646
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', '/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg', '/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg
/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_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":["1401318780","1401318785","1401318773","1401318782","1401318776","1401318778"],"photo_ids_order":["1401318773","1401318776","1401318778","1401318780","1401318782","1401318785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/952a12ee2d7aca55e1c6a1e2438304eb.jpg","text":"TemporaryFile(/tmp/multipartBody8832768713494476437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868663619,"filename":"image_10122025_02_41_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/85b778aa651feb0ed78f0e5890b2bfad.jpg","text":"TemporaryFile(/tmp/multipartBody5472022591941864317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868663619,"filename":"image_10122025_02_40_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2f7295df70a7df4a3b449fe21849337d.jpg","text":"TemporaryFile(/tmp/multipartBody8318188003395858784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868663619,"filename":"image_10122025_02_41_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a17fdd5e82388d7ca7fb95696421ea49.jpg","text":"TemporaryFile(/tmp/multipartBody5697549227874354717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868663619,"filename":"image_10122025_02_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/12/27/df6f10574e41f821733d749cccb720e6.jpg","text":"TemporaryFile(/tmp/multipartBody2659566267684646614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868663619,"filename":"image_10122025_02_41_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfa0a6f2dfa59e82855b906489e061f3.jpg","text":"TemporaryFile(/tmp/multipartBody322761398645153929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868663619,"filename":"image_10122025_02_41_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318778","file1":"1401318776","file0":"1401318773","file4":"1401318782","file5":"1401318785","file3":"1401318780"},"map_files_photo_id_array":[{"photo_id":"1401318785","filename":"file5"},{"photo_id":"1401318778","filename":"file2"},{"photo_id":"1401318782","filename":"file4"},{"photo_id":"1401318776","filename":"file1"},{"photo_id":"1401318773","filename":"file0"},{"photo_id":"1401318780","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318780":["hashtag1","hashtag2"]},{"1401318785":["hashtag1","hashtag2"]},{"1401318773":["hashtag1","hashtag2"]},{"1401318782":["hashtag1","hashtag2"]},{"1401318776":["hashtag1","hashtag2"]},{"1401318778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318780, 1401318785, 1401318773, 1401318782, 1401318776, 1401318778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.080538272857666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:50:47.154631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/02/39/image_10122025_02_40_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_44_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_35_10617.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_24_9625.jpg', '/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_15_10634.jpg', '/home/nano/Desktop/images/10122025/02/39/image_10122025_02_40_04_9607.jpg', '/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_55_10617.jpg', '/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_35_10617.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_24_9625.jpg
/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_15_10634.jpg
/home/nano/Desktop/images/10122025/02/39/image_10122025_02_40_04_9607.jpg
/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_55_10617.jpg
/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_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":["1401318792","1401318798","1401318791","1401318794","1401318796","1401318793"],"photo_ids_order":["1401318791","1401318792","1401318793","1401318794","1401318796","1401318798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fde48589c71e3997753b2376c734ceae.jpg","text":"TemporaryFile(/tmp/multipartBody1110428604518698091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868707964,"filename":"image_10122025_02_40_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/12/27/7f79568c2409bc52c9d8be16dfafbaf6.jpg","text":"TemporaryFile(/tmp/multipartBody4190496886501420478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868707964,"filename":"image_10122025_02_38_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/12/27/0e17a0adc65cf8b02686d0d7f2c8b4bf.jpg","text":"TemporaryFile(/tmp/multipartBody6899783400106364587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868707964,"filename":"image_10122025_02_40_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65b00d850d67672aa14870aecf8a902c.jpg","text":"TemporaryFile(/tmp/multipartBody7230565946151565315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868707964,"filename":"image_10122025_02_40_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/12/27/415936a238f33ff41a17bb5632d9b83a.jpg","text":"TemporaryFile(/tmp/multipartBody1618151598244513742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868707964,"filename":"image_10122025_02_38_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7ec6578cf80f9b87f59472fb2e8f376f.jpg","text":"TemporaryFile(/tmp/multipartBody2325174922381106054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868707964,"filename":"image_10122025_02_40_15_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318793","file1":"1401318792","file0":"1401318791","file4":"1401318796","file5":"1401318798","file3":"1401318794"},"map_files_photo_id_array":[{"photo_id":"1401318798","filename":"file5"},{"photo_id":"1401318793","filename":"file2"},{"photo_id":"1401318796","filename":"file4"},{"photo_id":"1401318792","filename":"file1"},{"photo_id":"1401318791","filename":"file0"},{"photo_id":"1401318794","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318792":["hashtag1","hashtag2"]},{"1401318798":["hashtag1","hashtag2"]},{"1401318791":["hashtag1","hashtag2"]},{"1401318794":["hashtag1","hashtag2"]},{"1401318796":["hashtag1","hashtag2"]},{"1401318793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318792, 1401318798, 1401318791, 1401318794, 1401318796, 1401318793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.989370822906494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:51:32.248057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_35_9610.jpg', '/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_25_10616.jpg', '/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_54_9607.jpg', '/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', '/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', '/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_35_9610.jpg
/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_25_10616.jpg
/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_54_9607.jpg
/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg
/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg
/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_24_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":["1401318814","1401318808","1401318810","1401318813","1401318812","1401318806"],"photo_ids_order":["1401318806","1401318808","1401318810","1401318812","1401318813","1401318814"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0026ad1503e2b41f38cfe09f5a132e10.jpg","text":"TemporaryFile(/tmp/multipartBody1300204961170764020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868753049,"filename":"image_10122025_02_37_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/12/27/dcb7a0bd9926925e8d3a34add428493d.jpg","text":"TemporaryFile(/tmp/multipartBody7142559843485612375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868753049,"filename":"image_10122025_02_38_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5361462902d096b0ad8cfaf846824456.jpg","text":"TemporaryFile(/tmp/multipartBody4832217097750286961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868753049,"filename":"image_10122025_02_37_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/12/27/f8b0b244883f6711950128e486e9d73a.jpg","text":"TemporaryFile(/tmp/multipartBody8713624487945908562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868753049,"filename":"image_10122025_02_37_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b9a39d6a2a5d3c6946a5f2c2aba5398.jpg","text":"TemporaryFile(/tmp/multipartBody1671590637312315338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868753049,"filename":"image_10122025_02_37_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/12/27/49d6b7de628e470b764c6a3f57d7afff.jpg","text":"TemporaryFile(/tmp/multipartBody2912193937677282867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868753049,"filename":"image_10122025_02_38_35_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318810","file1":"1401318808","file0":"1401318806","file4":"1401318813","file5":"1401318814","file3":"1401318812"},"map_files_photo_id_array":[{"photo_id":"1401318814","filename":"file5"},{"photo_id":"1401318810","filename":"file2"},{"photo_id":"1401318813","filename":"file4"},{"photo_id":"1401318808","filename":"file1"},{"photo_id":"1401318806","filename":"file0"},{"photo_id":"1401318812","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318814":["hashtag1","hashtag2"]},{"1401318808":["hashtag1","hashtag2"]},{"1401318810":["hashtag1","hashtag2"]},{"1401318813":["hashtag1","hashtag2"]},{"1401318812":["hashtag1","hashtag2"]},{"1401318806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318814, 1401318808, 1401318810, 1401318813, 1401318812, 1401318806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.801915407180786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:52:17.347585
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/21/52/image_27122025_21_52_24_10533.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/21/52/image_27122025_21_52_24_10533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/21/52/image_27122025_21_52_24_10533.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401318819"],"photo_id":"1401318819","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c5d77653f7313ee76325dc408b37594.jpg","text":"TemporaryFile(/tmp/multipartBody1221899715559696956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868797590,"filename":"image_27122025_21_52_24_10533.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401318819"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401318819"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.744640111923218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:52:32.338507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_37_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_36_04_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/36/image_10122025_02_37_05_10619.jpg', '/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_54_9606.jpg', '/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_45_10635.jpg', '/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_34_9614.jpg', '/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_15_10630.jpg', '/home/nano/Desktop/images/10122025/02/35/image_10122025_02_36_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/36/image_10122025_02_37_05_10619.jpg
/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_54_9606.jpg
/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_45_10635.jpg
/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_34_9614.jpg
/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_15_10630.jpg
/home/nano/Desktop/images/10122025/02/35/image_10122025_02_36_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":["1401318835","1401318829","1401318838","1401318831","1401318839","1401318827"],"photo_ids_order":["1401318827","1401318829","1401318831","1401318835","1401318838","1401318839"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dec9307c0d1cfaf21ec7f03b8a913b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2576074980387755791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868813138,"filename":"image_10122025_02_36_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/12/27/04701e8243140ef2f523cec3ef2fda29.jpg","text":"TemporaryFile(/tmp/multipartBody4496124748973522397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868813138,"filename":"image_10122025_02_36_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/12/27/fa7e399d9b04b1a895b77f253fc12cc2.jpg","text":"TemporaryFile(/tmp/multipartBody362795711387603082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868813138,"filename":"image_10122025_02_36_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb5ea54dcc0702915c299a926e0d291f.jpg","text":"TemporaryFile(/tmp/multipartBody2956813848650046992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868813138,"filename":"image_10122025_02_36_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0241140e1269fe640c17f347ac07f8c9.jpg","text":"TemporaryFile(/tmp/multipartBody7308709333729731208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868813138,"filename":"image_10122025_02_36_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/12/27/a5b80ac704b83388d5b2369e5b50a048.jpg","text":"TemporaryFile(/tmp/multipartBody5447992633880498645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868813138,"filename":"image_10122025_02_37_05_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318831","file1":"1401318829","file0":"1401318827","file4":"1401318838","file5":"1401318839","file3":"1401318835"},"map_files_photo_id_array":[{"photo_id":"1401318839","filename":"file5"},{"photo_id":"1401318831","filename":"file2"},{"photo_id":"1401318838","filename":"file4"},{"photo_id":"1401318829","filename":"file1"},{"photo_id":"1401318827","filename":"file0"},{"photo_id":"1401318835","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318835":["hashtag1","hashtag2"]},{"1401318829":["hashtag1","hashtag2"]},{"1401318838":["hashtag1","hashtag2"]},{"1401318831":["hashtag1","hashtag2"]},{"1401318839":["hashtag1","hashtag2"]},{"1401318827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318835, 1401318829, 1401318838, 1401318831, 1401318839, 1401318827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.81502676010132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:53:17.480446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_35_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_55_10618.jpg', '/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_44_9610.jpg', '/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_14_9633.jpg', '/home/nano/Desktop/images/10122025/02/34/image_10122025_02_35_05_9615.jpg', '/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_55_10618.jpg', '/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_35_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_55_10618.jpg
/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_44_9610.jpg
/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_14_9633.jpg
/home/nano/Desktop/images/10122025/02/34/image_10122025_02_35_05_9615.jpg
/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_55_10618.jpg
/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_35_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":["1401318853","1401318855","1401318846","1401318851","1401318848","1401318844"],"photo_ids_order":["1401318844","1401318846","1401318848","1401318851","1401318853","1401318855"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9df6d553e360aab2e69d6ae3bc3e2d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3233179630375365969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868858283,"filename":"image_10122025_02_34_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5bfb90c24fb26557f54cba3f58cb040.jpg","text":"TemporaryFile(/tmp/multipartBody3520816047286581523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868858283,"filename":"image_10122025_02_34_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7242a6728c0422af07c95b6e05c3229.jpg","text":"TemporaryFile(/tmp/multipartBody3486242893070535601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868858283,"filename":"image_10122025_02_35_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/12/27/0946e241460b5392357ef7be1f25a51f.jpg","text":"TemporaryFile(/tmp/multipartBody4287318569798356649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868858283,"filename":"image_10122025_02_35_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e255eebc2b379086a33e5671f0479c1.jpg","text":"TemporaryFile(/tmp/multipartBody1045116717202084352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868858283,"filename":"image_10122025_02_35_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/12/27/d810565d8e0cc70e4c0eff8a162915b5.jpg","text":"TemporaryFile(/tmp/multipartBody1137613076878253602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868858283,"filename":"image_10122025_02_35_55_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318848","file1":"1401318846","file0":"1401318844","file4":"1401318853","file5":"1401318855","file3":"1401318851"},"map_files_photo_id_array":[{"photo_id":"1401318855","filename":"file5"},{"photo_id":"1401318848","filename":"file2"},{"photo_id":"1401318853","filename":"file4"},{"photo_id":"1401318846","filename":"file1"},{"photo_id":"1401318844","filename":"file0"},{"photo_id":"1401318851","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318853":["hashtag1","hashtag2"]},{"1401318855":["hashtag1","hashtag2"]},{"1401318846":["hashtag1","hashtag2"]},{"1401318851":["hashtag1","hashtag2"]},{"1401318848":["hashtag1","hashtag2"]},{"1401318844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318853, 1401318855, 1401318846, 1401318851, 1401318848, 1401318844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.913612365722656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:54:03.620849
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', '/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg
/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_9624.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7661604881286621 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:54:17.640484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', '/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', '/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg
/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg
/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_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":["1401318874","1401318879","1401318872","1401318881","1401318869","1401318877"],"photo_ids_order":["1401318869","1401318872","1401318874","1401318877","1401318879","1401318881"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cecb3772b5054ea3af5ffa0861a4338.jpg","text":"TemporaryFile(/tmp/multipartBody2240297468226430134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868918481,"filename":"image_10122025_02_34_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e52d0f64ab55240b8bcfa0bb33b6b84.jpg","text":"TemporaryFile(/tmp/multipartBody6795367680944988412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868918481,"filename":"image_10122025_02_33_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3af014dacec46ca3a3962b26ef2f757.jpg","text":"TemporaryFile(/tmp/multipartBody7107709207551570119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868918481,"filename":"image_10122025_02_34_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/876204e92eb1b30fb1df5a4c5d254bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1099662296666103416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868918481,"filename":"image_10122025_02_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/12/27/cdd23738fad864ccad99ccbfe8bb22bb.jpg","text":"TemporaryFile(/tmp/multipartBody8398520856612687819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868918481,"filename":"image_10122025_02_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/12/27/166a122e09ef8147e9fa7251b68c3aed.jpg","text":"TemporaryFile(/tmp/multipartBody4406455823408213513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868918481,"filename":"image_10122025_02_33_54_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318874","file1":"1401318872","file0":"1401318869","file4":"1401318879","file5":"1401318881","file3":"1401318877"},"map_files_photo_id_array":[{"photo_id":"1401318881","filename":"file5"},{"photo_id":"1401318874","filename":"file2"},{"photo_id":"1401318879","filename":"file4"},{"photo_id":"1401318872","filename":"file1"},{"photo_id":"1401318869","filename":"file0"},{"photo_id":"1401318877","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318874":["hashtag1","hashtag2"]},{"1401318879":["hashtag1","hashtag2"]},{"1401318872":["hashtag1","hashtag2"]},{"1401318881":["hashtag1","hashtag2"]},{"1401318869":["hashtag1","hashtag2"]},{"1401318877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318874, 1401318879, 1401318872, 1401318881, 1401318869, 1401318877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61674380302429 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:55:03.418621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_33_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_25_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/32/image_10122025_02_33_04_9637.jpg', '/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_45_10615.jpg', '/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_34_9606.jpg', '/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_14_9623.jpg', '/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_35_9605.jpg', '/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_25_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/32/image_10122025_02_33_04_9637.jpg
/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_45_10615.jpg
/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_34_9606.jpg
/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_14_9623.jpg
/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_35_9605.jpg
/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_25_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":["1401318888","1401318885","1401318890","1401318887","1401318895","1401318892"],"photo_ids_order":["1401318885","1401318887","1401318888","1401318890","1401318892","1401318895"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60c5d6dfe01ea9515721c95627da1e04.jpg","text":"TemporaryFile(/tmp/multipartBody3051233629362646626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868964267,"filename":"image_10122025_02_32_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/12/27/7984783bafd656fbffad33757ef93162.jpg","text":"TemporaryFile(/tmp/multipartBody5943085259982617288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868964267,"filename":"image_10122025_02_33_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/12/27/f32244d9bc2a0431182fea08c6577e12.jpg","text":"TemporaryFile(/tmp/multipartBody1923396062442126750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868964267,"filename":"image_10122025_02_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/12/27/c9b4d4526f69b354d45268efc943cd20.jpg","text":"TemporaryFile(/tmp/multipartBody7663495581006428269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868964267,"filename":"image_10122025_02_32_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9af8f944e3fcf14bab4702bdb34441f0.jpg","text":"TemporaryFile(/tmp/multipartBody7658288246591178905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868964267,"filename":"image_10122025_02_31_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89867274e86d4936112bf5b8e7398bb9.jpg","text":"TemporaryFile(/tmp/multipartBody7415590549739803284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766868964267,"filename":"image_10122025_02_31_35_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318888","file1":"1401318887","file0":"1401318885","file4":"1401318892","file5":"1401318895","file3":"1401318890"},"map_files_photo_id_array":[{"photo_id":"1401318895","filename":"file5"},{"photo_id":"1401318888","filename":"file2"},{"photo_id":"1401318892","filename":"file4"},{"photo_id":"1401318887","filename":"file1"},{"photo_id":"1401318885","filename":"file0"},{"photo_id":"1401318890","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318888":["hashtag1","hashtag2"]},{"1401318885":["hashtag1","hashtag2"]},{"1401318890":["hashtag1","hashtag2"]},{"1401318887":["hashtag1","hashtag2"]},{"1401318895":["hashtag1","hashtag2"]},{"1401318892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318888, 1401318885, 1401318890, 1401318887, 1401318895, 1401318892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93519639968872 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:55:47.765761
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_30_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_54_9605.jpg', '/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', '/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_24_9606.jpg', '/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_15_10632.jpg', '/home/nano/Desktop/images/10122025/02/29/image_10122025_02_30_04_9608.jpg', '/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_54_9605.jpg
/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg
/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_24_9606.jpg
/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_15_10632.jpg
/home/nano/Desktop/images/10122025/02/29/image_10122025_02_30_04_9608.jpg
/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_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":["1401318907","1401318904","1401318903","1401318902","1401318905","1401318908"],"photo_ids_order":["1401318902","1401318903","1401318904","1401318905","1401318907","1401318908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6dbce509cf37381080dd0b218426363b.jpg","text":"TemporaryFile(/tmp/multipartBody4434674080412166710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869008584,"filename":"image_10122025_02_30_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/12/27/f853738a42260a71181a6d82f5dc97dd.jpg","text":"TemporaryFile(/tmp/multipartBody8037870834244033791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869008584,"filename":"image_10122025_02_30_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/12/27/e0f97036fa962fdbc216cb9f93b37f82.jpg","text":"TemporaryFile(/tmp/multipartBody1518423600250943313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869008584,"filename":"image_10122025_02_30_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7e81be3d18f94c19560b678e0760aa4.jpg","text":"TemporaryFile(/tmp/multipartBody2222844802034216308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869008584,"filename":"image_10122025_02_30_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/12/27/3642fe03126763d46e696c7ec2611890.jpg","text":"TemporaryFile(/tmp/multipartBody2070052943053941354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869008584,"filename":"image_10122025_02_30_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d93f8f4eb01bb17d92ff7633febee154.jpg","text":"TemporaryFile(/tmp/multipartBody5167079150500574244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869008584,"filename":"image_10122025_02_29_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318904","file1":"1401318903","file0":"1401318902","file4":"1401318907","file5":"1401318908","file3":"1401318905"},"map_files_photo_id_array":[{"photo_id":"1401318908","filename":"file5"},{"photo_id":"1401318904","filename":"file2"},{"photo_id":"1401318907","filename":"file4"},{"photo_id":"1401318903","filename":"file1"},{"photo_id":"1401318902","filename":"file0"},{"photo_id":"1401318905","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318907":["hashtag1","hashtag2"]},{"1401318904":["hashtag1","hashtag2"]},{"1401318903":["hashtag1","hashtag2"]},{"1401318902":["hashtag1","hashtag2"]},{"1401318905":["hashtag1","hashtag2"]},{"1401318908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318907, 1401318904, 1401318903, 1401318902, 1401318905, 1401318908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8688018321991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:56:31.832187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_44_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_45_10617.jpg', '/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_34_9612.jpg', '/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_25_9606.jpg', '/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_15_10632.jpg', '/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_55_10617.jpg', '/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_45_10617.jpg
/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_34_9612.jpg
/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_25_9606.jpg
/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_15_10632.jpg
/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_55_10617.jpg
/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_44_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":["1401318925","1401318918","1401318920","1401318923","1401318917","1401318926"],"photo_ids_order":["1401318917","1401318918","1401318920","1401318923","1401318925","1401318926"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2731209ce446d0b2fa8df9f49122a6be.jpg","text":"TemporaryFile(/tmp/multipartBody6056659528998507032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869052635,"filename":"image_10122025_02_28_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4022b1f77a4092fbe8d444221bbea483.jpg","text":"TemporaryFile(/tmp/multipartBody1734399431400343975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869052635,"filename":"image_10122025_02_29_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/12/27/24237e9bbb727e67806ebee3d16ce3c8.jpg","text":"TemporaryFile(/tmp/multipartBody5581853856379130653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869052635,"filename":"image_10122025_02_29_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5512f3c4d9d5ba64fd33ed170c8e9e00.jpg","text":"TemporaryFile(/tmp/multipartBody4382426702618951520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869052635,"filename":"image_10122025_02_29_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/80cd1d5945772885bc5c16aa097fc552.jpg","text":"TemporaryFile(/tmp/multipartBody8533651672190621670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869052635,"filename":"image_10122025_02_29_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5655596193bb5c70203ba7486540ebed.jpg","text":"TemporaryFile(/tmp/multipartBody2396042676673013494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869052635,"filename":"image_10122025_02_28_44_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318920","file1":"1401318918","file0":"1401318917","file4":"1401318925","file5":"1401318926","file3":"1401318923"},"map_files_photo_id_array":[{"photo_id":"1401318926","filename":"file5"},{"photo_id":"1401318920","filename":"file2"},{"photo_id":"1401318925","filename":"file4"},{"photo_id":"1401318918","filename":"file1"},{"photo_id":"1401318917","filename":"file0"},{"photo_id":"1401318923","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318925":["hashtag1","hashtag2"]},{"1401318918":["hashtag1","hashtag2"]},{"1401318920":["hashtag1","hashtag2"]},{"1401318923":["hashtag1","hashtag2"]},{"1401318917":["hashtag1","hashtag2"]},{"1401318926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318925, 1401318918, 1401318920, 1401318923, 1401318917, 1401318926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81754112243652 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:57:16.937602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_28_05_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_35_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_35_9609.jpg', '/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_25_10617.jpg', '/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_14_9638.jpg', '/home/nano/Desktop/images/10122025/02/27/image_10122025_02_28_05_9629.jpg', '/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_44_9605.jpg', '/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_35_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_35_9609.jpg
/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_25_10617.jpg
/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_14_9638.jpg
/home/nano/Desktop/images/10122025/02/27/image_10122025_02_28_05_9629.jpg
/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_44_9605.jpg
/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_35_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":["1401318931","1401318937","1401318939","1401318933","1401318941","1401318935"],"photo_ids_order":["1401318931","1401318933","1401318935","1401318937","1401318939","1401318941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e6b4f7c31ddedf642092bf2cae89b213.jpg","text":"TemporaryFile(/tmp/multipartBody459748676744729873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869097728,"filename":"image_10122025_02_28_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be1b3212a877da0f5fcf424b6bb64b35.jpg","text":"TemporaryFile(/tmp/multipartBody1291474739157949244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869097728,"filename":"image_10122025_02_28_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07b9b8953a93188a0b84cf8999da80a6.jpg","text":"TemporaryFile(/tmp/multipartBody2790891340682148670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869097728,"filename":"image_10122025_02_27_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/12/27/3bbd9f6bedfb07aae346051c1ead88fd.jpg","text":"TemporaryFile(/tmp/multipartBody8065572671947618079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869097728,"filename":"image_10122025_02_28_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78546a471b75e1bd32f929eb9aac1617.jpg","text":"TemporaryFile(/tmp/multipartBody1335083009510309909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869097728,"filename":"image_10122025_02_27_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e9b05a3ae6260c93fac936a90a03d1db.jpg","text":"TemporaryFile(/tmp/multipartBody6792536377610759132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869097728,"filename":"image_10122025_02_28_14_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318935","file1":"1401318933","file0":"1401318931","file4":"1401318939","file5":"1401318941","file3":"1401318937"},"map_files_photo_id_array":[{"photo_id":"1401318941","filename":"file5"},{"photo_id":"1401318935","filename":"file2"},{"photo_id":"1401318939","filename":"file4"},{"photo_id":"1401318933","filename":"file1"},{"photo_id":"1401318931","filename":"file0"},{"photo_id":"1401318937","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318931":["hashtag1","hashtag2"]},{"1401318937":["hashtag1","hashtag2"]},{"1401318939":["hashtag1","hashtag2"]},{"1401318933":["hashtag1","hashtag2"]},{"1401318941":["hashtag1","hashtag2"]},{"1401318935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318931, 1401318937, 1401318939, 1401318933, 1401318941, 1401318935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65825653076172 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:58:02.419383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_15_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_27_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_25_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_15_9624.jpg', '/home/nano/Desktop/images/10122025/02/26/image_10122025_02_27_05_10623.jpg', '/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg', '/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_45_10617.jpg', '/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_34_9605.jpg', '/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_25_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_15_9624.jpg
/home/nano/Desktop/images/10122025/02/26/image_10122025_02_27_05_10623.jpg
/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg
/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_45_10617.jpg
/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_34_9605.jpg
/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_25_9608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401318946","1401318949","1401318948","1401318945","1401318950","1401318947"],"photo_ids_order":["1401318945","1401318946","1401318947","1401318948","1401318949","1401318950"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ddd3b2193060d181bcb468eca32af97.jpg","text":"TemporaryFile(/tmp/multipartBody376623876196697599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869143245,"filename":"image_10122025_02_27_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e11720c271c06b12a285ba15254f326.jpg","text":"TemporaryFile(/tmp/multipartBody4151749987420220318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869143245,"filename":"image_10122025_02_26_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/12/27/b2cde3f1e8d5559d78fcf75e509626e0.jpg","text":"TemporaryFile(/tmp/multipartBody3871887378663586386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869143245,"filename":"image_10122025_02_26_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2be1d0f74d19c5686935ab4f614f45d6.jpg","text":"TemporaryFile(/tmp/multipartBody93613385643462467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869143245,"filename":"image_10122025_02_27_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a1b2d5c1eec05cf9fe44ff47b99d6ff.jpg","text":"TemporaryFile(/tmp/multipartBody1264140308306762924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869143245,"filename":"image_10122025_02_26_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c33707ed71f49d39e321f7c2af5f32b.jpg","text":"TemporaryFile(/tmp/multipartBody4011746970938343765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869143245,"filename":"image_10122025_02_26_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401318947","file1":"1401318946","file0":"1401318945","file4":"1401318949","file5":"1401318950","file3":"1401318948"},"map_files_photo_id_array":[{"photo_id":"1401318950","filename":"file5"},{"photo_id":"1401318947","filename":"file2"},{"photo_id":"1401318949","filename":"file4"},{"photo_id":"1401318946","filename":"file1"},{"photo_id":"1401318945","filename":"file0"},{"photo_id":"1401318948","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318946":["hashtag1","hashtag2"]},{"1401318949":["hashtag1","hashtag2"]},{"1401318948":["hashtag1","hashtag2"]},{"1401318945":["hashtag1","hashtag2"]},{"1401318950":["hashtag1","hashtag2"]},{"1401318947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318946, 1401318949, 1401318948, 1401318945, 1401318950, 1401318947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17858862876892 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:59:02.997281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_25_05_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_15_10633.jpg', '/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_45_10618.jpg', '/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_34_9608.jpg', '/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_25_10616.jpg', '/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_14_9621.jpg', '/home/nano/Desktop/images/10122025/02/24/image_10122025_02_25_05_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_15_10633.jpg
/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_45_10618.jpg
/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_34_9608.jpg
/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_25_10616.jpg
/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_14_9621.jpg
/home/nano/Desktop/images/10122025/02/24/image_10122025_02_25_05_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":["1401318960","1401319104","1401319070","1401318998","1401319034","1401319136"],"photo_ids_order":["1401318960","1401318998","1401319034","1401319070","1401319104","1401319136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74c60e96752157ddeefb41ebf09330f8.jpg","text":"TemporaryFile(/tmp/multipartBody4997216805087904391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869204045,"filename":"image_10122025_02_26_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6176519a69a3f9a45709690ee2bb5a78.jpg","text":"TemporaryFile(/tmp/multipartBody1476573156966812392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869204045,"filename":"image_10122025_02_25_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5c6785220d700aaa6e06f1c50401606.jpg","text":"TemporaryFile(/tmp/multipartBody3166989495468279010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869204045,"filename":"image_10122025_02_25_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e6606efda57d25ec86dac7d1c64eaac.jpg","text":"TemporaryFile(/tmp/multipartBody8494743834005395900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869204045,"filename":"image_10122025_02_25_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc34dbd794c446d01293e392a72799c7.jpg","text":"TemporaryFile(/tmp/multipartBody7413715966964108363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869204045,"filename":"image_10122025_02_25_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/12/27/070294839ad66d775941d2648e37d211.jpg","text":"TemporaryFile(/tmp/multipartBody661713552246431182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869204045,"filename":"image_10122025_02_25_05_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401319034","file1":"1401318998","file0":"1401318960","file4":"1401319104","file5":"1401319136","file3":"1401319070"},"map_files_photo_id_array":[{"photo_id":"1401319136","filename":"file5"},{"photo_id":"1401319034","filename":"file2"},{"photo_id":"1401319104","filename":"file4"},{"photo_id":"1401318998","filename":"file1"},{"photo_id":"1401318960","filename":"file0"},{"photo_id":"1401319070","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401318960":["hashtag1","hashtag2"]},{"1401319104":["hashtag1","hashtag2"]},{"1401319070":["hashtag1","hashtag2"]},{"1401318998":["hashtag1","hashtag2"]},{"1401319034":["hashtag1","hashtag2"]},{"1401319136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401318960, 1401319104, 1401319070, 1401318998, 1401319034, 1401319136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70657205581665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 21:59:47.206542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_24_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_15_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_55_10616.jpg', '/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_15_9614.jpg', '/home/nano/Desktop/images/10122025/02/23/image_10122025_02_24_05_10633.jpg', '/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_45_9608.jpg', '/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_35_10623.jpg', '/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_15_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_55_10616.jpg
/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_15_9614.jpg
/home/nano/Desktop/images/10122025/02/23/image_10122025_02_24_05_10633.jpg
/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_45_9608.jpg
/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_35_10623.jpg
/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_15_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":["1401319359","1401319302","1401319301","1401319304","1401319375","1401319324"],"photo_ids_order":["1401319301","1401319302","1401319304","1401319324","1401319359","1401319375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07760b65df1981153b04e62568462f46.jpg","text":"TemporaryFile(/tmp/multipartBody5160239773611988266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869248009,"filename":"image_10122025_02_23_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59efa83bc57ab77684a6a47b0b3ec378.jpg","text":"TemporaryFile(/tmp/multipartBody1328129964475782733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869248009,"filename":"image_10122025_02_24_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/173a832ad1179ca5159c3ee2cf20aa35.jpg","text":"TemporaryFile(/tmp/multipartBody2177058840861752489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869248009,"filename":"image_10122025_02_24_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c537ddbb5b96195a06499f6584ec6f9.jpg","text":"TemporaryFile(/tmp/multipartBody3301121023546903533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869248009,"filename":"image_10122025_02_24_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ed0883105b0ab1021cbcdb7422681a0b.jpg","text":"TemporaryFile(/tmp/multipartBody5814274157812838584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869248009,"filename":"image_10122025_02_23_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b99ccf6e8dcd2b35b86a88468f999384.jpg","text":"TemporaryFile(/tmp/multipartBody8390671373318652288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869248009,"filename":"image_10122025_02_23_45_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401319304","file1":"1401319302","file0":"1401319301","file4":"1401319359","file5":"1401319375","file3":"1401319324"},"map_files_photo_id_array":[{"photo_id":"1401319375","filename":"file5"},{"photo_id":"1401319304","filename":"file2"},{"photo_id":"1401319359","filename":"file4"},{"photo_id":"1401319302","filename":"file1"},{"photo_id":"1401319301","filename":"file0"},{"photo_id":"1401319324","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401319359":["hashtag1","hashtag2"]},{"1401319302":["hashtag1","hashtag2"]},{"1401319301":["hashtag1","hashtag2"]},{"1401319304":["hashtag1","hashtag2"]},{"1401319375":["hashtag1","hashtag2"]},{"1401319324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401319359, 1401319302, 1401319301, 1401319304, 1401319375, 1401319324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07379770278931 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:00:32.326306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_23_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_14_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/22/image_10122025_02_23_04_9609.jpg', '/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_55_9606.jpg', '/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_45_10614.jpg', '/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_34_9606.jpg', '/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_25_10635.jpg', '/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_14_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/22/image_10122025_02_23_04_9609.jpg
/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_55_9606.jpg
/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_45_10614.jpg
/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_34_9606.jpg
/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_25_10635.jpg
/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_14_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":["1401319874","1401319562","1401319526","1401319597","1401319630","1401319927"],"photo_ids_order":["1401319526","1401319562","1401319597","1401319630","1401319874","1401319927"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46d70fdc751fdd5f03a7f6cc987fed0e.jpg","text":"TemporaryFile(/tmp/multipartBody1853654127753314243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869293155,"filename":"image_10122025_02_22_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c22e269a31f388c395af1e853ca6421.jpg","text":"TemporaryFile(/tmp/multipartBody6726332511098516205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869293155,"filename":"image_10122025_02_22_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1684075d49c4cc028cc97dbaa3844a15.jpg","text":"TemporaryFile(/tmp/multipartBody9055748818344247843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869293155,"filename":"image_10122025_02_23_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/12/27/9c294951f55684e7751534eeb8f22685.jpg","text":"TemporaryFile(/tmp/multipartBody1344464809663286908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869293155,"filename":"image_10122025_02_22_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ad604566b5548db60bfc0be428911c72.jpg","text":"TemporaryFile(/tmp/multipartBody7608979242846260450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869293155,"filename":"image_10122025_02_22_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/12/27/1431033f067d60e0353465fcc8046665.jpg","text":"TemporaryFile(/tmp/multipartBody7487384448301799470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869293155,"filename":"image_10122025_02_22_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401319597","file1":"1401319562","file0":"1401319526","file4":"1401319874","file5":"1401319927","file3":"1401319630"},"map_files_photo_id_array":[{"photo_id":"1401319927","filename":"file5"},{"photo_id":"1401319597","filename":"file2"},{"photo_id":"1401319874","filename":"file4"},{"photo_id":"1401319562","filename":"file1"},{"photo_id":"1401319526","filename":"file0"},{"photo_id":"1401319630","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401319874":["hashtag1","hashtag2"]},{"1401319562":["hashtag1","hashtag2"]},{"1401319526":["hashtag1","hashtag2"]},{"1401319597":["hashtag1","hashtag2"]},{"1401319630":["hashtag1","hashtag2"]},{"1401319927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401319874, 1401319562, 1401319526, 1401319597, 1401319630, 1401319927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38998985290527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:01:17.437677
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/22/01/image_27122025_22_01_34_9540.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/22/01/image_27122025_22_01_34_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/22/01/image_27122025_22_01_34_9540.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401320072"],"photo_id":"1401320072","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88edf22b5ccd8e0954f242ecc4fcdfc3.jpg","text":"TemporaryFile(/tmp/multipartBody253592928233867119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869337681,"filename":"image_27122025_22_01_34_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401320072"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401320072"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.041001081466675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:01:32.416963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_35_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_44_9610.jpg', '/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_25_10619.jpg', '/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_14_9620.jpg', '/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_54_9606.jpg', '/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_45_9611.jpg', '/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_35_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_44_9610.jpg
/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_25_10619.jpg
/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_14_9620.jpg
/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_54_9606.jpg
/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_45_9611.jpg
/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_35_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":["1401320148","1401320243","1401320150","1401320153","1401320213","1401320179"],"photo_ids_order":["1401320148","1401320150","1401320153","1401320179","1401320213","1401320243"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2be59bdd24bd616210c084fc9e5c477.jpg","text":"TemporaryFile(/tmp/multipartBody3662795857326831990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869353220,"filename":"image_10122025_02_21_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/12/27/2670fcc03998a32e559e0d534b7f6382.jpg","text":"TemporaryFile(/tmp/multipartBody6696008770329379603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869353220,"filename":"image_10122025_02_20_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13a526ede5feab4f1cca82bb4e7cf136.jpg","text":"TemporaryFile(/tmp/multipartBody1800411907479364450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869353220,"filename":"image_10122025_02_21_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2c51c1f297a9a259fc951451800d0aa.jpg","text":"TemporaryFile(/tmp/multipartBody9169498905833762343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869353220,"filename":"image_10122025_02_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/12/27/5d5f1915c3414d8af60abc8a57fd68b1.jpg","text":"TemporaryFile(/tmp/multipartBody4501219868606823226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869353220,"filename":"image_10122025_02_20_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5fad7b467cbd00e50078e6063a75c44c.jpg","text":"TemporaryFile(/tmp/multipartBody8913239395490201026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869353220,"filename":"image_10122025_02_20_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401320153","file1":"1401320150","file0":"1401320148","file4":"1401320213","file5":"1401320243","file3":"1401320179"},"map_files_photo_id_array":[{"photo_id":"1401320243","filename":"file5"},{"photo_id":"1401320153","filename":"file2"},{"photo_id":"1401320213","filename":"file4"},{"photo_id":"1401320150","filename":"file1"},{"photo_id":"1401320148","filename":"file0"},{"photo_id":"1401320179","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401320148":["hashtag1","hashtag2"]},{"1401320243":["hashtag1","hashtag2"]},{"1401320150":["hashtag1","hashtag2"]},{"1401320153":["hashtag1","hashtag2"]},{"1401320213":["hashtag1","hashtag2"]},{"1401320179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401320148, 1401320243, 1401320150, 1401320153, 1401320213, 1401320179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38550305366516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:02:17.516281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_20_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_15_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_15_9622.jpg', '/home/nano/Desktop/images/10122025/02/19/image_10122025_02_20_05_10627.jpg', '/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_54_9604.jpg', '/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_45_10615.jpg', '/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_25_9608.jpg', '/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_15_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_15_9622.jpg
/home/nano/Desktop/images/10122025/02/19/image_10122025_02_20_05_10627.jpg
/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_54_9604.jpg
/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_45_10615.jpg
/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_25_9608.jpg
/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_15_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":["1401320335","1401320337","1401320328","1401320322","1401320330","1401320333"],"photo_ids_order":["1401320322","1401320328","1401320330","1401320333","1401320335","1401320337"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c907535c1a9e43bba5539a585018783e.jpg","text":"TemporaryFile(/tmp/multipartBody777429776214292769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869398318,"filename":"image_10122025_02_19_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fff302b608a1552b2aad3e6d3e86b37a.jpg","text":"TemporaryFile(/tmp/multipartBody4317138882573085600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869398318,"filename":"image_10122025_02_19_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d74d303474a7c278486f263f5dfa77a.jpg","text":"TemporaryFile(/tmp/multipartBody583775267741407369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869398318,"filename":"image_10122025_02_20_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5e536ff17b4c47c07eeefeb79af879c.jpg","text":"TemporaryFile(/tmp/multipartBody1796112273634969745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869398318,"filename":"image_10122025_02_20_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c66f87b3c17f46d98c7c440fc74303b.jpg","text":"TemporaryFile(/tmp/multipartBody6649313349533666505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869398318,"filename":"image_10122025_02_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/12/27/777443c6cecef0e9a72c54c8a9a5d3f4.jpg","text":"TemporaryFile(/tmp/multipartBody9061518668929126401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869398318,"filename":"image_10122025_02_19_45_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401320330","file1":"1401320328","file0":"1401320322","file4":"1401320335","file5":"1401320337","file3":"1401320333"},"map_files_photo_id_array":[{"photo_id":"1401320337","filename":"file5"},{"photo_id":"1401320330","filename":"file2"},{"photo_id":"1401320335","filename":"file4"},{"photo_id":"1401320328","filename":"file1"},{"photo_id":"1401320322","filename":"file0"},{"photo_id":"1401320333","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401320335":["hashtag1","hashtag2"]},{"1401320337":["hashtag1","hashtag2"]},{"1401320328":["hashtag1","hashtag2"]},{"1401320322":["hashtag1","hashtag2"]},{"1401320330":["hashtag1","hashtag2"]},{"1401320333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401320335, 1401320337, 1401320328, 1401320322, 1401320330, 1401320333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97474932670593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:03:03.041230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_19_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_18_05_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/18/image_10122025_02_19_04_9611.jpg', '/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_55_10615.jpg', '/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_44_9610.jpg', '/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_25_10616.jpg', '/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_14_9618.jpg', '/home/nano/Desktop/images/10122025/02/17/image_10122025_02_18_05_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/18/image_10122025_02_19_04_9611.jpg
/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_55_10615.jpg
/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_44_9610.jpg
/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_25_10616.jpg
/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_14_9618.jpg
/home/nano/Desktop/images/10122025/02/17/image_10122025_02_18_05_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":["1401320521","1401320487","1401320553","1401320454","1401320420","1401320383"],"photo_ids_order":["1401320383","1401320420","1401320454","1401320487","1401320521","1401320553"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0816674ab01f14823a33f5e43e06a34c.jpg","text":"TemporaryFile(/tmp/multipartBody5151476690410804083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869443906,"filename":"image_10122025_02_18_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/12/27/5b08c6f9bcbcb555f3a25f9977c5fd5b.jpg","text":"TemporaryFile(/tmp/multipartBody7073671716412583037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869443906,"filename":"image_10122025_02_18_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afaebaeab1481d73265b067ceeeaf374.jpg","text":"TemporaryFile(/tmp/multipartBody9171341828026136215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869443906,"filename":"image_10122025_02_18_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3212dbe5a9ec8527cc6be802f0d72621.jpg","text":"TemporaryFile(/tmp/multipartBody5000443569116991855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869443906,"filename":"image_10122025_02_18_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/12/27/5a56a25ac7750f8078102b43d0a848f5.jpg","text":"TemporaryFile(/tmp/multipartBody7086837349415026667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869443906,"filename":"image_10122025_02_18_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/03883c901b51d545655c14d9386d2b55.jpg","text":"TemporaryFile(/tmp/multipartBody8162685054742530514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869443906,"filename":"image_10122025_02_19_04_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401320454","file1":"1401320420","file0":"1401320383","file4":"1401320521","file5":"1401320553","file3":"1401320487"},"map_files_photo_id_array":[{"photo_id":"1401320553","filename":"file5"},{"photo_id":"1401320454","filename":"file2"},{"photo_id":"1401320521","filename":"file4"},{"photo_id":"1401320420","filename":"file1"},{"photo_id":"1401320383","filename":"file0"},{"photo_id":"1401320487","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401320521":["hashtag1","hashtag2"]},{"1401320487":["hashtag1","hashtag2"]},{"1401320553":["hashtag1","hashtag2"]},{"1401320454":["hashtag1","hashtag2"]},{"1401320420":["hashtag1","hashtag2"]},{"1401320383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401320521, 1401320487, 1401320553, 1401320454, 1401320420, 1401320383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75647854804993 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:03:47.584345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_17_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg', '/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_35_10616.jpg', '/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_24_9608.jpg', '/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_15_9614.jpg', '/home/nano/Desktop/images/10122025/02/16/image_10122025_02_17_05_10621.jpg', '/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg
/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_35_10616.jpg
/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_24_9608.jpg
/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_15_9614.jpg
/home/nano/Desktop/images/10122025/02/16/image_10122025_02_17_05_10621.jpg
/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_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":["1401320769","1401320885","1401320870","1401320834","1401320801","1401320887"],"photo_ids_order":["1401320769","1401320801","1401320834","1401320870","1401320885","1401320887"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a5c3cc468cbb49ea432dc1a55b0ae558.jpg","text":"TemporaryFile(/tmp/multipartBody8241801770989756736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869488382,"filename":"image_10122025_02_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/12/27/3c8c305bdf62c0b47940645b3abe9ede.jpg","text":"TemporaryFile(/tmp/multipartBody5117602853251108516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869488382,"filename":"image_10122025_02_17_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb58d9a578159cc85db9c98b054c4ede.jpg","text":"TemporaryFile(/tmp/multipartBody3164303806750114400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869488382,"filename":"image_10122025_02_17_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36f8ea4ee37fd7993559b4e513c4335c.jpg","text":"TemporaryFile(/tmp/multipartBody8742391413972106084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869488382,"filename":"image_10122025_02_17_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/12/27/1a8969e1fd95cd55804344d43b7c27aa.jpg","text":"TemporaryFile(/tmp/multipartBody5697321002067267376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869488382,"filename":"image_10122025_02_17_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b86378a2b276a67e1fc35e233ede9fc.jpg","text":"TemporaryFile(/tmp/multipartBody7732535506266224501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869488382,"filename":"image_10122025_02_16_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401320834","file1":"1401320801","file0":"1401320769","file4":"1401320885","file5":"1401320887","file3":"1401320870"},"map_files_photo_id_array":[{"photo_id":"1401320887","filename":"file5"},{"photo_id":"1401320834","filename":"file2"},{"photo_id":"1401320885","filename":"file4"},{"photo_id":"1401320801","filename":"file1"},{"photo_id":"1401320769","filename":"file0"},{"photo_id":"1401320870","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401320769":["hashtag1","hashtag2"]},{"1401320885":["hashtag1","hashtag2"]},{"1401320870":["hashtag1","hashtag2"]},{"1401320834":["hashtag1","hashtag2"]},{"1401320801":["hashtag1","hashtag2"]},{"1401320887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401320769, 1401320885, 1401320870, 1401320834, 1401320801, 1401320887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.039772272109985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:04:32.694071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_34_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_45_10616.jpg', '/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_34_9608.jpg', '/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_25_9608.jpg', '/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_15_10634.jpg', '/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_44_9607.jpg', '/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_45_10616.jpg
/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_34_9608.jpg
/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_25_9608.jpg
/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_15_10634.jpg
/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_44_9607.jpg
/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_34_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":["1401321054","1401320985","1401321038","1401321023","1401320981","1401320983"],"photo_ids_order":["1401320981","1401320983","1401320985","1401321023","1401321038","1401321054"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/474b18c4f481f211994a1499c9b12623.jpg","text":"TemporaryFile(/tmp/multipartBody7283017311241521891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869533508,"filename":"image_10122025_02_15_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/12/27/fb86683f2bd25e8b7b6c1454ca015cf6.jpg","text":"TemporaryFile(/tmp/multipartBody749027838383487713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869533508,"filename":"image_10122025_02_16_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c08d987c1cb01dfae7a248d5cec4bd4.jpg","text":"TemporaryFile(/tmp/multipartBody5141781188906081439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869533508,"filename":"image_10122025_02_15_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/12/27/d51bd37d94bb926a161a630fd594e79b.jpg","text":"TemporaryFile(/tmp/multipartBody9210407943352290851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869533508,"filename":"image_10122025_02_16_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ce96ac777bb95a0048ffb2e17a105b61.jpg","text":"TemporaryFile(/tmp/multipartBody2212131940805849926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869533508,"filename":"image_10122025_02_16_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db4ee5de4ac53173a96635a2b217c076.jpg","text":"TemporaryFile(/tmp/multipartBody6169275473819544893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869533508,"filename":"image_10122025_02_16_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401320985","file1":"1401320983","file0":"1401320981","file4":"1401321038","file5":"1401321054","file3":"1401321023"},"map_files_photo_id_array":[{"photo_id":"1401321054","filename":"file5"},{"photo_id":"1401320985","filename":"file2"},{"photo_id":"1401321038","filename":"file4"},{"photo_id":"1401320983","filename":"file1"},{"photo_id":"1401320981","filename":"file0"},{"photo_id":"1401321023","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401321054":["hashtag1","hashtag2"]},{"1401320985":["hashtag1","hashtag2"]},{"1401321038":["hashtag1","hashtag2"]},{"1401321023":["hashtag1","hashtag2"]},{"1401320981":["hashtag1","hashtag2"]},{"1401320983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401321054, 1401320985, 1401321038, 1401321023, 1401320981, 1401320983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49821591377258 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:05:16.778407
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_15_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_25_10617.jpg', '/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_14_9637.jpg', '/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_35_10613.jpg', '/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_24_9626.jpg', '/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_15_9627.jpg', '/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_25_10617.jpg
/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_14_9637.jpg
/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_35_10613.jpg
/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_24_9626.jpg
/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_15_9627.jpg
/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_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":["1401321093","1401321102","1401321110","1401321094","1401321097","1401321100"],"photo_ids_order":["1401321093","1401321094","1401321097","1401321100","1401321102","1401321110"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00e92959346304814b0957b632673fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4284275058225047405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869577576,"filename":"image_10122025_02_15_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76d93fa5b913e3032853b54ad6146df8.jpg","text":"TemporaryFile(/tmp/multipartBody4985300215728563557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869577576,"filename":"image_10122025_02_14_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d373565062b657ec6a3af08f948fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody1187185677864898442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869577576,"filename":"image_10122025_02_13_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/12/27/881784675241a7a0dafbf22e331159e4.jpg","text":"TemporaryFile(/tmp/multipartBody3759011523276964520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869577576,"filename":"image_10122025_02_15_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/12/27/1b1cf5400a573400a43176f8eaa9621f.jpg","text":"TemporaryFile(/tmp/multipartBody4661166361125854420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869577576,"filename":"image_10122025_02_14_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e33292cf9f85c70e60d93121792c9ba.jpg","text":"TemporaryFile(/tmp/multipartBody2447192042042505214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869577576,"filename":"image_10122025_02_14_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401321097","file1":"1401321094","file0":"1401321093","file4":"1401321102","file5":"1401321110","file3":"1401321100"},"map_files_photo_id_array":[{"photo_id":"1401321110","filename":"file5"},{"photo_id":"1401321097","filename":"file2"},{"photo_id":"1401321102","filename":"file4"},{"photo_id":"1401321094","filename":"file1"},{"photo_id":"1401321093","filename":"file0"},{"photo_id":"1401321100","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401321093":["hashtag1","hashtag2"]},{"1401321102":["hashtag1","hashtag2"]},{"1401321110":["hashtag1","hashtag2"]},{"1401321094":["hashtag1","hashtag2"]},{"1401321097":["hashtag1","hashtag2"]},{"1401321100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401321093, 1401321102, 1401321110, 1401321094, 1401321097, 1401321100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.750874280929565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:06:02.499554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_45_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_45_9611.jpg', '/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_35_10620.jpg', '/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_24_9607.jpg', '/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_15_10652.jpg', '/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_55_9611.jpg', '/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_45_9611.jpg
/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_35_10620.jpg
/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_24_9607.jpg
/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_15_10652.jpg
/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_55_9611.jpg
/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_45_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":["1401321357","1401321423","1401321389","1401321455","1401321490","1401321323"],"photo_ids_order":["1401321323","1401321357","1401321389","1401321423","1401321455","1401321490"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eef3fad91abd5235b4f98e4c7f76e4e2.jpg","text":"TemporaryFile(/tmp/multipartBody6149256051639634308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869623411,"filename":"image_10122025_02_13_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c3f69e14df3c93f64568b66b600fdee4.jpg","text":"TemporaryFile(/tmp/multipartBody3286119109311253408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869623411,"filename":"image_10122025_02_13_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f306dc6201dc099742e816c9d61327e9.jpg","text":"TemporaryFile(/tmp/multipartBody6848148274408712015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869623411,"filename":"image_10122025_02_13_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/12/27/c4166278b42cf1b21561a412b3bafc41.jpg","text":"TemporaryFile(/tmp/multipartBody9042370350888563404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869623411,"filename":"image_10122025_02_12_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39c5043ec22c18fa0e81b5ef96965cc1.jpg","text":"TemporaryFile(/tmp/multipartBody9053366417457317694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869623411,"filename":"image_10122025_02_12_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7f9bc4dbad8c67716d752dd6c3efeb3.jpg","text":"TemporaryFile(/tmp/multipartBody5364399837109933539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869623411,"filename":"image_10122025_02_13_45_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401321389","file1":"1401321357","file0":"1401321323","file4":"1401321455","file5":"1401321490","file3":"1401321423"},"map_files_photo_id_array":[{"photo_id":"1401321490","filename":"file5"},{"photo_id":"1401321389","filename":"file2"},{"photo_id":"1401321455","filename":"file4"},{"photo_id":"1401321357","filename":"file1"},{"photo_id":"1401321323","filename":"file0"},{"photo_id":"1401321423","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401321357":["hashtag1","hashtag2"]},{"1401321423":["hashtag1","hashtag2"]},{"1401321389":["hashtag1","hashtag2"]},{"1401321455":["hashtag1","hashtag2"]},{"1401321490":["hashtag1","hashtag2"]},{"1401321323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401321357, 1401321423, 1401321389, 1401321455, 1401321490, 1401321323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01986265182495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:06:46.886032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_12_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_14_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_25_9624.jpg', '/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_15_10633.jpg', '/home/nano/Desktop/images/10122025/02/11/image_10122025_02_12_04_9615.jpg', '/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_55_10617.jpg', '/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_35_9605.jpg', '/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_14_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_25_9624.jpg
/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_15_10633.jpg
/home/nano/Desktop/images/10122025/02/11/image_10122025_02_12_04_9615.jpg
/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_55_10617.jpg
/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_35_9605.jpg
/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_14_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":["1401322052","1401322087","1401322007","1401321886","1401321946","1401321814"],"photo_ids_order":["1401321814","1401321886","1401321946","1401322007","1401322052","1401322087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ed6b9e8a2368dc1433fdfc5e488aafe.jpg","text":"TemporaryFile(/tmp/multipartBody827758476832644791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869667685,"filename":"image_10122025_02_11_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5b25905dcdc168ff9388a11e09cdbb15.jpg","text":"TemporaryFile(/tmp/multipartBody4260102906529464209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869667685,"filename":"image_10122025_02_11_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/12/27/131dc767bf3af47c81fe64e22efa0050.jpg","text":"TemporaryFile(/tmp/multipartBody7045579566929993586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869667685,"filename":"image_10122025_02_11_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be65b93421d8ee0f1914b9f96eb3bd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4990235298696670717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869667685,"filename":"image_10122025_02_12_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44a9c8a8cdc469d83370f2fd6aa64375.jpg","text":"TemporaryFile(/tmp/multipartBody1448021511337550219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869667685,"filename":"image_10122025_02_12_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/12/27/959a887f0b49884926e954e27e22ddd2.jpg","text":"TemporaryFile(/tmp/multipartBody8702499258401863113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869667685,"filename":"image_10122025_02_12_25_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401321946","file1":"1401321886","file0":"1401321814","file4":"1401322052","file5":"1401322087","file3":"1401322007"},"map_files_photo_id_array":[{"photo_id":"1401322087","filename":"file5"},{"photo_id":"1401321946","filename":"file2"},{"photo_id":"1401322052","filename":"file4"},{"photo_id":"1401321886","filename":"file1"},{"photo_id":"1401321814","filename":"file0"},{"photo_id":"1401322007","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401322052":["hashtag1","hashtag2"]},{"1401322087":["hashtag1","hashtag2"]},{"1401322007":["hashtag1","hashtag2"]},{"1401321886":["hashtag1","hashtag2"]},{"1401321946":["hashtag1","hashtag2"]},{"1401321814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401322052, 1401322087, 1401322007, 1401321886, 1401321946, 1401321814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63894820213318 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:07:32.110362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_11_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_15_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/10/image_10122025_02_11_05_10627.jpg', '/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_54_9604.jpg', '/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_45_9610.jpg', '/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_35_10617.jpg', '/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_24_9606.jpg', '/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_15_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/10/image_10122025_02_11_05_10627.jpg
/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_54_9604.jpg
/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_45_9610.jpg
/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_35_10617.jpg
/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_24_9606.jpg
/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_15_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":["1401322374","1401322442","1401322538","1401322576","1401322474","1401322507"],"photo_ids_order":["1401322374","1401322442","1401322474","1401322507","1401322538","1401322576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/869e397ebbcbf3438836ee128c92a836.jpg","text":"TemporaryFile(/tmp/multipartBody5049511379870792390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869712906,"filename":"image_10122025_02_11_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f34ee91efada998d6f77abeb3da74114.jpg","text":"TemporaryFile(/tmp/multipartBody2980134925443763185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869712906,"filename":"image_10122025_02_10_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/12/27/8bd0f6cdfdd171d02c4721dd5fc4003f.jpg","text":"TemporaryFile(/tmp/multipartBody5929067201861848937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869712906,"filename":"image_10122025_02_10_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/12/27/b733fa6c4c57e68cd69f17e86133b921.jpg","text":"TemporaryFile(/tmp/multipartBody999195225432145879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869712906,"filename":"image_10122025_02_10_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fc4470a46e099b4056f7e6c1c84bb81.jpg","text":"TemporaryFile(/tmp/multipartBody7067338249440073008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869712906,"filename":"image_10122025_02_10_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7205df47b52e73caa9cc4d974e42d1b5.jpg","text":"TemporaryFile(/tmp/multipartBody947069190739156751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869712906,"filename":"image_10122025_02_10_35_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401322474","file1":"1401322442","file0":"1401322374","file4":"1401322538","file5":"1401322576","file3":"1401322507"},"map_files_photo_id_array":[{"photo_id":"1401322576","filename":"file5"},{"photo_id":"1401322474","filename":"file2"},{"photo_id":"1401322538","filename":"file4"},{"photo_id":"1401322442","filename":"file1"},{"photo_id":"1401322374","filename":"file0"},{"photo_id":"1401322507","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401322374":["hashtag1","hashtag2"]},{"1401322442":["hashtag1","hashtag2"]},{"1401322538":["hashtag1","hashtag2"]},{"1401322576":["hashtag1","hashtag2"]},{"1401322474":["hashtag1","hashtag2"]},{"1401322507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401322374, 1401322442, 1401322538, 1401322576, 1401322474, 1401322507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18596172332764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:08:17.107900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_10_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_45_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_09_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_55_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/09/image_10122025_02_10_05_10627.jpg', '/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_54_9606.jpg', '/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_45_10637.jpg', '/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_34_9624.jpg', '/home/nano/Desktop/images/10122025/02/08/image_10122025_02_09_04_9635.jpg', '/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/09/image_10122025_02_10_05_10627.jpg
/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_54_9606.jpg
/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_45_10637.jpg
/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_34_9624.jpg
/home/nano/Desktop/images/10122025/02/08/image_10122025_02_09_04_9635.jpg
/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_55_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":["1401322778","1401322823","1401322706","1401322825","1401322810","1401322740"],"photo_ids_order":["1401322706","1401322740","1401322778","1401322810","1401322823","1401322825"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdd2738f98c44f87ba5567bb3ac73edf.jpg","text":"TemporaryFile(/tmp/multipartBody1724245239502355441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869757926,"filename":"image_10122025_02_09_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f54506074da1777764866b26f5288c9.jpg","text":"TemporaryFile(/tmp/multipartBody3149101773115065056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869757926,"filename":"image_10122025_02_09_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/12/27/ae8730916132b660ea89df349e93fc9c.jpg","text":"TemporaryFile(/tmp/multipartBody1735853177869391713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869757926,"filename":"image_10122025_02_10_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c67318ccff1ef8da82daada8912b9ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3977882255423390340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869757926,"filename":"image_10122025_02_08_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/66e89876e5928e8cea18bf14894242c7.jpg","text":"TemporaryFile(/tmp/multipartBody6384494315533332236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869757926,"filename":"image_10122025_02_09_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/12/27/3ff6586cdad09ae463aa46b928f145c2.jpg","text":"TemporaryFile(/tmp/multipartBody4334134221580131205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869757926,"filename":"image_10122025_02_09_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401322778","file1":"1401322740","file0":"1401322706","file4":"1401322823","file5":"1401322825","file3":"1401322810"},"map_files_photo_id_array":[{"photo_id":"1401322825","filename":"file5"},{"photo_id":"1401322778","filename":"file2"},{"photo_id":"1401322823","filename":"file4"},{"photo_id":"1401322740","filename":"file1"},{"photo_id":"1401322706","filename":"file0"},{"photo_id":"1401322810","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401322778":["hashtag1","hashtag2"]},{"1401322823":["hashtag1","hashtag2"]},{"1401322706":["hashtag1","hashtag2"]},{"1401322825":["hashtag1","hashtag2"]},{"1401322810":["hashtag1","hashtag2"]},{"1401322740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401322778, 1401322823, 1401322706, 1401322825, 1401322810, 1401322740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.580501556396484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:09:02.971499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_08_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_44_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_45_10619.jpg', '/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg', '/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_25_10617.jpg', '/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_14_9618.jpg', '/home/nano/Desktop/images/10122025/02/07/image_10122025_02_08_05_9614.jpg', '/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_45_10619.jpg
/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg
/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_25_10617.jpg
/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_14_9618.jpg
/home/nano/Desktop/images/10122025/02/07/image_10122025_02_08_05_9614.jpg
/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_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":["1401322952","1401322946","1401322955","1401322940","1401322948","1401322950"],"photo_ids_order":["1401322940","1401322946","1401322948","1401322950","1401322952","1401322955"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78924bf4717ab8cbc3610c7ab32cc866.jpg","text":"TemporaryFile(/tmp/multipartBody1987848591307379492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869803987,"filename":"image_10122025_02_08_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8767ec6676347146922e5f68f5936cc.jpg","text":"TemporaryFile(/tmp/multipartBody2191142731175695091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869803987,"filename":"image_10122025_02_08_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/12/27/f156795e8c29abc33d5ccc422ff709ba.jpg","text":"TemporaryFile(/tmp/multipartBody637987222143167871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869803987,"filename":"image_10122025_02_07_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/12/27/f85bf6b7c2cfa938e2335bbbc0b651f5.jpg","text":"TemporaryFile(/tmp/multipartBody8158388972606540458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869803987,"filename":"image_10122025_02_08_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2dec8e0974b4ed0021f1ab3885b982f9.jpg","text":"TemporaryFile(/tmp/multipartBody8614394439700785356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869803987,"filename":"image_10122025_02_08_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/463e7bbe52417d5ed02c5feb310aef66.jpg","text":"TemporaryFile(/tmp/multipartBody6428234156116025184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869803987,"filename":"image_10122025_02_08_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401322948","file1":"1401322946","file0":"1401322940","file4":"1401322952","file5":"1401322955","file3":"1401322950"},"map_files_photo_id_array":[{"photo_id":"1401322955","filename":"file5"},{"photo_id":"1401322948","filename":"file2"},{"photo_id":"1401322952","filename":"file4"},{"photo_id":"1401322946","filename":"file1"},{"photo_id":"1401322940","filename":"file0"},{"photo_id":"1401322950","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401322952":["hashtag1","hashtag2"]},{"1401322946":["hashtag1","hashtag2"]},{"1401322955":["hashtag1","hashtag2"]},{"1401322940":["hashtag1","hashtag2"]},{"1401322948":["hashtag1","hashtag2"]},{"1401322950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401322952, 1401322946, 1401322955, 1401322940, 1401322948, 1401322950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45238780975342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:09:47.210171
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_07_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_06_04_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_24_9607.jpg', '/home/nano/Desktop/images/10122025/02/06/image_10122025_02_07_05_10635.jpg', '/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_54_9608.jpg', '/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_45_9607.jpg', '/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_15_10640.jpg', '/home/nano/Desktop/images/10122025/02/05/image_10122025_02_06_04_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_24_9607.jpg
/home/nano/Desktop/images/10122025/02/06/image_10122025_02_07_05_10635.jpg
/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_54_9608.jpg
/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_45_9607.jpg
/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_15_10640.jpg
/home/nano/Desktop/images/10122025/02/05/image_10122025_02_06_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":["1401323195","1401323264","1401323228","1401323125","1401323298","1401323160"],"photo_ids_order":["1401323125","1401323160","1401323195","1401323228","1401323264","1401323298"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3e236299f0fb0daf8b42bb70515b279d.jpg","text":"TemporaryFile(/tmp/multipartBody8105054779029399202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869848026,"filename":"image_10122025_02_06_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/12/27/9bec72f07137454748ccee3c3cb4e9c2.jpg","text":"TemporaryFile(/tmp/multipartBody7949727721658188661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869848026,"filename":"image_10122025_02_06_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb132e273ac967066fb61197c747f0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6591817257321052403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869848026,"filename":"image_10122025_02_06_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0d8ab2a62eaf09df7f4cde3d6ae59457.jpg","text":"TemporaryFile(/tmp/multipartBody976860690874843760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869848026,"filename":"image_10122025_02_07_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/12/27/eb48ec372435be60556e2d2ad936041d.jpg","text":"TemporaryFile(/tmp/multipartBody4218384104435255127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869848026,"filename":"image_10122025_02_06_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/12/27/db1af303d2e3d327f84c9c7d80868f57.jpg","text":"TemporaryFile(/tmp/multipartBody5643340608926260109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869848026,"filename":"image_10122025_02_07_05_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401323195","file1":"1401323160","file0":"1401323125","file4":"1401323264","file5":"1401323298","file3":"1401323228"},"map_files_photo_id_array":[{"photo_id":"1401323298","filename":"file5"},{"photo_id":"1401323195","filename":"file2"},{"photo_id":"1401323264","filename":"file4"},{"photo_id":"1401323160","filename":"file1"},{"photo_id":"1401323125","filename":"file0"},{"photo_id":"1401323228","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401323195":["hashtag1","hashtag2"]},{"1401323264":["hashtag1","hashtag2"]},{"1401323228":["hashtag1","hashtag2"]},{"1401323125":["hashtag1","hashtag2"]},{"1401323298":["hashtag1","hashtag2"]},{"1401323160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401323195, 1401323264, 1401323228, 1401323125, 1401323298, 1401323160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63600564002991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:10:32.306210
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/22/10/image_27122025_22_10_44_10532.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/22/10/image_27122025_22_10_44_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/22/10/image_27122025_22_10_44_10532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401323648"],"photo_id":"1401323648","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca7a1b56ff3b85b9ce6dceb33f2bf49f.jpg","text":"TemporaryFile(/tmp/multipartBody3232045473373043357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869892547,"filename":"image_27122025_22_10_44_10532.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401323648"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401323648"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.885173320770264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:10:47.283433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_05_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_25_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_55_9610.jpg', '/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_34_9606.jpg', '/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_25_9606.jpg', '/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_15_10630.jpg', '/home/nano/Desktop/images/10122025/02/04/image_10122025_02_05_04_9619.jpg', '/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_25_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_55_9610.jpg
/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_34_9606.jpg
/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_25_9606.jpg
/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_15_10630.jpg
/home/nano/Desktop/images/10122025/02/04/image_10122025_02_05_04_9619.jpg
/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_25_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":["1401323910","1401323945","1401324079","1401323977","1401324010","1401324045"],"photo_ids_order":["1401323910","1401323945","1401323977","1401324010","1401324045","1401324079"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dddd8d60d714b4df5e91d1c3a618d18.jpg","text":"TemporaryFile(/tmp/multipartBody3734355475429300477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869908106,"filename":"image_10122025_02_05_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b85bc222f281c8d6a288a379b5d0f44.jpg","text":"TemporaryFile(/tmp/multipartBody8926638154660860360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869908106,"filename":"image_10122025_02_05_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/12/27/2532789431a7f5e8843d2518dd3de22a.jpg","text":"TemporaryFile(/tmp/multipartBody5313592861763159206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869908106,"filename":"image_10122025_02_04_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56d9670e546106b4e723b63619c172fa.jpg","text":"TemporaryFile(/tmp/multipartBody5250410636513566258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869908106,"filename":"image_10122025_02_05_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ef7432009801207040dacdac111bfb4.jpg","text":"TemporaryFile(/tmp/multipartBody2964013696972673277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869908106,"filename":"image_10122025_02_05_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/12c3da1326cd8d0a0ffaf7465fe3f248.jpg","text":"TemporaryFile(/tmp/multipartBody407181434006026953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869908106,"filename":"image_10122025_02_05_04_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401323977","file1":"1401323945","file0":"1401323910","file4":"1401324045","file5":"1401324079","file3":"1401324010"},"map_files_photo_id_array":[{"photo_id":"1401324079","filename":"file5"},{"photo_id":"1401323977","filename":"file2"},{"photo_id":"1401324045","filename":"file4"},{"photo_id":"1401323945","filename":"file1"},{"photo_id":"1401323910","filename":"file0"},{"photo_id":"1401324010","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401323910":["hashtag1","hashtag2"]},{"1401323945":["hashtag1","hashtag2"]},{"1401324079":["hashtag1","hashtag2"]},{"1401323977":["hashtag1","hashtag2"]},{"1401324010":["hashtag1","hashtag2"]},{"1401324045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401323910, 1401323945, 1401324079, 1401323977, 1401324010, 1401324045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44063377380371 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:11:32.460501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_04_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_14_9613.jpg', '/home/nano/Desktop/images/10122025/02/03/image_10122025_02_04_05_10650.jpg', '/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_54_9606.jpg', '/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_45_9607.jpg', '/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_35_10618.jpg', '/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_14_9613.jpg
/home/nano/Desktop/images/10122025/02/03/image_10122025_02_04_05_10650.jpg
/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_54_9606.jpg
/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_45_9607.jpg
/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_35_10618.jpg
/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_24_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":["1401324518","1401324649","1401324873","1401324882","1401324777","1401324825"],"photo_ids_order":["1401324518","1401324649","1401324777","1401324825","1401324873","1401324882"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/054b27c4ea4de07c55fa1b53fe24f752.jpg","text":"TemporaryFile(/tmp/multipartBody7755594467795830930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869953276,"filename":"image_10122025_02_04_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/12/27/42fb62ef816722d439a85a7d74e734d7.jpg","text":"TemporaryFile(/tmp/multipartBody4611905459332598516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869953276,"filename":"image_10122025_02_04_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e883339ff6963fbc2468ab1bff5c1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2603157578293768176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869953276,"filename":"image_10122025_02_03_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b7ccd9dde296a3a3e6519a77489f49b.jpg","text":"TemporaryFile(/tmp/multipartBody9107012498529075385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869953276,"filename":"image_10122025_02_03_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/12/27/1e107e848b27d731ff5ee8b5ae9d6c0a.jpg","text":"TemporaryFile(/tmp/multipartBody5632151849274006848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869953276,"filename":"image_10122025_02_03_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/12/27/e1d5062c139f27636df749988d051ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4575440688010492300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869953276,"filename":"image_10122025_02_03_45_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401324777","file1":"1401324649","file0":"1401324518","file4":"1401324873","file5":"1401324882","file3":"1401324825"},"map_files_photo_id_array":[{"photo_id":"1401324882","filename":"file5"},{"photo_id":"1401324777","filename":"file2"},{"photo_id":"1401324873","filename":"file4"},{"photo_id":"1401324649","filename":"file1"},{"photo_id":"1401324518","filename":"file0"},{"photo_id":"1401324825","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401324518":["hashtag1","hashtag2"]},{"1401324649":["hashtag1","hashtag2"]},{"1401324873":["hashtag1","hashtag2"]},{"1401324882":["hashtag1","hashtag2"]},{"1401324777":["hashtag1","hashtag2"]},{"1401324825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401324518, 1401324649, 1401324873, 1401324882, 1401324777, 1401324825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56751251220703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:12:17.511014
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_03_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_15_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_15_9623.jpg', '/home/nano/Desktop/images/10122025/02/02/image_10122025_02_03_05_10642.jpg', '/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_54_9608.jpg', '/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_34_9606.jpg', '/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_25_9623.jpg', '/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_15_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_15_9623.jpg
/home/nano/Desktop/images/10122025/02/02/image_10122025_02_03_05_10642.jpg
/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_54_9608.jpg
/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_34_9606.jpg
/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_25_9623.jpg
/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_15_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":["1401325146","1401325145","1401325067","1401325133","1401325142","1401325099"],"photo_ids_order":["1401325067","1401325099","1401325133","1401325142","1401325145","1401325146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/514aa58dee9cc7c8e3186eaa15f800b2.jpg","text":"TemporaryFile(/tmp/multipartBody324561609293216337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869998308,"filename":"image_10122025_02_02_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93d827ec6468b557d09505dfb42de41c.jpg","text":"TemporaryFile(/tmp/multipartBody2099605859692219831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869998308,"filename":"image_10122025_02_02_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e9f1cbd24f53e52b94bca87f7c7506b.jpg","text":"TemporaryFile(/tmp/multipartBody4525663714732138742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869998308,"filename":"image_10122025_02_03_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4fed3193b2a6c8d730499e05c4977b37.jpg","text":"TemporaryFile(/tmp/multipartBody1207156421886881215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869998308,"filename":"image_10122025_02_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/12/27/970d374dd7697dfb9968a9083cafc060.jpg","text":"TemporaryFile(/tmp/multipartBody4146662075107197620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869998308,"filename":"image_10122025_02_02_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/12/27/75ba435c64ca6298f39ea85370a6ae2c.jpg","text":"TemporaryFile(/tmp/multipartBody2021175627654185242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766869998308,"filename":"image_10122025_02_03_05_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401325133","file1":"1401325099","file0":"1401325067","file4":"1401325145","file5":"1401325146","file3":"1401325142"},"map_files_photo_id_array":[{"photo_id":"1401325146","filename":"file5"},{"photo_id":"1401325133","filename":"file2"},{"photo_id":"1401325145","filename":"file4"},{"photo_id":"1401325099","filename":"file1"},{"photo_id":"1401325067","filename":"file0"},{"photo_id":"1401325142","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401325146":["hashtag1","hashtag2"]},{"1401325145":["hashtag1","hashtag2"]},{"1401325067":["hashtag1","hashtag2"]},{"1401325133":["hashtag1","hashtag2"]},{"1401325142":["hashtag1","hashtag2"]},{"1401325099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401325146, 1401325145, 1401325067, 1401325133, 1401325142, 1401325099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.561394691467285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:13:03.290766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_24_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_55_9606.jpg', '/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_34_9608.jpg', '/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_14_9622.jpg', '/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_44_9609.jpg', '/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_35_10615.jpg', '/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_24_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_55_9606.jpg
/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_34_9608.jpg
/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_14_9622.jpg
/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_44_9609.jpg
/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_35_10615.jpg
/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_24_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":["1401325477","1401325402","1401325353","1401325608","1401325568","1401325442"],"photo_ids_order":["1401325353","1401325402","1401325442","1401325477","1401325568","1401325608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/720ab858f35a131f865462c3ef6fbe72.jpg","text":"TemporaryFile(/tmp/multipartBody6547584299125900083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870044158,"filename":"image_10122025_02_00_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/12/27/7715b85dc254f715f7471f7d0664f54b.jpg","text":"TemporaryFile(/tmp/multipartBody2651960834612721087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870044158,"filename":"image_10122025_02_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/12/27/9d85ea5eaad3cc4e5df5563150a742e9.jpg","text":"TemporaryFile(/tmp/multipartBody7662374514426301802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870044158,"filename":"image_10122025_02_01_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/01d6f3ad8801c5547822adab1858e53e.jpg","text":"TemporaryFile(/tmp/multipartBody6902725312974467463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870044158,"filename":"image_10122025_02_00_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/12/27/470d188cb513610bac6a5d611f8441f3.jpg","text":"TemporaryFile(/tmp/multipartBody4584761238941943842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870044158,"filename":"image_10122025_02_00_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da7a07c304f1679ab048f8a225e1328e.jpg","text":"TemporaryFile(/tmp/multipartBody5335045072005860104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870044158,"filename":"image_10122025_02_01_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401325442","file1":"1401325402","file0":"1401325353","file4":"1401325568","file5":"1401325608","file3":"1401325477"},"map_files_photo_id_array":[{"photo_id":"1401325608","filename":"file5"},{"photo_id":"1401325442","filename":"file2"},{"photo_id":"1401325568","filename":"file4"},{"photo_id":"1401325402","filename":"file1"},{"photo_id":"1401325353","filename":"file0"},{"photo_id":"1401325477","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401325477":["hashtag1","hashtag2"]},{"1401325402":["hashtag1","hashtag2"]},{"1401325353":["hashtag1","hashtag2"]},{"1401325608":["hashtag1","hashtag2"]},{"1401325568":["hashtag1","hashtag2"]},{"1401325442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401325477, 1401325402, 1401325353, 1401325608, 1401325568, 1401325442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5774040222168 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:13:47.586811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_02_00_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_24_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_15_9622.jpg', '/home/nano/Desktop/images/10122025/01/59/image_10122025_02_00_05_10643.jpg', '/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_54_9606.jpg', '/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_45_9605.jpg', '/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_35_10615.jpg', '/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_15_9622.jpg
/home/nano/Desktop/images/10122025/01/59/image_10122025_02_00_05_10643.jpg
/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_54_9606.jpg
/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_45_9605.jpg
/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_35_10615.jpg
/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_24_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":["1401325813","1401325915","1401325881","1401325746","1401325781","1401325850"],"photo_ids_order":["1401325746","1401325781","1401325813","1401325850","1401325881","1401325915"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c90dd23351e5b3b5d640f4cf580e788.jpg","text":"TemporaryFile(/tmp/multipartBody4431140091893869909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870088395,"filename":"image_10122025_01_59_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/12/27/2b2869e39080a12dbc9e131c0fcad301.jpg","text":"TemporaryFile(/tmp/multipartBody3711275835927252539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870088395,"filename":"image_10122025_01_59_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/12/27/94b5d5fae26fb9d28bece66bf91f4aac.jpg","text":"TemporaryFile(/tmp/multipartBody7910662725842051744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870088395,"filename":"image_10122025_01_59_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d843de2e1bd0354b7a93636af3e65d96.jpg","text":"TemporaryFile(/tmp/multipartBody6428917324666294177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870088395,"filename":"image_10122025_02_00_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e8abeb889979c7cf498c55788a1922b.jpg","text":"TemporaryFile(/tmp/multipartBody5615391566853567531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870088395,"filename":"image_10122025_02_00_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5a54ff183dc63443888ea585d8678e1.jpg","text":"TemporaryFile(/tmp/multipartBody8394667667114692054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870088395,"filename":"image_10122025_01_59_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401325813","file1":"1401325781","file0":"1401325746","file4":"1401325881","file5":"1401325915","file3":"1401325850"},"map_files_photo_id_array":[{"photo_id":"1401325915","filename":"file5"},{"photo_id":"1401325813","filename":"file2"},{"photo_id":"1401325881","filename":"file4"},{"photo_id":"1401325781","filename":"file1"},{"photo_id":"1401325746","filename":"file0"},{"photo_id":"1401325850","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401325813":["hashtag1","hashtag2"]},{"1401325915":["hashtag1","hashtag2"]},{"1401325881":["hashtag1","hashtag2"]},{"1401325746":["hashtag1","hashtag2"]},{"1401325781":["hashtag1","hashtag2"]},{"1401325850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401325813, 1401325915, 1401325881, 1401325746, 1401325781, 1401325850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16860246658325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:14:32.717378
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_59_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_25_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_15_10629.jpg', '/home/nano/Desktop/images/10122025/01/58/image_10122025_01_59_04_9606.jpg', '/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_55_9606.jpg', '/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_45_10619.jpg', '/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_34_9622.jpg', '/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_25_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_15_10629.jpg
/home/nano/Desktop/images/10122025/01/58/image_10122025_01_59_04_9606.jpg
/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_55_9606.jpg
/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_45_10619.jpg
/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_34_9622.jpg
/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_25_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":["1401326029","1401326026","1401326031","1401326028","1401326054","1401326084"],"photo_ids_order":["1401326026","1401326028","1401326029","1401326031","1401326054","1401326084"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/71ebf13681fc7766fce0a21b7130683d.jpg","text":"TemporaryFile(/tmp/multipartBody6851411063012418817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870133552,"filename":"image_10122025_01_58_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/658dc48a93cbf0985b1a299267266263.jpg","text":"TemporaryFile(/tmp/multipartBody6098893733725668104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870133552,"filename":"image_10122025_01_59_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1d04f78f6eeffb224e431cb1337ac13.jpg","text":"TemporaryFile(/tmp/multipartBody1254334674227381658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870133552,"filename":"image_10122025_01_58_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c4623b3b8ac843fb27ec6421af7f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody2576050948444221648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870133552,"filename":"image_10122025_01_59_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/12/27/b6f8d8b9a681c1aa9f804e608e1bd21b.jpg","text":"TemporaryFile(/tmp/multipartBody2597394832445619764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870133552,"filename":"image_10122025_01_58_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/12/27/7147054b2e8a6bb7365a5544a3e910c4.jpg","text":"TemporaryFile(/tmp/multipartBody634087590469303751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870133552,"filename":"image_10122025_01_58_25_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401326029","file1":"1401326028","file0":"1401326026","file4":"1401326054","file5":"1401326084","file3":"1401326031"},"map_files_photo_id_array":[{"photo_id":"1401326084","filename":"file5"},{"photo_id":"1401326029","filename":"file2"},{"photo_id":"1401326054","filename":"file4"},{"photo_id":"1401326028","filename":"file1"},{"photo_id":"1401326026","filename":"file0"},{"photo_id":"1401326031","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401326029":["hashtag1","hashtag2"]},{"1401326026":["hashtag1","hashtag2"]},{"1401326031":["hashtag1","hashtag2"]},{"1401326028":["hashtag1","hashtag2"]},{"1401326054":["hashtag1","hashtag2"]},{"1401326084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401326029, 1401326026, 1401326031, 1401326028, 1401326054, 1401326084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04393029212952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:15:16.799476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_58_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_55_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_14_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_14_9640.jpg', '/home/nano/Desktop/images/10122025/01/57/image_10122025_01_58_04_9615.jpg', '/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_55_10636.jpg', '/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_44_9607.jpg', '/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_25_10620.jpg', '/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_14_9640.jpg
/home/nano/Desktop/images/10122025/01/57/image_10122025_01_58_04_9615.jpg
/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_55_10636.jpg
/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_44_9607.jpg
/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_25_10620.jpg
/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_14_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":["1401326224","1401326190","1401326346","1401326183","1401326258","1401326263"],"photo_ids_order":["1401326183","1401326190","1401326224","1401326258","1401326263","1401326346"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e3e292f3e76ecc08cc5271145845a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7439235006562498253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870177594,"filename":"image_10122025_01_57_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a51223d3ee52edb7ee27e0dfdb383e2d.jpg","text":"TemporaryFile(/tmp/multipartBody55473843717384336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870177594,"filename":"image_10122025_01_58_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/12/27/0e6fde026ad8f08ae328680d20e96651.jpg","text":"TemporaryFile(/tmp/multipartBody7062136179208490883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870177594,"filename":"image_10122025_01_57_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/12/27/6f110cb92d7af513fb539a308cee2670.jpg","text":"TemporaryFile(/tmp/multipartBody8834580507298137217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870177594,"filename":"image_10122025_01_58_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/12/27/97b54fa6b883b54040b710162e96e6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5319955756805721221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870177594,"filename":"image_10122025_01_57_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/12/27/aad4a32420303d0216d86d0af7f17fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1823588827683122776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870177594,"filename":"image_10122025_01_57_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401326224","file1":"1401326190","file0":"1401326183","file4":"1401326263","file5":"1401326346","file3":"1401326258"},"map_files_photo_id_array":[{"photo_id":"1401326346","filename":"file5"},{"photo_id":"1401326224","filename":"file2"},{"photo_id":"1401326263","filename":"file4"},{"photo_id":"1401326190","filename":"file1"},{"photo_id":"1401326183","filename":"file0"},{"photo_id":"1401326258","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401326224":["hashtag1","hashtag2"]},{"1401326190":["hashtag1","hashtag2"]},{"1401326346":["hashtag1","hashtag2"]},{"1401326183":["hashtag1","hashtag2"]},{"1401326258":["hashtag1","hashtag2"]},{"1401326263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401326224, 1401326190, 1401326346, 1401326183, 1401326258, 1401326263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.200947761535645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:16:02.655693
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_56_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_54_9621.jpg', '/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_35_10615.jpg', '/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_24_9607.jpg', '/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_15_9610.jpg', '/home/nano/Desktop/images/10122025/01/55/image_10122025_01_56_05_10645.jpg', '/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_54_9621.jpg
/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_35_10615.jpg
/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_24_9607.jpg
/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_15_9610.jpg
/home/nano/Desktop/images/10122025/01/55/image_10122025_01_56_05_10645.jpg
/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_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":["1401326467","1401326499","1401326565","1401326454","1401326453","1401326534"],"photo_ids_order":["1401326453","1401326454","1401326467","1401326499","1401326534","1401326565"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a17c7010a47e3226eb17dd3e3a62495.jpg","text":"TemporaryFile(/tmp/multipartBody2468974996858580351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870223523,"filename":"image_10122025_01_56_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/12/27/708f7f787a24f9584bc1d4fa7feb86f1.jpg","text":"TemporaryFile(/tmp/multipartBody8921882938030850453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870223523,"filename":"image_10122025_01_56_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/883350d25e86dac59684c92ed74c629f.jpg","text":"TemporaryFile(/tmp/multipartBody7593203856782074860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870223523,"filename":"image_10122025_01_55_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/12/27/011a9c405dec6f5539b2018356d0cb17.jpg","text":"TemporaryFile(/tmp/multipartBody3011431592767439192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870223523,"filename":"image_10122025_01_56_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/787904c7195f342208de784552a3029d.jpg","text":"TemporaryFile(/tmp/multipartBody7761167173416387911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870223523,"filename":"image_10122025_01_56_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/12/27/206d0129a46cda5f5d7d62a95757cdf2.jpg","text":"TemporaryFile(/tmp/multipartBody4752602907335127655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870223523,"filename":"image_10122025_01_56_05_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401326467","file1":"1401326454","file0":"1401326453","file4":"1401326534","file5":"1401326565","file3":"1401326499"},"map_files_photo_id_array":[{"photo_id":"1401326565","filename":"file5"},{"photo_id":"1401326467","filename":"file2"},{"photo_id":"1401326534","filename":"file4"},{"photo_id":"1401326454","filename":"file1"},{"photo_id":"1401326453","filename":"file0"},{"photo_id":"1401326499","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401326467":["hashtag1","hashtag2"]},{"1401326499":["hashtag1","hashtag2"]},{"1401326565":["hashtag1","hashtag2"]},{"1401326454":["hashtag1","hashtag2"]},{"1401326453":["hashtag1","hashtag2"]},{"1401326534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401326467, 1401326499, 1401326565, 1401326454, 1401326453, 1401326534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57689070701599 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:16:47.051890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_55_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_35_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_45_10618.jpg', '/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_15_10651.jpg', '/home/nano/Desktop/images/10122025/01/54/image_10122025_01_55_04_9610.jpg', '/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_55_10616.jpg', '/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_44_9605.jpg', '/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_35_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_45_10618.jpg
/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_15_10651.jpg
/home/nano/Desktop/images/10122025/01/54/image_10122025_01_55_04_9610.jpg
/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_55_10616.jpg
/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_44_9605.jpg
/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_35_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":["1401327010","1401326979","1401326768","1401326837","1401326804","1401326944"],"photo_ids_order":["1401326768","1401326804","1401326837","1401326944","1401326979","1401327010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf2c186d93045671a65b7a097c658618.jpg","text":"TemporaryFile(/tmp/multipartBody2258382831203288104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870267859,"filename":"image_10122025_01_54_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c718feac694c0c383b126d3de173e67a.jpg","text":"TemporaryFile(/tmp/multipartBody3967628267366291545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870267859,"filename":"image_10122025_01_54_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/12/27/d50a07f8703932ee807da2292e605a72.jpg","text":"TemporaryFile(/tmp/multipartBody4996597601040024151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870267859,"filename":"image_10122025_01_55_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f42d3705d62c53a7a3b9d5465270a73.jpg","text":"TemporaryFile(/tmp/multipartBody8011083767022292282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870267859,"filename":"image_10122025_01_55_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/12/27/3f6d48f7c0bf901bcc98efd679c5c535.jpg","text":"TemporaryFile(/tmp/multipartBody1484061397506665830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870267859,"filename":"image_10122025_01_55_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4525dc3cadef2dcd2bf6fbc23244ff07.jpg","text":"TemporaryFile(/tmp/multipartBody762843891063763841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870267859,"filename":"image_10122025_01_54_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401326837","file1":"1401326804","file0":"1401326768","file4":"1401326979","file5":"1401327010","file3":"1401326944"},"map_files_photo_id_array":[{"photo_id":"1401327010","filename":"file5"},{"photo_id":"1401326837","filename":"file2"},{"photo_id":"1401326979","filename":"file4"},{"photo_id":"1401326804","filename":"file1"},{"photo_id":"1401326768","filename":"file0"},{"photo_id":"1401326944","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401327010":["hashtag1","hashtag2"]},{"1401326979":["hashtag1","hashtag2"]},{"1401326768":["hashtag1","hashtag2"]},{"1401326837":["hashtag1","hashtag2"]},{"1401326804":["hashtag1","hashtag2"]},{"1401326944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401327010, 1401326979, 1401326768, 1401326837, 1401326804, 1401326944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.172351598739624 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:17:32.125482
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_54_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_55_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_24_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_14_9623.jpg', '/home/nano/Desktop/images/10122025/01/53/image_10122025_01_54_05_9624.jpg', '/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_55_10619.jpg', '/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_44_9611.jpg', '/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_35_10616.jpg', '/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_14_9623.jpg
/home/nano/Desktop/images/10122025/01/53/image_10122025_01_54_05_9624.jpg
/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_55_10619.jpg
/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_44_9611.jpg
/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_35_10616.jpg
/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_24_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":["1401327174","1401327141","1401327275","1401327299","1401327241","1401327208"],"photo_ids_order":["1401327141","1401327174","1401327208","1401327241","1401327275","1401327299"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ab45429f351651f7b643f2a2f973303.jpg","text":"TemporaryFile(/tmp/multipartBody779809545233996806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870312928,"filename":"image_10122025_01_54_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f525dc949dcc8bba1264aed687d3e26.jpg","text":"TemporaryFile(/tmp/multipartBody4185184531517891372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870312928,"filename":"image_10122025_01_54_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/12/27/43bc202e55b8720aff3bd2c57d7b45a8.jpg","text":"TemporaryFile(/tmp/multipartBody6359658242620229911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870312928,"filename":"image_10122025_01_53_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/38f666cae9523cbd03c6e36ba2ee9449.jpg","text":"TemporaryFile(/tmp/multipartBody8831298738943544323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870312928,"filename":"image_10122025_01_53_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/12/27/b65261f90932358bf53b658d454ebb62.jpg","text":"TemporaryFile(/tmp/multipartBody4955520005762223609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870312928,"filename":"image_10122025_01_53_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/12/27/3d6bb3c8164bc85d4a302b88e2aa728b.jpg","text":"TemporaryFile(/tmp/multipartBody3153892406815948311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870312928,"filename":"image_10122025_01_53_55_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401327208","file1":"1401327174","file0":"1401327141","file4":"1401327275","file5":"1401327299","file3":"1401327241"},"map_files_photo_id_array":[{"photo_id":"1401327299","filename":"file5"},{"photo_id":"1401327208","filename":"file2"},{"photo_id":"1401327275","filename":"file4"},{"photo_id":"1401327174","filename":"file1"},{"photo_id":"1401327141","filename":"file0"},{"photo_id":"1401327241","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401327174":["hashtag1","hashtag2"]},{"1401327141":["hashtag1","hashtag2"]},{"1401327275":["hashtag1","hashtag2"]},{"1401327299":["hashtag1","hashtag2"]},{"1401327241":["hashtag1","hashtag2"]},{"1401327208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401327174, 1401327141, 1401327275, 1401327299, 1401327241, 1401327208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68089509010315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:18:17.252732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_53_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_52_04_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/52/image_10122025_01_53_05_10626.jpg', '/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_54_9605.jpg', '/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_45_9607.jpg', '/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_35_10634.jpg', '/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_15_10629.jpg', '/home/nano/Desktop/images/10122025/01/51/image_10122025_01_52_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/52/image_10122025_01_53_05_10626.jpg
/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_54_9605.jpg
/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_45_9607.jpg
/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_35_10634.jpg
/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_15_10629.jpg
/home/nano/Desktop/images/10122025/01/51/image_10122025_01_52_04_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":["1401327301","1401327300","1401327308","1401327376","1401327343","1401327412"],"photo_ids_order":["1401327300","1401327301","1401327308","1401327343","1401327376","1401327412"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/470b26c2694e569a69b21620eab34583.jpg","text":"TemporaryFile(/tmp/multipartBody138448438710191664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870358067,"filename":"image_10122025_01_52_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/12/27/a311399304fefeaba30f7941005ecd45.jpg","text":"TemporaryFile(/tmp/multipartBody8253674622934853760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870358067,"filename":"image_10122025_01_53_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/293ab253f42df4f73b38f32e3ce07bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3525208443564276312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870358067,"filename":"image_10122025_01_52_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/79f001948886b18d657b6cc3fcacd76e.jpg","text":"TemporaryFile(/tmp/multipartBody8122043516622306543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870358067,"filename":"image_10122025_01_52_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68899764b7cae94df712c588c91bbb9e.jpg","text":"TemporaryFile(/tmp/multipartBody4981409833785423643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870358067,"filename":"image_10122025_01_52_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e447769bef26cf1f94ff4a35b1a72fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6891999950753738740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870358067,"filename":"image_10122025_01_52_04_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401327308","file1":"1401327301","file0":"1401327300","file4":"1401327376","file5":"1401327412","file3":"1401327343"},"map_files_photo_id_array":[{"photo_id":"1401327412","filename":"file5"},{"photo_id":"1401327308","filename":"file2"},{"photo_id":"1401327376","filename":"file4"},{"photo_id":"1401327301","filename":"file1"},{"photo_id":"1401327300","filename":"file0"},{"photo_id":"1401327343","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401327301":["hashtag1","hashtag2"]},{"1401327300":["hashtag1","hashtag2"]},{"1401327308":["hashtag1","hashtag2"]},{"1401327376":["hashtag1","hashtag2"]},{"1401327343":["hashtag1","hashtag2"]},{"1401327412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401327301, 1401327300, 1401327308, 1401327376, 1401327343, 1401327412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11516857147217 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:19:03.404383
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/22/19/image_27122025_22_19_53_9523.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/22/19/image_27122025_22_19_53_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/22/19/image_27122025_22_19_53_9523.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401327500"],"photo_id":"1401327500","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/777acbde857315ff5661cf43ca606036.jpg","text":"TemporaryFile(/tmp/multipartBody5183484931999380300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870403658,"filename":"image_27122025_22_19_53_9523.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401327500"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401327500"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.302850008010864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:19:17.359645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_34_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_51_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_55_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_55_9606.jpg', '/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_34_9625.jpg', '/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_25_10616.jpg', '/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_14_9640.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_51_05_9620.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_55_9606.jpg
/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_34_9625.jpg
/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_25_10616.jpg
/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_14_9640.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_51_05_9620.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_55_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":["1401327597","1401327633","1401327600","1401327554","1401327589","1401327649"],"photo_ids_order":["1401327554","1401327589","1401327597","1401327600","1401327633","1401327649"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de68c89b58cbd1e009644b556d0cc666.jpg","text":"TemporaryFile(/tmp/multipartBody9010520326332375116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870418183,"filename":"image_10122025_01_51_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1a88fef433d5cef82c4d68665041970.jpg","text":"TemporaryFile(/tmp/multipartBody7185928384112476374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870418183,"filename":"image_10122025_01_51_05_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/776861725f26ccaca38d6bcac08156bf.jpg","text":"TemporaryFile(/tmp/multipartBody4922881324515419146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870418183,"filename":"image_10122025_01_51_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/12/27/693c69e10e5c4b38049f0b0c0886354e.jpg","text":"TemporaryFile(/tmp/multipartBody190405304780883278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870418183,"filename":"image_10122025_01_51_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd21c84594be8077a971b33aea0f0369.jpg","text":"TemporaryFile(/tmp/multipartBody3793520486704334780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870418183,"filename":"image_10122025_01_51_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/12/27/e72e8c0848531dd6414d9b9a177516a7.jpg","text":"TemporaryFile(/tmp/multipartBody5135965408537214743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870418183,"filename":"image_10122025_01_50_55_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401327597","file1":"1401327589","file0":"1401327554","file4":"1401327633","file5":"1401327649","file3":"1401327600"},"map_files_photo_id_array":[{"photo_id":"1401327649","filename":"file5"},{"photo_id":"1401327597","filename":"file2"},{"photo_id":"1401327633","filename":"file4"},{"photo_id":"1401327589","filename":"file1"},{"photo_id":"1401327554","filename":"file0"},{"photo_id":"1401327600","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401327597":["hashtag1","hashtag2"]},{"1401327633":["hashtag1","hashtag2"]},{"1401327600":["hashtag1","hashtag2"]},{"1401327554":["hashtag1","hashtag2"]},{"1401327589":["hashtag1","hashtag2"]},{"1401327649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401327597, 1401327633, 1401327600, 1401327554, 1401327589, 1401327649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29923987388611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:20:02.975749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg', '/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg', '/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_54_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7159163951873779 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:20:17.455198
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg', '/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg', '/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg', '/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg
/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_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":["1401327681","1401327675","1401327678","1401327672","1401327670","1401327667"],"photo_ids_order":["1401327667","1401327670","1401327672","1401327675","1401327678","1401327681"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/113a7a73a4677a8ff25283f6febde0c2.jpg","text":"TemporaryFile(/tmp/multipartBody7559897286506204265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870478253,"filename":"image_10122025_01_49_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/12/27/ab1c6ba6b6d35689b52d280df02b995a.jpg","text":"TemporaryFile(/tmp/multipartBody6329081170710807809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870478253,"filename":"image_10122025_01_50_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/20d476ae84d25e7c258f8feca4c544d1.jpg","text":"TemporaryFile(/tmp/multipartBody2227147206442039431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870478253,"filename":"image_10122025_01_50_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf2f7fa5edd1a65d7827c2cee93449e9.jpg","text":"TemporaryFile(/tmp/multipartBody2853786644374237406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870478253,"filename":"image_10122025_01_50_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/be3894a70c274a61e55d5bd5739ee05f.jpg","text":"TemporaryFile(/tmp/multipartBody7326753845475726766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870478253,"filename":"image_10122025_01_50_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3efc22d9b7921d1593b38c5fef761ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8884644769155618221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870478253,"filename":"image_10122025_01_50_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401327672","file1":"1401327670","file0":"1401327667","file4":"1401327678","file5":"1401327681","file3":"1401327675"},"map_files_photo_id_array":[{"photo_id":"1401327681","filename":"file5"},{"photo_id":"1401327672","filename":"file2"},{"photo_id":"1401327678","filename":"file4"},{"photo_id":"1401327670","filename":"file1"},{"photo_id":"1401327667","filename":"file0"},{"photo_id":"1401327675","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401327681":["hashtag1","hashtag2"]},{"1401327675":["hashtag1","hashtag2"]},{"1401327678":["hashtag1","hashtag2"]},{"1401327672":["hashtag1","hashtag2"]},{"1401327670":["hashtag1","hashtag2"]},{"1401327667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401327681, 1401327675, 1401327678, 1401327672, 1401327670, 1401327667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.699862480163574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:21:03.416438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_49_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_55_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_45_9606.jpg', '/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_35_10615.jpg', '/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_24_9608.jpg', '/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_15_10632.jpg', '/home/nano/Desktop/images/10122025/01/48/image_10122025_01_49_04_9616.jpg', '/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_55_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_45_9606.jpg
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_35_10615.jpg
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_24_9608.jpg
/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_15_10632.jpg
/home/nano/Desktop/images/10122025/01/48/image_10122025_01_49_04_9616.jpg
/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_55_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":["1401327683","1401327926","1401327827","1401327929","1401327736","1401327922"],"photo_ids_order":["1401327683","1401327736","1401327827","1401327922","1401327926","1401327929"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eab004af09a492ac475d113ab3c459bd.jpg","text":"TemporaryFile(/tmp/multipartBody8901713060420791467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870524286,"filename":"image_10122025_01_49_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b3b86708acb84622568332aa821e2ac.jpg","text":"TemporaryFile(/tmp/multipartBody7120088853716102366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870524286,"filename":"image_10122025_01_49_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/12/27/1016a3e7b992317bc0df3b49fad881ce.jpg","text":"TemporaryFile(/tmp/multipartBody4785139497661377274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870524286,"filename":"image_10122025_01_49_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/12/27/a02cbc7fb27257ae13d5f56a0aa39775.jpg","text":"TemporaryFile(/tmp/multipartBody9101082321426281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870524286,"filename":"image_10122025_01_48_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da332a68a7a81761ba2aec59df8449d3.jpg","text":"TemporaryFile(/tmp/multipartBody2424731754983369588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870524286,"filename":"image_10122025_01_49_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff9834734ea70457a04bbf79eb01b78a.jpg","text":"TemporaryFile(/tmp/multipartBody2282677438320331822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870524286,"filename":"image_10122025_01_49_15_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401327827","file1":"1401327736","file0":"1401327683","file4":"1401327926","file5":"1401327929","file3":"1401327922"},"map_files_photo_id_array":[{"photo_id":"1401327929","filename":"file5"},{"photo_id":"1401327827","filename":"file2"},{"photo_id":"1401327926","filename":"file4"},{"photo_id":"1401327736","filename":"file1"},{"photo_id":"1401327683","filename":"file0"},{"photo_id":"1401327922","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401327683":["hashtag1","hashtag2"]},{"1401327926":["hashtag1","hashtag2"]},{"1401327827":["hashtag1","hashtag2"]},{"1401327929":["hashtag1","hashtag2"]},{"1401327736":["hashtag1","hashtag2"]},{"1401327922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401327683, 1401327926, 1401327827, 1401327929, 1401327736, 1401327922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19995999336243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:21:47.576483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_48_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_35_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_45_10618.jpg', '/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_34_9609.jpg', '/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_25_9607.jpg', '/home/nano/Desktop/images/10122025/01/47/image_10122025_01_48_04_9608.jpg', '/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_44_9607.jpg', '/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_35_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_45_10618.jpg
/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_34_9609.jpg
/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_25_9607.jpg
/home/nano/Desktop/images/10122025/01/47/image_10122025_01_48_04_9608.jpg
/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_44_9607.jpg
/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_35_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":["1401328125","1401328008","1401328007","1401328021","1401328092","1401328059"],"photo_ids_order":["1401328007","1401328008","1401328021","1401328059","1401328092","1401328125"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/734dbe73147fb8dfc5c4dc2c0006fea3.jpg","text":"TemporaryFile(/tmp/multipartBody6154946649827751060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870568377,"filename":"image_10122025_01_47_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db5c8f519eae7aaf02d1b4c4be8d96b5.jpg","text":"TemporaryFile(/tmp/multipartBody1140953657016752139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870568377,"filename":"image_10122025_01_48_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/12/27/97d645e48a370444a6e353fd963efc2b.jpg","text":"TemporaryFile(/tmp/multipartBody1164273905375399103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870568377,"filename":"image_10122025_01_48_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ae5d290e42cf6d93b263948e181ca8e.jpg","text":"TemporaryFile(/tmp/multipartBody4256935156024105110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870568377,"filename":"image_10122025_01_48_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c0b34dbc78c73dcb50695d3c79d0ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8490536234672626580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870568377,"filename":"image_10122025_01_47_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/12/27/c22d4cf8c56e9f63d7b0fdce65c6ba5b.jpg","text":"TemporaryFile(/tmp/multipartBody20314581239920214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870568377,"filename":"image_10122025_01_48_04_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401328021","file1":"1401328008","file0":"1401328007","file4":"1401328092","file5":"1401328125","file3":"1401328059"},"map_files_photo_id_array":[{"photo_id":"1401328125","filename":"file5"},{"photo_id":"1401328021","filename":"file2"},{"photo_id":"1401328092","filename":"file4"},{"photo_id":"1401328008","filename":"file1"},{"photo_id":"1401328007","filename":"file0"},{"photo_id":"1401328059","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401328125":["hashtag1","hashtag2"]},{"1401328008":["hashtag1","hashtag2"]},{"1401328007":["hashtag1","hashtag2"]},{"1401328021":["hashtag1","hashtag2"]},{"1401328092":["hashtag1","hashtag2"]},{"1401328059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401328125, 1401328008, 1401328007, 1401328021, 1401328092, 1401328059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80858254432678 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:22:32.680187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_47_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_35_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_25_10615.jpg', '/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_14_9614.jpg', '/home/nano/Desktop/images/10122025/01/46/image_10122025_01_47_05_10619.jpg', '/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_54_9608.jpg', '/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_45_9608.jpg', '/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_35_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_25_10615.jpg
/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_14_9614.jpg
/home/nano/Desktop/images/10122025/01/46/image_10122025_01_47_05_10619.jpg
/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_54_9608.jpg
/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_45_9608.jpg
/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_35_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":["1401328332","1401328367","1401328502","1401328438","1401328402","1401328470"],"photo_ids_order":["1401328332","1401328367","1401328402","1401328438","1401328470","1401328502"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e99bdb27fd6f041754e7d4c413bba82.jpg","text":"TemporaryFile(/tmp/multipartBody4928702993360853113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870613487,"filename":"image_10122025_01_47_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d033438fa3d1ff7e20b11d29b12fd76.jpg","text":"TemporaryFile(/tmp/multipartBody8087045448146711913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870613487,"filename":"image_10122025_01_47_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/12/27/8e6a1cb93cc88129a713ee609197f1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6118441136627898029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870613487,"filename":"image_10122025_01_46_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de0a7148e40356a5259a78f7375f2fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2449613001757750292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870613487,"filename":"image_10122025_01_46_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/12/27/fe797d78421c6c456dd762816949339b.jpg","text":"TemporaryFile(/tmp/multipartBody1334818677518406532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870613487,"filename":"image_10122025_01_47_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba878a9e231a56257f95bf4d87b10f20.jpg","text":"TemporaryFile(/tmp/multipartBody6673237152093626200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870613487,"filename":"image_10122025_01_46_45_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401328402","file1":"1401328367","file0":"1401328332","file4":"1401328470","file5":"1401328502","file3":"1401328438"},"map_files_photo_id_array":[{"photo_id":"1401328502","filename":"file5"},{"photo_id":"1401328402","filename":"file2"},{"photo_id":"1401328470","filename":"file4"},{"photo_id":"1401328367","filename":"file1"},{"photo_id":"1401328332","filename":"file0"},{"photo_id":"1401328438","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401328332":["hashtag1","hashtag2"]},{"1401328367":["hashtag1","hashtag2"]},{"1401328502":["hashtag1","hashtag2"]},{"1401328438":["hashtag1","hashtag2"]},{"1401328402":["hashtag1","hashtag2"]},{"1401328470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401328332, 1401328367, 1401328502, 1401328438, 1401328402, 1401328470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23557448387146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:23:16.768275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_46_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_25_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_24_9607.jpg', '/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_15_9606.jpg', '/home/nano/Desktop/images/10122025/01/45/image_10122025_01_46_05_10620.jpg', '/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_54_9608.jpg', '/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_34_9608.jpg', '/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_24_9607.jpg
/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_15_9606.jpg
/home/nano/Desktop/images/10122025/01/45/image_10122025_01_46_05_10620.jpg
/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_54_9608.jpg
/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_34_9608.jpg
/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_25_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":["1401328815","1401328697","1401328727","1401328813","1401328797","1401328761"],"photo_ids_order":["1401328697","1401328727","1401328761","1401328797","1401328813","1401328815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/801eb84913982de5e4a78fb7de3ff9f3.jpg","text":"TemporaryFile(/tmp/multipartBody2461684234798652243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870657592,"filename":"image_10122025_01_45_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aaa71b768d1e68bc8f982d263f5c52f5.jpg","text":"TemporaryFile(/tmp/multipartBody6231046038431254144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870657592,"filename":"image_10122025_01_46_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/12/27/746e9852a98933b99f4b15dc4616b553.jpg","text":"TemporaryFile(/tmp/multipartBody8783868980961169882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870657592,"filename":"image_10122025_01_46_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b429abd7b34fa89d0ac0a85d13454c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6066587022237485064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870657592,"filename":"image_10122025_01_45_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/12/27/2cfaed9e96a27a2033ad69d09020ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody1491102390101897216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870657592,"filename":"image_10122025_01_45_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/12/27/098e515126b02118da0a8cba667bfb1a.jpg","text":"TemporaryFile(/tmp/multipartBody4653229260184835452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870657592,"filename":"image_10122025_01_46_05_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401328761","file1":"1401328727","file0":"1401328697","file4":"1401328813","file5":"1401328815","file3":"1401328797"},"map_files_photo_id_array":[{"photo_id":"1401328815","filename":"file5"},{"photo_id":"1401328761","filename":"file2"},{"photo_id":"1401328813","filename":"file4"},{"photo_id":"1401328727","filename":"file1"},{"photo_id":"1401328697","filename":"file0"},{"photo_id":"1401328797","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401328815":["hashtag1","hashtag2"]},{"1401328697":["hashtag1","hashtag2"]},{"1401328727":["hashtag1","hashtag2"]},{"1401328813":["hashtag1","hashtag2"]},{"1401328797":["hashtag1","hashtag2"]},{"1401328761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401328815, 1401328697, 1401328727, 1401328813, 1401328797, 1401328761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0789098739624 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:24:02.767423
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_45_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_25_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_15_10657.jpg', '/home/nano/Desktop/images/10122025/01/44/image_10122025_01_45_04_9619.jpg', '/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_55_10632.jpg', '/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_44_9608.jpg', '/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_34_9609.jpg', '/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_25_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_15_10657.jpg
/home/nano/Desktop/images/10122025/01/44/image_10122025_01_45_04_9619.jpg
/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_55_10632.jpg
/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_44_9608.jpg
/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_34_9609.jpg
/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_25_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":["1401328821","1401328824","1401328826","1401328820","1401328823","1401328822"],"photo_ids_order":["1401328820","1401328821","1401328822","1401328823","1401328824","1401328826"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/594d49de185f366a8fb0ae3d34a23498.jpg","text":"TemporaryFile(/tmp/multipartBody6986018281582229851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870703605,"filename":"image_10122025_01_45_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/12/27/d7f3f3563a0eff6e5547d01e1bd4f20a.jpg","text":"TemporaryFile(/tmp/multipartBody6960617968261639075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870703605,"filename":"image_10122025_01_44_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/12/27/a3a3e6cb876844b6900b2ae44131fd52.jpg","text":"TemporaryFile(/tmp/multipartBody6167315768045350476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870703605,"filename":"image_10122025_01_44_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/991b5395a31e55ef92244e5690bca7ed.jpg","text":"TemporaryFile(/tmp/multipartBody3319122211038008577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870703605,"filename":"image_10122025_01_45_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fe72ea17fcaf38e187fcbe714eb8ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5662614899041802678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870703605,"filename":"image_10122025_01_44_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/12/27/7ecbf6e91cd7e75e51f08be03fd583b4.jpg","text":"TemporaryFile(/tmp/multipartBody5343576523902907310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870703605,"filename":"image_10122025_01_44_55_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401328822","file1":"1401328821","file0":"1401328820","file4":"1401328824","file5":"1401328826","file3":"1401328823"},"map_files_photo_id_array":[{"photo_id":"1401328826","filename":"file5"},{"photo_id":"1401328822","filename":"file2"},{"photo_id":"1401328824","filename":"file4"},{"photo_id":"1401328821","filename":"file1"},{"photo_id":"1401328820","filename":"file0"},{"photo_id":"1401328823","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401328821":["hashtag1","hashtag2"]},{"1401328824":["hashtag1","hashtag2"]},{"1401328826":["hashtag1","hashtag2"]},{"1401328820":["hashtag1","hashtag2"]},{"1401328823":["hashtag1","hashtag2"]},{"1401328822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401328821, 1401328824, 1401328826, 1401328820, 1401328823, 1401328822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27500343322754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:24:46.887102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_44_05_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_43_05_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/43/image_10122025_01_44_05_9627.jpg', '/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_55_10618.jpg', '/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_44_9609.jpg', '/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_35_10617.jpg', '/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_15_9623.jpg', '/home/nano/Desktop/images/10122025/01/42/image_10122025_01_43_05_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/43/image_10122025_01_44_05_9627.jpg
/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_55_10618.jpg
/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_44_9609.jpg
/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_35_10617.jpg
/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_15_9623.jpg
/home/nano/Desktop/images/10122025/01/42/image_10122025_01_43_05_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":["1401329102","1401329071","1401329032","1401328999","1401329125","1401329127"],"photo_ids_order":["1401328999","1401329032","1401329071","1401329102","1401329125","1401329127"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff0175f1ab0ba33287c90d236fd86b06.jpg","text":"TemporaryFile(/tmp/multipartBody2637786544595054684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870747762,"filename":"image_10122025_01_43_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbf53125121e49da083ce12666b9294f.jpg","text":"TemporaryFile(/tmp/multipartBody545503273365382414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870747762,"filename":"image_10122025_01_43_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/12/27/79b5614b166c84bff9bc14311025c5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6150482283252645268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870747762,"filename":"image_10122025_01_43_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/eb33c3ef0bea91db13c4f6cbd66af34a.jpg","text":"TemporaryFile(/tmp/multipartBody9005701467689199873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870747762,"filename":"image_10122025_01_44_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4052cbba24622a07c31e869532722ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8012512255935571868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870747762,"filename":"image_10122025_01_43_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/336c3eaa25acb084ba578211d94cb4a3.jpg","text":"TemporaryFile(/tmp/multipartBody4658230773507775420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870747762,"filename":"image_10122025_01_43_05_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401329071","file1":"1401329032","file0":"1401328999","file4":"1401329125","file5":"1401329127","file3":"1401329102"},"map_files_photo_id_array":[{"photo_id":"1401329127","filename":"file5"},{"photo_id":"1401329071","filename":"file2"},{"photo_id":"1401329125","filename":"file4"},{"photo_id":"1401329032","filename":"file1"},{"photo_id":"1401328999","filename":"file0"},{"photo_id":"1401329102","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401329102":["hashtag1","hashtag2"]},{"1401329071":["hashtag1","hashtag2"]},{"1401329032":["hashtag1","hashtag2"]},{"1401328999":["hashtag1","hashtag2"]},{"1401329125":["hashtag1","hashtag2"]},{"1401329127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401329102, 1401329071, 1401329032, 1401328999, 1401329125, 1401329127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.861138343811035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:25:32.131313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg', '/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', '/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg
/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg
/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.703155517578125 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:25:47.122839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg', '/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', '/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg
/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg
/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_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":["1401329260","1401329335","1401329302","1401329256","1401329265","1401329259"],"photo_ids_order":["1401329256","1401329259","1401329260","1401329265","1401329302","1401329335"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4690a2c39465333d365fbab1ed4ec30b.jpg","text":"TemporaryFile(/tmp/multipartBody3433760142856601320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870807907,"filename":"image_10122025_01_42_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/12/27/d0aaff9be5729e1bd911b5ab1d2e44ba.jpg","text":"TemporaryFile(/tmp/multipartBody3847346785509265977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870807907,"filename":"image_10122025_01_41_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b39506b646a87af73c7b4efbdaf5f095.jpg","text":"TemporaryFile(/tmp/multipartBody1232299626329742804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870807907,"filename":"image_10122025_01_41_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6b08af471e1e5487d3b5420f547e844a.jpg","text":"TemporaryFile(/tmp/multipartBody2554141377096318582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870807907,"filename":"image_10122025_01_42_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8d4b57ea4175aa35680bf24077616be.jpg","text":"TemporaryFile(/tmp/multipartBody2203886098327690442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870807907,"filename":"image_10122025_01_42_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/12/27/b3d45073fe2c286c3117af8927add662.jpg","text":"TemporaryFile(/tmp/multipartBody1668975998201424018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870807907,"filename":"image_10122025_01_42_35_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401329260","file1":"1401329259","file0":"1401329256","file4":"1401329302","file5":"1401329335","file3":"1401329265"},"map_files_photo_id_array":[{"photo_id":"1401329335","filename":"file5"},{"photo_id":"1401329260","filename":"file2"},{"photo_id":"1401329302","filename":"file4"},{"photo_id":"1401329259","filename":"file1"},{"photo_id":"1401329256","filename":"file0"},{"photo_id":"1401329265","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401329260":["hashtag1","hashtag2"]},{"1401329335":["hashtag1","hashtag2"]},{"1401329302":["hashtag1","hashtag2"]},{"1401329256":["hashtag1","hashtag2"]},{"1401329265":["hashtag1","hashtag2"]},{"1401329259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401329260, 1401329335, 1401329302, 1401329256, 1401329265, 1401329259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66026711463928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:26:32.248220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_41_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_55_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_44_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_34_9609.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_25_10619.jpg', '/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_14_9623.jpg', '/home/nano/Desktop/images/10122025/01/40/image_10122025_01_41_05_9619.jpg', '/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_55_10622.jpg', '/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_34_9609.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_25_10619.jpg
/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_14_9623.jpg
/home/nano/Desktop/images/10122025/01/40/image_10122025_01_41_05_9619.jpg
/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_55_10622.jpg
/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_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":["1401329675","1401329607","1401329641","1401329707","1401329574","1401329538"],"photo_ids_order":["1401329538","1401329574","1401329607","1401329641","1401329675","1401329707"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f40a9429d8ab0db8f0662a945ea7a082.jpg","text":"TemporaryFile(/tmp/multipartBody233710138866384063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870853067,"filename":"image_10122025_01_40_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51a692cca8bbb9a173cd42ede839eca4.jpg","text":"TemporaryFile(/tmp/multipartBody5971063297838123709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870853067,"filename":"image_10122025_01_41_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/12/27/fea504157dd6a2be815fac89c2ec4c78.jpg","text":"TemporaryFile(/tmp/multipartBody3787833891192924156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870853067,"filename":"image_10122025_01_41_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/04a9d9b0b484b10c9cdda547c9c7416c.jpg","text":"TemporaryFile(/tmp/multipartBody1747988685225901502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870853067,"filename":"image_10122025_01_40_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/12/27/39a4352546bcbf5d2ab93945ee1da4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2538173483101363746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870853067,"filename":"image_10122025_01_41_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f7d66b83fd297a4f4081e0452c2aad68.jpg","text":"TemporaryFile(/tmp/multipartBody1486361552078430564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870853067,"filename":"image_10122025_01_41_34_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401329607","file1":"1401329574","file0":"1401329538","file4":"1401329675","file5":"1401329707","file3":"1401329641"},"map_files_photo_id_array":[{"photo_id":"1401329707","filename":"file5"},{"photo_id":"1401329607","filename":"file2"},{"photo_id":"1401329675","filename":"file4"},{"photo_id":"1401329574","filename":"file1"},{"photo_id":"1401329538","filename":"file0"},{"photo_id":"1401329641","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401329675":["hashtag1","hashtag2"]},{"1401329607":["hashtag1","hashtag2"]},{"1401329641":["hashtag1","hashtag2"]},{"1401329707":["hashtag1","hashtag2"]},{"1401329574":["hashtag1","hashtag2"]},{"1401329538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401329675, 1401329607, 1401329641, 1401329707, 1401329574, 1401329538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16520404815674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:27:17.401436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_35_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_40_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_35_9628.jpg', '/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_25_10620.jpg', '/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_14_9622.jpg', '/home/nano/Desktop/images/10122025/01/39/image_10122025_01_40_05_10625.jpg', '/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_54_9609.jpg', '/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_35_9628.jpg
/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_25_10620.jpg
/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_14_9622.jpg
/home/nano/Desktop/images/10122025/01/39/image_10122025_01_40_05_10625.jpg
/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_54_9609.jpg
/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_45_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":["1401330446","1401330382","1401330349","1401330550","1401330418","1401330582"],"photo_ids_order":["1401330349","1401330382","1401330418","1401330446","1401330550","1401330582"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc6bb4bee03e4f4564c3bd4381fbe94c.jpg","text":"TemporaryFile(/tmp/multipartBody4932839887551742141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870898213,"filename":"image_10122025_01_40_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fbbaece12b88bc09970d5a8a5a01e12.jpg","text":"TemporaryFile(/tmp/multipartBody5053069436082983662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870898213,"filename":"image_10122025_01_40_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7489718dff1cded6e381a12ee667ab15.jpg","text":"TemporaryFile(/tmp/multipartBody1048096516536029843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870898213,"filename":"image_10122025_01_40_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24d8d6dca3f61286b05e8f957dd6cb26.jpg","text":"TemporaryFile(/tmp/multipartBody6564515067394799879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870898213,"filename":"image_10122025_01_39_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/12/27/8aebed48cfc1bed2fd9d6f7f2fbdebfb.jpg","text":"TemporaryFile(/tmp/multipartBody4889458752546170955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870898213,"filename":"image_10122025_01_40_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/12/27/1a2282bb2e59551dc48de5c77ec07049.jpg","text":"TemporaryFile(/tmp/multipartBody5577418502644173778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870898213,"filename":"image_10122025_01_39_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401330418","file1":"1401330382","file0":"1401330349","file4":"1401330550","file5":"1401330582","file3":"1401330446"},"map_files_photo_id_array":[{"photo_id":"1401330582","filename":"file5"},{"photo_id":"1401330418","filename":"file2"},{"photo_id":"1401330550","filename":"file4"},{"photo_id":"1401330382","filename":"file1"},{"photo_id":"1401330349","filename":"file0"},{"photo_id":"1401330446","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401330446":["hashtag1","hashtag2"]},{"1401330382":["hashtag1","hashtag2"]},{"1401330349":["hashtag1","hashtag2"]},{"1401330550":["hashtag1","hashtag2"]},{"1401330418":["hashtag1","hashtag2"]},{"1401330582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401330446, 1401330382, 1401330349, 1401330550, 1401330418, 1401330582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42900013923645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:28:02.929421
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_39_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_34_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_15_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_24_9609.jpg', '/home/nano/Desktop/images/10122025/01/38/image_10122025_01_39_05_10635.jpg', '/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_54_9608.jpg', '/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_45_10619.jpg', '/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_34_9630.jpg', '/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_24_9609.jpg
/home/nano/Desktop/images/10122025/01/38/image_10122025_01_39_05_10635.jpg
/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_54_9608.jpg
/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_45_10619.jpg
/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_34_9630.jpg
/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_15_10654.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":["1401330831","1401331166","1401331321","1401330958","1401330868","1401330901"],"photo_ids_order":["1401330831","1401330868","1401330901","1401330958","1401331166","1401331321"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f8a96af8ee22788386461f2111bc751.jpg","text":"TemporaryFile(/tmp/multipartBody1213042864122343560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870943769,"filename":"image_10122025_01_39_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/12/27/4474e397493294acb764024b3ef1e8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4840826573706173701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870943769,"filename":"image_10122025_01_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/12/27/ba56b110b4dd7e307523881a15070410.jpg","text":"TemporaryFile(/tmp/multipartBody474192146323027058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870943769,"filename":"image_10122025_01_38_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4beb9011cfca30d9b72c571c0e70b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6630475448774934647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870943769,"filename":"image_10122025_01_38_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/90cc1303815924601cf6accab598b309.jpg","text":"TemporaryFile(/tmp/multipartBody925252732372681800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870943769,"filename":"image_10122025_01_39_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/862181a0490c3fe6978c36902a69dd96.jpg","text":"TemporaryFile(/tmp/multipartBody2063347203278177597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766870943769,"filename":"image_10122025_01_38_54_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401330901","file1":"1401330868","file0":"1401330831","file4":"1401331166","file5":"1401331321","file3":"1401330958"},"map_files_photo_id_array":[{"photo_id":"1401331321","filename":"file5"},{"photo_id":"1401330901","filename":"file2"},{"photo_id":"1401331166","filename":"file4"},{"photo_id":"1401330868","filename":"file1"},{"photo_id":"1401330831","filename":"file0"},{"photo_id":"1401330958","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401330831":["hashtag1","hashtag2"]},{"1401331166":["hashtag1","hashtag2"]},{"1401331321":["hashtag1","hashtag2"]},{"1401330958":["hashtag1","hashtag2"]},{"1401330868":["hashtag1","hashtag2"]},{"1401330901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401330831, 1401331166, 1401331321, 1401330958, 1401330868, 1401330901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.43664336204529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:29:03.747915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_38_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_35_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/37/image_10122025_01_38_04_9629.jpg', '/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_55_10618.jpg', '/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_44_9609.jpg', '/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_34_9606.jpg', '/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_14_9617.jpg', '/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_35_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/37/image_10122025_01_38_04_9629.jpg
/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_55_10618.jpg
/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_44_9609.jpg
/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_34_9606.jpg
/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_14_9617.jpg
/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_35_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":["1401331556","1401331567","1401331516","1401331569","1401331611","1401331598"],"photo_ids_order":["1401331516","1401331556","1401331567","1401331569","1401331598","1401331611"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0a75dbb732b8f3af847ea05c9411f0f9.jpg","text":"TemporaryFile(/tmp/multipartBody5804603196899711322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871004601,"filename":"image_10122025_01_37_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6fdb4bb7f80041fa40f810a2dde65982.jpg","text":"TemporaryFile(/tmp/multipartBody1062800416926041151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871004601,"filename":"image_10122025_01_37_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/12/27/ba425507abdf51f3d6455e9e6700aafd.jpg","text":"TemporaryFile(/tmp/multipartBody5151515100182702379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871004601,"filename":"image_10122025_01_38_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/12/27/115dd8f7950de04cf1e0f58ae6f3d493.jpg","text":"TemporaryFile(/tmp/multipartBody4935880735521099350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871004601,"filename":"image_10122025_01_37_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/12/27/6fef9c81663c4bf391a5059745203e3b.jpg","text":"TemporaryFile(/tmp/multipartBody1039749372493658272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871004601,"filename":"image_10122025_01_36_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0823989b11b244404bf285193ea2eac2.jpg","text":"TemporaryFile(/tmp/multipartBody995191225193073471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871004601,"filename":"image_10122025_01_37_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401331567","file1":"1401331556","file0":"1401331516","file4":"1401331598","file5":"1401331611","file3":"1401331569"},"map_files_photo_id_array":[{"photo_id":"1401331611","filename":"file5"},{"photo_id":"1401331567","filename":"file2"},{"photo_id":"1401331598","filename":"file4"},{"photo_id":"1401331556","filename":"file1"},{"photo_id":"1401331516","filename":"file0"},{"photo_id":"1401331569","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401331556":["hashtag1","hashtag2"]},{"1401331567":["hashtag1","hashtag2"]},{"1401331516":["hashtag1","hashtag2"]},{"1401331569":["hashtag1","hashtag2"]},{"1401331611":["hashtag1","hashtag2"]},{"1401331598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401331556, 1401331567, 1401331516, 1401331569, 1401331611, 1401331598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95363998413086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:29:47.568519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_36_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_15_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_24_9607.jpg', '/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_15_9606.jpg', '/home/nano/Desktop/images/10122025/01/35/image_10122025_01_36_05_10633.jpg', '/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_54_9607.jpg', '/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_24_9622.jpg', '/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_15_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_24_9607.jpg
/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_15_9606.jpg
/home/nano/Desktop/images/10122025/01/35/image_10122025_01_36_05_10633.jpg
/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_54_9607.jpg
/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_24_9622.jpg
/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_15_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":["1401331841","1401331774","1401331837","1401331918","1401331872","1401331809"],"photo_ids_order":["1401331774","1401331809","1401331837","1401331841","1401331872","1401331918"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6042e27980e6269e545358833a7c9a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2863345015742932405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871048378,"filename":"image_10122025_01_35_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/12/27/7916d0d695e84a03773f1828cfed3684.jpg","text":"TemporaryFile(/tmp/multipartBody7540473811277874256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871048378,"filename":"image_10122025_01_36_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/12/27/d6bafae76eba5b35bb7d7cdfdaf2e3f4.jpg","text":"TemporaryFile(/tmp/multipartBody7819522724933580555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871048378,"filename":"image_10122025_01_36_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09f89a6fe9863a62fd341402079060d1.jpg","text":"TemporaryFile(/tmp/multipartBody6490254424961185808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871048378,"filename":"image_10122025_01_35_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07acc024ac936355f8e8bb6fd7ce8a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4252608819890737148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871048378,"filename":"image_10122025_01_35_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/12/27/072e413de4c34b9a99041685839df66c.jpg","text":"TemporaryFile(/tmp/multipartBody7106603334136908764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871048378,"filename":"image_10122025_01_36_15_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401331837","file1":"1401331809","file0":"1401331774","file4":"1401331872","file5":"1401331918","file3":"1401331841"},"map_files_photo_id_array":[{"photo_id":"1401331918","filename":"file5"},{"photo_id":"1401331837","filename":"file2"},{"photo_id":"1401331872","filename":"file4"},{"photo_id":"1401331809","filename":"file1"},{"photo_id":"1401331774","filename":"file0"},{"photo_id":"1401331841","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401331841":["hashtag1","hashtag2"]},{"1401331774":["hashtag1","hashtag2"]},{"1401331837":["hashtag1","hashtag2"]},{"1401331918":["hashtag1","hashtag2"]},{"1401331872":["hashtag1","hashtag2"]},{"1401331809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401331841, 1401331774, 1401331837, 1401331918, 1401331872, 1401331809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57328701019287 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:30:32.695554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_35_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_14_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/34/image_10122025_01_35_04_9621.jpg', '/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_55_9610.jpg', '/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_45_10615.jpg', '/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_34_9624.jpg', '/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_25_10620.jpg', '/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_14_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/34/image_10122025_01_35_04_9621.jpg
/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_55_9610.jpg
/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_45_10615.jpg
/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_34_9624.jpg
/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_25_10620.jpg
/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_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":["1401332440","1401332236","1401332509","1401332203","1401332304","1401332375"],"photo_ids_order":["1401332203","1401332236","1401332304","1401332375","1401332440","1401332509"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bc09be6dc93bd629444d3137a98c95ef.jpg","text":"TemporaryFile(/tmp/multipartBody5852488079132736132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871093511,"filename":"image_10122025_01_34_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/264f191ac667af74e7cc022574a382d2.jpg","text":"TemporaryFile(/tmp/multipartBody6477907383277354836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871093511,"filename":"image_10122025_01_34_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/78a236ad8f06c1182526be09b3905ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3420131995228168488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871093511,"filename":"image_10122025_01_34_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/12/27/229675483e68a2c9f92395c5bf43a4ad.jpg","text":"TemporaryFile(/tmp/multipartBody6314966100009138983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871093511,"filename":"image_10122025_01_35_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/12/27/483d9ccf4f7ced217cc08414a80770ad.jpg","text":"TemporaryFile(/tmp/multipartBody6115728143252472931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871093511,"filename":"image_10122025_01_34_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2cd2214ae98e7f9b66cca563cb190108.jpg","text":"TemporaryFile(/tmp/multipartBody7356434255351336519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871093511,"filename":"image_10122025_01_34_34_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401332304","file1":"1401332236","file0":"1401332203","file4":"1401332440","file5":"1401332509","file3":"1401332375"},"map_files_photo_id_array":[{"photo_id":"1401332509","filename":"file5"},{"photo_id":"1401332304","filename":"file2"},{"photo_id":"1401332440","filename":"file4"},{"photo_id":"1401332236","filename":"file1"},{"photo_id":"1401332203","filename":"file0"},{"photo_id":"1401332375","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401332440":["hashtag1","hashtag2"]},{"1401332236":["hashtag1","hashtag2"]},{"1401332509":["hashtag1","hashtag2"]},{"1401332203":["hashtag1","hashtag2"]},{"1401332304":["hashtag1","hashtag2"]},{"1401332375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401332440, 1401332236, 1401332509, 1401332203, 1401332304, 1401332375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58134412765503 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:31:17.742801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_34_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_33_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/33/image_10122025_01_34_04_9625.jpg', '/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_55_10618.jpg', '/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_25_10632.jpg', '/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_14_9643.jpg', '/home/nano/Desktop/images/10122025/01/32/image_10122025_01_33_05_10634.jpg', '/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/33/image_10122025_01_34_04_9625.jpg
/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_55_10618.jpg
/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_25_10632.jpg
/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_14_9643.jpg
/home/nano/Desktop/images/10122025/01/32/image_10122025_01_33_05_10634.jpg
/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_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":["1401333382","1401332902","1401333540","1401333033","1401333213","1401332963"],"photo_ids_order":["1401332902","1401332963","1401333033","1401333213","1401333382","1401333540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f285fe83cbad14b912a6fea9a51d38f.jpg","text":"TemporaryFile(/tmp/multipartBody430951493975628836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871138547,"filename":"image_10122025_01_33_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f052e9e4043ae238e4cd70c20877024.jpg","text":"TemporaryFile(/tmp/multipartBody1290763084909670458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871138547,"filename":"image_10122025_01_34_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/12/27/487d55c312b3601c46ba1fa6574392d5.jpg","text":"TemporaryFile(/tmp/multipartBody1151330580417132315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871138547,"filename":"image_10122025_01_32_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/12/27/afa83259f7cb5c57359422e2821e57bb.jpg","text":"TemporaryFile(/tmp/multipartBody8476051777288567082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871138547,"filename":"image_10122025_01_33_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1839c7a75b1a80d3b81cd103d35ed0df.jpg","text":"TemporaryFile(/tmp/multipartBody3325004199349316073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871138547,"filename":"image_10122025_01_33_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/12/27/6bf57dcdb6db1e0cd8a352449a6e052a.jpg","text":"TemporaryFile(/tmp/multipartBody2799990781002922386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871138547,"filename":"image_10122025_01_33_55_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401333033","file1":"1401332963","file0":"1401332902","file4":"1401333382","file5":"1401333540","file3":"1401333213"},"map_files_photo_id_array":[{"photo_id":"1401333540","filename":"file5"},{"photo_id":"1401333033","filename":"file2"},{"photo_id":"1401333382","filename":"file4"},{"photo_id":"1401332963","filename":"file1"},{"photo_id":"1401332902","filename":"file0"},{"photo_id":"1401333213","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401333382":["hashtag1","hashtag2"]},{"1401332902":["hashtag1","hashtag2"]},{"1401333540":["hashtag1","hashtag2"]},{"1401333033":["hashtag1","hashtag2"]},{"1401333213":["hashtag1","hashtag2"]},{"1401332963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401333382, 1401332902, 1401333540, 1401333033, 1401333213, 1401332963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00990557670593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:32:02.355402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_34_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_44_9611.jpg', '/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_35_10636.jpg', '/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_24_9608.jpg', '/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_15_9621.jpg', '/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_54_9608.jpg', '/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_44_9611.jpg
/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_35_10636.jpg
/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_24_9608.jpg
/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_15_9621.jpg
/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_54_9608.jpg
/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_34_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":["1401333961","1401333958","1401333957","1401333942","1401333956","1401333889"],"photo_ids_order":["1401333889","1401333942","1401333956","1401333957","1401333958","1401333961"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8882a76184f554df37a4a4a15fb97504.jpg","text":"TemporaryFile(/tmp/multipartBody7198880255204807725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871183193,"filename":"image_10122025_01_31_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/12/27/02189181038cd12817b275761c206304.jpg","text":"TemporaryFile(/tmp/multipartBody8200140038574014169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871183193,"filename":"image_10122025_01_31_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/12/27/f45aab4214ffd19762583c08594c3594.jpg","text":"TemporaryFile(/tmp/multipartBody8263749496092521435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871183193,"filename":"image_10122025_01_32_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a8d15f1f334fca8185b3c6d949bd1841.jpg","text":"TemporaryFile(/tmp/multipartBody4977483179772823280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871183193,"filename":"image_10122025_01_32_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fe6f11ae63587e6186a1a4e63d32f39c.jpg","text":"TemporaryFile(/tmp/multipartBody5708280489397905322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871183193,"filename":"image_10122025_01_32_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/12/27/1128e8dec7261167e57066af16d98ae1.jpg","text":"TemporaryFile(/tmp/multipartBody2809746799433543612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871183193,"filename":"image_10122025_01_32_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401333956","file1":"1401333942","file0":"1401333889","file4":"1401333958","file5":"1401333961","file3":"1401333957"},"map_files_photo_id_array":[{"photo_id":"1401333961","filename":"file5"},{"photo_id":"1401333956","filename":"file2"},{"photo_id":"1401333958","filename":"file4"},{"photo_id":"1401333942","filename":"file1"},{"photo_id":"1401333889","filename":"file0"},{"photo_id":"1401333957","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401333961":["hashtag1","hashtag2"]},{"1401333958":["hashtag1","hashtag2"]},{"1401333957":["hashtag1","hashtag2"]},{"1401333942":["hashtag1","hashtag2"]},{"1401333956":["hashtag1","hashtag2"]},{"1401333889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401333961, 1401333958, 1401333957, 1401333942, 1401333956, 1401333889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.837804555892944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:32:46.845044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_14_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_24_9609.jpg', '/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_15_10631.jpg', '/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_45_10619.jpg', '/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_34_9609.jpg', '/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_25_10618.jpg', '/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_14_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_24_9609.jpg
/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_15_10631.jpg
/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_45_10619.jpg
/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_34_9609.jpg
/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_25_10618.jpg
/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_14_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":["1401334449","1401334278","1401334470","1401334175","1401334421","1401334238"],"photo_ids_order":["1401334175","1401334238","1401334278","1401334421","1401334449","1401334470"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b59f3f40d423dfe9317ae106eb87f46c.jpg","text":"TemporaryFile(/tmp/multipartBody426387868192331706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871227674,"filename":"image_10122025_01_30_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a962358b35b0e2f326956296135bc506.jpg","text":"TemporaryFile(/tmp/multipartBody3450373175670748951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871227674,"filename":"image_10122025_01_30_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/177500a8cbd130fa71bf46508f6f72b3.jpg","text":"TemporaryFile(/tmp/multipartBody2298992362134922568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871227674,"filename":"image_10122025_01_30_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/12/27/b5ec6f2c81b9d5bf319451cd70d4f525.jpg","text":"TemporaryFile(/tmp/multipartBody1562845368445119368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871227674,"filename":"image_10122025_01_31_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/12/27/6762a72c8211cf5efc3690111525dafd.jpg","text":"TemporaryFile(/tmp/multipartBody2503795648066243105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871227674,"filename":"image_10122025_01_30_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/12/27/59c7680f39feb76d8dbeb4628db163cc.jpg","text":"TemporaryFile(/tmp/multipartBody2851510210378778399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871227674,"filename":"image_10122025_01_31_15_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401334278","file1":"1401334238","file0":"1401334175","file4":"1401334449","file5":"1401334470","file3":"1401334421"},"map_files_photo_id_array":[{"photo_id":"1401334470","filename":"file5"},{"photo_id":"1401334278","filename":"file2"},{"photo_id":"1401334449","filename":"file4"},{"photo_id":"1401334238","filename":"file1"},{"photo_id":"1401334175","filename":"file0"},{"photo_id":"1401334421","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401334449":["hashtag1","hashtag2"]},{"1401334278":["hashtag1","hashtag2"]},{"1401334470":["hashtag1","hashtag2"]},{"1401334175":["hashtag1","hashtag2"]},{"1401334421":["hashtag1","hashtag2"]},{"1401334238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401334449, 1401334278, 1401334470, 1401334175, 1401334421, 1401334238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.024259090423584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:33:31.926938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_30_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/29/image_10122025_01_30_05_9652.jpg', '/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_55_10617.jpg', '/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_44_9606.jpg', '/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_35_9605.jpg', '/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_25_10615.jpg', '/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/29/image_10122025_01_30_05_9652.jpg
/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_55_10617.jpg
/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_44_9606.jpg
/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_35_9605.jpg
/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_25_10615.jpg
/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_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":["1401334589","1401334646","1401334553","1401334693","1401334564","1401334567"],"photo_ids_order":["1401334553","1401334564","1401334567","1401334589","1401334646","1401334693"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f8e6fa64f0c0174b5d2a46ddeecc1c2.jpg","text":"TemporaryFile(/tmp/multipartBody298368420477908380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871272736,"filename":"image_10122025_01_29_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b2c0e2698097a0d874a8485ac8beb447.jpg","text":"TemporaryFile(/tmp/multipartBody4838478923529808028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871272736,"filename":"image_10122025_01_29_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/40c18400a29c7ae7c803ceeec38e8d95.jpg","text":"TemporaryFile(/tmp/multipartBody5109770954400983978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871272736,"filename":"image_10122025_01_30_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2295bb6d1cf4ca2ef54dd1ca1869cab5.jpg","text":"TemporaryFile(/tmp/multipartBody9218998843992412849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871272736,"filename":"image_10122025_01_28_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/12/27/67b20104ba95eb31001deaafd8743e31.jpg","text":"TemporaryFile(/tmp/multipartBody5713653316870852848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871272736,"filename":"image_10122025_01_29_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d306b581bbcc5a8723f40041d8a21f36.jpg","text":"TemporaryFile(/tmp/multipartBody2368812913474491192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871272736,"filename":"image_10122025_01_29_44_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401334567","file1":"1401334564","file0":"1401334553","file4":"1401334646","file5":"1401334693","file3":"1401334589"},"map_files_photo_id_array":[{"photo_id":"1401334693","filename":"file5"},{"photo_id":"1401334567","filename":"file2"},{"photo_id":"1401334646","filename":"file4"},{"photo_id":"1401334564","filename":"file1"},{"photo_id":"1401334553","filename":"file0"},{"photo_id":"1401334589","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401334589":["hashtag1","hashtag2"]},{"1401334646":["hashtag1","hashtag2"]},{"1401334553":["hashtag1","hashtag2"]},{"1401334693":["hashtag1","hashtag2"]},{"1401334564":["hashtag1","hashtag2"]},{"1401334567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401334589, 1401334646, 1401334553, 1401334693, 1401334564, 1401334567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.648221015930176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:34:17.046895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', '/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', '/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg', '/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg', '/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', '/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg
/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg
/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg
/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg
/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg
/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7023489475250244 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:34:32.039307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', '/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', '/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg', '/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg', '/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', '/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg
/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg
/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg
/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg
/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg
/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_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":["1401335085","1401335048","1401335126","1401335197","1401335161","1401335015"],"photo_ids_order":["1401335015","1401335048","1401335085","1401335126","1401335161","1401335197"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a1f00f8e521a471c84797fe5a659399.jpg","text":"TemporaryFile(/tmp/multipartBody4512401158697076035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871332889,"filename":"image_10122025_01_28_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/12/27/21b03e77be887afb67549c89acd854d0.jpg","text":"TemporaryFile(/tmp/multipartBody6849327237271364730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871332889,"filename":"image_10122025_01_28_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6637549c9c6247f01bf54a6cd715a61.jpg","text":"TemporaryFile(/tmp/multipartBody1124040917748994243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871332889,"filename":"image_10122025_01_27_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/12/27/aeb7793b3bd5e2accc547c825fc76412.jpg","text":"TemporaryFile(/tmp/multipartBody7448816896672501522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871332889,"filename":"image_10122025_01_27_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec0ce107ce8e3d39ed2e6f2ffe4058ad.jpg","text":"TemporaryFile(/tmp/multipartBody2420757968225641882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871332889,"filename":"image_10122025_01_27_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72f9886dfdb2120b7c437799bff2f045.jpg","text":"TemporaryFile(/tmp/multipartBody8903338669290986931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871332889,"filename":"image_10122025_01_28_45_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401335085","file1":"1401335048","file0":"1401335015","file4":"1401335161","file5":"1401335197","file3":"1401335126"},"map_files_photo_id_array":[{"photo_id":"1401335197","filename":"file5"},{"photo_id":"1401335085","filename":"file2"},{"photo_id":"1401335161","filename":"file4"},{"photo_id":"1401335048","filename":"file1"},{"photo_id":"1401335015","filename":"file0"},{"photo_id":"1401335126","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401335085":["hashtag1","hashtag2"]},{"1401335048":["hashtag1","hashtag2"]},{"1401335126":["hashtag1","hashtag2"]},{"1401335197":["hashtag1","hashtag2"]},{"1401335161":["hashtag1","hashtag2"]},{"1401335015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401335085, 1401335048, 1401335126, 1401335197, 1401335161, 1401335015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32814311981201 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:35:17.121833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_44_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_15_10630.jpg', '/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_44_9607.jpg', '/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_35_9607.jpg', '/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_25_10619.jpg', '/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_55_10620.jpg', '/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_15_10630.jpg
/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_44_9607.jpg
/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_35_9607.jpg
/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_25_10619.jpg
/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_55_10620.jpg
/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_44_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":["1401335448","1401335420","1401335389","1401335440","1401335443","1401335446"],"photo_ids_order":["1401335389","1401335420","1401335440","1401335443","1401335446","1401335448"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c0fcf6a22e586a1365b26bb65b14e32.jpg","text":"TemporaryFile(/tmp/multipartBody8738392356711417215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871377937,"filename":"image_10122025_01_25_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/12/27/a329e2db0d2ec3eea10e95ab1f174e07.jpg","text":"TemporaryFile(/tmp/multipartBody8990161162702102462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871377937,"filename":"image_10122025_01_26_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/12/27/be5aab26cf9ab9c5906a1cf28655bad1.jpg","text":"TemporaryFile(/tmp/multipartBody2811369782274042952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871377937,"filename":"image_10122025_01_27_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c4d51fa56601ff73be3454c12391c11a.jpg","text":"TemporaryFile(/tmp/multipartBody813038831990778950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871377937,"filename":"image_10122025_01_26_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f14b5dd87feb6eec092f22b0ef6a5f34.jpg","text":"TemporaryFile(/tmp/multipartBody8042111573130218065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871377937,"filename":"image_10122025_01_26_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93752e6f658413378b7dcffc31008425.jpg","text":"TemporaryFile(/tmp/multipartBody1889876252185432258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871377937,"filename":"image_10122025_01_25_55_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401335440","file1":"1401335420","file0":"1401335389","file4":"1401335446","file5":"1401335448","file3":"1401335443"},"map_files_photo_id_array":[{"photo_id":"1401335448","filename":"file5"},{"photo_id":"1401335440","filename":"file2"},{"photo_id":"1401335446","filename":"file4"},{"photo_id":"1401335420","filename":"file1"},{"photo_id":"1401335389","filename":"file0"},{"photo_id":"1401335443","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401335448":["hashtag1","hashtag2"]},{"1401335420":["hashtag1","hashtag2"]},{"1401335389":["hashtag1","hashtag2"]},{"1401335440":["hashtag1","hashtag2"]},{"1401335443":["hashtag1","hashtag2"]},{"1401335446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401335448, 1401335420, 1401335389, 1401335440, 1401335443, 1401335446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20841121673584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:36:02.746624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_25_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_25_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_15_9621.jpg', '/home/nano/Desktop/images/10122025/01/24/image_10122025_01_25_05_10625.jpg', '/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_54_9609.jpg', '/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_45_10619.jpg', '/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_34_9607.jpg', '/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_25_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_15_9621.jpg
/home/nano/Desktop/images/10122025/01/24/image_10122025_01_25_05_10625.jpg
/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_54_9609.jpg
/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_45_10619.jpg
/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_34_9607.jpg
/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_25_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":["1401335841","1401335514","1401335768","1401335639","1401335479","1401335872"],"photo_ids_order":["1401335479","1401335514","1401335639","1401335768","1401335841","1401335872"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d3ad02bd2fde647ca80f0b054872a6e9.jpg","text":"TemporaryFile(/tmp/multipartBody7538614915836727456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871423554,"filename":"image_10122025_01_24_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/12/27/d63f38758c9b76177443309d07875288.jpg","text":"TemporaryFile(/tmp/multipartBody2162534387812798034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871423554,"filename":"image_10122025_01_25_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5dba6f82edf8953672f095902a5a738e.jpg","text":"TemporaryFile(/tmp/multipartBody153906267120050804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871423554,"filename":"image_10122025_01_24_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bf69f79a2d3934bb40483c0f927467e0.jpg","text":"TemporaryFile(/tmp/multipartBody3072058110914526166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871423554,"filename":"image_10122025_01_24_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/12/27/3ce5cb4d00a77c707b0b4af8606f62f3.jpg","text":"TemporaryFile(/tmp/multipartBody584708494935620126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871423554,"filename":"image_10122025_01_25_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05fc2785ca9d1668666778808947a831.jpg","text":"TemporaryFile(/tmp/multipartBody315803234488212795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871423554,"filename":"image_10122025_01_24_25_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401335639","file1":"1401335514","file0":"1401335479","file4":"1401335841","file5":"1401335872","file3":"1401335768"},"map_files_photo_id_array":[{"photo_id":"1401335872","filename":"file5"},{"photo_id":"1401335639","filename":"file2"},{"photo_id":"1401335841","filename":"file4"},{"photo_id":"1401335514","filename":"file1"},{"photo_id":"1401335479","filename":"file0"},{"photo_id":"1401335768","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401335841":["hashtag1","hashtag2"]},{"1401335514":["hashtag1","hashtag2"]},{"1401335768":["hashtag1","hashtag2"]},{"1401335639":["hashtag1","hashtag2"]},{"1401335479":["hashtag1","hashtag2"]},{"1401335872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401335841, 1401335514, 1401335768, 1401335639, 1401335479, 1401335872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84974670410156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:36:47.232230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_10613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6897492408752441 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:37:03.116643
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg', '/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_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":["1401336062","1401336101","1401336104","1401336097","1401336099","1401336087"],"photo_ids_order":["1401336062","1401336087","1401336097","1401336099","1401336101","1401336104"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/434cd18164a07dfa6f89f3a461a831ff.jpg","text":"TemporaryFile(/tmp/multipartBody1110547771596641072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871483963,"filename":"image_10122025_01_24_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/34cc7eea7cfc2c2955217cb9790488dd.jpg","text":"TemporaryFile(/tmp/multipartBody3478263416040090477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871483963,"filename":"image_10122025_01_23_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/12/27/0cc06d0c12222f7ffb71d73045517095.jpg","text":"TemporaryFile(/tmp/multipartBody8942169439190471596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871483963,"filename":"image_10122025_01_23_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/93b77e5cea6f04e930aec2dd5ada98c5.jpg","text":"TemporaryFile(/tmp/multipartBody837181316360134539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871483963,"filename":"image_10122025_01_23_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7628ffd6b12aa5a01b15f9465945a89.jpg","text":"TemporaryFile(/tmp/multipartBody3514307311129750352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871483963,"filename":"image_10122025_01_23_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b53d15c170fbda6a10ca89a35749b96.jpg","text":"TemporaryFile(/tmp/multipartBody4610614640147228905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871483963,"filename":"image_10122025_01_24_04_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336097","file1":"1401336087","file0":"1401336062","file4":"1401336101","file5":"1401336104","file3":"1401336099"},"map_files_photo_id_array":[{"photo_id":"1401336104","filename":"file5"},{"photo_id":"1401336097","filename":"file2"},{"photo_id":"1401336101","filename":"file4"},{"photo_id":"1401336087","filename":"file1"},{"photo_id":"1401336062","filename":"file0"},{"photo_id":"1401336099","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336062":["hashtag1","hashtag2"]},{"1401336101":["hashtag1","hashtag2"]},{"1401336104":["hashtag1","hashtag2"]},{"1401336097":["hashtag1","hashtag2"]},{"1401336099":["hashtag1","hashtag2"]},{"1401336087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336062, 1401336101, 1401336104, 1401336097, 1401336099, 1401336087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66875338554382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:37:47.336367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_22_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_45_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_14_9619.jpg', '/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_24_9605.jpg', '/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_15_9620.jpg', '/home/nano/Desktop/images/10122025/01/21/image_10122025_01_22_05_10622.jpg', '/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_54_9603.jpg', '/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_45_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_14_9619.jpg
/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_24_9605.jpg
/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_15_9620.jpg
/home/nano/Desktop/images/10122025/01/21/image_10122025_01_22_05_10622.jpg
/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_54_9603.jpg
/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_45_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":["1401336111","1401336113","1401336110","1401336112","1401336115","1401336109"],"photo_ids_order":["1401336109","1401336110","1401336111","1401336112","1401336113","1401336115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/191047279d959dd040754ef5b20291dc.jpg","text":"TemporaryFile(/tmp/multipartBody9169765395048614558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871528138,"filename":"image_10122025_01_22_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d06961bf1364958c5f9e99257fb778d3.jpg","text":"TemporaryFile(/tmp/multipartBody5525307492353781324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871528138,"filename":"image_10122025_01_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/12/27/21897e55884467953d2ac173ce1ce512.jpg","text":"TemporaryFile(/tmp/multipartBody3619132261431211154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871528138,"filename":"image_10122025_01_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/12/27/1b9857fd07f79157ede74e27caaf2e05.jpg","text":"TemporaryFile(/tmp/multipartBody7213541593442614631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871528138,"filename":"image_10122025_01_22_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f84df2d2a1d1fbc0aee742f2dc0e4f31.jpg","text":"TemporaryFile(/tmp/multipartBody8590600188189093909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871528138,"filename":"image_10122025_01_21_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/46515677ce1dc9ce1f6efabe0e977122.jpg","text":"TemporaryFile(/tmp/multipartBody2379497293463863161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871528138,"filename":"image_10122025_01_23_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336111","file1":"1401336110","file0":"1401336109","file4":"1401336113","file5":"1401336115","file3":"1401336112"},"map_files_photo_id_array":[{"photo_id":"1401336115","filename":"file5"},{"photo_id":"1401336111","filename":"file2"},{"photo_id":"1401336113","filename":"file4"},{"photo_id":"1401336110","filename":"file1"},{"photo_id":"1401336109","filename":"file0"},{"photo_id":"1401336112","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336111":["hashtag1","hashtag2"]},{"1401336113":["hashtag1","hashtag2"]},{"1401336110":["hashtag1","hashtag2"]},{"1401336112":["hashtag1","hashtag2"]},{"1401336115":["hashtag1","hashtag2"]},{"1401336109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336111, 1401336113, 1401336110, 1401336112, 1401336115, 1401336109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.160808086395264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:38:32.457007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_21_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_15_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_35_10623.jpg', '/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_15_10652.jpg', '/home/nano/Desktop/images/10122025/01/20/image_10122025_01_21_04_9627.jpg', '/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_45_10633.jpg', '/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_34_9607.jpg', '/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_15_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_35_10623.jpg
/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_15_10652.jpg
/home/nano/Desktop/images/10122025/01/20/image_10122025_01_21_04_9627.jpg
/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_45_10633.jpg
/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_34_9607.jpg
/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_15_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":["1401336123","1401336126","1401336131","1401336125","1401336133","1401336132"],"photo_ids_order":["1401336123","1401336125","1401336126","1401336131","1401336132","1401336133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/685c291707bf02267e24f0f65f380b2d.jpg","text":"TemporaryFile(/tmp/multipartBody5017380005234721344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871573261,"filename":"image_10122025_01_21_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/424d1c1df44d80c8755fad3f1887e620.jpg","text":"TemporaryFile(/tmp/multipartBody7584102697082478067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871573261,"filename":"image_10122025_01_21_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/12/27/2247926a071dec12fe065dabaa2d76ff.jpg","text":"TemporaryFile(/tmp/multipartBody6072195749795121107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871573261,"filename":"image_10122025_01_20_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d22f863601d1c662f882460ba4364d5.jpg","text":"TemporaryFile(/tmp/multipartBody1620626566085779914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871573261,"filename":"image_10122025_01_21_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/864086b49c4c66e5ab6e4bc0464a368f.jpg","text":"TemporaryFile(/tmp/multipartBody4846227757479265426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871573261,"filename":"image_10122025_01_20_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f73659303de902345b5964bb1251a24.jpg","text":"TemporaryFile(/tmp/multipartBody452210260430644896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871573261,"filename":"image_10122025_01_20_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336126","file1":"1401336125","file0":"1401336123","file4":"1401336132","file5":"1401336133","file3":"1401336131"},"map_files_photo_id_array":[{"photo_id":"1401336133","filename":"file5"},{"photo_id":"1401336126","filename":"file2"},{"photo_id":"1401336132","filename":"file4"},{"photo_id":"1401336125","filename":"file1"},{"photo_id":"1401336123","filename":"file0"},{"photo_id":"1401336131","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336123":["hashtag1","hashtag2"]},{"1401336126":["hashtag1","hashtag2"]},{"1401336131":["hashtag1","hashtag2"]},{"1401336125":["hashtag1","hashtag2"]},{"1401336133":["hashtag1","hashtag2"]},{"1401336132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336123, 1401336126, 1401336131, 1401336125, 1401336133, 1401336132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.952436208724976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:39:17.588379
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_20_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_14_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/19/image_10122025_01_20_04_9622.jpg', '/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_55_10616.jpg', '/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_44_9608.jpg', '/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_35_9624.jpg', '/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_25_10620.jpg', '/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_14_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/19/image_10122025_01_20_04_9622.jpg
/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_55_10616.jpg
/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_44_9608.jpg
/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_35_9624.jpg
/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_25_10620.jpg
/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_14_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":["1401336144","1401336138","1401336146","1401336140","1401336142","1401336148"],"photo_ids_order":["1401336138","1401336140","1401336142","1401336144","1401336146","1401336148"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b34ced71223c7d9e6320edb329811156.jpg","text":"TemporaryFile(/tmp/multipartBody4706660501261414317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871618417,"filename":"image_10122025_01_19_35_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1c27e7bd6137d0bef4824e890e1daf8f.jpg","text":"TemporaryFile(/tmp/multipartBody753293304107062115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871618417,"filename":"image_10122025_01_20_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/12/27/91b9b8bc4fc40fd2f717e96951cc6265.jpg","text":"TemporaryFile(/tmp/multipartBody6388320910173425898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871618417,"filename":"image_10122025_01_19_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/94d26f172f325d270eccd34b8efce751.jpg","text":"TemporaryFile(/tmp/multipartBody1562555210781566370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871618417,"filename":"image_10122025_01_19_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a83695a3c217ac33f6d4b4d0820129a0.jpg","text":"TemporaryFile(/tmp/multipartBody5706136324918500079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871618417,"filename":"image_10122025_01_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/12/27/bc507e61133223e1d4d48fc485ef3272.jpg","text":"TemporaryFile(/tmp/multipartBody1205059844212664420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871618417,"filename":"image_10122025_01_19_14_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336142","file1":"1401336140","file0":"1401336138","file4":"1401336146","file5":"1401336148","file3":"1401336144"},"map_files_photo_id_array":[{"photo_id":"1401336148","filename":"file5"},{"photo_id":"1401336142","filename":"file2"},{"photo_id":"1401336146","filename":"file4"},{"photo_id":"1401336140","filename":"file1"},{"photo_id":"1401336138","filename":"file0"},{"photo_id":"1401336144","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336144":["hashtag1","hashtag2"]},{"1401336138":["hashtag1","hashtag2"]},{"1401336146":["hashtag1","hashtag2"]},{"1401336140":["hashtag1","hashtag2"]},{"1401336142":["hashtag1","hashtag2"]},{"1401336148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336144, 1401336138, 1401336146, 1401336140, 1401336142, 1401336148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02775692939758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:40:03.145116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_25_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_35_10633.jpg', '/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_24_9608.jpg', '/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_15_9606.jpg', '/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_54_9605.jpg', '/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_34_9606.jpg', '/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_35_10633.jpg
/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_24_9608.jpg
/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_15_9606.jpg
/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_54_9605.jpg
/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_34_9606.jpg
/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_25_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":["1401336152","1401336155","1401336157","1401336159","1401336153","1401336162"],"photo_ids_order":["1401336152","1401336153","1401336155","1401336157","1401336159","1401336162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd4027a9336d53ef754bfda81dcb76b5.jpg","text":"TemporaryFile(/tmp/multipartBody8203263809072785448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871663967,"filename":"image_10122025_01_18_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/524b309d6d98663304d2d06220967580.jpg","text":"TemporaryFile(/tmp/multipartBody4830276391956465244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871663967,"filename":"image_10122025_01_18_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f5d5f634fad649d0dbf63fd210252115.jpg","text":"TemporaryFile(/tmp/multipartBody4604478027408801399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871663967,"filename":"image_10122025_01_17_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/12/27/2825f391e49ef501e35409f4a5ccd18a.jpg","text":"TemporaryFile(/tmp/multipartBody855227126771351388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871663967,"filename":"image_10122025_01_17_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/12/27/6141157dfeadcae7db175c2f5c99c3e3.jpg","text":"TemporaryFile(/tmp/multipartBody3447692638122427581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871663967,"filename":"image_10122025_01_18_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/12/27/8d195ca12223c943a44a2dfe5931f8d4.jpg","text":"TemporaryFile(/tmp/multipartBody5074574818674390019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871663967,"filename":"image_10122025_01_17_25_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336155","file1":"1401336153","file0":"1401336152","file4":"1401336159","file5":"1401336162","file3":"1401336157"},"map_files_photo_id_array":[{"photo_id":"1401336162","filename":"file5"},{"photo_id":"1401336155","filename":"file2"},{"photo_id":"1401336159","filename":"file4"},{"photo_id":"1401336153","filename":"file1"},{"photo_id":"1401336152","filename":"file0"},{"photo_id":"1401336157","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336152":["hashtag1","hashtag2"]},{"1401336155":["hashtag1","hashtag2"]},{"1401336157":["hashtag1","hashtag2"]},{"1401336159":["hashtag1","hashtag2"]},{"1401336153":["hashtag1","hashtag2"]},{"1401336162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336152, 1401336155, 1401336157, 1401336159, 1401336153, 1401336162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25717544555664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:40:47.643195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_16_05_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_15_10632.jpg', '/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_55_10618.jpg', '/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_35_9609.jpg', '/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_25_10621.jpg', '/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_14_9638.jpg', '/home/nano/Desktop/images/10122025/01/15/image_10122025_01_16_05_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_15_10632.jpg
/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_55_10618.jpg
/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_35_9609.jpg
/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_25_10621.jpg
/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_14_9638.jpg
/home/nano/Desktop/images/10122025/01/15/image_10122025_01_16_05_9622.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":["1401336170","1401336167","1401336172","1401336169","1401336166","1401336174"],"photo_ids_order":["1401336166","1401336167","1401336169","1401336170","1401336172","1401336174"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4c262bc26cfec5947b7a4303e2dcb95a.jpg","text":"TemporaryFile(/tmp/multipartBody1169305634877878945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871708435,"filename":"image_10122025_01_16_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/691c8c54e0b006678c05dae62351e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody7340582726507159296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871708435,"filename":"image_10122025_01_16_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8cb06dd472a4147a180bb168615825e.jpg","text":"TemporaryFile(/tmp/multipartBody4235233975725194900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871708435,"filename":"image_10122025_01_16_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/12/27/844037a9ab82ee859e48e55b5ae3c891.jpg","text":"TemporaryFile(/tmp/multipartBody6151734607108374430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871708435,"filename":"image_10122025_01_16_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1166ef5cc437034d2eef5fd7b24aab49.jpg","text":"TemporaryFile(/tmp/multipartBody1936111458639787519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871708435,"filename":"image_10122025_01_17_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e071a61ec0aa169fdfc19247b773a10.jpg","text":"TemporaryFile(/tmp/multipartBody5917398816379266509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871708435,"filename":"image_10122025_01_16_05_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336169","file1":"1401336167","file0":"1401336166","file4":"1401336172","file5":"1401336174","file3":"1401336170"},"map_files_photo_id_array":[{"photo_id":"1401336174","filename":"file5"},{"photo_id":"1401336169","filename":"file2"},{"photo_id":"1401336172","filename":"file4"},{"photo_id":"1401336167","filename":"file1"},{"photo_id":"1401336166","filename":"file0"},{"photo_id":"1401336170","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336170":["hashtag1","hashtag2"]},{"1401336167":["hashtag1","hashtag2"]},{"1401336172":["hashtag1","hashtag2"]},{"1401336169":["hashtag1","hashtag2"]},{"1401336166":["hashtag1","hashtag2"]},{"1401336174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336170, 1401336167, 1401336172, 1401336169, 1401336166, 1401336174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.67992091178894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:41:47.820635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_15_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_15_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_35_10617.jpg', '/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_15_9623.jpg', '/home/nano/Desktop/images/10122025/01/14/image_10122025_01_15_05_10636.jpg', '/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_34_9610.jpg', '/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_24_9608.jpg', '/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_15_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_35_10617.jpg
/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_15_9623.jpg
/home/nano/Desktop/images/10122025/01/14/image_10122025_01_15_05_10636.jpg
/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_34_9610.jpg
/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_24_9608.jpg
/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_15_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":["1401336188","1401336185","1401336190","1401336184","1401336183","1401336186"],"photo_ids_order":["1401336183","1401336184","1401336185","1401336186","1401336188","1401336190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/06a63319de202cb0e330023c003fa7db.jpg","text":"TemporaryFile(/tmp/multipartBody8293669684192298157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871768634,"filename":"image_10122025_01_14_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/12/27/a842b4948aa2d2943da9e6ece17c5419.jpg","text":"TemporaryFile(/tmp/multipartBody5698193721538976875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871768634,"filename":"image_10122025_01_15_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b9b2878dba480e6ef4293a4a72041bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6375311263286861431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871768634,"filename":"image_10122025_01_14_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b40413de9b7fd558f49799d5a3e36461.jpg","text":"TemporaryFile(/tmp/multipartBody3263061436814316959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871768634,"filename":"image_10122025_01_15_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5495b3ac8d5b92108818d86308e12f60.jpg","text":"TemporaryFile(/tmp/multipartBody9169641746110329577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871768634,"filename":"image_10122025_01_15_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6aeffbe1aaef2581bb3f8becd4b073a8.jpg","text":"TemporaryFile(/tmp/multipartBody6884933543047630446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871768634,"filename":"image_10122025_01_14_34_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336185","file1":"1401336184","file0":"1401336183","file4":"1401336188","file5":"1401336190","file3":"1401336186"},"map_files_photo_id_array":[{"photo_id":"1401336190","filename":"file5"},{"photo_id":"1401336185","filename":"file2"},{"photo_id":"1401336188","filename":"file4"},{"photo_id":"1401336184","filename":"file1"},{"photo_id":"1401336183","filename":"file0"},{"photo_id":"1401336186","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336188":["hashtag1","hashtag2"]},{"1401336185":["hashtag1","hashtag2"]},{"1401336190":["hashtag1","hashtag2"]},{"1401336184":["hashtag1","hashtag2"]},{"1401336183":["hashtag1","hashtag2"]},{"1401336186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336188, 1401336185, 1401336190, 1401336184, 1401336183, 1401336186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52202367782593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:42:31.948669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', '/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', '/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', '/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', '/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg', '/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_10618.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7110607624053955 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:42:46.929879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', '/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', '/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', '/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', '/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg', '/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg
/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_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":["1401336632","1401336635","1401336725","1401336634","1401336783","1401336636"],"photo_ids_order":["1401336632","1401336634","1401336635","1401336636","1401336725","1401336783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a28a67a7611670be6a2863fd06460274.jpg","text":"TemporaryFile(/tmp/multipartBody5804922796656082255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871827728,"filename":"image_10122025_01_13_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/75044940a3da220ad37cba57aa365f33.jpg","text":"TemporaryFile(/tmp/multipartBody2772010068476695049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871827728,"filename":"image_10122025_01_13_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6d8b72b7ff01acbb0e63bc7f00ba402.jpg","text":"TemporaryFile(/tmp/multipartBody7217680145622240831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871827728,"filename":"image_10122025_01_13_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c097c401fb36186a1ce3fcc55c61d0ea.jpg","text":"TemporaryFile(/tmp/multipartBody3167806528395853175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871827728,"filename":"image_10122025_01_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/12/27/7c2b3543b208229c7052758671ebc05a.jpg","text":"TemporaryFile(/tmp/multipartBody3526870185393197960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871827728,"filename":"image_10122025_01_12_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a98926345a8e0723d9cee3f3ccf96569.jpg","text":"TemporaryFile(/tmp/multipartBody1221288209451326968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871827728,"filename":"image_10122025_01_13_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401336635","file1":"1401336634","file0":"1401336632","file4":"1401336725","file5":"1401336783","file3":"1401336636"},"map_files_photo_id_array":[{"photo_id":"1401336783","filename":"file5"},{"photo_id":"1401336635","filename":"file2"},{"photo_id":"1401336725","filename":"file4"},{"photo_id":"1401336634","filename":"file1"},{"photo_id":"1401336632","filename":"file0"},{"photo_id":"1401336636","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401336632":["hashtag1","hashtag2"]},{"1401336635":["hashtag1","hashtag2"]},{"1401336725":["hashtag1","hashtag2"]},{"1401336634":["hashtag1","hashtag2"]},{"1401336783":["hashtag1","hashtag2"]},{"1401336636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401336632, 1401336635, 1401336725, 1401336634, 1401336783, 1401336636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04430651664734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:43:32.024955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_12_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_45_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_44_9611.jpg', '/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_35_9611.jpg', '/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_25_10619.jpg', '/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_14_9624.jpg', '/home/nano/Desktop/images/10122025/01/11/image_10122025_01_12_05_10620.jpg', '/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_45_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_44_9611.jpg
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_35_9611.jpg
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_25_10619.jpg
/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_14_9624.jpg
/home/nano/Desktop/images/10122025/01/11/image_10122025_01_12_05_10620.jpg
/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_45_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":["1401337340","1401337261","1401337402","1401337197","1401337464","1401337530"],"photo_ids_order":["1401337197","1401337261","1401337340","1401337402","1401337464","1401337530"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c660df03d244a0c40c1dd642ae1956ca.jpg","text":"TemporaryFile(/tmp/multipartBody5907104631105126629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871872895,"filename":"image_10122025_01_12_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/497bc58dcfc7dc3f6e8f741c5be0ed48.jpg","text":"TemporaryFile(/tmp/multipartBody8013401374320016157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871872895,"filename":"image_10122025_01_12_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07d4c3e87762322e3d1545ace1821fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8327917617478776688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871872895,"filename":"image_10122025_01_12_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/12/27/c3746501cc7fdf3960306af584acac49.jpg","text":"TemporaryFile(/tmp/multipartBody7782916773063555247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871872895,"filename":"image_10122025_01_12_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/12/27/cbb1db3b33551c722845581d50f530c8.jpg","text":"TemporaryFile(/tmp/multipartBody6520181536452528659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871872895,"filename":"image_10122025_01_12_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0bdb20728da88ec9418c57ec0adf3429.jpg","text":"TemporaryFile(/tmp/multipartBody8721558022566123625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871872895,"filename":"image_10122025_01_11_45_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401337340","file1":"1401337261","file0":"1401337197","file4":"1401337464","file5":"1401337530","file3":"1401337402"},"map_files_photo_id_array":[{"photo_id":"1401337530","filename":"file5"},{"photo_id":"1401337340","filename":"file2"},{"photo_id":"1401337464","filename":"file4"},{"photo_id":"1401337261","filename":"file1"},{"photo_id":"1401337197","filename":"file0"},{"photo_id":"1401337402","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401337340":["hashtag1","hashtag2"]},{"1401337261":["hashtag1","hashtag2"]},{"1401337402":["hashtag1","hashtag2"]},{"1401337197":["hashtag1","hashtag2"]},{"1401337464":["hashtag1","hashtag2"]},{"1401337530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401337340, 1401337261, 1401337402, 1401337197, 1401337464, 1401337530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.918803453445435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:44:17.157565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_11_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_25_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_35_10628.jpg', '/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_15_10632.jpg', '/home/nano/Desktop/images/10122025/01/10/image_10122025_01_11_04_9633.jpg', '/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_45_10617.jpg', '/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_34_9606.jpg', '/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_25_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_35_10628.jpg
/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_15_10632.jpg
/home/nano/Desktop/images/10122025/01/10/image_10122025_01_11_04_9633.jpg
/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_45_10617.jpg
/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_34_9606.jpg
/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_25_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":["1401338144","1401338239","1401338074","1401338316","1401337938","1401338004"],"photo_ids_order":["1401337938","1401338004","1401338074","1401338144","1401338239","1401338316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f2ad461da03377b6cf9acbfcfb03bfd7.jpg","text":"TemporaryFile(/tmp/multipartBody6473282087805659987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871917954,"filename":"image_10122025_01_10_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5314416ecb77d24a92d6faa6c680de2.jpg","text":"TemporaryFile(/tmp/multipartBody5006992198378422351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871917954,"filename":"image_10122025_01_10_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/12/27/7205c5df75be6a35ccbf47b39ec1fa31.jpg","text":"TemporaryFile(/tmp/multipartBody8902230021239227899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871917954,"filename":"image_10122025_01_11_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/12/27/c51b57141ad944c49c523583299401cd.jpg","text":"TemporaryFile(/tmp/multipartBody2499030830756988538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871917954,"filename":"image_10122025_01_10_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96314afbb7f2e4bc0494276a8ac4ac3f.jpg","text":"TemporaryFile(/tmp/multipartBody1474568781919202296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871917954,"filename":"image_10122025_01_11_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/282c0d534060fc408466b5326a2c3cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5772600920896428308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871917954,"filename":"image_10122025_01_11_15_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401338074","file1":"1401338004","file0":"1401337938","file4":"1401338239","file5":"1401338316","file3":"1401338144"},"map_files_photo_id_array":[{"photo_id":"1401338316","filename":"file5"},{"photo_id":"1401338074","filename":"file2"},{"photo_id":"1401338239","filename":"file4"},{"photo_id":"1401338004","filename":"file1"},{"photo_id":"1401337938","filename":"file0"},{"photo_id":"1401338144","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401338144":["hashtag1","hashtag2"]},{"1401338239":["hashtag1","hashtag2"]},{"1401338074":["hashtag1","hashtag2"]},{"1401338316":["hashtag1","hashtag2"]},{"1401337938":["hashtag1","hashtag2"]},{"1401338004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401338144, 1401338239, 1401338074, 1401338316, 1401337938, 1401338004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.764739990234375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:45:02.973841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_10_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_44_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_15_10632.jpg', '/home/nano/Desktop/images/10122025/01/09/image_10122025_01_10_04_9635.jpg', '/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_34_9609.jpg', '/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_25_10620.jpg', '/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_14_9615.jpg', '/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_15_10632.jpg
/home/nano/Desktop/images/10122025/01/09/image_10122025_01_10_04_9635.jpg
/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_34_9609.jpg
/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_25_10620.jpg
/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_14_9615.jpg
/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_44_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":["1401339007","1401338851","1401338710","1401338948","1401338777","1401338645"],"photo_ids_order":["1401338645","1401338710","1401338777","1401338851","1401338948","1401339007"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ec50fdb99817db3c11e999bd91d4fc88.jpg","text":"TemporaryFile(/tmp/multipartBody8760768736403725987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871963803,"filename":"image_10122025_01_08_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/12/27/5ef85ed782a540678b4952fcf9056b81.jpg","text":"TemporaryFile(/tmp/multipartBody4016065244161400811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871963803,"filename":"image_10122025_01_09_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef68328f2c865057d7e4f2a124cef1ed.jpg","text":"TemporaryFile(/tmp/multipartBody7332899358545300295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871963803,"filename":"image_10122025_01_10_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/12/27/b6da5d376cc91606bfd497de8e08b2e9.jpg","text":"TemporaryFile(/tmp/multipartBody7401606331884323796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871963803,"filename":"image_10122025_01_09_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/12/27/b1bcc0409ed0faab50c75cbee669930e.jpg","text":"TemporaryFile(/tmp/multipartBody3889722088630001058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871963803,"filename":"image_10122025_01_09_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/12/27/e9df5917fbd20da8a3c2ac02aa6da467.jpg","text":"TemporaryFile(/tmp/multipartBody96893539940607194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766871963803,"filename":"image_10122025_01_10_15_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401338777","file1":"1401338710","file0":"1401338645","file4":"1401338948","file5":"1401339007","file3":"1401338851"},"map_files_photo_id_array":[{"photo_id":"1401339007","filename":"file5"},{"photo_id":"1401338777","filename":"file2"},{"photo_id":"1401338948","filename":"file4"},{"photo_id":"1401338710","filename":"file1"},{"photo_id":"1401338645","filename":"file0"},{"photo_id":"1401338851","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401339007":["hashtag1","hashtag2"]},{"1401338851":["hashtag1","hashtag2"]},{"1401338710":["hashtag1","hashtag2"]},{"1401338948":["hashtag1","hashtag2"]},{"1401338777":["hashtag1","hashtag2"]},{"1401338645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401339007, 1401338851, 1401338710, 1401338948, 1401338777, 1401338645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3349175453186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:45:47.277527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_54_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_24_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_35_10618.jpg', '/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_24_9606.jpg', '/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_15_9608.jpg', '/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_54_9627.jpg', '/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_45_10618.jpg', '/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_24_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_35_10618.jpg
/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_24_9606.jpg
/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_15_9608.jpg
/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_54_9627.jpg
/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_45_10618.jpg
/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_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":["1401339360","1401339528","1401339595","1401339397","1401339320","1401339463"],"photo_ids_order":["1401339320","1401339360","1401339397","1401339463","1401339528","1401339595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/489cad54bd723bf1840a5870e4c9644c.jpg","text":"TemporaryFile(/tmp/multipartBody8348712282094086035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872008104,"filename":"image_10122025_01_08_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/12/27/1dd603badbe8d9d3db0ca4307a1033a0.jpg","text":"TemporaryFile(/tmp/multipartBody7772114732266701522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872008104,"filename":"image_10122025_01_07_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e0406457fb91776bdaffbe498e2b087.jpg","text":"TemporaryFile(/tmp/multipartBody7225188502759639104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872008104,"filename":"image_10122025_01_07_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/12/27/3886511eec66322bf764efd7eb91fe5d.jpg","text":"TemporaryFile(/tmp/multipartBody8853906067477194831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872008104,"filename":"image_10122025_01_08_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b1fb911b4be3eec345637502b82b910.jpg","text":"TemporaryFile(/tmp/multipartBody3380332146316401763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872008104,"filename":"image_10122025_01_08_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/36be457b69b40dee1dc957b22080b52f.jpg","text":"TemporaryFile(/tmp/multipartBody227604605145509755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872008104,"filename":"image_10122025_01_07_54_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401339397","file1":"1401339360","file0":"1401339320","file4":"1401339528","file5":"1401339595","file3":"1401339463"},"map_files_photo_id_array":[{"photo_id":"1401339595","filename":"file5"},{"photo_id":"1401339397","filename":"file2"},{"photo_id":"1401339528","filename":"file4"},{"photo_id":"1401339360","filename":"file1"},{"photo_id":"1401339320","filename":"file0"},{"photo_id":"1401339463","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401339360":["hashtag1","hashtag2"]},{"1401339528":["hashtag1","hashtag2"]},{"1401339595":["hashtag1","hashtag2"]},{"1401339397":["hashtag1","hashtag2"]},{"1401339320":["hashtag1","hashtag2"]},{"1401339463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401339360, 1401339528, 1401339595, 1401339397, 1401339320, 1401339463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91953921318054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:46:32.370765
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_07_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/05/image_10122025_01_06_04_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_15_10651.jpg', '/home/nano/Desktop/images/10122025/01/06/image_10122025_01_07_04_9630.jpg', '/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_55_9607.jpg', '/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_45_10615.jpg', '/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_14_9625.jpg', '/home/nano/Desktop/images/10122025/01/05/image_10122025_01_06_04_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_15_10651.jpg
/home/nano/Desktop/images/10122025/01/06/image_10122025_01_07_04_9630.jpg
/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_55_9607.jpg
/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_45_10615.jpg
/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_14_9625.jpg
/home/nano/Desktop/images/10122025/01/05/image_10122025_01_06_04_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":["1401339943","1401340135","1401340063","1401340098","1401339982","1401339908"],"photo_ids_order":["1401339908","1401339943","1401339982","1401340063","1401340098","1401340135"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/491d4fbc2902bfda0fe401e29d45828e.jpg","text":"TemporaryFile(/tmp/multipartBody4663515792718699291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872053173,"filename":"image_10122025_01_07_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/12/27/4a392b406dbca79a871944627f66103f.jpg","text":"TemporaryFile(/tmp/multipartBody9059958133117502864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872053173,"filename":"image_10122025_01_06_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/12/27/922831915cd30772146c595c61b87c19.jpg","text":"TemporaryFile(/tmp/multipartBody6360549472199926723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872053173,"filename":"image_10122025_01_06_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cee1840cce353c3256e18d96d57e0d49.jpg","text":"TemporaryFile(/tmp/multipartBody8062070491476464244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872053173,"filename":"image_10122025_01_06_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/12/27/8094c6f3520be5341cc65394389a5bae.jpg","text":"TemporaryFile(/tmp/multipartBody8219623701616889769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872053173,"filename":"image_10122025_01_06_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/140a40159e826fb14011de92a5d2f278.jpg","text":"TemporaryFile(/tmp/multipartBody2988507303578591613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872053173,"filename":"image_10122025_01_07_15_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401339982","file1":"1401339943","file0":"1401339908","file4":"1401340098","file5":"1401340135","file3":"1401340063"},"map_files_photo_id_array":[{"photo_id":"1401340135","filename":"file5"},{"photo_id":"1401339982","filename":"file2"},{"photo_id":"1401340098","filename":"file4"},{"photo_id":"1401339943","filename":"file1"},{"photo_id":"1401339908","filename":"file0"},{"photo_id":"1401340063","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401339943":["hashtag1","hashtag2"]},{"1401340135":["hashtag1","hashtag2"]},{"1401340063":["hashtag1","hashtag2"]},{"1401340098":["hashtag1","hashtag2"]},{"1401339982":["hashtag1","hashtag2"]},{"1401339908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401339943, 1401340135, 1401340063, 1401340098, 1401339982, 1401339908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21670150756836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:47:17.520031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_05_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_15_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/04/image_10122025_01_05_05_10631.jpg', '/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_54_9609.jpg', '/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', '/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_35_10618.jpg', '/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_24_9607.jpg', '/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_15_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/04/image_10122025_01_05_05_10631.jpg
/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_54_9609.jpg
/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg
/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_35_10618.jpg
/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_24_9607.jpg
/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_15_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":["1401341229","1401341058","1401340995","1401340728","1401341120","1401340919"],"photo_ids_order":["1401340728","1401340919","1401340995","1401341058","1401341120","1401341229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e3518e6d485c1f3a5b06ed91532ffbc9.jpg","text":"TemporaryFile(/tmp/multipartBody2400096938204482324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872098334,"filename":"image_10122025_01_04_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3018cd28bd805c731f971671c8218e6d.jpg","text":"TemporaryFile(/tmp/multipartBody422146409495004869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872098334,"filename":"image_10122025_01_04_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/87487b027b6f5a44eb7b2a6a2ef1d37e.jpg","text":"TemporaryFile(/tmp/multipartBody2413984303788646949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872098334,"filename":"image_10122025_01_04_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1e381f1fed2961bd089db2ebce391b0.jpg","text":"TemporaryFile(/tmp/multipartBody99682518001613557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872098334,"filename":"image_10122025_01_05_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29bceda22625450ddd22330a4f8b8705.jpg","text":"TemporaryFile(/tmp/multipartBody8196628097028878018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872098334,"filename":"image_10122025_01_04_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/12/27/4820dce07e7c699b3c61f694259a5f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2581196523004000003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872098334,"filename":"image_10122025_01_04_54_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401340995","file1":"1401340919","file0":"1401340728","file4":"1401341120","file5":"1401341229","file3":"1401341058"},"map_files_photo_id_array":[{"photo_id":"1401341229","filename":"file5"},{"photo_id":"1401340995","filename":"file2"},{"photo_id":"1401341120","filename":"file4"},{"photo_id":"1401340919","filename":"file1"},{"photo_id":"1401340728","filename":"file0"},{"photo_id":"1401341058","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401341229":["hashtag1","hashtag2"]},{"1401341058":["hashtag1","hashtag2"]},{"1401340995":["hashtag1","hashtag2"]},{"1401340728":["hashtag1","hashtag2"]},{"1401341120":["hashtag1","hashtag2"]},{"1401340919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401341229, 1401341058, 1401340995, 1401340728, 1401341120, 1401340919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36433458328247 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:48:03.197675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_45_10619.jpg', '/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_34_9605.jpg', '/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_25_9605.jpg', '/home/nano/Desktop/images/10122025/01/02/image_10122025_01_03_04_9606.jpg', '/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_55_10614.jpg', '/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_45_10619.jpg
/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_34_9605.jpg
/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_25_9605.jpg
/home/nano/Desktop/images/10122025/01/02/image_10122025_01_03_04_9606.jpg
/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_55_10614.jpg
/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_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":["1401341866","1401341821","1401341747","1401341681","1401341936","1401341900"],"photo_ids_order":["1401341681","1401341747","1401341821","1401341866","1401341900","1401341936"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ecb28469b2553c7a597e61b976f2853.jpg","text":"TemporaryFile(/tmp/multipartBody7566616042942336232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872144067,"filename":"image_10122025_01_03_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/12/27/bb8e25739b475c5f2cd1a34038d72094.jpg","text":"TemporaryFile(/tmp/multipartBody6443263824999783828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872144067,"filename":"image_10122025_01_03_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1b66862b57968c35fb016a0c75580d3.jpg","text":"TemporaryFile(/tmp/multipartBody3893750249684802761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872144067,"filename":"image_10122025_01_03_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/12/27/92b64abf1c09c5cfa83554c76f7f3a94.jpg","text":"TemporaryFile(/tmp/multipartBody6497180674072523266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872144067,"filename":"image_10122025_01_03_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74c4b78c0c2c9b67cf13e1bb5c5cf8b2.jpg","text":"TemporaryFile(/tmp/multipartBody5703378294402272651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872144067,"filename":"image_10122025_01_02_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/12/27/419f47e1aab4a14f26fa7e452db9e1da.jpg","text":"TemporaryFile(/tmp/multipartBody914307600576818990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872144067,"filename":"image_10122025_01_02_55_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401341821","file1":"1401341747","file0":"1401341681","file4":"1401341900","file5":"1401341936","file3":"1401341866"},"map_files_photo_id_array":[{"photo_id":"1401341936","filename":"file5"},{"photo_id":"1401341821","filename":"file2"},{"photo_id":"1401341900","filename":"file4"},{"photo_id":"1401341747","filename":"file1"},{"photo_id":"1401341681","filename":"file0"},{"photo_id":"1401341866","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401341866":["hashtag1","hashtag2"]},{"1401341821":["hashtag1","hashtag2"]},{"1401341747":["hashtag1","hashtag2"]},{"1401341681":["hashtag1","hashtag2"]},{"1401341936":["hashtag1","hashtag2"]},{"1401341900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401341866, 1401341821, 1401341747, 1401341681, 1401341936, 1401341900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38497877120972 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:48:47.616119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_02_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_35_9608.jpg', '/home/nano/Desktop/images/10122025/01/01/image_10122025_01_02_05_9612.jpg', '/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_55_10615.jpg', '/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_35_10616.jpg', '/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_24_9610.jpg', '/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_35_9608.jpg
/home/nano/Desktop/images/10122025/01/01/image_10122025_01_02_05_9612.jpg
/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_55_10615.jpg
/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_35_10616.jpg
/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_24_9610.jpg
/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_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":["1401342232","1401342159","1401342144","1401342146","1401342196","1401342145"],"photo_ids_order":["1401342144","1401342145","1401342146","1401342159","1401342196","1401342232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a854f69b48fa2d1bf8e5d2b67ad7eba3.jpg","text":"TemporaryFile(/tmp/multipartBody1046217007539437155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872188412,"filename":"image_10122025_01_00_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/12/27/6f430a082e3be4c86966c11bb660047f.jpg","text":"TemporaryFile(/tmp/multipartBody5927259647651654803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872188412,"filename":"image_10122025_01_01_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91815aba41ab2480e97790a459607e15.jpg","text":"TemporaryFile(/tmp/multipartBody248780875591119421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872188412,"filename":"image_10122025_01_02_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1aa41d5f67efde3c7bb7c0bd6a3c2044.jpg","text":"TemporaryFile(/tmp/multipartBody6076120498876207352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872188412,"filename":"image_10122025_01_01_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/557760d082e371c75b8b8248e6a7369f.jpg","text":"TemporaryFile(/tmp/multipartBody7452570532651069600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872188412,"filename":"image_10122025_01_01_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/12/27/1e9b604caebd1e08f37eee0f21dbc59e.jpg","text":"TemporaryFile(/tmp/multipartBody2928659922750460885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872188412,"filename":"image_10122025_01_02_05_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401342146","file1":"1401342145","file0":"1401342144","file4":"1401342196","file5":"1401342232","file3":"1401342159"},"map_files_photo_id_array":[{"photo_id":"1401342232","filename":"file5"},{"photo_id":"1401342146","filename":"file2"},{"photo_id":"1401342196","filename":"file4"},{"photo_id":"1401342145","filename":"file1"},{"photo_id":"1401342144","filename":"file0"},{"photo_id":"1401342159","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401342232":["hashtag1","hashtag2"]},{"1401342159":["hashtag1","hashtag2"]},{"1401342144":["hashtag1","hashtag2"]},{"1401342146":["hashtag1","hashtag2"]},{"1401342196":["hashtag1","hashtag2"]},{"1401342145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401342232, 1401342159, 1401342144, 1401342146, 1401342196, 1401342145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.533586502075195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:49:32.759421
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/00/59/image_10122025_01_00_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_55_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_45_10616.jpg', '/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_34_9608.jpg', '/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_25_9608.jpg', '/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_15_10651.jpg', '/home/nano/Desktop/images/10122025/00/59/image_10122025_01_00_04_9612.jpg', '/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_55_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_45_10616.jpg
/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_34_9608.jpg
/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_25_9608.jpg
/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_15_10651.jpg
/home/nano/Desktop/images/10122025/00/59/image_10122025_01_00_04_9612.jpg
/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_55_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":["1401342511","1401342474","1401342429","1401342342","1401342377","1401342545"],"photo_ids_order":["1401342342","1401342377","1401342429","1401342474","1401342511","1401342545"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e4e32e19af79d6aee4ce3022d2a5906.jpg","text":"TemporaryFile(/tmp/multipartBody7477967767336330702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872233584,"filename":"image_10122025_01_00_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/12/27/a372524fdef99824b5121c1e4c635c23.jpg","text":"TemporaryFile(/tmp/multipartBody903667744751665054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872233584,"filename":"image_10122025_01_00_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b8bd4b131c6ab9ee40cfa1edc29b0b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5174498187670201543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872233584,"filename":"image_10122025_01_00_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfe9ff59ce868bfa41aafa60e9645830.jpg","text":"TemporaryFile(/tmp/multipartBody7573940365512430736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872233584,"filename":"image_10122025_01_00_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fa519af8cfcf2bdf1c7bc3d4ffd8d2c7.jpg","text":"TemporaryFile(/tmp/multipartBody7446592032920226576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872233584,"filename":"image_10122025_01_00_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/12/27/3433ac7f6643a1f00576c748138fba3f.jpg","text":"TemporaryFile(/tmp/multipartBody7147734526976612443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872233584,"filename":"image_10122025_00_59_55_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401342429","file1":"1401342377","file0":"1401342342","file4":"1401342511","file5":"1401342545","file3":"1401342474"},"map_files_photo_id_array":[{"photo_id":"1401342545","filename":"file5"},{"photo_id":"1401342429","filename":"file2"},{"photo_id":"1401342511","filename":"file4"},{"photo_id":"1401342377","filename":"file1"},{"photo_id":"1401342342","filename":"file0"},{"photo_id":"1401342474","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401342511":["hashtag1","hashtag2"]},{"1401342474":["hashtag1","hashtag2"]},{"1401342429":["hashtag1","hashtag2"]},{"1401342342":["hashtag1","hashtag2"]},{"1401342377":["hashtag1","hashtag2"]},{"1401342545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401342511, 1401342474, 1401342429, 1401342342, 1401342377, 1401342545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68637776374817 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:50:16.885475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7104313373565674 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:50:31.872004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', '/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg
/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.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":["1401342876","1401342980","1401342912","1401343246","1401343327","1401342946"],"photo_ids_order":["1401342876","1401342912","1401342946","1401342980","1401343246","1401343327"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1192983a90a24ac2189eec16d326a38d.jpg","text":"TemporaryFile(/tmp/multipartBody6674195656246356393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872292679,"filename":"image_10122025_00_59_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb4f70032c6d4ea1be4a7a49ab75235a.jpg","text":"TemporaryFile(/tmp/multipartBody1026072401924634507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872292679,"filename":"image_10122025_00_58_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/12/27/acdf706407f21e3aa73644a51f779888.jpg","text":"TemporaryFile(/tmp/multipartBody5395383332929981658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872292679,"filename":"image_10122025_00_59_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4464aee9b12919971d2d66256cb327e8.jpg","text":"TemporaryFile(/tmp/multipartBody207854377032913133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872292679,"filename":"image_10122025_00_58_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5de9f66fe5538b909a9bc916ef8f509a.jpg","text":"TemporaryFile(/tmp/multipartBody8766762946783603943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872292679,"filename":"image_10122025_00_58_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/12/27/1022e6e1788e3371c381ad72a386249b.jpg","text":"TemporaryFile(/tmp/multipartBody6166373873416247305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872292679,"filename":"image_10122025_00_58_55_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401342946","file1":"1401342912","file0":"1401342876","file4":"1401343246","file5":"1401343327","file3":"1401342980"},"map_files_photo_id_array":[{"photo_id":"1401343327","filename":"file5"},{"photo_id":"1401342946","filename":"file2"},{"photo_id":"1401343246","filename":"file4"},{"photo_id":"1401342912","filename":"file1"},{"photo_id":"1401342876","filename":"file0"},{"photo_id":"1401342980","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401342876":["hashtag1","hashtag2"]},{"1401342980":["hashtag1","hashtag2"]},{"1401342912":["hashtag1","hashtag2"]},{"1401343246":["hashtag1","hashtag2"]},{"1401343327":["hashtag1","hashtag2"]},{"1401342946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401342876, 1401342980, 1401342912, 1401343246, 1401343327, 1401342946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.331037282943726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:51:31.939174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg', '/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg', '/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', '/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg', '/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg', '/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_9608.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.697843074798584 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:51:46.921841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg', '/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg', '/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', '/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg', '/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg', '/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg
/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_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":["1401343971","1401344027","1401344140","1401344107","1401343861","1401344073"],"photo_ids_order":["1401343861","1401343971","1401344027","1401344073","1401344107","1401344140"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/59f867b56f8e90d888644ad979f99a54.jpg","text":"TemporaryFile(/tmp/multipartBody7046580813405286876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872367713,"filename":"image_10122025_00_57_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/12/27/9af0b4e6561d64cd3ae9f3533432f05a.jpg","text":"TemporaryFile(/tmp/multipartBody2288741476639307784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872367713,"filename":"image_10122025_00_57_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/12/27/f5c4776db6914572e995a5cae955b992.jpg","text":"TemporaryFile(/tmp/multipartBody7051529356497888641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872367713,"filename":"image_10122025_00_56_55_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e55c1874f2970b2a06761cc949487eef.jpg","text":"TemporaryFile(/tmp/multipartBody6278524942856072145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872367713,"filename":"image_10122025_00_57_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/12/27/bce33983e67057ee4bb3f579c75c7776.jpg","text":"TemporaryFile(/tmp/multipartBody3012728664349123086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872367713,"filename":"image_10122025_00_58_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dd86977995aade13ad371dde1314ea15.jpg","text":"TemporaryFile(/tmp/multipartBody969722657477309085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872367713,"filename":"image_10122025_00_57_15_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401344027","file1":"1401343971","file0":"1401343861","file4":"1401344107","file5":"1401344140","file3":"1401344073"},"map_files_photo_id_array":[{"photo_id":"1401344140","filename":"file5"},{"photo_id":"1401344027","filename":"file2"},{"photo_id":"1401344107","filename":"file4"},{"photo_id":"1401343971","filename":"file1"},{"photo_id":"1401343861","filename":"file0"},{"photo_id":"1401344073","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401343971":["hashtag1","hashtag2"]},{"1401344027":["hashtag1","hashtag2"]},{"1401344140":["hashtag1","hashtag2"]},{"1401344107":["hashtag1","hashtag2"]},{"1401343861":["hashtag1","hashtag2"]},{"1401344073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401343971, 1401344027, 1401344140, 1401344107, 1401343861, 1401344073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.890066623687744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:52:32.010603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_35_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_45_10635.jpg', '/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_34_9608.jpg', '/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_25_9610.jpg', '/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_15_10631.jpg', '/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_55_10616.jpg', '/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_35_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_45_10635.jpg
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_34_9608.jpg
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_25_9610.jpg
/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_15_10631.jpg
/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_55_10616.jpg
/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_35_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":["1401344261","1401344192","1401344173","1401344170","1401344172","1401344229"],"photo_ids_order":["1401344170","1401344172","1401344173","1401344192","1401344229","1401344261"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/72c63a458ffa7efc39649415ade79a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6183250407226178922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872412804,"filename":"image_10122025_00_55_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bff6b0c496c3f1cd888f387582faf5a3.jpg","text":"TemporaryFile(/tmp/multipartBody748279232331218624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872412804,"filename":"image_10122025_00_56_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/796fcb4ce57a788a29a93f70fa5875b3.jpg","text":"TemporaryFile(/tmp/multipartBody4503772147263032063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872412804,"filename":"image_10122025_00_56_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5cd9f0d96206579180dfea97a020400f.jpg","text":"TemporaryFile(/tmp/multipartBody1907731307239230060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872412804,"filename":"image_10122025_00_56_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/baf7b08acba733c8131bb99d0078855a.jpg","text":"TemporaryFile(/tmp/multipartBody5012516951333286818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872412804,"filename":"image_10122025_00_56_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/12/27/3f27ac663e1e297b5f9faea71a80c76c.jpg","text":"TemporaryFile(/tmp/multipartBody2042173111133958894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872412804,"filename":"image_10122025_00_55_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401344173","file1":"1401344172","file0":"1401344170","file4":"1401344229","file5":"1401344261","file3":"1401344192"},"map_files_photo_id_array":[{"photo_id":"1401344261","filename":"file5"},{"photo_id":"1401344173","filename":"file2"},{"photo_id":"1401344229","filename":"file4"},{"photo_id":"1401344172","filename":"file1"},{"photo_id":"1401344170","filename":"file0"},{"photo_id":"1401344192","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401344261":["hashtag1","hashtag2"]},{"1401344192":["hashtag1","hashtag2"]},{"1401344173":["hashtag1","hashtag2"]},{"1401344170":["hashtag1","hashtag2"]},{"1401344172":["hashtag1","hashtag2"]},{"1401344229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401344261, 1401344192, 1401344173, 1401344170, 1401344172, 1401344229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.466737031936646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:53:17.107183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_55_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_24_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_25_10614.jpg', '/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_14_9621.jpg', '/home/nano/Desktop/images/10122025/00/54/image_10122025_00_55_05_10625.jpg', '/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_54_9612.jpg', '/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_45_9613.jpg', '/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_25_10614.jpg
/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_14_9621.jpg
/home/nano/Desktop/images/10122025/00/54/image_10122025_00_55_05_10625.jpg
/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_54_9612.jpg
/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_45_9613.jpg
/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_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":["1401344360","1401344399","1401344362","1401344397","1401344401","1401344391"],"photo_ids_order":["1401344360","1401344362","1401344391","1401344397","1401344399","1401344401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0029985bac707344794f63d5997430b.jpg","text":"TemporaryFile(/tmp/multipartBody8120333344081469494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872457910,"filename":"image_10122025_00_55_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2b554f2f44c98513310a957a7d0c078.jpg","text":"TemporaryFile(/tmp/multipartBody8986490993525511711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872457910,"filename":"image_10122025_00_54_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f6c4445e10ef14ec7bb9eca2f6a8b1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8540284462342712869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872457910,"filename":"image_10122025_00_55_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39c82680d6344bc4cd06e209877ce641.jpg","text":"TemporaryFile(/tmp/multipartBody7265336686036746181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872457910,"filename":"image_10122025_00_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/12/27/b7c59d10fe02e3481f819d8cc1840d34.jpg","text":"TemporaryFile(/tmp/multipartBody1541313663439075473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872457910,"filename":"image_10122025_00_54_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/12/27/8518b61f1d7cc92d7c5cd4acc0c47063.jpg","text":"TemporaryFile(/tmp/multipartBody2162855041393013285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872457910,"filename":"image_10122025_00_55_05_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401344391","file1":"1401344362","file0":"1401344360","file4":"1401344399","file5":"1401344401","file3":"1401344397"},"map_files_photo_id_array":[{"photo_id":"1401344401","filename":"file5"},{"photo_id":"1401344391","filename":"file2"},{"photo_id":"1401344399","filename":"file4"},{"photo_id":"1401344362","filename":"file1"},{"photo_id":"1401344360","filename":"file0"},{"photo_id":"1401344397","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401344360":["hashtag1","hashtag2"]},{"1401344399":["hashtag1","hashtag2"]},{"1401344362":["hashtag1","hashtag2"]},{"1401344397":["hashtag1","hashtag2"]},{"1401344401":["hashtag1","hashtag2"]},{"1401344391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401344360, 1401344399, 1401344362, 1401344397, 1401344401, 1401344391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00795030593872 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:54:03.180131
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_54_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_53_04_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_15_9637.jpg', '/home/nano/Desktop/images/10122025/00/53/image_10122025_00_54_05_10638.jpg', '/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_45_10618.jpg', '/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_34_9608.jpg', '/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_25_9608.jpg', '/home/nano/Desktop/images/10122025/00/52/image_10122025_00_53_04_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_15_9637.jpg
/home/nano/Desktop/images/10122025/00/53/image_10122025_00_54_05_10638.jpg
/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_45_10618.jpg
/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_34_9608.jpg
/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_25_9608.jpg
/home/nano/Desktop/images/10122025/00/52/image_10122025_00_53_04_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":["1401344411","1401344405","1401344404","1401344407","1401344415","1401344409"],"photo_ids_order":["1401344404","1401344405","1401344407","1401344409","1401344411","1401344415"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/37bfab35af4aee8537e9147c160dd20f.jpg","text":"TemporaryFile(/tmp/multipartBody4123771434044323406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872504060,"filename":"image_10122025_00_53_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5879f412dbb40fa7cc6a02bca16718d7.jpg","text":"TemporaryFile(/tmp/multipartBody8298037753203403844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872504060,"filename":"image_10122025_00_54_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bf3c926326c2b457039356ab34212ee.jpg","text":"TemporaryFile(/tmp/multipartBody1853967352315320904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872504060,"filename":"image_10122025_00_54_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/810f24cc9dbf7159f568a3e5d19b5bba.jpg","text":"TemporaryFile(/tmp/multipartBody4946247111465114533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872504060,"filename":"image_10122025_00_53_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3aa972241b9bd1d6da8499872375b8ae.jpg","text":"TemporaryFile(/tmp/multipartBody1426288411493846531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872504060,"filename":"image_10122025_00_53_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/12/27/2a0716d632e41a8630632532c31197db.jpg","text":"TemporaryFile(/tmp/multipartBody5423507126903307579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872504060,"filename":"image_10122025_00_53_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401344407","file1":"1401344405","file0":"1401344404","file4":"1401344411","file5":"1401344415","file3":"1401344409"},"map_files_photo_id_array":[{"photo_id":"1401344415","filename":"file5"},{"photo_id":"1401344407","filename":"file2"},{"photo_id":"1401344411","filename":"file4"},{"photo_id":"1401344405","filename":"file1"},{"photo_id":"1401344404","filename":"file0"},{"photo_id":"1401344409","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401344411":["hashtag1","hashtag2"]},{"1401344405":["hashtag1","hashtag2"]},{"1401344404":["hashtag1","hashtag2"]},{"1401344407":["hashtag1","hashtag2"]},{"1401344415":["hashtag1","hashtag2"]},{"1401344409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401344411, 1401344405, 1401344404, 1401344407, 1401344415, 1401344409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15457224845886 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:54:47.228130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_52_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_55_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_44_9613.jpg', '/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_34_9627.jpg', '/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_25_10614.jpg', '/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_14_9620.jpg', '/home/nano/Desktop/images/10122025/00/51/image_10122025_00_52_05_9630.jpg', '/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_44_9613.jpg
/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_34_9627.jpg
/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_25_10614.jpg
/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_14_9620.jpg
/home/nano/Desktop/images/10122025/00/51/image_10122025_00_52_05_9630.jpg
/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_55_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":["1401344581","1401344615","1401344551","1401344518","1401344484","1401344649"],"photo_ids_order":["1401344484","1401344518","1401344551","1401344581","1401344615","1401344649"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8930b4b1d8e12a5c2511f392c04431fd.jpg","text":"TemporaryFile(/tmp/multipartBody8576177723318758291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872548043,"filename":"image_10122025_00_52_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/12/27/f1b32800dcaf502f0989ea46e6026c98.jpg","text":"TemporaryFile(/tmp/multipartBody5286895399917287682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872548043,"filename":"image_10122025_00_52_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a0f45895fd5ccb6e83456ba5b0808cdc.jpg","text":"TemporaryFile(/tmp/multipartBody5243769696828144622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872548043,"filename":"image_10122025_00_52_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/414cdaf043baff494e62ee38e96a57bb.jpg","text":"TemporaryFile(/tmp/multipartBody2258351624171271267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872548043,"filename":"image_10122025_00_52_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/12/27/77d2dd183bb6677f31c32d26270c2f60.jpg","text":"TemporaryFile(/tmp/multipartBody5317648597453476543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872548043,"filename":"image_10122025_00_52_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/12/27/e4b6e5972fde55039f7a2d0f4522b39e.jpg","text":"TemporaryFile(/tmp/multipartBody7440116946727029294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872548043,"filename":"image_10122025_00_51_55_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401344551","file1":"1401344518","file0":"1401344484","file4":"1401344615","file5":"1401344649","file3":"1401344581"},"map_files_photo_id_array":[{"photo_id":"1401344649","filename":"file5"},{"photo_id":"1401344551","filename":"file2"},{"photo_id":"1401344615","filename":"file4"},{"photo_id":"1401344518","filename":"file1"},{"photo_id":"1401344484","filename":"file0"},{"photo_id":"1401344581","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401344581":["hashtag1","hashtag2"]},{"1401344615":["hashtag1","hashtag2"]},{"1401344551":["hashtag1","hashtag2"]},{"1401344518":["hashtag1","hashtag2"]},{"1401344484":["hashtag1","hashtag2"]},{"1401344649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401344581, 1401344615, 1401344551, 1401344518, 1401344484, 1401344649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.447319984436035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:55:32.343863
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_15_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_51_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_35_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_44_9624.jpg', '/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_24_9607.jpg', '/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_15_9629.jpg', '/home/nano/Desktop/images/10122025/00/50/image_10122025_00_51_05_10625.jpg', '/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_54_9623.jpg', '/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_35_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_44_9624.jpg
/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_24_9607.jpg
/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_15_9629.jpg
/home/nano/Desktop/images/10122025/00/50/image_10122025_00_51_05_10625.jpg
/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_54_9623.jpg
/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_35_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":["1401344975","1401344977","1401344863","1401344898","1401345075","1401345188"],"photo_ids_order":["1401344863","1401344898","1401344975","1401344977","1401345075","1401345188"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e44081f6f427dfb5eb2536e824afd2ac.jpg","text":"TemporaryFile(/tmp/multipartBody6324686016243488763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872593175,"filename":"image_10122025_00_51_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/496d85d1dd1711eec0c124800994697b.jpg","text":"TemporaryFile(/tmp/multipartBody5376682019101674387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872593175,"filename":"image_10122025_00_51_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc1cfee854eff56d1ec1d2e015e0a950.jpg","text":"TemporaryFile(/tmp/multipartBody5425395864529874954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872593175,"filename":"image_10122025_00_51_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/12/27/4e012fd31edf3cd2153e1bc4dfc2223d.jpg","text":"TemporaryFile(/tmp/multipartBody6147143314268536846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872593175,"filename":"image_10122025_00_51_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/12/27/deacdd953e99d0f411abcc96568be08c.jpg","text":"TemporaryFile(/tmp/multipartBody4044680485852163285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872593175,"filename":"image_10122025_00_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/12/27/3f5bb3eae7ba2835d6d3d6eb4bb1e8ea.jpg","text":"TemporaryFile(/tmp/multipartBody3700660112470624022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872593175,"filename":"image_10122025_00_50_35_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401344975","file1":"1401344898","file0":"1401344863","file4":"1401345075","file5":"1401345188","file3":"1401344977"},"map_files_photo_id_array":[{"photo_id":"1401345188","filename":"file5"},{"photo_id":"1401344975","filename":"file2"},{"photo_id":"1401345075","filename":"file4"},{"photo_id":"1401344898","filename":"file1"},{"photo_id":"1401344863","filename":"file0"},{"photo_id":"1401344977","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401344975":["hashtag1","hashtag2"]},{"1401344977":["hashtag1","hashtag2"]},{"1401344863":["hashtag1","hashtag2"]},{"1401344898":["hashtag1","hashtag2"]},{"1401345075":["hashtag1","hashtag2"]},{"1401345188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401344975, 1401344977, 1401344863, 1401344898, 1401345075, 1401345188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00223159790039 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:56:17.526212
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_50_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_34_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_24_9605.jpg', '/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_15_10650.jpg', '/home/nano/Desktop/images/10122025/00/49/image_10122025_00_50_04_9627.jpg', '/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_55_9607.jpg', '/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_45_10621.jpg', '/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_24_9605.jpg
/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_15_10650.jpg
/home/nano/Desktop/images/10122025/00/49/image_10122025_00_50_04_9627.jpg
/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_55_9607.jpg
/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_45_10621.jpg
/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_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":["1401345332","1401345364","1401345358","1401345367","1401345361","1401345355"],"photo_ids_order":["1401345332","1401345355","1401345358","1401345361","1401345364","1401345367"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fd804315e2e27fde440a9be23bce74d.jpg","text":"TemporaryFile(/tmp/multipartBody792400687231745228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872638345,"filename":"image_10122025_00_50_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/12/27/7a90b5e28d0b82d70499d1ab6e03fde0.jpg","text":"TemporaryFile(/tmp/multipartBody297890883994163406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872638345,"filename":"image_10122025_00_49_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0afa23b87dce585de37ec6d0342bc959.jpg","text":"TemporaryFile(/tmp/multipartBody6217613082111755072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872638345,"filename":"image_10122025_00_50_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/12/27/cb95191e73a6ba19d77e07e2dd002a10.jpg","text":"TemporaryFile(/tmp/multipartBody3785533164275119917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872638345,"filename":"image_10122025_00_49_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/12/27/4589e719e781d4a4e019095bd95f299a.jpg","text":"TemporaryFile(/tmp/multipartBody4697456549425603081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872638345,"filename":"image_10122025_00_49_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7cbccb03fcaeb5de8b7d26a1f2724f51.jpg","text":"TemporaryFile(/tmp/multipartBody5706680518035332479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872638345,"filename":"image_10122025_00_50_15_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401345358","file1":"1401345355","file0":"1401345332","file4":"1401345364","file5":"1401345367","file3":"1401345361"},"map_files_photo_id_array":[{"photo_id":"1401345367","filename":"file5"},{"photo_id":"1401345358","filename":"file2"},{"photo_id":"1401345364","filename":"file4"},{"photo_id":"1401345355","filename":"file1"},{"photo_id":"1401345332","filename":"file0"},{"photo_id":"1401345361","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401345332":["hashtag1","hashtag2"]},{"1401345364":["hashtag1","hashtag2"]},{"1401345358":["hashtag1","hashtag2"]},{"1401345367":["hashtag1","hashtag2"]},{"1401345361":["hashtag1","hashtag2"]},{"1401345355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401345332, 1401345364, 1401345358, 1401345367, 1401345361, 1401345355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26873207092285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:57:03.207790
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_49_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_14_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_25_9606.jpg', '/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_15_10629.jpg', '/home/nano/Desktop/images/10122025/00/48/image_10122025_00_49_04_9610.jpg', '/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_55_10617.jpg', '/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_35_9606.jpg', '/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_14_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_25_9606.jpg
/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_15_10629.jpg
/home/nano/Desktop/images/10122025/00/48/image_10122025_00_49_04_9610.jpg
/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_55_10617.jpg
/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_35_9606.jpg
/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_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":["1401345548","1401345515","1401345617","1401345655","1401345583","1401345690"],"photo_ids_order":["1401345515","1401345548","1401345583","1401345617","1401345655","1401345690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d10ae29eef46180dfca6fb94f9c5907.jpg","text":"TemporaryFile(/tmp/multipartBody8699338530421178525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872684115,"filename":"image_10122025_00_49_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/07473fccf9d4423f2d69152f7b09cbc8.jpg","text":"TemporaryFile(/tmp/multipartBody5761078882822507699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872684115,"filename":"image_10122025_00_49_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48bac3d600e1d5d4c77da8c655bf23af.jpg","text":"TemporaryFile(/tmp/multipartBody422750742899977925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872684115,"filename":"image_10122025_00_48_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a09d9800015dab041f10766805a82ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8828831247518132132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872684115,"filename":"image_10122025_00_48_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/198c957c2919084ebbbffa95b7b4045c.jpg","text":"TemporaryFile(/tmp/multipartBody3391302660040990579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872684115,"filename":"image_10122025_00_49_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/12/27/37060eb55d43c4b52ffad3c12108e692.jpg","text":"TemporaryFile(/tmp/multipartBody5617637196362321876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872684115,"filename":"image_10122025_00_48_14_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401345583","file1":"1401345548","file0":"1401345515","file4":"1401345655","file5":"1401345690","file3":"1401345617"},"map_files_photo_id_array":[{"photo_id":"1401345690","filename":"file5"},{"photo_id":"1401345583","filename":"file2"},{"photo_id":"1401345655","filename":"file4"},{"photo_id":"1401345548","filename":"file1"},{"photo_id":"1401345515","filename":"file0"},{"photo_id":"1401345617","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401345548":["hashtag1","hashtag2"]},{"1401345515":["hashtag1","hashtag2"]},{"1401345617":["hashtag1","hashtag2"]},{"1401345655":["hashtag1","hashtag2"]},{"1401345583":["hashtag1","hashtag2"]},{"1401345690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401345548, 1401345515, 1401345617, 1401345655, 1401345583, 1401345690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65054798126221 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:57:47.631162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_9642.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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:59:03.835256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg', '/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg
/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_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":["1401346633","1401346636","1401346630","1401346626","1401346622","1401346625"],"photo_ids_order":["1401346622","1401346625","1401346626","1401346630","1401346633","1401346636"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cbeea046760dcec407131453bc09d3f7.jpg","text":"TemporaryFile(/tmp/multipartBody9032081176667382041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872804722,"filename":"image_10122025_00_47_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/12/27/2cd57de4b384f430a56560dfe2f007f0.jpg","text":"TemporaryFile(/tmp/multipartBody3751068584723990112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872804722,"filename":"image_10122025_00_47_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5de59ad58d3718671a36cb3a40c9cc63.jpg","text":"TemporaryFile(/tmp/multipartBody2141558775917183190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872804722,"filename":"image_10122025_00_47_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/76b4ef3ba24bfe7b4e001b82e25ecf5e.jpg","text":"TemporaryFile(/tmp/multipartBody2340550987296515508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872804722,"filename":"image_10122025_00_47_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/11485572cb0e4660e261ccb9697ae39f.jpg","text":"TemporaryFile(/tmp/multipartBody1760141116601533275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872804722,"filename":"image_10122025_00_48_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7898eebef0249b5f025d77cdb880b183.jpg","text":"TemporaryFile(/tmp/multipartBody2762193153021105544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872804722,"filename":"image_10122025_00_47_54_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401346626","file1":"1401346625","file0":"1401346622","file4":"1401346633","file5":"1401346636","file3":"1401346630"},"map_files_photo_id_array":[{"photo_id":"1401346636","filename":"file5"},{"photo_id":"1401346626","filename":"file2"},{"photo_id":"1401346633","filename":"file4"},{"photo_id":"1401346625","filename":"file1"},{"photo_id":"1401346622","filename":"file0"},{"photo_id":"1401346630","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401346633":["hashtag1","hashtag2"]},{"1401346636":["hashtag1","hashtag2"]},{"1401346630":["hashtag1","hashtag2"]},{"1401346626":["hashtag1","hashtag2"]},{"1401346622":["hashtag1","hashtag2"]},{"1401346625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401346633, 1401346636, 1401346630, 1401346626, 1401346622, 1401346625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63595724105835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 22:59:47.714959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_47_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/00/45/image_10122025_00_46_04_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/46/image_10122025_00_47_05_10625.jpg', '/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_54_9622.jpg', '/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_45_10618.jpg', '/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_34_9609.jpg', '/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_15_10651.jpg', '/home/nano/Desktop/images/10122025/00/45/image_10122025_00_46_04_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/46/image_10122025_00_47_05_10625.jpg
/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_54_9622.jpg
/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_45_10618.jpg
/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_34_9609.jpg
/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_15_10651.jpg
/home/nano/Desktop/images/10122025/00/45/image_10122025_00_46_04_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":["1401346960","1401346999","1401346890","1401346800","1401346850","1401346817"],"photo_ids_order":["1401346800","1401346817","1401346850","1401346890","1401346960","1401346999"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8fce4cf27aa7c0a5c379e080ea1ad49b.jpg","text":"TemporaryFile(/tmp/multipartBody5846256055916501089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872848527,"filename":"image_10122025_00_46_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65f10ba408cc72603ab826d8dc9bcca1.jpg","text":"TemporaryFile(/tmp/multipartBody5692658367121539010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872848527,"filename":"image_10122025_00_46_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/12/27/d8c8a56601b2bf22a606d290052ccca4.jpg","text":"TemporaryFile(/tmp/multipartBody7090183385947255516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872848527,"filename":"image_10122025_00_46_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/12/27/c4eaa2b3716ad4b501bcfabc808b0d6b.jpg","text":"TemporaryFile(/tmp/multipartBody671216462898449616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872848527,"filename":"image_10122025_00_47_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6886536a989c45a7904c1a7f7e7a274c.jpg","text":"TemporaryFile(/tmp/multipartBody5349567209598694578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872848527,"filename":"image_10122025_00_46_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4869cdfab372b3fde82aaca2f6462ab.jpg","text":"TemporaryFile(/tmp/multipartBody4773115475456951882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872848527,"filename":"image_10122025_00_46_54_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401346850","file1":"1401346817","file0":"1401346800","file4":"1401346960","file5":"1401346999","file3":"1401346890"},"map_files_photo_id_array":[{"photo_id":"1401346999","filename":"file5"},{"photo_id":"1401346850","filename":"file2"},{"photo_id":"1401346960","filename":"file4"},{"photo_id":"1401346817","filename":"file1"},{"photo_id":"1401346800","filename":"file0"},{"photo_id":"1401346890","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401346960":["hashtag1","hashtag2"]},{"1401346999":["hashtag1","hashtag2"]},{"1401346890":["hashtag1","hashtag2"]},{"1401346800":["hashtag1","hashtag2"]},{"1401346850":["hashtag1","hashtag2"]},{"1401346817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401346960, 1401346999, 1401346890, 1401346800, 1401346850, 1401346817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84161591529846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:00:31.841419
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/45/image_10122025_00_45_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_45_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_44_05_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/45/image_10122025_00_45_55_9607.jpg', '/home/nano/Desktop/images/10122025/00/44/image_10122025_00_45_05_9614.jpg', '/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_55_10618.jpg', '/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_44_9608.jpg', '/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_35_10618.jpg', '/home/nano/Desktop/images/10122025/00/43/image_10122025_00_44_05_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/45/image_10122025_00_45_55_9607.jpg
/home/nano/Desktop/images/10122025/00/44/image_10122025_00_45_05_9614.jpg
/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_55_10618.jpg
/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_44_9608.jpg
/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_35_10618.jpg
/home/nano/Desktop/images/10122025/00/43/image_10122025_00_44_05_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":["1401347356","1401347422","1401347493","1401347559","1401347624","1401347686"],"photo_ids_order":["1401347356","1401347422","1401347493","1401347559","1401347624","1401347686"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/787d1be28719d5943ce629389a361de8.jpg","text":"TemporaryFile(/tmp/multipartBody2940627467547180443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872892653,"filename":"image_10122025_00_45_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69ac44413cfda5488133e54522800887.jpg","text":"TemporaryFile(/tmp/multipartBody3208072651785668201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872892653,"filename":"image_10122025_00_45_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2493263691844764ef87165a49aeed49.jpg","text":"TemporaryFile(/tmp/multipartBody9109873941856421244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872892653,"filename":"image_10122025_00_44_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2b6887e839c83af1aca6990771bc33c6.jpg","text":"TemporaryFile(/tmp/multipartBody4520282639216183284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872892653,"filename":"image_10122025_00_44_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/12/27/ae4c2025464f4554315f2542077e31cf.jpg","text":"TemporaryFile(/tmp/multipartBody7579011185748061149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872892653,"filename":"image_10122025_00_44_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b96d40bd3ed969340d6856e85973805.jpg","text":"TemporaryFile(/tmp/multipartBody1615209946107910485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872892653,"filename":"image_10122025_00_44_05_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401347493","file1":"1401347422","file0":"1401347356","file4":"1401347624","file5":"1401347686","file3":"1401347559"},"map_files_photo_id_array":[{"photo_id":"1401347686","filename":"file5"},{"photo_id":"1401347493","filename":"file2"},{"photo_id":"1401347624","filename":"file4"},{"photo_id":"1401347422","filename":"file1"},{"photo_id":"1401347356","filename":"file0"},{"photo_id":"1401347559","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401347356":["hashtag1","hashtag2"]},{"1401347422":["hashtag1","hashtag2"]},{"1401347493":["hashtag1","hashtag2"]},{"1401347559":["hashtag1","hashtag2"]},{"1401347624":["hashtag1","hashtag2"]},{"1401347686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401347356, 1401347422, 1401347493, 1401347559, 1401347624, 1401347686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.395516872406006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:01:16.868822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_25_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_54_9606.jpg', '/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_35_10616.jpg', '/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_24_9609.jpg', '/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_55_9609.jpg', '/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_45_10638.jpg', '/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_25_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_54_9606.jpg
/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_35_10616.jpg
/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_24_9609.jpg
/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_55_9609.jpg
/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_45_10638.jpg
/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_25_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":["1401348208","1401348109","1401348249","1401348176","1401348143","1401348073"],"photo_ids_order":["1401348073","1401348109","1401348143","1401348176","1401348208","1401348249"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f1efd2b7ea3a7f911c0a18c3377e01e4.jpg","text":"TemporaryFile(/tmp/multipartBody3944888486616610657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872937668,"filename":"image_10122025_00_42_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1f113f01f96e8641f110b8d09f1d45bb.jpg","text":"TemporaryFile(/tmp/multipartBody5197641575312627472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872937668,"filename":"image_10122025_00_43_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f4188f4e6b2fa6f96f51d655d4609f92.jpg","text":"TemporaryFile(/tmp/multipartBody5702888777290181076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872937668,"filename":"image_10122025_00_42_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/431a7df645909f6703b4793e80aa0fdd.jpg","text":"TemporaryFile(/tmp/multipartBody365502762563856151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872937668,"filename":"image_10122025_00_42_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56549ac52ed60186865e57497417d336.jpg","text":"TemporaryFile(/tmp/multipartBody773957112030551475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872937668,"filename":"image_10122025_00_43_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/12/27/834bf759449aa8f6afc9c7f093f205a7.jpg","text":"TemporaryFile(/tmp/multipartBody6793959045419670970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872937668,"filename":"image_10122025_00_43_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401348143","file1":"1401348109","file0":"1401348073","file4":"1401348208","file5":"1401348249","file3":"1401348176"},"map_files_photo_id_array":[{"photo_id":"1401348249","filename":"file5"},{"photo_id":"1401348143","filename":"file2"},{"photo_id":"1401348208","filename":"file4"},{"photo_id":"1401348109","filename":"file1"},{"photo_id":"1401348073","filename":"file0"},{"photo_id":"1401348176","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401348208":["hashtag1","hashtag2"]},{"1401348109":["hashtag1","hashtag2"]},{"1401348249":["hashtag1","hashtag2"]},{"1401348176":["hashtag1","hashtag2"]},{"1401348143":["hashtag1","hashtag2"]},{"1401348073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401348208, 1401348109, 1401348249, 1401348176, 1401348143, 1401348073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71946740150452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:02:02.573909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_42_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_25_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/41/image_10122025_00_42_04_9620.jpg', '/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_55_10616.jpg', '/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_44_9607.jpg', '/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_35_9607.jpg', '/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_25_10623.jpg', '/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/41/image_10122025_00_42_04_9620.jpg
/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_55_10616.jpg
/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_44_9607.jpg
/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_35_9607.jpg
/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_25_10623.jpg
/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_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":["1401348867","1401348462","1401348735","1401348593","1401349022","1401348430"],"photo_ids_order":["1401348430","1401348462","1401348593","1401348735","1401348867","1401349022"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/adf595b0ad527717d3fbeb58f879efa7.jpg","text":"TemporaryFile(/tmp/multipartBody465007002066231517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872983412,"filename":"image_10122025_00_41_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b67e66222c7fb9ab9da6a2a0b83aa5b9.jpg","text":"TemporaryFile(/tmp/multipartBody4535470518635776167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872983412,"filename":"image_10122025_00_41_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba3ffd76181d62aa9f6a5f871b9a40c5.jpg","text":"TemporaryFile(/tmp/multipartBody4085415200031589182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872983412,"filename":"image_10122025_00_41_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2b49d8e8403264364bbe90e4828d830.jpg","text":"TemporaryFile(/tmp/multipartBody21021015149268115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872983412,"filename":"image_10122025_00_41_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/12/27/fea52358d19325ae5809d6f4abd2b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody958187575555109200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872983412,"filename":"image_10122025_00_40_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/12/27/dc68b0d207c74ecf5cbb5fb4169000ca.jpg","text":"TemporaryFile(/tmp/multipartBody1664102916443600828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766872983412,"filename":"image_10122025_00_42_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401348593","file1":"1401348462","file0":"1401348430","file4":"1401348867","file5":"1401349022","file3":"1401348735"},"map_files_photo_id_array":[{"photo_id":"1401349022","filename":"file5"},{"photo_id":"1401348593","filename":"file2"},{"photo_id":"1401348867","filename":"file4"},{"photo_id":"1401348462","filename":"file1"},{"photo_id":"1401348430","filename":"file0"},{"photo_id":"1401348735","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401348867":["hashtag1","hashtag2"]},{"1401348462":["hashtag1","hashtag2"]},{"1401348735":["hashtag1","hashtag2"]},{"1401348593":["hashtag1","hashtag2"]},{"1401349022":["hashtag1","hashtag2"]},{"1401348430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401348867, 1401348462, 1401348735, 1401348593, 1401349022, 1401348430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93571329116821 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:02:46.986142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_40_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_45_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_44_9612.jpg', '/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_24_9623.jpg', '/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_15_9614.jpg', '/home/nano/Desktop/images/10122025/00/39/image_10122025_00_40_05_10646.jpg', '/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_54_9605.jpg', '/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_45_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_44_9612.jpg
/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_24_9623.jpg
/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_15_9614.jpg
/home/nano/Desktop/images/10122025/00/39/image_10122025_00_40_05_10646.jpg
/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_54_9605.jpg
/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_45_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":["1401349313","1401349322","1401349261","1401349216","1401349359","1401349293"],"photo_ids_order":["1401349216","1401349261","1401349293","1401349313","1401349322","1401349359"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2432e722bf1ba6742e1e1e77dd2e00e.jpg","text":"TemporaryFile(/tmp/multipartBody1949583382604205026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873027847,"filename":"image_10122025_00_40_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9b3c0cb37f80ddce8a276025a4cdbd22.jpg","text":"TemporaryFile(/tmp/multipartBody6564568206992325535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873027847,"filename":"image_10122025_00_39_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/12/27/f4fe80a90a82bb5fb13b3c78e87b3c9a.jpg","text":"TemporaryFile(/tmp/multipartBody8896708716437013039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873027847,"filename":"image_10122025_00_40_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/12/27/18f334409f1c06486e0379b9e1e6e774.jpg","text":"TemporaryFile(/tmp/multipartBody354774252258998966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873027847,"filename":"image_10122025_00_40_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/12/27/3b39dd5ef2ed71957367fa60be41e4f0.jpg","text":"TemporaryFile(/tmp/multipartBody8565069123094767786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873027847,"filename":"image_10122025_00_39_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e2d441a81a967cad45a0bc92ecfaaa85.jpg","text":"TemporaryFile(/tmp/multipartBody9187209135117222271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873027847,"filename":"image_10122025_00_40_15_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401349293","file1":"1401349261","file0":"1401349216","file4":"1401349322","file5":"1401349359","file3":"1401349313"},"map_files_photo_id_array":[{"photo_id":"1401349359","filename":"file5"},{"photo_id":"1401349293","filename":"file2"},{"photo_id":"1401349322","filename":"file4"},{"photo_id":"1401349261","filename":"file1"},{"photo_id":"1401349216","filename":"file0"},{"photo_id":"1401349313","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401349313":["hashtag1","hashtag2"]},{"1401349322":["hashtag1","hashtag2"]},{"1401349261":["hashtag1","hashtag2"]},{"1401349216":["hashtag1","hashtag2"]},{"1401349359":["hashtag1","hashtag2"]},{"1401349293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401349313, 1401349322, 1401349261, 1401349216, 1401349359, 1401349293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.773340463638306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:03:32.087178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_39_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_34_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_25_9606.jpg', '/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_15_10629.jpg', '/home/nano/Desktop/images/10122025/00/38/image_10122025_00_39_04_9613.jpg', '/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_55_9604.jpg', '/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_45_10616.jpg', '/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_34_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_25_9606.jpg
/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_15_10629.jpg
/home/nano/Desktop/images/10122025/00/38/image_10122025_00_39_04_9613.jpg
/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_55_9604.jpg
/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_45_10616.jpg
/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_34_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":["1401349707","1401349604","1401349570","1401349738","1401349671","1401349638"],"photo_ids_order":["1401349570","1401349604","1401349638","1401349671","1401349707","1401349738"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6302997f58e6768ddc5e58e91d31e4a0.jpg","text":"TemporaryFile(/tmp/multipartBody6435137405471432344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873072884,"filename":"image_10122025_00_38_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c593573c8f3b1910babfe0befca6ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1775932401668686568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873072884,"filename":"image_10122025_00_39_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e4c392abe894376df501968071d66415.jpg","text":"TemporaryFile(/tmp/multipartBody2544203965679929370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873072884,"filename":"image_10122025_00_39_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5ade300684f4da50366c925db9aa60d9.jpg","text":"TemporaryFile(/tmp/multipartBody5316153107951853545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873072884,"filename":"image_10122025_00_38_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/12/27/55bd978d071c04c1a6c824bf9f39e9d7.jpg","text":"TemporaryFile(/tmp/multipartBody7969589782333490057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873072884,"filename":"image_10122025_00_38_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/867c08aeb57212e25de2e55a9667f350.jpg","text":"TemporaryFile(/tmp/multipartBody2475498825983833039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873072884,"filename":"image_10122025_00_39_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401349638","file1":"1401349604","file0":"1401349570","file4":"1401349707","file5":"1401349738","file3":"1401349671"},"map_files_photo_id_array":[{"photo_id":"1401349738","filename":"file5"},{"photo_id":"1401349638","filename":"file2"},{"photo_id":"1401349707","filename":"file4"},{"photo_id":"1401349604","filename":"file1"},{"photo_id":"1401349570","filename":"file0"},{"photo_id":"1401349671","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401349707":["hashtag1","hashtag2"]},{"1401349604":["hashtag1","hashtag2"]},{"1401349570":["hashtag1","hashtag2"]},{"1401349738":["hashtag1","hashtag2"]},{"1401349671":["hashtag1","hashtag2"]},{"1401349638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401349707, 1401349604, 1401349570, 1401349738, 1401349671, 1401349638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51695942878723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:04:17.172328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_38_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_35_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_25_10619.jpg', '/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_14_9620.jpg', '/home/nano/Desktop/images/10122025/00/37/image_10122025_00_38_05_9624.jpg', '/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_55_10616.jpg', '/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_44_9612.jpg', '/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_35_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_25_10619.jpg
/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_14_9620.jpg
/home/nano/Desktop/images/10122025/00/37/image_10122025_00_38_05_9624.jpg
/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_55_10616.jpg
/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_44_9612.jpg
/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_35_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":["1401349917","1401349914","1401349979","1401349943","1401349910","1401349912"],"photo_ids_order":["1401349910","1401349912","1401349914","1401349917","1401349943","1401349979"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d868b90824e6fb41ac9d02abe8914a0.jpg","text":"TemporaryFile(/tmp/multipartBody4552620380082119822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873117995,"filename":"image_10122025_00_37_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d2b8310293204ca3ddc79be8af2e7b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6307940467374289604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873117995,"filename":"image_10122025_00_38_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af1fecd5aaf81ac99c414dd517fc85af.jpg","text":"TemporaryFile(/tmp/multipartBody3723058169535025423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873117995,"filename":"image_10122025_00_37_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e559d82fd15213faa4b8ddd562f0856d.jpg","text":"TemporaryFile(/tmp/multipartBody4859248143355144538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873117995,"filename":"image_10122025_00_37_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/12/27/0ab7d1dd866b340f0249b54619bef398.jpg","text":"TemporaryFile(/tmp/multipartBody1032594327662001657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873117995,"filename":"image_10122025_00_38_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebe7d3024a3ade6e307711f100b9bac2.jpg","text":"TemporaryFile(/tmp/multipartBody2070740668834611197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873117995,"filename":"image_10122025_00_38_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401349914","file1":"1401349912","file0":"1401349910","file4":"1401349943","file5":"1401349979","file3":"1401349917"},"map_files_photo_id_array":[{"photo_id":"1401349979","filename":"file5"},{"photo_id":"1401349914","filename":"file2"},{"photo_id":"1401349943","filename":"file4"},{"photo_id":"1401349912","filename":"file1"},{"photo_id":"1401349910","filename":"file0"},{"photo_id":"1401349917","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401349917":["hashtag1","hashtag2"]},{"1401349914":["hashtag1","hashtag2"]},{"1401349979":["hashtag1","hashtag2"]},{"1401349943":["hashtag1","hashtag2"]},{"1401349910":["hashtag1","hashtag2"]},{"1401349912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401349917, 1401349914, 1401349979, 1401349943, 1401349910, 1401349912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80858325958252 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:05:03.022908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_36_04_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_54_9608.jpg', '/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_45_9611.jpg', '/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_35_10615.jpg', '/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_24_9607.jpg', '/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_15_10635.jpg', '/home/nano/Desktop/images/10122025/00/35/image_10122025_00_36_04_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_54_9608.jpg
/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_45_9611.jpg
/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_35_10615.jpg
/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_24_9607.jpg
/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_15_10635.jpg
/home/nano/Desktop/images/10122025/00/35/image_10122025_00_36_04_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":["1401350073","1401350075","1401350080","1401350068","1401350077","1401350071"],"photo_ids_order":["1401350068","1401350071","1401350073","1401350075","1401350077","1401350080"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b0900254e0d56fe990d3df5347fff16.jpg","text":"TemporaryFile(/tmp/multipartBody3695130620394414456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873163906,"filename":"image_10122025_00_36_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1115644607c711531af786fc82fbc7e.jpg","text":"TemporaryFile(/tmp/multipartBody4013607708099220987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873163906,"filename":"image_10122025_00_36_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/12/27/ebf81f43aeec8360bb16fa9d8e21068b.jpg","text":"TemporaryFile(/tmp/multipartBody3495882197242160187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873163906,"filename":"image_10122025_00_36_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/12/27/8db6ff98462c791afc7ec3bb73254bd0.jpg","text":"TemporaryFile(/tmp/multipartBody3026301045674522128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873163906,"filename":"image_10122025_00_36_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/12/27/948c83860252fe18a5b1c076a26e46fe.jpg","text":"TemporaryFile(/tmp/multipartBody8657746795869108837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873163906,"filename":"image_10122025_00_36_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/921757888957555ce0bd341a17319e92.jpg","text":"TemporaryFile(/tmp/multipartBody7341631471766781942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873163906,"filename":"image_10122025_00_36_45_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350073","file1":"1401350071","file0":"1401350068","file4":"1401350077","file5":"1401350080","file3":"1401350075"},"map_files_photo_id_array":[{"photo_id":"1401350080","filename":"file5"},{"photo_id":"1401350073","filename":"file2"},{"photo_id":"1401350077","filename":"file4"},{"photo_id":"1401350071","filename":"file1"},{"photo_id":"1401350068","filename":"file0"},{"photo_id":"1401350075","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350073":["hashtag1","hashtag2"]},{"1401350075":["hashtag1","hashtag2"]},{"1401350080":["hashtag1","hashtag2"]},{"1401350068":["hashtag1","hashtag2"]},{"1401350077":["hashtag1","hashtag2"]},{"1401350071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350073, 1401350075, 1401350080, 1401350068, 1401350077, 1401350071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98970413208008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:05:47.377011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_35_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_35_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_45_10616.jpg', '/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_25_10621.jpg', '/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_14_9623.jpg', '/home/nano/Desktop/images/10122025/00/34/image_10122025_00_35_04_9633.jpg', '/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_44_9609.jpg', '/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_35_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_45_10616.jpg
/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_25_10621.jpg
/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_14_9623.jpg
/home/nano/Desktop/images/10122025/00/34/image_10122025_00_35_04_9633.jpg
/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_44_9609.jpg
/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_35_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":["1401350200","1401350268","1401350133","1401350301","1401350167","1401350233"],"photo_ids_order":["1401350133","1401350167","1401350200","1401350233","1401350268","1401350301"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/913fe731e3d11d25a329628c44ab41bd.jpg","text":"TemporaryFile(/tmp/multipartBody2650957128109503144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873208172,"filename":"image_10122025_00_35_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/12/27/2a79b92cd3e0a5d39a3ad78125d97cde.jpg","text":"TemporaryFile(/tmp/multipartBody3418350323912598206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873208172,"filename":"image_10122025_00_34_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/12/27/1c6017bd4756cc5c5f77ad6036274c65.jpg","text":"TemporaryFile(/tmp/multipartBody8386033430957873420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873208172,"filename":"image_10122025_00_35_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e596eff472672c60ae42450a0e2bfb91.jpg","text":"TemporaryFile(/tmp/multipartBody760746554081884451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873208172,"filename":"image_10122025_00_34_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ebce99fe1f8817d39e74c73aab1acd8.jpg","text":"TemporaryFile(/tmp/multipartBody722626286553228955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873208172,"filename":"image_10122025_00_35_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69fb107177e5d4ffe9a944b93401b5a8.jpg","text":"TemporaryFile(/tmp/multipartBody6154405792136256332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873208172,"filename":"image_10122025_00_35_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350200","file1":"1401350167","file0":"1401350133","file4":"1401350268","file5":"1401350301","file3":"1401350233"},"map_files_photo_id_array":[{"photo_id":"1401350301","filename":"file5"},{"photo_id":"1401350200","filename":"file2"},{"photo_id":"1401350268","filename":"file4"},{"photo_id":"1401350167","filename":"file1"},{"photo_id":"1401350133","filename":"file0"},{"photo_id":"1401350233","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350200":["hashtag1","hashtag2"]},{"1401350268":["hashtag1","hashtag2"]},{"1401350133":["hashtag1","hashtag2"]},{"1401350301":["hashtag1","hashtag2"]},{"1401350167":["hashtag1","hashtag2"]},{"1401350233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350200, 1401350268, 1401350133, 1401350301, 1401350167, 1401350233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61570072174072 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:06:32.505601
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/33/image_10122025_00_34_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/33/image_10122025_00_33_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_33_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_34_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_14_9622.jpg', '/home/nano/Desktop/images/10122025/00/33/image_10122025_00_34_05_10622.jpg', '/home/nano/Desktop/images/10122025/00/33/image_10122025_00_33_24_9609.jpg', '/home/nano/Desktop/images/10122025/00/32/image_10122025_00_33_05_10633.jpg', '/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_45_10625.jpg', '/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_34_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_14_9622.jpg
/home/nano/Desktop/images/10122025/00/33/image_10122025_00_34_05_10622.jpg
/home/nano/Desktop/images/10122025/00/33/image_10122025_00_33_24_9609.jpg
/home/nano/Desktop/images/10122025/00/32/image_10122025_00_33_05_10633.jpg
/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_45_10625.jpg
/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_34_9610.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":["1401350397","1401350445","1401350442","1401350438","1401350440","1401350437"],"photo_ids_order":["1401350397","1401350437","1401350438","1401350440","1401350442","1401350445"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/89a0d55f357224ad41c0ca136deecedf.jpg","text":"TemporaryFile(/tmp/multipartBody8189811941457335865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873253326,"filename":"image_10122025_00_34_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/12/27/a79aaea6c573565bb4e5df76367a881d.jpg","text":"TemporaryFile(/tmp/multipartBody7445741024950877553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873253326,"filename":"image_10122025_00_32_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/12/27/86b6e02a290cd3bee57c3e04a5cd633b.jpg","text":"TemporaryFile(/tmp/multipartBody2765293788461902588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873253326,"filename":"image_10122025_00_32_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f8e385ca78e99414fc9aa29ca5b6c04.jpg","text":"TemporaryFile(/tmp/multipartBody7911305590764211792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873253326,"filename":"image_10122025_00_33_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/12/27/a78f280e55274bb34313a7c4126076da.jpg","text":"TemporaryFile(/tmp/multipartBody3293110021429093240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873253326,"filename":"image_10122025_00_33_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83446e2707c034bd603f5ffb7e04ba6f.jpg","text":"TemporaryFile(/tmp/multipartBody6487600388804590094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873253326,"filename":"image_10122025_00_34_05_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350438","file1":"1401350437","file0":"1401350397","file4":"1401350442","file5":"1401350445","file3":"1401350440"},"map_files_photo_id_array":[{"photo_id":"1401350445","filename":"file5"},{"photo_id":"1401350438","filename":"file2"},{"photo_id":"1401350442","filename":"file4"},{"photo_id":"1401350437","filename":"file1"},{"photo_id":"1401350397","filename":"file0"},{"photo_id":"1401350440","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350397":["hashtag1","hashtag2"]},{"1401350445":["hashtag1","hashtag2"]},{"1401350442":["hashtag1","hashtag2"]},{"1401350438":["hashtag1","hashtag2"]},{"1401350440":["hashtag1","hashtag2"]},{"1401350437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350397, 1401350445, 1401350442, 1401350438, 1401350440, 1401350437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.23693108558655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:07:32.558308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_32_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_55_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_14_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/31/image_10122025_00_32_04_9618.jpg', '/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_55_9626.jpg', '/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', '/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_34_9607.jpg', '/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_25_10621.jpg', '/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_14_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/31/image_10122025_00_32_04_9618.jpg
/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_55_9626.jpg
/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg
/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_34_9607.jpg
/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_25_10621.jpg
/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_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":["1401350460","1401350454","1401350456","1401350459","1401350461","1401350458"],"photo_ids_order":["1401350454","1401350456","1401350458","1401350459","1401350460","1401350461"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8b931169a071b9b242b476b92c93af8d.jpg","text":"TemporaryFile(/tmp/multipartBody6421038408688602173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873313370,"filename":"image_10122025_00_31_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fcae992d1a950532c417d6ab5b75db33.jpg","text":"TemporaryFile(/tmp/multipartBody5443512644501887843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873313370,"filename":"image_10122025_00_32_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/12/27/c6b5cf234f7189d5ee371db3de4ca9b5.jpg","text":"TemporaryFile(/tmp/multipartBody4573781324417270193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873313370,"filename":"image_10122025_00_31_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1d6ad52a80c22085f6edc1cb09666b07.jpg","text":"TemporaryFile(/tmp/multipartBody8098501374618282958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873313370,"filename":"image_10122025_00_31_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/12/27/bdbbff473ac74ba56369845ba852bca3.jpg","text":"TemporaryFile(/tmp/multipartBody1866298681481635125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873313370,"filename":"image_10122025_00_31_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/12/27/619e4fb2781e51aeabc0ea97696c4879.jpg","text":"TemporaryFile(/tmp/multipartBody6375880321307911547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873313370,"filename":"image_10122025_00_31_45_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350458","file1":"1401350456","file0":"1401350454","file4":"1401350460","file5":"1401350461","file3":"1401350459"},"map_files_photo_id_array":[{"photo_id":"1401350461","filename":"file5"},{"photo_id":"1401350458","filename":"file2"},{"photo_id":"1401350460","filename":"file4"},{"photo_id":"1401350456","filename":"file1"},{"photo_id":"1401350454","filename":"file0"},{"photo_id":"1401350459","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350460":["hashtag1","hashtag2"]},{"1401350454":["hashtag1","hashtag2"]},{"1401350456":["hashtag1","hashtag2"]},{"1401350459":["hashtag1","hashtag2"]},{"1401350461":["hashtag1","hashtag2"]},{"1401350458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350460, 1401350454, 1401350456, 1401350459, 1401350461, 1401350458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24065136909485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:08:17.676001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_30_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_24_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_55_10618.jpg', '/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_35_10615.jpg', '/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_24_9607.jpg', '/home/nano/Desktop/images/10122025/00/29/image_10122025_00_30_05_10617.jpg', '/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_45_10619.jpg', '/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_55_10618.jpg
/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_35_10615.jpg
/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_24_9607.jpg
/home/nano/Desktop/images/10122025/00/29/image_10122025_00_30_05_10617.jpg
/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_45_10619.jpg
/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_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":["1401350478","1401350472","1401350474","1401350468","1401350470","1401350476"],"photo_ids_order":["1401350468","1401350470","1401350472","1401350474","1401350476","1401350478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1aecd0ed22d9775abb6aa429e85f60d.jpg","text":"TemporaryFile(/tmp/multipartBody956625280807939433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873358470,"filename":"image_10122025_00_29_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/12/27/1bd8e05f5f7a90c1597b78798670fbb1.jpg","text":"TemporaryFile(/tmp/multipartBody2145252129544886443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873358470,"filename":"image_10122025_00_30_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/12/27/ad9f3db89311c4cb31dbb008d7e9910f.jpg","text":"TemporaryFile(/tmp/multipartBody8949432566018703085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873358470,"filename":"image_10122025_00_30_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6159cb2f889a3ee9b6075f2284df0d30.jpg","text":"TemporaryFile(/tmp/multipartBody3999436333196900901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873358470,"filename":"image_10122025_00_30_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7b2913179965d0b6b487ecc486f99c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5804566295233637640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873358470,"filename":"image_10122025_00_30_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/60d4e53eb42bc17b5b400232ba2e7594.jpg","text":"TemporaryFile(/tmp/multipartBody6820111230334346349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873358470,"filename":"image_10122025_00_29_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350472","file1":"1401350470","file0":"1401350468","file4":"1401350476","file5":"1401350478","file3":"1401350474"},"map_files_photo_id_array":[{"photo_id":"1401350478","filename":"file5"},{"photo_id":"1401350472","filename":"file2"},{"photo_id":"1401350476","filename":"file4"},{"photo_id":"1401350470","filename":"file1"},{"photo_id":"1401350468","filename":"file0"},{"photo_id":"1401350474","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350478":["hashtag1","hashtag2"]},{"1401350472":["hashtag1","hashtag2"]},{"1401350474":["hashtag1","hashtag2"]},{"1401350468":["hashtag1","hashtag2"]},{"1401350470":["hashtag1","hashtag2"]},{"1401350476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350478, 1401350472, 1401350474, 1401350468, 1401350470, 1401350476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98801803588867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:09:02.620520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_29_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_28_05_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_15_10634.jpg', '/home/nano/Desktop/images/10122025/00/28/image_10122025_00_29_04_9609.jpg', '/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_45_10635.jpg', '/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_34_9611.jpg', '/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_25_10635.jpg', '/home/nano/Desktop/images/10122025/00/27/image_10122025_00_28_05_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_15_10634.jpg
/home/nano/Desktop/images/10122025/00/28/image_10122025_00_29_04_9609.jpg
/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_45_10635.jpg
/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_34_9611.jpg
/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_25_10635.jpg
/home/nano/Desktop/images/10122025/00/27/image_10122025_00_28_05_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":["1401350484","1401350486","1401350480","1401350482","1401350491","1401350488"],"photo_ids_order":["1401350480","1401350482","1401350484","1401350486","1401350488","1401350491"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbe43f0fde21dcf83b3c501eacc0f232.jpg","text":"TemporaryFile(/tmp/multipartBody4309505187212865279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873403513,"filename":"image_10122025_00_28_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e97d2cbfff97dc7e16bbeb294a964697.jpg","text":"TemporaryFile(/tmp/multipartBody7099618022721136808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873403513,"filename":"image_10122025_00_28_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/12/27/24639e9ecc0cc52635f960e817aff681.jpg","text":"TemporaryFile(/tmp/multipartBody3147659262138695622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873403513,"filename":"image_10122025_00_29_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ba5d571171ead3a0cba73f6d2df5607.jpg","text":"TemporaryFile(/tmp/multipartBody2651265295627748560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873403513,"filename":"image_10122025_00_29_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/12/27/4ff2efc0f889d6eb0b4fe1504252eadc.jpg","text":"TemporaryFile(/tmp/multipartBody1170770197073403897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873403513,"filename":"image_10122025_00_28_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d6c18ef9bf73d3e685f7a98fe80d1e92.jpg","text":"TemporaryFile(/tmp/multipartBody6284154455779950040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873403513,"filename":"image_10122025_00_28_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350484","file1":"1401350482","file0":"1401350480","file4":"1401350488","file5":"1401350491","file3":"1401350486"},"map_files_photo_id_array":[{"photo_id":"1401350491","filename":"file5"},{"photo_id":"1401350484","filename":"file2"},{"photo_id":"1401350488","filename":"file4"},{"photo_id":"1401350482","filename":"file1"},{"photo_id":"1401350480","filename":"file0"},{"photo_id":"1401350486","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350484":["hashtag1","hashtag2"]},{"1401350486":["hashtag1","hashtag2"]},{"1401350480":["hashtag1","hashtag2"]},{"1401350482":["hashtag1","hashtag2"]},{"1401350491":["hashtag1","hashtag2"]},{"1401350488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350484, 1401350486, 1401350480, 1401350482, 1401350491, 1401350488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26958775520325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:09:46.777763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_35_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_27_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_55_10616.jpg', '/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_44_9611.jpg', '/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_35_9615.jpg', '/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_25_10619.jpg', '/home/nano/Desktop/images/10122025/00/26/image_10122025_00_27_05_10622.jpg', '/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_55_10616.jpg
/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_44_9611.jpg
/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_35_9615.jpg
/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_25_10619.jpg
/home/nano/Desktop/images/10122025/00/26/image_10122025_00_27_05_10622.jpg
/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_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":["1401350506","1401350505","1401350502","1401350501","1401350500","1401350503"],"photo_ids_order":["1401350500","1401350501","1401350502","1401350503","1401350505","1401350506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67a980ab4a56572e5fd8c6527d04fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4934372832567630766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873447581,"filename":"image_10122025_00_26_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/12/27/1b11a6998148622e72c58672c52770f6.jpg","text":"TemporaryFile(/tmp/multipartBody3539971671295615423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873447581,"filename":"image_10122025_00_27_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/58fdb0e9d447010b6b7e32be782d9c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5459525063268293580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873447581,"filename":"image_10122025_00_27_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/57640daaf96382436ed26e7629003bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8015427612619899045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873447581,"filename":"image_10122025_00_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/12/27/1e6d5c2439b5d29f0fba2c6b2f71882c.jpg","text":"TemporaryFile(/tmp/multipartBody1029787403030126452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873447581,"filename":"image_10122025_00_27_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8b4b5ef815b56405eee4e7331ca8ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2629551651106957654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873447581,"filename":"image_10122025_00_27_25_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350502","file1":"1401350501","file0":"1401350500","file4":"1401350505","file5":"1401350506","file3":"1401350503"},"map_files_photo_id_array":[{"photo_id":"1401350506","filename":"file5"},{"photo_id":"1401350502","filename":"file2"},{"photo_id":"1401350505","filename":"file4"},{"photo_id":"1401350501","filename":"file1"},{"photo_id":"1401350500","filename":"file0"},{"photo_id":"1401350503","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350506":["hashtag1","hashtag2"]},{"1401350505":["hashtag1","hashtag2"]},{"1401350502":["hashtag1","hashtag2"]},{"1401350501":["hashtag1","hashtag2"]},{"1401350500":["hashtag1","hashtag2"]},{"1401350503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350506, 1401350505, 1401350502, 1401350501, 1401350500, 1401350503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43492937088013 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:10:31.852639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_26_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_25_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_55_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_45_9613.jpg', '/home/nano/Desktop/images/10122025/00/25/image_10122025_00_26_05_10627.jpg', '/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_45_10617.jpg', '/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_15_10633.jpg', '/home/nano/Desktop/images/10122025/00/24/image_10122025_00_25_04_9620.jpg', '/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_45_9613.jpg
/home/nano/Desktop/images/10122025/00/25/image_10122025_00_26_05_10627.jpg
/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_45_10617.jpg
/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_15_10633.jpg
/home/nano/Desktop/images/10122025/00/24/image_10122025_00_25_04_9620.jpg
/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_55_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":["1401350520","1401350514","1401350522","1401350516","1401350521","1401350518"],"photo_ids_order":["1401350514","1401350516","1401350518","1401350520","1401350521","1401350522"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc959e0342d99a3a474422a6cfc79dfc.jpg","text":"TemporaryFile(/tmp/multipartBody1273139063813159851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873492651,"filename":"image_10122025_00_25_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/249508d16b0c977316e907646dce4bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5795652419600525353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873492651,"filename":"image_10122025_00_26_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86cac7637509ce65dc36bd1ffaa765f1.jpg","text":"TemporaryFile(/tmp/multipartBody8541098257454230315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873492651,"filename":"image_10122025_00_24_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dae2d00d11c778cb1b6be1e97ffecf82.jpg","text":"TemporaryFile(/tmp/multipartBody3313767674964158751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873492651,"filename":"image_10122025_00_26_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5c44936c44a9c944638aa5e65200fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody6935364451428637255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873492651,"filename":"image_10122025_00_25_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/12/27/4f7751a6cadc62009425acd47d63ab80.jpg","text":"TemporaryFile(/tmp/multipartBody1853850423809004907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873492651,"filename":"image_10122025_00_25_45_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350518","file1":"1401350516","file0":"1401350514","file4":"1401350521","file5":"1401350522","file3":"1401350520"},"map_files_photo_id_array":[{"photo_id":"1401350522","filename":"file5"},{"photo_id":"1401350518","filename":"file2"},{"photo_id":"1401350521","filename":"file4"},{"photo_id":"1401350516","filename":"file1"},{"photo_id":"1401350514","filename":"file0"},{"photo_id":"1401350520","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350520":["hashtag1","hashtag2"]},{"1401350514":["hashtag1","hashtag2"]},{"1401350522":["hashtag1","hashtag2"]},{"1401350516":["hashtag1","hashtag2"]},{"1401350521":["hashtag1","hashtag2"]},{"1401350518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350520, 1401350514, 1401350522, 1401350516, 1401350521, 1401350518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21308469772339 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:11:16.964536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_24_05_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_24_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_25_10636.jpg', '/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_14_9622.jpg', '/home/nano/Desktop/images/10122025/00/23/image_10122025_00_24_05_9611.jpg', '/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_55_10618.jpg', '/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_35_10616.jpg', '/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_25_10636.jpg
/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_14_9622.jpg
/home/nano/Desktop/images/10122025/00/23/image_10122025_00_24_05_9611.jpg
/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_55_10618.jpg
/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_35_10616.jpg
/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_24_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":["1401350535","1401350529","1401350537","1401350531","1401350533","1401350527"],"photo_ids_order":["1401350527","1401350529","1401350531","1401350533","1401350535","1401350537"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f875470d788badcf245bc677d8f8abdc.jpg","text":"TemporaryFile(/tmp/multipartBody6188372761373199446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873537765,"filename":"image_10122025_00_23_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0a7235129768a227b4f4267284616cb.jpg","text":"TemporaryFile(/tmp/multipartBody2483632220150430844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873537765,"filename":"image_10122025_00_24_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/12/27/f2daf25af4ee9c34b4080a02bf30c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody4986700237193914489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873537765,"filename":"image_10122025_00_23_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/12/27/76f20f6e129de0c413b3958fd8694bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3647174943474363817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873537765,"filename":"image_10122025_00_24_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0c592959e06d09b1189896c6f8ac9b4b.jpg","text":"TemporaryFile(/tmp/multipartBody777203628144027871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873537765,"filename":"image_10122025_00_23_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3120efafac08a6e256878f4f3ebef03e.jpg","text":"TemporaryFile(/tmp/multipartBody5477700415661690559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873537765,"filename":"image_10122025_00_24_25_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350531","file1":"1401350529","file0":"1401350527","file4":"1401350535","file5":"1401350537","file3":"1401350533"},"map_files_photo_id_array":[{"photo_id":"1401350537","filename":"file5"},{"photo_id":"1401350531","filename":"file2"},{"photo_id":"1401350535","filename":"file4"},{"photo_id":"1401350529","filename":"file1"},{"photo_id":"1401350527","filename":"file0"},{"photo_id":"1401350533","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350535":["hashtag1","hashtag2"]},{"1401350529":["hashtag1","hashtag2"]},{"1401350537":["hashtag1","hashtag2"]},{"1401350531":["hashtag1","hashtag2"]},{"1401350533":["hashtag1","hashtag2"]},{"1401350527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350535, 1401350529, 1401350537, 1401350531, 1401350533, 1401350527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89647960662842 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:12:02.635447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_23_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_35_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_24_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_14_9616.jpg', '/home/nano/Desktop/images/10122025/00/22/image_10122025_00_23_05_10620.jpg', '/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_54_9607.jpg', '/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_45_9607.jpg', '/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_35_10635.jpg', '/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_24_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_14_9616.jpg
/home/nano/Desktop/images/10122025/00/22/image_10122025_00_23_05_10620.jpg
/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_54_9607.jpg
/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_45_9607.jpg
/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_35_10635.jpg
/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_24_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":["1401350549","1401350546","1401350551","1401350545","1401350554","1401350548"],"photo_ids_order":["1401350545","1401350546","1401350548","1401350549","1401350551","1401350554"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54a15892c72dd4acd7436ffd46bda0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5175533392750052461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873583519,"filename":"image_10122025_00_22_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5b4e137e302c3a4c90f97a0c8894a89.jpg","text":"TemporaryFile(/tmp/multipartBody6120173209543641575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873583519,"filename":"image_10122025_00_23_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f118f96c5a97924197954dcce3c32ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6181356398701860908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873583519,"filename":"image_10122025_00_22_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/804c1d49bc6957249e440248b43d005a.jpg","text":"TemporaryFile(/tmp/multipartBody58412569341395090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873583519,"filename":"image_10122025_00_23_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/12/27/d4b9efab68b7a612f763f874fdcaa674.jpg","text":"TemporaryFile(/tmp/multipartBody4894155140800295969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873583519,"filename":"image_10122025_00_22_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/12/27/3149eb2a816428b44a20ac0b3289491e.jpg","text":"TemporaryFile(/tmp/multipartBody819666188541725623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873583519,"filename":"image_10122025_00_22_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350548","file1":"1401350546","file0":"1401350545","file4":"1401350551","file5":"1401350554","file3":"1401350549"},"map_files_photo_id_array":[{"photo_id":"1401350554","filename":"file5"},{"photo_id":"1401350548","filename":"file2"},{"photo_id":"1401350551","filename":"file4"},{"photo_id":"1401350546","filename":"file1"},{"photo_id":"1401350545","filename":"file0"},{"photo_id":"1401350549","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350549":["hashtag1","hashtag2"]},{"1401350546":["hashtag1","hashtag2"]},{"1401350551":["hashtag1","hashtag2"]},{"1401350545":["hashtag1","hashtag2"]},{"1401350554":["hashtag1","hashtag2"]},{"1401350548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350549, 1401350546, 1401350551, 1401350545, 1401350554, 1401350548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68722701072693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:12:47.074009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_22_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_44_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_15_10634.jpg', '/home/nano/Desktop/images/10122025/00/21/image_10122025_00_22_04_9627.jpg', '/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_55_9609.jpg', '/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_45_10620.jpg', '/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_15_10629.jpg', '/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_15_10634.jpg
/home/nano/Desktop/images/10122025/00/21/image_10122025_00_22_04_9627.jpg
/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_55_9609.jpg
/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_45_10620.jpg
/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_15_10629.jpg
/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_44_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":["1401350568","1401350565","1401350564","1401350563","1401350566","1401350569"],"photo_ids_order":["1401350563","1401350564","1401350565","1401350566","1401350568","1401350569"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bcfeeee888c0d4e6ee57eb15a152112e.jpg","text":"TemporaryFile(/tmp/multipartBody6723404332096789004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873627873,"filename":"image_10122025_00_21_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a8341b1045fd7a30793fb72cdcb34b8.jpg","text":"TemporaryFile(/tmp/multipartBody8365264012923555061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873627873,"filename":"image_10122025_00_21_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ebecef53919e4728d2818adab5206eda.jpg","text":"TemporaryFile(/tmp/multipartBody7854382975902427558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873627873,"filename":"image_10122025_00_22_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/12/27/4cfb41067ec871546b7ddfd331d8e75f.jpg","text":"TemporaryFile(/tmp/multipartBody7906747615243700275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873627873,"filename":"image_10122025_00_22_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/087b456ad97ebf73c4af087dae8d0ee3.jpg","text":"TemporaryFile(/tmp/multipartBody483124905770962586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873627873,"filename":"image_10122025_00_21_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4598980068551d9c357b587d798d88c5.jpg","text":"TemporaryFile(/tmp/multipartBody664651189397061230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873627873,"filename":"image_10122025_00_20_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350565","file1":"1401350564","file0":"1401350563","file4":"1401350568","file5":"1401350569","file3":"1401350566"},"map_files_photo_id_array":[{"photo_id":"1401350569","filename":"file5"},{"photo_id":"1401350565","filename":"file2"},{"photo_id":"1401350568","filename":"file4"},{"photo_id":"1401350564","filename":"file1"},{"photo_id":"1401350563","filename":"file0"},{"photo_id":"1401350566","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350568":["hashtag1","hashtag2"]},{"1401350565":["hashtag1","hashtag2"]},{"1401350564":["hashtag1","hashtag2"]},{"1401350563":["hashtag1","hashtag2"]},{"1401350566":["hashtag1","hashtag2"]},{"1401350569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350568, 1401350565, 1401350564, 1401350563, 1401350566, 1401350569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.202736377716064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:13:32.193442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_24_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_35_9610.jpg', '/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_14_9623.jpg', '/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_54_9605.jpg', '/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_45_9609.jpg', '/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_35_10617.jpg', '/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_35_9610.jpg
/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_14_9623.jpg
/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_54_9605.jpg
/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_45_9609.jpg
/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_35_10617.jpg
/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_24_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":["1401350580","1401350583","1401350585","1401350581","1401350578","1401350586"],"photo_ids_order":["1401350578","1401350580","1401350581","1401350583","1401350585","1401350586"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/69a8081dfe744fea5ab32e277d0fc56c.jpg","text":"TemporaryFile(/tmp/multipartBody2602483798924240992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873672998,"filename":"image_10122025_00_20_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/12/27/c4c44d973a592500c95ec385671a1124.jpg","text":"TemporaryFile(/tmp/multipartBody844401014701564864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873672998,"filename":"image_10122025_00_19_45_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0ec8285fe108602bf29a3c24f3a908aa.jpg","text":"TemporaryFile(/tmp/multipartBody710211388707593651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873672998,"filename":"image_10122025_00_19_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1e641f59ba360471fea23e5619120bed.jpg","text":"TemporaryFile(/tmp/multipartBody8786972617073476633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873672998,"filename":"image_10122025_00_19_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/12/27/8fcf5996ee082db81b78af4fc9f4ec37.jpg","text":"TemporaryFile(/tmp/multipartBody1319394102886059035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873672998,"filename":"image_10122025_00_20_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1adcb347360c27466708f23b8b1b7c77.jpg","text":"TemporaryFile(/tmp/multipartBody398334566575102714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873672998,"filename":"image_10122025_00_19_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350581","file1":"1401350580","file0":"1401350578","file4":"1401350585","file5":"1401350586","file3":"1401350583"},"map_files_photo_id_array":[{"photo_id":"1401350586","filename":"file5"},{"photo_id":"1401350581","filename":"file2"},{"photo_id":"1401350585","filename":"file4"},{"photo_id":"1401350580","filename":"file1"},{"photo_id":"1401350578","filename":"file0"},{"photo_id":"1401350583","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350580":["hashtag1","hashtag2"]},{"1401350583":["hashtag1","hashtag2"]},{"1401350585":["hashtag1","hashtag2"]},{"1401350581":["hashtag1","hashtag2"]},{"1401350578":["hashtag1","hashtag2"]},{"1401350586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350580, 1401350583, 1401350585, 1401350581, 1401350578, 1401350586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.514981269836426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:14:17.257115
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/13/image_27122025_23_14_04_9525.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/13/image_27122025_23_14_04_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/13/image_27122025_23_14_04_9525.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.12396860122680664 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:14:32.287255
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/13/image_27122025_23_14_04_9525.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/13/image_27122025_23_14_04_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/13/image_27122025_23_14_04_9525.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401350595"],"photo_id":"1401350595","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d25f5362dd319338cec59beda85a1742.jpg","text":"TemporaryFile(/tmp/multipartBody977333807690725054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873732530,"filename":"image_27122025_23_14_04_9525.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401350595"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401350595"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.946151971817017 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:14:47.357244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_15_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_15_9621.jpg', '/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_54_9606.jpg', '/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_45_10619.jpg', '/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_34_9611.jpg', '/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_25_9606.jpg', '/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_15_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_15_9621.jpg
/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_54_9606.jpg
/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_45_10619.jpg
/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_34_9611.jpg
/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_25_9606.jpg
/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_15_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":["1401350611","1401350613","1401350607","1401350606","1401350609","1401350608"],"photo_ids_order":["1401350606","1401350607","1401350608","1401350609","1401350611","1401350613"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c034b9bb50d5f4fe7622a7c35ff8329b.jpg","text":"TemporaryFile(/tmp/multipartBody2694020331448071038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873748194,"filename":"image_10122025_00_18_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f543f2da170283b0f0a618330fb0a186.jpg","text":"TemporaryFile(/tmp/multipartBody420857457131870538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873748194,"filename":"image_10122025_00_18_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8961eda7417582f347d5d868bfce7658.jpg","text":"TemporaryFile(/tmp/multipartBody6280081226258628523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873748194,"filename":"image_10122025_00_18_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/12/27/7441dc1c8a2859e27dcd57b9c08c2351.jpg","text":"TemporaryFile(/tmp/multipartBody7920123978278917926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873748194,"filename":"image_10122025_00_19_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b6f0496de54badbeac23aa3ea0789b1.jpg","text":"TemporaryFile(/tmp/multipartBody889494146781523134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873748194,"filename":"image_10122025_00_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/12/27/893ac6ccdf1658a368ef47270a3add44.jpg","text":"TemporaryFile(/tmp/multipartBody6196763550688324139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873748194,"filename":"image_10122025_00_18_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350608","file1":"1401350607","file0":"1401350606","file4":"1401350611","file5":"1401350613","file3":"1401350609"},"map_files_photo_id_array":[{"photo_id":"1401350613","filename":"file5"},{"photo_id":"1401350608","filename":"file2"},{"photo_id":"1401350611","filename":"file4"},{"photo_id":"1401350607","filename":"file1"},{"photo_id":"1401350606","filename":"file0"},{"photo_id":"1401350609","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350611":["hashtag1","hashtag2"]},{"1401350613":["hashtag1","hashtag2"]},{"1401350607":["hashtag1","hashtag2"]},{"1401350606":["hashtag1","hashtag2"]},{"1401350609":["hashtag1","hashtag2"]},{"1401350608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350611, 1401350613, 1401350607, 1401350606, 1401350609, 1401350608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58590054512024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:15:32.442818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg', '/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg
/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_9617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.709496021270752 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:15:47.471224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg', '/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg', '/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg
/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg
/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_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":["1401350631","1401350634","1401350633","1401350630","1401350627","1401350629"],"photo_ids_order":["1401350627","1401350629","1401350630","1401350631","1401350633","1401350634"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffea80a9bf1628c1a504c3668b715cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5030880325597884363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873808270,"filename":"image_10122025_00_17_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/12/27/ffdf1db7bdbe2ce96df6826474181a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3961997658372920658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873808270,"filename":"image_10122025_00_17_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1476efde9d43482b8d1ea3f830d9d3f.jpg","text":"TemporaryFile(/tmp/multipartBody4806676031801530728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873808270,"filename":"image_10122025_00_17_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c0a7fd05fb13eaef5fce95cad4e21e47.jpg","text":"TemporaryFile(/tmp/multipartBody4311260125377127347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873808270,"filename":"image_10122025_00_17_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/12/27/2f7db7e37c13792bb34c484e3dbc8969.jpg","text":"TemporaryFile(/tmp/multipartBody15413836417638019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873808270,"filename":"image_10122025_00_18_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/12/27/98f9bff11472ee6efe2a594c705367ee.jpg","text":"TemporaryFile(/tmp/multipartBody2747257345793277326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873808270,"filename":"image_10122025_00_17_55_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350630","file1":"1401350629","file0":"1401350627","file4":"1401350633","file5":"1401350634","file3":"1401350631"},"map_files_photo_id_array":[{"photo_id":"1401350634","filename":"file5"},{"photo_id":"1401350630","filename":"file2"},{"photo_id":"1401350633","filename":"file4"},{"photo_id":"1401350629","filename":"file1"},{"photo_id":"1401350627","filename":"file0"},{"photo_id":"1401350631","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350631":["hashtag1","hashtag2"]},{"1401350634":["hashtag1","hashtag2"]},{"1401350633":["hashtag1","hashtag2"]},{"1401350630":["hashtag1","hashtag2"]},{"1401350627":["hashtag1","hashtag2"]},{"1401350629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350631, 1401350634, 1401350633, 1401350630, 1401350627, 1401350629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03655171394348 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:16:32.591334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_24_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_16_05_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_55_10615.jpg', '/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_44_9609.jpg', '/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_35_10615.jpg', '/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_24_9669.jpg', '/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_15_9623.jpg', '/home/nano/Desktop/images/10122025/00/15/image_10122025_00_16_05_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_55_10615.jpg
/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_44_9609.jpg
/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_35_10615.jpg
/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_24_9669.jpg
/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_15_9623.jpg
/home/nano/Desktop/images/10122025/00/15/image_10122025_00_16_05_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":["1401350643","1401350646","1401350651","1401350648","1401350645","1401350650"],"photo_ids_order":["1401350643","1401350645","1401350646","1401350648","1401350650","1401350651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f64e0178f70e8e1849bf685dbfab86c.jpg","text":"TemporaryFile(/tmp/multipartBody3215243241305370872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873853458,"filename":"image_10122025_00_16_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9732fdcdb1e50764a8fbe2b952270794.jpg","text":"TemporaryFile(/tmp/multipartBody6207846679891804988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873853458,"filename":"image_10122025_00_16_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1b215b3b7504185beca263e07cb8a64c.jpg","text":"TemporaryFile(/tmp/multipartBody4415939140677745489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873853458,"filename":"image_10122025_00_16_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fc3a89b4c07a777e63864eeb1553057.jpg","text":"TemporaryFile(/tmp/multipartBody693633131912401850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873853458,"filename":"image_10122025_00_16_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/12/27/0dfba7b4ef6b58f44406857bb961995a.jpg","text":"TemporaryFile(/tmp/multipartBody4887712576877770200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873853458,"filename":"image_10122025_00_16_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/12/27/851b46311cfa389c155f4880eb21ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody9180771303181554315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873853458,"filename":"image_10122025_00_16_15_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350646","file1":"1401350645","file0":"1401350643","file4":"1401350650","file5":"1401350651","file3":"1401350648"},"map_files_photo_id_array":[{"photo_id":"1401350651","filename":"file5"},{"photo_id":"1401350646","filename":"file2"},{"photo_id":"1401350650","filename":"file4"},{"photo_id":"1401350645","filename":"file1"},{"photo_id":"1401350643","filename":"file0"},{"photo_id":"1401350648","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350643":["hashtag1","hashtag2"]},{"1401350646":["hashtag1","hashtag2"]},{"1401350651":["hashtag1","hashtag2"]},{"1401350648":["hashtag1","hashtag2"]},{"1401350645":["hashtag1","hashtag2"]},{"1401350650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350643, 1401350646, 1401350651, 1401350648, 1401350645, 1401350650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.728583574295044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:17:16.810381
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_15_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_55_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_54_9610.jpg', '/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_45_9612.jpg', '/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_35_10630.jpg', '/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_15_10637.jpg', '/home/nano/Desktop/images/10122025/00/14/image_10122025_00_15_04_9630.jpg', '/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_55_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_54_9610.jpg
/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_45_9612.jpg
/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_35_10630.jpg
/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_15_10637.jpg
/home/nano/Desktop/images/10122025/00/14/image_10122025_00_15_04_9630.jpg
/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_55_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":["1401350667","1401350655","1401350660","1401350663","1401350657","1401350665"],"photo_ids_order":["1401350655","1401350657","1401350660","1401350663","1401350665","1401350667"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d31f8c94e2abf39ad4e18fb8ee55df9.jpg","text":"TemporaryFile(/tmp/multipartBody8025288163737242082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873897620,"filename":"image_10122025_00_14_55_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/341ee065bed789a192dbfca3d180f9a2.jpg","text":"TemporaryFile(/tmp/multipartBody6653551948639368200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873897620,"filename":"image_10122025_00_15_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/12/27/e0356db20643c510f14a49210a85e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2585663618765598431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873897620,"filename":"image_10122025_00_15_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43a7df64ec53b0fd4971db70408cce58.jpg","text":"TemporaryFile(/tmp/multipartBody3699697526063201962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873897620,"filename":"image_10122025_00_15_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbc1e2907c9fe3aa15424852e9fd7627.jpg","text":"TemporaryFile(/tmp/multipartBody6897965871513945004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873897620,"filename":"image_10122025_00_15_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/823ee923d59766efc1b470cf3e45f88d.jpg","text":"TemporaryFile(/tmp/multipartBody3641002202431030643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873897620,"filename":"image_10122025_00_15_04_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350660","file1":"1401350657","file0":"1401350655","file4":"1401350665","file5":"1401350667","file3":"1401350663"},"map_files_photo_id_array":[{"photo_id":"1401350667","filename":"file5"},{"photo_id":"1401350660","filename":"file2"},{"photo_id":"1401350665","filename":"file4"},{"photo_id":"1401350657","filename":"file1"},{"photo_id":"1401350655","filename":"file0"},{"photo_id":"1401350663","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350667":["hashtag1","hashtag2"]},{"1401350655":["hashtag1","hashtag2"]},{"1401350660":["hashtag1","hashtag2"]},{"1401350663":["hashtag1","hashtag2"]},{"1401350657":["hashtag1","hashtag2"]},{"1401350665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350667, 1401350655, 1401350660, 1401350663, 1401350657, 1401350665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10829186439514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:18:02.518364
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', '/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg
/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7802131175994873 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:18:16.969671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', '/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', '/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg
/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_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":["1401350694","1401350696","1401350692","1401350689","1401350698","1401350686"],"photo_ids_order":["1401350686","1401350689","1401350692","1401350694","1401350696","1401350698"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7da2b12be8166a24217e281960fcb5ec.jpg","text":"TemporaryFile(/tmp/multipartBody367889450043808390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873957759,"filename":"image_10122025_00_13_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/44e5ab529a74d69904c1a1f825ce3b33.jpg","text":"TemporaryFile(/tmp/multipartBody6414896176878786200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873957759,"filename":"image_10122025_00_13_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/12/27/6b732f1e4ea008ee259c1a1bef2e3a32.jpg","text":"TemporaryFile(/tmp/multipartBody5299375789122580470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873957759,"filename":"image_10122025_00_14_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/12/27/02f46c48d078b0b172574c43d41e809e.jpg","text":"TemporaryFile(/tmp/multipartBody5733576585175735342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873957759,"filename":"image_10122025_00_14_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/12/27/22a9faac181bd51f7c811528d4bee4dc.jpg","text":"TemporaryFile(/tmp/multipartBody7297568281272800960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873957759,"filename":"image_10122025_00_13_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/10452383a5f063dc6e3a49af5d783a01.jpg","text":"TemporaryFile(/tmp/multipartBody7392758341087947141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766873957759,"filename":"image_10122025_00_14_45_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350692","file1":"1401350689","file0":"1401350686","file4":"1401350696","file5":"1401350698","file3":"1401350694"},"map_files_photo_id_array":[{"photo_id":"1401350698","filename":"file5"},{"photo_id":"1401350692","filename":"file2"},{"photo_id":"1401350696","filename":"file4"},{"photo_id":"1401350689","filename":"file1"},{"photo_id":"1401350686","filename":"file0"},{"photo_id":"1401350694","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350694":["hashtag1","hashtag2"]},{"1401350696":["hashtag1","hashtag2"]},{"1401350692":["hashtag1","hashtag2"]},{"1401350689":["hashtag1","hashtag2"]},{"1401350698":["hashtag1","hashtag2"]},{"1401350686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350694, 1401350696, 1401350692, 1401350689, 1401350698, 1401350686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3302366733551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:19:03.071394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_13_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_12_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_25_10616.jpg', '/home/nano/Desktop/images/10122025/00/12/image_10122025_00_13_05_9626.jpg', '/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_55_10635.jpg', '/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_35_10618.jpg', '/home/nano/Desktop/images/10122025/00/11/image_10122025_00_12_05_10630.jpg', '/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_25_10616.jpg
/home/nano/Desktop/images/10122025/00/12/image_10122025_00_13_05_9626.jpg
/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_55_10635.jpg
/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_35_10618.jpg
/home/nano/Desktop/images/10122025/00/11/image_10122025_00_12_05_10630.jpg
/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_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":["1401350703","1401350712","1401350709","1401350702","1401350705","1401350707"],"photo_ids_order":["1401350702","1401350703","1401350705","1401350707","1401350709","1401350712"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1baf652bad73b4ae3e5a2af594edf03a.jpg","text":"TemporaryFile(/tmp/multipartBody5300226798181178865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874003913,"filename":"image_10122025_00_13_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39352b130d16dc1934d9015e9ef7314e.jpg","text":"TemporaryFile(/tmp/multipartBody8475881913509451646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874003913,"filename":"image_10122025_00_11_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/12/27/72c465b3fbe4d4560407504090767c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7198967804672916701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874003913,"filename":"image_10122025_00_12_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b184ddf5b7146461a792440e898ac4b1.jpg","text":"TemporaryFile(/tmp/multipartBody8649095302691659493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874003913,"filename":"image_10122025_00_13_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4403ed2d5128988ae71e68b1802ccc44.jpg","text":"TemporaryFile(/tmp/multipartBody4478983335939327187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874003913,"filename":"image_10122025_00_12_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d7d99340154f86092178cf364499dc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8734288676898944673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874003913,"filename":"image_10122025_00_12_35_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350705","file1":"1401350703","file0":"1401350702","file4":"1401350709","file5":"1401350712","file3":"1401350707"},"map_files_photo_id_array":[{"photo_id":"1401350712","filename":"file5"},{"photo_id":"1401350705","filename":"file2"},{"photo_id":"1401350709","filename":"file4"},{"photo_id":"1401350703","filename":"file1"},{"photo_id":"1401350702","filename":"file0"},{"photo_id":"1401350707","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350703":["hashtag1","hashtag2"]},{"1401350712":["hashtag1","hashtag2"]},{"1401350709":["hashtag1","hashtag2"]},{"1401350702":["hashtag1","hashtag2"]},{"1401350705":["hashtag1","hashtag2"]},{"1401350707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350703, 1401350712, 1401350709, 1401350702, 1401350705, 1401350707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33674669265747 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:19:47.238044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_11_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_55_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_45_10622.jpg', '/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_34_9605.jpg', '/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_25_9608.jpg', '/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_15_10632.jpg', '/home/nano/Desktop/images/10122025/00/10/image_10122025_00_11_04_9609.jpg', '/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_55_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_45_10622.jpg
/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_34_9605.jpg
/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_25_9608.jpg
/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_15_10632.jpg
/home/nano/Desktop/images/10122025/00/10/image_10122025_00_11_04_9609.jpg
/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_55_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":["1401350721","1401350724","1401350720","1401350725","1401350719","1401350722"],"photo_ids_order":["1401350719","1401350720","1401350721","1401350722","1401350724","1401350725"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/14e1b8c7481c7e9aa928445b1bdb2faf.jpg","text":"TemporaryFile(/tmp/multipartBody382063902339601910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874048066,"filename":"image_10122025_00_11_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b05d3d79135115ccd84e198447de9f04.jpg","text":"TemporaryFile(/tmp/multipartBody4322687681115297006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874048066,"filename":"image_10122025_00_11_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/12/27/764e874469dd3cd1e855a8ea8f89d0b4.jpg","text":"TemporaryFile(/tmp/multipartBody689092508854234615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874048066,"filename":"image_10122025_00_11_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/12/27/0ac76b8b6da7b51733ad3a5938a093b6.jpg","text":"TemporaryFile(/tmp/multipartBody2595535107004773396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874048066,"filename":"image_10122025_00_10_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc4d46a4b05ecdeb0003d4eae3499a28.jpg","text":"TemporaryFile(/tmp/multipartBody181535627993232631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874048066,"filename":"image_10122025_00_11_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e38650de18eb8e58c61bf98754193a3.jpg","text":"TemporaryFile(/tmp/multipartBody8653100530530046243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874048066,"filename":"image_10122025_00_11_15_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350721","file1":"1401350720","file0":"1401350719","file4":"1401350724","file5":"1401350725","file3":"1401350722"},"map_files_photo_id_array":[{"photo_id":"1401350725","filename":"file5"},{"photo_id":"1401350721","filename":"file2"},{"photo_id":"1401350724","filename":"file4"},{"photo_id":"1401350720","filename":"file1"},{"photo_id":"1401350719","filename":"file0"},{"photo_id":"1401350722","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350721":["hashtag1","hashtag2"]},{"1401350724":["hashtag1","hashtag2"]},{"1401350720":["hashtag1","hashtag2"]},{"1401350725":["hashtag1","hashtag2"]},{"1401350719":["hashtag1","hashtag2"]},{"1401350722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350721, 1401350724, 1401350720, 1401350725, 1401350719, 1401350722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.685473918914795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:20:32.312961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_10_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_44_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_34_9606.jpg', '/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_25_10632.jpg', '/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_14_9624.jpg', '/home/nano/Desktop/images/10122025/00/09/image_10122025_00_10_05_9614.jpg', '/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_55_10620.jpg', '/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_34_9606.jpg
/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_25_10632.jpg
/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_14_9624.jpg
/home/nano/Desktop/images/10122025/00/09/image_10122025_00_10_05_9614.jpg
/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_55_10620.jpg
/home/nano/Desktop/images/10122025/00/09/image_10122025_00_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":["1401350748","1401350736","1401350739","1401350737","1401350749","1401350734"],"photo_ids_order":["1401350734","1401350736","1401350737","1401350739","1401350748","1401350749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/39026dc51ecbd3c70be459465c872a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3942036445817144642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874093122,"filename":"image_10122025_00_09_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bd8b9a84af7df7912aab572a24c8011.jpg","text":"TemporaryFile(/tmp/multipartBody3025672988422708450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874093122,"filename":"image_10122025_00_10_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/108985f6f23b55953445fcc364a66518.jpg","text":"TemporaryFile(/tmp/multipartBody2626009503522060083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874093122,"filename":"image_10122025_00_10_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8a8b8103d6dcafddfbdd51ce11cfbcc7.jpg","text":"TemporaryFile(/tmp/multipartBody4302199705683303849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874093122,"filename":"image_10122025_00_10_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/12/27/9a967ac0dd6d5fa5c1aa6e1e5a47fde7.jpg","text":"TemporaryFile(/tmp/multipartBody8271697082905236730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874093122,"filename":"image_10122025_00_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/12/27/c9387c9a1df05bdde93fa6213d48c5ca.jpg","text":"TemporaryFile(/tmp/multipartBody8824188715444484337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874093122,"filename":"image_10122025_00_10_34_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350737","file1":"1401350736","file0":"1401350734","file4":"1401350748","file5":"1401350749","file3":"1401350739"},"map_files_photo_id_array":[{"photo_id":"1401350749","filename":"file5"},{"photo_id":"1401350737","filename":"file2"},{"photo_id":"1401350748","filename":"file4"},{"photo_id":"1401350736","filename":"file1"},{"photo_id":"1401350734","filename":"file0"},{"photo_id":"1401350739","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350748":["hashtag1","hashtag2"]},{"1401350736":["hashtag1","hashtag2"]},{"1401350739":["hashtag1","hashtag2"]},{"1401350737":["hashtag1","hashtag2"]},{"1401350749":["hashtag1","hashtag2"]},{"1401350734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350748, 1401350736, 1401350739, 1401350737, 1401350749, 1401350734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13042092323303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:21:17.483772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_09_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_45_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_35_10616.jpg', '/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_24_9608.jpg', '/home/nano/Desktop/images/10122025/00/08/image_10122025_00_09_05_10620.jpg', '/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_54_9608.jpg', '/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_45_9612.jpg', '/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_45_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_35_10616.jpg
/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_24_9608.jpg
/home/nano/Desktop/images/10122025/00/08/image_10122025_00_09_05_10620.jpg
/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_54_9608.jpg
/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_45_9612.jpg
/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_45_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":["1401350754","1401350763","1401350765","1401350756","1401350761","1401350758"],"photo_ids_order":["1401350754","1401350756","1401350758","1401350761","1401350763","1401350765"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/795c4bb9459a8979099560f1d1d9ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody2382484789364318607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874138331,"filename":"image_10122025_00_09_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3c6357a95366bb10b18b2c23b3de2317.jpg","text":"TemporaryFile(/tmp/multipartBody6133276980185182968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874138331,"filename":"image_10122025_00_08_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/902feb2b1a0445fd00ca0ea9e035eebb.jpg","text":"TemporaryFile(/tmp/multipartBody6127192644678933972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874138331,"filename":"image_10122025_00_07_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6e834476c6ea08cea99eaa7af1c7ee7c.jpg","text":"TemporaryFile(/tmp/multipartBody5715650502306727804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874138331,"filename":"image_10122025_00_09_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/12/27/f78c24e6acd876731847e79639d22dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7510032579875851853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874138331,"filename":"image_10122025_00_08_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/12/27/def060ddbaf2bc2af80d23032bb61c29.jpg","text":"TemporaryFile(/tmp/multipartBody4389647657268358574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874138331,"filename":"image_10122025_00_09_05_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350758","file1":"1401350756","file0":"1401350754","file4":"1401350763","file5":"1401350765","file3":"1401350761"},"map_files_photo_id_array":[{"photo_id":"1401350765","filename":"file5"},{"photo_id":"1401350758","filename":"file2"},{"photo_id":"1401350763","filename":"file4"},{"photo_id":"1401350756","filename":"file1"},{"photo_id":"1401350754","filename":"file0"},{"photo_id":"1401350761","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350754":["hashtag1","hashtag2"]},{"1401350763":["hashtag1","hashtag2"]},{"1401350765":["hashtag1","hashtag2"]},{"1401350756":["hashtag1","hashtag2"]},{"1401350761":["hashtag1","hashtag2"]},{"1401350758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350754, 1401350763, 1401350765, 1401350756, 1401350761, 1401350758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37544536590576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:22:02.905948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_07_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_25_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_34_9608.jpg', '/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_14_9623.jpg', '/home/nano/Desktop/images/10122025/00/06/image_10122025_00_07_04_9626.jpg', '/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_55_10617.jpg', '/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_44_9610.jpg', '/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_25_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_34_9608.jpg
/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_14_9623.jpg
/home/nano/Desktop/images/10122025/00/06/image_10122025_00_07_04_9626.jpg
/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_55_10617.jpg
/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_44_9610.jpg
/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_25_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":["1401350772","1401350775","1401350769","1401350771","1401350773","1401350770"],"photo_ids_order":["1401350769","1401350770","1401350771","1401350772","1401350773","1401350775"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ddd25151fe3febabdd71427cc16d8024.jpg","text":"TemporaryFile(/tmp/multipartBody310145859205853252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874183782,"filename":"image_10122025_00_06_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ca94179a2f3a0f3afa1890f8614a2a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5405618419423669769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874183782,"filename":"image_10122025_00_06_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/531c1bc480e8d6592be965a6d2e82bbe.jpg","text":"TemporaryFile(/tmp/multipartBody2511915757396812658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874183782,"filename":"image_10122025_00_07_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/12/27/4fad5709902041fa9d2853f150f47760.jpg","text":"TemporaryFile(/tmp/multipartBody7584998541913644710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874183782,"filename":"image_10122025_00_07_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/12/27/7c48184f16110fe679791d5b3fe0aa02.jpg","text":"TemporaryFile(/tmp/multipartBody8858064184339347831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874183782,"filename":"image_10122025_00_06_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/12/27/b10f6565681cec7d1ea88862495e2518.jpg","text":"TemporaryFile(/tmp/multipartBody8450043665384699449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874183782,"filename":"image_10122025_00_07_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350771","file1":"1401350770","file0":"1401350769","file4":"1401350773","file5":"1401350775","file3":"1401350772"},"map_files_photo_id_array":[{"photo_id":"1401350775","filename":"file5"},{"photo_id":"1401350771","filename":"file2"},{"photo_id":"1401350773","filename":"file4"},{"photo_id":"1401350770","filename":"file1"},{"photo_id":"1401350769","filename":"file0"},{"photo_id":"1401350772","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350772":["hashtag1","hashtag2"]},{"1401350775":["hashtag1","hashtag2"]},{"1401350769":["hashtag1","hashtag2"]},{"1401350771":["hashtag1","hashtag2"]},{"1401350773":["hashtag1","hashtag2"]},{"1401350770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350772, 1401350775, 1401350769, 1401350771, 1401350773, 1401350770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2798011302948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:22:47.520053
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_06_05_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_34_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_14_9622.jpg', '/home/nano/Desktop/images/10122025/00/05/image_10122025_00_06_05_10658.jpg', '/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_35_10618.jpg', '/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_15_9618.jpg', '/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_45_10617.jpg', '/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_14_9622.jpg
/home/nano/Desktop/images/10122025/00/05/image_10122025_00_06_05_10658.jpg
/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_35_10618.jpg
/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_15_9618.jpg
/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_45_10617.jpg
/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_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":["1401350789","1401350792","1401350794","1401350797","1401350800","1401350790"],"photo_ids_order":["1401350789","1401350790","1401350792","1401350794","1401350797","1401350800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c97e2da66cac5406b42ca2c9b048ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody7848888059332389995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874228332,"filename":"image_10122025_00_06_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/12/27/4a620b1f411dbc150280e26024cb6e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7723031915106320129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874228332,"filename":"image_10122025_00_05_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7fc3fd5067032fb59ff90dc05e64458a.jpg","text":"TemporaryFile(/tmp/multipartBody2276203943085015869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874228332,"filename":"image_10122025_00_05_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bdd62bd28be5b9750ac9d559d232fa51.jpg","text":"TemporaryFile(/tmp/multipartBody5519130020158777042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874228332,"filename":"image_10122025_00_04_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/413ef844966b52279e5f6296163c2df3.jpg","text":"TemporaryFile(/tmp/multipartBody3583221775514636849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874228332,"filename":"image_10122025_00_04_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/12/27/f9aeb3bf075c28694d88d85fbc6d1a39.jpg","text":"TemporaryFile(/tmp/multipartBody6819692577616195012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874228332,"filename":"image_10122025_00_06_05_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350792","file1":"1401350790","file0":"1401350789","file4":"1401350797","file5":"1401350800","file3":"1401350794"},"map_files_photo_id_array":[{"photo_id":"1401350800","filename":"file5"},{"photo_id":"1401350792","filename":"file2"},{"photo_id":"1401350797","filename":"file4"},{"photo_id":"1401350790","filename":"file1"},{"photo_id":"1401350789","filename":"file0"},{"photo_id":"1401350794","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350789":["hashtag1","hashtag2"]},{"1401350792":["hashtag1","hashtag2"]},{"1401350794":["hashtag1","hashtag2"]},{"1401350797":["hashtag1","hashtag2"]},{"1401350800":["hashtag1","hashtag2"]},{"1401350790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350789, 1401350792, 1401350794, 1401350797, 1401350800, 1401350790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.562424421310425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:23:32.621673
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/23/image_27122025_23_23_14_10544.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/23/image_27122025_23_23_14_10544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/23/image_27122025_23_23_14_10544.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.1280522346496582 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:23:47.652365
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/23/image_27122025_23_23_14_10544.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/23/image_27122025_23_23_14_10544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/23/image_27122025_23_23_14_10544.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401350810"],"photo_id":"1401350810","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c1ca7a2dc9239caf1b96e55587e7ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody4038675801069508587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874287900,"filename":"image_27122025_23_23_14_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401350810"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401350810"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.202580690383911 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:24:03.362951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_35_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_25_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_25_9610.jpg', '/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_15_10633.jpg', '/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_55_10618.jpg', '/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_44_9612.jpg', '/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_35_9612.jpg', '/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_25_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_25_9610.jpg
/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_15_10633.jpg
/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_55_10618.jpg
/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_44_9612.jpg
/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_35_9612.jpg
/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_25_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":["1401350817","1401350813","1401350822","1401350819","1401350812","1401350815"],"photo_ids_order":["1401350812","1401350813","1401350815","1401350817","1401350819","1401350822"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9ddfe6d2bdc7ec5c7ce28953d7fc2f7f.jpg","text":"TemporaryFile(/tmp/multipartBody7052994901992339217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874304254,"filename":"image_10122025_00_03_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/12/27/e4f590b092478e7eed84c9d69107beb8.jpg","text":"TemporaryFile(/tmp/multipartBody5233397391943603198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874304254,"filename":"image_10122025_00_04_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62b3b2477879a17fc40b60d44cde023f.jpg","text":"TemporaryFile(/tmp/multipartBody27350489217645174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874304254,"filename":"image_10122025_00_03_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/416a50894049dda8bf01bf7f537652c3.jpg","text":"TemporaryFile(/tmp/multipartBody1813211136343015502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874304254,"filename":"image_10122025_00_03_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/13a471badc494a2875403dcd8859f6a1.jpg","text":"TemporaryFile(/tmp/multipartBody4367245956049218854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874304254,"filename":"image_10122025_00_04_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0f2c4dd00a7dfa7776c75c387f01c325.jpg","text":"TemporaryFile(/tmp/multipartBody56431002994996259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874304254,"filename":"image_10122025_00_03_55_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350815","file1":"1401350813","file0":"1401350812","file4":"1401350819","file5":"1401350822","file3":"1401350817"},"map_files_photo_id_array":[{"photo_id":"1401350822","filename":"file5"},{"photo_id":"1401350815","filename":"file2"},{"photo_id":"1401350819","filename":"file4"},{"photo_id":"1401350813","filename":"file1"},{"photo_id":"1401350812","filename":"file0"},{"photo_id":"1401350817","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350817":["hashtag1","hashtag2"]},{"1401350813":["hashtag1","hashtag2"]},{"1401350822":["hashtag1","hashtag2"]},{"1401350819":["hashtag1","hashtag2"]},{"1401350812":["hashtag1","hashtag2"]},{"1401350815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350817, 1401350813, 1401350822, 1401350819, 1401350812, 1401350815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76401495933533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:24:47.744050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_03_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_24_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_14_9632.jpg', '/home/nano/Desktop/images/10122025/00/02/image_10122025_00_03_05_9619.jpg', '/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_55_10616.jpg', '/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_44_9608.jpg', '/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_35_10619.jpg', '/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_14_9632.jpg
/home/nano/Desktop/images/10122025/00/02/image_10122025_00_03_05_9619.jpg
/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_55_10616.jpg
/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_44_9608.jpg
/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_35_10619.jpg
/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_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":["1401350835","1401350829","1401350831","1401350828","1401350830","1401350833"],"photo_ids_order":["1401350828","1401350829","1401350830","1401350831","1401350833","1401350835"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5867838d49aa67bab0cb5707f2740f1c.jpg","text":"TemporaryFile(/tmp/multipartBody451344755914920197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874348571,"filename":"image_10122025_00_02_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/12/27/62fdf791f0640546b2ffadeba5e72f83.jpg","text":"TemporaryFile(/tmp/multipartBody3241083684884832822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874348571,"filename":"image_10122025_00_03_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8bc08fcaefb9173947ab07cf04f6e9f3.jpg","text":"TemporaryFile(/tmp/multipartBody6575109113497972329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874348571,"filename":"image_10122025_00_02_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/12/27/a69403f476104c6584175312102cb223.jpg","text":"TemporaryFile(/tmp/multipartBody3499339124596250388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874348571,"filename":"image_10122025_00_03_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/12/27/6730a69b824a330092280ba1f0c74803.jpg","text":"TemporaryFile(/tmp/multipartBody8802686273594725708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874348571,"filename":"image_10122025_00_02_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1fb95810b467021e817f402318d7dfde.jpg","text":"TemporaryFile(/tmp/multipartBody4430342907230977491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874348571,"filename":"image_10122025_00_02_35_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350830","file1":"1401350829","file0":"1401350828","file4":"1401350833","file5":"1401350835","file3":"1401350831"},"map_files_photo_id_array":[{"photo_id":"1401350835","filename":"file5"},{"photo_id":"1401350830","filename":"file2"},{"photo_id":"1401350833","filename":"file4"},{"photo_id":"1401350829","filename":"file1"},{"photo_id":"1401350828","filename":"file0"},{"photo_id":"1401350831","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350835":["hashtag1","hashtag2"]},{"1401350829":["hashtag1","hashtag2"]},{"1401350831":["hashtag1","hashtag2"]},{"1401350828":["hashtag1","hashtag2"]},{"1401350830":["hashtag1","hashtag2"]},{"1401350833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350835, 1401350829, 1401350831, 1401350828, 1401350830, 1401350833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00500249862671 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:25:31.812826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_02_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_15_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_15_9613.jpg', '/home/nano/Desktop/images/10122025/00/01/image_10122025_00_02_05_10630.jpg', '/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_45_10636.jpg', '/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_34_9614.jpg', '/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_24_9608.jpg', '/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_15_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_15_9613.jpg
/home/nano/Desktop/images/10122025/00/01/image_10122025_00_02_05_10630.jpg
/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_45_10636.jpg
/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_34_9614.jpg
/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_24_9608.jpg
/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_15_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":["1401350847","1401350850","1401350844","1401350849","1401350842","1401350845"],"photo_ids_order":["1401350842","1401350844","1401350845","1401350847","1401350849","1401350850"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a3aa0b211a313d90c324f52b87ecac26.jpg","text":"TemporaryFile(/tmp/multipartBody7180636609424533941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874392642,"filename":"image_10122025_00_01_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/12/27/28a0cabdf136f933ac8c286ffd584f04.jpg","text":"TemporaryFile(/tmp/multipartBody7555869281200045261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874392642,"filename":"image_10122025_00_01_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/81fc18423dc466b992a4bda0552e435b.jpg","text":"TemporaryFile(/tmp/multipartBody1372514435666906121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874392642,"filename":"image_10122025_00_02_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/262e21e748009d931dd0fbb87f9262cd.jpg","text":"TemporaryFile(/tmp/multipartBody2791175897881828084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874392642,"filename":"image_10122025_00_01_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/12/27/dd37153281406afca6068e101969cac6.jpg","text":"TemporaryFile(/tmp/multipartBody3591797992931433600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874392642,"filename":"image_10122025_00_02_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/edbc8164078a332d7e2113c59e9921d1.jpg","text":"TemporaryFile(/tmp/multipartBody2598014492751772544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874392642,"filename":"image_10122025_00_01_45_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350845","file1":"1401350844","file0":"1401350842","file4":"1401350849","file5":"1401350850","file3":"1401350847"},"map_files_photo_id_array":[{"photo_id":"1401350850","filename":"file5"},{"photo_id":"1401350845","filename":"file2"},{"photo_id":"1401350849","filename":"file4"},{"photo_id":"1401350844","filename":"file1"},{"photo_id":"1401350842","filename":"file0"},{"photo_id":"1401350847","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350847":["hashtag1","hashtag2"]},{"1401350850":["hashtag1","hashtag2"]},{"1401350844":["hashtag1","hashtag2"]},{"1401350849":["hashtag1","hashtag2"]},{"1401350842":["hashtag1","hashtag2"]},{"1401350845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350847, 1401350850, 1401350844, 1401350849, 1401350842, 1401350845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.653536319732666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:26:16.905807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
  port_id : 29743183
  datou_current_id : 4279599
in upload_from_sqlite, uploading in 29743183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_01_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/23/59/image_10122025_00_00_04_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10122025/00/00/image_10122025_00_01_04_9628.jpg', '/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_55_9609.jpg', '/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_45_10634.jpg', '/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_34_9610.jpg', '/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_25_10635.jpg', '/home/nano/Desktop/images/09122025/23/59/image_10122025_00_00_04_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4279599&datou=0
/home/nano/Desktop/images/10122025/00/00/image_10122025_00_01_04_9628.jpg
/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_55_9609.jpg
/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_45_10634.jpg
/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_34_9610.jpg
/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_25_10635.jpg
/home/nano/Desktop/images/09122025/23/59/image_10122025_00_00_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":["1401350859","1401350864","1401350861","1401350855","1401350863","1401350857"],"photo_ids_order":["1401350855","1401350857","1401350859","1401350861","1401350863","1401350864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/110e74bd9ee34db4371335c5b06e1164.jpg","text":"TemporaryFile(/tmp/multipartBody2503447376706008921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874437707,"filename":"image_10122025_00_00_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8398d75498ff3df66e873ff6c00783d6.jpg","text":"TemporaryFile(/tmp/multipartBody7955019945806601555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874437707,"filename":"image_10122025_00_00_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/12/27/20836cd7fed724cd1fab6d017a87f27f.jpg","text":"TemporaryFile(/tmp/multipartBody5257705438227474614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874437707,"filename":"image_10122025_00_00_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/12/27/ecfc8036c3412806903c2536db25373f.jpg","text":"TemporaryFile(/tmp/multipartBody7484052085251506286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874437707,"filename":"image_10122025_00_01_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/12/27/86c5248916ac870b7f930868dd82582b.jpg","text":"TemporaryFile(/tmp/multipartBody4974438859120127991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874437707,"filename":"image_10122025_00_00_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/800b2689f4aa758beabaf9a03c5d13e2.jpg","text":"TemporaryFile(/tmp/multipartBody8807097143016563305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874437707,"filename":"image_10122025_00_00_55_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350859","file1":"1401350857","file0":"1401350855","file4":"1401350863","file5":"1401350864","file3":"1401350861"},"map_files_photo_id_array":[{"photo_id":"1401350864","filename":"file5"},{"photo_id":"1401350859","filename":"file2"},{"photo_id":"1401350863","filename":"file4"},{"photo_id":"1401350857","filename":"file1"},{"photo_id":"1401350855","filename":"file0"},{"photo_id":"1401350861","filename":"file3"}],"portfolio_id":29743183,"hashtag_by_photo_ids":[{"1401350859":["hashtag1","hashtag2"]},{"1401350864":["hashtag1","hashtag2"]},{"1401350861":["hashtag1","hashtag2"]},{"1401350855":["hashtag1","hashtag2"]},{"1401350863":["hashtag1","hashtag2"]},{"1401350857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29743183 used, photo_id : ArrayBuffer(1401350859, 1401350864, 1401350861, 1401350855, 1401350863, 1401350857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06477737426758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:27:02.682039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_11122025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
4892
4281299
4892
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/59/image_11122025_23_59_34_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/59/image_11122025_23_59_25_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/58/image_11122025_23_59_05_9593.jpg', 2), ('/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_55_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_44_9590.jpg', 2), ('/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_35_10593.jpg', 2)]
{'portfolio_id': 29752156, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1766874483000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/59/image_11122025_23_59_34_9587.jpg', '/home/nano/Desktop/images/11122025/23/59/image_11122025_23_59_25_10597.jpg', '/home/nano/Desktop/images/11122025/23/58/image_11122025_23_59_05_9593.jpg', '/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_55_10596.jpg', '/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_44_9590.jpg', '/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_35_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/59/image_11122025_23_59_34_9587.jpg
/home/nano/Desktop/images/11122025/23/59/image_11122025_23_59_25_10597.jpg
/home/nano/Desktop/images/11122025/23/58/image_11122025_23_59_05_9593.jpg
/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_55_10596.jpg
/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_44_9590.jpg
/home/nano/Desktop/images/11122025/23/58/image_11122025_23_58_35_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":["1401350871","1401350874","1401350877","1401350873","1401350867","1401350869"],"photo_ids_order":["1401350867","1401350869","1401350871","1401350873","1401350874","1401350877"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9f10efe75dc8b5f0b5d9975048221358.jpg","text":"TemporaryFile(/tmp/multipartBody7516011758160640732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874484522,"filename":"image_11122025_23_59_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/730d213294cb62dae9223d8c018ecec0.jpg","text":"TemporaryFile(/tmp/multipartBody7673587278558344192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874484522,"filename":"image_11122025_23_58_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/12/27/fd2b5ef3574c75e22ed3c1fe92a33252.jpg","text":"TemporaryFile(/tmp/multipartBody7098618935148015049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874484522,"filename":"image_11122025_23_58_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/51f5c2b79b324e686267e093fca5e1c6.jpg","text":"TemporaryFile(/tmp/multipartBody6715092933372993281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874484522,"filename":"image_11122025_23_58_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a55a0f9747d97ff689b9b73ff88cf8bf.jpg","text":"TemporaryFile(/tmp/multipartBody3491629536656753392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874484522,"filename":"image_11122025_23_59_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ee8134b0caf435c8fc58d408b6d9882.jpg","text":"TemporaryFile(/tmp/multipartBody5730781296636962833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874484522,"filename":"image_11122025_23_59_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350871","file1":"1401350869","file0":"1401350867","file4":"1401350874","file5":"1401350877","file3":"1401350873"},"map_files_photo_id_array":[{"photo_id":"1401350877","filename":"file5"},{"photo_id":"1401350871","filename":"file2"},{"photo_id":"1401350874","filename":"file4"},{"photo_id":"1401350869","filename":"file1"},{"photo_id":"1401350867","filename":"file0"},{"photo_id":"1401350873","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350871":["hashtag1","hashtag2"]},{"1401350874":["hashtag1","hashtag2"]},{"1401350877":["hashtag1","hashtag2"]},{"1401350873":["hashtag1","hashtag2"]},{"1401350867":["hashtag1","hashtag2"]},{"1401350869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350871, 1401350874, 1401350877, 1401350873, 1401350867, 1401350869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87838315963745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:27:47.019492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_44_9590.jpg', 2), ('/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_35_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_15_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/23/55/image_11122025_23_56_05_10615.jpg', 2), ('/home/nano/Desktop/images/11122025/23/55/image_11122025_23_55_54_9589.jpg', 2), ('/home/nano/Desktop/images/11122025/23/55/image_11122025_23_55_15_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_44_9590.jpg', '/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_35_10596.jpg', '/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_15_9602.jpg', '/home/nano/Desktop/images/11122025/23/55/image_11122025_23_56_05_10615.jpg', '/home/nano/Desktop/images/11122025/23/55/image_11122025_23_55_54_9589.jpg', '/home/nano/Desktop/images/11122025/23/55/image_11122025_23_55_15_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_44_9590.jpg
/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_35_10596.jpg
/home/nano/Desktop/images/11122025/23/56/image_11122025_23_56_15_9602.jpg
/home/nano/Desktop/images/11122025/23/55/image_11122025_23_56_05_10615.jpg
/home/nano/Desktop/images/11122025/23/55/image_11122025_23_55_54_9589.jpg
/home/nano/Desktop/images/11122025/23/55/image_11122025_23_55_15_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":["1401350886","1401350889","1401350888","1401350885","1401350890","1401350887"],"photo_ids_order":["1401350885","1401350886","1401350887","1401350888","1401350889","1401350890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5a941b47ecbc052dedd64e27bc7a7d13.jpg","text":"TemporaryFile(/tmp/multipartBody8555296913086522776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874527856,"filename":"image_11122025_23_56_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09bd016d42847118c50713083bc38224.jpg","text":"TemporaryFile(/tmp/multipartBody6440069432433941435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874527856,"filename":"image_11122025_23_55_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/12/27/9c516d9faf2f56ce5acdbe8b20869871.jpg","text":"TemporaryFile(/tmp/multipartBody6595552316546747106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874527856,"filename":"image_11122025_23_56_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0b4c508e9fa0d1b50178ffa3e6b1675.jpg","text":"TemporaryFile(/tmp/multipartBody3868526017019085566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874527856,"filename":"image_11122025_23_56_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/12/27/97d83c210a601404fcf4d4e42c0f6d12.jpg","text":"TemporaryFile(/tmp/multipartBody4732205338666733096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874527856,"filename":"image_11122025_23_55_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/481a6a75fd8a2693f452586c4315bba3.jpg","text":"TemporaryFile(/tmp/multipartBody6829836577502504622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874527856,"filename":"image_11122025_23_56_15_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350887","file1":"1401350886","file0":"1401350885","file4":"1401350889","file5":"1401350890","file3":"1401350888"},"map_files_photo_id_array":[{"photo_id":"1401350890","filename":"file5"},{"photo_id":"1401350887","filename":"file2"},{"photo_id":"1401350889","filename":"file4"},{"photo_id":"1401350886","filename":"file1"},{"photo_id":"1401350885","filename":"file0"},{"photo_id":"1401350888","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350886":["hashtag1","hashtag2"]},{"1401350889":["hashtag1","hashtag2"]},{"1401350888":["hashtag1","hashtag2"]},{"1401350885":["hashtag1","hashtag2"]},{"1401350890":["hashtag1","hashtag2"]},{"1401350887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350886, 1401350889, 1401350888, 1401350885, 1401350890, 1401350887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88247036933899 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:28:32.139707
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_55_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_35_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_14_9597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/53/image_11122025_23_54_05_10606.jpg', 2), ('/home/nano/Desktop/images/11122025/23/53/image_11122025_23_53_15_10610.jpg', 2), ('/home/nano/Desktop/images/11122025/23/52/image_11122025_23_53_04_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_55_10597.jpg', '/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_35_9585.jpg', '/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_14_9597.jpg', '/home/nano/Desktop/images/11122025/23/53/image_11122025_23_54_05_10606.jpg', '/home/nano/Desktop/images/11122025/23/53/image_11122025_23_53_15_10610.jpg', '/home/nano/Desktop/images/11122025/23/52/image_11122025_23_53_04_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_55_10597.jpg
/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_35_9585.jpg
/home/nano/Desktop/images/11122025/23/54/image_11122025_23_54_14_9597.jpg
/home/nano/Desktop/images/11122025/23/53/image_11122025_23_54_05_10606.jpg
/home/nano/Desktop/images/11122025/23/53/image_11122025_23_53_15_10610.jpg
/home/nano/Desktop/images/11122025/23/52/image_11122025_23_53_04_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":["1401350901","1401350910","1401350899","1401350896","1401350905","1401350908"],"photo_ids_order":["1401350896","1401350899","1401350901","1401350905","1401350908","1401350910"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6c1cdadb3b0fdba68c43241119fe1577.jpg","text":"TemporaryFile(/tmp/multipartBody2356856734211551520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874572962,"filename":"image_11122025_23_54_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0b999b10e5a41f207f9cf93e197e9a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2108442183478465263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874572962,"filename":"image_11122025_23_53_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/12/27/3ff238ee231530d49a5ce8712ca9f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody3840456366679126732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874572962,"filename":"image_11122025_23_54_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c8ba49a22dfd3374b0ee7b4a934dae28.jpg","text":"TemporaryFile(/tmp/multipartBody8176712696010251157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874572962,"filename":"image_11122025_23_54_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d11747f7be52f454228d89eae184357f.jpg","text":"TemporaryFile(/tmp/multipartBody4065066384620317005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874572962,"filename":"image_11122025_23_54_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d370a00362f81d07e6f10abbbc4ff32a.jpg","text":"TemporaryFile(/tmp/multipartBody6115412360031205270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874572962,"filename":"image_11122025_23_53_15_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350901","file1":"1401350899","file0":"1401350896","file4":"1401350908","file5":"1401350910","file3":"1401350905"},"map_files_photo_id_array":[{"photo_id":"1401350910","filename":"file5"},{"photo_id":"1401350901","filename":"file2"},{"photo_id":"1401350908","filename":"file4"},{"photo_id":"1401350899","filename":"file1"},{"photo_id":"1401350896","filename":"file0"},{"photo_id":"1401350905","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350901":["hashtag1","hashtag2"]},{"1401350910":["hashtag1","hashtag2"]},{"1401350899":["hashtag1","hashtag2"]},{"1401350896":["hashtag1","hashtag2"]},{"1401350905":["hashtag1","hashtag2"]},{"1401350908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350901, 1401350910, 1401350899, 1401350896, 1401350905, 1401350908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63307523727417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:29:17.289918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_45_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_34_9603.jpg', 2), ('/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_14_9624.jpg', 2), ('/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_55_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_35_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_24_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_45_10594.jpg', '/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_34_9603.jpg', '/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_14_9624.jpg', '/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_55_10596.jpg', '/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_35_10594.jpg', '/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_24_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_45_10594.jpg
/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_34_9603.jpg
/home/nano/Desktop/images/11122025/23/52/image_11122025_23_52_14_9624.jpg
/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_55_10596.jpg
/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_35_10594.jpg
/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_24_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401350925","1401350927","1401350918","1401350923","1401350917","1401350920"],"photo_ids_order":["1401350917","1401350918","1401350920","1401350923","1401350925","1401350927"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/749dba72660336340be1fead51787e07.jpg","text":"TemporaryFile(/tmp/multipartBody3865259178873575718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874618150,"filename":"image_11122025_23_51_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b3e0c41a71630fc5783497708df06381.jpg","text":"TemporaryFile(/tmp/multipartBody8782276715415684330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874618150,"filename":"image_11122025_23_51_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de371df6a615867f046c1db776d0f7c8.jpg","text":"TemporaryFile(/tmp/multipartBody6847310098404069333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874618150,"filename":"image_11122025_23_52_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/12/27/eed9e4678018d4fefcedcabe62b0bfee.jpg","text":"TemporaryFile(/tmp/multipartBody8593885140897857518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874618150,"filename":"image_11122025_23_51_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c543089b140bb5887273f52e7ce45103.jpg","text":"TemporaryFile(/tmp/multipartBody377809876580099778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874618150,"filename":"image_11122025_23_52_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e96840eeda6bd9d4253e3dfeb50e162e.jpg","text":"TemporaryFile(/tmp/multipartBody7851643745249446747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874618150,"filename":"image_11122025_23_52_14_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350920","file1":"1401350918","file0":"1401350917","file4":"1401350925","file5":"1401350927","file3":"1401350923"},"map_files_photo_id_array":[{"photo_id":"1401350927","filename":"file5"},{"photo_id":"1401350920","filename":"file2"},{"photo_id":"1401350925","filename":"file4"},{"photo_id":"1401350918","filename":"file1"},{"photo_id":"1401350917","filename":"file0"},{"photo_id":"1401350923","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350925":["hashtag1","hashtag2"]},{"1401350927":["hashtag1","hashtag2"]},{"1401350918":["hashtag1","hashtag2"]},{"1401350923":["hashtag1","hashtag2"]},{"1401350917":["hashtag1","hashtag2"]},{"1401350920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350925, 1401350927, 1401350918, 1401350923, 1401350917, 1401350920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05536699295044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:30:02.838315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_15_9597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/50/image_11122025_23_51_05_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/50/image_11122025_23_50_34_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/50/image_11122025_23_50_25_9583.jpg', 2), ('/home/nano/Desktop/images/11122025/23/49/image_11122025_23_49_35_9601.jpg', 2), ('/home/nano/Desktop/images/11122025/23/49/image_11122025_23_49_14_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_15_9597.jpg', '/home/nano/Desktop/images/11122025/23/50/image_11122025_23_51_05_10597.jpg', '/home/nano/Desktop/images/11122025/23/50/image_11122025_23_50_34_9585.jpg', '/home/nano/Desktop/images/11122025/23/50/image_11122025_23_50_25_9583.jpg', '/home/nano/Desktop/images/11122025/23/49/image_11122025_23_49_35_9601.jpg', '/home/nano/Desktop/images/11122025/23/49/image_11122025_23_49_14_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/51/image_11122025_23_51_15_9597.jpg
/home/nano/Desktop/images/11122025/23/50/image_11122025_23_51_05_10597.jpg
/home/nano/Desktop/images/11122025/23/50/image_11122025_23_50_34_9585.jpg
/home/nano/Desktop/images/11122025/23/50/image_11122025_23_50_25_9583.jpg
/home/nano/Desktop/images/11122025/23/49/image_11122025_23_49_35_9601.jpg
/home/nano/Desktop/images/11122025/23/49/image_11122025_23_49_14_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":["1401350940","1401350934","1401350942","1401350933","1401350936","1401350938"],"photo_ids_order":["1401350933","1401350934","1401350936","1401350938","1401350940","1401350942"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bbfc043c27b29ea8715867dff76d1157.jpg","text":"TemporaryFile(/tmp/multipartBody827269002348211388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874663834,"filename":"image_11122025_23_49_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9bb466d50cde36d8c38ef1753898b435.jpg","text":"TemporaryFile(/tmp/multipartBody5569380207592842155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874663834,"filename":"image_11122025_23_51_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0459822d96e544d678e1a750a9cdd4f5.jpg","text":"TemporaryFile(/tmp/multipartBody6548713134057891957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874663834,"filename":"image_11122025_23_49_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/22eb48d5da30628406f9ed26eccf80f9.jpg","text":"TemporaryFile(/tmp/multipartBody468331881351740098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874663834,"filename":"image_11122025_23_51_15_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4378d2a4121c39a0ccb9c5b0020cd13c.jpg","text":"TemporaryFile(/tmp/multipartBody6306622093076743111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874663834,"filename":"image_11122025_23_50_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/12/27/0109cce9adde1723e02f3b6057973a15.jpg","text":"TemporaryFile(/tmp/multipartBody335863485503183332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874663834,"filename":"image_11122025_23_50_25_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350936","file1":"1401350934","file0":"1401350933","file4":"1401350940","file5":"1401350942","file3":"1401350938"},"map_files_photo_id_array":[{"photo_id":"1401350942","filename":"file5"},{"photo_id":"1401350936","filename":"file2"},{"photo_id":"1401350940","filename":"file4"},{"photo_id":"1401350934","filename":"file1"},{"photo_id":"1401350933","filename":"file0"},{"photo_id":"1401350938","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350940":["hashtag1","hashtag2"]},{"1401350934":["hashtag1","hashtag2"]},{"1401350942":["hashtag1","hashtag2"]},{"1401350933":["hashtag1","hashtag2"]},{"1401350936":["hashtag1","hashtag2"]},{"1401350938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350940, 1401350934, 1401350942, 1401350933, 1401350936, 1401350938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25680708885193 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:30:47.348417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/48/image_11122025_23_49_05_10605.jpg', 2), ('/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_54_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_35_10598.jpg', 2), ('/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_24_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/23/47/image_11122025_23_48_04_9596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_55_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/48/image_11122025_23_49_05_10605.jpg', '/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_54_9585.jpg', '/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_35_10598.jpg', '/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_24_9584.jpg', '/home/nano/Desktop/images/11122025/23/47/image_11122025_23_48_04_9596.jpg', '/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_55_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/48/image_11122025_23_49_05_10605.jpg
/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_54_9585.jpg
/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_35_10598.jpg
/home/nano/Desktop/images/11122025/23/48/image_11122025_23_48_24_9584.jpg
/home/nano/Desktop/images/11122025/23/47/image_11122025_23_48_04_9596.jpg
/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_55_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401350949","1401350951","1401350948","1401350953","1401350956","1401350950"],"photo_ids_order":["1401350948","1401350949","1401350950","1401350951","1401350953","1401350956"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/969adaa7a756969949a72dbcdabb7648.jpg","text":"TemporaryFile(/tmp/multipartBody1031626370990071937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874708187,"filename":"image_11122025_23_48_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4d5a88e3c51797b77648c5b1ab86c7b5.jpg","text":"TemporaryFile(/tmp/multipartBody5818641950955102002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874708187,"filename":"image_11122025_23_48_24_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/172d01406073d9b248700663c028325c.jpg","text":"TemporaryFile(/tmp/multipartBody3160673404511018418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874708187,"filename":"image_11122025_23_49_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/53ccf3db833a6216b2397acb2a6be492.jpg","text":"TemporaryFile(/tmp/multipartBody5440762491562108366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874708187,"filename":"image_11122025_23_48_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3897ccf0e7607055d1ff5075caed6417.jpg","text":"TemporaryFile(/tmp/multipartBody8556216796766947427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874708187,"filename":"image_11122025_23_47_55_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/84d93eca096053456f586beba624eb7b.jpg","text":"TemporaryFile(/tmp/multipartBody4275042726796739487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874708187,"filename":"image_11122025_23_48_35_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350950","file1":"1401350949","file0":"1401350948","file4":"1401350953","file5":"1401350956","file3":"1401350951"},"map_files_photo_id_array":[{"photo_id":"1401350956","filename":"file5"},{"photo_id":"1401350950","filename":"file2"},{"photo_id":"1401350953","filename":"file4"},{"photo_id":"1401350949","filename":"file1"},{"photo_id":"1401350948","filename":"file0"},{"photo_id":"1401350951","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350949":["hashtag1","hashtag2"]},{"1401350951":["hashtag1","hashtag2"]},{"1401350948":["hashtag1","hashtag2"]},{"1401350953":["hashtag1","hashtag2"]},{"1401350956":["hashtag1","hashtag2"]},{"1401350950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350949, 1401350951, 1401350948, 1401350953, 1401350956, 1401350950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73415446281433 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:31:32.441438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_45_10599.jpg', 2), ('/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_34_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_14_9600.jpg', 2), ('/home/nano/Desktop/images/11122025/23/46/image_11122025_23_47_05_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/23/46/image_11122025_23_46_35_10593.jpg', 2), ('/home/nano/Desktop/images/11122025/23/46/image_11122025_23_46_24_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_45_10599.jpg', '/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_34_9584.jpg', '/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_14_9600.jpg', '/home/nano/Desktop/images/11122025/23/46/image_11122025_23_47_05_9602.jpg', '/home/nano/Desktop/images/11122025/23/46/image_11122025_23_46_35_10593.jpg', '/home/nano/Desktop/images/11122025/23/46/image_11122025_23_46_24_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_45_10599.jpg
/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_34_9584.jpg
/home/nano/Desktop/images/11122025/23/47/image_11122025_23_47_14_9600.jpg
/home/nano/Desktop/images/11122025/23/46/image_11122025_23_47_05_9602.jpg
/home/nano/Desktop/images/11122025/23/46/image_11122025_23_46_35_10593.jpg
/home/nano/Desktop/images/11122025/23/46/image_11122025_23_46_24_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":["1401350967","1401350969","1401350963","1401350972","1401350971","1401350965"],"photo_ids_order":["1401350963","1401350965","1401350967","1401350969","1401350971","1401350972"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e7113516b6478f89e230bd6808272ec9.jpg","text":"TemporaryFile(/tmp/multipartBody7957249199191396998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874753261,"filename":"image_11122025_23_47_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9c2174f911ce757675ce33c5ea3383f1.jpg","text":"TemporaryFile(/tmp/multipartBody3257062976039987511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874753261,"filename":"image_11122025_23_47_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a469c50d9a9b08fe4c5c4ffbf58f6282.jpg","text":"TemporaryFile(/tmp/multipartBody5234080982431100012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874753261,"filename":"image_11122025_23_47_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/db927395d34fbef4a5d73991962ab279.jpg","text":"TemporaryFile(/tmp/multipartBody4736377012006407801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874753261,"filename":"image_11122025_23_46_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/12/27/a3c497ad35eb12c69c0435dcc291521f.jpg","text":"TemporaryFile(/tmp/multipartBody1118932986507288384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874753261,"filename":"image_11122025_23_46_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c71ef5e5c31a81c20c1231e421f87149.jpg","text":"TemporaryFile(/tmp/multipartBody3967736932305476761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874753261,"filename":"image_11122025_23_47_34_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350967","file1":"1401350965","file0":"1401350963","file4":"1401350971","file5":"1401350972","file3":"1401350969"},"map_files_photo_id_array":[{"photo_id":"1401350972","filename":"file5"},{"photo_id":"1401350967","filename":"file2"},{"photo_id":"1401350971","filename":"file4"},{"photo_id":"1401350965","filename":"file1"},{"photo_id":"1401350963","filename":"file0"},{"photo_id":"1401350969","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350967":["hashtag1","hashtag2"]},{"1401350969":["hashtag1","hashtag2"]},{"1401350963":["hashtag1","hashtag2"]},{"1401350972":["hashtag1","hashtag2"]},{"1401350971":["hashtag1","hashtag2"]},{"1401350965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350967, 1401350969, 1401350963, 1401350972, 1401350971, 1401350965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.383382081985474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:32:17.553002
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/32/image_27122025_23_32_24_9525.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/32/image_27122025_23_32_24_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/32/image_27122025_23_32_24_9525.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401350976"],"photo_id":"1401350976","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/05b652278c47dd89f8a55b9db573e5b9.jpg","text":"TemporaryFile(/tmp/multipartBody4480502633551602272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874797804,"filename":"image_27122025_23_32_24_9525.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401350976"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401350976"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.3755624294281 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:32:32.572932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/45/image_11122025_23_46_05_10619.jpg', 2), ('/home/nano/Desktop/images/11122025/23/45/image_11122025_23_45_54_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/44/image_11122025_23_45_04_9594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/44/image_11122025_23_44_35_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/23/44/image_11122025_23_44_25_10599.jpg', 2), ('/home/nano/Desktop/images/11122025/23/43/image_11122025_23_44_05_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/45/image_11122025_23_46_05_10619.jpg', '/home/nano/Desktop/images/11122025/23/45/image_11122025_23_45_54_9585.jpg', '/home/nano/Desktop/images/11122025/23/44/image_11122025_23_45_04_9594.jpg', '/home/nano/Desktop/images/11122025/23/44/image_11122025_23_44_35_9586.jpg', '/home/nano/Desktop/images/11122025/23/44/image_11122025_23_44_25_10599.jpg', '/home/nano/Desktop/images/11122025/23/43/image_11122025_23_44_05_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/45/image_11122025_23_46_05_10619.jpg
/home/nano/Desktop/images/11122025/23/45/image_11122025_23_45_54_9585.jpg
/home/nano/Desktop/images/11122025/23/44/image_11122025_23_45_04_9594.jpg
/home/nano/Desktop/images/11122025/23/44/image_11122025_23_44_35_9586.jpg
/home/nano/Desktop/images/11122025/23/44/image_11122025_23_44_25_10599.jpg
/home/nano/Desktop/images/11122025/23/43/image_11122025_23_44_05_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":["1401350991","1401350988","1401350993","1401350986","1401350983","1401350994"],"photo_ids_order":["1401350983","1401350986","1401350988","1401350991","1401350993","1401350994"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2de35de91aa18fa7a29ef80e510635d3.jpg","text":"TemporaryFile(/tmp/multipartBody3126902495388484418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874813433,"filename":"image_11122025_23_44_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d8fff58f3df7fa7a992001699330e537.jpg","text":"TemporaryFile(/tmp/multipartBody2596588361980809644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874813433,"filename":"image_11122025_23_45_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/12/27/0cf50edc30b4783f4ade652f3b1c0837.jpg","text":"TemporaryFile(/tmp/multipartBody7432518546044557156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874813433,"filename":"image_11122025_23_44_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b72128eb21f90daebdff17fc8ce95ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2064990553658981677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874813433,"filename":"image_11122025_23_45_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a420521173af1375b38227cdd2e4bfca.jpg","text":"TemporaryFile(/tmp/multipartBody3020841927671992217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874813433,"filename":"image_11122025_23_46_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/83fd4d4b66925e922896fbde6a198ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6403965048075461884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874813433,"filename":"image_11122025_23_44_05_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401350988","file1":"1401350986","file0":"1401350983","file4":"1401350993","file5":"1401350994","file3":"1401350991"},"map_files_photo_id_array":[{"photo_id":"1401350994","filename":"file5"},{"photo_id":"1401350988","filename":"file2"},{"photo_id":"1401350993","filename":"file4"},{"photo_id":"1401350986","filename":"file1"},{"photo_id":"1401350983","filename":"file0"},{"photo_id":"1401350991","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401350991":["hashtag1","hashtag2"]},{"1401350988":["hashtag1","hashtag2"]},{"1401350993":["hashtag1","hashtag2"]},{"1401350986":["hashtag1","hashtag2"]},{"1401350983":["hashtag1","hashtag2"]},{"1401350994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401350991, 1401350988, 1401350993, 1401350986, 1401350983, 1401350994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42405366897583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:33:17.687620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_45_9589.jpg', 2), ('/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_35_10595.jpg', 2), ('/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_15_10611.jpg', 2), ('/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_55_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_45_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_25_10595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_45_9589.jpg', '/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_35_10595.jpg', '/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_15_10611.jpg', '/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_55_9585.jpg', '/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_45_10596.jpg', '/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_25_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_45_9589.jpg
/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_35_10595.jpg
/home/nano/Desktop/images/11122025/23/43/image_11122025_23_43_15_10611.jpg
/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_55_9585.jpg
/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_45_10596.jpg
/home/nano/Desktop/images/11122025/23/42/image_11122025_23_42_25_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351000","1401351006","1401350999","1401351008","1401351002","1401351004"],"photo_ids_order":["1401350999","1401351000","1401351002","1401351004","1401351006","1401351008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a9ea9d62cd9e2c4db93ba19cad7c8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4760484376149573459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874858537,"filename":"image_11122025_23_43_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/43e325ac0b8761e7a43ba09e92571427.jpg","text":"TemporaryFile(/tmp/multipartBody6105074595103789583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874858537,"filename":"image_11122025_23_42_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3846e175d72448a4f10fad6e3136d07a.jpg","text":"TemporaryFile(/tmp/multipartBody2560789335642247761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874858537,"filename":"image_11122025_23_43_45_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aef7c7857ed32bd7c2356df10594279c.jpg","text":"TemporaryFile(/tmp/multipartBody7556771435813719202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874858537,"filename":"image_11122025_23_42_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e204d583440233951cec3bc2b2871926.jpg","text":"TemporaryFile(/tmp/multipartBody1062046627462176904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874858537,"filename":"image_11122025_23_43_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/021ba5bb09cd17f608f361f17cbd7c78.jpg","text":"TemporaryFile(/tmp/multipartBody410215912885047708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874858537,"filename":"image_11122025_23_42_55_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351002","file1":"1401351000","file0":"1401350999","file4":"1401351006","file5":"1401351008","file3":"1401351004"},"map_files_photo_id_array":[{"photo_id":"1401351008","filename":"file5"},{"photo_id":"1401351002","filename":"file2"},{"photo_id":"1401351006","filename":"file4"},{"photo_id":"1401351000","filename":"file1"},{"photo_id":"1401350999","filename":"file0"},{"photo_id":"1401351004","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351000":["hashtag1","hashtag2"]},{"1401351006":["hashtag1","hashtag2"]},{"1401350999":["hashtag1","hashtag2"]},{"1401351008":["hashtag1","hashtag2"]},{"1401351002":["hashtag1","hashtag2"]},{"1401351004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351000, 1401351006, 1401350999, 1401351008, 1401351002, 1401351004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.629804849624634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:34:03.821681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_35_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_24_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_41_05_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_34_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_25_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_14_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_35_10596.jpg', '/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_24_9587.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_41_05_10597.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_34_9585.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_25_10596.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_14_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_35_10596.jpg
/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_24_9587.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_41_05_10597.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_34_9585.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_25_10596.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_14_9606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8037893772125244 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:34:17.815406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_35_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_24_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_41_05_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_34_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_25_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_14_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_35_10596.jpg', '/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_24_9587.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_41_05_10597.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_34_9585.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_25_10596.jpg', '/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_14_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_35_10596.jpg
/home/nano/Desktop/images/11122025/23/41/image_11122025_23_41_24_9587.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_41_05_10597.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_34_9585.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_25_10596.jpg
/home/nano/Desktop/images/11122025/23/40/image_11122025_23_40_14_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":["1401351027","1401351021","1401351023","1401351029","1401351025","1401351019"],"photo_ids_order":["1401351019","1401351021","1401351023","1401351025","1401351027","1401351029"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f79f3405fc5a60a3a1fa741961efd87e.jpg","text":"TemporaryFile(/tmp/multipartBody7465032196738776415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874918629,"filename":"image_11122025_23_40_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cde7b51bdb3ff3bda2cd5e7114cdf794.jpg","text":"TemporaryFile(/tmp/multipartBody6724631744080611357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874918629,"filename":"image_11122025_23_41_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4a8fd7939acca4ff8113d54262803153.jpg","text":"TemporaryFile(/tmp/multipartBody7098909581911488560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874918629,"filename":"image_11122025_23_41_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/56c34a684e1a15dd6d422d49c714774c.jpg","text":"TemporaryFile(/tmp/multipartBody3138838536536230109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874918629,"filename":"image_11122025_23_40_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3f56bfad4f9ac2fa808dab26a04cc143.jpg","text":"TemporaryFile(/tmp/multipartBody4268658510560859621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874918629,"filename":"image_11122025_23_40_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/12/27/db5962a3cb82378aa096d328cfde3e12.jpg","text":"TemporaryFile(/tmp/multipartBody5387336599807517277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874918629,"filename":"image_11122025_23_41_35_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351023","file1":"1401351021","file0":"1401351019","file4":"1401351027","file5":"1401351029","file3":"1401351025"},"map_files_photo_id_array":[{"photo_id":"1401351029","filename":"file5"},{"photo_id":"1401351023","filename":"file2"},{"photo_id":"1401351027","filename":"file4"},{"photo_id":"1401351021","filename":"file1"},{"photo_id":"1401351019","filename":"file0"},{"photo_id":"1401351025","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351027":["hashtag1","hashtag2"]},{"1401351021":["hashtag1","hashtag2"]},{"1401351023":["hashtag1","hashtag2"]},{"1401351029":["hashtag1","hashtag2"]},{"1401351025":["hashtag1","hashtag2"]},{"1401351019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351027, 1401351021, 1401351023, 1401351029, 1401351025, 1401351019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78341364860535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:35:02.608189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/39/image_11122025_23_39_15_9594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/38/image_11122025_23_38_34_9592.jpg', 2), ('/home/nano/Desktop/images/11122025/23/37/image_11122025_23_37_55_10599.jpg', 2), ('/home/nano/Desktop/images/11122025/23/37/image_11122025_23_37_44_9588.jpg', 2), ('/home/nano/Desktop/images/11122025/23/36/image_11122025_23_36_15_10619.jpg', 2), ('/home/nano/Desktop/images/11122025/23/35/image_11122025_23_35_45_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/39/image_11122025_23_39_15_9594.jpg', '/home/nano/Desktop/images/11122025/23/38/image_11122025_23_38_34_9592.jpg', '/home/nano/Desktop/images/11122025/23/37/image_11122025_23_37_55_10599.jpg', '/home/nano/Desktop/images/11122025/23/37/image_11122025_23_37_44_9588.jpg', '/home/nano/Desktop/images/11122025/23/36/image_11122025_23_36_15_10619.jpg', '/home/nano/Desktop/images/11122025/23/35/image_11122025_23_35_45_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/39/image_11122025_23_39_15_9594.jpg
/home/nano/Desktop/images/11122025/23/38/image_11122025_23_38_34_9592.jpg
/home/nano/Desktop/images/11122025/23/37/image_11122025_23_37_55_10599.jpg
/home/nano/Desktop/images/11122025/23/37/image_11122025_23_37_44_9588.jpg
/home/nano/Desktop/images/11122025/23/36/image_11122025_23_36_15_10619.jpg
/home/nano/Desktop/images/11122025/23/35/image_11122025_23_35_45_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":["1401351033","1401351039","1401351041","1401351044","1401351035","1401351037"],"photo_ids_order":["1401351033","1401351035","1401351037","1401351039","1401351041","1401351044"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b624eea240eee6e22a216c14ac2ab06a.jpg","text":"TemporaryFile(/tmp/multipartBody6215893364433432664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874963512,"filename":"image_11122025_23_39_15_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c0690c8abde210045479bc39826a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody3662648425477745358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874963512,"filename":"image_11122025_23_37_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/12/27/cbba47cb6d595228d6ac1245896043e0.jpg","text":"TemporaryFile(/tmp/multipartBody7624077569181020555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874963512,"filename":"image_11122025_23_36_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2c5f845cdcd3dadb0256abd8f919159f.jpg","text":"TemporaryFile(/tmp/multipartBody2746720809982812129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874963512,"filename":"image_11122025_23_35_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/534ef0b64a6e14434d155786d172f3df.jpg","text":"TemporaryFile(/tmp/multipartBody5720027433693046549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874963512,"filename":"image_11122025_23_38_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f643fc85b90ffc18bce2fbb65292dcfc.jpg","text":"TemporaryFile(/tmp/multipartBody2030691896755098453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766874963512,"filename":"image_11122025_23_37_55_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351037","file1":"1401351035","file0":"1401351033","file4":"1401351041","file5":"1401351044","file3":"1401351039"},"map_files_photo_id_array":[{"photo_id":"1401351044","filename":"file5"},{"photo_id":"1401351037","filename":"file2"},{"photo_id":"1401351041","filename":"file4"},{"photo_id":"1401351035","filename":"file1"},{"photo_id":"1401351033","filename":"file0"},{"photo_id":"1401351039","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351033":["hashtag1","hashtag2"]},{"1401351039":["hashtag1","hashtag2"]},{"1401351041":["hashtag1","hashtag2"]},{"1401351044":["hashtag1","hashtag2"]},{"1401351035":["hashtag1","hashtag2"]},{"1401351037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351033, 1401351039, 1401351041, 1401351044, 1401351035, 1401351037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93438529968262 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:35:46.941160
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/35/image_11122025_23_35_14_9603.jpg', 2), ('/home/nano/Desktop/images/11122025/23/34/image_11122025_23_34_24_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/34/image_11122025_23_34_15_9619.jpg', 2), ('/home/nano/Desktop/images/11122025/23/33/image_11122025_23_34_05_10612.jpg', 2), ('/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_45_9591.jpg', 2), ('/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_24_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/35/image_11122025_23_35_14_9603.jpg', '/home/nano/Desktop/images/11122025/23/34/image_11122025_23_34_24_9585.jpg', '/home/nano/Desktop/images/11122025/23/34/image_11122025_23_34_15_9619.jpg', '/home/nano/Desktop/images/11122025/23/33/image_11122025_23_34_05_10612.jpg', '/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_45_9591.jpg', '/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_24_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/35/image_11122025_23_35_14_9603.jpg
/home/nano/Desktop/images/11122025/23/34/image_11122025_23_34_24_9585.jpg
/home/nano/Desktop/images/11122025/23/34/image_11122025_23_34_15_9619.jpg
/home/nano/Desktop/images/11122025/23/33/image_11122025_23_34_05_10612.jpg
/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_45_9591.jpg
/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_24_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351048","1401351050","1401351053","1401351055","1401351049","1401351051"],"photo_ids_order":["1401351048","1401351049","1401351050","1401351051","1401351053","1401351055"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ab055f9146263ab093ab0a59e0ed7ae.jpg","text":"TemporaryFile(/tmp/multipartBody7752743234975038054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875007795,"filename":"image_11122025_23_35_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cf5343c3f94fe0893b4ffe3e59a9fed4.jpg","text":"TemporaryFile(/tmp/multipartBody4531122120552953942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875007795,"filename":"image_11122025_23_34_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/28fb1d20506fe3644b742cd4303b82b5.jpg","text":"TemporaryFile(/tmp/multipartBody2419946679090382440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875007795,"filename":"image_11122025_23_33_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f88b3ef2d5f359cef1e9a4aec9bfb6e1.jpg","text":"TemporaryFile(/tmp/multipartBody2613622618771064005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875007795,"filename":"image_11122025_23_33_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cb5944aaf31a8ea3af96803655a9a7db.jpg","text":"TemporaryFile(/tmp/multipartBody6440941982024661913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875007795,"filename":"image_11122025_23_34_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fbdbf319830e6b4d41115ed5698630d4.jpg","text":"TemporaryFile(/tmp/multipartBody2362707999174645115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875007795,"filename":"image_11122025_23_34_05_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351050","file1":"1401351049","file0":"1401351048","file4":"1401351053","file5":"1401351055","file3":"1401351051"},"map_files_photo_id_array":[{"photo_id":"1401351055","filename":"file5"},{"photo_id":"1401351050","filename":"file2"},{"photo_id":"1401351053","filename":"file4"},{"photo_id":"1401351049","filename":"file1"},{"photo_id":"1401351048","filename":"file0"},{"photo_id":"1401351051","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351048":["hashtag1","hashtag2"]},{"1401351050":["hashtag1","hashtag2"]},{"1401351053":["hashtag1","hashtag2"]},{"1401351055":["hashtag1","hashtag2"]},{"1401351049":["hashtag1","hashtag2"]},{"1401351051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351048, 1401351050, 1401351053, 1401351055, 1401351049, 1401351051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89715337753296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:36:32.034511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_15_10620.jpg', 2), ('/home/nano/Desktop/images/11122025/23/32/image_11122025_23_33_04_9609.jpg', 2), ('/home/nano/Desktop/images/11122025/23/32/image_11122025_23_32_25_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/32/image_11122025_23_32_14_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/23/31/image_11122025_23_32_05_10609.jpg', 2), ('/home/nano/Desktop/images/11122025/23/31/image_11122025_23_31_54_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_15_10620.jpg', '/home/nano/Desktop/images/11122025/23/32/image_11122025_23_33_04_9609.jpg', '/home/nano/Desktop/images/11122025/23/32/image_11122025_23_32_25_10596.jpg', '/home/nano/Desktop/images/11122025/23/32/image_11122025_23_32_14_9602.jpg', '/home/nano/Desktop/images/11122025/23/31/image_11122025_23_32_05_10609.jpg', '/home/nano/Desktop/images/11122025/23/31/image_11122025_23_31_54_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/33/image_11122025_23_33_15_10620.jpg
/home/nano/Desktop/images/11122025/23/32/image_11122025_23_33_04_9609.jpg
/home/nano/Desktop/images/11122025/23/32/image_11122025_23_32_25_10596.jpg
/home/nano/Desktop/images/11122025/23/32/image_11122025_23_32_14_9602.jpg
/home/nano/Desktop/images/11122025/23/31/image_11122025_23_32_05_10609.jpg
/home/nano/Desktop/images/11122025/23/31/image_11122025_23_31_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":["1401351068","1401351071","1401351065","1401351070","1401351067","1401351063"],"photo_ids_order":["1401351063","1401351065","1401351067","1401351068","1401351070","1401351071"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/29a85b0d429f2dae786816377691c7ea.jpg","text":"TemporaryFile(/tmp/multipartBody8779657133398441288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875052882,"filename":"image_11122025_23_32_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b6969b5954f212aa1a3a4152e9b2736.jpg","text":"TemporaryFile(/tmp/multipartBody8029409645644008284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875052882,"filename":"image_11122025_23_31_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/12/27/f99da5cfab4a51de7442f961e6a3aa8b.jpg","text":"TemporaryFile(/tmp/multipartBody2842746024640372417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875052882,"filename":"image_11122025_23_33_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/12/27/238e0f91f5db28d67759d9c9fc09b4ff.jpg","text":"TemporaryFile(/tmp/multipartBody3608281931163752531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875052882,"filename":"image_11122025_23_32_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ef9a0b72bb5926b72c225d02983fc689.jpg","text":"TemporaryFile(/tmp/multipartBody2139782016881836262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875052882,"filename":"image_11122025_23_32_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b53c5fa2afa5fe95fbc1d82540552a6d.jpg","text":"TemporaryFile(/tmp/multipartBody96476701577799996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875052882,"filename":"image_11122025_23_33_15_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351067","file1":"1401351065","file0":"1401351063","file4":"1401351070","file5":"1401351071","file3":"1401351068"},"map_files_photo_id_array":[{"photo_id":"1401351071","filename":"file5"},{"photo_id":"1401351067","filename":"file2"},{"photo_id":"1401351070","filename":"file4"},{"photo_id":"1401351065","filename":"file1"},{"photo_id":"1401351063","filename":"file0"},{"photo_id":"1401351068","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351068":["hashtag1","hashtag2"]},{"1401351071":["hashtag1","hashtag2"]},{"1401351065":["hashtag1","hashtag2"]},{"1401351070":["hashtag1","hashtag2"]},{"1401351067":["hashtag1","hashtag2"]},{"1401351063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351068, 1401351071, 1401351065, 1401351070, 1401351067, 1401351063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.558842420578 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:37:17.098726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/31/image_11122025_23_31_44_9589.jpg', 2), ('/home/nano/Desktop/images/11122025/23/30/image_11122025_23_31_04_9599.jpg', 2), ('/home/nano/Desktop/images/11122025/23/30/image_11122025_23_30_34_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/30/image_11122025_23_30_25_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/29/image_11122025_23_30_05_9601.jpg', 2), ('/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_55_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/31/image_11122025_23_31_44_9589.jpg', '/home/nano/Desktop/images/11122025/23/30/image_11122025_23_31_04_9599.jpg', '/home/nano/Desktop/images/11122025/23/30/image_11122025_23_30_34_9585.jpg', '/home/nano/Desktop/images/11122025/23/30/image_11122025_23_30_25_10597.jpg', '/home/nano/Desktop/images/11122025/23/29/image_11122025_23_30_05_9601.jpg', '/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_55_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/31/image_11122025_23_31_44_9589.jpg
/home/nano/Desktop/images/11122025/23/30/image_11122025_23_31_04_9599.jpg
/home/nano/Desktop/images/11122025/23/30/image_11122025_23_30_34_9585.jpg
/home/nano/Desktop/images/11122025/23/30/image_11122025_23_30_25_10597.jpg
/home/nano/Desktop/images/11122025/23/29/image_11122025_23_30_05_9601.jpg
/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_55_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":["1401351080","1401351083","1401351085","1401351076","1401351078","1401351087"],"photo_ids_order":["1401351076","1401351078","1401351080","1401351083","1401351085","1401351087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2e909ca40a7e253b89e68eef70990dcb.jpg","text":"TemporaryFile(/tmp/multipartBody608276957376850590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875097926,"filename":"image_11122025_23_30_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/12/27/8c32332823415b431894577637adb22a.jpg","text":"TemporaryFile(/tmp/multipartBody8575738660153741198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875097926,"filename":"image_11122025_23_30_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c9b34dc0f5e858aa8225b0a6e3fcce10.jpg","text":"TemporaryFile(/tmp/multipartBody5966142681222522837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875097926,"filename":"image_11122025_23_30_05_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0853d7b7a7c1e346c9344ac6217de5c7.jpg","text":"TemporaryFile(/tmp/multipartBody8230430992336331985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875097926,"filename":"image_11122025_23_31_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c6f4198d6302c74c031c82db257e03f.jpg","text":"TemporaryFile(/tmp/multipartBody2834533915314001443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875097926,"filename":"image_11122025_23_31_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/12/27/4f7a9d119952b60189eea35d3573f12d.jpg","text":"TemporaryFile(/tmp/multipartBody8578221760261608126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875097926,"filename":"image_11122025_23_29_55_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351080","file1":"1401351078","file0":"1401351076","file4":"1401351085","file5":"1401351087","file3":"1401351083"},"map_files_photo_id_array":[{"photo_id":"1401351087","filename":"file5"},{"photo_id":"1401351080","filename":"file2"},{"photo_id":"1401351085","filename":"file4"},{"photo_id":"1401351078","filename":"file1"},{"photo_id":"1401351076","filename":"file0"},{"photo_id":"1401351083","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351080":["hashtag1","hashtag2"]},{"1401351083":["hashtag1","hashtag2"]},{"1401351085":["hashtag1","hashtag2"]},{"1401351076":["hashtag1","hashtag2"]},{"1401351078":["hashtag1","hashtag2"]},{"1401351087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351080, 1401351083, 1401351085, 1401351076, 1401351078, 1401351087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66013193130493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:38:02.774236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_44_9590.jpg', 2), ('/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_15_9592.jpg', 2), ('/home/nano/Desktop/images/11122025/23/28/image_11122025_23_29_05_10602.jpg', 2), ('/home/nano/Desktop/images/11122025/23/28/image_11122025_23_28_54_9582.jpg', 2), ('/home/nano/Desktop/images/11122025/23/27/image_11122025_23_28_04_9590.jpg', 2), ('/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_55_10599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_44_9590.jpg', '/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_15_9592.jpg', '/home/nano/Desktop/images/11122025/23/28/image_11122025_23_29_05_10602.jpg', '/home/nano/Desktop/images/11122025/23/28/image_11122025_23_28_54_9582.jpg', '/home/nano/Desktop/images/11122025/23/27/image_11122025_23_28_04_9590.jpg', '/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_55_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_44_9590.jpg
/home/nano/Desktop/images/11122025/23/29/image_11122025_23_29_15_9592.jpg
/home/nano/Desktop/images/11122025/23/28/image_11122025_23_29_05_10602.jpg
/home/nano/Desktop/images/11122025/23/28/image_11122025_23_28_54_9582.jpg
/home/nano/Desktop/images/11122025/23/27/image_11122025_23_28_04_9590.jpg
/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_55_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351092","1401351095","1401351097","1401351100","1401351090","1401351093"],"photo_ids_order":["1401351090","1401351092","1401351093","1401351095","1401351097","1401351100"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4683c8c491cd51a85ed5c2cb97c0d517.jpg","text":"TemporaryFile(/tmp/multipartBody3413501714918669205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875143729,"filename":"image_11122025_23_29_15_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/709938a1e8b68a3cd0f0b55ef3abea30.jpg","text":"TemporaryFile(/tmp/multipartBody4564510108142376182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875143729,"filename":"image_11122025_23_28_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4414c2c26725ced1e3eef2f47f954be9.jpg","text":"TemporaryFile(/tmp/multipartBody8255883922577377981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875143729,"filename":"image_11122025_23_28_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/718478af0496ee451c68b71db760833a.jpg","text":"TemporaryFile(/tmp/multipartBody219078997494334492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875143729,"filename":"image_11122025_23_27_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9766fc4a3ab8b5d58d106d738cff0bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8937553491454430906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875143729,"filename":"image_11122025_23_29_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/12/27/e02bfe20b2602340f5d6589e4d812ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8385467138447705353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875143729,"filename":"image_11122025_23_29_05_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351093","file1":"1401351092","file0":"1401351090","file4":"1401351097","file5":"1401351100","file3":"1401351095"},"map_files_photo_id_array":[{"photo_id":"1401351100","filename":"file5"},{"photo_id":"1401351093","filename":"file2"},{"photo_id":"1401351097","filename":"file4"},{"photo_id":"1401351092","filename":"file1"},{"photo_id":"1401351090","filename":"file0"},{"photo_id":"1401351095","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351092":["hashtag1","hashtag2"]},{"1401351095":["hashtag1","hashtag2"]},{"1401351097":["hashtag1","hashtag2"]},{"1401351100":["hashtag1","hashtag2"]},{"1401351090":["hashtag1","hashtag2"]},{"1401351093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351092, 1401351095, 1401351097, 1401351100, 1401351090, 1401351093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.691349506378174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:38:47.190213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_14_9608.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_27_05_10611.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_54_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_45_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_35_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_45_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_14_9608.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_27_05_10611.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_54_9585.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_45_9586.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_35_10597.jpg', '/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_45_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_14_9608.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_27_05_10611.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_54_9585.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_45_9586.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_35_10597.jpg
/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_45_10611.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7506208419799805 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:39:03.435661
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_14_9608.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_27_05_10611.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_54_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_45_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_35_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_45_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_14_9608.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_27_05_10611.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_54_9585.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_45_9586.jpg', '/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_35_10597.jpg', '/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_45_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/27/image_11122025_23_27_14_9608.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_27_05_10611.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_54_9585.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_45_9586.jpg
/home/nano/Desktop/images/11122025/23/26/image_11122025_23_26_35_10597.jpg
/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_45_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":["1401351120","1401351114","1401351123","1401351111","1401351116","1401351118"],"photo_ids_order":["1401351111","1401351114","1401351116","1401351118","1401351120","1401351123"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4dd610a2f6342e49d3ee0e59d1acf8a1.jpg","text":"TemporaryFile(/tmp/multipartBody8254845507215311458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875204319,"filename":"image_11122025_23_26_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f46f5ca61ff26228babb34d1c5bb3960.jpg","text":"TemporaryFile(/tmp/multipartBody5132358330567377498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875204319,"filename":"image_11122025_23_27_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/67a3ad3ab2799471c8d56d1fd87473f3.jpg","text":"TemporaryFile(/tmp/multipartBody7468837749739747775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875204319,"filename":"image_11122025_23_25_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbedcfbd0641cca6c94892773ab1db2b.jpg","text":"TemporaryFile(/tmp/multipartBody9221347424771947125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875204319,"filename":"image_11122025_23_27_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4bc026584e6331006d3a641ee040f265.jpg","text":"TemporaryFile(/tmp/multipartBody169284312055491602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875204319,"filename":"image_11122025_23_26_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7dcf46a6d60b100a83ae40a582d2b7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2348393510432715039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875204319,"filename":"image_11122025_23_26_45_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351116","file1":"1401351114","file0":"1401351111","file4":"1401351120","file5":"1401351123","file3":"1401351118"},"map_files_photo_id_array":[{"photo_id":"1401351123","filename":"file5"},{"photo_id":"1401351116","filename":"file2"},{"photo_id":"1401351120","filename":"file4"},{"photo_id":"1401351114","filename":"file1"},{"photo_id":"1401351111","filename":"file0"},{"photo_id":"1401351118","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351120":["hashtag1","hashtag2"]},{"1401351114":["hashtag1","hashtag2"]},{"1401351123":["hashtag1","hashtag2"]},{"1401351111":["hashtag1","hashtag2"]},{"1401351116":["hashtag1","hashtag2"]},{"1401351118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351120, 1401351114, 1401351123, 1401351111, 1401351116, 1401351118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.473679065704346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:39:47.297169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_14_9619.jpg', 2), ('/home/nano/Desktop/images/11122025/23/24/image_11122025_23_24_44_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/24/image_11122025_23_24_35_10598.jpg', 2), ('/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_45_10595.jpg', 2), ('/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_34_9588.jpg', 2), ('/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_15_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_14_9619.jpg', '/home/nano/Desktop/images/11122025/23/24/image_11122025_23_24_44_9587.jpg', '/home/nano/Desktop/images/11122025/23/24/image_11122025_23_24_35_10598.jpg', '/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_45_10595.jpg', '/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_34_9588.jpg', '/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_15_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/25/image_11122025_23_25_14_9619.jpg
/home/nano/Desktop/images/11122025/23/24/image_11122025_23_24_44_9587.jpg
/home/nano/Desktop/images/11122025/23/24/image_11122025_23_24_35_10598.jpg
/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_45_10595.jpg
/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_34_9588.jpg
/home/nano/Desktop/images/11122025/23/23/image_11122025_23_23_15_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":["1401351132","1401351135","1401351137","1401351131","1401351133","1401351130"],"photo_ids_order":["1401351130","1401351131","1401351132","1401351133","1401351135","1401351137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/755a6dc94cfc62b084924d3b81c2bf06.jpg","text":"TemporaryFile(/tmp/multipartBody2006272893970787691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875248140,"filename":"image_11122025_23_24_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/de6b2d9ba1bcb84a90a2ce727b7c74f4.jpg","text":"TemporaryFile(/tmp/multipartBody842739066076393734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875248140,"filename":"image_11122025_23_23_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/12/27/c9357edad32660ab22ad9eac6157b863.jpg","text":"TemporaryFile(/tmp/multipartBody1987231035207097102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875248140,"filename":"image_11122025_23_23_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/24412b78c8a695555951cebd1c21961e.jpg","text":"TemporaryFile(/tmp/multipartBody4010807179019902821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875248140,"filename":"image_11122025_23_24_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ba2750e0e445464cbb7d7f60e591b568.jpg","text":"TemporaryFile(/tmp/multipartBody3441735261041130538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875248140,"filename":"image_11122025_23_23_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a2dff634a622cbf732f5dbfbfd7f9c4e.jpg","text":"TemporaryFile(/tmp/multipartBody2829651575514087323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875248140,"filename":"image_11122025_23_25_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351132","file1":"1401351131","file0":"1401351130","file4":"1401351135","file5":"1401351137","file3":"1401351133"},"map_files_photo_id_array":[{"photo_id":"1401351137","filename":"file5"},{"photo_id":"1401351132","filename":"file2"},{"photo_id":"1401351135","filename":"file4"},{"photo_id":"1401351131","filename":"file1"},{"photo_id":"1401351130","filename":"file0"},{"photo_id":"1401351133","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351132":["hashtag1","hashtag2"]},{"1401351135":["hashtag1","hashtag2"]},{"1401351137":["hashtag1","hashtag2"]},{"1401351131":["hashtag1","hashtag2"]},{"1401351133":["hashtag1","hashtag2"]},{"1401351130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351132, 1401351135, 1401351137, 1401351131, 1401351133, 1401351130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64318108558655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:40:32.394079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/22/image_11122025_23_23_04_9589.jpg', 2), ('/home/nano/Desktop/images/11122025/23/22/image_11122025_23_22_35_9605.jpg', 2), ('/home/nano/Desktop/images/11122025/23/22/image_11122025_23_22_25_10612.jpg', 2), ('/home/nano/Desktop/images/11122025/23/21/image_11122025_23_22_05_10615.jpg', 2), ('/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_54_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_24_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/22/image_11122025_23_23_04_9589.jpg', '/home/nano/Desktop/images/11122025/23/22/image_11122025_23_22_35_9605.jpg', '/home/nano/Desktop/images/11122025/23/22/image_11122025_23_22_25_10612.jpg', '/home/nano/Desktop/images/11122025/23/21/image_11122025_23_22_05_10615.jpg', '/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_54_9587.jpg', '/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/22/image_11122025_23_23_04_9589.jpg
/home/nano/Desktop/images/11122025/23/22/image_11122025_23_22_35_9605.jpg
/home/nano/Desktop/images/11122025/23/22/image_11122025_23_22_25_10612.jpg
/home/nano/Desktop/images/11122025/23/21/image_11122025_23_22_05_10615.jpg
/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_54_9587.jpg
/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_24_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":["1401351147","1401351158","1401351152","1401351154","1401351157","1401351150"],"photo_ids_order":["1401351147","1401351150","1401351152","1401351154","1401351157","1401351158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4818dd9390fcc62fe492ceafd1c44581.jpg","text":"TemporaryFile(/tmp/multipartBody5337375041971881163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875293225,"filename":"image_11122025_23_23_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa6cad41101c9da683cc497073eba4fb.jpg","text":"TemporaryFile(/tmp/multipartBody4437436995194429999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875293225,"filename":"image_11122025_23_21_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/12/27/60044deffccffd620f0fe29e483796af.jpg","text":"TemporaryFile(/tmp/multipartBody4493128320124895340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875293225,"filename":"image_11122025_23_22_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8d4bfae30cff2cac92dad7417cde91eb.jpg","text":"TemporaryFile(/tmp/multipartBody4957508719175794780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875293225,"filename":"image_11122025_23_22_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/1129b70a2d6c146fb4e710a250494d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4887622792065864071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875293225,"filename":"image_11122025_23_21_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/77ba37d511e0fb8587ff88275b15eec4.jpg","text":"TemporaryFile(/tmp/multipartBody8202670884652943674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875293225,"filename":"image_11122025_23_22_35_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351152","file1":"1401351150","file0":"1401351147","file4":"1401351157","file5":"1401351158","file3":"1401351154"},"map_files_photo_id_array":[{"photo_id":"1401351158","filename":"file5"},{"photo_id":"1401351152","filename":"file2"},{"photo_id":"1401351157","filename":"file4"},{"photo_id":"1401351150","filename":"file1"},{"photo_id":"1401351147","filename":"file0"},{"photo_id":"1401351154","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351147":["hashtag1","hashtag2"]},{"1401351158":["hashtag1","hashtag2"]},{"1401351152":["hashtag1","hashtag2"]},{"1401351154":["hashtag1","hashtag2"]},{"1401351157":["hashtag1","hashtag2"]},{"1401351150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351147, 1401351158, 1401351152, 1401351154, 1401351157, 1401351150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.164936780929565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:41:17.545174
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/41/image_27122025_23_41_34_9538.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/41/image_27122025_23_41_34_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/41/image_27122025_23_41_34_9538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351163"],"photo_id":"1401351163","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d4a4e9a68aeb4a47618155a061cc83c8.jpg","text":"TemporaryFile(/tmp/multipartBody6618062834004511002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875337791,"filename":"image_27122025_23_41_34_9538.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401351163"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401351163"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.0457022190094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:41:32.490867
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_15_10615.jpg', 2), ('/home/nano/Desktop/images/11122025/23/20/image_11122025_23_21_04_9600.jpg', 2), ('/home/nano/Desktop/images/11122025/23/20/image_11122025_23_20_55_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/19/image_11122025_23_19_44_9594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/19/image_11122025_23_19_24_9601.jpg', 2), ('/home/nano/Desktop/images/11122025/23/18/image_11122025_23_19_05_10598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_15_10615.jpg', '/home/nano/Desktop/images/11122025/23/20/image_11122025_23_21_04_9600.jpg', '/home/nano/Desktop/images/11122025/23/20/image_11122025_23_20_55_9585.jpg', '/home/nano/Desktop/images/11122025/23/19/image_11122025_23_19_44_9594.jpg', '/home/nano/Desktop/images/11122025/23/19/image_11122025_23_19_24_9601.jpg', '/home/nano/Desktop/images/11122025/23/18/image_11122025_23_19_05_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/21/image_11122025_23_21_15_10615.jpg
/home/nano/Desktop/images/11122025/23/20/image_11122025_23_21_04_9600.jpg
/home/nano/Desktop/images/11122025/23/20/image_11122025_23_20_55_9585.jpg
/home/nano/Desktop/images/11122025/23/19/image_11122025_23_19_44_9594.jpg
/home/nano/Desktop/images/11122025/23/19/image_11122025_23_19_24_9601.jpg
/home/nano/Desktop/images/11122025/23/18/image_11122025_23_19_05_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":["1401351168","1401351170","1401351178","1401351174","1401351177","1401351171"],"photo_ids_order":["1401351168","1401351170","1401351171","1401351174","1401351177","1401351178"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fb866c1587f91afdf8bff2b9d372d68a.jpg","text":"TemporaryFile(/tmp/multipartBody730275973327950860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875353324,"filename":"image_11122025_23_21_15_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cde602a0d86ec5c30b8cfe568974568f.jpg","text":"TemporaryFile(/tmp/multipartBody5857818795046213956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875353324,"filename":"image_11122025_23_21_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/12/27/bf4249ed91e9922a8c87a69d6f87708c.jpg","text":"TemporaryFile(/tmp/multipartBody6151766210986256859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875353324,"filename":"image_11122025_23_19_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ac8ba374d660ddb708efa4420b02a6db.jpg","text":"TemporaryFile(/tmp/multipartBody68843833034938960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875353324,"filename":"image_11122025_23_19_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cc2b59687ce23e1e0db9276b3b8e546d.jpg","text":"TemporaryFile(/tmp/multipartBody5410372676594709965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875353324,"filename":"image_11122025_23_19_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/12/27/f219c859103e9c2b043a6aac2c447046.jpg","text":"TemporaryFile(/tmp/multipartBody8415625686277621007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875353324,"filename":"image_11122025_23_20_55_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351171","file1":"1401351170","file0":"1401351168","file4":"1401351177","file5":"1401351178","file3":"1401351174"},"map_files_photo_id_array":[{"photo_id":"1401351178","filename":"file5"},{"photo_id":"1401351171","filename":"file2"},{"photo_id":"1401351177","filename":"file4"},{"photo_id":"1401351170","filename":"file1"},{"photo_id":"1401351168","filename":"file0"},{"photo_id":"1401351174","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351168":["hashtag1","hashtag2"]},{"1401351170":["hashtag1","hashtag2"]},{"1401351178":["hashtag1","hashtag2"]},{"1401351174":["hashtag1","hashtag2"]},{"1401351177":["hashtag1","hashtag2"]},{"1401351171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351168, 1401351170, 1401351178, 1401351174, 1401351177, 1401351171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.511971712112427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:42:17.608551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/18/image_11122025_23_18_34_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/17/image_11122025_23_18_04_9595.jpg', 2), ('/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_44_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_35_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_25_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_14_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/18/image_11122025_23_18_34_9587.jpg', '/home/nano/Desktop/images/11122025/23/17/image_11122025_23_18_04_9595.jpg', '/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_44_9584.jpg', '/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_35_9585.jpg', '/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_25_10597.jpg', '/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_14_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/18/image_11122025_23_18_34_9587.jpg
/home/nano/Desktop/images/11122025/23/17/image_11122025_23_18_04_9595.jpg
/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_44_9584.jpg
/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_35_9585.jpg
/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_25_10597.jpg
/home/nano/Desktop/images/11122025/23/17/image_11122025_23_17_14_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351188","1401351190","1401351184","1401351192","1401351183","1401351186"],"photo_ids_order":["1401351183","1401351184","1401351186","1401351188","1401351190","1401351192"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74576e8a64ab50b12dc150a86eeccd09.jpg","text":"TemporaryFile(/tmp/multipartBody7136016633711615764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875398444,"filename":"image_11122025_23_17_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/342327dbf468d4a7f1f38a0870f8b8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4641791775245103962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875398444,"filename":"image_11122025_23_17_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7d1be5032d428396254ff2ed5d56ebbf.jpg","text":"TemporaryFile(/tmp/multipartBody2512829361670671997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875398444,"filename":"image_11122025_23_18_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dbe97fa724763cda383bc878bd57acef.jpg","text":"TemporaryFile(/tmp/multipartBody4602252557702656119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875398444,"filename":"image_11122025_23_17_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f35fd12fdcf8af37b8aaf22c51e3de46.jpg","text":"TemporaryFile(/tmp/multipartBody5465224275540934615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875398444,"filename":"image_11122025_23_18_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/026b41cce64efe2f2ac10fd22949a82f.jpg","text":"TemporaryFile(/tmp/multipartBody4980535753594356652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875398444,"filename":"image_11122025_23_17_44_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351186","file1":"1401351184","file0":"1401351183","file4":"1401351190","file5":"1401351192","file3":"1401351188"},"map_files_photo_id_array":[{"photo_id":"1401351192","filename":"file5"},{"photo_id":"1401351186","filename":"file2"},{"photo_id":"1401351190","filename":"file4"},{"photo_id":"1401351184","filename":"file1"},{"photo_id":"1401351183","filename":"file0"},{"photo_id":"1401351188","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351188":["hashtag1","hashtag2"]},{"1401351190":["hashtag1","hashtag2"]},{"1401351184":["hashtag1","hashtag2"]},{"1401351192":["hashtag1","hashtag2"]},{"1401351183":["hashtag1","hashtag2"]},{"1401351186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351188, 1401351190, 1401351184, 1401351192, 1401351183, 1401351186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.865724325180054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:43:03.207800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_54_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_45_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_24_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_15_10609.jpg', 2), ('/home/nano/Desktop/images/11122025/23/15/image_11122025_23_15_45_10613.jpg', 2), ('/home/nano/Desktop/images/11122025/23/15/image_11122025_23_15_34_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_54_9587.jpg', '/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_45_9584.jpg', '/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_24_9585.jpg', '/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_15_10609.jpg', '/home/nano/Desktop/images/11122025/23/15/image_11122025_23_15_45_10613.jpg', '/home/nano/Desktop/images/11122025/23/15/image_11122025_23_15_34_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_54_9587.jpg
/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_45_9584.jpg
/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_24_9585.jpg
/home/nano/Desktop/images/11122025/23/16/image_11122025_23_16_15_10609.jpg
/home/nano/Desktop/images/11122025/23/15/image_11122025_23_15_45_10613.jpg
/home/nano/Desktop/images/11122025/23/15/image_11122025_23_15_34_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":["1401351207","1401351204","1401351197","1401351200","1401351202","1401351198"],"photo_ids_order":["1401351197","1401351198","1401351200","1401351202","1401351204","1401351207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9dc72f4bd968b69cbd7ae3ccf9db3ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4144005030408425391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875444098,"filename":"image_11122025_23_15_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/12/27/59a5254ac5a41988fec441737245bb32.jpg","text":"TemporaryFile(/tmp/multipartBody171679729783251658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875444098,"filename":"image_11122025_23_15_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/dba0221bd5308b71f9d23d2daac427b7.jpg","text":"TemporaryFile(/tmp/multipartBody4214625490383488311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875444098,"filename":"image_11122025_23_16_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cfccf0a017e9930dc0701903823b8b50.jpg","text":"TemporaryFile(/tmp/multipartBody6276236932817866557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875444098,"filename":"image_11122025_23_16_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8db82ff607e9395052f2e51b6c17563.jpg","text":"TemporaryFile(/tmp/multipartBody4341261098917981581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875444098,"filename":"image_11122025_23_16_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ab1262b1808df4d04e11fc855bbc8a00.jpg","text":"TemporaryFile(/tmp/multipartBody8114198973502360716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875444098,"filename":"image_11122025_23_16_45_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351200","file1":"1401351198","file0":"1401351197","file4":"1401351204","file5":"1401351207","file3":"1401351202"},"map_files_photo_id_array":[{"photo_id":"1401351207","filename":"file5"},{"photo_id":"1401351200","filename":"file2"},{"photo_id":"1401351204","filename":"file4"},{"photo_id":"1401351198","filename":"file1"},{"photo_id":"1401351197","filename":"file0"},{"photo_id":"1401351202","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351207":["hashtag1","hashtag2"]},{"1401351204":["hashtag1","hashtag2"]},{"1401351197":["hashtag1","hashtag2"]},{"1401351200":["hashtag1","hashtag2"]},{"1401351202":["hashtag1","hashtag2"]},{"1401351198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351207, 1401351204, 1401351197, 1401351200, 1401351202, 1401351198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87116599082947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:43:47.724921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/14/image_11122025_23_15_05_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/23/14/image_11122025_23_14_24_9582.jpg', 2), ('/home/nano/Desktop/images/11122025/23/13/image_11122025_23_13_25_10602.jpg', 2), ('/home/nano/Desktop/images/11122025/23/13/image_11122025_23_13_14_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/23/12/image_11122025_23_13_05_9598.jpg', 2), ('/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_55_10594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/14/image_11122025_23_15_05_9584.jpg', '/home/nano/Desktop/images/11122025/23/14/image_11122025_23_14_24_9582.jpg', '/home/nano/Desktop/images/11122025/23/13/image_11122025_23_13_25_10602.jpg', '/home/nano/Desktop/images/11122025/23/13/image_11122025_23_13_14_9602.jpg', '/home/nano/Desktop/images/11122025/23/12/image_11122025_23_13_05_9598.jpg', '/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_55_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/14/image_11122025_23_15_05_9584.jpg
/home/nano/Desktop/images/11122025/23/14/image_11122025_23_14_24_9582.jpg
/home/nano/Desktop/images/11122025/23/13/image_11122025_23_13_25_10602.jpg
/home/nano/Desktop/images/11122025/23/13/image_11122025_23_13_14_9602.jpg
/home/nano/Desktop/images/11122025/23/12/image_11122025_23_13_05_9598.jpg
/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_55_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351219","1401351216","1401351218","1401351215","1401351214","1401351217"],"photo_ids_order":["1401351214","1401351215","1401351216","1401351217","1401351218","1401351219"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c64e1073e04355b9e91e11343a5b7dae.jpg","text":"TemporaryFile(/tmp/multipartBody2486678020567513795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875488558,"filename":"image_11122025_23_12_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c6fb2873af5aafc43694d7ad4c7f4b22.jpg","text":"TemporaryFile(/tmp/multipartBody7208207796502764852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875488558,"filename":"image_11122025_23_13_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8cc261c8b51f81b4974acf163fbb539a.jpg","text":"TemporaryFile(/tmp/multipartBody3585320406598340737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875488558,"filename":"image_11122025_23_13_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a4f806cf11690af20008c906109be324.jpg","text":"TemporaryFile(/tmp/multipartBody5098151799567060400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875488558,"filename":"image_11122025_23_14_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8e288865850f6bd5865434285114b06.jpg","text":"TemporaryFile(/tmp/multipartBody1590010938596217641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875488558,"filename":"image_11122025_23_15_05_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bf4555669366d4363c969e7b53ed3b7.jpg","text":"TemporaryFile(/tmp/multipartBody4129529285174767093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875488558,"filename":"image_11122025_23_13_14_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351216","file1":"1401351215","file0":"1401351214","file4":"1401351218","file5":"1401351219","file3":"1401351217"},"map_files_photo_id_array":[{"photo_id":"1401351219","filename":"file5"},{"photo_id":"1401351216","filename":"file2"},{"photo_id":"1401351218","filename":"file4"},{"photo_id":"1401351215","filename":"file1"},{"photo_id":"1401351214","filename":"file0"},{"photo_id":"1401351217","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351219":["hashtag1","hashtag2"]},{"1401351216":["hashtag1","hashtag2"]},{"1401351218":["hashtag1","hashtag2"]},{"1401351215":["hashtag1","hashtag2"]},{"1401351214":["hashtag1","hashtag2"]},{"1401351217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351219, 1401351216, 1401351218, 1401351215, 1401351214, 1401351217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.22299098968506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:44:31.815499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_44_9588.jpg', 2), ('/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_35_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_24_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_15_9618.jpg', 2), ('/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_54_9590.jpg', 2), ('/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_45_10598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_44_9588.jpg', '/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_35_10594.jpg', '/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_24_9586.jpg', '/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_15_9618.jpg', '/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_54_9590.jpg', '/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_45_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_44_9588.jpg
/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_35_10594.jpg
/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_24_9586.jpg
/home/nano/Desktop/images/11122025/23/12/image_11122025_23_12_15_9618.jpg
/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_54_9590.jpg
/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_45_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":["1401351231","1401351236","1401351233","1401351229","1401351238","1401351237"],"photo_ids_order":["1401351229","1401351231","1401351233","1401351236","1401351237","1401351238"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/62b07eb56d900db8f2df60c15f79426e.jpg","text":"TemporaryFile(/tmp/multipartBody1245229376169751007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875532663,"filename":"image_11122025_23_12_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ee0c2798f2db8155c0c62fafd89be096.jpg","text":"TemporaryFile(/tmp/multipartBody8045250865868846594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875532663,"filename":"image_11122025_23_12_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd7917a5a5f67cc9da258dde2901bdc9.jpg","text":"TemporaryFile(/tmp/multipartBody2952832385459800106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875532663,"filename":"image_11122025_23_12_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a6a21378093836758b71a3f92796c2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1728555736162747864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875532663,"filename":"image_11122025_23_12_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/12/27/24817baea82c11b29a7455de5e8cab34.jpg","text":"TemporaryFile(/tmp/multipartBody8824383963790666192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875532663,"filename":"image_11122025_23_11_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afd6a51586e8bb143c4bf0bec6bc27a2.jpg","text":"TemporaryFile(/tmp/multipartBody7045252755354745249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875532663,"filename":"image_11122025_23_11_54_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351233","file1":"1401351231","file0":"1401351229","file4":"1401351237","file5":"1401351238","file3":"1401351236"},"map_files_photo_id_array":[{"photo_id":"1401351238","filename":"file5"},{"photo_id":"1401351233","filename":"file2"},{"photo_id":"1401351237","filename":"file4"},{"photo_id":"1401351231","filename":"file1"},{"photo_id":"1401351229","filename":"file0"},{"photo_id":"1401351236","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351231":["hashtag1","hashtag2"]},{"1401351236":["hashtag1","hashtag2"]},{"1401351233":["hashtag1","hashtag2"]},{"1401351229":["hashtag1","hashtag2"]},{"1401351238":["hashtag1","hashtag2"]},{"1401351237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351231, 1401351236, 1401351233, 1401351229, 1401351238, 1401351237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.296841621398926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:45:16.911310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_34_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_25_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_15_10609.jpg', 2), ('/home/nano/Desktop/images/11122025/23/10/image_11122025_23_11_04_9589.jpg', 2), ('/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_55_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_44_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_34_9586.jpg', '/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_25_9587.jpg', '/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_15_10609.jpg', '/home/nano/Desktop/images/11122025/23/10/image_11122025_23_11_04_9589.jpg', '/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_55_10597.jpg', '/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_44_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_34_9586.jpg
/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_25_9587.jpg
/home/nano/Desktop/images/11122025/23/11/image_11122025_23_11_15_10609.jpg
/home/nano/Desktop/images/11122025/23/10/image_11122025_23_11_04_9589.jpg
/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_55_10597.jpg
/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_44_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351249","1401351251","1401351245","1401351253","1401351247","1401351243"],"photo_ids_order":["1401351243","1401351245","1401351247","1401351249","1401351251","1401351253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/fc1434c16ba03ea934dc31a644c13574.jpg","text":"TemporaryFile(/tmp/multipartBody3763184900296160321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875577768,"filename":"image_11122025_23_11_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d0dea76fea0b9d9fcbe29fcb810624f9.jpg","text":"TemporaryFile(/tmp/multipartBody6584461942502650014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875577768,"filename":"image_11122025_23_10_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f57d528d90c35565c1850800ebc48764.jpg","text":"TemporaryFile(/tmp/multipartBody2385395863293833335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875577768,"filename":"image_11122025_23_11_25_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2a7871640288584bebab7c579eecdb40.jpg","text":"TemporaryFile(/tmp/multipartBody5388816005596650863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875577768,"filename":"image_11122025_23_10_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/4f8a3af7a422c7f7687e3f4dc1e3b8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6910492971190753551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875577768,"filename":"image_11122025_23_11_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/da6a73ba0ea467ca3095e89eab48d91a.jpg","text":"TemporaryFile(/tmp/multipartBody4427747708190997114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875577768,"filename":"image_11122025_23_11_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351247","file1":"1401351245","file0":"1401351243","file4":"1401351251","file5":"1401351253","file3":"1401351249"},"map_files_photo_id_array":[{"photo_id":"1401351253","filename":"file5"},{"photo_id":"1401351247","filename":"file2"},{"photo_id":"1401351251","filename":"file4"},{"photo_id":"1401351245","filename":"file1"},{"photo_id":"1401351243","filename":"file0"},{"photo_id":"1401351249","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351249":["hashtag1","hashtag2"]},{"1401351251":["hashtag1","hashtag2"]},{"1401351245":["hashtag1","hashtag2"]},{"1401351253":["hashtag1","hashtag2"]},{"1401351247":["hashtag1","hashtag2"]},{"1401351243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351249, 1401351251, 1401351245, 1401351253, 1401351247, 1401351243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33481407165527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:46:02.582490
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_35_9583.jpg', 2), ('/home/nano/Desktop/images/11122025/23/09/image_11122025_23_10_05_10616.jpg', 2), ('/home/nano/Desktop/images/11122025/23/09/image_11122025_23_09_35_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/09/image_11122025_23_09_24_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/23/08/image_11122025_23_08_34_9601.jpg', 2), ('/home/nano/Desktop/images/11122025/23/07/image_11122025_23_08_05_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_35_9583.jpg', '/home/nano/Desktop/images/11122025/23/09/image_11122025_23_10_05_10616.jpg', '/home/nano/Desktop/images/11122025/23/09/image_11122025_23_09_35_10597.jpg', '/home/nano/Desktop/images/11122025/23/09/image_11122025_23_09_24_9584.jpg', '/home/nano/Desktop/images/11122025/23/08/image_11122025_23_08_34_9601.jpg', '/home/nano/Desktop/images/11122025/23/07/image_11122025_23_08_05_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/10/image_11122025_23_10_35_9583.jpg
/home/nano/Desktop/images/11122025/23/09/image_11122025_23_10_05_10616.jpg
/home/nano/Desktop/images/11122025/23/09/image_11122025_23_09_35_10597.jpg
/home/nano/Desktop/images/11122025/23/09/image_11122025_23_09_24_9584.jpg
/home/nano/Desktop/images/11122025/23/08/image_11122025_23_08_34_9601.jpg
/home/nano/Desktop/images/11122025/23/07/image_11122025_23_08_05_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":["1401351266","1401351269","1401351260","1401351259","1401351262","1401351264"],"photo_ids_order":["1401351259","1401351260","1401351262","1401351264","1401351266","1401351269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9a721e63280eec6d4c6288aeb79fffaf.jpg","text":"TemporaryFile(/tmp/multipartBody4111506455327083656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875623507,"filename":"image_11122025_23_08_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/12/27/d582bc298958cdf2ea8f3569e6b767ec.jpg","text":"TemporaryFile(/tmp/multipartBody7976646168811160462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875623507,"filename":"image_11122025_23_08_05_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7e32ee90af016081d23474d988f17379.jpg","text":"TemporaryFile(/tmp/multipartBody1146139686070224485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875623507,"filename":"image_11122025_23_10_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/91ba7523b642a229887751ce310a99f6.jpg","text":"TemporaryFile(/tmp/multipartBody2159933196354588098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875623507,"filename":"image_11122025_23_10_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f94ead1634f0f8b67c7e3c610a8bd12d.jpg","text":"TemporaryFile(/tmp/multipartBody3994159206867122799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875623507,"filename":"image_11122025_23_09_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/326475ad2de6eaacae9be603783c1cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3116718184733755354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875623507,"filename":"image_11122025_23_09_24_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351262","file1":"1401351260","file0":"1401351259","file4":"1401351266","file5":"1401351269","file3":"1401351264"},"map_files_photo_id_array":[{"photo_id":"1401351269","filename":"file5"},{"photo_id":"1401351262","filename":"file2"},{"photo_id":"1401351266","filename":"file4"},{"photo_id":"1401351260","filename":"file1"},{"photo_id":"1401351259","filename":"file0"},{"photo_id":"1401351264","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351266":["hashtag1","hashtag2"]},{"1401351269":["hashtag1","hashtag2"]},{"1401351260":["hashtag1","hashtag2"]},{"1401351259":["hashtag1","hashtag2"]},{"1401351262":["hashtag1","hashtag2"]},{"1401351264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351266, 1401351269, 1401351260, 1401351259, 1401351262, 1401351264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.712692975997925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:46:47.043131
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/07/image_11122025_23_07_55_10595.jpg', 2), ('/home/nano/Desktop/images/11122025/23/07/image_11122025_23_07_35_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/06/image_11122025_23_06_25_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/06/image_11122025_23_06_14_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/23/05/image_11122025_23_06_04_9609.jpg', 2), ('/home/nano/Desktop/images/11122025/23/05/image_11122025_23_05_55_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/07/image_11122025_23_07_55_10595.jpg', '/home/nano/Desktop/images/11122025/23/07/image_11122025_23_07_35_10594.jpg', '/home/nano/Desktop/images/11122025/23/06/image_11122025_23_06_25_10596.jpg', '/home/nano/Desktop/images/11122025/23/06/image_11122025_23_06_14_9602.jpg', '/home/nano/Desktop/images/11122025/23/05/image_11122025_23_06_04_9609.jpg', '/home/nano/Desktop/images/11122025/23/05/image_11122025_23_05_55_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/07/image_11122025_23_07_55_10595.jpg
/home/nano/Desktop/images/11122025/23/07/image_11122025_23_07_35_10594.jpg
/home/nano/Desktop/images/11122025/23/06/image_11122025_23_06_25_10596.jpg
/home/nano/Desktop/images/11122025/23/06/image_11122025_23_06_14_9602.jpg
/home/nano/Desktop/images/11122025/23/05/image_11122025_23_06_04_9609.jpg
/home/nano/Desktop/images/11122025/23/05/image_11122025_23_05_55_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":["1401351278","1401351283","1401351277","1401351280","1401351276","1401351279"],"photo_ids_order":["1401351276","1401351277","1401351278","1401351279","1401351280","1401351283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d1c34d40b5a082b8b513ca3879d3fdeb.jpg","text":"TemporaryFile(/tmp/multipartBody1718288889061626915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875667892,"filename":"image_11122025_23_06_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2d27989cdeb3c1f79fa2f7932ace0c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3596335585918671659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875667892,"filename":"image_11122025_23_05_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afdeb1163fcd36a1a9e4714dcf730be0.jpg","text":"TemporaryFile(/tmp/multipartBody7836954750220809478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875667892,"filename":"image_11122025_23_07_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/54569743f3a83cdaf9c77c3ac3aaa822.jpg","text":"TemporaryFile(/tmp/multipartBody4693875799049626520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875667892,"filename":"image_11122025_23_06_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/12/27/6e5e9f2f6e79af18ed3f7127dbd1b94e.jpg","text":"TemporaryFile(/tmp/multipartBody8690629255305523203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875667892,"filename":"image_11122025_23_07_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/65740eaef605c9aac821ad3bfc10cfe8.jpg","text":"TemporaryFile(/tmp/multipartBody580313188490623566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875667892,"filename":"image_11122025_23_06_14_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351278","file1":"1401351277","file0":"1401351276","file4":"1401351280","file5":"1401351283","file3":"1401351279"},"map_files_photo_id_array":[{"photo_id":"1401351283","filename":"file5"},{"photo_id":"1401351278","filename":"file2"},{"photo_id":"1401351280","filename":"file4"},{"photo_id":"1401351277","filename":"file1"},{"photo_id":"1401351276","filename":"file0"},{"photo_id":"1401351279","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351278":["hashtag1","hashtag2"]},{"1401351283":["hashtag1","hashtag2"]},{"1401351277":["hashtag1","hashtag2"]},{"1401351280":["hashtag1","hashtag2"]},{"1401351276":["hashtag1","hashtag2"]},{"1401351279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351278, 1401351283, 1401351277, 1401351280, 1401351276, 1401351279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.123345375061035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:47:32.144255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/05/image_11122025_23_05_44_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_45_9605.jpg', 2), ('/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_35_10598.jpg', 2), ('/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_15_10644.jpg', 2), ('/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_55_9600.jpg', 2), ('/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_45_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/05/image_11122025_23_05_44_9585.jpg', '/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_45_9605.jpg', '/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_35_10598.jpg', '/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_15_10644.jpg', '/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_55_9600.jpg', '/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/05/image_11122025_23_05_44_9585.jpg
/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_45_9605.jpg
/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_35_10598.jpg
/home/nano/Desktop/images/11122025/23/04/image_11122025_23_04_15_10644.jpg
/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_55_9600.jpg
/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_45_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":["1401351293","1401351302","1401351295","1401351298","1401351292","1401351301"],"photo_ids_order":["1401351292","1401351293","1401351295","1401351298","1401351301","1401351302"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f36c779ef27f6eb065ef914d38b425d6.jpg","text":"TemporaryFile(/tmp/multipartBody7231732362991648390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875712985,"filename":"image_11122025_23_04_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5d0a7e7ddad5535832fa4f581378fddb.jpg","text":"TemporaryFile(/tmp/multipartBody7446658692010993113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875712985,"filename":"image_11122025_23_03_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/185622abdd41d39d8e90ce5e5cc84504.jpg","text":"TemporaryFile(/tmp/multipartBody3533602980543043464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875712985,"filename":"image_11122025_23_04_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/7462dacf80cac736e8a578ed6e1e84c8.jpg","text":"TemporaryFile(/tmp/multipartBody3214612787193899583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875712985,"filename":"image_11122025_23_04_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/aa2b6d2eceb17187986dd47da3ec30db.jpg","text":"TemporaryFile(/tmp/multipartBody5912795659574478601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875712985,"filename":"image_11122025_23_05_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/12/27/4d2f24945e61f8400174b28197d9f95b.jpg","text":"TemporaryFile(/tmp/multipartBody8389977143820721436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875712985,"filename":"image_11122025_23_03_55_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351295","file1":"1401351293","file0":"1401351292","file4":"1401351301","file5":"1401351302","file3":"1401351298"},"map_files_photo_id_array":[{"photo_id":"1401351302","filename":"file5"},{"photo_id":"1401351295","filename":"file2"},{"photo_id":"1401351301","filename":"file4"},{"photo_id":"1401351293","filename":"file1"},{"photo_id":"1401351292","filename":"file0"},{"photo_id":"1401351298","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351293":["hashtag1","hashtag2"]},{"1401351302":["hashtag1","hashtag2"]},{"1401351295":["hashtag1","hashtag2"]},{"1401351298":["hashtag1","hashtag2"]},{"1401351292":["hashtag1","hashtag2"]},{"1401351301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351293, 1401351302, 1401351295, 1401351298, 1401351292, 1401351301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6204035282135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:48:17.292235
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_34_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_25_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_14_9601.jpg', 2), ('/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_55_10596.jpg', 2), ('/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_35_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_24_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_34_9587.jpg', '/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_25_10597.jpg', '/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_14_9601.jpg', '/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_55_10596.jpg', '/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_35_10594.jpg', '/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_24_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_34_9587.jpg
/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_25_10597.jpg
/home/nano/Desktop/images/11122025/23/03/image_11122025_23_03_14_9601.jpg
/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_55_10596.jpg
/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_35_10594.jpg
/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_24_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":["1401351306","1401351303","1401351308","1401351313","1401351310","1401351304"],"photo_ids_order":["1401351303","1401351304","1401351306","1401351308","1401351310","1401351313"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/803595318b5a9882a6cbe86009f330b7.jpg","text":"TemporaryFile(/tmp/multipartBody3204288565243989362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875758131,"filename":"image_11122025_23_03_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6f76443b5295e65e0decbaad0132d56a.jpg","text":"TemporaryFile(/tmp/multipartBody2006396041593747764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875758131,"filename":"image_11122025_23_03_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/af43c1a7323a585f36451d87cf77d29a.jpg","text":"TemporaryFile(/tmp/multipartBody6024761976311963107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875758131,"filename":"image_11122025_23_02_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5337da9ec08d0e4e54d0f6df27a1113e.jpg","text":"TemporaryFile(/tmp/multipartBody7854914665806982967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875758131,"filename":"image_11122025_23_02_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3b4105e8900f1f993ee1e444e863aee9.jpg","text":"TemporaryFile(/tmp/multipartBody3431094123197035443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875758131,"filename":"image_11122025_23_02_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e29cef8863ccce5503a4fa69b4383b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6128847142233803887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875758131,"filename":"image_11122025_23_03_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351306","file1":"1401351304","file0":"1401351303","file4":"1401351310","file5":"1401351313","file3":"1401351308"},"map_files_photo_id_array":[{"photo_id":"1401351313","filename":"file5"},{"photo_id":"1401351306","filename":"file2"},{"photo_id":"1401351310","filename":"file4"},{"photo_id":"1401351304","filename":"file1"},{"photo_id":"1401351303","filename":"file0"},{"photo_id":"1401351308","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351306":["hashtag1","hashtag2"]},{"1401351303":["hashtag1","hashtag2"]},{"1401351308":["hashtag1","hashtag2"]},{"1401351313":["hashtag1","hashtag2"]},{"1401351310":["hashtag1","hashtag2"]},{"1401351304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351306, 1401351303, 1401351308, 1401351313, 1401351310, 1401351304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50452446937561 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:49:03.273257
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_15_9593.jpg', 2), ('/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_54_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_45_10614.jpg', 2), ('/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_34_9589.jpg', 2), ('/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_15_10608.jpg', 2), ('/home/nano/Desktop/images/11122025/23/00/image_11122025_23_00_44_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_15_9593.jpg', '/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_54_9584.jpg', '/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_45_10614.jpg', '/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_34_9589.jpg', '/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_15_10608.jpg', '/home/nano/Desktop/images/11122025/23/00/image_11122025_23_00_44_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/02/image_11122025_23_02_15_9593.jpg
/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_54_9584.jpg
/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_45_10614.jpg
/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_34_9589.jpg
/home/nano/Desktop/images/11122025/23/01/image_11122025_23_01_15_10608.jpg
/home/nano/Desktop/images/11122025/23/00/image_11122025_23_00_44_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351324","1401351329","1401351323","1401351326","1401351322","1401351325"],"photo_ids_order":["1401351322","1401351323","1401351324","1401351325","1401351326","1401351329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a41a877013a18bf7d0ba57e7c6958651.jpg","text":"TemporaryFile(/tmp/multipartBody6981375863893051501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875804260,"filename":"image_11122025_23_01_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2827023f703e9333af14e552258ac7bf.jpg","text":"TemporaryFile(/tmp/multipartBody305095580025552681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875804260,"filename":"image_11122025_23_00_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/12/27/d13f321dfb6ae00ac87e8290cc7450aa.jpg","text":"TemporaryFile(/tmp/multipartBody1477344033753042761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875804260,"filename":"image_11122025_23_01_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8e3775fc276d58711f66ba1d5201dc01.jpg","text":"TemporaryFile(/tmp/multipartBody2803902790742743516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875804260,"filename":"image_11122025_23_01_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/acba0c2dd4fa3e0afc53ce0e3e14e318.jpg","text":"TemporaryFile(/tmp/multipartBody2625882335822706547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875804260,"filename":"image_11122025_23_02_15_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/45ef5494aa424dd8c8e2008b7f4cddef.jpg","text":"TemporaryFile(/tmp/multipartBody6126124578543494963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875804260,"filename":"image_11122025_23_01_34_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351324","file1":"1401351323","file0":"1401351322","file4":"1401351326","file5":"1401351329","file3":"1401351325"},"map_files_photo_id_array":[{"photo_id":"1401351329","filename":"file5"},{"photo_id":"1401351324","filename":"file2"},{"photo_id":"1401351326","filename":"file4"},{"photo_id":"1401351323","filename":"file1"},{"photo_id":"1401351322","filename":"file0"},{"photo_id":"1401351325","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351324":["hashtag1","hashtag2"]},{"1401351329":["hashtag1","hashtag2"]},{"1401351323":["hashtag1","hashtag2"]},{"1401351326":["hashtag1","hashtag2"]},{"1401351322":["hashtag1","hashtag2"]},{"1401351325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351324, 1401351329, 1401351323, 1401351326, 1401351322, 1401351325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.956252574920654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:49:47.359856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/23/00/image_11122025_23_00_35_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/22/59/image_11122025_22_59_24_9599.jpg', 2), ('/home/nano/Desktop/images/11122025/22/59/image_11122025_22_59_15_10604.jpg', 2), ('/home/nano/Desktop/images/11122025/22/58/image_11122025_22_59_04_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_55_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_35_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/23/00/image_11122025_23_00_35_9586.jpg', '/home/nano/Desktop/images/11122025/22/59/image_11122025_22_59_24_9599.jpg', '/home/nano/Desktop/images/11122025/22/59/image_11122025_22_59_15_10604.jpg', '/home/nano/Desktop/images/11122025/22/58/image_11122025_22_59_04_9587.jpg', '/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_55_10594.jpg', '/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_35_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/23/00/image_11122025_23_00_35_9586.jpg
/home/nano/Desktop/images/11122025/22/59/image_11122025_22_59_24_9599.jpg
/home/nano/Desktop/images/11122025/22/59/image_11122025_22_59_15_10604.jpg
/home/nano/Desktop/images/11122025/22/58/image_11122025_22_59_04_9587.jpg
/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_55_10594.jpg
/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_35_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":["1401351345","1401351347","1401351341","1401351344","1401351349","1401351343"],"photo_ids_order":["1401351341","1401351343","1401351344","1401351345","1401351347","1401351349"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3ef8a0963025abef2d7b82dbb629ce42.jpg","text":"TemporaryFile(/tmp/multipartBody2591237231543133703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875848204,"filename":"image_11122025_22_59_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/bfa9df42347634e95eea123b8e7e0ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7170491979280091414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875848204,"filename":"image_11122025_22_58_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ff7ce19bdfe376d1289bc38346ec6a73.jpg","text":"TemporaryFile(/tmp/multipartBody2995989061826140383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875848204,"filename":"image_11122025_23_00_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/96f1bab11fcb775a4af4b95e72b7f4e7.jpg","text":"TemporaryFile(/tmp/multipartBody108228430170166784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875848204,"filename":"image_11122025_22_59_15_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/48fed3e3943c8b93eff7b917395d1d46.jpg","text":"TemporaryFile(/tmp/multipartBody4779951574593640030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875848204,"filename":"image_11122025_22_58_35_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ace7dc89df20500f3cb4e2cd1e9ee532.jpg","text":"TemporaryFile(/tmp/multipartBody6952729878827542937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875848204,"filename":"image_11122025_22_59_24_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351344","file1":"1401351343","file0":"1401351341","file4":"1401351347","file5":"1401351349","file3":"1401351345"},"map_files_photo_id_array":[{"photo_id":"1401351349","filename":"file5"},{"photo_id":"1401351344","filename":"file2"},{"photo_id":"1401351347","filename":"file4"},{"photo_id":"1401351343","filename":"file1"},{"photo_id":"1401351341","filename":"file0"},{"photo_id":"1401351345","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351345":["hashtag1","hashtag2"]},{"1401351347":["hashtag1","hashtag2"]},{"1401351341":["hashtag1","hashtag2"]},{"1401351344":["hashtag1","hashtag2"]},{"1401351349":["hashtag1","hashtag2"]},{"1401351343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351345, 1401351347, 1401351341, 1401351344, 1401351349, 1401351343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.040173053741455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:50:32.517334
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/50/image_27122025_23_50_44_10532.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/50/image_27122025_23_50_44_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/50/image_27122025_23_50_44_10532.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.1317441463470459 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=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:50:47.474012
  port_id : 29734895
  datou_current_id : 4278005
in upload_from_sqlite, uploading in 29734895
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 = 20251227 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/27122025/23/50/image_27122025_23_50_44_10532.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/27122025/23/50/image_27122025_23_50_44_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4278005&datou=0
/home/nano/Desktop/images/27122025/23/50/image_27122025_23_50_44_10532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351359"],"photo_id":"1401351359","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ea7edc516dccfad19ad042ed2cc2bee.jpg","text":"TemporaryFile(/tmp/multipartBody6852198819346328278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875907738,"filename":"image_27122025_23_50_44_10532.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401351359"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401351359"}],"hashtags":[],"portfolio_id":"29734895","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.020607233047485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:51:03.208027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_25_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_14_9603.jpg', 2), ('/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_54_9588.jpg', 2), ('/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_35_10595.jpg', 2), ('/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_24_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_15_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_25_10594.jpg', '/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_14_9603.jpg', '/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_54_9588.jpg', '/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_35_10595.jpg', '/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_24_9602.jpg', '/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_15_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_25_10594.jpg
/home/nano/Desktop/images/11122025/22/58/image_11122025_22_58_14_9603.jpg
/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_54_9588.jpg
/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_35_10595.jpg
/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_24_9602.jpg
/home/nano/Desktop/images/11122025/22/57/image_11122025_22_57_15_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":["1401351371","1401351365","1401351368","1401351362","1401351361","1401351367"],"photo_ids_order":["1401351361","1401351362","1401351365","1401351367","1401351368","1401351371"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/27e085e81fe54a98c9f1e10f2b9d5b12.jpg","text":"TemporaryFile(/tmp/multipartBody7908010497561108775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875924077,"filename":"image_11122025_22_57_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a25e7150bd4925d0641bc45570d0503e.jpg","text":"TemporaryFile(/tmp/multipartBody68594047546203504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875924077,"filename":"image_11122025_22_57_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/12/27/c8bd0ff87f42c92b40c642d908ed7200.jpg","text":"TemporaryFile(/tmp/multipartBody8463390976548322351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875924077,"filename":"image_11122025_22_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/12/27/c56050c4ad46a19ad4714481bda54986.jpg","text":"TemporaryFile(/tmp/multipartBody1276039626287976643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875924077,"filename":"image_11122025_22_58_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/e1c2183d8c70df3575a5af95ccf3a191.jpg","text":"TemporaryFile(/tmp/multipartBody6195642107846407612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875924077,"filename":"image_11122025_22_58_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/2192c607239c62ede2919e7fcde05cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2635246598831155828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875924077,"filename":"image_11122025_22_57_35_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351365","file1":"1401351362","file0":"1401351361","file4":"1401351368","file5":"1401351371","file3":"1401351367"},"map_files_photo_id_array":[{"photo_id":"1401351371","filename":"file5"},{"photo_id":"1401351365","filename":"file2"},{"photo_id":"1401351368","filename":"file4"},{"photo_id":"1401351362","filename":"file1"},{"photo_id":"1401351361","filename":"file0"},{"photo_id":"1401351367","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351371":["hashtag1","hashtag2"]},{"1401351365":["hashtag1","hashtag2"]},{"1401351368":["hashtag1","hashtag2"]},{"1401351362":["hashtag1","hashtag2"]},{"1401351361":["hashtag1","hashtag2"]},{"1401351367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351371, 1401351365, 1401351368, 1401351362, 1401351361, 1401351367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.798705101013184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:51:47.589708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_57_04_9593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_55_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_34_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_25_10593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/55/image_11122025_22_56_05_9613.jpg', 2), ('/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_55_10593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/56/image_11122025_22_57_04_9593.jpg', '/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_55_9587.jpg', '/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_34_9602.jpg', '/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_25_10593.jpg', '/home/nano/Desktop/images/11122025/22/55/image_11122025_22_56_05_9613.jpg', '/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_55_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_57_04_9593.jpg
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_55_9587.jpg
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_34_9602.jpg
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_25_10593.jpg
/home/nano/Desktop/images/11122025/22/55/image_11122025_22_56_05_9613.jpg
/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_55_10593.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.742884635925293 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=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:52:03.157942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_57_04_9593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_55_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_34_9602.jpg', 2), ('/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_25_10593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/55/image_11122025_22_56_05_9613.jpg', 2), ('/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_55_10593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/56/image_11122025_22_57_04_9593.jpg', '/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_55_9587.jpg', '/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_34_9602.jpg', '/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_25_10593.jpg', '/home/nano/Desktop/images/11122025/22/55/image_11122025_22_56_05_9613.jpg', '/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_55_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_57_04_9593.jpg
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_55_9587.jpg
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_34_9602.jpg
/home/nano/Desktop/images/11122025/22/56/image_11122025_22_56_25_10593.jpg
/home/nano/Desktop/images/11122025/22/55/image_11122025_22_56_05_9613.jpg
/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_55_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":["1401351392","1401351386","1401351394","1401351388","1401351390","1401351396"],"photo_ids_order":["1401351386","1401351388","1401351390","1401351392","1401351394","1401351396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/09724a578e951c1eb09431b4e8f45dc4.jpg","text":"TemporaryFile(/tmp/multipartBody9116067941725982246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875983982,"filename":"image_11122025_22_56_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/74af4ecd45fbdd0badd1d45b9236d8a0.jpg","text":"TemporaryFile(/tmp/multipartBody9129393265701830433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875983982,"filename":"image_11122025_22_57_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/12/27/fe23e75ec5ba42858dd858bbd599431a.jpg","text":"TemporaryFile(/tmp/multipartBody5040511388230399623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875983982,"filename":"image_11122025_22_56_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b627dd390965962abe0af87e1cedaa08.jpg","text":"TemporaryFile(/tmp/multipartBody4836401963097347480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875983982,"filename":"image_11122025_22_56_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e3dac9a509c9555b8b493af97f22804.jpg","text":"TemporaryFile(/tmp/multipartBody460017897829294332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875983982,"filename":"image_11122025_22_56_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/12/27/dff3bff0fff77bb1db8df6e1e6879274.jpg","text":"TemporaryFile(/tmp/multipartBody7307616142866152206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766875983982,"filename":"image_11122025_22_55_55_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351390","file1":"1401351388","file0":"1401351386","file4":"1401351394","file5":"1401351396","file3":"1401351392"},"map_files_photo_id_array":[{"photo_id":"1401351396","filename":"file5"},{"photo_id":"1401351390","filename":"file2"},{"photo_id":"1401351394","filename":"file4"},{"photo_id":"1401351388","filename":"file1"},{"photo_id":"1401351386","filename":"file0"},{"photo_id":"1401351392","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351392":["hashtag1","hashtag2"]},{"1401351386":["hashtag1","hashtag2"]},{"1401351394":["hashtag1","hashtag2"]},{"1401351388":["hashtag1","hashtag2"]},{"1401351390":["hashtag1","hashtag2"]},{"1401351396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351392, 1401351386, 1401351394, 1401351388, 1401351390, 1401351396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51549792289734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:52:47.671795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_35_10595.jpg', 2), ('/home/nano/Desktop/images/11122025/22/54/image_11122025_22_54_45_10593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/54/image_11122025_22_54_25_9584.jpg', 2), ('/home/nano/Desktop/images/11122025/22/53/image_11122025_22_54_04_9612.jpg', 2), ('/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_55_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_44_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_35_10595.jpg', '/home/nano/Desktop/images/11122025/22/54/image_11122025_22_54_45_10593.jpg', '/home/nano/Desktop/images/11122025/22/54/image_11122025_22_54_25_9584.jpg', '/home/nano/Desktop/images/11122025/22/53/image_11122025_22_54_04_9612.jpg', '/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_55_10594.jpg', '/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_44_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/55/image_11122025_22_55_35_10595.jpg
/home/nano/Desktop/images/11122025/22/54/image_11122025_22_54_45_10593.jpg
/home/nano/Desktop/images/11122025/22/54/image_11122025_22_54_25_9584.jpg
/home/nano/Desktop/images/11122025/22/53/image_11122025_22_54_04_9612.jpg
/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_55_10594.jpg
/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_44_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":["1401351405","1401351408","1401351402","1401351404","1401351407","1401351403"],"photo_ids_order":["1401351402","1401351403","1401351404","1401351405","1401351407","1401351408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a1f19f7f50b5ee337a7651339a4a54cf.jpg","text":"TemporaryFile(/tmp/multipartBody8357697120098671029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876028491,"filename":"image_11122025_22_54_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/12/27/9fc0c2f0106abd9ef9f99ad21f70503e.jpg","text":"TemporaryFile(/tmp/multipartBody3142692612812189027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876028491,"filename":"image_11122025_22_53_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9e925d1fca4c4363696a2b9b19db50a4.jpg","text":"TemporaryFile(/tmp/multipartBody6752373814164285728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876028491,"filename":"image_11122025_22_55_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f8a7f31afe1fef5bd056ca55e1f9feb7.jpg","text":"TemporaryFile(/tmp/multipartBody4048660722824995507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876028491,"filename":"image_11122025_22_54_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ffdda53c025f18456159cddb76144956.jpg","text":"TemporaryFile(/tmp/multipartBody1248789442101523489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876028491,"filename":"image_11122025_22_53_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/86e16e99449c6e3847c17ee5a1c65137.jpg","text":"TemporaryFile(/tmp/multipartBody3677764755230039848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876028491,"filename":"image_11122025_22_54_45_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351404","file1":"1401351403","file0":"1401351402","file4":"1401351407","file5":"1401351408","file3":"1401351405"},"map_files_photo_id_array":[{"photo_id":"1401351408","filename":"file5"},{"photo_id":"1401351404","filename":"file2"},{"photo_id":"1401351407","filename":"file4"},{"photo_id":"1401351403","filename":"file1"},{"photo_id":"1401351402","filename":"file0"},{"photo_id":"1401351405","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351405":["hashtag1","hashtag2"]},{"1401351408":["hashtag1","hashtag2"]},{"1401351402":["hashtag1","hashtag2"]},{"1401351404":["hashtag1","hashtag2"]},{"1401351407":["hashtag1","hashtag2"]},{"1401351403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351405, 1401351408, 1401351402, 1401351404, 1401351407, 1401351403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.334887981414795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:53:31.780810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_35_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_25_10593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/52/image_11122025_22_53_05_10593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_54_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_35_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_24_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_35_9585.jpg', '/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_25_10593.jpg', '/home/nano/Desktop/images/11122025/22/52/image_11122025_22_53_05_10593.jpg', '/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_54_9585.jpg', '/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_35_10597.jpg', '/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_24_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_35_9585.jpg
/home/nano/Desktop/images/11122025/22/53/image_11122025_22_53_25_10593.jpg
/home/nano/Desktop/images/11122025/22/52/image_11122025_22_53_05_10593.jpg
/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_54_9585.jpg
/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_35_10597.jpg
/home/nano/Desktop/images/11122025/22/52/image_11122025_22_52_24_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351422","1401351416","1401351425","1401351419","1401351424","1401351418"],"photo_ids_order":["1401351416","1401351418","1401351419","1401351422","1401351424","1401351425"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/afa82cfe2de0bcb4c952bbfdef930556.jpg","text":"TemporaryFile(/tmp/multipartBody4911679335962323943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876072611,"filename":"image_11122025_22_52_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/00dfe17898bdf4b0f1f0d893fb9ccb5c.jpg","text":"TemporaryFile(/tmp/multipartBody4486908224156582995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876072611,"filename":"image_11122025_22_53_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/002fe3875dc968d24d871438f4b0ba99.jpg","text":"TemporaryFile(/tmp/multipartBody7258683149402986488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876072611,"filename":"image_11122025_22_52_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cdc0f108ad64d67bc4b852df0edfec59.jpg","text":"TemporaryFile(/tmp/multipartBody4421361727688478715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876072611,"filename":"image_11122025_22_53_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/d62b174930dbe9e208345457c065aef1.jpg","text":"TemporaryFile(/tmp/multipartBody3400503429922341962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876072611,"filename":"image_11122025_22_52_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/61ff75e9d9d33d890e88fa9657fa904d.jpg","text":"TemporaryFile(/tmp/multipartBody3896471436439885176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876072611,"filename":"image_11122025_22_53_25_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351419","file1":"1401351418","file0":"1401351416","file4":"1401351424","file5":"1401351425","file3":"1401351422"},"map_files_photo_id_array":[{"photo_id":"1401351425","filename":"file5"},{"photo_id":"1401351419","filename":"file2"},{"photo_id":"1401351424","filename":"file4"},{"photo_id":"1401351418","filename":"file1"},{"photo_id":"1401351416","filename":"file0"},{"photo_id":"1401351422","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351422":["hashtag1","hashtag2"]},{"1401351416":["hashtag1","hashtag2"]},{"1401351425":["hashtag1","hashtag2"]},{"1401351419":["hashtag1","hashtag2"]},{"1401351424":["hashtag1","hashtag2"]},{"1401351418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351422, 1401351416, 1401351425, 1401351419, 1401351424, 1401351418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42756652832031 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:54:16.924282
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/51/image_11122025_22_52_04_9610.jpg', 2), ('/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_55_9591.jpg', 2), ('/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_45_10599.jpg', 2), ('/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_25_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_55_10613.jpg', 2), ('/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_44_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/51/image_11122025_22_52_04_9610.jpg', '/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_55_9591.jpg', '/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_45_10599.jpg', '/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_25_10594.jpg', '/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_55_10613.jpg', '/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/51/image_11122025_22_52_04_9610.jpg
/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_55_9591.jpg
/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_45_10599.jpg
/home/nano/Desktop/images/11122025/22/51/image_11122025_22_51_25_10594.jpg
/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_55_10613.jpg
/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_44_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":["1401351438","1401351432","1401351440","1401351434","1401351430","1401351436"],"photo_ids_order":["1401351430","1401351432","1401351434","1401351436","1401351438","1401351440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/97518386a77659ffbc3c83e0dcae83d4.jpg","text":"TemporaryFile(/tmp/multipartBody7229985029812254958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876117769,"filename":"image_11122025_22_50_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8ee80e8d981d27d4dba8a62241181a89.jpg","text":"TemporaryFile(/tmp/multipartBody7166775120930761202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876117769,"filename":"image_11122025_22_51_55_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0497cf6e815a44aeb9b39117d39a9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5052851276874217941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876117769,"filename":"image_11122025_22_50_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/12/27/6ffad75dd976f9b1f082613c47b5a478.jpg","text":"TemporaryFile(/tmp/multipartBody4615108733339047680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876117769,"filename":"image_11122025_22_51_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5aa15e48dd1ada6e8a6d476b43c4be08.jpg","text":"TemporaryFile(/tmp/multipartBody1423249882119169538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876117769,"filename":"image_11122025_22_52_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/12/27/fa8725841d407ec09bbc4774250344cb.jpg","text":"TemporaryFile(/tmp/multipartBody240520323369855029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876117769,"filename":"image_11122025_22_51_25_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351434","file1":"1401351432","file0":"1401351430","file4":"1401351438","file5":"1401351440","file3":"1401351436"},"map_files_photo_id_array":[{"photo_id":"1401351440","filename":"file5"},{"photo_id":"1401351434","filename":"file2"},{"photo_id":"1401351438","filename":"file4"},{"photo_id":"1401351432","filename":"file1"},{"photo_id":"1401351430","filename":"file0"},{"photo_id":"1401351436","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351438":["hashtag1","hashtag2"]},{"1401351432":["hashtag1","hashtag2"]},{"1401351440":["hashtag1","hashtag2"]},{"1401351434":["hashtag1","hashtag2"]},{"1401351430":["hashtag1","hashtag2"]},{"1401351436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351438, 1401351432, 1401351440, 1401351434, 1401351430, 1401351436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27252411842346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:55:02.825148
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_35_10611.jpg', 2), ('/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_24_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_15_9592.jpg', 2), ('/home/nano/Desktop/images/11122025/22/49/image_11122025_22_49_45_10597.jpg', 2), ('/home/nano/Desktop/images/11122025/22/48/image_11122025_22_49_04_9592.jpg', 2), ('/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_55_10596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_35_10611.jpg', '/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_24_9585.jpg', '/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_15_9592.jpg', '/home/nano/Desktop/images/11122025/22/49/image_11122025_22_49_45_10597.jpg', '/home/nano/Desktop/images/11122025/22/48/image_11122025_22_49_04_9592.jpg', '/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_55_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_35_10611.jpg
/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_24_9585.jpg
/home/nano/Desktop/images/11122025/22/50/image_11122025_22_50_15_9592.jpg
/home/nano/Desktop/images/11122025/22/49/image_11122025_22_49_45_10597.jpg
/home/nano/Desktop/images/11122025/22/48/image_11122025_22_49_04_9592.jpg
/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_55_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":["1401351444","1401351447","1401351449","1401351451","1401351445","1401351454"],"photo_ids_order":["1401351444","1401351445","1401351447","1401351449","1401351451","1401351454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/814b1b81ac0b1f27a9217db99b43c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody4006107480931834141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876163717,"filename":"image_11122025_22_50_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6bd33c3927db26a65afeb45a094e2063.jpg","text":"TemporaryFile(/tmp/multipartBody4871072870541524920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876163717,"filename":"image_11122025_22_50_15_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/88691f4a3302fbd0ecea4d0a62b4025f.jpg","text":"TemporaryFile(/tmp/multipartBody242826263061291706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876163717,"filename":"image_11122025_22_49_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/ae4a172b3532a69b60ac54d65cab1d30.jpg","text":"TemporaryFile(/tmp/multipartBody1200094800604798426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876163717,"filename":"image_11122025_22_49_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/3a2c13aa83fdec0af75ea6aac7537c60.jpg","text":"TemporaryFile(/tmp/multipartBody6962685148482808569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876163717,"filename":"image_11122025_22_50_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/9866721b0134addb5b063f4c34936491.jpg","text":"TemporaryFile(/tmp/multipartBody4474464139980960557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876163717,"filename":"image_11122025_22_48_55_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351447","file1":"1401351445","file0":"1401351444","file4":"1401351451","file5":"1401351454","file3":"1401351449"},"map_files_photo_id_array":[{"photo_id":"1401351454","filename":"file5"},{"photo_id":"1401351447","filename":"file2"},{"photo_id":"1401351451","filename":"file4"},{"photo_id":"1401351445","filename":"file1"},{"photo_id":"1401351444","filename":"file0"},{"photo_id":"1401351449","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351444":["hashtag1","hashtag2"]},{"1401351447":["hashtag1","hashtag2"]},{"1401351449":["hashtag1","hashtag2"]},{"1401351451":["hashtag1","hashtag2"]},{"1401351445":["hashtag1","hashtag2"]},{"1401351454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351444, 1401351447, 1401351449, 1401351451, 1401351445, 1401351454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.863473892211914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:55:47.039546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_44_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_24_9590.jpg', 2), ('/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_14_9618.jpg', 2), ('/home/nano/Desktop/images/11122025/22/47/image_11122025_22_47_54_9587.jpg', 2), ('/home/nano/Desktop/images/11122025/22/46/image_11122025_22_46_44_9601.jpg', 2), ('/home/nano/Desktop/images/11122025/22/46/image_11122025_22_46_25_10596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_44_9585.jpg', '/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_24_9590.jpg', '/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_14_9618.jpg', '/home/nano/Desktop/images/11122025/22/47/image_11122025_22_47_54_9587.jpg', '/home/nano/Desktop/images/11122025/22/46/image_11122025_22_46_44_9601.jpg', '/home/nano/Desktop/images/11122025/22/46/image_11122025_22_46_25_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_44_9585.jpg
/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_24_9590.jpg
/home/nano/Desktop/images/11122025/22/48/image_11122025_22_48_14_9618.jpg
/home/nano/Desktop/images/11122025/22/47/image_11122025_22_47_54_9587.jpg
/home/nano/Desktop/images/11122025/22/46/image_11122025_22_46_44_9601.jpg
/home/nano/Desktop/images/11122025/22/46/image_11122025_22_46_25_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":["1401351465","1401351464","1401351461","1401351460","1401351463","1401351462"],"photo_ids_order":["1401351460","1401351461","1401351462","1401351463","1401351464","1401351465"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/5e6ae514bc25272153e59fbc9c47ad52.jpg","text":"TemporaryFile(/tmp/multipartBody4648527116568822105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876207883,"filename":"image_11122025_22_46_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/6ea387c7e85a70a4d7878e7263abbdc0.jpg","text":"TemporaryFile(/tmp/multipartBody304077462311916127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876207883,"filename":"image_11122025_22_46_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/12/27/00e59f700e99e8052069f6f0c19ffa49.jpg","text":"TemporaryFile(/tmp/multipartBody1982918544201220564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876207883,"filename":"image_11122025_22_48_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/b121fcc850db6a20a72f0e1793d52c17.jpg","text":"TemporaryFile(/tmp/multipartBody429541946373149989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876207883,"filename":"image_11122025_22_48_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/12/27/ec09687df4775caae2288a441b1e0797.jpg","text":"TemporaryFile(/tmp/multipartBody6780023612630913668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876207883,"filename":"image_11122025_22_47_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/0e25fb81f066fc5b4946bfedb5879bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3321053830947016443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876207883,"filename":"image_11122025_22_48_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351462","file1":"1401351461","file0":"1401351460","file4":"1401351464","file5":"1401351465","file3":"1401351463"},"map_files_photo_id_array":[{"photo_id":"1401351465","filename":"file5"},{"photo_id":"1401351462","filename":"file2"},{"photo_id":"1401351464","filename":"file4"},{"photo_id":"1401351461","filename":"file1"},{"photo_id":"1401351460","filename":"file0"},{"photo_id":"1401351463","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351465":["hashtag1","hashtag2"]},{"1401351464":["hashtag1","hashtag2"]},{"1401351461":["hashtag1","hashtag2"]},{"1401351460":["hashtag1","hashtag2"]},{"1401351463":["hashtag1","hashtag2"]},{"1401351462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351465, 1401351464, 1401351461, 1401351460, 1401351463, 1401351462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.840600967407227 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:56:32.169918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_44_9590.jpg', 2), ('/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_24_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_15_10612.jpg', 2), ('/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_54_9585.jpg', 2), ('/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_45_10594.jpg', 2), ('/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_34_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_44_9590.jpg', '/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_24_9585.jpg', '/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_15_10612.jpg', '/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_54_9585.jpg', '/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_45_10594.jpg', '/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_34_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_44_9590.jpg
/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_24_9585.jpg
/home/nano/Desktop/images/11122025/22/45/image_11122025_22_45_15_10612.jpg
/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_54_9585.jpg
/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_45_10594.jpg
/home/nano/Desktop/images/11122025/22/44/image_11122025_22_44_34_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351482","1401351479","1401351473","1401351475","1401351471","1401351483"],"photo_ids_order":["1401351471","1401351473","1401351475","1401351479","1401351482","1401351483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/339940bd4db3f50fb38ca6431787fde2.jpg","text":"TemporaryFile(/tmp/multipartBody6563822341624836243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876253021,"filename":"image_11122025_22_44_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/8c6480f80f815532b53ac53d2cf73df7.jpg","text":"TemporaryFile(/tmp/multipartBody8450586711819325431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876253021,"filename":"image_11122025_22_44_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/cd78710557e82770c743b8b9c0537b45.jpg","text":"TemporaryFile(/tmp/multipartBody4578579123894631013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876253021,"filename":"image_11122025_22_45_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a38f58f996d9071cbfbea11d8cee0afd.jpg","text":"TemporaryFile(/tmp/multipartBody9205439684577605981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876253021,"filename":"image_11122025_22_45_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/82206aa9f6b848e19a6147f2c9f2a134.jpg","text":"TemporaryFile(/tmp/multipartBody770292339112109416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876253021,"filename":"image_11122025_22_45_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/12/27/e3ef01c76c80a9d5110e59c6317c6b60.jpg","text":"TemporaryFile(/tmp/multipartBody4907398453687281688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876253021,"filename":"image_11122025_22_44_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351475","file1":"1401351473","file0":"1401351471","file4":"1401351482","file5":"1401351483","file3":"1401351479"},"map_files_photo_id_array":[{"photo_id":"1401351483","filename":"file5"},{"photo_id":"1401351475","filename":"file2"},{"photo_id":"1401351482","filename":"file4"},{"photo_id":"1401351473","filename":"file1"},{"photo_id":"1401351471","filename":"file0"},{"photo_id":"1401351479","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351482":["hashtag1","hashtag2"]},{"1401351479":["hashtag1","hashtag2"]},{"1401351473":["hashtag1","hashtag2"]},{"1401351475":["hashtag1","hashtag2"]},{"1401351471":["hashtag1","hashtag2"]},{"1401351483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351482, 1401351479, 1401351473, 1401351475, 1401351471, 1401351483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36731314659119 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-12-27 23:57:17.242615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
  port_id : 29752156
  datou_current_id : 4281299
in upload_from_sqlite, uploading in 29752156
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/11122025/22/43/image_11122025_22_43_55_10598.jpg', 2), ('/home/nano/Desktop/images/11122025/22/43/image_11122025_22_43_35_9604.jpg', 2), ('/home/nano/Desktop/images/11122025/22/42/image_11122025_22_42_54_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/22/42/image_11122025_22_42_35_10593.jpg', 2), ('/home/nano/Desktop/images/11122025/22/41/image_11122025_22_41_55_9586.jpg', 2), ('/home/nano/Desktop/images/11122025/22/41/image_11122025_22_41_34_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/11122025/22/43/image_11122025_22_43_55_10598.jpg', '/home/nano/Desktop/images/11122025/22/43/image_11122025_22_43_35_9604.jpg', '/home/nano/Desktop/images/11122025/22/42/image_11122025_22_42_54_9586.jpg', '/home/nano/Desktop/images/11122025/22/42/image_11122025_22_42_35_10593.jpg', '/home/nano/Desktop/images/11122025/22/41/image_11122025_22_41_55_9586.jpg', '/home/nano/Desktop/images/11122025/22/41/image_11122025_22_41_34_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4281299&datou=0
/home/nano/Desktop/images/11122025/22/43/image_11122025_22_43_55_10598.jpg
/home/nano/Desktop/images/11122025/22/43/image_11122025_22_43_35_9604.jpg
/home/nano/Desktop/images/11122025/22/42/image_11122025_22_42_54_9586.jpg
/home/nano/Desktop/images/11122025/22/42/image_11122025_22_42_35_10593.jpg
/home/nano/Desktop/images/11122025/22/41/image_11122025_22_41_55_9586.jpg
/home/nano/Desktop/images/11122025/22/41/image_11122025_22_41_34_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401351497","1401351488","1401351499","1401351490","1401351492","1401351495"],"photo_ids_order":["1401351488","1401351490","1401351492","1401351495","1401351497","1401351499"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/a7f56b5ed488f01fca0543d3f8bd0b84.jpg","text":"TemporaryFile(/tmp/multipartBody3249520999797682046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876298073,"filename":"image_11122025_22_41_55_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/68ad78302834c48a222fe7b1be395139.jpg","text":"TemporaryFile(/tmp/multipartBody2747266034576600392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876298073,"filename":"image_11122025_22_43_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c5279ff51857056d84aff71ba7bc15b2.jpg","text":"TemporaryFile(/tmp/multipartBody1059919955984622942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876298073,"filename":"image_11122025_22_41_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/12/27/9e8eed3381ae733df05fe1ec240f642f.jpg","text":"TemporaryFile(/tmp/multipartBody5500418659006227126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876298073,"filename":"image_11122025_22_43_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/c81d6be45dd3b4fa9df107b9bf2eca80.jpg","text":"TemporaryFile(/tmp/multipartBody6653271528308409888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876298073,"filename":"image_11122025_22_42_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/27/f3f3dc826c7489df5287f108c24428cd.jpg","text":"TemporaryFile(/tmp/multipartBody2479923330460997689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766876298073,"filename":"image_11122025_22_42_35_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401351492","file1":"1401351490","file0":"1401351488","file4":"1401351497","file5":"1401351499","file3":"1401351495"},"map_files_photo_id_array":[{"photo_id":"1401351499","filename":"file5"},{"photo_id":"1401351492","filename":"file2"},{"photo_id":"1401351497","filename":"file4"},{"photo_id":"1401351490","filename":"file1"},{"photo_id":"1401351488","filename":"file0"},{"photo_id":"1401351495","filename":"file3"}],"portfolio_id":29752156,"hashtag_by_photo_ids":[{"1401351497":["hashtag1","hashtag2"]},{"1401351488":["hashtag1","hashtag2"]},{"1401351499":["hashtag1","hashtag2"]},{"1401351490":["hashtag1","hashtag2"]},{"1401351492":["hashtag1","hashtag2"]},{"1401351495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29752156 used, photo_id : ArrayBuffer(1401351497, 1401351488, 1401351499, 1401351490, 1401351492, 1401351495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30798959732056 secondes ---
